/* ==============================================================================
   AB COUTURE — HOMEPAGE HERO SLIDER + OFFERS SECTION (2026-11, v2 "showcase")
   Markup: index.html <header id="ab-hero" class="abh">, rendered/controlled by store-slider.js.
   Two slide layouts:
     - "showcase": a real product from the store — text column + framed product photos on a calm dark backdrop;
     - "full": a full-bleed banner (dashboard slides without product, brand fallback slides).
   Bottom navigation rail: one mini card per slide (photo, name, price) with an autoplay progress bar.
   Logical properties everywhere: Arabic (RTL) and English (LTR) mirror automatically.
   ============================================================================== */

.abh {
    --abh-gold: #C9A24B;
    --abh-gold-2: #E6C77A;
    --abh-ink: #13100E;
    --abh-dur: 5000ms;
    --abh-gutter: clamp(16px, 4vw, 32px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    height: clamp(620px, 88vh, 820px);
    font-family: 'Cairo', sans-serif;
    background:
        radial-gradient(1100px 620px at 82% 18%, rgb(201 162 75 / .16), transparent 62%),
        radial-gradient(900px 520px at 8% 92%, rgb(201 162 75 / .09), transparent 60%),
        linear-gradient(180deg, #17130F 0%, #110E0C 100%);
    transition: opacity .45s ease;
}
.abh::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgb(255 255 255 / .025) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.abh.is-swapping { opacity: .3; }
@media (max-width: 767px) { .abh { height: auto; } }

.abh-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.abh-track { position: absolute; inset: 0; z-index: 1; }
/* phones: every slide sits in the same grid cell, so the slider is exactly as tall as its tallest slide */
@media (max-width: 767px) { .abh-track { position: relative; display: grid; } .abh-track > .abh-slide { position: relative; inset: auto; grid-area: 1 / 1; } .abh-show { height: auto; } }

/* ---- slide (shared) ---- */
.abh-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .9s; }
.abh-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s cubic-bezier(.4, 0, .2, 1), visibility 0s; z-index: 1; }
.abh-media, .abh-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.abh-media img { object-fit: cover; object-position: center; }

/* ---- shared text pieces ---- */
.abh-content > * { margin: 0; opacity: 0; transform: translateY(22px); }
.abh-slide.is-active .abh-content > * { animation: abh-rise .8s cubic-bezier(.22, .61, .36, 1) forwards; }
.abh-slide.is-active .abh-content > *:nth-child(2) { animation-delay: .08s; }
.abh-slide.is-active .abh-content > *:nth-child(3) { animation-delay: .16s; }
.abh-slide.is-active .abh-content > *:nth-child(4) { animation-delay: .24s; }
.abh-slide.is-active .abh-content > *:nth-child(5) { animation-delay: .32s; }
.abh-slide.is-active .abh-content > *:nth-child(6) { animation-delay: .4s; }
.abh-slide.is-active .abh-content > *:nth-child(7) { animation-delay: .48s; }
.abh-slide.is-active .abh-content > *:nth-child(8) { animation-delay: .56s; }
@keyframes abh-rise { to { opacity: 1; transform: none; } }

.abh-content { display: flex; flex-direction: column; gap: 14px; color: var(--abh-text, #fff); min-width: 0; }
.abh-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800;
    color: var(--abh-gold-2); background: rgb(201 162 75 / .1); border: 1px solid rgb(201 162 75 / .4);
}
.abh-eyebrow svg { width: 15px; height: 15px; }
.abh-title { font-size: clamp(1.9rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.15; text-wrap: balance; }
.abh-title .text-champagne { color: var(--abh-gold-2) !important; }
.abh-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgb(235 217 166 / .85); }
.abh-text { font-size: clamp(.93rem, 1.4vw, 1.08rem); line-height: 1.8; color: rgb(255 255 255 / .74); max-width: 52ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.abh-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.abh-price b { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; color: var(--abh-gold-2); font-variant-numeric: tabular-nums; }
.abh-price s { color: rgb(255 255 255 / .5); font-weight: 600; font-size: 1.05rem; }
.abh-price em { font-style: normal; font-size: .78rem; font-weight: 800; color: #17130c; background: var(--abh-gold); border-radius: 999px; padding: 3px 11px; }

.abh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 4px; }
.abh-meta-item { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: rgb(255 255 255 / .7); }
.abh-swatches { display: inline-flex; gap: 6px; }
.abh-swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .85); box-shadow: 0 0 0 1px rgb(0 0 0 / .3); }
.abh-swatches small { font-size: .74rem; color: rgb(255 255 255 / .6); align-self: center; }
.abh-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 8px; font-size: .72rem; font-weight: 800; color: #fff; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); }
.abh-stock { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 800; color: #9ee6c8; }
.abh-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(158 230 200 / .15); }
.abh-stock.is-low { color: #F4C77A; }
.abh-stock.is-low::before { box-shadow: 0 0 0 4px rgb(244 199 122 / .15); }

.abh-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.abh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 800; font-size: .95rem; text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.abh-btn svg { width: 18px; height: 18px; }
[dir="ltr"] .abh-btn svg.abh-arrow { transform: scaleX(-1); }
.abh-btn--gold { color: #17130c; background: linear-gradient(135deg, #EBCF86 0%, #C9A24B 50%, #A07F32 100%); box-shadow: 0 10px 30px rgb(201 162 75 / .3); }
.abh-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgb(201 162 75 / .42); }
.abh-btn--ghost { color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / .3); }
.abh-btn--ghost:hover { background: #fff; color: var(--abh-ink); border-color: #fff; }

.abh-countdown { display: flex; flex-direction: column; gap: 8px; align-self: flex-start; }
.abh-countdown > small { font-size: .76rem; font-weight: 700; color: rgb(255 255 255 / .65); }
.abh-cd { display: flex; gap: 8px; direction: ltr; }
[dir="rtl"] .abh-cd { flex-direction: row-reverse; justify-content: flex-end; }
.abh-cd span { min-width: 56px; padding: 7px 6px 5px; border-radius: 12px; text-align: center; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); }
.abh-cd b { display: block; font-size: 1.3rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.abh-cd small { display: block; font-size: .62rem; font-weight: 700; color: rgb(255 255 255 / .62); }

/* ==============================================================================
   LAYOUT 1 — SHOWCASE (real product)
   ============================================================================== */
.abh-slide[data-layout="showcase"] .abh-media img { filter: blur(48px) saturate(1.25); opacity: .22; transform: scale(1.35); }
.abh-show {
    position: relative; z-index: 2; height: 100%; max-width: 80rem; margin-inline: auto;
    padding: 72px var(--abh-gutter) 150px;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 5vw, 84px);
}
.abh-visual { position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 4 / 5; }
.abh-card { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: #241e19; }
.abh-card img { width: 100%; height: 100%; object-fit: cover; }
.abh-card--main {
    z-index: 2; border: 1px solid rgb(230 199 122 / .45);
    box-shadow: 0 40px 90px rgb(0 0 0 / .55), 0 0 0 10px rgb(255 255 255 / .03);
    opacity: 0; transform: translateY(26px) scale(.96);
}
.abh-card--back { z-index: 1; opacity: 0; transform: translate(-15%, 5%) rotate(-7deg) scale(.86); filter: brightness(.7); border: 1px solid rgb(255 255 255 / .12); }
[dir="ltr"] .abh-card--back { transform: translate(15%, 5%) rotate(7deg) scale(.86); }
.abh-slide.is-active .abh-card--main { animation: abh-card-in 1s .12s cubic-bezier(.22, .61, .36, 1) forwards; }
.abh-slide.is-active .abh-card--back { animation: abh-back-in 1.1s .3s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes abh-card-in { to { opacity: 1; transform: none; } }
@keyframes abh-back-in { to { opacity: .75; } }
.abh-slide.is-active .abh-card--main img { animation: abh-zoom 9s ease-out forwards; }
@keyframes abh-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.abh-tag {
    position: absolute; z-index: 3; top: 18px; inset-inline-start: 18px;
    padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 900;
    color: #17130c; background: linear-gradient(135deg, #F1D99A, #C9A24B); box-shadow: 0 10px 24px rgb(0 0 0 / .35);
}
.abh-tag--soft { color: #fff; background: rgb(19 16 14 / .72); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(8px); font-weight: 800; }
.abh-dots { position: absolute; z-index: 3; bottom: 16px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.abh-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .55); }
.abh-dots i:first-child { width: 18px; border-radius: 6px; background: #fff; }

@media (max-width: 900px) {
    .abh-show { grid-template-columns: 1fr; align-content: start; gap: 22px; padding: 22px var(--abh-gutter) 120px; }
    .abh-visual { order: -1; width: min(250px, 62vw); }
    .abh-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .abh-text { -webkit-line-clamp: 2; }
    .abh-slide[data-layout="showcase"] .abh-content { align-items: center; text-align: center; }
    .abh-slide[data-layout="showcase"] .abh-eyebrow, .abh-slide[data-layout="showcase"] .abh-countdown { align-self: center; }
    .abh-slide[data-layout="showcase"] .abh-price, .abh-slide[data-layout="showcase"] .abh-meta, .abh-slide[data-layout="showcase"] .abh-actions { justify-content: center; }
    .abh-btn { min-height: 48px; padding: 0 22px; font-size: .9rem; }
}

/* ==============================================================================
   LAYOUT 0 — INTRO (first slide: workshop, services, shipping to 69 wilayas)
   ============================================================================== */
.abh-slide[data-layout="intro"] .abh-media img { transform: scale(1.08); transform-origin: 70% 40%; }
.abh-slide[data-layout="intro"].is-active .abh-media img { animation: abh-kenburns 9s cubic-bezier(.25, .46, .45, .94) forwards; }
.abh-shade--intro {
    position: absolute; inset: 0;
    background: linear-gradient(to left, rgb(14 11 9 / .94) 0%, rgb(14 11 9 / .82) 38%, rgb(14 11 9 / .35) 72%, rgb(14 11 9 / .2) 100%),
        linear-gradient(to top, rgb(14 11 9 / .9) 0%, transparent 45%);
}
[dir="ltr"] .abh-shade--intro {
    background: linear-gradient(to right, rgb(14 11 9 / .94) 0%, rgb(14 11 9 / .82) 38%, rgb(14 11 9 / .35) 72%, rgb(14 11 9 / .2) 100%),
        linear-gradient(to top, rgb(14 11 9 / .9) 0%, transparent 45%);
}
.abh-intro {
    position: relative; z-index: 2; height: 100%; max-width: 80rem; margin-inline: auto;
    padding: 70px var(--abh-gutter) 150px; display: flex; flex-direction: column; justify-content: center; gap: 30px;
}
.abh-intro .abh-content { width: min(660px, 100%); }
.abh-accent { display: block; margin-top: 4px; font-size: .68em; line-height: 1.3; color: var(--abh-gold-2); }
.abh-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(900px, 100%); }
.abh-feature {
    display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 20px;
    background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(10px);
    opacity: 0; transform: translateY(20px);
}
.abh-slide.is-active .abh-feature { animation: abh-rise .8s cubic-bezier(.22, .61, .36, 1) forwards; }
.abh-slide.is-active .abh-feature:nth-child(1) { animation-delay: .35s; }
.abh-slide.is-active .abh-feature:nth-child(2) { animation-delay: .47s; }
.abh-slide.is-active .abh-feature:nth-child(3) { animation-delay: .59s; }
.abh-feature-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #17130c; background: linear-gradient(135deg, #F1D99A, #C9A24B); box-shadow: 0 8px 20px rgb(201 162 75 / .25); }
.abh-feature-ico svg { width: 21px; height: 21px; }
.abh-feature b { display: block; font-size: .95rem; font-weight: 800; color: #fff; }
.abh-feature small { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.6; color: rgb(255 255 255 / .7); }

.abh-ship {
    position: absolute; z-index: 3; top: clamp(90px, 16%, 140px); inset-inline-end: clamp(18px, 8vw, 140px);
    width: clamp(120px, 12vw, 158px); aspect-ratio: 1; border-radius: 50%;
    display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px;
    color: #17130c; background: radial-gradient(circle at 30% 25%, #F6E3A8 0%, #C9A24B 58%, #9C7A30 100%);
    box-shadow: 0 22px 60px rgb(0 0 0 / .4), inset 0 0 0 7px rgb(255 255 255 / .2);
    opacity: 0; transform: scale(.7) rotate(-8deg);
}
.abh-slide.is-active .abh-ship { animation: abh-ship-in .8s .5s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes abh-ship-in { to { opacity: 1; transform: rotate(-8deg); } }
.abh-ship svg { width: 22px; height: 22px; }
.abh-ship b { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 900; line-height: 1; }
.abh-ship small { font-size: .68rem; font-weight: 800; line-height: 1.3; max-width: 110px; }

@media (max-width: 1023px) {
    .abh-features { grid-template-columns: 1fr; width: min(560px, 100%); gap: 8px; }
    .abh-feature { padding: 12px 14px; }
}
@media (max-width: 767px) {
    .abh-slide[data-layout="intro"] { min-height: 760px; }
    .abh-shade--intro, [dir="ltr"] .abh-shade--intro { background: linear-gradient(to top, rgb(14 11 9 / .96) 0%, rgb(14 11 9 / .88) 55%, rgb(14 11 9 / .45) 100%); }
    .abh-intro { height: auto; justify-content: flex-end; padding: 150px var(--abh-gutter) 110px; gap: 20px; }
    .abh-ship { top: 22px; inset-inline-end: 18px; width: 108px; }
    .abh-ship b { font-size: 1.9rem; }
    .abh-feature-ico { width: 38px; height: 38px; border-radius: 12px; }
    .abh-feature b { font-size: .88rem; }
    .abh-feature small { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
    .abh-feature, .abh-slide.is-active .abh-feature, .abh-ship, .abh-slide.is-active .abh-ship { animation: none; opacity: 1; transform: none; }
}

/* ==============================================================================
   LAYOUT 2 — FULL-BLEED BANNER (dashboard slides without product, brand slides)
   ============================================================================== */
.abh-slide[data-layout="full"] .abh-media img { transform: scale(1.1); transform-origin: 60% 40%; }
.abh-slide[data-layout="full"].is-active .abh-media img { animation: abh-kenburns 11s cubic-bezier(.25, .46, .45, .94) forwards; }
@keyframes abh-kenburns { from { transform: scale(1.1); } to { transform: scale(1.01) translate3d(-1%, -.6%, 0); } }
.abh-shade {
    position: absolute; inset: 0;
    background: linear-gradient(to left, rgb(14 11 9 / var(--abh-overlay, .8)) 0%, rgb(14 11 9 / calc(var(--abh-overlay, .8) * .55)) 45%, rgb(14 11 9 / .1) 80%),
        linear-gradient(to top, rgb(14 11 9 / .75) 0%, transparent 40%);
}
[dir="ltr"] .abh-shade {
    background: linear-gradient(to right, rgb(14 11 9 / var(--abh-overlay, .8)) 0%, rgb(14 11 9 / calc(var(--abh-overlay, .8) * .55)) 45%, rgb(14 11 9 / .1) 80%),
        linear-gradient(to top, rgb(14 11 9 / .75) 0%, transparent 40%);
}
.abh-slide[data-align="center"] .abh-shade { background: radial-gradient(ellipse at center, rgb(14 11 9 / var(--abh-overlay, .7)) 0%, rgb(14 11 9 / .3) 75%), linear-gradient(to top, rgb(14 11 9 / .75), transparent 40%); }
.abh-slide[data-align="end"] .abh-shade { transform: scaleX(-1); }
.abh-inner { position: relative; z-index: 2; height: 100%; max-width: 80rem; margin-inline: auto; padding: 90px var(--abh-gutter) 150px; display: flex; align-items: center; }
.abh-inner .abh-content { width: min(620px, 100%); }
.abh-slide[data-align="center"] .abh-inner { justify-content: center; text-align: center; }
.abh-slide[data-align="center"] .abh-content { align-items: center; }
.abh-slide[data-align="center"] .abh-eyebrow, .abh-slide[data-align="center"] .abh-countdown { align-self: center; }
.abh-slide[data-align="center"] .abh-actions, .abh-slide[data-align="center"] .abh-price { justify-content: center; }
.abh-slide[data-align="end"] .abh-inner { justify-content: flex-end; }
.abh-sticker {
    position: absolute; z-index: 3; top: clamp(90px, 15%, 130px); inset-inline-end: clamp(16px, 7vw, 120px);
    width: clamp(92px, 10vw, 128px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
    color: #17130c; background: radial-gradient(circle at 30% 25%, #F4DE9F 0%, #C9A24B 55%, #9C7A30 100%);
    box-shadow: 0 18px 50px rgb(0 0 0 / .35), inset 0 0 0 6px rgb(255 255 255 / .18); transform: rotate(-10deg); opacity: 0;
}
.abh-slide.is-active .abh-sticker { animation: abh-pop .7s .5s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes abh-pop { from { opacity: 0; transform: rotate(-10deg) scale(.6); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }
.abh-sticker span { display: block; font-weight: 900; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.05; }
.abh-sticker small { display: block; font-size: .7rem; font-weight: 800; opacity: .8; }
@media (max-width: 767px) {
    .abh-slide[data-layout="full"] { min-height: 640px; }
    .abh-shade, [dir="ltr"] .abh-shade, .abh-slide[data-align] .abh-shade { transform: none; background: linear-gradient(to top, rgb(14 11 9 / .93) 0%, rgb(14 11 9 / calc(var(--abh-overlay, .8) * .7)) 48%, rgb(14 11 9 / .15) 82%); }
    .abh-inner, .abh-slide[data-align] .abh-inner { align-items: flex-end; justify-content: flex-start; text-align: start; padding: 80px var(--abh-gutter) 130px; }
    .abh-sticker { top: 80px; }
}

/* ==============================================================================
   NAVIGATION RAIL + CONTROLS
   ============================================================================== */
.abh-ui {
    position: absolute; z-index: 5; inset-inline: 0; bottom: 0; max-width: 80rem; margin-inline: auto;
    padding: 0 var(--abh-gutter) 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
}
.abh-rail { display: flex; gap: 10px; flex: 1; min-width: 0; }
.abh-thumb {
    position: relative; flex: 1; min-width: 0; max-width: 230px; display: flex; align-items: center; gap: 10px;
    padding: 8px; padding-inline-end: 12px; border-radius: 16px; text-align: start; cursor: pointer; font: inherit; color: #fff;
    background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); overflow: hidden;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.abh-thumb:hover { background: rgb(255 255 255 / .1); }
.abh-thumb.is-active { background: rgb(255 255 255 / .12); border-color: rgb(230 199 122 / .55); }
.abh-thumb img { width: 40px; height: 50px; flex: none; border-radius: 10px; object-fit: cover; background: #2a231d; }
.abh-thumb span { display: block; min-width: 0; }
.abh-thumb b { display: block; font-size: .78rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abh-thumb small { display: block; font-size: .72rem; font-weight: 700; color: var(--abh-gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abh-bar { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: rgb(255 255 255 / .1); }
.abh-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--abh-gold-2), var(--abh-gold)); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .abh-bar i { transform-origin: right center; }
.abh-thumb.is-active .abh-bar i { animation: abh-fill var(--abh-dur) linear forwards; }
.abh.is-paused .abh-thumb.is-active .abh-bar i { animation-play-state: paused; }
.abh.is-static .abh-thumb.is-active .abh-bar i { animation: none; transform: scaleX(1); }
@keyframes abh-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1023px) { .abh-thumb span { display: none; } .abh-thumb { flex: 0 0 auto; padding: 6px; } }
@media (max-width: 767px) {
    .abh-rail { gap: 6px; }
    .abh-thumb { flex: 1; max-width: none; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgb(255 255 255 / .22); }
    .abh-thumb img { display: none; }
    .abh-thumb .abh-bar { top: 0; height: 100%; background: none; }
    .abh-thumb.is-active { background: rgb(255 255 255 / .22); }
    .abh-ui { padding-bottom: 22px; align-items: center; }
}

.abh-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.abh-count { font-size: .9rem; font-weight: 700; color: rgb(255 255 255 / .6); font-variant-numeric: tabular-nums; margin-inline-end: 6px; direction: ltr; }
.abh-count b { font-size: 1.3rem; font-weight: 900; color: #fff; }
.abh-ctrl {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer;
    background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .22); transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.abh-ctrl:hover { background: #fff; color: var(--abh-ink); }
.abh-ctrl:active { transform: scale(.94); }
.abh-ctrl svg { width: 19px; height: 19px; }
[dir="ltr"] .abh-ctrl.abh-prev svg, [dir="ltr"] .abh-ctrl.abh-next svg { transform: scaleX(-1); }
.abh-ctrl .abh-ico-play { display: none; }
.abh.is-paused .abh-ctrl .abh-ico-play, .abh.is-static .abh-ctrl .abh-ico-play { display: block; }
.abh.is-paused .abh-ctrl .abh-ico-pause, .abh.is-static .abh-ctrl .abh-ico-pause { display: none; }
@media (max-width: 767px) { .abh-count { display: none; } .abh-ctrl { width: 40px; height: 40px; } }
.abh[data-count="1"] .abh-ui { display: none; }
.abh :focus-visible { outline: 3px solid var(--abh-gold-2); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .abh-slide, .abh-slide.is-active { transition: opacity .2s linear; }
    .abh-content > *, .abh-slide.is-active .abh-content > *, .abh-card--main, .abh-slide.is-active .abh-card--main { animation: none; opacity: 1; transform: none; }
    .abh-card--back, .abh-slide.is-active .abh-card--back { animation: none; opacity: .75; }
    .abh-slide.is-active .abh-media img, .abh-slide.is-active .abh-card--main img { animation: none; }
    .abh-sticker, .abh-slide.is-active .abh-sticker { animation: none; opacity: 1; }
}

/* ==============================================================================
   OFFERS SECTION (homepage) — #offers-section
   ============================================================================== */
.abo-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #17130F 0%, #221C16 100%); color: #fff; }
.abo-section::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60vw; height: 60vw; background: radial-gradient(circle, rgb(201 162 75 / .2) 0%, transparent 65%); pointer-events: none; }
.abo-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; margin-bottom: 30px; }
.abo-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; color: #E6C77A; letter-spacing: .04em; }
.abo-eyebrow svg { width: 16px; height: 16px; }
.abo-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; margin: 8px 0 6px; color: #fff; }
.abo-sub { color: rgb(255 255 255 / .72); font-size: .95rem; margin: 0; max-width: 60ch; }
.abo-side { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.abo-all { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: #17130c; background: linear-gradient(135deg, #EBCF86, #C9A24B 55%, #A07F32); text-decoration: none; box-shadow: 0 10px 28px rgb(201 162 75 / .3); transition: transform .2s ease; }
.abo-all:hover { transform: translateY(-2px); }
.abo-all svg { width: 16px; height: 16px; }
[dir="ltr"] .abo-all svg { transform: scaleX(-1); }
.abo-section .product-card { color: initial; }

/* ==============================================================================
   OFFERS & DISCOUNTS PAGE (offers.html + store-offers.js) — 2026-11
   ============================================================================== */
.abp-container { max-width: 80rem; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.abp-hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1000px 520px at 85% 0%, rgb(201 162 75 / .2), transparent 60%), radial-gradient(800px 480px at 0% 100%, rgb(201 162 75 / .1), transparent 60%), linear-gradient(180deg, #17130F, #110E0C);
}
.abp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(255 255 255 / .025) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%); }
.abp-hero-inner { position: relative; max-width: 80rem; margin-inline: auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 32px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .abp-hero-inner { grid-template-columns: 1fr; } .abp-collage { order: -1; } }
.abp-hero-text { display: flex; flex-direction: column; gap: 16px; }
.abp-eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; color: #E6C77A; background: rgb(201 162 75 / .1); border: 1px solid rgb(201 162 75 / .4); }
.abp-eyebrow svg { width: 16px; height: 16px; }
.abp-title { margin: 0; font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.12; color: #fff; }
.abp-sub { margin: 0; color: rgb(255 255 255 / .74); font-size: clamp(.95rem, 1.5vw, 1.1rem); line-height: 1.8; max-width: 56ch; }
.abp-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.abp-stat { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 120px; padding: 12px 16px; border-radius: 18px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); }
.abp-stat b { font-size: 1.7rem; font-weight: 900; color: #E6C77A; line-height: 1.1; }
.abp-stat span { font-size: .78rem; font-weight: 700; color: rgb(255 255 255 / .7); }
.abp-stat--cd .abh-cd span { min-width: 48px; padding: 6px 4px 4px; }
.abp-stat--cd .abh-cd b { font-size: 1.1rem; color: #fff; }
.abp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.abp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: .93rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.abp-btn svg { width: 17px; height: 17px; }
.abp-btn--gold { color: #17130c; background: linear-gradient(135deg, #EBCF86, #C9A24B 50%, #A07F32); box-shadow: 0 10px 30px rgb(201 162 75 / .3); }
.abp-btn--gold:hover { transform: translateY(-2px); }
.abp-btn--ghost { color: #fff; border: 1px solid rgb(255 255 255 / .3); }
.abp-btn--ghost:hover { background: #fff; color: #13100E; }

.abp-collage { position: relative; height: clamp(300px, 34vw, 440px); }
.abp-pic { position: absolute; display: block; border-radius: 24px; overflow: hidden; border: 1px solid rgb(230 199 122 / .4); box-shadow: 0 30px 70px rgb(0 0 0 / .5); background: #241e19; }
.abp-pic img { width: 100%; height: 100%; object-fit: cover; }
.abp-pic span { position: absolute; top: 12px; inset-inline-start: 12px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 900; color: #17130c; background: linear-gradient(135deg, #F1D99A, #C9A24B); }
.abp-pic--1 { z-index: 3; inset-inline-start: 22%; top: 0; width: 50%; height: 92%; }
.abp-pic--2 { z-index: 2; inset-inline-start: 0; top: 14%; width: 36%; height: 70%; transform: rotate(-6deg); opacity: .85; }
.abp-pic--3 { z-index: 1; inset-inline-end: 0; top: 18%; width: 34%; height: 66%; transform: rotate(6deg); opacity: .8; }
.abp-pic:only-child { inset-inline-start: 50%; width: 58%; height: 100%; transform: translateX(50%); }
[dir="ltr"] .abp-pic:only-child { transform: translateX(-50%); }
@media (max-width: 900px) { .abp-collage { height: 300px; max-width: 460px; width: 100%; margin-inline: auto; } }

.abp-body { padding-block: clamp(36px, 5vw, 64px); background: #FAF8F5; }
.abp-toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.abp-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid #E8E1D6; width: fit-content; max-width: 100%; }
.abp-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-size: .88rem; font-weight: 800; color: #3d352e; cursor: pointer; }
.abp-tab small { font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: #F3EEE5; color: #7a6a52; }
.abp-tab[aria-selected="true"] { background: #1C1A18; color: #fff; }
.abp-tab[aria-selected="true"] small { background: rgb(255 255 255 / .16); color: #fff; }
.abp-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.abp-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.abp-chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #E2DACD; background: #fff; font: inherit; font-size: .82rem; font-weight: 700; color: #3d352e; cursor: pointer; }
.abp-chip[aria-pressed="true"] { border-color: #B89B5E; background: #FBF6E9; color: #6e5320; }
.abp-count { font-size: .82rem; font-weight: 700; color: #8a7f72; margin-inline-start: auto; }
.abp-sort select { min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid #E2DACD; background: #fff; font: inherit; font-size: .85rem; font-weight: 700; color: #1C1A18; }

.abp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
@media (max-width: 1100px) { .abp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .abp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.abp-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #EEE7DC; box-shadow: 0 6px 20px rgb(28 26 24 / .05); transition: transform .3s ease, box-shadow .3s ease; }
.abp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(28 26 24 / .1); }
.abp-card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #F3EEE5; }
.abp-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease, transform .6s ease; }
.abp-card-media .abp-alt { opacity: 0; }
.abp-card:hover .abp-card-media .abp-alt { opacity: 1; }
.abp-card:hover .abp-card-media img { transform: scale(1.04); }
.abp-ribbon { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; padding: 6px 12px; border-radius: 999px; font-size: .86rem; font-weight: 900; color: #17130c; background: linear-gradient(135deg, #F1D99A, #C9A24B); box-shadow: 0 6px 16px rgb(0 0 0 / .18); }
.abp-time { position: absolute; z-index: 2; bottom: 12px; inset-inline: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border-radius: 12px; font-size: .76rem; font-weight: 800; color: #fff; background: rgb(19 16 14 / .78); backdrop-filter: blur(6px); }
.abp-time svg { width: 14px; height: 14px; }
.abp-fav { position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgb(255 255 255 / .92); box-shadow: 0 4px 12px rgb(0 0 0 / .12); cursor: pointer; color: #1C1A18; }
.abp-card-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 14px 16px; flex: 1; }
.abp-cat { font-size: .72rem; font-weight: 800; color: #9a8466; }
.abp-name { margin: 0; font-size: .95rem; font-weight: 800; line-height: 1.45; color: #1C1A18; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.abp-name a { color: inherit; text-decoration: none; }
.abp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.abp-price b { font-size: 1.15rem; font-weight: 900; color: #8F743F; }
.abp-price s { font-size: .85rem; color: #A59F93; }
.abp-save { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; color: #0d5c46; background: #E3F5EE; }
.abp-stock { font-size: .76rem; font-weight: 700; color: #2f7d5c; }
.abp-stock.is-low { color: #a5651a; }
.abp-btn.abp-btn--card, .abp-card .abp-btn { margin-top: auto; min-height: 42px; font-size: .86rem; color: #fff; background: #1C1A18; }
.abp-card .abp-btn:hover { background: #B89B5E; color: #17130c; }
[dir="ltr"] .abp-arrow { transform: scaleX(-1); }
.abp-skel .abp-card-body { gap: 10px; }
.abp-none { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding: 48px 16px; text-align: center; color: #8a7f72; font-weight: 700; }

.abp-empty-box { display: grid; justify-items: center; gap: 10px; padding: clamp(28px, 4vw, 44px) 20px; margin-bottom: 34px; border-radius: 26px; text-align: center; background: #fff; border: 1px dashed #D9CEBC; }
.abp-empty-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #8F743F; background: #FBF6E9; }
.abp-empty-ico svg { width: 28px; height: 28px; }
.abp-empty-box h2 { margin: 0; font-size: 1.35rem; font-weight: 900; color: #1C1A18; }
.abp-empty-box p { margin: 0; max-width: 56ch; color: #6b665d; line-height: 1.8; }
.abp-fallback-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.abp-fallback-head h2 { margin: 0; font-size: 1.4rem; font-weight: 900; color: #1C1A18; }
.abp-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 800; color: #8F743F; text-decoration: none; }
.abp-link svg { width: 16px; height: 16px; }

.abp-perks { padding-block: clamp(28px, 4vw, 48px); background: #F3EEE5; border-top: 1px solid #E8E1D6; }
.abp-perks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .abp-perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .abp-perks-grid { grid-template-columns: 1fr; } }
.abp-perk { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #E8E1D6; }
.abp-perk svg { flex: none; width: 22px; height: 22px; color: #8F743F; }
.abp-perk b { display: block; font-size: .92rem; font-weight: 800; color: #1C1A18; }
.abp-perk span { display: block; font-size: .8rem; color: #6b665d; margin-top: 2px; }
