/* =====================================================================
   public.css — single-store clothing catalog public layout
   Theme variables (--color-*, --font-main, --radius-md) are emitted by
   public/theme.css.php and validated server-side. Every value below
   references those variables or safe fallbacks; no DB content is ever
   injected here.
   ===================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.public-body {
    font-family: var(--font-main, "Inter, Arial, sans-serif");
    background: var(--color-bg, #F7F7F5);
    color: var(--color-text, #111111);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--color-primary, #111); }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    transform: translateY(-160%);
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    padding: 10px 16px;
    border-radius: var(--radius-md, 12px);
    z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md, 12px);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .1s ease, background .15s ease, color .15s ease, border-color .15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--color-button, #111);
    color: var(--color-button-text, #fff);
}
.btn-primary:hover { background: var(--color-primary, #111); color: var(--color-button-text, #fff); opacity: .92; }

.btn-secondary {
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    border-color: var(--color-border, #E5E5E5);
}
.btn-secondary:hover { border-color: var(--color-primary, #111); color: var(--color-primary, #111); }

.btn-accent {
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
}
.btn-accent:hover { filter: brightness(.95); color: var(--color-primary, #111); }

.btn-wa {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.btn-wa:hover { background: #1ebe57; color: #fff; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-surface, #fff);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
    color: var(--color-text, #111);
}

.public-body.header-style-transparent .site-header {
    background: transparent;
    border-bottom-color: transparent;
}
.public-body.header-style-minimal .site-header {
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.public-body.header-style-minimal .site-nav { gap: 18px; }

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.public-body.header-style-centered .site-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.public-body.header-style-centered .brand { order: 1; width: 100%; justify-content: center; }
.public-body.header-style-centered .site-nav { order: 2; justify-content: center; flex: 1 1 100%; }
.public-body.header-style-centered .site-actions { order: 3; flex: 1 1 100%; justify-content: center; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text, #111);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
}
.brand-logo { height: 36px; width: auto; }
.brand-mark {
    width: 36px;
    height: 36px;
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    border-radius: var(--radius-md, 12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
}
.brand-name { white-space: nowrap; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 auto;
}
.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text, #111);
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--color-primary, #111); }
.site-nav a.is-active {
    color: var(--color-primary, #111);
    border-bottom-color: var(--color-accent, #C6FF00);
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Search */
.site-search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-bg, #F7F7F5);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    padding: 4px 6px 4px 12px;
    max-width: 260px;
}
.site-search input {
    border: none;
    background: transparent;
    outline: none;
    font: inherit;
    color: var(--color-text, #111);
    padding: 6px 4px;
    width: 100%;
    min-width: 0;
}
.site-search input::placeholder { color: var(--color-muted, #666); }
.site-search-btn {
    border: none;
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    border-radius: calc(var(--radius-md, 12px) - 4px);
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

/* Language switcher */
.lang-switcher { position: relative; }
.lang-toggle {
    background: transparent;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    color: var(--color-text, #111);
    font: inherit;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 12px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
}
.lang-toggle:hover { border-color: var(--color-primary, #111); }
.lang-menu {
    list-style: none;
    margin: 0;
    padding: 6px;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    min-width: 160px;
    box-shadow: 0 12px 32px rgba(17,17,17,.08);
    display: none;
    z-index: 200;
}
.lang-switcher.is-open .lang-menu { display: block; }
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: calc(var(--radius-md, 12px) - 4px);
    font-size: 14px;
    color: var(--color-text, #111);
}
.lang-option:hover { background: var(--color-bg, #F7F7F5); }
.lang-option.is-active { background: var(--color-primary, #111); color: var(--color-button-text, #fff); }
.lang-option-code { font-weight: 700; min-width: 22px; }

[dir="rtl"] .lang-menu { right: auto; left: 0; }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-text, #111);
    border-radius: 2px;
    position: relative;
}
.menu-icon::before { position: absolute; top: -6px; left: 0; }
.menu-icon::after  { position: absolute; top:  6px; left: 0; }

/* Mobile menu panel */
.mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    max-width: 100vw;
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    box-shadow: -16px 0 32px rgba(17,17,17,.08);
    z-index: 300;
    transform: translateX(100%);
    transition: transform .22s ease;
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
    gap: 16px;
    overflow-y: auto;
    overflow-x: hidden;
}
[dir="rtl"] .mobile-menu {
    inset: 0 auto 0 0;
    transform: translateX(-100%);
    box-shadow: 16px 0 32px rgba(17,17,17,.08);
}
.mobile-menu:not([hidden]) { transform: translateX(0); }
.mobile-menu[hidden] { display: none; pointer-events: none; }
body.mobile-menu-open { overflow: hidden; }

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border, #E5E5E5);
    padding-bottom: 14px;
}
.mobile-menu-title { font-weight: 700; }
.mobile-menu-close {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text, #111);
}

.mobile-search {
    display: flex;
    gap: 8px;
    width: 100%;
    min-width: 0;
}
.mobile-search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    color: var(--color-text, #111);
    background: var(--color-bg, #F7F7F5);
}
.mobile-search .btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 13px;
}

.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    padding: 12px 8px;
    border-radius: calc(var(--radius-md, 12px) - 4px);
    font-weight: 500;
    color: var(--color-text, #111);
}
.mobile-nav a:hover { background: var(--color-bg, #F7F7F5); }
.mobile-nav a.is-active {
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
}

.mobile-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-muted, #666);
    margin: 6px 0 4px;
}
.mobile-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.mobile-categories a {
    display: block;
    padding: 10px 12px;
    background: var(--color-bg, #F7F7F5);
    border-radius: calc(var(--radius-md, 12px) - 4px);
    font-size: 14px;
    color: var(--color-text, #111);
}
.mobile-wa { margin-top: auto; align-self: stretch; justify-content: center; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    margin-top: auto;
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    border-top: 1px solid var(--color-border, #E5E5E5);
    padding: 56px 0 24px;
}
.site-footer.footer-style-minimal { padding: 28px 0 18px; }
.site-footer.footer-style-minimal .footer-grid { grid-template-columns: 1fr; gap: 18px; text-align: center; }
.site-footer.footer-style-minimal .footer-col:not(.footer-brand-col) { display: none; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
}

.site-footer.footer-style-columns .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }

.footer-col p { margin: 0; }
.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
    color: var(--color-text, #111);
}
.footer-description {
    color: var(--color-muted, #666);
    font-size: 14px;
    margin: 12px 0 18px;
    max-width: 36ch;
}

.footer-links,
.footer-contact,
.social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a,
.footer-contact a {
    color: var(--color-muted, #666);
    font-size: 14px;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--color-primary, #111); }

.footer-contact li { color: var(--color-muted, #666); font-size: 14px; }
.footer-meta-label { color: var(--color-text, #111); font-weight: 600; margin-right: 4px; }
[dir="rtl"] .footer-meta-label { margin-right: 0; margin-left: 4px; }

.footer-social .footer-title { margin-top: 22px; }
.social-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.social-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    font-size: 13px;
    color: var(--color-text, #111);
}
.social-list a:hover {
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    border-color: var(--color-primary, #111);
}

.footer-bottom {
    border-top: 1px solid var(--color-border, #E5E5E5);
    margin-top: 40px;
    padding-top: 18px;
    color: var(--color-muted, #666);
    font-size: 13px;
    text-align: center;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
    .site-nav { display: none; }
    .site-search { display: none; }
    .menu-toggle { display: inline-flex; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .container { padding: 0 14px; }
    .site-header {
        background: var(--color-surface, #fff);
        border-bottom-color: var(--color-border, #E5E5E5);
    }
    .site-header-inner {
        gap: 8px;
        min-height: 64px;
        padding-top: 12px;
        padding-bottom: 12px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .brand {
        gap: 8px;
        font-size: 16px;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }
    .brand-name {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 40vw;
    }
    .brand-mark { width: 32px; height: 32px; font-size: 12px; }
    .brand-logo  { height: 32px; }

    .site-actions {
        gap: 6px;
        flex: 0 0 auto;
    }

    .lang-toggle { padding: 8px 8px; font-size: 12px; }
    .lang-caret { display: none; }

    .site-actions > .btn-wa .btn-wa-text { display: none; }
    .site-actions > .btn-wa {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
    }

    .menu-toggle { width: 40px; height: 40px; }

    .mobile-menu {
        width: min(360px, calc(100vw - 32px));
        padding: 18px;
    }
    .mobile-menu .mobile-wa {
        flex: 0 0 auto;
        width: 100%;
        min-height: 46px;
        height: auto;
        padding: 12px 18px;
        white-space: normal;
        line-height: 1.25;
        text-align: center;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
    .mobile-categories ul { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .brand-name {
        display: inline-block;
        min-width: 48px;
        max-width: 100%;
    }
    .lang-toggle { padding: 8px 6px; }
}

/* =====================================================================
   HOME PAGE — FULL-BLEED HERO SLIDESHOW
   ===================================================================== */
.btn-lg {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: var(--radius-md, 12px);
}

.hero-full {
    position: relative;
    width: 100%;
    height: clamp(540px, 82vh, 820px);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    isolation: isolate;
    background: var(--color-primary, #111);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    contain: paint;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.1s cubic-bezier(.42,0,.21,1), transform 6s ease-out;
    will-change: opacity, transform;
    pointer-events: none;
    background: var(--color-primary, #111);
}
.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.hero-slide picture {
    position: absolute;
    inset: 0;
    display: block;
}
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Gradient placeholder shown when there are zero slides */
.hero-slide-placeholder {
    background:
        radial-gradient(circle at 80% 20%, rgba(198,255,0,.22), transparent 55%),
        linear-gradient(135deg, var(--color-primary, #111) 0%, #1f1f1f 50%, #0a0a0a 100%);
    opacity: 1;
    transform: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}
.hero-shape-a {
    width: 360px; height: 360px;
    top: -80px; right: -60px;
    background: var(--color-accent, #C6FF00);
    opacity: .25;
}
.hero-shape-b {
    width: 240px; height: 240px;
    bottom: -60px; left: -40px;
    background: #fff;
    opacity: .05;
}

/* Dark scrim so overlay text is readable on any photo (left-heavy for left-aligned content) */
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 55% at 22% 40%, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 65%, transparent 85%),
        linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 55%, rgba(0,0,0,.05) 100%),
        linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}
[dir="rtl"] .hero-scrim {
    background:
        radial-gradient(ellipse 60% 55% at 78% 40%, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 65%, transparent 85%),
        linear-gradient(270deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 55%, rgba(0,0,0,.05) 100%),
        linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.55) 100%);
}

/* Overlay content — left-aligned, vertically centered with a slight upward bias */
.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 96px;
    padding-bottom: 180px; /* extra bottom padding shifts the center point upward */
    width: 100%;
    text-align: left;
}

.hero-content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hero-eyebrow { align-self: flex-start; }
.hero-actions { justify-content: flex-start; }

.hero-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--color-primary, #111);
    background: var(--color-accent, #C6FF00);
    padding: 6px 12px;
    border-radius: 999px;
    text-shadow: none;
}

.hero-title {
    margin: 6px 0 0;
    font-size: clamp(36px, 6.4vw, 72px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 800;
    color: #fff;
}

.hero-subtitle {
    margin: 0;
    font-size: clamp(15px, 1.6vw, 19px);
    color: rgba(255,255,255,.92);
    font-weight: 500;
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

/* Dots / pagination — floating centered pill at the bottom */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 3;
}
.hero-dot {
    width: 26px;
    height: 5px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .55);
    padding: 0;
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .85); }
.hero-dot.is-active {
    background: #fff;
    width: 42px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: opacity .25s linear; transform: none !important; }
}

@media (max-width: 860px) {
    .hero-full { height: clamp(480px, 76vh, 720px); }
    .hero-overlay { padding-top: 80px; padding-bottom: 140px; }
    .hero-title { font-size: clamp(32px, 7vw, 56px); }
}

@media (max-width: 560px) {
    .hero-full { height: clamp(460px, 78vh, 640px); }
    .hero-overlay {
        padding-top: 64px;
        padding-bottom: 120px;
    }
    .hero-content { gap: 12px; max-width: 100%; }
    .hero-actions {
        width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .hero-actions .btn-lg {
        flex: 0 0 auto;
        width: 100%;
        min-height: 48px;
        height: auto;
        padding: 13px 18px;
        white-space: normal;
        line-height: 1.25;
        text-align: center;
    }
    .hero-dots { bottom: 18px; padding: 6px 10px; gap: 6px; }
    .hero-dot { width: 22px; height: 4px; }
    .hero-dot.is-active { width: 34px; }
}


/* =====================================================================
   HOME PAGE - SHARED SECTION SCAFFOLD
   ===================================================================== */
.home-section {
    padding: 80px 0;
    background: var(--color-bg, #F7F7F5);
    color: var(--color-text, #111);
}
.home-section + .home-section { padding-top: 0; }
.home-section-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 36px;
    max-width: 720px;
}
.home-section-title {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 800;
    color: var(--color-text, #111);
}
.home-section-subtitle {
    margin: 0;
    color: var(--color-muted, #666);
    font-size: clamp(14px, 1.4vw, 16px);
    max-width: 60ch;
}
.home-empty {
    color: var(--color-muted, #666);
    font-size: 15px;
    padding: 24px 0;
}

/* =====================================================================
   HOME PAGE - CATEGORIES (CIRCULAR ICONS + NAME)
   ===================================================================== */
.category-circles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 28px 18px;
    justify-items: center;
}

.category-circle { display: flex; }

.category-circle-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: inherit;
    text-decoration: none;
    text-align: center;
}
.category-circle-link:focus-visible {
    outline: none;
}
.category-circle-link:focus-visible .category-circle-media {
    box-shadow: 0 0 0 3px var(--color-accent, #C6FF00);
}

.category-circle-media {
    position: relative;
    width: clamp(96px, 11vw, 132px);
    height: clamp(96px, 11vw, 132px);
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg, #F7F7F5);
    border: 1px solid var(--color-border, #E5E5E5);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.category-circle-link:hover .category-circle-media {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -16px rgba(17,17,17,.30);
    border-color: var(--color-accent, #C6FF00);
}

.category-circle-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s cubic-bezier(.42,0,.21,1);
}
.category-circle-link:hover .category-circle-media img { transform: scale(1.06); }

.category-circle-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 70% 25%, rgba(198,255,0,.22), transparent 60%),
        linear-gradient(135deg, var(--color-primary, #111) 0%, #1f1f1f 100%);
    color: var(--color-button-text, #fff);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.03em;
    opacity: .9;
}

.category-circle-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--color-text, #111);
    line-height: 1.3;
    max-width: 14ch;
}

@media (max-width: 860px) {
    .home-section { padding: 56px 0; }
    .home-section-head { margin-bottom: 24px; }
    .category-circles { gap: 22px 14px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
}

@media (max-width: 480px) {
    .home-section { padding: 40px 0; }
    .category-circles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 10px;
    }
    .category-circle {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    .category-circle-link { min-width: 0; }
    .category-circle-media { width: 72px; height: 72px; }
    .category-circle-name {
        width: 100%;
        max-width: 100%;
        font-size: 12.5px;
        overflow-wrap: anywhere;
    }
}


/* =====================================================================
   HOME PAGE — NEW ARRIVALS / PRODUCT GRID
   ===================================================================== */

/* Section header with optional inline "View all" button on the right */
.home-section-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
}
.home-section-head--row > div { display: flex; flex-direction: column; gap: 6px; max-width: 720px; }
.home-section-cta { white-space: nowrap; }

.home-section-footer {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

/* Product grid */
.product-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.product-grid > li { display: flex; }

/* Product card */
.product-card {
    width: 100%;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(17,17,17,.22);
    border-color: rgba(17,17,17,.18);
}
.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.product-card-link:focus-visible {
    outline: 2px solid var(--color-accent, #C6FF00);
    outline-offset: 3px;
}

/* Media */
.product-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--color-bg, #F7F7F5);
    overflow: hidden;
}
.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s cubic-bezier(.42,0,.21,1);
}
.product-card:hover .product-card-media img { transform: scale(1.05); }

.product-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(198,255,0,.18), transparent 60%),
        linear-gradient(135deg, var(--color-primary, #111) 0%, #1f1f1f 100%);
    color: var(--color-button-text, #fff);
    font-weight: 800;
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: -0.03em;
    opacity: .85;
}

/* Badges on the image */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 2;
}
[dir="rtl"] .product-badges { left: auto; right: 12px; }
.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1.2;
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    border: 1px solid var(--color-border, #E5E5E5);
}
.product-badge--accent  { background: var(--color-accent, #C6FF00); color: var(--color-primary, #111); border-color: transparent; }
.product-badge--primary { background: var(--color-primary, #111);   color: var(--color-button-text, #fff); border-color: transparent; }
.product-badge--warning { background: var(--color-warning, #F59E0B); color: var(--color-primary, #111); border-color: transparent; }
.product-badge--danger  { background: var(--color-danger, #DC2626); color: #fff; border-color: transparent; }

/* Stock badge in the bottom corner of the image */
.product-stock {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: rgba(255,255,255,.95);
    color: var(--color-text, #111);
    border: 1px solid var(--color-border, #E5E5E5);
}
[dir="rtl"] .product-stock { right: auto; left: 12px; }
.product-stock::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--color-muted, #888);
}
.product-stock--success::before { background: var(--color-success, #16A34A); }
.product-stock--danger::before  { background: var(--color-danger, #DC2626); }
.product-stock--danger {
    background: rgba(255,255,255,.95);
    color: var(--color-danger, #DC2626);
}

/* Card body */
.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 18px;
    flex: 1;
}
.product-card-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: var(--color-text, #111);
}
.product-card-desc {
    margin: 0;
    color: var(--color-muted, #666);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 6px;
}
.product-price {
    font-weight: 800;
    font-size: 17px;
    color: var(--color-text, #111);
    letter-spacing: -0.005em;
}
.product-price-old {
    font-size: 13px;
    color: var(--color-muted, #888);
    text-decoration: line-through;
}

.product-card-cta {
    margin-top: auto;
    padding-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-primary, #111);
}
.product-card-arrow {
    color: var(--color-accent, #C6FF00);
    font-size: 16px;
    line-height: 1;
    transition: transform .25s ease;
}
.product-card:hover .product-card-arrow { transform: translateX(4px); }
[dir="rtl"] .product-card-arrow { transform: scaleX(-1); }
[dir="rtl"] .product-card:hover .product-card-arrow { transform: scaleX(-1) translateX(4px); }

/* Responsive */
@media (max-width: 980px) {
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
}
@media (max-width: 860px) {
    .home-section-head--row { flex-direction: column; align-items: flex-start; }
    .home-section-cta { display: none; } /* keep only the centered bottom CTA on tablet */
    .home-section-footer { margin-top: 28px; }
}
@media (max-width: 560px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .product-card-body { padding: 12px 12px 14px; gap: 4px; }
    .product-card-name { font-size: 14px; }
    .product-card-desc { font-size: 12.5px; -webkit-line-clamp: 1; }
    .product-price { font-size: 15px; }
    .product-price-old { font-size: 12px; }
    .product-card-cta { font-size: 11px; letter-spacing: .06em; }
    .product-badges { top: 8px; left: 8px; gap: 4px; }
    [dir="rtl"] .product-badges { right: 8px; left: auto; }
    .product-badge { font-size: 10px; padding: 3px 8px; }
    .product-stock { bottom: 8px; right: 8px; font-size: 10px; padding: 3px 8px; }
    [dir="rtl"] .product-stock { left: 8px; right: auto; }
}

/* =====================================================================
   HOME PAGE — OFFERS BANNER (managed in Admin → Banners)
   ===================================================================== */
/* =====================================================================
   SHOP PAGE
   ===================================================================== */
.shop-hero {
    background: var(--color-surface, #fff);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
    padding: 54px 0 42px;
}
.shop-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}
.shop-eyebrow {
    margin: 0 0 8px;
    color: var(--color-muted, #666);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.shop-title {
    margin: 0;
    color: var(--color-text, #111);
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}
.shop-subtitle {
    margin: 12px 0 0;
    color: var(--color-muted, #666);
    max-width: 620px;
    font-size: 16px;
}
.shop-hero-meta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: var(--radius-md, 12px);
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    font-size: 13px;
    font-weight: 800;
}

.shop-section { padding: 34px 0 64px; }
.shop-layout {
    display: grid;
    grid-template-columns: 282px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}
.shop-sidebar {
    position: sticky;
    top: 96px;
    min-width: 0;
}
.shop-filter-details {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
}
.shop-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    cursor: pointer;
    color: var(--color-text, #111);
    font-size: 14px;
    font-weight: 800;
    list-style: none;
}
.shop-filter-summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}
.shop-filter-details[open] .shop-filter-summary::after {
    transform: rotate(225deg);
}
.shop-filter-summary::-webkit-details-marker { display: none; }
.shop-filter-count {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}
.shop-filter-form {
    border-top: 1px solid var(--color-border, #E5E5E5);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.shop-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}
.shop-field > span {
    color: var(--color-text, #111);
    font-size: 12px;
    font-weight: 800;
}
.shop-field input,
.shop-field select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: calc(var(--radius-md, 12px) - 2px);
    background: var(--color-bg, #F7F7F5);
    color: var(--color-text, #111);
    font: inherit;
    font-size: 14px;
    padding: 10px 12px;
    outline: none;
}
.shop-field input:focus,
.shop-field select:focus {
    border-color: var(--color-primary, #111);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #C6FF00) 34%, transparent);
}
.shop-field input::placeholder { color: var(--color-muted, #666); }
.shop-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.shop-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 4px;
}
.shop-filter-actions .btn { width: 100%; }

.shop-results { min-width: 0; }
.shop-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--color-muted, #666);
    font-size: 14px;
}
.shop-results-head p {
    margin: 0;
    color: var(--color-text, #111);
    font-weight: 800;
}
.shop-results-head span { font-weight: 700; }
.shop-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.shop-empty {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    min-height: 280px;
    padding: 38px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}
.shop-empty h2 {
    margin: 0;
    color: var(--color-text, #111);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
}

.shop-pagination {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.shop-page-link,
.shop-page-ellipsis {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: calc(var(--radius-md, 12px) - 2px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border, #E5E5E5);
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    font-size: 13px;
    font-weight: 800;
}
.shop-page-link:hover {
    border-color: var(--color-primary, #111);
    color: var(--color-primary, #111);
}
.shop-page-link.is-current {
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    border-color: var(--color-primary, #111);
}
.shop-page-link.is-disabled {
    color: var(--color-muted, #888);
    background: var(--color-bg, #F7F7F5);
    pointer-events: none;
}
.shop-page-ellipsis {
    border-color: transparent;
    background: transparent;
    min-width: 28px;
    padding: 0 4px;
    color: var(--color-muted, #666);
}

@media (max-width: 980px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .shop-sidebar {
        position: static;
    }
    .shop-filter-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
    }
    .shop-price-row {
        grid-column: span 2;
    }
    .shop-filter-actions {
        grid-column: span 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .shop-hero {
        padding: 34px 0 28px;
    }
    .shop-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .shop-title {
        font-size: 32px;
    }
    .shop-subtitle {
        font-size: 14px;
    }
    .shop-hero-meta {
        min-height: 38px;
        font-size: 12px;
    }
    .shop-section {
        padding: 22px 0 46px;
    }
    .shop-filter-details {
        border-radius: calc(var(--radius-md, 12px) + 2px);
        box-shadow: 0 12px 30px rgba(0,0,0,.04);
    }
    .shop-filter-summary {
        min-height: 52px;
        padding: 14px 16px;
        background: var(--color-surface, #fff);
    }
    .shop-filter-summary > span:first-child {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .shop-filter-count {
        margin-inline-start: auto;
    }
    .shop-filter-form {
        padding: 14px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .shop-field {
        gap: 6px;
    }
    .shop-field > span {
        font-size: 11px;
    }
    .shop-field input,
    .shop-field select {
        min-height: 44px;
        padding: 9px 10px;
        font-size: 13px;
    }
    .shop-field--search,
    .shop-field--category,
    .shop-field--stock,
    .shop-field--sort,
    .shop-field--price,
    .shop-filter-actions {
        grid-column: 1 / -1;
    }
    .shop-price-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .shop-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        padding-top: 2px;
    }
    .shop-filter-actions .btn {
        min-height: 44px;
        white-space: normal;
        line-height: 1.2;
    }
    .shop-results-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .shop-page-link,
    .shop-page-ellipsis {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

/* =====================================================================
   PRODUCT DETAILS PAGE
   ===================================================================== */
.pd-empty-section {
    padding: 72px 0;
    background: var(--color-bg, #F7F7F5);
}
.pd-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 46px 24px;
    text-align: center;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
}
.pd-empty-kicker,
.pd-section-kicker {
    margin: 0 0 8px;
    color: var(--color-muted, #666);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.pd-empty h1 {
    margin: 0;
    color: var(--color-text, #111);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.12;
    letter-spacing: 0;
}
.pd-empty p:not(.pd-empty-kicker) {
    margin: 12px auto 24px;
    color: var(--color-muted, #666);
    max-width: 46ch;
}

.pd-main-section {
    padding: 46px 0 52px;
    background: var(--color-bg, #F7F7F5);
}
.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: start;
    gap: 46px;
}
.pd-gallery {
    position: sticky;
    top: 96px;
    min-width: 0;
}
.pd-main-image {
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: calc(var(--radius-md, 12px) + 4px);
}
.pd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pd-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, var(--color-surface, #fff), var(--color-bg, #F7F7F5));
    color: var(--color-muted, #666);
    font-size: 58px;
    font-weight: 800;
}
.pd-thumbs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 10px;
}
.pd-thumb {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    background: var(--color-surface, #fff);
    padding: 0;
    cursor: pointer;
}
.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pd-thumb:hover,
.pd-thumb.is-active {
    border-color: var(--color-primary, #111);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #C6FF00) 30%, transparent);
}

.pd-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 8px;
}
.pd-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pd-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-primary, #111);
    background: var(--color-accent, #C6FF00);
}
.pd-badge--danger {
    color: var(--color-button-text, #fff);
    background: var(--color-danger, #dc2626);
}
.pd-badge--warning {
    color: var(--color-primary, #111);
    background: var(--color-warning, #f59e0b);
}
.pd-badge--primary {
    color: var(--color-button-text, #fff);
    background: var(--color-primary, #111);
}
.pd-title {
    margin: 0;
    color: var(--color-text, #111);
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.04;
    letter-spacing: 0;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.pd-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
}
.pd-price {
    color: var(--color-text, #111);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}
.pd-old-price {
    color: var(--color-muted, #666);
    font-size: 16px;
    text-decoration: line-through;
}
.pd-old-price.is-hidden { display: none; }
.pd-short {
    margin: 0;
    color: var(--color-muted, #555);
    font-size: 16px;
    line-height: 1.65;
    max-width: 62ch;
}

.pd-meta {
    margin: 2px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--color-border, #E5E5E5);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.pd-meta div {
    padding: 14px 16px 14px 0;
    min-width: 0;
}
[dir="rtl"] .pd-meta div { padding: 14px 0 14px 16px; }
.pd-meta dt {
    margin: 0 0 4px;
    color: var(--color-muted, #666);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.pd-meta dd {
    margin: 0;
    color: var(--color-text, #111);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
}
.pd-stock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.pd-stock--success { color: var(--color-success, #16a34a); }
.pd-stock--danger { color: var(--color-danger, #dc2626); }

.pd-category-block {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.pd-label {
    color: var(--color-muted, #666);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.pd-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pd-category-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border, #E5E5E5);
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    font-size: 13px;
    font-weight: 700;
}
.pd-category-list a:hover {
    border-color: var(--color-primary, #111);
    color: var(--color-primary, #111);
}

.pd-order {
    margin-top: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: calc(var(--radius-md, 12px) + 2px);
}
.pd-option-group {
    border: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pd-option-group legend,
.pd-quantity > span {
    color: var(--color-text, #111);
    font-size: 13px;
    font-weight: 800;
}
.pd-size-options,
.pd-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pd-option {
    min-height: 42px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    background: var(--color-bg, #F7F7F5);
    color: var(--color-text, #111);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}
.pd-option:hover {
    border-color: var(--color-primary, #111);
}
.pd-option.is-selected {
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    border-color: var(--color-primary, #111);
}
.pd-option.is-muted {
    opacity: .52;
    border-style: dashed;
}
.pd-color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--swatch-color, #111);
    border: 1px solid rgba(0,0,0,.18);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
    flex: 0 0 auto;
}
.pd-option.is-selected .pd-color-swatch {
    border-color: rgba(255,255,255,.8);
}
.pd-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.pd-quantity input {
    width: 112px;
    min-height: 42px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    background: var(--color-bg, #F7F7F5);
    color: var(--color-text, #111);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 12px;
}
.pd-quantity input:focus {
    outline: none;
    border-color: var(--color-primary, #111);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #C6FF00) 34%, transparent);
}
.pd-order-message {
    min-height: 20px;
    margin: -4px 0 0;
    color: var(--color-danger, #dc2626);
    font-size: 13px;
    font-weight: 700;
}
.pd-order-message:empty { display: none; }
.pd-whatsapp {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
}
.pd-contact-fallback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 2px;
}
.pd-contact-fallback p {
    margin: 0;
    color: var(--color-muted, #666);
    font-size: 14px;
}

.pd-description-section,
.pd-related-section {
    padding: 42px 0 58px;
    background: var(--color-surface, #fff);
    border-top: 1px solid var(--color-border, #E5E5E5);
}
.pd-related-section {
    background: var(--color-bg, #F7F7F5);
}
.pd-description {
    max-width: 860px;
}
.pd-description h2,
.pd-section-head h2 {
    margin: 0;
    color: var(--color-text, #111);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.14;
    letter-spacing: 0;
    font-weight: 800;
}
.pd-description-text {
    margin-top: 18px;
    color: var(--color-muted, #555);
    font-size: 16px;
    line-height: 1.75;
    max-width: 76ch;
}
.pd-section-head {
    margin-bottom: 24px;
}
.pd-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pd-gallery {
        position: static;
    }
    .pd-main-image {
        aspect-ratio: 4 / 4.5;
    }
    .pd-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pd-main-section {
        padding: 24px 0 38px;
    }
    .pd-layout {
        gap: 24px;
    }
    .pd-main-image {
        border-radius: var(--radius-md, 12px);
        aspect-ratio: 4 / 5;
    }
    .pd-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .pd-info {
        gap: 15px;
        padding-top: 0;
    }
    .pd-title {
        font-size: 30px;
    }
    .pd-price {
        font-size: 24px;
    }
    .pd-short {
        font-size: 14px;
    }
    .pd-meta {
        grid-template-columns: 1fr;
    }
    .pd-meta div {
        padding: 12px 0;
    }
    [dir="rtl"] .pd-meta div {
        padding: 12px 0;
    }
    .pd-order {
        padding: 16px;
        gap: 16px;
    }
    .pd-size-options,
    .pd-color-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pd-option {
        width: 100%;
        min-height: 44px;
        padding: 9px 10px;
    }
    .pd-quantity {
        align-items: flex-start;
        flex-direction: column;
    }
    .pd-quantity input {
        width: 100%;
        min-height: 44px;
    }
    .pd-contact-fallback {
        align-items: stretch;
        flex-direction: column;
    }
    .pd-contact-fallback .btn {
        width: 100%;
    }
    .pd-description-section,
    .pd-related-section {
        padding: 34px 0 44px;
    }
}

@media (max-width: 420px) {
    .pd-size-options,
    .pd-color-options {
        grid-template-columns: 1fr;
    }
    .pd-related-grid {
        grid-template-columns: 1fr;
    }
    .pd-empty {
        padding: 34px 18px;
    }
}

.home-offer-banner-section { padding-top: 0; }

.offer-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: calc(var(--radius-md, 12px) + 4px);
    overflow: hidden;
    isolation: isolate;
}
.offer-banner:not(.offer-banner--with-image) {
    grid-template-columns: 1fr;
    background:
        radial-gradient(circle at 100% 0%, rgba(198,255,0,.18), transparent 60%),
        linear-gradient(135deg, var(--color-primary, #111) 0%, #1f1f1f 100%);
    color: var(--color-button-text, #fff);
    border-color: transparent;
}

.offer-banner-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 40px;
}
.offer-banner:not(.offer-banner--with-image) .offer-banner-content {
    padding: 56px 48px;
    max-width: 760px;
}

.offer-banner-eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.offer-banner-title {
    margin: 4px 0 0;
    font-size: clamp(26px, 3.6vw, 42px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: inherit;
}

.offer-banner-description {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.55;
    max-width: 56ch;
    color: inherit;
    opacity: .85;
}

.offer-banner-cta {
    margin-top: 12px;
    gap: 10px;
}
.offer-banner-arrow {
    transition: transform .25s ease;
    font-size: 18px;
    line-height: 1;
}
.offer-banner-cta:hover .offer-banner-arrow { transform: translateX(4px); }
[dir="rtl"] .offer-banner-arrow { transform: scaleX(-1); }
[dir="rtl"] .offer-banner-cta:hover .offer-banner-arrow { transform: scaleX(-1) translateX(4px); }

.offer-banner-visual {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}
.offer-banner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .6s cubic-bezier(.42,0,.21,1);
}
.offer-banner:hover .offer-banner-visual img { transform: scale(1.04); }

/* RTL: keep the image on the same visual side it was authored for */
[dir="rtl"] .offer-banner.offer-banner--with-image {
    grid-template-columns: 1fr 1.1fr;
}

@media (max-width: 860px) {
    .offer-banner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    [dir="rtl"] .offer-banner.offer-banner--with-image { grid-template-columns: 1fr; }
    .offer-banner-visual { min-height: 220px; order: -1; }
    .offer-banner-content { padding: 28px 24px; }
    .offer-banner:not(.offer-banner--with-image) .offer-banner-content { padding: 32px 24px; }
}

@media (max-width: 560px) {
    .offer-banner-content { padding: 24px 20px; gap: 10px; }
    .offer-banner-cta { width: 100%; justify-content: center; }
}

/* =====================================================================
   HOME PAGE — TOP PROMO STRIP (banner position: home_hero)
   ===================================================================== */
.promo-strip {
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.promo-strip-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 20px;
    font-size: 13.5px;
    line-height: 1.35;
}
.promo-strip-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    white-space: nowrap;
}
.promo-strip-title {
    font-weight: 700;
    letter-spacing: -0.005em;
}
.promo-strip-desc {
    color: rgba(255,255,255,.78);
    flex: 1;
    min-width: 0;
}
.promo-strip-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    color: var(--color-accent, #C6FF00);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
    white-space: nowrap;
    margin-left: auto;
}
[dir="rtl"] .promo-strip-cta { margin-left: 0; margin-right: auto; }
.promo-strip-cta:hover { border-bottom-color: var(--color-accent, #C6FF00); color: var(--color-accent, #C6FF00); }
.promo-strip-cta span { display: inline-block; transition: transform .2s ease; }
.promo-strip-cta:hover span { transform: translateX(3px); }
[dir="rtl"] .promo-strip-cta span { transform: scaleX(-1); }
[dir="rtl"] .promo-strip-cta:hover span { transform: scaleX(-1) translateX(3px); }

@media (max-width: 560px) {
    .promo-strip-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 8px 10px;
        padding: 10px 14px;
        font-size: 12.5px;
    }
    .promo-strip-eyebrow { justify-self: start; }
    .promo-strip-title {
        min-width: 0;
        line-height: 1.3;
    }
    .promo-strip-desc { display: none; }
    .promo-strip-cta {
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: center;
        margin: 0;
        padding: 7px 0 2px;
        border-top: 1px solid rgba(255,255,255,.12);
        font-size: 11px;
        text-align: center;
    }
    [dir="rtl"] .promo-strip-cta { margin: 0; }
}

/* =====================================================================
   BANNER ROTATORS (multiple banners at same position crossfade)
   Stacks slides in a single grid cell; only .is-active is visible.
   ===================================================================== */
.promo-strip-rotator,
.offer-banner-rotator {
    display: grid;
    grid-template-columns: 1fr;
}
.promo-strip-rotator > .promo-strip,
.offer-banner-rotator > .offer-banner {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .6s ease, visibility 0s linear .6s;
}
.promo-strip-rotator > .promo-strip.is-active,
.offer-banner-rotator > .offer-banner.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .6s ease, visibility 0s linear 0s;
    z-index: 1;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.banner-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-border, #d4d4d4);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.banner-dot:hover { background: var(--color-muted, #888); }
.banner-dot.is-active {
    background: var(--color-primary, #111);
    transform: scale(1.25);
}

/* =====================================================================
   HOME — LOOKBOOK PREVIEW (interactive outfit with hotspots)
   ===================================================================== */
.lookbook-preview { padding-top: 40px; }

.lookbook-preview__header { margin-bottom: 28px; }

.lookbook-preview__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.lookbook-preview__visual { position: relative; }

/* No fixed aspect-ratio crop — the wrap sizes to the actual image.
   This makes X%/Y% match the admin placement exactly.
   Overflow is intentionally VISIBLE so hover preview cards aren't
   clipped at the image edge. The image itself carries the rounded
   corners. */
.lookbook-preview__image-wrap {
    position: relative;
    border-radius: calc(var(--radius-md, 12px) + 6px);
    background: var(--color-surface, #f6f6f6);
    border: 1px solid var(--color-border, #E5E5E5);
    line-height: 0;
}

.lookbook-preview__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-md, 12px) + 6px);
}

.lookbook-preview__placeholder {
    width: 100%;
    min-height: 320px;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(198,255,0,.12), transparent 60%),
        linear-gradient(135deg, var(--color-primary, #111), #2a2a2a);
    color: var(--color-button-text, #fff);
    font-weight: 800;
    font-size: clamp(56px, 12vw, 140px);
    letter-spacing: -.04em;
}

/* ---- hotspot (marker + line + label + card) ---- */
.look-hotspot {
    position: absolute;
    z-index: 2;
    width: 0;
    height: 0;
}
/* When a hotspot is hovered, focused or tap-opened, raise its whole
   stacking context so its preview card sits above ALL other markers. */
.look-hotspot:hover,
.look-hotspot:focus-within,
.look-hotspot.is-open {
    z-index: 50;
}

/* Balanced 5-point spread that works for flat-lays AND body shots.
   Markers correspond to items 1–5 in the right-hand list (the number
   on the marker maps to the number in the list — there are no
   image-region claims like "this is the jacket"). */
.look-hotspot--1 { top: 20%; left: 28%; }
.look-hotspot--2 { top: 30%; left: 68%; }
.look-hotspot--3 { top: 56%; left: 22%; }
.look-hotspot--4 { top: 62%; left: 72%; }
.look-hotspot--5 { top: 84%; left: 50%; }

.look-hotspot__marker {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
    border: 2px solid var(--color-button-text, #fff);
    box-shadow: 0 4px 14px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 2;
}
.look-hotspot__marker:hover,
.look-hotspot__marker:focus-visible {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 6px 18px rgba(0,0,0,.28), 0 0 0 4px rgba(198,255,0,.25);
    outline: none;
}

.look-hotspot__pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--color-accent, #C6FF00);
    opacity: .35;
    animation: lookHotspotPulse 1.8s ease-out infinite;
    z-index: -1;
}
@keyframes lookHotspotPulse {
    0%   { transform: scale(.6); opacity: .45; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

.look-hotspot__line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,0));
    box-shadow: 0 0 6px rgba(0,0,0,.35);
    transform-origin: left center;
}

.look-hotspot__label {
    position: absolute;
    background: rgba(255,255,255,.96);
    color: var(--color-primary, #111);
    backdrop-filter: blur(6px);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid rgba(0,0,0,.06);
    white-space: nowrap;
    pointer-events: none;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 4px 12px rgba(0,0,0,.10);
}

/* Line variants: extends from marker outward to its label pill.
   Lines alternate sides (right / left / right / left / right) so the
   pills land outside the body silhouette and never overlap each other. */
.look-hotspot__line--right {
    top: 0; left: 14px;
    width: clamp(70px, 12vw, 110px);
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.look-hotspot__line--left {
    top: 0; right: 14px;
    width: clamp(70px, 12vw, 110px);
    transform-origin: right center;
    background: linear-gradient(-90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}

.look-hotspot--1 .look-hotspot__line  { top: 0; left: 14px;  width: clamp(70px, 12vw, 110px);
                                        transform-origin: left center;
                                        background: linear-gradient(90deg,  rgba(255,255,255,.95), rgba(255,255,255,0)); }
.look-hotspot--1 .look-hotspot__label { top: -14px; left: calc(14px + clamp(70px, 12vw, 110px)); }

.look-hotspot--2 .look-hotspot__line  { top: 0; right: 14px; width: clamp(70px, 12vw, 110px);
                                        transform-origin: right center;
                                        background: linear-gradient(-90deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.look-hotspot--2 .look-hotspot__label { top: -14px; right: calc(14px + clamp(70px, 12vw, 110px)); }

.look-hotspot--3 .look-hotspot__line  { top: 0; left: 14px;  width: clamp(70px, 12vw, 110px);
                                        transform-origin: left center;
                                        background: linear-gradient(90deg,  rgba(255,255,255,.95), rgba(255,255,255,0)); }
.look-hotspot--3 .look-hotspot__label { top: -14px; left: calc(14px + clamp(70px, 12vw, 110px)); }

.look-hotspot--4 .look-hotspot__line  { top: 0; right: 14px; width: clamp(70px, 12vw, 110px);
                                        transform-origin: right center;
                                        background: linear-gradient(-90deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.look-hotspot--4 .look-hotspot__label { top: -14px; right: calc(14px + clamp(70px, 12vw, 110px)); }

.look-hotspot--5 .look-hotspot__line  { top: 0; left: 14px;  width: clamp(70px, 12vw, 110px);
                                        transform-origin: left center;
                                        background: linear-gradient(90deg,  rgba(255,255,255,.95), rgba(255,255,255,0)); }
.look-hotspot--5 .look-hotspot__label { top: -14px; left: calc(14px + clamp(70px, 12vw, 110px)); }

/* RTL: mirror the alternating sides as well. */
[dir="rtl"] .look-hotspot--1 .look-hotspot__line,
[dir="rtl"] .look-hotspot--3 .look-hotspot__line,
[dir="rtl"] .look-hotspot--5 .look-hotspot__line {
    left: auto; right: 14px; transform-origin: right center;
    background: linear-gradient(-90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
[dir="rtl"] .look-hotspot--1 .look-hotspot__label,
[dir="rtl"] .look-hotspot--3 .look-hotspot__label,
[dir="rtl"] .look-hotspot--5 .look-hotspot__label {
    left: auto; right: calc(14px + clamp(70px, 12vw, 110px));
}
[dir="rtl"] .look-hotspot--2 .look-hotspot__line,
[dir="rtl"] .look-hotspot--4 .look-hotspot__line {
    right: auto; left: 14px; transform-origin: left center;
    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
[dir="rtl"] .look-hotspot--2 .look-hotspot__label,
[dir="rtl"] .look-hotspot--4 .look-hotspot__label {
    right: auto; left: calc(14px + clamp(70px, 12vw, 110px));
}

/* When admin has placed a marker manually, override per-position line/label so
   the connector always leans away from the image center. */
.look-hotspot--placed.look-hotspot--lean-right .look-hotspot__line {
    top: 0; left: 14px; right: auto;
    width: clamp(70px, 12vw, 110px);
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.look-hotspot--placed.look-hotspot--lean-right .look-hotspot__label {
    top: -14px; left: calc(14px + clamp(70px, 12vw, 110px)); right: auto;
}
.look-hotspot--placed.look-hotspot--lean-left .look-hotspot__line {
    top: 0; right: 14px; left: auto;
    width: clamp(70px, 12vw, 110px);
    transform-origin: right center;
    background: linear-gradient(-90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.look-hotspot--placed.look-hotspot--lean-left .look-hotspot__label {
    top: -14px; right: calc(14px + clamp(70px, 12vw, 110px)); left: auto;
}

/* Card side follows the lean. Opens BELOW the marker by default so it
   never clips above the image. JS may add .look-hotspot--card-above
   when the marker sits low enough that the card needs to open upward. */
.look-hotspot--placed.look-hotspot--lean-right .look-hotspot__card {
    left: 28px; right: auto; top: 24px; bottom: auto;
}
.look-hotspot--placed.look-hotspot--lean-left .look-hotspot__card {
    right: 28px; left: auto; top: 24px; bottom: auto;
}
.look-hotspot--placed.look-hotspot--card-above .look-hotspot__card {
    top: auto; bottom: 24px;
}

/* ---- preview card ---- */
.look-hotspot__card {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translate(-50%, 8px);
    width: 260px;
    max-width: calc(100vw - 48px);
    background: #ffffff;
    color: var(--color-text, #111);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: calc(var(--radius-md, 12px) + 2px);
    box-shadow:
        0 24px 60px -12px rgba(0,0,0,.22),
        0 12px 24px -8px rgba(0,0,0,.10),
        0 2px 4px rgba(0,0,0,.04);
    padding: 12px;
    display: flex;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .25s cubic-bezier(.42,0,.21,1), visibility 0s linear .25s;
    z-index: 3;
    overflow: hidden;
}
/* subtle accent stripe along the top edge of the card */
.look-hotspot__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent, #C6FF00), var(--color-primary, #111));
}
.look-hotspot:hover .look-hotspot__card,
.look-hotspot__marker:focus-visible ~ .look-hotspot__card,
.look-hotspot.is-open .look-hotspot__card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition: opacity .2s ease, transform .25s cubic-bezier(.42,0,.21,1), visibility 0s linear 0s;
}

/* Cards appear on the same side as the connector line (away from the body). */
.look-hotspot--1 .look-hotspot__card,
.look-hotspot--3 .look-hotspot__card,
.look-hotspot--5 .look-hotspot__card { left: 28px; top: -40px; transform: translate(8px, 0); }
.look-hotspot--1:hover .look-hotspot__card,
.look-hotspot--3:hover .look-hotspot__card,
.look-hotspot--5:hover .look-hotspot__card,
.look-hotspot--1.is-open .look-hotspot__card,
.look-hotspot--3.is-open .look-hotspot__card,
.look-hotspot--5.is-open .look-hotspot__card { transform: translate(0, 0); }

.look-hotspot--2 .look-hotspot__card,
.look-hotspot--4 .look-hotspot__card { left: auto; right: 28px; top: -40px; transform: translate(-8px, 0); }
.look-hotspot--2:hover .look-hotspot__card,
.look-hotspot--4:hover .look-hotspot__card,
.look-hotspot--2.is-open .look-hotspot__card,
.look-hotspot--4.is-open .look-hotspot__card { transform: translate(0, 0); }

/* Pull shoe + accessory cards toward the image so they don't clip out. */
.look-hotspot--4 .look-hotspot__card { top: auto; bottom: -10px; }
.look-hotspot--5 .look-hotspot__card { top: 28px; }

/* RTL: flip card sides too. */
[dir="rtl"] .look-hotspot--1 .look-hotspot__card,
[dir="rtl"] .look-hotspot--3 .look-hotspot__card,
[dir="rtl"] .look-hotspot--5 .look-hotspot__card { left: auto; right: 28px; transform: translate(-8px, 0); }
[dir="rtl"] .look-hotspot--1:hover .look-hotspot__card,
[dir="rtl"] .look-hotspot--3:hover .look-hotspot__card,
[dir="rtl"] .look-hotspot--5:hover .look-hotspot__card,
[dir="rtl"] .look-hotspot--1.is-open .look-hotspot__card,
[dir="rtl"] .look-hotspot--3.is-open .look-hotspot__card,
[dir="rtl"] .look-hotspot--5.is-open .look-hotspot__card { transform: translate(0, 0); }
[dir="rtl"] .look-hotspot--2 .look-hotspot__card,
[dir="rtl"] .look-hotspot--4 .look-hotspot__card { right: auto; left: 28px; transform: translate(8px, 0); }
[dir="rtl"] .look-hotspot--2:hover .look-hotspot__card,
[dir="rtl"] .look-hotspot--4:hover .look-hotspot__card,
[dir="rtl"] .look-hotspot--2.is-open .look-hotspot__card,
[dir="rtl"] .look-hotspot--4.is-open .look-hotspot__card { transform: translate(0, 0); }

/* ── Media (left column) ───────────────────────────────────────── */
.look-hotspot__card-media {
    flex: 0 0 96px;
    width: 96px;
    height: auto;          /* match body height instead of fixed */
    align-self: stretch;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-surface, #f4f4f4);
    display: block;
    position: relative;
}
.look-hotspot__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.look-hotspot__card:hover .look-hotspot__card-media img { transform: scale(1.05); }
.look-hotspot__card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted, #888);
    font-weight: 700;
    font-size: 26px;
}

/* ── Body (right column) ───────────────────────────────────────── */
.look-hotspot__card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding-top: 2px;
}

/* product name: 2-line clamp, tight leading */
.look-hotspot__card-name {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.005em;
    color: var(--color-text, #111);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* one row holding prices + stock pill */
.look-hotspot__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.look-hotspot__card-prices {
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
    line-height: 1.1;
    min-width: 0;
}
.look-hotspot__card-prices .product-price {
    font-weight: 800;
    color: var(--color-text, #111);
    font-size: 15px;
}
.look-hotspot__card-prices .product-price-old {
    color: var(--color-muted, #888);
    text-decoration: line-through;
    font-size: 11px;
}

.look-hotspot__card-stock {
    flex-shrink: 0;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px 3px 7px;
    border-radius: 999px;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}
.look-hotspot__card-stock::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.look-hotspot__card-stock--success {
    color: var(--color-success, #16a34a);
    background: rgba(22,163,74,.12);
}
.look-hotspot__card-stock--danger {
    color: var(--color-danger, #dc2626);
    background: rgba(220,38,38,.12);
}

/* full-width CTA pinned to the bottom of the body */
.look-hotspot__card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 9px 12px;
    border-radius: 8px;
    align-self: stretch;
    line-height: 1;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.look-hotspot__card-cta:hover {
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
    transform: translateY(-1px);
}
.look-hotspot__card-cta span { display: inline-block; transition: transform .2s ease; }
.look-hotspot__card-cta:hover span { transform: translateX(3px); }
[dir="rtl"] .look-hotspot__card-cta span { transform: scaleX(-1); }
[dir="rtl"] .look-hotspot__card-cta:hover span { transform: scaleX(-1) translateX(3px); }

/* ---- side content ---- */
.lookbook-preview__content {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lookbook-preview__eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-muted, #888);
}
.lookbook-preview__title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--color-text, #111);
    line-height: 1.15;
}
.lookbook-preview__description {
    margin: 0;
    color: var(--color-muted, #555);
    line-height: 1.55;
    font-size: 15px;
    max-width: 56ch;
}

.lookbook-preview__items {
    list-style: none;
    padding: 0;
    margin: 8px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    counter-reset: lookitem;
}
.lookbook-preview__item-link {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lookbook-preview__item-link:hover {
    border-color: var(--color-primary, #111);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.lookbook-preview__item-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
}
.lookbook-preview__item-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.lookbook-preview__item-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-muted, #888);
}
.lookbook-preview__item-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lookbook-preview__item-price { font-weight: 700; font-size: 14px; }

.lookbook-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
    .lookbook-preview__layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
    .lookbook-preview { padding-top: 24px; }
    /* On phones, dim the labels so the photo stays clear; markers handle interaction. */
    .look-hotspot__label { display: none; }
    .look-hotspot__line  { display: none; }
    .look-hotspot__card {
        position: absolute;
        left: 50% !important;
        right: auto !important;
        top: 38px !important;
        bottom: auto !important;
        transform: translate(calc(-50% + var(--lookbook-card-shift-x, 0px)), 12px) !important;
        width: min(360px, calc(100vw - 28px));
    }
    .look-hotspot--card-above .look-hotspot__card {
        top: auto !important;
        bottom: 38px !important;
    }
    .look-hotspot.is-open .look-hotspot__card,
    .look-hotspot:hover .look-hotspot__card {
        transform: translate(calc(-50% + var(--lookbook-card-shift-x, 0px)), 0) !important;
    }
    .look-hotspot__marker { width: 32px; height: 32px; font-size: 13px; }
}

/* =====================================================================
   HOME — REVIEWS PREVIEW
   ===================================================================== */
.home-reviews { background: var(--color-bg, #F7F7F5); }
.reviews-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.review-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: calc(var(--radius-md, 12px) + 2px);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,.06);
    border-color: var(--color-primary, #111);
}
.review-card::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    right: 14px;
    font-size: 56px;
    line-height: 1;
    color: var(--color-accent, #C6FF00);
    opacity: .45;
    font-family: Georgia, "Times New Roman", serif;
    pointer-events: none;
}
[dir="rtl"] .review-card::before { right: auto; left: 14px; }
.review-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-muted, #999);
    font-size: 13px;
    font-weight: 700;
}
.review-card-star { color: rgba(0,0,0,.18); font-size: 16px; line-height: 1; }
.review-card-star.is-on { color: var(--color-warning, #f59e0b); }
.review-card-rating-num {
    margin-left: 6px;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-muted, #888);
}
[dir="rtl"] .review-card-rating-num { margin-left: 0; margin-right: 6px; }
.review-card-comment {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color-text, #222);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border, #eee);
}
.review-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-surface, #f4f4f4);
    flex: 0 0 42px;
}
.review-card-avatar--initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    font-weight: 800;
    font-size: 16px;
}
.review-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.review-card-name {
    font-weight: 800;
    color: var(--color-text, #111);
    font-size: 14px;
    line-height: 1.2;
}
.review-card-product {
    font-size: 12px;
    color: var(--color-muted, #777);
}
.review-card-product a {
    color: var(--color-text, #111);
    border-bottom: 1px dashed var(--color-border, #ccc);
    padding-bottom: 1px;
    transition: color .15s ease, border-color .15s ease;
}
.review-card-product a:hover {
    color: var(--color-primary, #111);
    border-bottom-color: var(--color-primary, #111);
}
@media (max-width: 900px) {
    .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   HOME — INSTAGRAM / SOCIAL
   ===================================================================== */
.home-social-card {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-md, 12px) + 6px);
    background:
        radial-gradient(circle at 100% 0%, rgba(198,255,0,.18), transparent 60%),
        linear-gradient(135deg, var(--color-primary, #111) 0%, #1a1a1a 100%);
    color: var(--color-button-text, #fff);
    padding: 48px 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 32px;
}
.home-social-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-accent, #C6FF00);
}
.home-social-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.15;
}
.home-social-subtitle {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.55;
    max-width: 56ch;
}
.home-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}
.home-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--color-button-text, #fff);
    border: 1px solid rgba(255,255,255,.16);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    transition: background .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}
.home-social-btn:hover {
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
    border-color: var(--color-accent, #C6FF00);
    transform: translateY(-1px);
}
.home-social-btn svg { flex: 0 0 20px; }
@media (max-width: 760px) {
    .home-social-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 22px;
    }
    .home-social-actions { justify-content: flex-start; }
}

/* =====================================================================
   HOME — ABOUT PREVIEW
   ===================================================================== */
.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: center;
}
.home-about-grid--no-image { grid-template-columns: 1fr; }
.home-about-visual {
    border-radius: calc(var(--radius-md, 12px) + 6px);
    overflow: hidden;
    background: var(--color-surface, #f4f4f4);
    border: 1px solid var(--color-border, #E5E5E5);
    aspect-ratio: 4 / 5;
}
.home-about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.42,0,.21,1);
}
.home-about-visual:hover img { transform: scale(1.04); }

.home-about-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.home-about-eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-muted, #888);
}
.home-about-title {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--color-text, #111);
    line-height: 1.15;
}
.home-about-description {
    margin: 0;
    color: var(--color-muted, #555);
    line-height: 1.65;
    font-size: 15.5px;
    max-width: 60ch;
}
.home-about-values {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.home-about-values li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text, #111);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.home-about-values li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent, #C6FF00);
    display: inline-block;
}
.home-about-actions { margin-top: 10px; }

@media (max-width: 900px) {
    .home-about-grid { grid-template-columns: 1fr; gap: 28px; }
    .home-about-visual { aspect-ratio: 16 / 11; }
}

/* =====================================================================
   HOME — CONTACT / VISIT STORE
   ===================================================================== */
.home-contact { background: var(--color-bg, #F7F7F5); }
.home-contact-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.home-contact-card {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: calc(var(--radius-md, 12px) + 2px);
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,.06);
    border-color: var(--color-primary, #111);
}
.home-contact-card--accent {
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    border-color: var(--color-primary, #111);
}
.home-contact-card--accent .home-contact-label { color: rgba(255,255,255,.7); }
.home-contact-card--accent .home-contact-value { color: var(--color-button-text, #fff); }
.home-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.home-contact-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-muted, #888);
}
.home-contact-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text, #111);
    line-height: 1.45;
    word-break: break-word;
}
.home-contact-card a.home-contact-value {
    text-decoration: none;
    transition: color .15s ease;
}
.home-contact-card a.home-contact-value:hover { color: var(--color-primary, #111); }
.home-contact-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    align-self: flex-start;
    transition: background .2s ease, color .2s ease;
}
.home-contact-cta:hover {
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
}
.home-contact-card--accent .home-contact-cta {
    background: var(--color-accent, #C6FF00);
    color: var(--color-primary, #111);
}
.home-contact-card--accent .home-contact-cta:hover {
    background: #fff;
    color: var(--color-primary, #111);
}
.home-contact-footer {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}


/* ==========================================================================
   Category Page
   ========================================================================== */

.category-hero {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0 2.25rem;
}

.category-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.category-breadcrumb a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.category-breadcrumb a:hover,
.category-breadcrumb a:focus-visible {
    color: var(--color-primary);
}

.category-breadcrumb-sep {
    color: var(--color-border);
}

.category-breadcrumb-current {
    color: var(--color-text);
    font-weight: 600;
}

.category-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.category-hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.category-eyebrow {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.category-title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    line-height: 1.1;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.category-description {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 56ch;
    font-size: 1rem;
}

.category-count {
    margin: 0.35rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.4rem 0.85rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
}

.category-hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 48px -28px rgba(0, 0, 0, 0.35);
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-hero-image--placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-surface), var(--color-bg));
    color: var(--color-accent);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.category-section {
    padding-top: 2.5rem;
}

.shop-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.5rem;
}

/* Not found */
.category-notfound {
    padding: 5rem 0;
    background: var(--color-bg);
}

.category-notfound-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.category-notfound-inner h1 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--color-text);
}

.category-notfound-inner p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

/* RTL */
html[dir="rtl"] .category-breadcrumb-sep {
    transform: scaleX(-1);
}

/* Responsive */
@media (max-width: 880px) {
    .category-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-hero-image {
        aspect-ratio: 16 / 9;
        order: -1;
    }

    .category-hero {
        padding: 1.75rem 0 1.75rem;
    }
}

@media (max-width: 520px) {
    .category-hero-image {
        aspect-ratio: 3 / 2;
    }
}


/* Categories index landing (category.php with no slug) */
.category-index {
    padding: 3rem 0 4rem;
    background: var(--color-bg);
}

.category-index-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.category-index-title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    line-height: 1.15;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.category-index-subtitle {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.category-index-grid {
    justify-content: center;
}


/* ==========================================================================
   Offers Page
   ========================================================================== */

.offers-hero {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.offers-hero--with-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 80% 20%, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 70%);
    pointer-events: none;
}

.offers-hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.offers-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.offers-hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.offers-hero-title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.offers-hero-subtitle {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 56ch;
    font-size: 1rem;
}

.offers-hero-count {
    margin: 0.35rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.4rem 0.85rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
}

.offers-hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 48px -28px rgba(0, 0, 0, 0.35);
}

.offers-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Offers list ----- */

.offers-section {
    padding: 3rem 0 4rem;
    background: var(--color-bg);
}

.offers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.offers-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 12px 32px -28px rgba(0, 0, 0, 0.4);
}

.offers-card-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    gap: 0;
}

.offers-card-text {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.offers-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 0.45rem 0.9rem;
    background: var(--color-accent);
    color: var(--color-button-text, #fff);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--color-accent) 60%, transparent);
}

.offers-card-title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.15;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.offers-card-description {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
    max-width: 60ch;
}

.offers-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 0.9rem;
    margin-top: 0.2rem;
}

.offers-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.offers-status-pill--success {
    background: color-mix(in srgb, var(--color-success) 16%, transparent);
    color: var(--color-success);
    border-color: color-mix(in srgb, var(--color-success) 35%, transparent);
}

.offers-status-pill--warning {
    background: color-mix(in srgb, var(--color-warning) 18%, transparent);
    color: var(--color-warning);
    border-color: color-mix(in srgb, var(--color-warning) 35%, transparent);
}

.offers-status-pill--accent {
    background: color-mix(in srgb, var(--color-accent) 16%, transparent);
    color: var(--color-accent);
    border-color: color-mix(in srgb, var(--color-accent) 35%, transparent);
}

.offers-status-extra {
    color: var(--color-muted);
    font-size: 0.88rem;
}

.offers-card-actions {
    margin-top: 0.4rem;
}

.offers-card-media {
    position: relative;
    min-height: 260px;
    background: linear-gradient(135deg, var(--color-bg), var(--color-surface));
    overflow: hidden;
}

.offers-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offers-card-media-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Products grid inside an offer */
.offers-products {
    padding: 1.5rem 2.25rem 2rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.offers-products-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.offers-products-empty {
    padding: 1.5rem 2.25rem 2rem;
    color: var(--color-muted);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
    text-align: center;
    margin: 0;
}

.offers-products-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.offers-products-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* ----- Empty state ----- */
.offers-empty {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 3rem 1.5rem;
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
}

.offers-empty h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.offers-empty p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

/* ----- Pagination ----- */
.offers-pagination {
    margin-top: 2.5rem;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .offers-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 880px) {
    .offers-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .offers-hero-image {
        aspect-ratio: 16 / 9;
        order: -1;
    }

    .offers-card-inner {
        grid-template-columns: 1fr;
    }

    .offers-card-media {
        order: -1;
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .offers-card-text {
        padding: 1.5rem 1.5rem 1.75rem;
    }

    .offers-products,
    .offers-products-empty {
        padding: 1.25rem 1.5rem 1.75rem;
    }
}

@media (max-width: 560px) {
    .offers-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- RTL nudges ----- */
html[dir="rtl"] .offers-products-cta .btn span[aria-hidden="true"] {
    transform: scaleX(-1);
    display: inline-block;
}

/* =====================================================================
   LOOKBOOKS INDEX + SINGLE LOOKBOOK
   ===================================================================== */
.lookbooks-hero {
    padding: 48px 0 34px;
    background: var(--color-surface, #fff);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.lookbooks-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.lookbooks-hero-content {
    max-width: 760px;
    position: relative;
    padding-top: 16px;
}
.lookbooks-hero-content::before,
.lookbook-section-head::before {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    background: var(--color-accent, #C6FF00);
    margin-bottom: 16px;
}
.lookbooks-eyebrow {
    margin: 0 0 10px;
    color: var(--color-muted, #666);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.lookbooks-title,
.lookbook-detail-title {
    margin: 0;
    color: var(--color-text, #111);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}
.lookbooks-title { font-size: clamp(34px, 6vw, 72px); }
.lookbooks-subtitle,
.lookbook-detail-description {
    margin: 16px 0 0;
    color: var(--color-muted, #555);
    font-size: 17px;
    line-height: 1.7;
    max-width: 66ch;
}
.lookbooks-count,
.lookbook-detail-count {
    display: inline-flex;
    width: fit-content;
    margin: 22px 0 0;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border, #E5E5E5);
    color: var(--color-text, #111);
    background: var(--color-bg, #F7F7F5);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.lookbooks-section,
.lookbook-products-section,
.lookbook-related-section {
    padding: 46px 0 72px;
}
.lookbooks-grid,
.lookbook-related-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.lookbook-card {
    min-width: 0;
    height: 100%;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.lookbook-card:hover {
    border-color: var(--color-primary, #111);
    box-shadow: 0 18px 34px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.lookbook-card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.lookbook-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--color-bg, #F7F7F5);
}
.lookbook-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.lookbook-card:hover .lookbook-card-media img { transform: scale(1.045); }
.lookbook-card-placeholder,
.lookbook-detail-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-button-text, #fff);
    background: var(--color-primary, #111);
    font-size: 76px;
    font-weight: 800;
}
.lookbook-card-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--color-primary, #111);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
[dir="rtl"] .lookbook-card-count {
    left: auto;
    right: 14px;
}
.lookbook-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 20px;
}
.lookbook-card-title {
    margin: 0;
    color: var(--color-text, #111);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    word-break: break-word;
}
.lookbook-card-description {
    margin: 0;
    color: var(--color-muted, #555);
    font-size: 14px;
    line-height: 1.6;
}
.lookbook-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary, #111);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.lookbook-card-cta span {
    display: inline-block;
    transition: transform .2s ease;
}
.lookbook-card:hover .lookbook-card-cta span { transform: translateX(4px); }
[dir="rtl"] .lookbook-card-cta span { transform: scaleX(-1); }
[dir="rtl"] .lookbook-card:hover .lookbook-card-cta span { transform: scaleX(-1) translateX(4px); }
.lookbook-card--compact .lookbook-card-title { font-size: 18px; }
.lookbook-card--compact .lookbook-card-body { padding: 16px; }
.lookbooks-empty,
.lookbook-not-found {
    max-width: 680px;
    margin: 0 auto;
    padding: 42px;
    text-align: center;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 8px);
}
.lookbooks-empty h2,
.lookbook-not-found h1 {
    margin: 0 0 14px;
    font-size: clamp(24px, 4vw, 38px);
    color: var(--color-text, #111);
    letter-spacing: 0;
}
.lookbook-not-found p {
    margin: 0 0 22px;
    color: var(--color-muted, #555);
}
.lookbook-not-found .category-breadcrumb {
    justify-content: center;
    margin-bottom: 22px;
}
.lookbook-not-found-section { padding: 58px 0 76px; }
.lookbooks-pagination { margin-top: 34px; }

.lookbook-detail-hero {
    padding: 34px 0 58px;
    background: var(--color-surface, #fff);
    border-bottom: 1px solid var(--color-border, #E5E5E5);
}
.lookbook-detail-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.lookbook-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 46px;
    align-items: center;
}
.lookbook-detail-media {
    overflow: hidden;
    border-radius: calc(var(--radius-md, 8px) + 2px);
    background: var(--color-bg, #F7F7F5);
    border: 1px solid var(--color-border, #E5E5E5);
}
.lookbook-detail-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.lookbook-detail-placeholder { aspect-ratio: 4 / 5; }
.lookbook-detail-title { font-size: clamp(34px, 5vw, 64px); }
.lookbook-detail-description { white-space: pre-line; }
.lookbook-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.lookbook-detail-actions .btn { min-height: 44px; }
.lookbook-outfit-section {
    padding: 58px 0 32px;
    background: var(--color-bg, #F7F7F5);
}
.lookbook-section-head { margin-bottom: 26px; }
.lookbook-section-head h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.12;
    color: var(--color-text, #111);
    letter-spacing: 0;
}
.lookbook-outfit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 34px;
    align-items: start;
}
.lookbook-outfit-visual { min-width: 0; }
.lookbook-outfit-stage { overflow: visible; }
.lookbook-outfit-list {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 8px);
    padding: 16px;
}
.lookbook-piece-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lookbook-piece-list a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.lookbook-piece-list a:hover,
.lookbook-piece-list a:focus-visible {
    border-color: var(--color-primary, #111);
    background: var(--color-bg, #F7F7F5);
}
.lookbook-piece-index {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary, #111);
    color: var(--color-button-text, #fff);
    font-weight: 800;
    font-size: 13px;
}
.lookbook-piece-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lookbook-piece-name {
    font-weight: 700;
    color: var(--color-text, #111);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lookbook-piece-price {
    color: var(--color-muted, #555);
    font-size: 13px;
    font-weight: 700;
}
.lookbook-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lookbook-related-section { padding-top: 8px; }

@media (max-width: 1020px) {
    .lookbooks-grid,
    .lookbook-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lookbook-detail-hero-grid,
    .lookbook-outfit-layout {
        grid-template-columns: 1fr;
    }
    .lookbook-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .lookbooks-hero,
    .lookbook-detail-hero {
        padding-top: 30px;
    }
    .lookbooks-grid,
    .lookbook-related-grid,
    .lookbook-products-grid {
        grid-template-columns: 1fr;
    }
    .lookbook-card-body { padding: 16px; }
    .lookbook-card-title { font-size: 19px; }
    .lookbook-detail-actions {
        flex-direction: column;
    }
    .lookbook-detail-actions .btn {
        width: 100%;
        white-space: normal;
        line-height: 1.2;
        text-align: center;
    }
    .lookbooks-empty,
    .lookbook-not-found {
        padding: 30px 18px;
    }
    .lookbook-outfit-section,
    .lookbook-products-section,
    .lookbook-related-section {
        padding: 40px 0;
    }
    .lookbook-outfit-list { padding: 12px; }
}


/* ==========================================================================
   Dynamic Page / Policies
   ========================================================================== */

.page-hero {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0 2.25rem;
}

.page-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 950px;
    margin: 0 auto;
}

.page-hero-title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    line-height: 1.15;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.page-hero-subtitle {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 60ch;
    font-size: 1rem;
}

.page-section {
    padding: 3rem 0 4rem;
    background: var(--color-bg);
}

.page-section-inner {
    max-width: 950px;
    margin: 0 auto;
}

.page-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    color: var(--color-text);
    line-height: 1.75;
    font-size: 1rem;
    font-family: var(--font-main);
}

.page-content > * + * {
    margin-top: 1rem;
}

.page-content p {
    margin: 0 0 1rem;
    color: var(--color-text);
}

.page-content p:last-child {
    margin-bottom: 0;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    margin: 1.75rem 0 0.75rem;
    color: var(--color-text);
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.page-content h2:first-child,
.page-content h3:first-child,
.page-content h4:first-child {
    margin-top: 0;
}

.page-content h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); }
.page-content h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.page-content h4 { font-size: 1.1rem; }

.page-content ul,
.page-content ol {
    margin: 0 0 1rem;
    padding-inline-start: 1.5rem;
    color: var(--color-text);
}

.page-content li {
    margin-bottom: 0.35rem;
    line-height: 1.7;
}

.page-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
    transition: color 0.18s ease;
}

.page-content a:hover,
.page-content a:focus-visible {
    color: var(--color-primary);
}

.page-content strong,
.page-content b {
    color: var(--color-text);
    font-weight: 700;
}

.page-empty {
    color: var(--color-muted);
    margin: 0;
    text-align: center;
    font-style: italic;
}

.page-content-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.page-updated {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.page-back {
    align-self: center;
}

/* 404 */
.page-notfound {
    padding: 5rem 0;
    background: var(--color-bg);
}

.page-notfound-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.page-notfound-inner h1 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--color-text);
}

.page-notfound-inner p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

/* RTL */
html[dir="rtl"] .page-content ul,
html[dir="rtl"] .page-content ol {
    padding-inline-start: 1.5rem;
}

/* Responsive */
@media (max-width: 720px) {
    .page-hero {
        padding: 1.75rem 0 1.5rem;
    }

    .page-section {
        padding: 2rem 0 3rem;
    }

    .page-content-foot {
        justify-content: stretch;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .page-back {
        width: 100%;
        text-align: center;
    }
}


/* ==========================================================================
   Final Public Info Pages: FAQ, About, Contact, 404
   ========================================================================== */

.info-hero {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-surface, #fff) 92%, var(--color-accent, #C6FF00) 8%), var(--color-surface, #fff));
    border-bottom: 1px solid var(--color-border, #E5E5E5);
    padding: 42px 0 38px;
}

.info-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 980px;
}

.info-hero-title {
    margin: 0;
    color: var(--color-text, #111);
    font-family: var(--font-main, "Inter, Arial, sans-serif");
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.info-hero-subtitle {
    margin: 0;
    max-width: 700px;
    color: var(--color-muted, #555);
    font-size: 17px;
    line-height: 1.65;
}

.info-kicker {
    margin: 0 0 8px;
    color: var(--color-accent, #8AA600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.info-section {
    background: var(--color-bg, #F7F7F5);
    padding: 56px 0;
}

.info-section--compact {
    padding-top: 0;
}

.info-section-inner {
    width: 100%;
}

.info-section-inner--narrow {
    max-width: 920px;
}

.info-empty {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    padding: 34px;
    text-align: center;
}

.info-empty--compact {
    padding: 22px;
    text-align: start;
}

.info-empty p {
    margin: 0 0 18px;
    color: var(--color-muted, #555);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 68px;
    padding: 20px 22px;
    color: var(--color-text, #111);
    cursor: pointer;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    width: 18px;
    height: 2px;
    background: var(--color-primary, #111);
}

.faq-icon::after {
    transform: rotate(90deg);
    transition: transform .16s ease;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(0deg);
}

.faq-answer {
    border-top: 1px solid var(--color-border, #E5E5E5);
    padding: 20px 22px 22px;
    color: var(--color-muted, #555);
    font-size: 15px;
    line-height: 1.75;
}

/* About */
.about-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
}

.about-visual {
    overflow: hidden;
    min-height: 430px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
}

.about-visual img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.about-visual-placeholder {
    display: grid;
    min-height: 430px;
    place-items: center;
    background:
        linear-gradient(135deg, var(--color-primary, #111), color-mix(in srgb, var(--color-primary, #111) 72%, var(--color-accent, #C6FF00) 28%));
    color: var(--color-button-text, #fff);
}

.about-visual-placeholder span {
    display: inline-grid;
    width: 120px;
    height: 120px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--color-button-text, #fff) 40%, transparent);
    border-radius: 50%;
    font-size: 36px;
    font-weight: 900;
}

.about-copy {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    padding: 34px;
}

.about-copy h2 {
    margin: 0 0 16px;
    color: var(--color-text, #111);
    font-size: 30px;
    line-height: 1.2;
}

.about-text {
    color: var(--color-muted, #555);
    font-size: 16px;
    line-height: 1.8;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    min-height: 180px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    padding: 24px;
}

.value-card-mark {
    display: block;
    width: 34px;
    height: 4px;
    margin-bottom: 20px;
    background: var(--color-accent, #C6FF00);
}

.value-card h2 {
    margin: 0 0 10px;
    color: var(--color-text, #111);
    font-size: 20px;
    line-height: 1.25;
}

.value-card p {
    margin: 0;
    color: var(--color-muted, #555);
    line-height: 1.65;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-card,
.map-card,
.contact-form-card {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
}

.contact-card {
    min-height: 118px;
    padding: 20px;
}

.contact-card-label {
    margin: 0 0 8px;
    color: var(--color-muted, #555);
    font-size: 13px;
    font-weight: 700;
}

.contact-card a,
.contact-card p {
    margin: 0;
    color: var(--color-text, #111);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-card a:hover,
.contact-card a:focus-visible {
    color: var(--color-accent, #8AA600);
}

.contact-actions,
.contact-social-links,
.notfound-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-social {
    padding: 4px 0;
}

.contact-social-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    background: var(--color-surface, #fff);
    color: var(--color-text, #111);
    font-weight: 700;
}

.map-card {
    min-height: 210px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.map-card h2 {
    margin: 0;
    color: var(--color-text, #111);
    font-size: 24px;
}

.map-card p:not(.info-kicker) {
    margin: 0;
    color: var(--color-muted, #555);
    line-height: 1.65;
}

.contact-form-card {
    padding: 28px;
}

.contact-form-card h2 {
    margin: 0 0 8px;
    color: var(--color-text, #111);
    font-size: 26px;
}

.contact-form-card > div > p:not(.info-kicker) {
    margin: 0 0 22px;
    color: var(--color-muted, #555);
    line-height: 1.6;
}

.form-alert {
    margin-bottom: 16px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}

.form-alert p {
    margin: 0;
}

.form-alert p + p {
    margin-top: 6px;
}

.form-alert--success {
    border-color: color-mix(in srgb, var(--color-success, #1F9D55) 40%, var(--color-border, #E5E5E5));
    color: var(--color-success, #1F9D55);
    background: color-mix(in srgb, var(--color-success, #1F9D55) 8%, var(--color-surface, #fff));
}

.form-alert--danger {
    border-color: color-mix(in srgb, var(--color-danger, #D64545) 40%, var(--color-border, #E5E5E5));
    color: var(--color-danger, #D64545);
    background: color-mix(in srgb, var(--color-danger, #D64545) 7%, var(--color-surface, #fff));
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--color-text, #111);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: var(--radius-md, 12px);
    background: var(--color-bg, #F7F7F5);
    color: var(--color-text, #111);
    font: inherit;
    font-size: 15px;
    line-height: 1.45;
    padding: 12px 13px;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 132px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary, #111);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #C6FF00) 26%, transparent);
}

.contact-form-wide,
.contact-form-submit {
    grid-column: 1 / -1;
}

/* 404 */
.notfound-page {
    min-height: 560px;
    background:
        linear-gradient(180deg, var(--color-bg, #F7F7F5), color-mix(in srgb, var(--color-bg, #F7F7F5) 86%, var(--color-surface, #fff) 14%));
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.notfound-inner {
    max-width: 720px;
    text-align: center;
}

.notfound-code {
    margin: 0;
    color: var(--color-accent, #C6FF00);
    font-size: 112px;
    line-height: .9;
    font-weight: 900;
    text-shadow: 0 1px 0 var(--color-primary, #111);
}

.notfound-inner h1 {
    margin: 18px 0 10px;
    color: var(--color-text, #111);
    font-size: 34px;
    line-height: 1.2;
}

.notfound-message {
    margin: 0 auto 24px;
    max-width: 540px;
    color: var(--color-muted, #555);
    font-size: 17px;
    line-height: 1.65;
}

.notfound-actions {
    justify-content: center;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea {
    text-align: right;
}

@media (max-width: 980px) {
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-visual,
    .about-visual img,
    .about-visual-placeholder {
        min-height: 340px;
    }
}

@media (max-width: 700px) {
    .info-hero {
        padding: 30px 0 28px;
    }

    .info-hero-title {
        font-size: 32px;
    }

    .info-hero-subtitle {
        font-size: 15px;
    }

    .info-section {
        padding: 38px 0;
    }

    .faq-question {
        min-height: 62px;
        padding: 17px 18px;
        font-size: 16px;
    }

    .faq-answer {
        padding: 17px 18px 19px;
    }

    .about-copy,
    .contact-form-card,
    .map-card {
        padding: 22px;
    }

    .about-copy h2,
    .contact-form-card h2 {
        font-size: 24px;
    }

    .contact-card-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-actions .btn,
    .about-actions .btn,
    .notfound-actions .btn,
    .contact-form-submit {
        width: 100%;
        white-space: normal;
        line-height: 1.2;
        text-align: center;
    }

    .notfound-page {
        min-height: 480px;
        padding: 58px 0;
    }

    .notfound-code {
        font-size: 78px;
    }

    .notfound-inner h1 {
        font-size: 28px;
    }
}


/* ==========================================================================
   Product page — Marketing widgets (Batch B)
   ========================================================================== */

/* ----- Live viewers ticker ----- */
.pd-viewers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    padding: 0.35rem 0.8rem;
    background: color-mix(in srgb, var(--color-success) 12%, transparent);
    color: var(--color-success);
    border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    width: fit-content;
}

.pd-viewers-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 0 currentColor;
    animation: pd-pulse 1.8s ease-in-out infinite;
}

@keyframes pd-pulse {
    0%   { box-shadow: 0 0 0 0   color-mix(in srgb, var(--color-success) 60%, transparent); }
    70%  { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0   transparent; }
}

/* ----- Delivery chip ----- */
.pd-delivery {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0.45rem 0.85rem;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    width: fit-content;
}

.pd-delivery svg { color: var(--color-accent); flex-shrink: 0; }

/* ----- Discount pill (next to price) + subtotal line ----- */
.pd-discount-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    margin-inline-start: 0.4rem;
    background: var(--color-accent);
    color: var(--color-button-text, #fff);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pd-subtotal {
    margin: 0.4rem 0 0;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.pd-subtotal.is-hidden { display: none; }
.pd-discount-pill.is-hidden { display: none; }

/* ----- Bulk-offer ladder ----- */
.pd-bulk-offers {
    margin-top: 0.5rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)) 0%, var(--color-surface) 100%);
    border: 1px solid color-mix(in srgb, var(--color-accent) 25%, var(--color-border));
    border-radius: var(--radius-md);
}

.pd-bulk-offers-title {
    margin: 0 0 0.7rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.005em;
}

.pd-bulk-tiers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pd-bulk-tier {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.pd-bulk-tier.is-active {
    border-color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -16px color-mix(in srgb, var(--color-accent) 60%, transparent);
}

.pd-bulk-tier-badge {
    flex-shrink: 0;
    min-width: 48px;
    padding: 0.3rem 0.5rem;
    text-align: center;
    background: var(--color-accent);
    color: var(--color-button-text, #fff);
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.pd-bulk-tier-label {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ----- Share buttons ----- */
.pd-share {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
}

.pd-share-label {
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pd-share-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pd-share-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}

.pd-share-btn:hover,
.pd-share-btn:focus-visible {
    transform: translateY(-1px);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pd-share-btn--fb:hover  { background: #1877f2; color: #fff; border-color: #1877f2; }
.pd-share-btn--tw:hover  { background: #000;    color: #fff; border-color: #000; }
.pd-share-btn--pin:hover { background: #e60023; color: #fff; border-color: #e60023; }
.pd-share-btn--wa:hover  { background: #25d366; color: #fff; border-color: #25d366; }

.pd-share-copy-feedback {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.6rem;
    background: var(--color-text);
    color: var(--color-bg);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.pd-share-copy-feedback.is-visible {
    opacity: 1;
}

/* ----- Gallery zoom trigger ----- */
.pd-gallery--zoomable .pd-main-image {
    position: relative;
}

.pd-zoom-btn {
    position: absolute;
    inset-block-start: 0.75rem;
    inset-inline-end: 0.75rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
    z-index: 2;
}

.pd-zoom-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.pd-gallery--zoomable [data-product-main-image] {
    cursor: zoom-in;
}

/* ----- Lightbox ----- */
.pd-lightbox-locked { overflow: hidden; }

.pd-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-lightbox[hidden] { display: none; }

.pd-lightbox-stage {
    width: min(94vw, 1100px);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-lightbox-stage img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    user-select: none;
    border-radius: 4px;
}

.pd-lightbox-close,
.pd-lightbox-prev,
.pd-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .15s ease;
}

.pd-lightbox-close { top: 1.25rem; right: 1.25rem; }
.pd-lightbox-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.pd-lightbox-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }

.pd-lightbox-close:hover,
.pd-lightbox-prev:hover,
.pd-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
}

.pd-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.pd-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.pd-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* RTL nudges */
html[dir="rtl"] .pd-lightbox-prev,
html[dir="rtl"] .pd-lightbox-next {
    transform: translateY(-50%) scaleX(-1);
}
html[dir="rtl"] .pd-lightbox-prev:hover,
html[dir="rtl"] .pd-lightbox-next:hover {
    transform: translateY(-50%) scaleX(-1) scale(1.05);
}

/* Responsive */
@media (max-width: 720px) {
    .pd-lightbox-close { top: 0.75rem; right: 0.75rem; }
    .pd-lightbox-prev  { left: 0.5rem; }
    .pd-lightbox-next  { right: 0.5rem; }
    .pd-bulk-offers { padding: 0.85rem; }
    .pd-bulk-tier   { padding: 0.5rem 0.6rem; gap: 0.5rem; }
    .pd-bulk-tier-badge { min-width: 42px; font-size: 0.72rem; }
}


/* ==========================================================================
   Product page — Reviews (Batch C)
   ========================================================================== */

/* ----- Inline rating summary (under title) ----- */
.pd-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.25rem 0 0;
    padding: 0.3rem 0.6rem 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.88rem;
    transition: border-color .18s ease, transform .18s ease;
    width: fit-content;
}

.pd-rating-summary:hover { border-color: var(--color-accent); transform: translateY(-1px); }

.pd-rating-text { display: inline-flex; align-items: center; gap: 0.35rem; }
.pd-rating-text strong { color: var(--color-text); }
.pd-rating-divider { color: var(--color-muted); }

/* ----- Star icons ----- */
.pd-stars {
    display: inline-flex;
    gap: 1px;
    line-height: 1;
}

.pd-star {
    color: var(--color-border);
    font-size: 1rem;
    line-height: 1;
}

.pd-star.is-on { color: #f5a623; }

.pd-stars--lg .pd-star { font-size: 1.5rem; }

/* ==========================================================================
   Product page — Reviews section
   ========================================================================== */

.pd-reviews-section {
    padding: 3rem 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.pd-reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.pd-reviews-title {
    margin: 0;
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.pd-reviews-subtitle {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

/* Flash messages */
.pd-review-flash {
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}
.pd-review-flash--success {
    background: color-mix(in srgb, var(--color-success) 12%, transparent);
    color: var(--color-success);
    border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent);
}
.pd-review-flash--error {
    background: color-mix(in srgb, var(--color-danger) 12%, transparent);
    color: var(--color-danger);
    border: 1px solid color-mix(in srgb, var(--color-danger) 30%, transparent);
}

/* Grid: sidebar summary + main list */
.pd-reviews-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 880px) {
    .pd-reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ----- Summary card (sidebar) ----- */
.pd-reviews-summary-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 1.5rem;
}

@media (max-width: 880px) {
    .pd-reviews-summary-card { position: static; }
}

.pd-reviews-summary-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.pd-reviews-avg-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.pd-reviews-avg-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pd-reviews-avg-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pd-reviews-avg-of {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Breakdown bars */
.pd-reviews-breakdown {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pd-reviews-bar-row {
    display: grid;
    grid-template-columns: 36px 1fr 32px;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.pd-reviews-bar-label {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.85rem;
}

.pd-reviews-bar {
    height: 8px;
    background: var(--color-bg);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.pd-reviews-bar-fill {
    display: block;
    height: 100%;
    background: #f5a623;
    width: 0;
    border-radius: 999px;
    transition: width .35s ease;
}

.pd-reviews-bar-count {
    text-align: end;
    color: var(--color-text);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pd-reviews-write-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

/* Empty states */
.pd-reviews-empty {
    margin: 0;
    color: var(--color-muted);
    font-style: italic;
    text-align: center;
}

.pd-reviews-empty-block {
    background: var(--color-surface);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
}

/* ----- Reviews list (main) ----- */
.pd-reviews-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.pd-reviews-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.pd-review {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pd-review:hover {
    border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
    box-shadow: 0 6px 18px -14px rgba(0, 0, 0, 0.25);
}

.pd-review-head {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 0.875rem;
    align-items: start;
    margin-bottom: 0.75rem;
}

.pd-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    align-self: center;
}

.pd-review-avatar--initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.15rem;
}

.pd-review-head-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pd-review-name {
    margin: 0;
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.98rem;
    line-height: 1.2;
}

.pd-review-stars {
    margin: 0;
    line-height: 1;
}

.pd-review-stars .pd-star {
    font-size: 0.95rem;
}

.pd-review-date {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    align-self: center;
}

.pd-review-comment {
    margin: 0;
    color: var(--color-text);
    line-height: 1.65;
    font-size: 0.94rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

@media (max-width: 560px) {
    .pd-review { padding: 1rem 1.1rem; }
    .pd-review-head {
        grid-template-columns: 40px 1fr;
        gap: 0.75rem;
    }
    .pd-review-date {
        grid-column: 2;
        align-self: start;
        margin-top: 0.15rem;
    }
}

/* Pagination */
.pd-reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.pd-reviews-page-info {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ----- Submission form (full width below the grid) ----- */
.pd-review-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-top: 2rem;
}

@media (max-width: 560px) {
    .pd-review-form { padding: 1.25rem; }
}

.pd-review-form-head {
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.pd-review-form-title {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text);
}

.pd-review-form-subtitle {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.pd-review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.pd-review-form-grid .pd-review-stars-picker { grid-column: 1 / -1; }
.pd-review-form-grid .pd-review-form-name    { grid-column: 1; }
.pd-review-form-grid .pd-review-form-comment { grid-column: 1 / -1; }

@media (max-width: 720px) {
    .pd-review-form-grid { grid-template-columns: 1fr; }
}

.pd-review-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
}

.pd-review-form .form-group .form-label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
}

.pd-review-form .form-group input,
.pd-review-form .form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    border-radius: var(--radius-md);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pd-review-form .form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
}

.pd-review-form .form-group input:focus,
.pd-review-form .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.pd-review-form-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 560px) {
    .pd-review-form-actions { justify-content: stretch; }
    .pd-review-form-actions .btn { width: 100%; }
}

.pd-required { color: var(--color-danger); margin-inline-start: 2px; }

/* ----- Star picker (5→1 in DOM, displayed left-to-right; uses sibling combinator on row-reverse layout) ----- */
.pd-review-stars-picker {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pd-review-stars-picker legend {
    padding: 0;
    margin: 0;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
}

.pd-review-stars-row {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
    padding: 0.35rem 0;
}

.pd-review-star-label {
    cursor: pointer;
    position: relative;
    line-height: 1;
}

.pd-review-star-label input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.pd-review-star {
    display: inline-block;
    font-size: 2rem;
    color: var(--color-border);
    transition: color .12s ease, transform .1s ease;
    line-height: 1;
}

.pd-review-star-label:hover .pd-review-star {
    transform: scale(1.08);
}

/* Highlight selected star + every later sibling in DOM (= visually earlier under row-reverse). */
.pd-review-stars-row:hover .pd-review-star-label .pd-review-star,
.pd-review-stars-row .pd-review-star-label:has(input:checked) ~ .pd-review-star-label .pd-review-star {
    color: var(--color-border);
}

.pd-review-stars-row .pd-review-star-label:hover .pd-review-star,
.pd-review-stars-row .pd-review-star-label:hover ~ .pd-review-star-label .pd-review-star,
.pd-review-stars-row .pd-review-star-label:has(input:checked) .pd-review-star,
.pd-review-stars-row .pd-review-star-label:has(input:checked) ~ .pd-review-star-label .pd-review-star {
    color: #f5a623;
}

.pd-review-star-label input:focus-visible + .pd-review-star {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Honeypot — hide visually and from tab order */
.pd-review-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pd-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* RTL: stars are 5→1 in DOM with row-reverse → visually 1→5 LTR.
   For RTL pages we want visually 5→1 from the start-edge, so use natural row. */
html[dir="rtl"] .pd-review-stars-row { flex-direction: row; }


/* ==========================================================================
   Product page — Amazon-style hover zoom
   ========================================================================== */

/* The main image wrapper must not clip the lens, and the result panel needs
   it as a positioning ancestor (already position:relative from gallery CSS). */
.pd-gallery--zoomable .pd-main-image {
    overflow: visible;
}

/* Square lens overlay following the cursor inside the image */
.pd-zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(110px, 28%, 200px);
    height: clamp(110px, 28%, 200px);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    pointer-events: none;          /* mouse events pass through to the image */
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease;
    z-index: 3;
}

/* Magnified result panel: floats to the right of the image while hovering */
.pd-zoom-result {
    position: absolute;
    top: 0;
    inset-inline-start: calc(100% + 1rem);
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    background-repeat: no-repeat;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 48px -22px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .12s ease;
    z-index: 4;
}

/* Active state — added by JS on mouseenter */
.pd-main-image.is-zooming .pd-zoom-lens,
.pd-main-image.is-zooming .pd-zoom-result {
    opacity: 1;
    visibility: visible;
}

/* Hide the redundant zoom button while hover-zooming (visual noise) */
.pd-main-image.is-zooming .pd-zoom-btn {
    opacity: 0;
    pointer-events: none;
}

/* On touch / coarse-pointer devices, suppress the lens entirely — the
   lightbox via the zoom button is the only zoom path for those users. */
@media (hover: none), (pointer: coarse) {
    .pd-zoom-lens,
    .pd-zoom-result { display: none; }
}

/* On screens too narrow to fit a side panel, drop hover zoom and keep just
   the lightbox. 880px is where the gallery+info layout collapses. */
@media (max-width: 880px) {
    .pd-zoom-lens,
    .pd-zoom-result { display: none; }
}

/* RTL: anchor the panel to the LEFT of the image instead of the right.
   `inset-inline-start` already does this via logical properties, but make
   sure the negative offset works visually too. */
html[dir="rtl"] .pd-zoom-result {
    inset-inline-start: auto;
    inset-inline-end: calc(100% + 1rem);
}
