/* Unfiltered product photos with a compact, readable text panel. */
.hero-slideshow {
    isolation: isolate;
    background: #ffffff;
    min-height: 680px;
    min-height: max(680px, 85svh);
    height: auto;
    padding: 132px 88px 92px;
    justify-content: center;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slides { z-index: 1; }
.hero-slide { opacity: 0; overflow: hidden; transition: opacity 1.2s ease-in-out; }
.hero-slide.is-active { opacity: 1; z-index: 1; }

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--image-position, center);
    transform: scale(1.01);
    transition: transform 5.2s cubic-bezier(.2, .3, .4, 1);
}

.hero-slideshow.is-ready .hero-slide.is-active img { transform: scale(1.04); }

.hero-slideshow .hero-content {
    width: 100%;
    max-width: 620px;
    padding: 28px 32px;
    border-left: 4px solid var(--orange);
    border-radius: 18px;
    background: var(--darkblue);
    color: #ffffff;
    text-align: left;
    text-shadow: none;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .16);
}

.hero-slideshow .hero-content p:first-child { opacity: 1 !important; margin-bottom: 14px; }
.hero-slideshow .hero-content h1 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.17;
    letter-spacing: -.035em;
    text-wrap: balance;
    margin-bottom: 16px;
}
.hero-slideshow .hero-content p { font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slideshow .hero-content .btn-primary { font-size: 14px; text-shadow: none; }

.hero-slideshow-controls { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero-slideshow-controls[hidden] { display: none; }
.hero-arrow {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: calc(50% + 25px);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: var(--darkblue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font: inherit;
    pointer-events: auto;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 4px 16px rgba(15, 23, 42, .16);
    transition: background .2s, border-color .2s;
    -webkit-tap-highlight-color: transparent;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-arrow:active { background: var(--orange-hover); }
.hero-arrow svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-slideshow button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.slideshow-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .hero-slideshow { padding-left: 78px; padding-right: 78px; }
    .hero-slideshow .hero-content { max-width: 560px; padding: 26px 28px; }
}
@media (max-width: 700px) {
    .hero-slideshow { min-height: 88vh; min-height: 88svh; padding: 128px 20px 104px; }
    .hero-slideshow .hero-content { max-width: 100%; padding: 24px 22px; border-radius: 15px; }
    .hero-slideshow .hero-content h1 { font-size: clamp(28px, 6.5vw, 36px); }
    .hero-slideshow .hero-content p:first-child { font-size: 12px !important; }
    .hero-arrow { top: auto; bottom: 28px; transform: none; width: 44px; height: 44px; }
    .hero-arrow-prev { left: 20px; }
    .hero-arrow-next { right: 20px; }
    .hero-actions { gap: 10px; }
}
@media (max-width: 420px) {
    .hero-actions .btn-primary { width: 100%; text-align: center; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
    .hero-slide img,
    .hero-slideshow.is-ready .hero-slide.is-active img { transform: none; transition: none; }
}
