/* =========================================================
   Theme 4 — Classic Health & Beauty Shell
   Botanical spa / apothecary — calm, editorial, premium
   ========================================================= */

body[class*="theme4-v"] {
    --beauty-ink: #14241c;
    --beauty-ink-soft: #2a3d32;
    --beauty-mist: #f3f6f4;
    --beauty-surface: #ffffff;
    --beauty-line: rgba(20, 36, 28, 0.12);
    --beauty-muted: #5c6b62;
    --beauty-champagne: #b89b6a;
    --beauty-accent: var(--theme-color, #5f8f68);
    --beauty-accent-deep: color-mix(in srgb, var(--beauty-accent) 72%, #14241c);
    --beauty-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --beauty-sans: 'Manrope', system-ui, sans-serif;
    --beauty-max: 1240px;
    --beauty-ease: cubic-bezier(0.22, 1, 0.36, 1);

    background: var(--beauty-mist);
    color: var(--beauty-ink);
    font-family: var(--beauty-sans);
    -webkit-font-smoothing: antialiased;
}

/* Soft botanical wash behind the page */
body[class*="theme4-v"]::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, color-mix(in srgb, var(--beauty-accent) 14%, transparent), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 20%, color-mix(in srgb, var(--beauty-champagne) 10%, transparent), transparent 55%),
        linear-gradient(180deg, #eef3ef 0%, var(--beauty-mist) 28%, #f7f8f6 100%);
}

.beauty-shell {
    background: transparent;
    color: var(--beauty-ink);
    font-family: var(--beauty-sans);
}

.beauty-shell h1,
.beauty-shell h2,
.beauty-shell h3,
.beauty-shell h4,
.beauty-shell h5,
.beauty-shell h6 {
    color: var(--beauty-ink) !important;
    font-family: var(--beauty-serif);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.beauty-shell .wrapper,
.beauty-shell .main-wrapper,
.beauty-shell .main-left-col {
    background: transparent !important;
}

.beauty-shell .wrapper {
    max-width: 100%;
    padding: 0;
}

/* ─── Header ─── */
body[class*="theme4-v"] .beauty-shell .site-header,
body[class*="theme4-v"] .site-header.theme4-header {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: none !important;
    border-bottom: 1px solid var(--beauty-line) !important;
}

body[class*="theme4-v"] .beauty-shell .site-header .header-container,
body[class*="theme4-v"] .theme4-header .header-container {
    max-width: var(--beauty-max) !important;
    padding: 16px 24px !important;
}

body[class*="theme4-v"] .header-text-logo {
    font-family: var(--beauty-serif) !important;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem) !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--beauty-ink) !important;
}

body[class*="theme4-v"] .header-logo__img {
    max-height: 46px !important;
    width: auto !important;
}

body[class*="theme4-v"] .header-icon-btn,
body[class*="theme4-v"] .nav-drawer-toggle {
    color: var(--beauty-ink) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 0 !important;
    transition: color 0.25s var(--beauty-ease), background 0.25s var(--beauty-ease);
}

body[class*="theme4-v"] .header-icon-btn:hover,
body[class*="theme4-v"] .nav-drawer-toggle:hover {
    background: var(--beauty-mist) !important;
    color: var(--beauty-accent-deep) !important;
}

body[class*="theme4-v"] .header-search-row {
    display: none !important;
}

/* Ensure drawer is a solid full-height panel (outside sticky header) */
body[class*="theme4-v"] .nav-drawer {
    background: #ffffff !important;
    color: var(--beauty-ink);
}

body[class*="theme4-v"] .nav-drawer-overlay.is-open {
    background: rgba(20, 36, 28, 0.42);
}

/* Desktop: logo left · menus/categories center · actions right */
@media (min-width: 992px) {
    body[class*="theme4-v"] .site-header.theme4-header .header-container--primary {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 20px 28px !important;
        padding: 18px 28px !important;
    }

    body[class*="theme4-v"] .site-header.theme4-header .nav-drawer-toggle {
        display: none !important;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-container--primary .header-logo {
        grid-column: 1 !important;
        justify-self: start !important;
        width: auto !important;
        max-width: none !important;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-container--primary .header-logo__link {
        justify-content: flex-start !important;
        margin: 0 !important;
        max-width: none !important;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-logo__img {
        max-height: 52px !important;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav {
        display: flex !important;
        grid-column: 2;
        justify-self: center;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__list {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0.15rem 1.15rem;
        margin: 0;
        padding: 0 4px;
        list-style: none;
        max-width: 100%;
        overflow: visible;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__list > li {
        flex: 0 0 auto;
        position: relative;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__link {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0;
        color: var(--beauty-ink-soft);
        font-family: var(--beauty-sans);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.11em;
        line-height: 1.2;
        text-decoration: none;
        text-transform: uppercase;
        white-space: nowrap;
        border: none;
        border-bottom: 1px solid transparent;
        background: transparent;
        cursor: pointer;
        transition: color 0.25s var(--beauty-ease), border-color 0.25s var(--beauty-ease);
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__link:hover,
    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__link:focus-visible {
        color: var(--beauty-accent-deep);
        border-bottom-color: color-mix(in srgb, var(--beauty-accent) 55%, transparent);
        outline: none;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__link.is-active,
    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more.is-active > .header-desktop-nav__more-toggle {
        color: var(--beauty-ink);
        border-bottom-color: var(--beauty-accent);
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more-caret {
        display: block;
        flex-shrink: 0;
        transition: transform 0.2s var(--beauty-ease);
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more.is-open .header-desktop-nav__more-caret {
        transform: rotate(180deg);
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%);
        min-width: 220px;
        margin: 0;
        padding: 8px 0;
        list-style: none;
        background: #fff;
        border: 1px solid var(--beauty-line);
        box-shadow: 0 16px 40px rgba(20, 36, 28, 0.12);
        z-index: 120;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more-menu[hidden] {
        display: none !important;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more-link {
        display: block;
        padding: 10px 18px;
        color: var(--beauty-ink-soft);
        font-family: var(--beauty-sans);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-decoration: none;
        text-transform: uppercase;
        white-space: nowrap;
        transition: background 0.2s var(--beauty-ease), color 0.2s var(--beauty-ease);
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more-link:hover,
    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more-link:focus-visible,
    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav__more-link.is-active {
        background: var(--beauty-mist);
        color: var(--beauty-ink);
        outline: none;
    }

    body[class*="theme4-v"] .site-header.theme4-header .header-container--primary .header-actions {
        grid-column: 3 !important;
        justify-self: end !important;
        gap: 4px !important;
    }
}

/* Mobile / tablet: keep hamburger + centered logo; hide desktop nav */
@media (max-width: 991px) {
    body[class*="theme4-v"] .site-header.theme4-header .header-desktop-nav {
        display: none !important;
    }
}

/* ─── Hero (homepage banner) ─── */
@keyframes beautyKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes beautyRise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Theme4 dedicated hero partial — always centered */
body[class*="theme4-v"] .beauty-hero-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
}

body[class*="theme4-v"] .beauty-hero {
    position: relative;
    width: 100%;
    min-height: clamp(460px, 78vh, 720px) !important;
    padding: 72px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    background:
        linear-gradient(160deg, #15251c 0%, #1f3328 45%, #2d4637 100%);
    background-size: cover;
}

body[class*="theme4-v"] .beauty-hero.has-banner-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--beauty-banner-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: beautyKenBurns 28s var(--beauty-ease) infinite alternate;
    will-change: transform;
    z-index: 0;
}

body[class*="theme4-v"] .beauty-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(12, 22, 17, 0.45) 0%, rgba(12, 22, 17, 0.35) 45%, rgba(12, 22, 17, 0.55) 100%);
}

body[class*="theme4-v"] .beauty-hero__wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--beauty-max);
    margin: 0 auto;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

body[class*="theme4-v"] .beauty-hero__content {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    margin: 0 auto !important;
    text-align: center !important;
}

body[class*="theme4-v"] .beauty-hero .banner-brand,
body[class*="theme4-v"] .beauty-hero .banner-title,
body[class*="theme4-v"] .beauty-hero .banner-tagline {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body[class*="theme4-v"] .beauty-hero .hero-cta-btn {
    margin-left: auto;
    margin-right: auto;
}

body[class*="theme4-v"] .welcome-banner {
    min-height: clamp(460px, 78vh, 720px) !important;
    max-height: none !important;
    padding: 72px 24px !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        linear-gradient(160deg, #15251c 0%, #1f3328 45%, #2d4637 100%) !important;
    background-size: cover !important;
}

body[class*="theme4-v"] .welcome-banner.has-banner-image {
    background-image: none !important;
}

body[class*="theme4-v"] .welcome-banner.has-banner-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--beauty-banner-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: beautyKenBurns 28s var(--beauty-ease) infinite alternate;
    will-change: transform;
    z-index: 0;
}

body[class*="theme4-v"] .welcome-banner .banner-overlay {
    z-index: 1 !important;
    background:
        linear-gradient(to bottom, rgba(12, 22, 17, 0.45) 0%, rgba(12, 22, 17, 0.35) 45%, rgba(12, 22, 17, 0.55) 100%) !important;
}

body[class*="theme4-v"] .decoration-dot,
body[class*="theme4-v"] .banner-address-box {
    display: none !important;
}

body[class*="theme4-v"] .banner-content {
    position: relative;
    z-index: 2;
    text-align: center !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    width: min(720px, 100%) !important;
    padding-bottom: 0;
}

body[class*="theme4-v"] .welcome-banner-section .banner-content-wrap {
    width: 100%;
    max-width: var(--beauty-max);
    margin: 0 auto;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

body[class*="theme4-v"] .banner-brand {
    display: block;
    margin: 0 0 18px;
    font-family: var(--beauty-serif);
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: #fff;
    text-align: center;
    animation: beautyRise 900ms var(--beauty-ease) both;
}

body[class*="theme4-v"] .banner-title {
    font-family: var(--beauty-serif) !important;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem) !important;
    font-weight: 500 !important;
    font-style: italic !important;
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: none !important;
    letter-spacing: 0.01em !important;
    margin: 0 auto 14px !important;
    line-height: 1.25 !important;
    max-width: 28ch;
    text-align: center !important;
    animation: beautyRise 900ms var(--beauty-ease) both;
    animation-delay: 120ms;
}

body[class*="theme4-v"] .banner-tagline {
    font-family: var(--beauty-sans) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    text-shadow: none !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    margin: 0 auto 28px !important;
    max-width: 40ch;
    line-height: 1.55 !important;
    text-align: center !important;
    animation: beautyRise 900ms var(--beauty-ease) both;
    animation-delay: 220ms;
}

body[class*="theme4-v"] .hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 34px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    color: var(--beauty-ink) !important;
    font-family: var(--beauty-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 0;
    transition: background 0.35s var(--beauty-ease), color 0.35s var(--beauty-ease), transform 0.35s var(--beauty-ease);
    animation: beautyRise 900ms var(--beauty-ease) both;
    animation-delay: 320ms;
}

body[class*="theme4-v"] .hero-cta-btn:hover {
    background: transparent !important;
    color: #fff !important;
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    body[class*="theme4-v"] .welcome-banner.has-banner-image::before,
    body[class*="theme4-v"] .banner-brand,
    body[class*="theme4-v"] .banner-title,
    body[class*="theme4-v"] .banner-tagline,
    body[class*="theme4-v"] .hero-cta-btn {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── Homepage video ─── */
body[class*="theme4-v"] .storefront-video-section {
    padding: 40px 24px 12px;
    max-width: var(--beauty-max);
}

body[class*="theme4-v"] .storefront-video-section__frame {
    border-radius: 2px;
    background: #e6ebe7;
}

/* ─── Shop by category (showcase) ─── */
body[class*="theme4-v"] .home-showcase--theme4 {
    padding: 56px 20px 20px;
}

body[class*="theme4-v"] .home-showcase--theme4 .home-showcase__inner {
    max-width: var(--beauty-max);
}

body[class*="theme4-v"] .home-showcase--theme4 .home-showcase__eyebrow {
    margin: 0 0 8px;
    font-family: var(--beauty-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--beauty-muted);
}

body[class*="theme4-v"] .home-showcase--theme4 .home-showcase__heading {
    margin: 0 0 28px;
    font-family: var(--beauty-serif);
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 500;
    color: var(--beauty-ink);
    letter-spacing: 0;
}

body[class*="theme4-v"] .home-showcase--theme4 .home-showcase__scroll--orbs {
    gap: 22px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

body[class*="theme4-v"] .home-showcase-orb {
    width: 118px;
    gap: 12px;
}

body[class*="theme4-v"] .home-showcase-orb__circle {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 1px solid var(--beauty-line);
    box-shadow: none;
    background: var(--beauty-surface);
    overflow: hidden;
    transition: transform 0.45s var(--beauty-ease), border-color 0.35s ease;
}

body[class*="theme4-v"] .home-showcase-orb:hover .home-showcase-orb__circle {
    transform: translateY(-4px) scale(1.03);
    border-color: color-mix(in srgb, var(--beauty-accent) 55%, var(--beauty-line));
}

body[class*="theme4-v"] .home-showcase-orb__circle img {
    transition: transform 0.7s var(--beauty-ease);
}

body[class*="theme4-v"] .home-showcase-orb:hover .home-showcase-orb__circle img {
    transform: scale(1.08);
}

body[class*="theme4-v"] .home-showcase-orb__name {
    font-family: var(--beauty-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--beauty-ink-soft);
}

/* Featured / bestseller — editorial strip, not a gray card */
body[class*="theme4-v"] .home-showcase-spotlight {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 0;
    margin-top: 36px;
    padding: 0;
    border-radius: 0;
    background: var(--beauty-surface);
    border: 1px solid var(--beauty-line);
    overflow: hidden;
    align-items: stretch;
    transition: border-color 0.35s ease, transform 0.45s var(--beauty-ease);
}

body[class*="theme4-v"] .home-showcase-spotlight:hover {
    border-color: color-mix(in srgb, var(--beauty-accent) 40%, var(--beauty-line));
    transform: translateY(-2px);
}

body[class*="theme4-v"] .home-showcase-spotlight__ribbon {
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 0;
    background: var(--beauty-ink);
    color: #fff;
    font-family: var(--beauty-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body[class*="theme4-v"] .home-showcase-spotlight__image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border-radius: 0;
    object-fit: cover;
    background: var(--beauty-mist);
}

body[class*="theme4-v"] .home-showcase-spotlight__copy {
    padding: 28px 28px 28px 32px;
    justify-content: center;
    gap: 10px;
}

body[class*="theme4-v"] .home-showcase-spotlight__copy strong {
    font-family: var(--beauty-serif);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 500;
    color: var(--beauty-ink);
}

body[class*="theme4-v"] .home-showcase-spotlight__copy span {
    font-family: var(--beauty-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--beauty-accent-deep);
    letter-spacing: 0.02em;
}

body[class*="theme4-v"] .home-showcase-spotlight__copy em {
    font-family: var(--beauty-sans);
    font-size: 12px;
    color: var(--beauty-muted);
    letter-spacing: 0.04em;
}

/* ─── Sticky category pills ─── */
body[class*="theme4-v"] .category-navigation-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0 4px !important;
}

body[class*="theme4-v"] .category-pill {
    border-radius: 0 !important;
    border: 1px solid var(--beauty-line) !important;
    background: var(--beauty-surface) !important;
    color: var(--beauty-ink) !important;
    font-family: var(--beauty-sans) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 10px 16px !important;
}

body[class*="theme4-v"] .category-pill.active,
body[class*="theme4-v"] .category-pill:hover {
    background: var(--beauty-ink) !important;
    border-color: var(--beauty-ink) !important;
    color: #fff !important;
}

/* ─── Product category sections ─── */
body[class*="theme4-v"] .products-section {
    background: transparent;
    padding: 8px 0 48px;
}

body[class*="theme4-v"] .store-home-categories--theme4 .store-home-category {
    max-width: var(--beauty-max);
    padding: 48px 20px 20px;
    border-top: 1px solid var(--beauty-line);
}

body[class*="theme4-v"] .store-home-categories--theme4 .store-home-category:first-child {
    border-top: none;
}

body[class*="theme4-v"] .store-home-categories--theme4 .store-home-category__eyebrow {
    font-family: var(--beauty-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--beauty-muted);
    opacity: 1;
    margin-bottom: 8px;
}

body[class*="theme4-v"] .store-home-categories--theme4 .store-home-category__title {
    font-family: var(--beauty-serif);
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 500;
    text-transform: none;
    color: var(--beauty-ink) !important;
    letter-spacing: 0;
}

body[class*="theme4-v"] .store-home-category__view-all--theme4 {
    padding: 0 0 4px;
    border: none;
    border-bottom: 1px solid var(--beauty-ink);
    border-radius: 0;
    background: transparent;
    color: var(--beauty-ink);
    font-family: var(--beauty-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body[class*="theme4-v"] .store-home-category__view-all--theme4:hover {
    background: transparent;
    color: var(--beauty-accent-deep);
    border-bottom-color: var(--beauty-accent-deep);
}

/* Catalog cards — quiet, product-first */
body[class*="theme4-v"] .store-featured-grid {
    gap: 20px 16px;
    align-items: stretch;
}

body[class*="theme4-v"] .store-catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

body[class*="theme4-v"] .store-catalog-card__image {
    position: relative;
    aspect-ratio: 4 / 5;
    flex: 0 0 auto;
    background: var(--beauty-surface);
    border: 1px solid var(--beauty-line);
    overflow: hidden;
    border-radius: 0;
}

body[class*="theme4-v"] .store-catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--beauty-ease);
}

body[class*="theme4-v"] .store-catalog-card:hover .store-catalog-card__image img {
    transform: scale(1.05);
}

body[class*="theme4-v"] .store-catalog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 2px 6px;
    min-height: 0;
}

body[class*="theme4-v"] .store-catalog-card__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.3em * 2);
    font-family: var(--beauty-serif);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--beauty-ink);
    margin: 0 0 6px;
}

body[class*="theme4-v"] .store-catalog-card__name a {
    color: inherit;
    text-decoration: none;
}

body[class*="theme4-v"] .store-catalog-card__price {
    min-height: 1.4em;
    font-family: var(--beauty-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--beauty-accent-deep);
}

/* Add to Basket / Select Options on catalog tiles */
body[class*="theme4-v"] .store-catalog-card__footer {
    margin-top: auto;
    padding-top: 12px;
}

body[class*="theme4-v"] .store-catalog-card__footer .cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    background: transparent !important;
    color: var(--beauty-ink) !important;
    font-family: var(--beauty-sans);
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--beauty-ink-soft) !important;
    border-radius: 0 !important;
    transition: background 0.3s var(--beauty-ease), color 0.3s var(--beauty-ease), border-color 0.3s var(--beauty-ease);
}

body[class*="theme4-v"] .store-catalog-card__footer .cart-btn:hover,
body[class*="theme4-v"] .store-catalog-card__footer .cart-btn:focus-visible {
    background: var(--beauty-ink) !important;
    color: #fff !important;
    border-color: var(--beauty-ink) !important;
    outline: none;
}

body[class*="theme4-v"] .store-catalog-card__footer .storefront-stock-oos-btn,
body[class*="theme4-v"] .store-catalog-card__footer .cart-btn.is-out-of-stock {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
    cursor: not-allowed;
}

/* Legacy product cards (grid/list pages) */
body[class*="theme4-v"] .product-card,
body[class*="theme4-v"] .product-card-inner {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body[class*="theme4-v"] .product-card-image {
    border: 1px solid var(--beauty-line);
    border-radius: 0 !important;
    overflow: hidden;
    background: var(--beauty-surface);
}

body[class*="theme4-v"] .product-content h3,
body[class*="theme4-v"] .product-content .product-title {
    font-family: var(--beauty-serif) !important;
    font-weight: 500 !important;
    color: var(--beauty-ink) !important;
}

body[class*="theme4-v"] .cart-btn {
    border-radius: 0 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* Stock badge — quiet apothecary label */
body[class*="theme4-v"] .product-stock-badge--theme4 {
    border-radius: 0 !important;
    letter-spacing: 0.08em;
}

/* FAQs — light surface */
body[class*="theme4-v"] .vendor-faqs-section {
    background: var(--beauty-surface) !important;
    border-top: 1px solid var(--beauty-line);
}

/* Footer — deep botanical, light text (classic apothecary) */
body[class*="theme4-v"] .site-footer,
body[class*="theme4-v"] .store-footer-extended,
body[class*="theme4-v"] .main-wrapper > .site-footer,
body[class*="theme4-v"] footer.site-footer {
    background: linear-gradient(165deg, #15251c 0%, #1b2f24 55%, #23392c 100%) !important;
    border-top: none !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

/* Headings */
body[class*="theme4-v"] .site-footer .footer-section-title,
body[class*="theme4-v"] .site-footer h4,
body[class*="theme4-v"] .site-footer h5 {
    font-family: var(--beauty-serif) !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em;
    color: #ffffff !important;
}

/* Body copy, list items, links */
body[class*="theme4-v"] .site-footer,
body[class*="theme4-v"] .site-footer p,
body[class*="theme4-v"] .site-footer li,
body[class*="theme4-v"] .site-footer span,
body[class*="theme4-v"] .site-footer .footer-about-text,
body[class*="theme4-v"] .site-footer .footer-contact-col p,
body[class*="theme4-v"] .site-footer .footer-copy,
body[class*="theme4-v"] .site-footer .footer-bottom {
    color: rgba(255, 255, 255, 0.72) !important;
}

body[class*="theme4-v"] .site-footer a,
body[class*="theme4-v"] .site-footer .footer-menu-col a,
body[class*="theme4-v"] .site-footer .footer-contact-col a {
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none;
    transition: color 0.25s var(--beauty-ease);
}

body[class*="theme4-v"] .site-footer a:hover,
body[class*="theme4-v"] .site-footer .footer-menu-col a:hover,
body[class*="theme4-v"] .site-footer .footer-contact-col a:hover {
    color: #ffffff !important;
}

body[class*="theme4-v"] .site-footer .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Newsletter / subscribe field */
body[class*="theme4-v"] .site-footer input[type="email"],
body[class*="theme4-v"] .site-footer input[type="text"] {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    border-radius: 0 !important;
}

body[class*="theme4-v"] .site-footer input[type="email"]::placeholder,
body[class*="theme4-v"] .site-footer input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

body[class*="theme4-v"] .site-footer button,
body[class*="theme4-v"] .site-footer .btn {
    border-radius: 0 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Divider lines within footer */
body[class*="theme4-v"] .site-footer hr,
body[class*="theme4-v"] .site-footer .footer-bottom {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    body[class*="theme4-v"] .welcome-banner {
        min-height: clamp(420px, 78vh, 560px) !important;
        padding: 56px 20px 40px !important;
        align-items: center !important;
    }

    body[class*="theme4-v"] .banner-content {
        text-align: center !important;
    }

    body[class*="theme4-v"] .home-showcase-orb {
        width: 96px;
    }

    body[class*="theme4-v"] .home-showcase-orb__circle {
        width: 84px;
        height: 84px;
    }

    body[class*="theme4-v"] .home-showcase-spotlight {
        grid-template-columns: 1fr;
    }

    body[class*="theme4-v"] .home-showcase-spotlight__image {
        min-height: 200px;
        max-height: 240px;
    }

    body[class*="theme4-v"] .home-showcase-spotlight__copy {
        padding: 20px;
    }

    body[class*="theme4-v"] .store-home-categories--theme4 .store-home-category {
        padding: 36px 16px 12px;
    }
}

@media (max-width: 480px) {
    body[class*="theme4-v"] .banner-brand {
        font-size: 2.35rem;
    }

    body[class*="theme4-v"] .hero-cta-btn {
        width: 100%;
        max-width: 280px;
    }
}
