/*
 * Home 2 — Neutral Luxury Aesthetic
 * Warm minimalism · Editorial · Unisex
 * ============================================
 * A completely distinct visual language from the main dark/tech homepage.
 * Designed for phone cases, accessories, and lifestyle products — for everyone.
 */

/* ===== GOOGLE FONTS — Distinctive typographic pairing ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
.h2-main {
    /* Palette — warm stone / sand neutrals */
    --h2-bg: #F8F6F3;
    --h2-bg-warm: #F0EDE8;
    --h2-bg-card: #FFFFFF;
    --h2-bg-card-alt: #F5F2EE;

    /* Accent — warm copper / espresso (unisex) */
    --h2-accent: #8B6E4E;
    --h2-accent-soft: rgba(139, 110, 78, 0.10);
    --h2-accent-glow: rgba(139, 110, 78, 0.22);
    --h2-accent-dark: #6E5638;
    --h2-accent-gradient: linear-gradient(135deg, #A68B6B 0%, #8B6E4E 50%, #6E5638 100%);

    /* Secondary accents */
    --h2-sage: #8B9A7B;
    --h2-slate: #7A8B8C;
    --h2-stone: #A09080;
    --h2-charcoal: #5C5C5C;

    /* Text */
    --h2-text: #1E1E1E;
    --h2-text-soft: #5A5550;
    --h2-text-muted: #9A9590;
    --h2-text-light: #FFFFFF;

    /* Borders & Glass */
    --h2-border: rgba(0, 0, 0, 0.07);
    --h2-border-hover: rgba(0, 0, 0, 0.14);
    --h2-glass: rgba(248, 246, 243, 0.88);

    /* Shadows */
    --h2-shadow-sm: 0 2px 8px rgba(30, 30, 30, 0.04);
    --h2-shadow-md: 0 8px 30px rgba(30, 30, 30, 0.07);
    --h2-shadow-lg: 0 20px 60px rgba(30, 30, 30, 0.10);
    --h2-shadow-glow: 0 12px 40px var(--h2-accent-glow);

    /* Radii */
    --h2-radius-sm: 12px;
    --h2-radius-md: 20px;
    --h2-radius-lg: 28px;
    --h2-radius-xl: 40px;

    /* Fonts */
    --h2-font-display: 'Cormorant Garamond', 'Georgia', serif;
    --h2-font-body: 'Outfit', 'DM Sans', -apple-system, sans-serif;

    /* Timing */
    --h2-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --h2-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ===== DARK THEME OVERRIDES ===== */
[data-theme="dark"] .h2-main {
    --h2-bg: #131210;
    --h2-bg-warm: #1A1816;
    --h2-bg-card: #1C1A18;
    --h2-bg-card-alt: #22201D;

    --h2-accent: #B8976A;
    --h2-accent-soft: rgba(184, 151, 106, 0.10);
    --h2-accent-glow: rgba(184, 151, 106, 0.16);
    --h2-accent-dark: #D0B088;

    --h2-text: #EDEBE8;
    --h2-text-soft: #A09A95;
    --h2-text-muted: #605B56;

    --h2-border: rgba(255, 255, 255, 0.06);
    --h2-border-hover: rgba(255, 255, 255, 0.13);
    --h2-glass: rgba(19, 18, 16, 0.92);

    --h2-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --h2-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --h2-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ===== BASE ===== */
.h2-main {
    background-color: var(--h2-bg);
    color: var(--h2-text);
    font-family: var(--h2-font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.h2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== REVEAL ANIMATIONS ===== */
.h2-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--h2-ease), transform 0.9s var(--h2-ease);
}

.h2-reveal.h2-visible {
    opacity: 1;
    transform: translateY(0);
}

.h2-stagger .h2-reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.h2-stagger .h2-reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.h2-stagger .h2-reveal:nth-child(3) {
    transition-delay: 0.19s;
}

.h2-stagger .h2-reveal:nth-child(4) {
    transition-delay: 0.26s;
}

.h2-stagger .h2-reveal:nth-child(5) {
    transition-delay: 0.33s;
}

.h2-stagger .h2-reveal:nth-child(6) {
    transition-delay: 0.40s;
}

/* ===== SECTION INTRO ===== */
.h2-label {
    font-family: var(--h2-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--h2-accent);
    display: block;
    margin-bottom: 0.6rem;
}

.h2-label--light {
    color: rgba(255, 255, 255, 0.7);
}

.h2-heading {
    font-family: var(--h2-font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--h2-text);
    letter-spacing: -0.02em;
}

.h2-heading em {
    font-style: italic;
    color: var(--h2-accent);
}

.h2-section-intro {
    margin-bottom: 2.5rem;
    position: relative;
}

.h2-view-all {
    font-family: var(--h2-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--h2-accent);
    text-decoration: none;
    letter-spacing: 1px;
    transition: letter-spacing 0.3s var(--h2-ease), color 0.3s;
    position: absolute;
    right: 0;
    bottom: 0.3rem;
}

.h2-view-all:hover {
    letter-spacing: 2px;
    color: var(--h2-accent-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.h2-hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--h2-bg);
}

.h2-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.5;
    animation: h2HeroBgZoom 30s ease-in-out infinite alternate;
}

[data-theme="dark"] .h2-hero__bg {
    opacity: 0.3;
}

.h2-hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background:
        radial-gradient(ellipse at 50% 120%, transparent 40%, var(--h2-bg) 75%),
        linear-gradient(180deg, transparent 0%, var(--h2-bg) 100%);
}

/* Dreamy floating blobs */
.h2-hero__blob {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    filter: blur(80px);
    pointer-events: none;
    transition: transform 0.4s var(--h2-ease-out);
}

.h2-hero__blob--1 {
    width: 400px;
    height: 400px;
    background: var(--h2-accent-glow);
    top: 10%;
    right: 10%;
    animation: h2BlobFloat1 12s ease-in-out infinite;
}

.h2-hero__blob--2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 154, 123, 0.2);
    bottom: 20%;
    left: 5%;
    animation: h2BlobFloat2 15s ease-in-out infinite;
}

.h2-hero__blob--3 {
    width: 250px;
    height: 250px;
    background: rgba(160, 144, 128, 0.18);
    top: 40%;
    left: 50%;
    animation: h2BlobFloat3 18s ease-in-out infinite;
}

[data-theme="dark"] .h2-hero__blob--1 {
    background: rgba(139, 110, 78, 0.1);
}

[data-theme="dark"] .h2-hero__blob--2 {
    background: rgba(139, 154, 123, 0.08);
}

[data-theme="dark"] .h2-hero__blob--3 {
    background: rgba(160, 144, 128, 0.07);
}

.h2-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 720px;
    padding: 0 2rem;
}

/* Tag / Chip */
.h2-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.4rem;
    background: var(--h2-accent-soft);
    border: 1px solid rgba(139, 110, 78, 0.2);
    border-radius: 50px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--h2-accent);
    font-family: var(--h2-font-body);
    font-weight: 600;
    margin-bottom: 1.8rem;
    animation: h2FadeDown 1s 0.2s both var(--h2-ease);
    backdrop-filter: blur(10px);
}

.h2-hero__tag-dot {
    width: 7px;
    height: 7px;
    background: var(--h2-accent);
    border-radius: 50%;
    animation: h2Pulse 2.5s infinite;
}

.h2-hero__title {
    font-family: var(--h2-font-display);
    font-size: clamp(2.6rem, 7.5vw, 5.5rem);
    font-weight: 600;
    line-height: 1.0;
    color: var(--h2-text);
    margin-bottom: 1.2rem;
    letter-spacing: -0.025em;
    animation: h2FadeUp 1s 0.4s both var(--h2-ease);
}

.h2-hero__title em {
    font-style: italic;
    background: var(--h2-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h2-hero__sub {
    font-size: 1rem;
    color: var(--h2-text-soft);
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto 2.4rem;
    animation: h2FadeUp 1s 0.6s both var(--h2-ease);
}

.h2-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: h2FadeUp 1s 0.8s both var(--h2-ease);
    flex-wrap: wrap;
}

/* Scroll indicator */
.h2-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: h2FadeUp 1s 1.2s both var(--h2-ease);
}

.h2-hero__scroll-track {
    width: 2px;
    height: 50px;
    background: var(--h2-border);
    border-radius: 2px;
    overflow: hidden;
}

.h2-hero__scroll-thumb {
    width: 100%;
    height: 16px;
    background: var(--h2-accent);
    border-radius: 2px;
    animation: h2ScrollDown 2.5s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.h2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.95rem 2.2rem;
    border-radius: 60px;
    font-family: var(--h2-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.4s var(--h2-ease);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.h2-btn--primary {
    background: var(--h2-accent-gradient);
    color: #FFF;
    box-shadow: var(--h2-shadow-md);
}

.h2-btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s;
}

.h2-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--h2-shadow-glow);
}

.h2-btn--primary:hover::before {
    left: 100%;
}

.h2-btn--primary svg {
    transition: transform 0.3s var(--h2-ease);
}

.h2-btn--primary:hover svg {
    transform: translateX(4px);
}

.h2-btn--ghost {
    background: transparent;
    color: var(--h2-text);
    border: 1.5px solid var(--h2-border-hover);
}

.h2-btn--ghost:hover {
    border-color: var(--h2-accent);
    color: var(--h2-accent);
    transform: translateY(-2px);
}

.h2-btn--ghost:hover svg {
    transform: translateY(3px);
}

.h2-btn--ghost svg {
    transition: transform 0.3s var(--h2-ease);
}

.h2-btn--insta {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
    color: #FFF;
    padding: 0.95rem 2.5rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.25);
}

.h2-btn--insta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(225, 48, 108, 0.35);
}

/* ============================================
   MARQUEE
   ============================================ */
.h2-marquee {
    padding: 1.6rem 0;
    border-top: 1px solid var(--h2-border);
    border-bottom: 1px solid var(--h2-border);
    background: var(--h2-bg-warm);
    overflow: hidden;
    position: relative;
}

.h2-marquee::before,
.h2-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.h2-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--h2-bg-warm), transparent);
}

.h2-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--h2-bg-warm), transparent);
}

.h2-marquee__track {
    display: flex;
    gap: 3rem;
    animation: h2Marquee 25s linear infinite;
    width: max-content;
}

.h2-marquee__item {
    font-family: var(--h2-font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--h2-text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    font-style: italic;
}

/* ============================================
   CATEGORIES
   ============================================ */
.h2-cats {
    padding: 5rem 0 3rem;
}

.h2-cats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.h2-cats__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem 1rem;
    background: var(--h2-bg-card);
    border: 1px solid var(--h2-border);
    border-radius: var(--h2-radius-md);
    text-decoration: none;
    color: var(--h2-text);
    transition: all 0.4s var(--h2-ease);
    position: relative;
    overflow: hidden;
}

.h2-cats__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            hsl(var(--cat-hue, 350), 50%, 70%),
            hsl(calc(var(--cat-hue, 350) + 30), 50%, 75%));
    opacity: 0;
    transition: opacity 0.4s;
}

.h2-cats__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--h2-shadow-md);
    border-color: var(--h2-border-hover);
}

.h2-cats__card:hover::before {
    opacity: 1;
}

.h2-cats__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--h2-accent-soft);
    color: var(--h2-accent);
    transition: all 0.4s var(--h2-ease);
}

.h2-cats__card:hover .h2-cats__icon {
    background: var(--h2-accent-gradient);
    color: #FFF;
    box-shadow: var(--h2-shadow-glow);
    transform: scale(1.08);
}

.h2-cats__name {
    font-family: var(--h2-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.h2-cats__count {
    font-size: 0.72rem;
    color: var(--h2-text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.h2-featured {
    padding: 3rem 0 5rem;
}

.h2-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.h2-product {
    background: var(--h2-bg-card);
    border: 1px solid var(--h2-border);
    border-radius: var(--h2-radius-md);
    overflow: hidden;
    transition: all 0.4s var(--h2-ease);
}

.h2-product:hover {
    transform: translateY(-6px);
    box-shadow: var(--h2-shadow-lg);
    border-color: var(--h2-border-hover);
}

.h2-product__img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--h2-bg-warm);
    display: block;
}

.h2-product__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--h2-ease);
}

.h2-product:hover .h2-product__img {
    transform: scale(1.05);
}

.h2-product__wish {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 36px;
    height: 36px;
    background: var(--h2-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--h2-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--h2-text-soft);
    transition: all 0.3s;
    z-index: 2;
}

.h2-product__wish:hover,
.h2-product__wish.active {
    background: var(--h2-accent);
    color: #FFF;
    border-color: var(--h2-accent);
    transform: scale(1.15);
}

.h2-product__wish.active svg {
    fill: #FFF;
}

.h2-product__badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: var(--h2-accent-gradient);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    z-index: 2;
}

.h2-product__info {
    padding: 1rem 1.1rem 1.2rem;
}

.h2-product__cat {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--h2-text-muted);
    margin-bottom: 0.3rem;
    display: block;
}

.h2-product__name {
    font-family: var(--h2-font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--h2-text);
    margin-bottom: 0.6rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.h2-product__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h2-product__price {
    font-family: var(--h2-font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--h2-text);
}

.h2-product__price del {
    color: var(--h2-text-muted);
    font-weight: 400;
    font-size: 0.82rem;
    margin-right: 4px;
}

.h2-product__price ins {
    text-decoration: none;
    color: var(--h2-accent);
}

.h2-product__add {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--h2-accent-soft);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h2-accent);
    cursor: pointer;
    transition: all 0.3s var(--h2-ease);
    text-decoration: none;
}

.h2-product__add:hover {
    background: var(--h2-accent-gradient);
    color: #FFF;
    transform: scale(1.1);
    box-shadow: var(--h2-shadow-glow);
}

/* ============================================
   PROMO / BANNER
   ============================================ */
.h2-promo {
    padding: 3rem 0;
}

.h2-promo__card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--h2-radius-lg);
    overflow: hidden;
    background: var(--h2-bg-card-alt);
    border: 1px solid var(--h2-border);
    min-height: 400px;
}

.h2-promo__text {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.h2-heading--promo {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.h2-promo__desc {
    font-size: 0.95rem;
    color: var(--h2-text-soft);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 400px;
}

.h2-promo__visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.h2-promo__img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--h2-radius-md);
    object-fit: cover;
    transition: transform 0.6s var(--h2-ease);
}

.h2-promo__card:hover .h2-promo__img {
    transform: scale(1.03) rotate(1deg);
}

/* Decorative circles */
.h2-promo__deco {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.h2-promo__deco--1 {
    width: 250px;
    height: 250px;
    background: var(--h2-accent-glow);
    filter: blur(60px);
    top: -50px;
    right: -50px;
}

.h2-promo__deco--2 {
    width: 200px;
    height: 200px;
    background: rgba(139, 154, 123, 0.18);
    filter: blur(50px);
    bottom: -30px;
    left: 30px;
}

/* ============================================
   TESTIMONIALS / SOCIAL PROOF
   ============================================ */
.h2-social {
    padding: 5rem 0;
}

.h2-social__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.h2-social__card {
    background: var(--h2-bg-card);
    border: 1px solid var(--h2-border);
    border-radius: var(--h2-radius-md);
    padding: 2rem 1.8rem;
    transition: all 0.4s var(--h2-ease);
    position: relative;
    overflow: hidden;
}

.h2-social__card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: var(--h2-font-display);
    font-size: 8rem;
    color: var(--h2-accent-soft);
    line-height: 1;
    pointer-events: none;
}

.h2-social__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--h2-shadow-md);
}

.h2-social__stars {
    color: #F0B860;
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.h2-social__quote {
    font-size: 0.95rem;
    color: var(--h2-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.h2-social__author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.h2-social__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--h2-accent-gradient);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--h2-font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.h2-social__author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--h2-text);
}

.h2-social__author span {
    font-size: 0.72rem;
    color: var(--h2-text-muted);
}

/* ============================================
   TRUST / FEATURES
   ============================================ */
.h2-trust {
    padding: 3rem 0 5rem;
}

.h2-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.h2-trust__item {
    background: var(--h2-bg-card);
    border: 1px solid var(--h2-border);
    border-radius: var(--h2-radius-md);
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--h2-ease);
}

.h2-trust__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--h2-shadow-md);
}

.h2-trust__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--h2-accent-soft);
    color: var(--h2-accent);
    transition: all 0.4s var(--h2-ease);
}

.h2-trust__item:hover .h2-trust__icon {
    background: var(--h2-accent-gradient);
    color: #FFF;
    box-shadow: var(--h2-shadow-glow);
}

.h2-trust__item h4 {
    font-family: var(--h2-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--h2-text);
}

.h2-trust__item p {
    font-size: 0.82rem;
    color: var(--h2-text-soft);
    line-height: 1.6;
}

/* ============================================
   CTA / INSTAGRAM
   ============================================ */
.h2-cta {
    padding: 3rem 0 5rem;
}

.h2-cta__card {
    position: relative;
    background: linear-gradient(135deg, #2D2A27 0%, #1C1917 100%);
    border-radius: var(--h2-radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    color: #FFF;
}

[data-theme="dark"] .h2-cta__card {
    background: linear-gradient(135deg, #241F1C 0%, #151312 100%);
    border: 1px solid var(--h2-border);
}

.h2-cta__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.h2-cta__blob--1 {
    width: 300px;
    height: 300px;
    background: rgba(139, 110, 78, 0.2);
    top: -80px;
    right: -60px;
}

.h2-cta__blob--2 {
    width: 250px;
    height: 250px;
    background: rgba(139, 154, 123, 0.15);
    bottom: -80px;
    left: -60px;
}

.h2-heading--cta {
    color: #FFF;
    margin-bottom: 1rem;
}

.h2-heading--cta em {
    color: #B8976A;
}

.h2-cta__sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.h2-footer {
    background: var(--h2-bg-warm);
    border-top: 1px solid var(--h2-border);
    padding-top: 4rem;
}

.h2-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.h2-footer__logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 0;
}

.h2-footer__brand p {
    font-size: 0.88rem;
    color: var(--h2-text-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 320px;
}

.h2-footer__socials {
    display: flex;
    gap: 0.8rem;
}

.h2-footer__socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--h2-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h2-accent);
    text-decoration: none;
    transition: all 0.3s var(--h2-ease);
}

.h2-footer__socials a:hover {
    background: var(--h2-accent-gradient);
    color: #FFF;
    transform: translateY(-3px);
    box-shadow: var(--h2-shadow-glow);
}

.h2-footer__links h4 {
    font-family: var(--h2-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--h2-text);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.h2-footer__links a {
    display: block;
    font-size: 0.85rem;
    color: var(--h2-text-soft);
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.3s, padding-left 0.3s;
}

.h2-footer__links a:hover {
    color: var(--h2-accent);
    padding-left: 6px;
}

.h2-footer__bottom {
    border-top: 1px solid var(--h2-border);
    padding: 1.8rem 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--h2-text-muted);
    letter-spacing: 0.5px;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes h2HeroBgZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes h2BlobFloat1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-20px, 30px);
    }

    66% {
        transform: translate(15px, -20px);
    }
}

@keyframes h2BlobFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, -15px) scale(1.05);
    }
}

@keyframes h2BlobFloat3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    40% {
        transform: translate(-30px, 20px);
    }

    80% {
        transform: translate(20px, -25px);
    }
}

@keyframes h2FadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes h2FadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes h2Pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

@keyframes h2ScrollDown {
    0% {
        transform: translateY(-16px);
    }

    50% {
        transform: translateY(34px);
    }

    100% {
        transform: translateY(-16px);
    }
}

@keyframes h2Marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .h2-container {
        padding: 0 2.5rem;
    }

    .h2-cats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .h2-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .h2-promo__card {
        grid-template-columns: 1fr 1fr;
        min-height: 450px;
    }

    .h2-promo__text {
        padding: 3.5rem 3rem;
    }

    .h2-social__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .h2-trust__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .h2-footer__top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
    }

    .h2-cta__card {
        padding: 5rem 3rem;
    }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .h2-hero__content {
        max-width: 800px;
    }

    .h2-cats__grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .h2-products {
        grid-template-columns: repeat(4, 1fr);
    }

    .h2-promo__text {
        padding: 4rem;
    }

    .h2-promo__card {
        min-height: 480px;
    }

    .h2-cta__card {
        padding: 6rem 4rem;
    }

    /* Hover effects only on desktop */
    .h2-product__img-wrap::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.25));
        opacity: 0;
        transition: opacity 0.4s var(--h2-ease);
        pointer-events: none;
    }

    .h2-product:hover .h2-product__img-wrap::after {
        opacity: 1;
    }

    .h2-product:hover .h2-product__quickview {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ============================================
   MOBILE TWEAKS (< 480px)
   ============================================ */
@media (max-width: 479px) {
    .h2-hero {
        min-height: 580px;
    }

    .h2-hero__title {
        font-size: 2.4rem;
    }

    .h2-hero__sub {
        font-size: 0.9rem;
    }

    .h2-hero__actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .h2-hero__actions .h2-btn {
        width: 100%;
        justify-content: center;
    }

    .h2-cats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .h2-products {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .h2-product__info {
        padding: 0.8rem 0.9rem 1rem;
    }

    .h2-product__name {
        font-size: 0.82rem;
    }

    .h2-promo__card {
        grid-template-columns: 1fr;
    }

    .h2-trust__grid {
        grid-template-columns: 1fr 1fr;
    }

    .h2-social__grid {
        grid-template-columns: 1fr;
    }

    .h2-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .h2-footer__brand {
        grid-column: 1 / -1;
    }
}

/* ============================================
   VERY SMALL SCREENS (< 360px)
   ============================================ */
@media (max-width: 359px) {
    .h2-hero__title {
        font-size: 2rem;
    }

    .h2-cats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .h2-cats__card {
        padding: 1.4rem 0.8rem;
    }

    .h2-btn {
        padding: 0.85rem 1.6rem;
        font-size: 0.82rem;
    }
}

/* ============================================
   QUICK VIEW — Product Button on Card
   ============================================ */
.h2-product__quickview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #1E1E1E;
    font-family: var(--h2-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s var(--h2-ease);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.h2-product__quickview:hover {
    background: var(--h2-accent-gradient);
    color: #FFF;
    border-color: transparent;
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: var(--h2-shadow-glow);
}

.h2-product__quickview svg {
    flex-shrink: 0;
}

/* Mobile: show a smaller icon-only quick view button at bottom-right */
@media (max-width: 1023px) {
    .h2-product__quickview {
        top: auto;
        left: auto;
        bottom: 0.8rem;
        right: 0.8rem;
        transform: scale(1);
        opacity: 1;
        padding: 0.55rem;
        border-radius: 50%;
        background: var(--h2-glass);
        border: 1px solid var(--h2-border);
        box-shadow: var(--h2-shadow-sm);
    }
    .h2-product__quickview span {
        display: none;
    }
    .h2-product__quickview:hover {
        transform: scale(1.12);
    }
}

/* ============================================
   QUICK VIEW — Modal Overlay & Container
   ============================================ */
.qv-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 12, 10, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: background 0.4s var(--h2-ease), backdrop-filter 0.4s var(--h2-ease);
}

.qv-overlay--open {
    background: rgba(15, 12, 10, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.qv-modal {
    position: relative;
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    background: var(--h2-bg-card, #FFFFFF);
    border-radius: var(--h2-radius-lg, 28px);
    border: 1px solid var(--h2-border, rgba(0,0,0,0.07));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.20), 0 0 0 1px rgba(255,255,255,0.06) inset;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.88) translateY(40px);
    transition: opacity 0.45s var(--h2-ease), transform 0.45s var(--h2-ease);
}

.qv-modal--open {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Close button */
.qv-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--h2-glass, rgba(248,246,243,0.88));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--h2-border, rgba(0,0,0,0.07));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--h2-text, #1E1E1E);
    transition: all 0.3s;
}

.qv-close:hover {
    background: var(--h2-accent, #8B6E4E);
    color: #FFF;
    border-color: var(--h2-accent, #8B6E4E);
    transform: rotate(90deg) scale(1.1);
}

/* ============================================
   QUICK VIEW — Modal Body Layout
   ============================================ */
.qv-body {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--h2-accent-soft, rgba(139,110,78,0.1)) transparent;
}

@media (min-width: 640px) {
    .qv-body {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   QUICK VIEW — Gallery (Left Side)
   ============================================ */
.qv-gallery {
    position: relative;
    background: var(--h2-bg-warm, #F0EDE8);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.qv-gallery__main {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--h2-radius-md, 20px);
    overflow: hidden;
    background: var(--h2-bg-card-alt, #F5F2EE);
}

.qv-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s, transform 0.3s;
}

.qv-gallery__sale-tag {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.35rem 1rem;
    background: var(--h2-accent-gradient, linear-gradient(135deg, #A68B6B, #6E5638));
    color: #FFF;
    font-family: var(--h2-font-body, sans-serif);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
}

/* Gallery arrows */
.qv-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1E1E1E;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.qv-gallery__arrow--prev { left: 0.6rem; }
.qv-gallery__arrow--next { right: 0.6rem; }

.qv-gallery__arrow:hover {
    background: var(--h2-accent, #8B6E4E);
    color: #FFF;
    border-color: transparent;
    transform: translateY(-50%) scale(1.12);
}

/* Thumbnails strip */
.qv-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.2rem 0;
    scrollbar-width: none;
}
.qv-gallery__thumbs::-webkit-scrollbar { display: none; }

.qv-gallery__thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.3s;
    background: none;
    padding: 0;
}

.qv-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-gallery__thumb:hover {
    opacity: 0.85;
    transform: scale(1.06);
}

.qv-gallery__thumb.active {
    border-color: var(--h2-accent, #8B6E4E);
    opacity: 1;
    box-shadow: 0 0 0 3px var(--h2-accent-soft, rgba(139,110,78,0.15));
}

/* ============================================
   QUICK VIEW — Product Info (Right Side)
   ============================================ */
.qv-info {
    padding: 2rem 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.qv-info__cat {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--h2-accent, #8B6E4E);
    margin-bottom: 0.4rem;
}

.qv-info__name {
    font-family: var(--h2-font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 600;
    font-style: italic;
    color: var(--h2-text, #1E1E1E);
    line-height: 1.2;
    margin: 0 0 0.6rem 0;
}

.qv-info__price {
    font-family: var(--h2-font-body, sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--h2-text, #1E1E1E);
    margin-bottom: 0.6rem;
}

.qv-info__price del {
    color: var(--h2-text-muted, #9A9590);
    font-weight: 400;
    font-size: 0.9rem;
    margin-right: 6px;
}

.qv-info__price ins {
    text-decoration: none;
    color: var(--h2-accent, #8B6E4E);
}

/* Stock badge */
.qv-info__stock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.qv-info__stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.qv-info__stock--in {
    color: #4A8C5C;
}
.qv-info__stock--in .qv-info__stock-dot {
    background: #4A8C5C;
    box-shadow: 0 0 8px rgba(74, 140, 92, 0.45);
    animation: qvPulse 2s infinite;
}

.qv-info__stock--out {
    color: #C0392B;
}
.qv-info__stock--out .qv-info__stock-dot {
    background: #C0392B;
}

@keyframes qvPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Divider */
.qv-info__divider {
    height: 1px;
    background: var(--h2-border, rgba(0,0,0,0.07));
    margin: 0.8rem 0;
}

/* Description */
.qv-info__desc {
    font-size: 0.85rem;
    color: var(--h2-text-soft, #5A5550);
    line-height: 1.65;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   QUICK VIEW — Attribute Swatches (Variable Products)
   ============================================ */
.qv-info__attrs {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.qv-attr-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.qv-attr-label-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.qv-attr-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--h2-text-soft, #5A5550);
}

.qv-attr-selected {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--h2-accent, #8B6E4E);
    letter-spacing: 0.3px;
}

.qv-attr-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

/* ── Regular Pill Swatches (Model, Storage, Size) ── */
.qv-attr-pill {
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid var(--h2-border, rgba(0,0,0,0.07));
    background: transparent;
    font-family: var(--h2-font-body, sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--h2-text, #1E1E1E);
    cursor: pointer;
    transition: all 0.3s var(--h2-ease, cubic-bezier(0.16, 1, 0.3, 1));
    white-space: nowrap;
    user-select: none;
    position: relative;
}

.qv-attr-pill:hover {
    border-color: var(--h2-text-muted, #9A9590);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.qv-attr-pill.active {
    border-color: var(--h2-accent, #8B6E4E);
    background: linear-gradient(135deg, rgba(139,110,78,0.06), rgba(139,110,78,0.14));
    color: var(--h2-accent, #8B6E4E);
    font-weight: 600;
    box-shadow: 0 0 0 1.5px var(--h2-accent, #8B6E4E), 0 4px 16px var(--h2-accent-glow, rgba(139,110,78,0.15));
    transform: translateY(-2px);
}

/* Disabled / unavailable pill */
.qv-attr-pill.qv-disabled {
    opacity: 0.32;
    pointer-events: none;
    cursor: not-allowed;
    color: var(--h2-text-muted, #9A9590);
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.qv-attr-pill.qv-disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: var(--h2-text-muted, #9A9590);
    border-radius: 2px;
    transform: rotate(-12deg);
    opacity: 0.7;
}

/* ── Color Swatches (actual color circles) ── */
.qv-color-pills {
    gap: 0.55rem;
}

.qv-color-swatch {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 2.5px solid transparent;
    padding: 3px;
    cursor: pointer;
    transition: all 0.3s var(--h2-ease, cubic-bezier(0.16, 1, 0.3, 1));
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.qv-color-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    transition: transform 0.3s var(--h2-ease), box-shadow 0.3s ease;
    box-shadow:
        0 3px 10px rgba(0,0,0,0.15),
        inset 0 1px 2px rgba(255,255,255,0.15);
}

/* Light colors need a visible border */
.qv-color-circle.qv-light {
    box-shadow:
        inset 0 0 0 1.5px rgba(0,0,0,0.1),
        0 3px 10px rgba(0,0,0,0.06);
}

/* Hover */
.qv-color-swatch:hover {
    transform: scale(1.18);
}
.qv-color-swatch:hover .qv-color-circle {
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* Active — accent ring + checkmark */
.qv-color-swatch.active {
    border-color: var(--h2-accent, #8B6E4E);
    transform: scale(1.12);
}
.qv-color-swatch.active .qv-color-circle {
    box-shadow: 0 0 0 2px var(--h2-accent, #8B6E4E), 0 6px 20px rgba(0,0,0,0.2);
}

/* Checkmark overlay */
.qv-color-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 18px;
    height: 18px;
    background: var(--h2-accent, #8B6E4E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    box-shadow: 0 2px 8px var(--h2-accent-glow, rgba(139,110,78,0.22));
    pointer-events: none;
}
.qv-color-swatch.active .qv-color-check {
    transform: translate(-50%, -50%) scale(1);
}

/* Tooltip on hover */
.qv-color-tip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--h2-bg-card, #FFFFFF);
    color: var(--h2-text, #1E1E1E);
    font-family: var(--h2-font-body, sans-serif);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s var(--h2-ease);
    z-index: 20;
    border: 1px solid var(--h2-border, rgba(0,0,0,0.07));
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    letter-spacing: 0.3px;
}
.qv-color-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--h2-bg-card, #FFFFFF);
}
.qv-color-swatch:hover .qv-color-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Disabled / unavailable color swatch */
.qv-color-swatch.qv-disabled {
    opacity: 0.28;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(75%);
    transform: scale(0.85);
}
.qv-color-swatch.qv-disabled .qv-color-circle {
    box-shadow: none;
}
.qv-color-swatch.qv-disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 1.5px;
    background: rgba(0,0,0,0.4);
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 5;
}

/* ============================================
   QUICK VIEW — Quantity + Add to Cart
   ============================================ */
.qv-info__actions {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.qv-qty {
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 1.5px solid var(--h2-border, rgba(0,0,0,0.07));
    overflow: hidden;
    background: var(--h2-bg-card-alt, #F5F2EE);
    flex-shrink: 0;
}

.qv-qty__btn {
    width: 38px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--h2-text, #1E1E1E);
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--h2-font-body, sans-serif);
}

.qv-qty__btn:hover {
    background: var(--h2-accent-soft, rgba(139,110,78,0.1));
}

.qv-qty__input {
    width: 38px;
    height: 42px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--h2-font-body, sans-serif);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--h2-text, #1E1E1E);
    -moz-appearance: textfield;
}
.qv-qty__input::-webkit-outer-spin-button,
.qv-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart button */
.qv-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    height: 46px;
    background: var(--h2-accent-gradient, linear-gradient(135deg, #A68B6B, #6E5638));
    border: none;
    border-radius: 14px;
    color: #FFF;
    font-family: var(--h2-font-body, sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s var(--h2-ease);
    position: relative;
    overflow: hidden;
}

.qv-add-cart::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.qv-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--h2-shadow-glow, 0 12px 40px rgba(139,110,78,0.22));
}

.qv-add-cart:hover::before {
    opacity: 1;
}

.qv-add-cart--loading {
    pointer-events: none;
    opacity: 0.8;
}

.qv-add-cart--done {
    background: linear-gradient(135deg, #5B8C6A, #3D6B4E) !important;
}

.qv-add-cart--warning {
    background: linear-gradient(135deg, #D4A04A, #B8862D) !important;
    animation: qvBtnShake 0.5s ease;
}

/* Shake animation for unselected attribute groups */
.qv-attr-group--shake {
    animation: qvGroupShake 0.6s ease;
}
.qv-attr-group--shake .qv-attr-label {
    color: #D4574A !important;
}

@keyframes qvGroupShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px); }
    30% { transform: translateX(5px); }
    45% { transform: translateX(-4px); }
    60% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
}

@keyframes qvBtnShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(2px); }
}

/* Spinner animation */
.qv-spinner {
    animation: qvSpin 0.8s linear infinite;
}

@keyframes qvSpin {
    to { transform: rotate(360deg); }
}

/* View Full Details link */
.qv-info__full-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--h2-font-body, sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--h2-accent, #8B6E4E);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    align-self: flex-start;
}

.qv-info__full-link:hover {
    gap: 0.7rem;
    color: var(--h2-accent-dark, #6E5638);
}

.qv-info__full-link svg {
    transition: transform 0.3s;
}

.qv-info__full-link:hover svg {
    transform: translateX(3px);
}

/* ============================================
   QUICK VIEW — Modal Responsive
   ============================================ */
@media (max-width: 639px) {
    .qv-modal {
        max-height: 94vh;
        border-radius: var(--h2-radius-md, 20px);
    }

    .qv-gallery {
        padding: 1rem;
    }

    .qv-gallery__main {
        aspect-ratio: 1/1;
    }

    .qv-info {
        padding: 1.4rem 1.2rem 1.8rem;
    }

    .qv-info__name {
        font-size: 1.3rem;
    }
}

@media (min-width: 640px) {
    .qv-gallery {
        padding: 1.8rem;
    }
    
    .qv-gallery__main {
        aspect-ratio: 3/4;
    }

    .qv-info {
        padding: 2.2rem 2rem;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .qv-modal {
        max-width: 860px;
    }

    .qv-gallery__thumb {
        width: 62px;
        height: 62px;
    }
}

@media (min-width: 1024px) {
    .qv-modal {
        max-width: 920px;
    }
}

/* ============================================
   QUICK VIEW — RTL Support
   ============================================ */
[dir="rtl"] .qv-info__full-link svg {
    transform: scaleX(-1);
}

[dir="rtl"] .qv-info__full-link:hover svg {
    transform: scaleX(-1) translateX(3px);
}

[dir="rtl"] .qv-info__price del {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .qv-gallery__arrow--prev { left: auto; right: 0.6rem; }
[dir="rtl"] .qv-gallery__arrow--next { right: auto; left: 0.6rem; }