/* ==========================================================================
   Carley Connection — Homepage Sections
   Header, Footer, Hero, Origins, Spotlight, Brand Story, Active Bidding,
   Seasonal Edit, Tailors, Upcoming Auctions, Newsletter
   ========================================================================== */

/* ---------- Announcement Bar ---------- */
.cc-announcement-bar {
    background-color: var(--color-primary-dark);
    color: var(--color-bg-light);
    text-align: center;
    padding: 0.625rem 0;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    width: 100%;
}

.cc-announcement-bar .cc-container {
    display: flex;
    justify-content: center;
}

.cc-announcement-bar__text {
    margin: 0;
    max-width: none;
}

.cc-announcement-bar__link {
    color: var(--color-accent);
    margin-left: var(--space-sm);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Header ----------
   Fixed (not sticky) on all viewports. Sticky + transform is broken in every
   browser — the element detaches from its scroll context, so hide/reveal
   transforms leave it frozen off-screen. Fixed + top:0 + transform works
   consistently and is what every luxury site uses for auto-hide headers. */
.cc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color 0.4s ease, box-shadow 0.4s ease,
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Because the header is fixed, push page content down by the header's height
   so the first pixel of content isn't hidden behind it. */
body:not(.home):not(.single-tailor):not(.cc-fullbleed-hero) .cc-main,
body:not(.home):not(.single-tailor):not(.cc-fullbleed-hero) #cc-main {
    padding-top: 73px;
}

/* But: if the first section inside #cc-main is a full-bleed hero, dark
   teal banner, or any element carrying a hero/banner/page-banner marker,
   the page is designed to open flush under the nav — so remove the
   padding. :has() detects this automatically across every template
   without needing per-page body classes. Supported in all modern browsers. */
body:not(.home) #cc-main:has(> .cc-page-banner:first-child),
body:not(.home) #cc-main:has(> .cc-tp-hero:first-child),
body:not(.home) #cc-main:has(> .cc-pdp:first-child),
body:not(.home) #cc-main:has(> .cc-section--bg-dark:first-child),
body:not(.home) #cc-main:has(> .cc-section--full-bleed:first-child),
body:not(.home) #cc-main:has(> [class*="__hero"]:first-child),
body:not(.home) #cc-main:has(> [class*="-hero"]:first-child),
body:not(.home) #cc-main:has(> [class*="banner"]:first-child),
body:not(.home) .cc-main:has(> .cc-page-banner:first-child),
body:not(.home) .cc-main:has(> .cc-tp-hero:first-child),
body:not(.home) .cc-main:has(> .cc-pdp:first-child),
body:not(.home) .cc-main:has(> .cc-section--bg-dark:first-child),
body:not(.home) .cc-main:has(> .cc-section--full-bleed:first-child),
body:not(.home) .cc-main:has(> [class*="__hero"]:first-child),
body:not(.home) .cc-main:has(> [class*="-hero"]:first-child),
body:not(.home) .cc-main:has(> [class*="banner"]:first-child) {
    padding-top: 0 !important;
}

.cc-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Hide-on-scroll-down reveal-on-scroll-up (professional nav pattern — applies
   on all viewports now). Mobile/tablet also declares this rule inside its own
   fixed-position stack; this is the desktop counterpart. */
.cc-header.is-hidden {
    transform: translateY(-100%);
}

/* WP admin bar offset */
.admin-bar .cc-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .cc-header {
        top: 46px;
    }
}

.cc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-xl);
}

/* Logo */
.cc-header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

/* Brand-manual logo: complete SVG that bundles the interlocking circles +
   the custom "carley's connections" typography. Sized via height so the
   typography stays in proportion with the emblem. The SVG ships with its
   own teal + gold from the brand manual — do not recolour via CSS. */
.cc-header__logo-full {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .cc-header__logo-full { height: 36px; }
}

.cc-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.cc-header__logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-primary-dark);
}

.cc-header__logo-tagline {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Nav */
.cc-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cc-header__menu {
    display: flex;
    gap: var(--space-2xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.cc-header__menu li a,
.cc-header__menu .menu-item a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.25rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.cc-header__menu li a::after,
.cc-header__menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-primary-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.cc-header__menu li a:hover,
.cc-header__menu .current-menu-item a {
    color: var(--color-primary-dark);
}

.cc-header__menu li a:hover::after,
.cc-header__menu .current-menu-item a::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header actions */
.cc-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.cc-header__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--transition-fast);
    border-radius: 50%;
    position: relative;
}

.cc-header__action-btn:hover {
    color: var(--color-primary-dark);
}

.cc-header__cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-text);
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Unread-notifications badge lives on the account icon. Red dot with count. */
.cc-header__account {
    position: relative;
}
.cc-header__account-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background-color: #c3342b;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.96);
}

/* Auctions CTA — dedicated navbar button surfacing the live-auctions flow.
   Hover effect combines a gold-velvet ink sweep (left→right fill) with the
   red dot intensifying. Idle state pulses gently. */
.cc-header__auctions-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--color-primary, #203f43);
    border-radius: 999px;
    background: transparent;
    color: var(--color-primary, #203f43);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    overflow: hidden;
    z-index: 0;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

/* The brand-gold sweep — solid --color-accent (#facb58), no gradient.
   Grows from 0 to full width with a luxurious cubic-bezier ease so it
   still feels hand-drawn, not mechanical. */
.cc-header__auctions-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--color-accent, #facb58);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.cc-header__auctions-cta:hover,
.cc-header__auctions-cta:focus-visible {
    color: var(--color-primary, #203f43);
    border-color: var(--color-accent, #facb58);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -8px rgba(250, 203, 88, 0.45), 0 2px 6px rgba(32, 63, 67, 0.08);
}

.cc-header__auctions-cta:hover::before,
.cc-header__auctions-cta:focus-visible::before {
    transform: scaleX(1);
}

/* Reverse the sweep on leave — right-to-left exit makes the transition
   feel like a single continuous brush stroke rather than a snap-back. */
.cc-header__auctions-cta:not(:hover):not(:focus-visible)::before {
    transform-origin: right center;
}

/* Red "live" dot — idle pulse, intensifies on hover. */
.cc-header__auctions-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e74c3c;
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    animation: cc-auctions-dot-pulse 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
    position: relative;
    z-index: 1;
}

.cc-header__auctions-cta:hover .cc-header__auctions-dot {
    transform: scale(1.25);
    background: #c0392b;
    animation: cc-auctions-dot-pulse-strong 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* The label rides above the sweep and stays crisp. */
.cc-header__auctions-label {
    position: relative;
    z-index: 1;
}

@keyframes cc-auctions-dot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.55); }
    70%  { box-shadow: 0 0 0 6px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

@keyframes cc-auctions-dot-pulse-strong {
    0%   { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.65); }
    70%  { box-shadow: 0 0 0 10px rgba(192, 57, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}

/* Respect users who prefer reduced motion — no sweep, no lift, no pulse. */
@media (prefers-reduced-motion: reduce) {
    .cc-header__auctions-cta,
    .cc-header__auctions-cta::before,
    .cc-header__auctions-dot {
        transition: none !important;
        animation: none !important;
    }
    .cc-header__auctions-cta:hover {
        background: var(--color-primary, #203f43);
        color: #fff;
        transform: none;
    }
}

/* Tablet & below: hide the top-bar Auctions pill entirely.
   - On tablet (768-1024) it's redundant with the "AUCTIONS" link in the primary nav
     AND there isn't enough room for logo + primary nav + actions + pill.
   - On mobile (<768) the bottom tab bar owns the Auctions entry.
   - The pill only shows on desktop (≥1025) where there's room for both nav + pill. */
@media (max-width: 1024px) {
    .cc-header__auctions-cta {
        display: none !important;
    }
    /* Tighten action spacing at tablet so Search + Account + Cart stay on-screen */
    .cc-header__actions {
        gap: 4px;
    }
}

/* Mobile: minimal action gap so remaining icons fit at 375px */
@media (max-width: 767.98px) {
    .cc-header__actions {
        gap: 4px;
    }
    .cc-header__auctions-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .cc-header__auctions-dot {
        width: 9px;
        height: 9px;
    }
}

/* Mobile menu toggle */
.cc-header__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.cc-header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.cc-header__hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-text);
    transition: all var(--transition-base);
    transform-origin: center;
}

.cc-header__menu-toggle[aria-expanded="true"] .cc-header__hamburger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.cc-header__menu-toggle[aria-expanded="true"] .cc-header__hamburger span:nth-child(2) {
    opacity: 0;
}

.cc-header__menu-toggle[aria-expanded="true"] .cc-header__hamburger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Search overlay */
.cc-search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-xl) 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.cc-search-overlay.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cc-search-overlay__form {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cc-search-overlay__input {
    flex: 1;
    border: none;
    border-bottom: 2px solid var(--color-primary-dark);
    padding: var(--space-md) 0;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    background: none;
    outline: none;
}

.cc-search-overlay__input::placeholder {
    color: var(--color-text-muted);
}

.cc-search-overlay__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    color: var(--color-text);
    cursor: pointer;
}

/* ---------- Hero Section ---------- */
.cc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-primary-dark);
}

.cc-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-hero__bg--placeholder {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0d3230 100%);
}

/* Video background — a muted, looping YouTube iframe sized to cover the
   full-viewport hero (16:9 frame covering 100vw x 100vh, centered). */
.cc-hero__video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.cc-hero__video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    /* The brand film is letterboxed inside its 16:9 frame (content ~2.36:1),
       so the frame is oversized ~35% to crop the baked-in black bars. */
    width: max(100vw, 240vh);
    height: max(135vh, 56.25vw);
    transform: translate(-50%, -50%);
    border: 0;
}

/* Stronger overlay over video so the hero text stays readable on bright frames. */
.cc-hero--video .cc-hero__overlay {
    background: linear-gradient(90deg, rgba(21, 41, 44, 0.62) 0%, rgba(21, 41, 44, 0.32) 55%, rgba(21, 41, 44, 0.18) 100%);
}

.cc-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.cc-hero__content {
    position: relative;
    z-index: 1;
    max-width: 768px;
    color: #fffcfb;
    padding-inline: clamp(48px, 7vw, 96px);
}

/* Eyebrow — gold left border + spaced uppercase */
.cc-hero__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 200;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fffcfb;
    opacity: 0.9;
    border-left: 2px solid #facb58;
    padding-left: 18px;
    margin-bottom: 24px;
}

/* Title — massive high-contrast serif matching Figma exactly */
.cc-hero__title {
    font-family: var(--font-heading);
    font-size: 96px;
    font-weight: 400;
    color: #fffcfb;
    line-height: 1.05;
    margin-bottom: 32px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Description */
.cc-hero__description {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 200;
    color: #fffcfb;
    opacity: 0.9;
    max-width: 434px;
    margin-bottom: 48px;
    line-height: 1.4;
}

/* CTA buttons — two side by side */
.cc-hero__cta-group {
    display: flex;
    gap: 24px;
    align-items: center;
}

.cc-hero__cta {
    transition: all var(--transition-base);
}

/* Primary CTA — gold */
.cc-hero__cta--primary {
    background-color: #facb58;
    color: #203f43;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 20px 48px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cc-hero__cta--primary:hover {
    background-color: var(--color-accent-hover);
    color: #203f43;
}

/* Secondary CTA — glass border with subtle scrim so text stays legible over varying image brightness */
.cc-hero__cta--secondary {
    background: rgba(0, 0, 0, 0.18);
    color: #fffcfb;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 21px 49px;
    border: 1px solid rgba(250, 249, 247, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cc-hero__cta--secondary:hover {
    background: rgba(250, 249, 247, 0.1);
    color: #fffcfb;
    border-color: rgba(250, 249, 247, 0.8);
}

/* ---------- Curated by Place / Origins ---------- */
.cc-origins__heading {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 400;
    color: #203f43;
    line-height: 1;
}

.cc-origins__subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 200;
    color: #3f4848;
    opacity: 0.75;
    line-height: 1.55;
    max-width: 50ch;
    margin-top: var(--space-lg);
}

.cc-origins__link {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 200;
    letter-spacing: 3.6px;
    color: #203f43;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.cc-origins__link:hover {
    color: var(--color-primary);
}

.cc-origins__grid-wrap {
    position: relative;
    overflow: hidden;
}

/* Right-edge fade mask — Figma editorial crop */
.cc-origins__grid-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 120px;
    background: linear-gradient(to right, rgba(244, 243, 241, 0), #f4f3f1);
    pointer-events: none;
    z-index: 2;
}

/* Slide navigation arrows */
.cc-origins__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary-dark);
    opacity: 0;
    transition: opacity 0.4s ease, background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.cc-origins__grid-wrap:hover .cc-origins__nav {
    opacity: 1;
}

.cc-origins__nav:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-60%) scale(1.08);
}

.cc-origins__nav--disabled {
    opacity: 0.2 !important;
    pointer-events: none;
}

.cc-origins__nav--prev {
    left: 20px;
}

.cc-origins__nav--next {
    right: 20px;
}

.cc-origins__grid {
    display: flex;
    gap: 48px;
    align-items: start;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 100px;
    padding-bottom: var(--space-lg);
    cursor: grab;
    user-select: none;
}

.cc-origins__grid::-webkit-scrollbar {
    display: none;
}

.cc-origins__grid:active {
    cursor: grabbing;
}

.cc-origins__card {
    width: 400px;
    min-width: 400px;
    flex-shrink: 0;
}

.cc-origins__card {
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
}

/* Stagger: odd cards top, even cards offset down */
.cc-origins__card:nth-child(odd) {
    padding-top: 0;
}

.cc-origins__card:nth-child(even) {
    padding-top: 80px;
}

.cc-origins__image {
    overflow: hidden;
    height: 550px;
    background-color: var(--color-bg-light);
}

.cc-origins__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all var(--transition-slow);
}

.cc-origins__card:hover .cc-origins__image img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.cc-origins__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #C4B99A 0%, #A89B7C 40%, #8B7D5E 100%);
}

/* Coming Soon badge — sits over the image, top-right corner. The card
   becomes non-clickable (rendered as <div> instead of <a>), so we also
   damp the hover affordance. */
.cc-origins__card--soon { cursor: default; }
.cc-origins__card--soon:hover .cc-origins__image img,
.cc-origins__card--soon .cc-origins__image img {
    filter: grayscale(100%);
    transform: none;
}
.cc-origins__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(32, 63, 67, 0.9);
    color: var(--color-accent, #facb58);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 2px;
    backdrop-filter: blur(2px);
    z-index: 2;
}
.cc-origins__image { position: relative; }

.cc-origins__label {
    padding-top: var(--space-xl);
}

.cc-origins__name {
    font-family: var(--font-heading);
    font-size: 36px;
    font-style: italic;
    font-weight: 400;
    color: #203f43;
    line-height: 40px;
    margin-bottom: var(--space-sm);
}

.cc-origins__desc {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 200;
    color: #3f4848;
    opacity: 0.8;
    max-width: 320px;
    line-height: 22.75px;
}

/* ---------- Auction Spotlight ---------- */
.cc-spotlight {
    padding-top: clamp(6rem, 12vw, 12rem);
    padding-bottom: var(--section-spacing);
}

.cc-spotlight__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.cc-spotlight__image {
    position: relative;
    background-color: #152a2d;
    overflow: visible;
}

.cc-spotlight__image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    opacity: 0.9;
}

.cc-spotlight__placeholder {
    height: 700px;
    background: linear-gradient(135deg, #152a2d, #0d3230);
}

.cc-spotlight__bid-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background-color: #fffcfb;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: auto;
    min-width: 220px;
    z-index: 2;
}

.cc-spotlight__bid-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.cc-spotlight__bid-amount {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: #152a2d;
    line-height: 40px;
    margin-bottom: var(--space-md);
    white-space: nowrap;
}

.cc-spotlight__bid-label {
    color: #152a2d;
    opacity: 0.6;
}

.cc-spotlight__bid-cta {
    background-color: #152a2d !important;
    color: var(--color-bg-light) !important;
}

.cc-spotlight__eyebrow {
    color: #57a5b1;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.4em;
}

.cc-spotlight__title {
    font-size: var(--text-5xl);
    color: var(--color-bg-light);
    margin-bottom: var(--space-xl);
    line-height: 1.1;
}

.cc-spotlight__desc {
    font-size: var(--text-md);
    color: rgba(255, 252, 251, 0.75);
    margin-bottom: var(--space-2xl);
    max-width: 45ch;
}

.cc-spotlight .cc-countdown {
    margin-bottom: var(--space-2xl);
}

.cc-spotlight .cc-countdown__number {
    color: var(--color-bg-light);
}

.cc-spotlight .cc-countdown__text {
    color: rgba(255, 252, 251, 0.5);
}

.cc-spotlight__story-link {
    color: var(--color-bg-light);
    font-size: var(--text-sm);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 400;
    border-bottom: 1px solid rgba(250, 249, 247, 0.3);
    padding-bottom: var(--space-sm);
    display: inline-block;
    gap: 0;
}

.cc-spotlight__story-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.cc-spotlight__story-link svg {
    display: none;
}

/* ---------- Brand Story ---------- */
.cc-brand-story {
    background-color: var(--color-bg-light);
}

.cc-brand-story__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding-inline: var(--space-md);
}

.cc-brand-story__media {
    position: relative;
    padding: var(--space-xl);
}

.cc-brand-story__image-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transform: rotate(3deg);
    aspect-ratio: 1 / 1;
}

.cc-brand-story__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.cc-brand-story__image--placeholder {
    background: linear-gradient(135deg, #8B7355 0%, #6B5B44 50%, #5D4E3A 100%);
}

.cc-brand-story__quote {
    position: absolute;
    bottom: 0;
    right: -2rem;
    max-width: 240px;
    background-color: var(--color-bg-white);
    padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.cc-brand-story__quote p {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-primary-dark);
    line-height: 1.4;
    margin: 0;
}

.cc-brand-story__heading {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1.25;
    margin-bottom: var(--space-2xl);
    color: var(--color-primary-dark);
}

.cc-brand-story__heading em {
    font-style: italic;
}

.cc-brand-story__body {
    margin-bottom: var(--space-2xl);
}

.cc-brand-story__body p {
    font-size: var(--text-md);
    color: #3b6566;
    line-height: 1.65;
}

.cc-brand-story__cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
}

.cc-brand-story__cta-line {
    width: 48px;
    height: 1px;
    background-color: #bfc8c8;
    flex-shrink: 0;
}

.cc-brand-story__cta a {
    color: var(--color-primary-dark);
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.cc-brand-story__cta a:hover {
    color: var(--color-primary);
}

/* ---------- Active Bidding ---------- */
.cc-active-bidding {
    background-color: #eaeff0;
}

.cc-active-bidding__meta {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 200;
    color: black;
    margin-top: var(--space-md);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Refined live pill — deep teal pill with red signal dot reads as luxury "live" indicator */
.cc-active-bidding .cc-badge--live {
    background-color: #203f43;
    color: #fffcfb;
    border: 1px solid rgba(250, 203, 88, 0.35);
    font-weight: 400;
    letter-spacing: 2.4px;
    padding: 10px 20px;
}

.cc-active-bidding .cc-badge--live::before {
    background-color: #d44141;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 0 rgba(212, 65, 65, 0.55);
    animation: cc-live-pulse 1.6s ease-out infinite;
}

@keyframes cc-live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(212, 65, 65, 0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(212, 65, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 65, 65, 0); }
}

.cc-active-bidding .cc-section-header {
    align-items: center;
}

.cc-active-bidding .cc-section-header__title {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 400;
    color: #203f43;
}

.cc-active-bidding__grid-wrap {
    position: relative;
}

.cc-active-bidding__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

/* Two cards — pair them side-by-side with breathing room rather than leaving a 3rd empty column */
.cc-active-bidding__grid:has(.cc-auction-card:nth-child(2)):not(:has(.cc-auction-card:nth-child(3))) {
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
}

/* Single card — render as a wide feature card so it doesn't float in empty space */
.cc-active-bidding__grid:not(:has(.cc-auction-card:nth-child(2))) {
    grid-template-columns: minmax(480px, 720px);
    justify-content: center;
}

.cc-active-bidding__grid:not(:has(.cc-auction-card:nth-child(2))) .cc-auction-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.cc-active-bidding__grid:not(:has(.cc-auction-card:nth-child(2))) .cc-auction-card__image {
    aspect-ratio: 4 / 5;
    margin: 0;
}

.cc-active-bidding__grid:not(:has(.cc-auction-card:nth-child(2))) .cc-auction-card__body {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hide nav arrows when there is nothing to scroll */
.cc-active-bidding__grid-wrap.is-no-overflow .cc-active-bidding__nav {
    display: none !important;
}

/* Slide navigation arrows — desktop hidden by default, shown on hover only when overflowing */
.cc-active-bidding__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary-dark);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.cc-active-bidding__nav:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.cc-active-bidding__nav--disabled {
    opacity: 0.25 !important;
    pointer-events: none;
}

.cc-active-bidding__nav--prev { left: -22px; }
.cc-active-bidding__nav--next { right: -22px; }

/* Override auction card for this section */
.cc-active-bidding .cc-auction-card {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    box-shadow: none;
}

.cc-active-bidding .cc-auction-card:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

.cc-active-bidding .cc-auction-card__image {
    aspect-ratio: 4 / 5;
    border-radius: 0;
    overflow: hidden;
}

.cc-active-bidding .cc-auction-card__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.cc-active-bidding .cc-auction-card__meta {
    gap: var(--space-md);
}

.cc-active-bidding .cc-auction-card__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #1a1c1b;
}

.cc-active-bidding .cc-auction-card__timer {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 200;
    color: #ba1a1a;
}

.cc-active-bidding .cc-auction-card__price {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 200;
    color: #203f43;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cc-active-bidding .cc-auction-card__action .cc-btn {
    background-color: #facb58;
    color: black;
    border: none;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 3px;
    padding: 16px;
    text-transform: uppercase;
}

.cc-active-bidding .cc-auction-card__action .cc-btn:hover {
    background-color: var(--color-accent-hover);
}

/* ---------- Seasonal Edit ---------- */
.cc-seasonal__header {
    margin-bottom: var(--space-3xl);
}

.cc-seasonal__eyebrow {
    color: rgba(255, 252, 251, 0.5);
    display: block;
    margin-bottom: var(--space-sm);
}

.cc-seasonal__title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-style: italic;
    color: var(--color-bg-light);
}

.cc-seasonal__mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    min-height: 600px;
}

.cc-seasonal__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

/* First item spans 1 column, 2 rows (tall) */
.cc-seasonal__item--1 {
    grid-row: 1 / 3;
}

/* Mosaic count-based fixes apply only at desktop widths. Mobile uses a
   2-column grid via the responsive override below and doesn't need these. */
@media (min-width: 1025px) {
    /* Only 4 items — widen item 4 across the bottom-right so no empty cell. */
    .cc-seasonal__mosaic:has(.cc-seasonal__item--4):not(:has(.cc-seasonal__item--5)) {
        grid-template-rows: minmax(220px, 1fr) minmax(220px, 1fr);
        max-height: 960px;
    }
    .cc-seasonal__mosaic:has(.cc-seasonal__item--4):not(:has(.cc-seasonal__item--5)) .cc-seasonal__item--4 {
        grid-column: 2 / 4;
    }
    /* Only 3 items — collapse the second row. */
    .cc-seasonal__mosaic:not(:has(.cc-seasonal__item--4)) {
        grid-template-rows: 1fr;
    }
    .cc-seasonal__mosaic:not(:has(.cc-seasonal__item--4)) .cc-seasonal__item--1 {
        grid-row: 1 / 2;
    }
}

.cc-seasonal__image {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
}

.cc-seasonal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cc-seasonal__item:hover .cc-seasonal__image img {
    transform: scale(1.05);
}

.cc-seasonal__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.cc-seasonal__item:hover .cc-seasonal__overlay {
    opacity: 1;
    transform: translateY(0);
}

.cc-seasonal__name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: white;
    margin-bottom: var(--space-xs);
}

.cc-seasonal__price {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Tailors Section ---------- */
.cc-tailors-section {
    background-color: var(--color-bg-cream);
    border-top: 1px solid rgba(85, 66, 0, 0.05);
    border-bottom: 1px solid rgba(85, 66, 0, 0.05);
}

.cc-tailors-section__header {
    margin-bottom: var(--space-4xl);
}

.cc-tailors-section__eyebrow {
    color: var(--color-primary, #57a5b1);
    display: block;
    margin-bottom: var(--space-md);
    letter-spacing: 0.4em;
}

.cc-tailors-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 400;
    color: var(--color-primary-dark);
    line-height: 1;
}

/* Lead copy + pull-quote merged in from the former "Handcrafted" section. */
.cc-tailors-section__intro {
    margin: 24px 0 0;
    max-width: 62ch;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(32, 63, 67, 0.72);
}
.cc-tailors-section__quote {
    margin: 22px 0 0;
    max-width: 54ch;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 22px;
    line-height: 1.45;
    color: var(--color-primary-dark);
}
.cc-tailors-section__quote p {
    margin: 0;
}

.cc-tailors-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4xl);
    align-items: start;
}

/* Stagger: middle card offset down like Figma */
.cc-tailor-card--2 {
    margin-top: 8rem;
}

/* Tailor card image */
.cc-tailor-card__image {
    aspect-ratio: 1 / 1.15;
    display: block;
    overflow: hidden;
    margin-bottom: var(--space-2xl);
}

/* Grayscale-to-color hover on images */
.cc-tailor-card__image img {
    filter: grayscale(100%) contrast(1.05);
    transition: filter var(--transition-slow), transform var(--transition-slow);
}

.cc-tailor-card:hover .cc-tailor-card__image img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.02);
}

/* Tailor name */
.cc-tailor-card__name {
    margin-bottom: var(--space-xs);
}

/* Specialization subtitle */
.cc-tailor-card__spec {
    display: block;
    color: #57a5b1;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-lg);
}

/* Quote */
.cc-tailor-card__quote {
    font-size: var(--text-base);
    color: var(--color-text-light);
    opacity: 0.8;
    line-height: 1.65;
    margin-bottom: var(--space-xl);
}

/* ---------- Upcoming Auctions ---------- */
.cc-upcoming__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.cc-upcoming__card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-decoration: none;
    color: var(--color-bg-light);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 252, 251, 0.15);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.cc-upcoming__card:hover {
    border-color: var(--color-accent);
    background-color: rgba(255, 252, 251, 0.03);
    color: var(--color-bg-light);
}

.cc-upcoming__date {
    font-size: var(--text-xs);
    color: rgba(255, 252, 251, 0.5);
    letter-spacing: 0.12em;
}

.cc-upcoming__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-bg-light);
    line-height: 1.2;
}

.cc-upcoming__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
}

.cc-upcoming__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cc-upcoming__card:hover .cc-upcoming__image img {
    transform: scale(1.03);
}

.cc-upcoming__countdown {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
}

.cc-upcoming__starts-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 252, 251, 0.5);
}

.cc-upcoming__timer {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
}

/* ---------- Newsletter Section ---------- */
.cc-newsletter-section {
    background-color: var(--color-sky, #CAE6EF);
    text-align: center;
}

.cc-newsletter-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-style: italic;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
}

.cc-newsletter-section__subtitle {
    font-size: var(--text-md);
    color: var(--color-text-light);
    margin: 0 auto var(--space-2xl);
}

.cc-newsletter-form {
    max-width: 560px;
    margin-inline: auto;
}

.cc-newsletter-form__inner {
    display: flex;
    gap: 0;
}

.cc-newsletter-form__input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background-color: var(--color-bg-white);
    font-size: var(--text-base);
    outline: none;
}

.cc-newsletter-form__input:focus {
    box-shadow: inset 0 0 0 2px var(--color-primary-dark);
}

.cc-newsletter-form__btn {
    flex-shrink: 0;
}

.cc-newsletter-form__message {
    font-size: var(--text-sm);
    margin-top: var(--space-md);
}

.cc-newsletter-form__message--success {
    color: var(--color-success);
}

.cc-newsletter-form__message--error {
    color: var(--color-error);
}

/* ---------- Footer ---------- */
.cc-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-bg-light);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.cc-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 252, 251, 0.12);
}

.cc-footer__logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-style: italic;
    color: var(--color-accent);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-lg);
}

.cc-footer__logo-img {
    height: 180px;
    width: auto;
    display: block;
    margin-bottom: var(--space-lg);
}

.cc-footer__tagline {
    font-size: var(--text-sm);
    color: rgba(255, 252, 251, 0.6);
    line-height: 1.7;
    max-width: 28ch;
}

.cc-footer__heading {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 400;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
}

.cc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cc-footer__links a {
    display: inline-block;
    padding: 6px 0;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 252, 251, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cc-footer__links a:hover {
    color: var(--color-bg-light);
}

.cc-footer__newsletter-text {
    font-size: var(--text-sm);
    color: rgba(255, 252, 251, 0.6);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.cc-footer__newsletter-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 252, 251, 0.3);
}

.cc-footer__newsletter-input {
    flex: 1;
    background: none;
    border: none;
    padding: var(--space-sm) 0;
    color: var(--color-bg-light);
    font-size: var(--text-sm);
    outline: none;
}

.cc-footer__newsletter-input::placeholder {
    color: rgba(255, 252, 251, 0.4);
}

.cc-footer__newsletter-submit {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: var(--space-sm);
    transition: color var(--transition-fast);
}

.cc-footer__newsletter-submit:hover {
    color: var(--color-bg-light);
}

/* Footer bottom */
.cc-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
}

.cc-footer__copyright {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 252, 251, 0.4);
    margin: 0;
}

.cc-footer__legal {
    display: flex;
    gap: var(--space-2xl);
}

.cc-footer__legal a {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 252, 251, 0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cc-footer__legal a:hover {
    color: var(--color-bg-light);
}

/* ---------- Mini-Cart Slide-Out Drawer ---------- */
.cc-mini-cart {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    pointer-events: none;
    visibility: hidden;
}

.cc-mini-cart.is-open {
    pointer-events: auto;
    visibility: visible;
}

.cc-mini-cart__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.cc-mini-cart.is-open .cc-mini-cart__overlay {
    background: rgba(0, 0, 0, 0.3);
}

.cc-mini-cart__drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: white;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
}

.cc-mini-cart.is-open .cc-mini-cart__drawer {
    transform: translateX(0);
}

.cc-mini-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-border-light);
}

.cc-mini-cart__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #203f43;
    margin: 0;
}

.cc-mini-cart__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cc-mini-cart__close:hover {
    color: var(--color-text);
}

.cc-mini-cart__items {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.cc-mini-cart__item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.cc-mini-cart__item-img {
    width: 64px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.cc-mini-cart__item-info {
    flex: 1;
    min-width: 0;
}

.cc-mini-cart__item-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text);
    display: block;
    margin-bottom: 4px;
}

.cc-mini-cart__item-qty {
    font-size: 13px;
    color: var(--color-text-muted);
}

.cc-mini-cart__item-remove {
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.cc-mini-cart__item-remove:hover {
    color: var(--color-live);
}

.cc-mini-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 64px 0;
    text-align: center;
}

.cc-mini-cart__empty p {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-muted);
}

.cc-mini-cart__footer {
    padding: 24px 32px;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cc-mini-cart__subtotal {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: #203f43;
}

.cc-mini-cart__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #203f43;
    color: white;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.cc-mini-cart__checkout-btn:hover {
    background: #2c555b;
    color: white;
}

.cc-mini-cart__cart-link {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    text-align: center;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cc-mini-cart__cart-link:hover {
    color: #203f43;
}

/* ==========================================================================
   Responsive — Mobile-first breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    /* Origins grid — responsive */
    .cc-origins__card {
        min-width: 320px;
    }
    .cc-origins__heading {
        font-size: 42px;
    }

    /* Spotlight */
    .cc-spotlight__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .cc-spotlight__image {
        max-width: 500px;
    }

    /* Brand story */
    .cc-brand-story__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    /* Active bidding */
    .cc-active-bidding__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Seasonal mosaic */
    .cc-seasonal__mosaic {
        grid-template-columns: repeat(2, 1fr);
        min-height: 400px;
    }

    /* Tailors */
    .cc-tailors-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cc-tailor-card--2 {
        margin-top: 0;
    }

    /* Upcoming */
    .cc-upcoming__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .cc-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    /* Header mobile */
    .cc-header__menu-toggle {
        display: flex;
    }

    .cc-header__nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-2xl);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: var(--z-overlay);
    }

    .cc-header__nav.is-open {
        transform: translateX(0);
    }

    .cc-header__menu {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .cc-header__menu li a,
    .cc-header__menu .menu-item a {
        font-size: var(--text-2xl);
        font-family: var(--font-heading);
        text-transform: none;
        letter-spacing: 0;
        font-weight: 400;
    }

    /* Hero */
    .cc-hero {
        min-height: 85vh;
    }

    .cc-hero__title {
        font-size: 48px;
    }

    .cc-hero__description {
        font-size: 16px;
    }

    .cc-hero__cta-group {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    /* Grids go single column */
    .cc-origins__card {
        min-width: 280px;
    }
    .cc-active-bidding__grid,
    .cc-tailors-section__grid,
    .cc-upcoming__grid {
        grid-template-columns: 1fr;
    }

    .cc-origins__card:nth-child(even) {
        padding-top: 0;
    }

    /* Seasonal mosaic: keep 2-col grid on mobile so users see 4 items in 2 rows */
    .cc-seasonal__mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 12px;
        min-height: auto;
    }

    .cc-seasonal__item {
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 4 / 5;
    }

    .cc-seasonal__item--1 {
        grid-row: auto;
    }

    .cc-seasonal__item {
        aspect-ratio: 4 / 3;
    }

    /* Touch devices have no hover — always show product name + price overlay. */
    .cc-seasonal__overlay {
        opacity: 1;
        transform: none;
        padding: 12px 14px;
        background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    }
    .cc-seasonal__name {
        font-size: 14px;
        font-style: italic;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .cc-seasonal__price {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Spotlight bid card — overlaps bottom-right of image on mobile/tablet */
    .cc-spotlight__bid-card {
        position: absolute;
        bottom: -16px;
        right: 12px;
        left: auto;
        top: auto;
        margin: 0;
        display: flex;
        padding: 18px 20px;
        min-width: 160px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    }

    /* Newsletter */
    .cc-newsletter-form__inner {
        flex-direction: column;
    }

    .cc-newsletter-form__btn {
        width: 100%;
    }

    /* Footer */
    .cc-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .cc-footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .cc-footer__legal {
        gap: var(--space-lg);
    }

    /* Search */
    .cc-search-overlay__input {
        font-size: var(--text-2xl);
    }

    /* Countdown */
    .cc-spotlight .cc-countdown__number {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .cc-hero {
        min-height: 75vh;
    }

    .cc-hero__title {
        font-size: 40px;
    }

    .cc-header__inner {
        height: 60px;
    }

    .cc-header__logo-icon {
        width: 32px;
        height: 32px;
    }

    .cc-header__logo-name {
        font-size: 1.25rem;
    }
}
