/* The chosen container owns width; all layout and motion stay inside this root. */
.styllas-hero {
    --styllas-hero-ratio:16 / 9;
    --hero-text:#242424;
    --hero-accent:#856654;
    --hero-paper:#f9f5ef;
    --hero-copy-width:min(32%, 360px);
    --hero-copy-inset:clamp(20px, 2.4vw, 40px);
    --hero-copy-padding-block:clamp(26px, 2.1vw, 32px);
    --hero-copy-padding-inline:clamp(28px, 2.5vw, 36px);
    --hero-copy-radius:16px;
    --hero-title-gap:clamp(18px, 1.7vw, 24px);
    --hero-copy-shadow:0 6px 18px rgb(60 42 29 / .12);
    --hero-title-size:clamp(34px, 3.1vw, 46px);
    --hero-title-weight:600; --hero-price-weight:600; --hero-label-weight:500;
    --hero-price-size:clamp(24px, 2vw, 30px);
    --hero-label-size:clamp(12px, 1vw, 14px);
    --hero-price-gap:clamp(10px, .9vw, 14px);
    --hero-circle-size:44px;
    --hero-arrow-inset:8px;
    --hero-reveal-ease:cubic-bezier(.25,.1,.25,1);
    --hero-panel-duration:.6s;
    --hero-panel-rise:24px;
    position:relative;
    width:100%; max-width:100%; min-width:0;
    margin:0; padding:0; border:0; border-radius:0;
    color:var(--hero-text);
    font-family:var(--styllas-hero-font-body);
}
.styllas-hero *, .styllas-hero *::before, .styllas-hero *::after { box-sizing:border-box; }
.styllas-hero__track {
    display:flex; align-items:stretch;
    width:100%; aspect-ratio:var(--styllas-hero-ratio);
    overflow-x:auto; overflow-y:hidden;
    scroll-snap-type:x mandatory; overscroll-behavior-x:contain;
    scrollbar-width:thin; scrollbar-color:var(--hero-accent) var(--hero-paper);
    margin:0; padding:0; border-radius:0;
}
.styllas-hero.is-enhanced .styllas-hero__track { scrollbar-width:none; }
.styllas-hero.is-enhanced .styllas-hero__track::-webkit-scrollbar { display:none; }
/* Enhanced motion is transform-only: no native scrolling, snap or edge rebasing. */
.styllas-hero.is-enhanced .styllas-hero__track {
    display:block; overflow:hidden; overflow:clip; scroll-snap-type:none;
    touch-action:pan-y pinch-zoom;
}
.styllas-hero__slides { display:flex; height:100%; touch-action:pan-y pinch-zoom; }
.styllas-hero.is-enhanced .styllas-hero__slide { scroll-snap-align:none; }
.styllas-hero__slide {
    position:relative; flex:0 0 100%; min-width:0; contain:size;
    margin:0; padding:0; overflow:hidden; border:0; border-radius:0;
    scroll-snap-align:start;
    background:var(--hero-paper);
}
.styllas-hero .styllas-hero__image {
    display:block; width:100%; height:100%; max-width:none; max-height:none;
    margin:0; padding:0; border:0; border-radius:0;
    object-fit:cover; object-position:center; transform:none; clip-path:none;
}
.styllas-hero__box {
    position:absolute; inset:var(--hero-copy-top, var(--hero-copy-inset)) var(--hero-copy-inset) auto auto;
    display:flex; flex-direction:column; width:var(--hero-copy-width);
    padding:var(--hero-copy-padding-block) var(--hero-copy-padding-inline);
    margin:0; overflow:hidden; text-align:left;
    background:var(--hero-paper); color:var(--hero-text);
    border:0; border-radius:var(--hero-copy-radius); box-shadow:var(--hero-copy-shadow);
}
.styllas-hero .styllas-hero__title {
    margin:0; padding:0; border:0; background:transparent;
    font-family:var(--styllas-hero-font-title); font-size:var(--hero-title-size);
    font-weight:var(--hero-title-weight); line-height:1.08; letter-spacing:-.015em;
    color:var(--hero-accent); overflow-wrap:anywhere;
}
.styllas-hero .styllas-hero__title a { color:inherit; text-decoration:none; }
.styllas-hero .styllas-hero__heading {
    margin:0 0 10px; padding:0; border:0;
    font-family:var(--styllas-hero-font-body); font-size:clamp(14px, 1.2vw, 18px);
    font-weight:600; line-height:1.35; letter-spacing:normal;
    color:var(--hero-accent); overflow-wrap:anywhere;
}
.styllas-hero__prices { display:flex; flex-direction:column; gap:var(--hero-price-gap); padding-top:var(--hero-title-gap); overflow:hidden; }
.styllas-hero__price { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; gap:10px; }
.styllas-hero__label { font-size:var(--hero-label-size); font-weight:var(--hero-label-weight); line-height:1.3; color:var(--hero-text); }
.styllas-hero .styllas-hero__label-mobile { display:none; }
.styllas-hero__amount { justify-self:end; text-align:right; font-size:var(--hero-price-size); font-weight:var(--hero-price-weight); line-height:1.15; letter-spacing:-.02em; color:var(--hero-accent); font-variant-numeric:lining-nums tabular-nums; }
.styllas-hero__amount bdi { white-space:nowrap; }
.styllas-hero__amount :is(.amount, bdi, ins) { color:inherit; font:inherit; text-decoration:none; }
.styllas-hero__amount del { display:block; font-size:.65em; }
.styllas-hero__amount .woocommerce-Price-currencySymbol { display:inline; font-family:inherit; font-size:.75em; font-weight:var(--hero-label-weight); line-height:1; vertical-align:baseline; margin-inline-start:.04em; }
.styllas-hero__controls[hidden] { display:none; }
.styllas-hero .styllas-hero__controls button,
.styllas-hero .styllas-hero__controls button:hover,
.styllas-hero .styllas-hero__controls button:focus {
    position:absolute; top:50%; transform:translateY(-50%); z-index:3;
    display:flex; align-items:center; justify-content:center;
    width:44px; height:44px; min-width:44px; min-height:44px;
    margin:0; padding:0; border:0; border-radius:0;
    background:transparent; color:#333; box-shadow:none; cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}
.styllas-hero__previous { left:var(--hero-arrow-inset); }
.styllas-hero__next { right:var(--hero-arrow-inset); }
.styllas-hero__controls button::before { content:""; position:absolute; width:var(--hero-circle-size); height:var(--hero-circle-size); border-radius:50%; background:#fff; }
.styllas-hero__controls button span { position:relative; width:8px; height:8px; border:solid currentColor; border-width:0 1.5px 1.5px 0; font-size:0; }
.styllas-hero__previous span { transform:rotate(135deg); margin-left:3px; }
.styllas-hero__next span { transform:rotate(-45deg); margin-right:3px; }
.styllas-hero :is(a,button,[data-hero-track]):focus-visible { outline:2px solid var(--hero-accent); outline-offset:-3px; }
.styllas-hero ::selection { color:var(--hero-paper); background:var(--hero-accent); }
.styllas-hero .styllas-hero__status {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0;
}
/* Preparation lasts for the entire photo transition; active commits at settlement.
   The native/no-JS baseline keeps every panel readable. */
.styllas-hero-pending .styllas-hero .styllas-hero__box,
.styllas-hero.is-enhanced:not(.is-ready) .styllas-hero__box,
.styllas-hero.is-enhanced .styllas-hero__slide:not(.is-active) .styllas-hero__box { visibility:hidden; }
.styllas-hero.is-ready .is-active .styllas-hero__box { animation:styllas-hero-panel var(--hero-panel-duration) var(--hero-reveal-ease) both; }
@keyframes styllas-hero-panel { from { opacity:0; transform:translate3d(calc(100% + var(--hero-copy-inset) + 24px),var(--hero-panel-rise),0); } to { opacity:1; transform:translate3d(0,0,0); } }
@media(max-width:1024px) {
    .styllas-hero { --hero-copy-width:36%; --hero-title-size:clamp(28px, 3.6vw, 36px); --hero-price-size:24px; --hero-label-size:13px; --hero-copy-inset:20px; --hero-copy-padding-block:20px; --hero-copy-padding-inline:24px; --hero-title-gap:18px; --hero-price-gap:10px; }
}
@media(max-width:767px) {
    .styllas-hero {
        --hero-copy-width:44%; --hero-copy-inset:clamp(8px, 2.2vw, 16px);
        --hero-copy-top:clamp(16px, 4.6vw, 24px);
        --hero-copy-padding-block:clamp(12px, calc(2.4vw + 2px), 18px); --hero-copy-padding-inline:clamp(14px, calc(3.3vw + 2px), 22px);
        --hero-copy-radius:12px; --hero-title-gap:clamp(8px, 2vw, 12px); --hero-copy-shadow:0 3px 10px rgb(60 42 29 / .10);
        --hero-price-gap:clamp(6px, 1.6vw, 10px); --hero-title-size:clamp(20px, 5.1vw, 28px);
        --hero-price-size:clamp(16px, 4.6vw, 22px); --hero-label-size:clamp(10px, 2.7vw, 12px);
        --hero-circle-size:28px; --hero-arrow-inset:0px;
    }
    /* A taller photographic frame keeps the panel inside the image on phones. */
    .styllas-hero { --hero-mobile-ratio:7 / 5; }
    .styllas-hero__track { aspect-ratio:var(--hero-mobile-ratio); }
    .styllas-hero .styllas-hero__image { object-fit:cover; object-position:center; }
    .styllas-hero .styllas-hero__title { line-height:1.05; }
    .styllas-hero .styllas-hero__heading { margin-bottom:6px; font-size:clamp(10px, 2.7vw, 13px); }
    .styllas-hero__price { gap:6px; }
    .styllas-hero .styllas-hero__label-desktop { display:none; }
    .styllas-hero .styllas-hero__label-mobile { display:inline; }
}
@media(max-width:360px) {
    .styllas-hero { --hero-copy-inset:6px; --hero-copy-padding-block:9px; --hero-copy-padding-inline:14px; --hero-title-gap:5px; --hero-price-gap:4px; --hero-price-size:14px; }
    .styllas-hero .styllas-hero__title { line-height:1; }
    .styllas-hero__label { line-height:1.25; }
}
@media(prefers-reduced-motion:reduce) {
    .styllas-hero *, .styllas-hero *::before, .styllas-hero *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

.styllas-hero .styllas-hero__image-link { display: block; width: 100%; height: 100%; }
