@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Dancing+Script:wght@400;500&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --white: #ffffff;
    --off-white: #ffffff;
    --ghost: #f0f0f0;
    --silver: #cccccc;
    --mist: #999999;
    --slate: #555555;
    --charcoal: #222222;
    --ink: #000000;
    --black: #000000;

    /* High-contrast surface tones — pure white only */
    --cream: #ffffff;
    --cream-dark: #f0f0f0;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-script: 'Dancing Script', cursive;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s var(--ease-out-expo);
    --transition-medium: 0.5s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 16px;

    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.18);
    --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.22);
    --shadow-dramatic: 0 24px 60px rgba(0, 0, 0, 0.32);

    --container-max: 1440px;
    --container-narrow: 900px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   SCROLL REVEAL ANIMATION SYSTEM
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-children .reveal:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-children .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ============================================
   HEADER / NAVIGATION — Centered Logo Layout
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    transition: var(--transition-medium);
}

.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px clamp(24px, 4vw, 64px) 16px;
    gap: 24px;
}

.header.scrolled {
    box-shadow: var(--shadow-subtle);
}

/* Left nav */
.nav-left {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Center logo */
.logo-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    color: var(--ink);
}

.logo-center:hover {
    opacity: 0.75;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-brand {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--ink);
}

.logo-tagline {
    font-family: var(--font-script);
    font-size: 14px;
    font-weight: 400;
    color: var(--charcoal);
    margin-top: 2px;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Horizontal rule beneath logo text */
.logo-rule {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.logo-rule::before,
.logo-rule::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--black);
}

/* Right nav */
.nav-right {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: flex-end;
}

.nav-links-left,
.nav-links-right {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links-left a,
.nav-links-right a {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--black);
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.nav-links-left a::after,
.nav-links-right a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width var(--transition-medium);
}

.nav-links-left a:hover,
.nav-links-right a:hover {
    color: var(--black);
}

.nav-links-left a:hover::after,
.nav-links-right a:hover::after {
    width: 100%;
}

.nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: var(--transition-fast);
}

.nav-cart-link:hover {
    color: var(--black);
}

.nav-cart-svg {
    width: 20px;
    height: 20px;
    stroke: var(--black);
    stroke-width: 1.5;
    fill: none;
    transition: var(--transition-fast);
}

.nav-cart-link:hover .nav-cart-svg {
    stroke: var(--slate);
    transform: translateY(-1px);
}

.nav-cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--black);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 1px solid var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Legacy logo support */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.7;
}

.logo-icon {
    width: 80px;
    height: 40px;
}

.logo-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 48px;
    align-items: center;
}

.nav-links a {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--charcoal);
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width var(--transition-medium);
}

.nav-links a:hover {
    color: var(--black);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 5px;
}

.nav-cart:hover {
    transform: translateY(-2px);
}

.cart-icon {
    width: 22px;
    height: 22px;
    stroke: var(--charcoal);
    fill: var(--white);
    transition: var(--transition-fast);
}

.nav-cart.filled .cart-icon {
    fill: var(--black);
    stroke: var(--black);
}

.nav-cart:hover .cart-icon {
    stroke: var(--black);
}

/* ============================================
   HOMEPAGE HERO — Full-width Image Panel
   ============================================ */
.homepage-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 90px);
    margin-top: 90px;
}

/* Left: Full bleed hero image with text */
.hero-image-panel {
    position: relative;
    overflow: hidden;
}

.collections-panel-section {
    padding: 24px clamp(24px, 5vw, 80px) 0;
    background: var(--white);
}

.collections-panel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.collections-panel-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    border: 1px solid var(--silver);
    background: var(--white);
    text-decoration: none;
}

.collections-panel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: transform 0.6s var(--ease-out-expo), filter 0.6s ease;
}

.collections-panel-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.collections-panel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.collections-panel-overlay span {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.25;
}

.hero-image-panel img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.92);
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.homepage-hero:hover .hero-image-panel img {
    transform: scale(1);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    pointer-events: none;
}

.hero-text-block {
    position: absolute;
    bottom: 64px;
    left: 48px;
    right: 48px;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: transparent;
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 1px solid var(--white);
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateX(-101%);
    transition: transform var(--transition-medium);
}

.hero-cta:hover {
    color: var(--ink);
}

.hero-cta:hover::before {
    transform: translateX(0);
}

.hero-cta span {
    position: relative;
    z-index: 1;
    transition: color var(--transition-medium);
}

.hero-cta:hover span {
    color: var(--ink);
}

.hero-cta .cta-arrow {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    transition: var(--transition-medium);
}

.hero-cta:hover .cta-arrow {
    transform: translateX(3px);
    color: var(--ink);
    filter: none;
}

/* Right: Curated Collections Panel */
.collections-panel {
    background: var(--cream);
    border-left: 1px solid var(--silver);
    display: flex;
    flex-direction: column;
    padding: 48px 40px;
    gap: 24px;
}

.collections-panel-header {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 8px;
    text-align: center;
}

.collection-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex: 1;
}

.collection-tile {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--silver);
    cursor: pointer;
    transition: var(--transition-medium);
    aspect-ratio: 1;
}

.collection-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.88);
    transition: transform 0.6s var(--ease-out-expo), filter 0.6s ease;
}

.collection-tile:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.collection-tile-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.collection-tile-label span {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.3;
    mix-blend-mode: multiply;
}

/* ============================================
   FULL-PAGE HERO (non-homepage)
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero:hover .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0.75;
    animation: fadeDown 1s var(--ease-out-expo) 0.2s both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 7vw, 100px);
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 28px;
    animation: fadeUp 1s var(--ease-out-expo) 0.4s both;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.5px;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 40px;
    animation: fadeUp 1s var(--ease-out-expo) 0.6s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.5;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.marquee-section {
    background: var(--black);
    padding: 14px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0.85;
}

.marquee-item::after {
    content: '·';
    font-size: 16px;
    opacity: 0.3;
}

/* ============================================
   SECTION HEADER (Reusable)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
}

.section-divider {
    width: 40px;
    height: 2px;
    background: var(--black);
    margin: 20px auto 0;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    padding: 100px clamp(24px, 5vw, 80px);
    background: var(--white);
}

.suggestions-section {
    padding: 80px 0 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--black);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-elevated);
    border-color: var(--black);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: var(--ghost);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.7s var(--ease-out-expo);
}

.product-card:hover .product-img-wrapper img {
    transform: none;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ink);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 2;
}

.product-badge-discount-below {
    top: 40px;
}

.product-quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition-medium);
    z-index: 2;
}

.product-card:hover .product-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn {
    padding: 8px 20px;
    background: var(--white);
    color: var(--ink);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-view-btn:hover {
    background: var(--ink);
    color: var(--white);
}

.product-info {
    padding: 18px 16px;
    border-top: 1px solid var(--ghost);
}

.product-category {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 5px;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-bottom: 6px;
    color: var(--ink);
    line-height: 1.3;
}

.product-price {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--slate);
    font-size: 0.9em;
    opacity: 0.7;
}

.final-price {
    font-weight: 500;
    color: var(--ink);
}

/* ============================================
   EDITORIAL / SPLIT SECTION
   ============================================ */
.editorial-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
}

.editorial-image {
    overflow: hidden;
    position: relative;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
}

.editorial-section:hover .editorial-image img {
    transform: scale(1.03);
    filter: brightness(0.85) contrast(1.02);
}

.editorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 100px);
    background: var(--white);
    border-left: 2px solid var(--black);
}

.editorial-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 28px;
}

.editorial-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--ink);
}

.editorial-body {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--black);
    max-width: 460px;
    margin-bottom: 36px;
    font-style: italic;
}

.editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ink);
    transition: var(--transition-fast);
}

.editorial-link:hover {
    gap: 18px;
}

.editorial-link svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

/* ============================================
   PHILOSOPHY / BRAND STATEMENT
   ============================================ */
.philosophy-section {
    padding: 140px clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 280px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.06);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    pointer-events: none;
}

.philosophy-emblem {
    width: 220px;
    height: 120px;
    margin-bottom: 40px;
    opacity: 0.8;
    transition: var(--transition-slow);
    object-fit: contain;
}

.philosophy-emblem:hover {
    opacity: 1;
}

.philosophy-quote {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    max-width: 760px;
    color: var(--white);
    margin-bottom: 32px;
}

.philosophy-attribution {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 64px clamp(24px, 5vw, 80px) 0;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* --- Top Row --- */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 48px;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--white);
}

.footer-brand-sub {
    font-family: var(--font-script);
    font-size: 14px;
    color: rgba(255,255,255,0.55);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 240px;
}

/* Nav Column */
.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col-label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    transition: var(--transition-fast);
    position: relative;
    display: inline-block;
}

.footer-nav-list a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width var(--transition-medium);
}

.footer-nav-list a:hover {
    color: var(--white);
}

.footer-nav-list a:hover::after {
    width: 100%;
}

/* Contact Column */
.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
}

.footer-contact-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.footer-contact-list li a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition-fast);
}

.footer-contact-list li a:hover {
    color: var(--white);
}

.footer-contact-list li:hover svg {
    opacity: 1;
}

/* --- Divider --- */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0;
}

/* --- Bottom Bar --- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 28px;
    gap: 24px;
}

.footer-copy {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}

/* Social Links */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    color: rgba(255,255,255,0.6);
}

.footer-social-link:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    stroke: none;
    transition: var(--transition-fast);
}

.phone-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---- Hamburger Menu ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: var(--transition-fast);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--black);
    stroke-width: 1.5;
}

.mobile-nav-close:hover {
    opacity: 0.6;
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition-fast);
}

.mobile-nav a:hover {
    opacity: 0.5;
}

/* ---- 1024px Tablet ---- */
@media (max-width: 1024px) {
    .homepage-hero {
        grid-template-columns: 1fr;
    }

    .collections-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .editorial-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .editorial-image {
        height: 50vh;
    }

    .editorial-content {
        border-left: none;
        border-top: 2px solid var(--black);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 100%;
    }

    /* Checkout & Order detail inline grids */
    .checkout-grid {
        grid-template-columns: 1fr !important;
    }

    .order-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .order-sticky-col {
        position: static !important;
    }

    /* About page */
    .about-narrative-grid {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px !important;
    }

    /* Cart */
    .cart-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .cart-summary {
        position: static !important;
        top: auto !important;
    }

    /* Order tracking info panels */
    .tracking-info-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ---- 768px Mobile ---- */
@media (max-width: 768px) {

    /* Navbar */
    .header-top {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        padding: 14px 20px;
    }

    .nav-left {
        display: none;
    }

    .nav-right .nav-links-right {
        display: none;
    }

    .nav-right {
        gap: 16px;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    /* Logo centering */
    .logo-center {
        order: 0;
    }

    .logo-brand {
        font-size: 22px;
        letter-spacing: 3px;
    }

    /* Hero */
    .homepage-hero {
        margin-top: 70px;
        min-height: auto;
    }

    .hero-image-panel img {
        height: 70vh;
    }

    .hero-text-block {
        bottom: 28px;
        left: 20px;
        right: 20px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-cta {
        padding: 10px 22px;
        font-size: 9px;
    }

    /* Collections */
    .collections-panel-section {
        padding: 16px 14px 0;
    }

    .collections-panel-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* Products */
    .products-section {
        padding: 64px 16px;
    }

    .suggestions-section {
        padding: 56px 0 0;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* Editorial */
    .editorial-section {
        grid-template-columns: 1fr;
    }

    .editorial-image {
        height: 45vh;
    }

    .editorial-content {
        padding: 40px 24px;
        border-left: none;
        border-top: 2px solid var(--black);
    }

    .editorial-title {
        font-size: 28px;
    }

    .editorial-body {
        font-size: 15px;
    }

    /* Philosophy */
    .philosophy-section {
        padding: 80px 24px;
    }

    .philosophy-quote {
        font-size: 20px;
    }

    /* Footer */
    .footer {
        padding: 48px 24px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 36px;
    }

    .footer-center {
        align-items: flex-start;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-bottom: 32px;
    }

    /* Page container */
    .page-container {
        margin: 90px auto 60px;
        padding: 0 16px;
    }

    /* Cart */
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cart-item {
        grid-template-columns: 72px 1fr auto;
        gap: 14px;
    }

    .cart-summary {
        position: static;
    }

    /* Product detail */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-meta h1 {
        font-size: 28px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Data tables — horizontal scroll */
    .table-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 540px;
    }

    /* Stepper */
    .stepper {
        gap: 0;
    }

    .step-label {
        font-size: 8px;
        letter-spacing: 0;
    }

    /* Breadcrumb */
    .breadcrumb {
        flex-wrap: wrap;
        gap: 6px;
    }
}

/* ---- 480px Small Mobile ---- */
@media (max-width: 480px) {

    /* Navbar */
    .logo-brand {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .logo-tagline {
        font-size: 11px;
    }

    /* Hero */
    .hero-image-panel img {
        height: 60vh;
    }

    .hero-tagline {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    /* Collections */
    .collections-panel-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .collections-panel-overlay span {
        font-size: 11px;
    }

    /* Products */
    .products-section {
        padding: 48px 12px;
    }

    .suggestions-section {
        padding: 40px 0 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-info {
        padding: 12px 10px;
    }

    .product-category {
        font-size: 8px;
        letter-spacing: 1.5px;
        margin-bottom: 3px;
    }

    .product-name {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .product-price {
        font-size: 13px;
        gap: 6px;
    }

    .product-badge {
        font-size: 8px;
        padding: 3px 6px;
        top: 8px;
        left: 8px;
        letter-spacing: 1px;
    }

    .product-badge-discount-below {
        top: 28px;
    }

    /* About values */
    .about-values-grid {
        grid-template-columns: 1fr !important;
    }

    /* Cart item */
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
    }

    .cart-item>div:last-child {
        grid-column: 1 / -1;
        text-align: left;
    }

    /* Qty picker */
    .quantity-picker {
        width: 100%;
        justify-content: center;
    }

    /* Buttons */
    .btn {
        font-size: 9px;
        padding: 12px 20px;
        letter-spacing: 1.5px;
    }

    /* Checkout form grids */
    .checkout-name-grid {
        grid-template-columns: 1fr !important;
    }

    .checkout-city-grid {
        grid-template-columns: 1fr !important;
    }

    /* Order tracking stepper — vertical on tiny screens */
    .stepper {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .stepper::before {
        top: 0;
        left: 20px;
        width: 1px;
        height: 100%;
    }

    .step {
        flex-direction: row;
        width: auto;
        gap: 16px;
    }

    .step-label {
        text-align: left;
    }

    /* Philosophy */
    .philosophy-section {
        padding: 64px 16px;
    }

    .philosophy-emblem {
        width: 160px;
        height: 80px;
    }
}

/* ============================================
   COMMON UI COMPONENTS
   ============================================ */
.page-container {
    max-width: var(--container-max);
    margin: 120px auto 80px;
    padding: 0 clamp(24px, 5vw, 80px);
}

/* Toast */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--black);
    color: var(--white);
    padding: 14px 24px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-dramatic);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    pointer-events: none;
    min-width: 260px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.error {
    background: #8b0000;
    border-color: rgba(255, 0, 0, 0.2);
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    gap: 10px;
    list-style: none;
    margin-bottom: 36px;
}

.breadcrumb-item {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--charcoal);
}

.breadcrumb-item::after {
    content: '/';
    margin-left: 10px;
    opacity: 0.4;
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item.active {
    color: var(--black);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--black);
}

.btn-outline {
    background: transparent;
    border-color: var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--silver);
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--ink);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
    border-radius: 0;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--ink);
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid var(--silver);
    cursor: pointer;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
    border: 1px solid currentColor;
}

.badge-confirmed {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.badge-filled {
    background: var(--white);
    color: #0d47a1;
    border-color: #0d47a1;
}

.badge-ondelivery {
    background: var(--white);
    color: #e65100;
    border-color: #e65100;
}

.badge-delivered {
    background: var(--white);
    color: #1b5e20;
    border-color: #1b5e20;
}

.badge-canceled {
    background: var(--white);
    color: #b71c1c;
    border-color: #b71c1c;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--black);
    padding: 16px 0;
    border-bottom: 2px solid var(--black);
}

.data-table td {
    padding: 22px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--silver);
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 48px;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--silver);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    width: 25%;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--silver);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    transition: all 0.4s var(--ease-out-expo);
}

.step-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.4s;
}

.step.active .step-icon {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    transform: scale(1.1);
}

.step.active .step-label {
    color: var(--black);
    font-weight: 700;
}

.step.completed .step-icon {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

@media (min-width: 769px) {
    .product-detail-grid {
        grid-template-columns: 0.65fr 1.35fr;
    }
}

.product-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.product-gallery,
.product-selection {
    min-width: 0;
}

.gallery-main {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ghost);
    border: 1px solid var(--black);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out-expo);
}

.gallery-main:hover img {
    transform: none;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.thumb-item {
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    background: var(--ghost);
    border: 1px solid var(--silver);
    transition: var(--transition-fast);
}

.thumb-item.active {
    border-color: var(--black);
    border-width: 2px;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.thumb-item:hover img,
.thumb-item.active img {
    opacity: 1;
}

.product-selection {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.product-meta h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-price-large {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.product-description {
    max-width: 58ch;
    margin: 16px 0 0;
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.7;
}

.selection-group h4 {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-btn {
    min-width: 48px;
    height: 48px;
    padding: 0 12px;
    border: 1px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.quantity-picker {
    display: flex;
    align-items: center;
    border: 1px solid var(--black);
    width: max-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 16px;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--ghost);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    background: transparent;
}

.product-accordions {
    margin-top: 48px;
    border-top: 2px solid var(--black);
}

.accordion-item {
    border-bottom: 1px solid var(--silver);
}

.accordion-header {
    width: 100%;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    color: var(--charcoal);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
    font-size: 14px;
    color: var(--charcoal);
    line-height: 1.8;
    font-family: var(--font-serif);
    font-style: italic;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 18px;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.cart-list {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--silver);
}

.cart-item-img {
    aspect-ratio: 1;
    background: var(--ghost);
    overflow: hidden;
    border: 1px solid var(--black);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 6px;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--charcoal);
    display: flex;
    gap: 14px;
}

.cart-summary {
    background: var(--white);
    padding: 36px;
    border: 1px solid var(--black);
    border-top: 2px solid var(--black);
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
}

.summary-total {
    border-top: 2px solid var(--black);
    padding-top: 18px;
    margin-top: 18px;
    font-weight: 700;
    font-size: 17px;
}

@media (max-width: 768px) {

    .product-detail-grid,
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ============================================
   ENHANCED SEARCH SYSTEM STYLES
   ============================================ */

/* Navbar Search Button */
.nav-search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: var(--black);
    transition: var(--transition-fast);
}

.nav-search-toggle:hover {
    color: var(--slate);
    transform: translateY(-1px);
}

.nav-search-svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Navbar Search Overlay / Slide-down */
.nav-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--black);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s;
}

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

.nav-search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 20px 20px;
    position: relative;
}

.nav-search-form {
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 2px solid var(--black);
    padding-bottom: 10px;
}

.nav-search-input-icon {
    width: 22px;
    height: 22px;
    stroke: var(--black);
    margin-right: 14px;
    flex-shrink: 0;
}

.nav-search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--black);
    outline: none;
    letter-spacing: 0.5px;
}

.nav-search-input::placeholder {
    color: var(--mist);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
}

.nav-search-clear,
.catalog-search-clear {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: var(--mist);
    cursor: pointer;
    padding: 4px 8px;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.nav-search-clear:hover,
.catalog-search-clear:hover {
    color: var(--black);
}

.nav-search-close {
    background: transparent;
    border: 1px solid var(--silver);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--charcoal);
    margin-left: 16px;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.nav-search-close svg {
    width: 18px;
    height: 18px;
}

.nav-search-close:hover {
    border-color: var(--black);
    color: var(--black);
    transform: rotate(90deg);
}

/* Mobile Nav Search in Drawer */
.mobile-search-wrapper {
    width: 100%;
    margin-bottom: 24px;
    position: relative;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--silver);
    background: var(--white);
    position: relative;
}

.mobile-search-input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 13px;
}

.mobile-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    cursor: pointer;
}

.mobile-search-btn svg {
    width: 16px;
    height: 16px;
}

/* Live Search Suggestions Dropdown */
.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--black);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    max-height: 480px;
    overflow-y: auto;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-dropdown-section-title {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--mist);
    padding: 12px 18px 6px;
    background: #fafafa;
    border-bottom: 1px solid var(--ghost);
}

/* Category Suggestions Chips inside Dropdown */
.search-category-suggestions {
    padding: 10px 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--ghost);
}

.search-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    background: var(--ghost);
    color: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.search-category-chip:hover {
    background: var(--black);
    color: var(--white);
}

/* Suggestion Item */
.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--ghost);
    text-decoration: none;
    color: var(--black);
    transition: background 0.18s ease;
    cursor: pointer;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item.selected {
    background: #f8f8f8;
}

.search-suggestion-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--ghost);
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-suggestion-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-suggestion-thumb svg {
    width: 20px;
    height: 20px;
    opacity: 0.3;
}

.search-suggestion-info {
    flex: 1;
    min-width: 0;
}

.search-suggestion-category {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 2px;
}

.search-suggestion-name {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.search-suggestion-price {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.search-suggestion-price .old-price {
    font-size: 11px;
    text-decoration: line-through;
    color: var(--mist);
    font-weight: 400;
}

.search-suggestion-price .discount-tag {
    font-size: 8px;
    font-weight: 700;
    background: var(--black);
    color: var(--white);
    padding: 1px 5px;
    border-radius: 2px;
}

/* Dropdown Footer */
.search-dropdown-footer {
    display: block;
    padding: 12px 18px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.search-dropdown-footer:hover {
    background: var(--black);
    color: var(--white);
}

.search-dropdown-empty {
    padding: 24px 18px;
    text-align: center;
    color: var(--slate);
    font-size: 13px;
}

/* Empty State Suggestions on Catalog */
.catalog-empty-suggestions {
    margin: 10px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.empty-suggestions-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mist);
}

.empty-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.empty-chip {
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--silver);
    color: var(--charcoal);
    background: var(--white);
    transition: all var(--transition-fast);
}

.empty-chip:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}