/**
 * Capri Homepage — Frontend Styles
 * Custom page template replacing Elementor homepage
 *
 * Scoping: All selectors under .capri-homepage wrapper div
 * Template: page-homepage.php
 * Conditional: Only loaded via is_page_template('page-homepage.php')
 */

/* ═══ SHOPTIMIZER OVERRIDES ═══ */
.page-template-page-homepage .entry-title,
.page-template-page-homepage .page-title { display: none !important; }
.page-template-page-homepage #primary { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.page-template-page-homepage #secondary { display: none !important; }
.page-template-page-homepage .site-content .content-area { max-width: 100% !important; padding: 0 !important; }
.page-template-page-homepage .site-content .col-full { max-width: 100% !important; padding: 0 !important; }
.page-template-page-homepage .archive-header { display: none !important; }
.page-template-page-homepage .site-content { padding-top: 0 !important; }

/* ─── Fix: ensure header always stays above page content ─── */
.page-template-page-homepage .site-header {
    z-index: 999 !important;
}

/* ─── Fix: mega menu hidden dropdowns must not capture hover/click ─── */
/* Shoptimizer uses .sub-menu-wrapper (div) as the dropdown container.   */
/* During hover-off transitions visibility stays "visible" while opacity */
/* fades to 0 — the invisible div still captures clicks over the nav.   */
.page-template-page-homepage .main-navigation .sub-menu-wrapper {
    pointer-events: none;
}
.page-template-page-homepage .main-navigation .menu-item-has-children:hover > .sub-menu-wrapper,
.page-template-page-homepage .main-navigation .menu-item-has-children.sfHover > .sub-menu-wrapper {
    pointer-events: auto;
}

/* ═══ CSS VARIABLES ═══ */
.capri-homepage {
    isolation: isolate; /* Contain all internal z-index values so they don't compete with the header */
    overflow-x: clip; /* Prevent any section from causing page-level horizontal scroll */
    --brand: #00A3E0;
    --brand-dark: #0082B4;
    --brand-deeper: #005F87;
    --brand-light: #E5F5FC;
    --gold: #dc9814;
    --gold-dark: #b37d10;
    --dark: #0a0a0a;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --bg: #f5f5f7;
    --white: #fff;
    --border: #d2d2d7;
    --radius: 12px;
    --radius-lg: 18px;
    --hover-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --hover-duration: 0.3s;

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.capri-homepage a { color: inherit; text-decoration: none; }
.capri-homepage *, .capri-homepage *::before, .capri-homepage *::after { box-sizing: border-box; }

/* ═══ HERO ═══ */
.capri-homepage .hero {
    position: relative;
    min-height: max(460px, 65vh); max-height: 720px;
    display: flex; align-items: center;
    overflow: hidden;
    background: #050508;
}
.capri-homepage .hero-bg {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%; object-fit: cover;
}
.capri-homepage .hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(5,5,8,0.88) 0%,
        rgba(5,5,8,0.70) 40%,
        rgba(5,5,8,0.30) 70%,
        rgba(5,5,8,0.15) 100%
    );
    pointer-events: none;
}
.capri-homepage .hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex; flex-direction: column; align-items: flex-start;
}
.capri-homepage .hero-eyebrow {
    font-size: 13px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--brand);
    margin-bottom: 16px;
    background: rgba(0,163,224,0.12);
    padding: 6px 14px; border-radius: 4px;
}
.capri-homepage .hero h1 {
    font-size: clamp(38px, 6vw, 68px); font-weight: 800;
    color: #fff; letter-spacing: -0.04em; line-height: 1.08;
    margin-bottom: 20px; max-width: 600px;
}
.capri-homepage .hero .subtitle {
    font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.6);
    font-weight: 400; margin-bottom: 36px; max-width: 440px; line-height: 1.65;
}
.capri-homepage .hero-links { display: flex; gap: 16px; flex-wrap: wrap; }
.capri-homepage .hero-link {
    font-size: 16px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px; transition: all 0.25s;
    padding: 14px 28px; border-radius: 8px;
}
.capri-homepage .hero-link:hover { gap: 10px; }
.capri-homepage .hero-link .arrow { font-size: 14px; }
.capri-homepage .hero-link.gold { color: #fff; background: var(--gold); }
.capri-homepage .hero-link.gold:hover { background: var(--gold-dark); }
.capri-homepage .hero-link.outline {
    color: #fff; border: 1.5px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
}
.capri-homepage .hero-link.outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); }

/* ═══ CATEGORY SHELF ═══ */
.capri-homepage .category-shelf { padding: 48px 0 32px; background: var(--white); }
.capri-homepage .shelf-header { max-width: 1200px; margin: 0 auto; padding: 0 24px 24px; }
.capri-homepage .shelf-header h2 { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.capri-homepage .shelf-track-wrapper {
    position: relative;
    max-width: 1200px; margin: 0 auto;
    overflow: hidden;
}
.capri-homepage .shelf-track {
    display: flex; gap: 16px; padding: 0 24px;
    overflow-x: auto; scroll-snap-type: x proximity;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.capri-homepage .shelf-track::-webkit-scrollbar { display: none; }
.capri-homepage .shelf-track { -ms-overflow-style: none; scrollbar-width: none; }
.capri-homepage .shelf-fade-left,
.capri-homepage .shelf-fade-right {
    position: absolute; top: 0; bottom: 0; width: 60px;
    pointer-events: none; z-index: 2;
    transition: opacity 0.3s ease;
}
.capri-homepage .shelf-fade-left {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
    opacity: 0; display: none;
}
.capri-homepage .shelf-fade-right {
    right: 0;
    background: linear-gradient(-90deg, var(--white) 0%, transparent 100%);
}
.capri-homepage .shelf-fade-right.hidden { opacity: 0; }
.capri-homepage .shelf-arrow {
    position: absolute; top: 50%; z-index: 3;
    transform: translateY(-60%);
    width: 44px; height: 44px; border-radius: 50%;
    border: none; cursor: pointer;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    color: var(--text); font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    user-select: none; -webkit-user-select: none;
}
.capri-homepage .shelf-arrow:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.06);
    transform: translateY(-60%) scale(1.06);
}
.capri-homepage .shelf-arrow:active { transform: translateY(-60%) scale(0.96); }
.capri-homepage .shelf-arrow-left { left: 4px; display: none; }
.capri-homepage .shelf-arrow-right { right: 4px; }
.capri-homepage .shelf-item {
    flex: 0 0 auto; width: 130px;
    text-align: center; cursor: pointer; scroll-snap-align: start;
}
.capri-homepage .shelf-item-image {
    width: 110px; height: 110px;
    margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: transform var(--hover-duration) var(--hover-ease);
}
.capri-homepage .shelf-item-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--hover-duration) var(--hover-ease),
                box-shadow var(--hover-duration) var(--hover-ease);
}
.capri-homepage .shelf-item:hover .shelf-item-image img {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.capri-homepage .shelf-item-label { font-size: 12px; font-weight: 500; color: var(--text); line-height: 1.3; }
.capri-homepage .shelf-item:hover .shelf-item-label { color: var(--brand); }

/* ═══ NEW ARRIVALS ═══ */
.capri-homepage .new-arrivals { padding: 32px 0 64px; background: var(--white); }
.capri-homepage .new-arrivals-row2 { padding-top: 0; }
.capri-homepage .arrivals-header {
    max-width: 1200px; margin: 0 auto; padding: 0 24px 28px;
    display: flex; align-items: baseline; justify-content: space-between;
}
.capri-homepage .arrivals-header h2 { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.capri-homepage .arrivals-header .see-all {
    font-size: 16px; font-weight: 600; color: var(--brand);
    display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s;
}
.capri-homepage .arrivals-header .see-all:hover { gap: 9px; }
.capri-homepage .arrivals-track-wrapper {
    position: relative;
    max-width: 1200px; margin: 0 auto;
    overflow: visible;
    padding: 12px 0;
}
.capri-homepage .arrivals-track {
    display: flex; gap: 16px; padding: 0 24px 8px;
    overflow-x: auto; scroll-snap-type: x proximity;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.capri-homepage .arrivals-track::-webkit-scrollbar { display: none; }
.capri-homepage .arrivals-track { -ms-overflow-style: none; scrollbar-width: none; }
.capri-homepage .arrivals-fade-left,
.capri-homepage .arrivals-fade-right {
    position: absolute; top: 0; bottom: 0; width: 60px;
    pointer-events: none; z-index: 2;
    transition: opacity 0.3s ease;
}
.capri-homepage .arrivals-fade-left {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
    opacity: 0; display: none;
}
.capri-homepage .arrivals-fade-right {
    right: 0;
    background: linear-gradient(-90deg, var(--white) 0%, transparent 100%);
}
.capri-homepage .arrivals-fade-right.hidden { opacity: 0; }
.capri-homepage .arrivals-arrow {
    position: absolute; top: 50%; z-index: 3;
    transform: translateY(-65%);
    width: 44px; height: 44px; border-radius: 50%;
    border: none; cursor: pointer;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    color: var(--text); font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    user-select: none; -webkit-user-select: none;
}
.capri-homepage .arrivals-arrow:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.06);
    transform: translateY(-65%) scale(1.06);
}
.capri-homepage .arrivals-arrow:active { transform: translateY(-65%) scale(0.96); }
.capri-homepage .arrivals-arrow-left { left: 4px; display: none; }
.capri-homepage .arrivals-arrow-right { right: 4px; }
.capri-homepage .arrival-card {
    flex: 0 0 auto; width: 260px; display: flex; flex-direction: column;
    background: var(--bg); border-radius: var(--radius-lg);
    overflow: hidden; cursor: pointer; scroll-snap-align: start;
    border: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform var(--hover-duration) var(--hover-ease),
                box-shadow var(--hover-duration) var(--hover-ease);
}
.capri-homepage .arrival-card:hover {
    transform: scale(1.01);
    transform-origin: top center;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.capri-homepage .arrival-card-image {
    width: 100%; height: 240px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg); overflow: hidden;
}
/* Ensure the image link fills the container without inline spacing gaps */
.capri-homepage .arrival-card-image a {
    display: block; width: 100%; height: 100%;
}
.capri-homepage .arrival-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.capri-homepage .arrival-card-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.capri-homepage .arrival-card .new-badge {
    display: inline-block; font-size: 10px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 6px;
}
.capri-homepage .arrival-card h3 { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 4px; }
.capri-homepage .arrival-card .price { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
.capri-homepage .arrival-card .card-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-top: auto;
}
.capri-homepage .arrival-card .card-link {
    font-size: 14px; font-weight: 600; color: var(--brand);
    display: inline-flex; align-items: center; gap: 4px;
    white-space: nowrap; flex-shrink: 0;
}
.capri-homepage .arrival-card .card-link .arr { font-size: 11px; transition: transform var(--hover-duration) ease; }
.capri-homepage .arrival-card:hover .card-link .arr { transform: translateX(2px); }
.capri-homepage .arrival-card .card-atc {
    font-size: 12px; font-weight: 600; color: var(--white);
    background: var(--gold); border-radius: 6px;
    padding: 6px 12px; display: inline-block;
    white-space: nowrap; flex-shrink: 0;
    transition: background var(--hover-duration) ease, transform 0.15s ease;
}
.capri-homepage .arrival-card .card-atc:hover {
    background: var(--gold-dark); transform: translateY(-1px);
}
.capri-homepage .arrival-card .card-atc.added::after {
    content: ' \2713';
}
.capri-homepage .arrival-card .added_to_cart { display: none; }

/* ═══ PRODUCT FEATURES (carousel) ═══ */
.capri-homepage .product-features {
    padding: 0 0 24px; max-width: 100%;
}
.capri-homepage .features-title {
    font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.5px;
    max-width: 1200px; margin: 0 auto 16px; padding: 0 24px;
}
.capri-homepage .features-track-wrapper {
    position: relative;
    max-width: 1200px; margin: 0 auto;
    overflow: hidden;
}
.capri-homepage .features-track {
    display: flex; gap: 16px; padding: 0 24px 8px;
    overflow-x: auto; scroll-snap-type: x proximity;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.capri-homepage .features-track::-webkit-scrollbar { display: none; }
.capri-homepage .features-track { -ms-overflow-style: none; scrollbar-width: none; }
.capri-homepage .features-fade-right {
    position: absolute; top: 0; bottom: 0; right: 0; width: 60px;
    pointer-events: none; z-index: 2;
    background: linear-gradient(-90deg, var(--white) 0%, transparent 100%);
    transition: opacity 0.3s ease;
}
.capri-homepage .features-fade-right.hidden { opacity: 0; }
.capri-homepage .features-arrow {
    position: absolute; top: 50%; z-index: 3;
    transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    border: none; cursor: pointer;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    color: var(--text); font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    user-select: none; -webkit-user-select: none;
}
.capri-homepage .features-arrow:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.06);
    transform: translateY(-50%) scale(1.06);
}
.capri-homepage .features-arrow:active { transform: translateY(-50%) scale(0.96); }
.capri-homepage .features-arrow-left { left: 4px; display: none; }
.capri-homepage .features-arrow-right { right: 4px; }
.capri-homepage .feature-tile {
    flex: 0 0 auto; width: 380px; aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
    padding: 32px 28px 28px; scroll-snap-align: start;
    position: relative;
    isolation: isolate; /* Self-contained stacking context — image/scrim/text z-indices stay inside each tile */
    transition: transform var(--hover-duration) var(--hover-ease),
                box-shadow var(--hover-duration) var(--hover-ease);
    cursor: pointer;
}
.capri-homepage .feature-tile:hover {
    transform: scale(1.01);
    transform-origin: top center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
/* Gradient scrim — only on tiles that have a background photo */
.capri-homepage .feature-tile:has(.feature-image)::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.60) 38%,
        rgba(0,0,0,0.18) 62%,
        rgba(0,0,0,0.68) 100%
    );
}
/* Lift all tile text above the scrim */
.capri-homepage .feature-tile > * { position: relative; z-index: 2; }
/* Dark/light base text colors */
.capri-homepage .feature-tile.dark { color: #fff; }
.capri-homepage .feature-tile.dark .eyebrow { opacity: 0.8; }
.capri-homepage .feature-tile.dark .tagline { opacity: 0.88; }
.capri-homepage .feature-tile.light { color: var(--text); }
/* Photo tiles: always white text + text-shadow — must come AFTER .light to win the cascade */
.capri-homepage .feature-tile:has(.feature-image) { color: #fff; }
/* Explicit color on each element — direct rule beats theme's h3/p color set via inheritance */
.capri-homepage .feature-tile:has(.feature-image) .eyebrow,
.capri-homepage .feature-tile:has(.feature-image) h3,
.capri-homepage .feature-tile:has(.feature-image) .tagline {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.80);
}
.capri-homepage .feature-tile .eyebrow {
    font-size: 11px; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
    margin-bottom: 6px; opacity: 0.55;
}
.capri-homepage .feature-tile h3 {
    font-size: clamp(24px, 3vw, 32px); font-weight: 800;
    letter-spacing: -0.5px; line-height: 1.12; margin-bottom: 8px;
}
.capri-homepage .feature-tile .tagline {
    font-size: 14px; font-weight: 400; opacity: 0.75;
    max-width: 300px; margin-bottom: 14px; line-height: 1.5;
}
.capri-homepage .feature-links { display: flex; gap: 20px; margin-top: auto; padding-bottom: 4px; }
.capri-homepage .feature-link {
    font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s;
}
.capri-homepage .feature-link:hover { gap: 9px; }
.capri-homepage .feature-tile.dark .feature-link { color: var(--brand); }
.capri-homepage .feature-tile.light .feature-link { color: var(--brand-dark); }
.capri-homepage .feature-tile.dark .feature-link.buy { color: var(--gold); }
.capri-homepage .feature-tile.light .feature-link.buy { color: var(--gold-dark); }
/* Photo tiles: keep links bright against the dark scrim */
.capri-homepage .feature-tile:has(.feature-image) .feature-link { color: var(--brand); }
.capri-homepage .feature-tile:has(.feature-image) .feature-link.buy { color: var(--gold); }
.capri-homepage .feature-link .arr { font-size: 12px; transition: transform var(--hover-duration) ease; }
.capri-homepage .feature-tile:hover .feature-link .arr { transform: translateX(2px); }
/* Full-bleed background image — sits behind the scrim */
.capri-homepage .feature-image {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.capri-homepage .feature-image img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
}

/* ═══ EVERYTHING YOU NEED TO KNOW ═══ */
.capri-homepage .store-difference { padding: 72px 24px; background: var(--bg); }
.capri-homepage .difference-header { max-width: 1200px; margin: 0 auto; padding: 0 0 36px; }
.capri-homepage .difference-header h2 { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.capri-homepage .difference-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.capri-homepage .difference-item {
    background: var(--white); border-radius: var(--radius-lg); padding: 28px 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    transition: transform var(--hover-duration) var(--hover-ease),
                box-shadow var(--hover-duration) var(--hover-ease);
    cursor: pointer; text-decoration: none; display: block;
}
.capri-homepage .difference-item:hover { transform: scale(1.02); box-shadow: 0 8px 28px rgba(0,0,0,0.10); }
.capri-homepage .difference-icon {
    width: 56px; height: 56px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: 50%;
    border: 1px solid var(--border);
}
.capri-homepage .difference-icon img {
    width: 32px; height: 32px;
    opacity: 0.7;
}
.capri-homepage .difference-item h3 {
    font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.2px;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.capri-homepage .difference-item:nth-child(1) h3 { background-image: linear-gradient(135deg, #e85d26, #f09030); }
.capri-homepage .difference-item:nth-child(2) h3 { background-image: linear-gradient(135deg, #00a3e0, #0082b4); }
.capri-homepage .difference-item:nth-child(3) h3 { background-image: linear-gradient(135deg, #e04040, #c93535); }
.capri-homepage .difference-item:nth-child(4) h3 { background-image: linear-gradient(135deg, #dc9814, #e8b030); }
.capri-homepage .difference-item:nth-child(5) h3 { background-image: linear-gradient(135deg, #6b5ce7, #8b7aed); }
.capri-homepage .difference-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.capri-homepage .difference-more {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; color: var(--brand); margin-top: 12px;
    transition: gap 0.2s;
}
.capri-homepage .difference-item:hover .difference-more { gap: 7px; }

/* ═══ CAPRI ORIGINALS — Dark Immersive Section ═══ */
.capri-homepage .originals-section {
    padding: 80px 0 90px;
    background: #141414;
    overflow: hidden;
}
.capri-homepage .originals-header {
    max-width: 1200px; margin: 0 auto 40px; padding: 0 48px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.capri-homepage .originals-header-left { display: flex; align-items: center; gap: 20px; }
.capri-homepage .originals-logo { height: 48px; width: auto; flex-shrink: 0; }
.capri-homepage .originals-header .eyebrow {
    font-size: 11px; font-weight: 700; color: #dc9814;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px;
}
.capri-homepage .originals-header h2 {
    font-size: 28px; font-weight: 800;
    color: #fff; letter-spacing: -0.5px; line-height: 1.15; margin: 0;
}
.capri-homepage .originals-explore {
    font-size: 13px; font-weight: 600; color: #dc9814;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap 0.2s, color 0.2s;
    white-space: nowrap; flex-shrink: 0;
}
.capri-homepage .originals-explore:hover { gap: 8px; color: #f5e6c8; }
.capri-homepage .originals-track-wrapper { position: relative; max-width: 100%; }
.capri-homepage .originals-track {
    display: flex; gap: 12px; padding: 0 48px;
    overflow-x: auto; scroll-snap-type: x proximity;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.capri-homepage .originals-track::-webkit-scrollbar { display: none; }
.capri-homepage .originals-track { -ms-overflow-style: none; scrollbar-width: none; }
.capri-homepage .originals-fade-left, .capri-homepage .originals-fade-right {
    position: absolute; top: 0; bottom: 0; width: 80px;
    pointer-events: none; z-index: 2; transition: opacity 0.3s ease;
}
.capri-homepage .originals-fade-left {
    left: 0;
    background: linear-gradient(90deg, #141414 0%, transparent 100%);
    opacity: 0; display: none;
}
.capri-homepage .originals-fade-right {
    right: 0;
    background: linear-gradient(-90deg, #141414 0%, transparent 100%);
}
.capri-homepage .originals-fade-right.hidden { opacity: 0; }
.capri-homepage .originals-arrow {
    position: absolute; top: 50%; z-index: 3;
    transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    color: #fff; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s ease, background 0.2s ease;
    user-select: none; -webkit-user-select: none;
}
.capri-homepage .originals-arrow:hover { background: rgba(255,255,255,0.2); }
.capri-homepage .originals-arrow-left { left: 8px; display: none; }
.capri-homepage .originals-arrow-right { right: 8px; }
.capri-homepage .originals-arrow.hidden { display: none; }
.capri-homepage .co-card {
    flex: 0 0 auto; width: 300px;
    border-radius: 8px; overflow: visible; cursor: pointer;
    scroll-snap-align: start; position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.capri-homepage .co-card:hover { transform: scale(1.04); z-index: 10; }
.capri-homepage .co-card-poster {
    width: 100%; aspect-ratio: 16/9;
    border-radius: 8px; overflow: hidden; position: relative;
}
.capri-homepage .co-card-poster img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.capri-homepage .co-card:hover .co-card-poster img { transform: scale(1.08); }
.capri-homepage .co-card-poster-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.capri-homepage .co-card-badge {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border-radius: 4px; padding: 3px 8px;
    font-size: 10px; font-weight: 600;
    color: rgba(255,255,255,0.85); letter-spacing: 0.5px;
}
.capri-homepage .co-card-info { padding: 12px 4px 0; }
.capri-homepage .co-card-info h3 {
    font-size: 16px; font-weight: 700;
    color: #fff; line-height: 1.3; margin-bottom: 4px;
}
.capri-homepage .co-card-info p {
    font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.capri-homepage .co-card-accent {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: #dc9814;
    opacity: 0; transition: opacity 0.3s;
}
.capri-homepage .co-card:hover .co-card-accent { opacity: 1; }
.capri-homepage .originals-cta {
    max-width: 1200px; margin: 36px auto 0; padding: 0 48px; text-align: left;
}
.capri-homepage .originals-link {
    font-size: 15px; font-weight: 600; color: #dc9814;
    display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s, color 0.2s;
}
.capri-homepage .originals-link:hover { gap: 10px; color: #f5e6c8; }

/* ═══ THE CAPRI EXPERIENCE (Benefits Program) ═══ */
.capri-homepage .capri-experience { padding: 80px 24px; background: var(--bg); }
.capri-homepage .experience-header { max-width: 1200px; margin: 0 auto; padding: 0 0 40px; }
.capri-homepage .experience-header h2 { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.capri-homepage .experience-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; max-width: 1200px; margin: 0 auto;
}
.capri-homepage .experience-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; cursor: pointer; text-decoration: none;
    display: flex; flex-direction: column;
    transition: transform var(--hover-duration) var(--hover-ease),
                box-shadow var(--hover-duration) var(--hover-ease);
}
.capri-homepage .experience-card:hover { transform: scale(1.02); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.capri-homepage .experience-card-image {
    width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative;
}
.capri-homepage .experience-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s var(--hover-ease);
}
.capri-homepage .experience-card:hover .experience-card-image img { transform: scale(1.05); }
.capri-homepage .experience-card-icon {
    position: absolute; bottom: -20px; left: 20px; z-index: 2;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.capri-homepage .experience-card-body { padding: 28px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.capri-homepage .experience-card h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.3px;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.capri-homepage .experience-card:nth-child(1) h3 { background-image: linear-gradient(135deg, #e85d26, #f09030); }
.capri-homepage .experience-card:nth-child(2) h3 { background-image: linear-gradient(135deg, #6b5ce7, #8b7aed); }
.capri-homepage .experience-card:nth-child(3) h3 { background-image: linear-gradient(135deg, #2e8b57, #3cb371); }
.capri-homepage .experience-card:nth-child(4) h3 { background-image: linear-gradient(135deg, #e04040, #c93535); }
.capri-homepage .experience-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.capri-homepage .experience-more {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; color: var(--brand); margin-top: auto; padding-top: 12px;
    transition: gap 0.2s;
}
.capri-homepage .experience-card:hover .experience-more { gap: 7px; }

/* ═══ BRAND MOMENT ═══ */
.capri-homepage .brand-moment { padding: 120px 24px; text-align: center; background: var(--white); }
.capri-homepage .brand-moment-inner { max-width: 680px; margin: 0 auto; }
.capri-homepage .brand-moment h2 {
    font-size: clamp(28px, 4.5vw, 44px); font-weight: 800;
    color: var(--text); letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 20px;
}
.capri-homepage .brand-moment h2 .accent { color: var(--brand); }
.capri-homepage .brand-moment p { font-size: 18px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 32px; }
.capri-homepage .brand-moment-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.capri-homepage .brand-link {
    font-size: 18px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.capri-homepage .brand-link:hover { gap: 10px; }
.capri-homepage .brand-link.blue { color: var(--brand); }
.capri-homepage .brand-link.gold { color: var(--gold); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .capri-homepage .feature-tile { width: 340px; }
    .capri-homepage .originals-header { padding: 0 24px; }
    .capri-homepage .originals-track { padding: 0 24px; }
    .capri-homepage .originals-cta { padding: 0 24px; }
    .capri-homepage .co-card { width: 260px; }
    .capri-homepage .experience-grid { grid-template-columns: repeat(2, 1fr); }
    .capri-homepage .difference-inner { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 768px) {
    .capri-homepage .feature-tile { width: 280px; padding: 24px 20px 24px; }
    .capri-homepage .features-arrow { width: 36px; height: 36px; font-size: 16px; }
    .capri-homepage .co-card { width: 220px; }
    .capri-homepage .originals-header { flex-direction: column; align-items: flex-start; padding: 0 16px; }
    .capri-homepage .originals-track { padding: 0 16px; gap: 10px; }
    .capri-homepage .originals-cta { padding: 0 16px; }
    .capri-homepage .originals-arrow { display: none; }
    .capri-homepage .originals-section { padding: 48px 0 56px; }
    .capri-homepage .experience-grid { grid-template-columns: 1fr 1fr; }
    .capri-homepage .difference-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .capri-homepage .hero { height: 55vh; min-height: 380px; }
    .capri-homepage .hero h1 { font-size: 32px; }
    .capri-homepage .hero-content { padding: 0 24px; align-items: center; text-align: center; }
    .capri-homepage .hero h1 { max-width: 100%; }
    .capri-homepage .hero .subtitle { max-width: 100%; }
    .capri-homepage .hero-links { justify-content: center; }
    .capri-homepage .hero::after {
        background: linear-gradient(180deg, rgba(5,5,8,0.55) 0%, rgba(5,5,8,0.80) 100%);
    }
    .capri-homepage .brand-moment { padding: 80px 20px; }
    .capri-homepage .arrival-card { width: 220px; }
    .capri-homepage .arrival-card-image { height: 200px; }
    .capri-homepage .arrivals-header { flex-direction: column; gap: 8px; }
    .capri-homepage .shelf-arrow { width: 36px; height: 36px; font-size: 16px; }
    .capri-homepage .shelf-fade-left, .capri-homepage .shelf-fade-right { width: 40px; }
    .capri-homepage .arrivals-arrow { width: 36px; height: 36px; font-size: 16px; }
    .capri-homepage .arrivals-fade-left, .capri-homepage .arrivals-fade-right { width: 40px; }
}
@media (max-width: 480px) {
    .capri-homepage .difference-inner { grid-template-columns: 1fr 1fr; gap: 10px; }
    .capri-homepage .difference-item { padding: 20px 16px; }
    .capri-homepage .experience-grid { grid-template-columns: 1fr; }
    .capri-homepage .shelf-item { width: 100px; }
    .capri-homepage .shelf-item-image { width: 80px; height: 80px; }
}
