/* ── BREADCRUMB ────────────────────────────────── */
    .breadcrumb {
      padding: 18px 48px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-light);
      padding-top: 85px;
      margin-bottom: 0;
    }

    .breadcrumb a { color: var(--text-light); text-decoration: none; }
    .breadcrumb a:hover { color: var(--accent); }
    .breadcrumb span { color: var(--taupe); }

    /* ── CATEGORY HERO ─────────────────────────────── */
    .category-hero {
      display: grid;
      min-height: 480px;
      margin: 0 48px 64px;
      gap: 0;
      border: 1px solid var(--bordergrey);
      overflow: hidden;
    }

    .hero-content {
      background: var(--deep-brown);
      padding: 72px 56px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }

    .hero-content::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(139,115,85,.25) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-eyebrow {
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--taupe);
      font-weight: 500;
      margin-bottom: 24px;
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(44px, 5vw, 68px);
      font-weight: 300;
      line-height: 1.1;
      color: #f0ebe3;
      margin-bottom: 20px;
    }

    .hero-title em {
      font-style: italic;
      font-weight: 300;
      color: var(--taupe);
    }

    .hero-desc {
      color: #9a9186;
      font-size: 14px;
      line-height: 1.8;
      max-width: 340px;
      margin-bottom: 36px;
    }

    .hero-stats {
      display: flex;
      gap: 32px;
    }

    .stat { border-left: 1px solid rgba(255,255,255,.1); padding-left: 16px; }
    .stat-num { font-family: var(--font-display); font-size: 28px; color: #f0ebe3; font-weight: 300; }
    .stat-label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); margin-top: 2px; }

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

    .hero-image img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .8s ease;
    }

    .hero-image:hover img { transform: scale(1.04); }

    .hero-image-tag {
      position: absolute;
      bottom: 24px; left: 24px;
      background: rgba(26,23,20,.75);
      backdrop-filter: blur(8px);
      color: #f0ebe3;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 8px 16px;
    }

    /* ── SUB-CATEGORY PILLS ────────────────────────── */
    .subcats {
      padding: 0 48px 40px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }

    .subcats-label {
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-light);
      margin-right: 6px;
    }

    .subcat-pill {
      padding: 8px 20px;
      border: 1px solid var(--bordergrey);
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text);
      background: none;
      cursor: pointer;
      font-family: var(--font-body);
      transition: all .2s;
      text-decoration: none;
    }

    .subcat-pill:hover { border-color: var(--accent); color: var(--accent); }
    .subcat-pill.active { background: var(--deep-brown); color: var(--warm-white); border-color: var(--deep-brown); }

    /* ── TOOLBAR ───────────────────────────────────── */
    .toolbar {
      padding: 16px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--bordergrey);
      border-bottom: 1px solid var(--bordergrey);
      margin-bottom: 48px;
    }

    .toolbar-left {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .result-count {
      font-size: 12px;
      letter-spacing: 0.08em;
      color: var(--text-light);
    }

    .filter-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--bordergrey);
      background: none;
      padding: 9px 18px;
      font-family: var(--font-body);
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text);
      cursor: pointer;
      transition: all .2s;
    }

    .filter-btn:hover { border-color: var(--accent); color: var(--accent); }

    .filter-btn svg { width: 14px; height: 14px; }

    .toolbar-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .sort-select {
      border: 1px solid var(--bordergrey);
      background: none;
      padding: 9px 32px 9px 14px;
      font-family: var(--font-body);
      font-size: 12px;
      letter-spacing: 0.08em;
      color: var(--text);
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7068' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
    }

    .grid-toggle {
      display: flex;
      gap: 4px;
    }

    .grid-toggle button {
      background: none;
      border: 1px solid var(--bordergrey);
      width: 36px; height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .2s;
      color: var(--text-light);
    }

    .grid-toggle button.active, .grid-toggle button:hover {
      background: var(--deep-brown);
      border-color: var(--deep-brown);
      color: var(--warm-white);
    }

    /* ── PRODUCT GRID ──────────────────────────────── */
    .shop-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 48px;
      padding: 0 48px 80px;
    }

    /* ── SIDEBAR FILTERS ───────────────────────────── */
    .sidebar {
      position: sticky;
      top: 88px;
      align-self: start;
    }

    .filter-group {
      border-bottom: 1px solid var(--bordergrey);
      padding-bottom: 24px;
      margin-bottom: 24px;
    }

    .filter-group:last-child { border-bottom: none; }

    .filter-group-title {
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 600;
      color: var(--deep-brown);
      margin-bottom: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }

    .filter-group-title span { color: var(--text-light); font-weight: 300; font-size: 10px; }

    .filter-option {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
      cursor: pointer;
    }

    .filter-option input[type="checkbox"] {
      appearance: none;
      width: 14px; height: 14px;
      border: 1px solid var(--bordergrey);
      cursor: pointer;
      position: relative;
      flex-shrink: 0;
    }

    .filter-option input[type="checkbox"]:checked {
      background: var(--deep-brown);
      border-color: var(--deep-brown);
    }

    .filter-option input[type="checkbox"]:checked::after {
      content: '';
      position: absolute;
      top: 2px; left: 4px;
      width: 4px; height: 8px;
      border: 1px solid white;
      border-top: none; border-left: none;
      transform: rotate(45deg);
    }

    .filter-option label {
      font-size: 13px;
      color: var(--text);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      width: 100%;
    }

    .filter-option label span {
      color: var(--text-light);
      font-size: 11px;
    }

    .color-swatches {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .swatch {
      width: 26px; height: 26px;
      border-radius: 50%;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border-color .2s;
    }

    .swatch:hover, .swatch.active { border-color: var(--deep-brown); outline: 1px solid var(--deep-brown); outline-offset: 2px; }

    .price-range {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .price-range input[type="text"] {
      width: 90px;
      border: 1px solid var(--bordergrey);
      padding: 7px 10px;
      font-family: var(--font-body);
      font-size: 12px;
      color: var(--text);
      background: none;
    }

    .price-range-sep { color: var(--taupe); }

    /* ══════════════════════════════════════════════════
       MOBILE FILTER DRAWER
    ══════════════════════════════════════════════════ */
    .filter-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(26,23,20,.5);
      z-index: 400;
    }
    .filter-overlay.open { display: block; }
    .filter-drawer {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: var(--warm-white);
      z-index: 401;
      border-radius: 16px 16px 0 0;
      padding: 0 0 env(safe-area-inset-bottom, 0);
      transform: translateY(100%);
      transition: transform .35s cubic-bezier(.76,0,.24,1);
      max-height: 85vh;
      overflow-y: auto;
    }
    .filter-drawer.open { transform: none; }
    .filter-drawer-handle {
      width: 40px; height: 4px;
      background: var(--sand);
      border-radius: 2px;
      margin: 12px auto 0;
    }
    .filter-drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 20px 12px;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      background: var(--warm-white);
      z-index: 1;
    }
    .filter-drawer-title {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 400;
      color: var(--dark);
    }
    .filter-drawer-close {
      background: none;
      border: none;
      font-size: 22px;
      color: var(--text-light);
      cursor: pointer;
      padding: 4px 8px;
    }
    .filter-drawer-body {
      padding: 16px 20px 80px;
    }
    .filter-drawer-footer {
      position: sticky;
      bottom: 0;
      background: var(--warm-white);
      border-top: 1px solid var(--border);
      padding: 14px 20px;
      display: flex;
      gap: 10px;
    }
    .filter-drawer-footer button {
      flex: 1;
      padding: 13px;
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      border: 1px solid var(--border);
      cursor: pointer;
      background: none;
      color: var(--text-light);
    }
    .filter-drawer-footer button.apply {
      background: var(--dark);
      color: var(--warm-white);
      border-color: var(--dark);
    }

    @media (max-width: 1024px) {
      .category-hero {
        margin: 0 24px 48px;
        min-height: 360px;
      }
      .hero-content { padding: 48px 36px; }
      .hero-title { font-size: 40px; }

      .subcats { padding: 0 24px 32px; }
      .toolbar { padding: 14px 24px; }

      .shop-layout {
        grid-template-columns: 200px 1fr;
        gap: 32px;
        padding: 0 24px 60px;
      }
      .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    }

    /* ══════════════════════════════════════════════════
       MOBILE  ≤ 768px
    ══════════════════════════════════════════════════ */
    @media (max-width: 768px) {
      /* ── Breadcrumb ── */
      .breadcrumb {
        padding: 12px 16px;
        font-size: 10px;
        gap: 6px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        padding-top:86px;
      }
      .breadcrumb::-webkit-scrollbar { display: none; }

      /* ── Hero ── */
      .category-hero {
        grid-template-columns: 1fr;
        margin: 0 0 32px;
        border-left: none;
        border-right: none;
        min-height: auto;
      }
      .hero-content {
        padding: 40px 20px;
        min-height: 220px;
      }
      .hero-eyebrow { font-size: 9px; }
      .hero-title { font-size: 32px; }
      .hero-subtitle { font-size: 13px; margin-top: 10px; }
      .hero-cta { margin-top: 20px; padding: 11px 24px; font-size: 10px; }

      /* ── Sub-cats ── */
      .subcats {
        padding: 0 16px 24px;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
      }
      .subcats::-webkit-scrollbar { display: none; }
      .subcat-pill { white-space: nowrap; flex-shrink: 0; padding: 7px 14px; font-size: 11px; }

      /* ── Toolbar ── */
      .toolbar {
        padding: 12px 16px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 10px;
      }
      .toolbar-left { gap: 10px; flex: 1; }
      .toolbar-right { gap: 8px; }
      .result-count { font-size: 11px; }
      .sort-select { font-size: 11px; padding: 7px 28px 7px 10px; }
      .filter-btn {
        font-size: 11px;
        padding: 8px 14px;
        gap: 6px;
      }
      .filter-btn svg { width: 13px; height: 13px; }

      /* ── Shop layout: hide sidebar on mobile, full width grid ── */
      .shop-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 16px 48px;
      }
      .sidebar {
        display: none; /* replaced by filter drawer */
      }

      /* ── Product grid ── */
      .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .product-card-name { font-size: 14px; }
      .product-card-price { font-size: 15px; }
      .product-card-atc {
        font-size: 10px;
        padding: 9px 10px;
        letter-spacing: .10em;
      }
      /* Keep hover actions always visible on touch */
      .product-card-actions {
        opacity: 1 !important;
        transform: none !important;
      }

      /* ── Featured banner ── */
      .featured-banner {
        margin: 0 0 24px;
        border-left: none;
        border-right: none;
        min-height: 200px;
        padding: 32px 20px;
      }
      .fb-title { font-size: 28px; }

      /* ── Pagination ── */
      .pagination { padding: 32px 0 56px; gap: 3px; }
      .page-btn { width: 36px; height: 36px; font-size: 12px; }

     
      .lm-header { padding: 32px 24px 20px; }
      .lm-body { padding: 0 24px 32px; }
      .lm-close { top: 16px; right: 16px; }
    }

    /* ══════════════════════════════════════════════════
       SMALL MOBILE  ≤ 480px
    ══════════════════════════════════════════════════ */
    @media (max-width: 480px) {
      .product-grid { gap: 10px; }
      .product-card-atc { display: none; }   /* replaced by tap on card */
      .product-card-image { margin-bottom: 10px; }
      .product-card-name { font-size: 13px; }
    }