/*
Theme Name: The Gallery
Theme URI: https://thegallery.com
Author: The Gallery
Description: A premium, minimal, luxury sneaker eCommerce theme built for WooCommerce. Cinematic hero, mixed product grid, brand showcase, editorial section, drop countdown, full WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thegallery
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, woocommerce
*/


  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #050505;
    --white: #FFFFFF;
    --beige: #F7F4EF;
    --sand: #E8DED2;
    --gold: #B78A42;
    --gray: #888;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ── HEADER ── */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
  }
  header.scrolled {
    background: var(--black);
    border-bottom-color: #1a1a1a;
  }

  .nav-left {
    display: flex;
    gap: 40px;
    align-items: center;
  }
  .nav-left a, .nav-right a {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
  }
  .nav-left a:hover, .nav-right a:hover { opacity: 1; }

  .logo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--white);
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .nav-right a svg {
    width: 18px; height: 18px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.5;
    display: block;
  }
  .cart-count {
    font-size: 10px;
    font-weight: 500;
    color: var(--white);
    margin-left: -4px;
    letter-spacing: 0;
  }

  /* ── HERO ── */
  .hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-sneakers.jpg');
    background-size: cover;
    background-position: center 70%;
    transform-origin: center;
    animation: kenBurns 18s ease-in-out infinite alternate;
  }
  @keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(5,5,5,0.95) 0%,
      rgba(5,5,5,0.55) 45%,
      rgba(5,5,5,0.20) 100%
    );
  }
  .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px 80px;
    max-width: 760px;
  }
  .hero-label {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: block;
  }
  .hero-title {
    font-family: var(--serif);
    font-size: clamp(52px, 6vw, 90px);
    font-weight: 300;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
  }
  .hero-title em { font-style: italic; }
  .hero-sub {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 400px;
    margin-bottom: 44px;
    letter-spacing: 0.02em;
  }
  .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--white);
    color: var(--black);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
    cursor: pointer;
    border: none;
  }
  .btn-primary:hover {
    background: var(--gold);
    color: var(--white);
  }
  .btn-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.4);
    transition: border-color 0.25s, background 0.25s;
    cursor: pointer;
  }
  .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
  }

  /* ── SCROLL ANIMATIONS ── */
  .fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-up.delay-1 { transition-delay: 0.1s; }
  .fade-up.delay-2 { transition-delay: 0.2s; }
  .fade-up.delay-3 { transition-delay: 0.3s; }
  .fade-up.delay-4 { transition-delay: 0.4s; }

  /* ── SECTION LABELS ── */
  .section-label {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 16px;
    display: block;
  }
  .section-label.light { color: rgba(255,255,255,0.5); }

  /* ── PHILOSOPHY ── */
  .philosophy {
    background: var(--beige);
    padding: 120px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .philosophy-left {}
  .philosophy-left .section-label { color: var(--gold); }
  .philosophy-left p {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
    max-width: 340px;
    margin-top: 20px;
  }
  .philosophy-right {
    font-family: var(--serif);
    font-size: clamp(28px, 3.2vw, 52px);
    font-weight: 300;
    line-height: 1.25;
    color: var(--black);
    letter-spacing: -0.01em;
  }
  .philosophy-right em { font-style: italic; color: var(--gold); }

  /* ── MARQUEE ── */
  .marquee-wrap {
    background: var(--black);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
  }
  .marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    width: max-content;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .marquee-item {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .marquee-item::after {
    content: '×';
    color: var(--gold);
    opacity: 0.6;
  }

  /* ── FEATURED BRANDS ── */
  .section {
    padding: 100px 80px;
  }
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
  }
  .section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 3.5vw, 56px);
    font-weight: 300;
    color: var(--black);
    letter-spacing: -0.01em;
  }
  .view-all {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .view-all:hover { color: var(--gold); border-color: var(--gold); }

  .brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
  }
  .brand-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background: var(--sand);
  }
  .brand-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
  }
  .brand-card:hover .brand-card-bg { transform: scale(1.06); }
  .brand-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.75) 0%, rgba(5,5,5,0) 60%);
    opacity: 0.7;
    transition: opacity 0.4s;
  }
  .brand-card:hover .brand-card-overlay { opacity: 1; }
  .brand-card-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
  }

  /* ── PRODUCT COLLECTION ── */
  .collection { background: var(--beige); padding: 100px 80px; }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    margin-top: 56px;
  }

  /* Featured card — 2 cols × 2 rows */
  .product-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  .product-card.featured .product-img-wrap { aspect-ratio: unset; height: 100%; min-height: 560px; }
  .product-card.featured .product-name { font-size: 28px; }
  .product-card.featured .product-info { padding: 22px 0; }

  .product-card {
    position: relative;
    cursor: pointer;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
  }
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(5,5,5,0.10), 0 8px 16px rgba(5,5,5,0.06);
  }

  .product-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #F0EDE8;
  }

  .product-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease, opacity 0.4s ease;
  }
  .product-img.hover-img { opacity: 0; }
  .product-card:hover .product-img.main-img { transform: scale(1.05); opacity: 0; }
  .product-card:hover .product-img.hover-img { opacity: 1; transform: scale(1.05); }

  /* Badge */
  .product-badge {
    position: absolute;
    top: 14px; left: 14px;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 11px;
    z-index: 2;
    border-radius: 1px;
  }
  .badge-new { background: var(--black); color: var(--white); }
  .badge-hot { background: var(--gold); color: var(--white); }

  /* Wishlist */
  .wishlist-btn {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.92);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .wishlist-btn:hover { background: var(--white); transform: scale(1.1); }
  .wishlist-btn svg { width: 15px; height: 15px; stroke: var(--black); fill: none; stroke-width: 1.6; }
  .wishlist-btn.active svg { fill: #c0392b; stroke: #c0392b; }

  /* Quick Add */
  .quick-add {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(5,5,5,0.92);
    color: var(--white);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none; cursor: pointer; z-index: 3;
    backdrop-filter: blur(4px);
  }
  .product-card:hover .quick-add { transform: translateY(0); }
  .quick-add:hover { background: var(--gold); }

  /* Product Info */
  .product-info {
    padding: 16px 16px 18px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .product-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .product-brand {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
  }
  .product-name {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.15;
    letter-spacing: -0.01em;
  }
  .product-price {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding-top: 2px;
  }

  /* ── CATEGORIES + DROP COMBINED ── */
  .catdrop-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 560px;
    border-top: 1px solid #e8e3dc;
  }

  /* Left — category list */
  .catdrop-left {
    background: var(--beige);
    padding: 56px 52px;
    border-right: 1px solid #e0dbd2;
    display: flex;
    flex-direction: column;
  }
  .catdrop-label {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 40px;
    display: block;
  }
  .cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
  }
  .cat-list-item {
    border-bottom: 1px solid #e0dbd2;
  }
  .cat-list-item:first-child { border-top: 1px solid #e0dbd2; }
  .cat-list-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    text-decoration: none;
    transition: padding-left 0.3s;
  }
  .cat-list-item a:hover { padding-left: 8px; }
  .cat-list-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: -0.01em;
    transition: color 0.2s;
  }
  .cat-list-item a:hover .cat-list-name { color: var(--gold); }
  .cat-list-arrow {
    font-size: 14px;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s;
  }
  .cat-list-item a:hover .cat-list-arrow { opacity: 1; transform: translateX(0); }

  /* Middle — drop promo */
  .catdrop-mid {
    background: var(--sand);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #d4c9b8;
  }
  .catdrop-mid-top {}
  .drop-label-tag {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
  }
  .drop-title-big {
    font-family: var(--serif);
    font-size: clamp(36px, 3.5vw, 58px);
    font-weight: 300;
    color: var(--black);
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .drop-title-big em { font-style: italic; }
  .drop-desc {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    color: #6b6056;
    line-height: 1.75;
    letter-spacing: 0.02em;
    max-width: 300px;
    margin-bottom: 36px;
  }
  .drop-countdown-row {
    display: flex;
    gap: 24px;
    align-items: baseline;
    margin-bottom: 40px;
  }
  .drop-cd-block { display: flex; flex-direction: column; align-items: center; }
  .drop-cd-num {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 300;
    color: var(--black);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .drop-cd-label {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9e8f80;
    margin-top: 6px;
  }
  .drop-cd-sep {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.6;
    line-height: 1.5;
  }
  .drop-cta {
    display: inline-block;
    padding: 15px 32px;
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.25s;
  }
  .drop-cta:hover { background: var(--gold); }

  /* Right — drop image */
  .catdrop-right {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    min-height: 480px;
  }
  .catdrop-right-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    transition: transform 0.7s ease;
  }
  .catdrop-right:hover .catdrop-right-img { transform: scale(1.04); }
  .catdrop-right-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(5,5,5,0.5) 0%, transparent 60%);
  }

  /* ── LIMITED DROPS ── */
  .limited-drops {
    background: var(--black);
    padding: 120px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .drops-left {}
  .drops-title {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 80px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }
  .drops-title em { font-style: italic; color: var(--gold); }
  .drops-sub {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
  }
  .countdown {
    display: flex;
    gap: 32px;
    margin-bottom: 52px;
  }
  .countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .countdown-num {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .countdown-label {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 8px;
  }
  .countdown-sep {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1.4;
  }
  .drops-right {
    position: relative;
    aspect-ratio: 4/5;
    background: #111;
    overflow: hidden;
  }
  .drops-right-img {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1606107557195-0e29a4b5b4aa?w=900&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: transform 0.6s ease;
  }
  .drops-right:hover .drops-right-img { transform: scale(1.04); }

  /* ── EDITORIAL ── */
  .editorial { padding: 0; background: var(--black); }

  /* Cover story — full bleed */
  .ed-cover {
    position: relative;
    height: 88vh;
    min-height: 560px;
    overflow: hidden;
    cursor: pointer;
  }
  .ed-cover-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 20%;
    transition: transform 1s ease;
  }
  .ed-cover:hover .ed-cover-img { transform: scale(1.04); }
  .ed-cover-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
      120deg,
      rgba(5,5,5,0.88) 0%,
      rgba(5,5,5,0.5) 50%,
      rgba(5,5,5,0.15) 100%
    );
  }
  .ed-cover-content {
    position: absolute;
    bottom: 0; left: 0;
    padding: 0 80px 72px;
    max-width: 680px;
  }
  .ed-cover-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
  }
  .ed-issue {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(183,138,66,0.4);
    padding: 5px 12px;
  }
  .ed-category {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
  }
  .ed-read-time {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
    margin-left: auto;
  }
  .ed-cover-brand {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 14px;
    display: block;
  }
  .ed-cover-title {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .ed-cover-title em { font-style: italic; }
  .ed-cover-excerpt {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255,255,255,0.55);
    max-width: 460px;
    margin-bottom: 36px;
    letter-spacing: 0.02em;
  }
  .ed-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 4px;
    transition: color 0.25s, border-color 0.25s;
  }
  .ed-read-btn:hover { color: var(--gold); border-color: var(--gold); }
  .ed-arrow { font-size: 14px; transition: transform 0.25s; }
  .ed-read-btn:hover .ed-arrow { transform: translateX(4px); }

  /* Section header inside editorial */
  .ed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 52px 80px 40px;
    border-bottom: 1px solid #111;
  }
  .ed-header-left {}
  .ed-header-label {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
    display: block;
  }
  .ed-header-title {
    font-family: var(--serif);
    font-size: clamp(26px, 2.8vw, 42px);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.01em;
  }
  .ed-view-all {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .ed-view-all:hover { color: var(--gold); border-color: var(--gold); }

  /* Story cards grid */
  .ed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #0d0d0d;
  }
  .ed-card {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    cursor: pointer;
    background: #111;
  }
  .ed-card-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
    filter: brightness(0.75) saturate(0.8);
  }
  .ed-card:hover .ed-card-img {
    transform: scale(1.06);
    filter: brightness(0.55) saturate(0.9);
  }
  .ed-card-base {
    position: absolute; inset: 0;
    background: linear-gradient(
      to top,
      rgba(5,5,5,0.95) 0%,
      rgba(5,5,5,0.4) 45%,
      rgba(5,5,5,0) 75%
    );
    transition: background 0.4s;
  }
  .ed-card:hover .ed-card-base {
    background: linear-gradient(
      to top,
      rgba(5,5,5,0.97) 0%,
      rgba(5,5,5,0.7) 60%,
      rgba(5,5,5,0.1) 100%
    );
  }
  .ed-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 24px;
    transform: translateY(0);
    transition: transform 0.4s ease;
  }
  .ed-card-brand-label {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
  }
  .ed-card-title {
    font-family: var(--serif);
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .ed-card-excerpt {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    letter-spacing: 0.02em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin 0.4s;
    margin-bottom: 0;
  }
  .ed-card:hover .ed-card-excerpt {
    max-height: 80px;
    margin-bottom: 16px;
  }
  .ed-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
  }
  .ed-card:hover .ed-card-footer {
    opacity: 1;
    transform: translateY(0);
  }
  .ed-card-cat {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
  }
  .ed-card-arrow {
    font-size: 16px;
    color: var(--gold);
    transition: transform 0.25s;
  }
  .ed-card:hover .ed-card-arrow { transform: translateX(4px); }

  /* ── TRUST ── */
  .trust {
    background: var(--beige);
    padding: 72px 80px;
    border-top: 1px solid var(--sand);
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    align-items: start;
  }
  .trust-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .trust-icon svg {
    width: 32px; height: 32px;
    stroke: var(--gold); fill: none; stroke-width: 1.2;
  }
  .trust-title {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--black);
  }
  .trust-sub {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  /* ── NEWSLETTER ── */
  .newsletter {
    padding: 120px 80px;
    text-align: center;
    background: var(--white);
    border-top: 1px solid var(--sand);
  }
  .newsletter-title {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 68px);
    font-weight: 300;
    color: var(--black);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
  }
  .newsletter-sub {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 0.03em;
    margin-bottom: 48px;
    line-height: 1.6;
  }
  .newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid var(--black);
  }
  .newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    color: var(--black);
    padding: 14px 0;
    letter-spacing: 0.04em;
  }
  .newsletter-input::placeholder { color: #aaa; }
  .newsletter-submit {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--black);
    padding: 14px 0;
    transition: color 0.2s;
  }
  .newsletter-submit:hover { color: var(--gold); }

  /* ── FOOTER ── */
  footer {
    background: var(--black);
    padding: 80px 80px 48px;
    color: var(--white);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 64px;
    border-bottom: 1px solid #1a1a1a;
  }
  .footer-brand-logo {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    display: block;
  }
  .footer-brand-desc {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
  }
  .footer-social {
    display: flex;
    gap: 20px;
  }
  .footer-social a svg {
    width: 18px; height: 18px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 1.5;
    transition: stroke 0.2s;
    display: block;
  }
  .footer-social a:hover svg { stroke: var(--white); }
  .footer-col-title {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 24px;
    display: block;
  }
  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .footer-links a {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--white); }
  .footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-copy {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 300;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.06em;
  }
  .footer-legal {
    display: flex;
    gap: 32px;
  }
  .footer-legal a {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-legal a:hover { color: rgba(255,255,255,0.7); }

  /* ── PLACEHOLDER IMAGES ── */
  .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
      45deg,
      #e0dbd3,
      #e0dbd3 2px,
      #ede9e3 2px,
      #ede9e3 20px
    );
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
  }
  .img-placeholder.dark {
    background: repeating-linear-gradient(
      45deg,
      #0e0e0e,
      #0e0e0e 2px,
      #141414 2px,
      #141414 20px
    );
    color: #444;
  }

  /* ── MOBILE NAV TOGGLE ── */
  .nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-mobile-toggle svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 1.5; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    header { padding: 0 32px; }
    .hero-content { padding: 0 48px 64px; }
    .philosophy { padding: 80px 48px; }
    .section, .collection, .editorial, .trust { padding: 72px 48px; }
    .newsletter { padding: 80px 48px; }
    footer { padding: 64px 48px 40px; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card.featured { grid-column: span 2; grid-row: span 1; }
    .product-card.featured .product-img-wrap { min-height: 360px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  }

  @media (max-width: 768px) {
    header { padding: 0 20px; }
    .nav-left { display: none; }
    .nav-mobile-toggle { display: flex; }
    .hero-content { padding: 0 24px 48px; }
    .philosophy { padding: 64px 24px; grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 56px 24px; }
    .collection { padding: 56px 24px; }
    .editorial { padding: 56px 24px; }
    .trust { padding: 56px 24px; }
    .newsletter { padding: 64px 24px; }
    footer { padding: 56px 24px 32px; }
    .catdrop-section { grid-template-columns: 1fr; }
    .catdrop-right { display: none; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card.featured { grid-column: span 2; grid-row: span 1; }
    .product-card.featured .product-img-wrap { min-height: 280px; }
    .catdrop-section { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .ed-grid { grid-template-columns: repeat(2, 1fr); }
    .ed-cover-content { padding: 0 24px 48px; }
    .ed-header { padding: 40px 24px 32px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }
  }


/* ============ WooCommerce overrides ============ */
.woocommerce ul.products { list-style: none; padding: 0; }
.woocommerce ul.products li.product { list-style: none; }
.woocommerce .button,
.woocommerce a.button,
.woocommerce-page .button { font-family: var(--sans) !important; font-size: 12px !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; border-radius: 0 !important; padding: 14px 28px !important; }
.woocommerce span.onsale { background: var(--black); border-radius: 0; font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; }
.woocommerce-breadcrumb { font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); padding: 24px 60px; }
.woocommerce div.product .product_title { font-family: var(--serif) !important; font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.woocommerce div.product p.price { font-family: var(--sans); font-size: 20px; color: var(--black); }
.wc-content { padding: 60px; max-width: 1600px; margin: 0 auto; }
@media (max-width: 768px) {
  .wc-content { padding: 40px 24px; }
  .woocommerce-breadcrumb { padding: 16px 24px; }
}
