/*
Theme Name: Patchy
Theme URI: https://patchy.co
Author: Bastiaan
Description: Custom WooCommerce theme for Patchy — iron-on patches webshop. Ported from the static design prototype.
Version: 0.1.0
Requires PHP: 8.1
Text Domain: patchy
*/


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

    :root {
      --black:  #141414;
      --white:  #ffffff;
      --cream:  #F7F5F0;
      --red:    #CC2B2B;
      --muted:  #7a7772;
      --border: #1a1a1a;
      --border-light: #D9D6CE;
      --sans: 'Figtree', sans-serif;
      --serif: 'Fraunces', serif;
    }

    html { scroll-behavior: smooth; }
    /* Off-canvas drawer + marquee must never widen the page (mobile zoom-out bug). */
    html { overflow-x: hidden; overflow-x: clip; }
    body {
      font-family: var(--sans);
      background: var(--white);
      color: var(--black);
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button { font-family: var(--sans); cursor: pointer; }

    /* ─── ANNOUNCEMENT BAR ─── */
    .announcement {
      background: var(--black);
      color: var(--white);
      text-align: center;
      padding: 9px 16px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* ─── NAV ─── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--white);
      border-bottom: 1.5px solid var(--black);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 48px;
      height: 60px;
      overflow: visible;
    }

    .nav-logo {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 700;
      font-style: italic;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 1px;
    }
    .nav-logo-heart { font-style: normal; font-size: 0; line-height: 1; display: inline-flex; align-items: center; margin-left: 1px; margin-bottom: 4px; }
    .nav-logo-heart svg { width: 17px; height: 17px; display: block; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0;
      list-style: none;
      height: 100%;
    }

    /* ─── MEGA MENU ─── */
    .nav-mega-item {
      position: static;
      height: 100%;
      display: flex;
      align-items: center;
    }
    .nav-mega-trigger {
      display: flex;
      align-items: center;
      gap: 5px;
      height: 100%;
      padding: 0 18px;
      font-size: 13px;
      font-weight: 600;
      color: var(--black);
      letter-spacing: 0.01em;
      cursor: pointer;
      border: none;
      background: none;
      font-family: var(--sans);
      transition: color 0.12s;
      white-space: nowrap;
    }
    .nav-mega-trigger i { font-size: 11px; color: var(--muted); transition: transform 0.15s; }
    .nav-mega-item:hover .nav-mega-trigger,
    .nav-mega-item:focus-within .nav-mega-trigger { color: var(--red); }
    .nav-mega-item:hover .nav-mega-trigger i,
    .nav-mega-item:focus-within .nav-mega-trigger i { transform: rotate(180deg); color: var(--red); }

    .nav-link-plain {
      display: flex;
      align-items: center;
      height: 100%;
      padding: 0 18px;
      font-size: 13px;
      font-weight: 600;
      color: var(--black);
      letter-spacing: 0.01em;
      transition: color 0.12s;
      white-space: nowrap;
    }
    .nav-link-plain:hover { color: var(--red); }

    .mega-panel {
      position: absolute;
      top: calc(100% + 1.5px);
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;

      background: var(--white);
      border-bottom: 1.5px solid var(--black);
      box-shadow: 0 8px 32px rgba(0,0,0,0.08);
      padding: 36px 48px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.15s, visibility 0.15s;
      z-index: 99;
    }
    .nav-mega-item:hover .mega-panel,
    .nav-mega-item:focus-within .mega-panel {
      visibility: visible;
      opacity: 1;
    }

    .mega-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 24px;
    }
    .mega-title {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .mega-see-all {
      font-size: 12px;
      font-weight: 700;
      color: var(--black);
      display: flex;
      align-items: center;
      gap: 5px;
      transition: color 0.12s;
    }
    .mega-see-all:hover { color: var(--red); }

    /* Collections grid */
    .mega-collections-grid {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 8px;
    }
    .mega-coll-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 18px 12px 16px;
      border: 1.5px solid var(--border-light);
      cursor: pointer;
      transition: border-color 0.12s, background 0.12s, transform 0.12s;
      text-decoration: none;
      color: var(--black);
    }
    .mega-coll-card:hover {
      border-color: var(--black);
      background: var(--cream);
      transform: translateY(-2px);
    }
    .mega-coll-icon {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--black);
    }
    .mega-coll-name {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-align: center;
      line-height: 1.3;
    }
    .mega-coll-count {
      font-size: 10px;
      color: var(--muted);
      font-weight: 500;
    }

    /* Color swatches */
    .mega-colors-row {
      display: grid;
      grid-template-columns: repeat(11, 1fr);
    }
    .mega-color-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      text-decoration: none;
      color: var(--black);
    }
    .mega-color-swatch {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: 2px solid transparent;
      transition: transform 0.12s, border-color 0.12s;
      position: relative;
      overflow: hidden;
    }
    .mega-color-swatch--multi::before {
      content: '';
      position: absolute;
      inset: -20%;
      background: conic-gradient(#D63B3B, #E0763A, #D4A832, #3D9E6E, #3A72C7, #7C4DB8, #D95E98, #D63B3B);
    }
    .mega-color-item:hover .mega-color-swatch {
      transform: scale(1.12);
      border-color: var(--black);
    }
    .mega-color-name {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    /* Shape options */
    .mega-shapes-row {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 8px;
    }
    .mega-shape-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 18px 12px 16px;
      border: 1.5px solid var(--border-light);
      cursor: pointer;
      transition: border-color 0.12s, background 0.12s, transform 0.12s;
      text-decoration: none;
      color: var(--black);
    }
    .mega-shape-card:hover {
      border-color: var(--black);
      background: var(--cream);
      transform: translateY(-2px);
    }
    .mega-shape-icon {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--black);
    }
    .mega-shape-name {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-align: center;
      line-height: 1.3;
    }

    /* Combined language + currency selector */
    .nav-locale {
      position: relative;
      display: flex;
      align-items: center;
    }
    .nav-locale-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      height: 36px;
      padding: 0 8px;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--black);
      font-family: var(--sans);
      transition: color 0.12s;
    }
    .nav-locale-btn > i:first-child { font-size: 20px; }
    .nav-locale-btn:hover { color: var(--red); }
    .nav-locale-current { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; }
    .nav-locale-caret { font-size: 11px; color: var(--muted); transition: transform 0.2s; }
    .nav-locale.open .nav-locale-caret,
    .nav-locale:hover .nav-locale-caret { transform: rotate(180deg); }
    .nav-locale-dropdown {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      min-width: 300px;
      padding-top: 10px;
      z-index: 200;
    }
    .nav-locale.open .nav-locale-dropdown,
    .nav-locale:hover .nav-locale-dropdown { display: block; }
    .nav-locale-dropdown-inner {
      background: var(--white);
      border: 1.5px solid var(--black);
      box-shadow: 4px 4px 0 var(--black);
      max-height: 74vh;
      overflow-y: auto;
    }
    .locale-section-header {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 10px 14px 8px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      border-bottom: 1px solid var(--border-light);
    }
    .locale-section-header i { font-size: 13px; }
    .locale-section-divider { border-top: 1.5px solid var(--black); }
    .nav-lang-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      cursor: pointer;
      transition: background 0.1s;
      border: none;
      border-bottom: 1px solid var(--border-light);
      background: none;
      width: 100%;
      text-align: left;
      font-family: var(--sans);
      color: var(--black);
    }
    .nav-lang-option:hover { background: var(--cream); }
    .lang-badge {
      flex-shrink: 0;
      width: 32px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid var(--black);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.05em;
      background: var(--white);
    }
    .nav-lang-option.active .lang-badge {
      background: var(--red);
      border-color: var(--red);
      color: var(--white);
    }
    .lang-option-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
    }
    .lang-check {
      margin-left: auto;
      font-size: 15px;
      color: var(--red);
      visibility: hidden;
    }
    .nav-lang-option.active .lang-check { visibility: visible; }
    .lang-name { font-size: 13px; font-weight: 600; }
    .lang-markets { font-size: 11px; color: var(--muted); font-weight: 400; }

    /* Currency cards (shared with the combined locale panel) */
    .currency-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      padding: 10px 12px 12px;
    }
    .nav-currency-option {
      display: flex;
      flex-direction: column;
      gap: 1px;
      padding: 7px 10px;
      cursor: pointer;
      transition: background 0.1s, color 0.1s;
      border: 1.5px solid var(--black);
      background: var(--white);
      font-family: var(--sans);
      color: var(--black);
      text-decoration: none;
    }
    .nav-currency-option:hover { background: var(--cream); }
    .nav-currency-option.active {
      background: var(--black);
      color: var(--white);
    }
    .currency-top {
      display: flex;
      align-items: baseline;
      gap: 6px;
    }
    .currency-symbol { font-size: 13px; font-weight: 700; }
    .currency-name { font-size: 10px; color: var(--muted); font-weight: 500; }
    .nav-currency-option.active .currency-name { color: rgba(255,255,255,0.75); }
    .currency-code { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .nav-icon-btn {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--black);
      font-size: 20px;
      transition: color 0.12s;
    }
    .nav-icon-btn:hover { color: var(--red); }
    .search-bar {
      position: sticky;
      top: 60px;
      z-index: 99;
      background: var(--white);
      max-height: 0;
      overflow: hidden;
      border-bottom: 0 solid var(--black);
      transition: max-height 0.25s ease, border-bottom-width 0.25s ease;
    }
    .search-bar.open { max-height: 64px; border-bottom-width: 1.5px; }
    .search-bar-inner {
      display: flex;
      align-items: center;
      gap: 12px;
      height: 64px;
      padding: 0 48px;
    }
    .search-bar-icon { font-size: 20px; color: var(--muted); }
    .search-bar-input {
      flex: 1;
      height: 100%;
      border: none;
      background: transparent;
      outline: none;
      font-family: var(--sans);
      font-size: 16px;
      color: var(--black);
    }
    .search-bar-input::placeholder { color: var(--muted); }
    .search-bar-close {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--black);
      font-size: 20px;
      transition: color 0.12s;
    }
    .search-bar-close:hover { color: var(--red); }

    .nav-cart {
      position: relative;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--black);
      font-size: 20px;
      transition: color 0.12s;
    }
    .nav-cart:hover { color: var(--red); }
    .nav-cart-wrap { position: relative; display: flex; align-items: center; }
    .cart-dropdown {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      width: 320px;
      padding-top: 10px;
      z-index: 200;
    }
    .nav-cart-wrap:hover .cart-dropdown { display: block; }
    .cart-dropdown-inner {
      background: var(--white);
      border: 1.5px solid var(--black);
      box-shadow: 4px 4px 0 var(--black);
    }
    /* Mobile-only: close button on the panel + the dimming overlay behind it. */
    .cart-mobile-close {
      display: none;
      position: absolute; top: 14px; right: 16px; z-index: 2;
      width: 32px; height: 32px; align-items: center; justify-content: center;
      background: none; border: none; cursor: pointer; color: var(--black); font-size: 20px;
    }
    .cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 199; }
    .cart-overlay.open { display: block; }
    .cart-dropdown-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 16px;
      border-bottom: 1.5px solid var(--border-light);
    }
    .cart-dropdown-title { font-family: var(--sans); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
    .cart-item-count { font-family: var(--sans); font-size: 11px; color: var(--muted); }
    .cart-items { padding: 8px 0; }
    .cart-item {
      display: flex; gap: 12px; padding: 10px 16px;
      border-bottom: 1px solid var(--border-light);
    }
    .cart-item:last-child { border-bottom: none; }
    .cart-item.removing { opacity: 0.4; pointer-events: none; }
    .cart-item img { width: 60px; height: 60px; object-fit: cover; border: 1.5px solid var(--border-light); flex-shrink: 0; }
    .cart-item-img { flex-shrink: 0; display: block; line-height: 0; }
    .cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .cart-item-name { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--black); text-decoration: none; display: inline-block; }
    .cart-item-name:hover { color: var(--red); }
    .cart-item-meta { font-family: var(--sans); font-size: 11px; color: var(--muted); }
    .cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
    .cart-item-qty { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border-light); }
    .cart-item-qty button { width: 24px; height: 24px; background: none; border: none; cursor: pointer; font-size: 14px; color: var(--black); display: flex; align-items: center; justify-content: center; }
    .cart-item-qty button:hover { background: var(--cream); }
    .cart-item-qty span { width: 24px; text-align: center; font-size: 12px; font-family: var(--sans); }
    .cart-item-price { font-family: var(--sans); font-size: 13px; font-weight: 700; }
    .cart-dropdown-footer { padding: 12px 16px; border-top: 1.5px solid var(--border-light); display: flex; flex-direction: column; gap: 10px; }
    .cart-subtotal { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 14px; font-weight: 700; }
    .cart-discount { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 13px; font-weight: 700; color: #3D9E6E; }
    .cart-dropdown-footer .tier-nudge { margin-top: 0; font-family: var(--sans); font-size: 11px; font-weight: 400; gap: 5px; }
    .cart-dropdown-footer .tier-nudge i { font-size: 11px; }
    .cart-shipping-note { font-family: var(--sans); font-size: 11px; color: #3D9E6E; display: flex; align-items: center; gap: 5px; }
    .cart-checkout-btn {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: var(--black); color: var(--white);
      padding: 11px; font-family: var(--sans); font-size: 13px; font-weight: 700;
      text-decoration: none; letter-spacing: 0.04em;
      transition: background 0.12s;
    }
    .cart-checkout-btn:hover { background: var(--red); }
    .cart-view-btn {
      display: block; text-align: center; font-family: var(--sans); font-size: 12px;
      color: var(--muted); text-decoration: underline; cursor: pointer;
    }
    .cart-view-btn:hover { color: var(--black); }
    .nav-cart-badge {
      position: absolute;
      top: 3px; right: 3px;
      min-width: 15px; height: 15px;
      background: var(--red);
      color: var(--white);
      border-radius: 99px;
      font-size: 9px;
      font-weight: 700;
      font-family: var(--sans);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 3px;
      line-height: 1;
    }

    /* ─── TICKER ─── */
    .ticker-wrap {
      overflow: hidden;
      border-bottom: 1.5px solid var(--black);
      padding: 10px 0;
      background: var(--cream);
    }
    .ticker {
      display: flex;
      width: max-content;
      animation: ticker-scroll 40s linear infinite;
      will-change: transform;
    }
    .ticker:hover { animation-play-state: paused; }
    @keyframes ticker-scroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-25%); }
    }
    .ticker-set {
      display: flex;
      align-items: center;
      gap: 0;
      flex-shrink: 0;
    }
    .ticker-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0 32px;
      font-size: 11.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      white-space: nowrap;
      color: var(--black);
    }
    .ticker-item i { font-size: 14px; color: var(--red); }
    .ticker-sep {
      width: 4px;
      height: 4px;
      background: var(--border-light);
      border-radius: 50%;
      flex-shrink: 0;
    }

    /* ─── HERO ─── */
    .hero {
      background: var(--cream);
      display: grid;
      grid-template-columns: 1fr 400px;
      align-items: center;
      gap: 64px;
      padding: 72px 48px 80px;
      border-bottom: 1.5px solid var(--black);
    }

    .hero-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .hero-label::before {
      content: '';
      display: block;
      width: 24px;
      height: 1.5px;
      background: var(--muted);
    }

    .hero-title {
      font-family: var(--serif);
      font-size: clamp(44px, 5vw, 72px);
      font-weight: 700;
      line-height: 1.0;
      letter-spacing: -0.03em;
      margin-bottom: 24px;
      color: var(--black);
    }
    .hero-title em {
      font-style: italic;
      font-weight: 500;
      color: var(--red);
    }

    .hero-sub {
      font-size: 16px;
      line-height: 1.65;
      color: var(--muted);
      max-width: 440px;
      margin-bottom: 36px;
    }

    .hero-ctas {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 36px;
    }

    .btn-black {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--black);
      color: var(--white);
      padding: 13px 24px;
      font-size: 13px;
      font-weight: 700;
      border: 1.5px solid var(--black);
      letter-spacing: 0.02em;
      transition: background 0.12s, color 0.12s;
    }
    .btn-black:hover { background: var(--red); border-color: var(--red); }

    .btn-text {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 700;
      color: var(--black);
      letter-spacing: 0.02em;
      border-bottom: 1.5px solid var(--black);
      padding-bottom: 2px;
      transition: color 0.12s, border-color 0.12s;
    }
    .btn-text:hover { color: var(--red); border-color: var(--red); }

    .hero-rating {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 32px;
      border-top: 1px solid var(--border-light);
    }
    .hero-stars {
      display: flex;
      gap: 3px;
      color: #e8a020;
      font-size: 14px;
    }
    .hero-rating-text {
      font-size: 13px;
      color: var(--muted);
    }
    .hero-rating-text strong { color: var(--black); font-weight: 700; }

    .hero-visual { position: relative; height: 520px; }

    .hero-patch {
      position: absolute;
      width: var(--w, 106px);
      display: block;
      background: var(--white);
      border: 1.5px solid var(--black);
      box-shadow: 4px 4px 0 var(--black);
      transform: rotate(var(--r));
      transition: transform 0.18s ease, box-shadow 0.18s ease;
      z-index: 2;
    }
    /* height:auto beats the width/height attributes WP puts on attachment imgs */
    .hero-patch img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
    .hero-patch:hover {
      transform: rotate(0deg) scale(1.06);
      box-shadow: 6px 6px 0 var(--black);
      z-index: 4;
    }
    .hero-patch-price {
      position: absolute;
      bottom: 6px;
      right: 6px;
      background: var(--black);
      color: var(--white);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.03em;
      padding: 3px 7px;
    }
    /* Collage slots: varied sizes, loosely scattered over the 400px column */
    .hero-patch-1 { --w: 165px; top: 10px;    left: -20px; }
    .hero-patch-2 { --w: 92px;  top: -12px;   left: 172px; }
    .hero-patch-3 { --w: 120px; top: 96px;    right: -24px; }
    .hero-patch-4 { --w: 110px; top: 212px;   left: 24px; }
    .hero-patch-5 { --w: 150px; top: 192px;   right: 66px; }
    .hero-patch-6 { --w: 135px; bottom: 34px; left: -26px; }
    .hero-patch-7 { --w: 100px; bottom: 16px; left: 178px; }
    .hero-patch-8 { --w: 105px; bottom: 66px; right: -18px; }
    .hero-patch-9 { --w: 90px;  top: 316px;  left: 104px; }
    .hero-patch-10 { --w: 115px; top: 86px;  left: 184px; }

    .hero-spin {
      position: absolute;
      top: -34px;
      right: -26px;
      width: 96px;
      height: 96px;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--red);
      border: 1.5px solid var(--black);
      border-radius: 50%;
      color: var(--white);
      transition: transform 0.18s ease;
    }
    .hero-spin:hover { transform: scale(1.08); }
    .hero-spin svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      animation: hero-spin-rotate 16s linear infinite;
    }
    .hero-spin svg text {
      fill: var(--white);
      font-family: var(--sans);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .hero-spin > i { font-size: 26px; }
    @keyframes hero-spin-rotate { to { transform: rotate(360deg); } }
    @media (prefers-reduced-motion: reduce) { .hero-spin svg { animation: none; } }

    /* ─── SECTION SHARED ─── */
    .section { padding: 72px 48px; }
    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      padding-bottom: 24px;
      border-bottom: 1.5px solid var(--black);
      margin-bottom: 32px;
    }
    .section-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-bottom: 6px;
    }
    .section-title {
      font-family: var(--serif);
      font-size: clamp(28px, 2.8vw, 40px);
      font-weight: 700;
      font-style: italic;
      letter-spacing: -0.02em;
      line-height: 1.05;
    }
    .section-link {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--black);
      border-bottom: 1.5px solid var(--black);
      padding-bottom: 2px;
      transition: color 0.12s, border-color 0.12s;
      white-space: nowrap;
    }
    .section-link:hover { color: var(--red); border-color: var(--red); }

    /* ─── PRODUCTS ─── */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      border-left: 1.5px solid var(--black);
      border-top: 1.5px solid var(--black);
    }
    /* Recently-viewed shows up to 4 items — a 4-col grid fills the row cleanly. */
    .cart-recent .products-grid { grid-template-columns: repeat(4, 1fr); }

    .product-card {
      border-right: 1.5px solid var(--black);
      border-bottom: 1.5px solid var(--black);
      background: var(--white);
      transition: transform 0.15s, box-shadow 0.15s;
      cursor: pointer;
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translate(-3px, -3px);
      box-shadow: 3px 3px 0 var(--black);
      outline: 1.5px solid var(--black);
      position: relative;
      z-index: 2;
    }

    .product-img {
      aspect-ratio: 1;
      overflow: hidden;
      background: var(--cream);
      position: relative;
    }
    .product-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      transition: transform 0.4s ease;
      display: block;
    }
    .product-card:hover .product-img img { transform: scale(1.05); }

    .sale-tag {
      position: absolute;
      top: 0;
      left: 0;
      background: var(--red);
      color: var(--white);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 5px 10px;
    }

    .product-info {
      padding: 14px 16px 16px;
      border-top: 1.5px solid var(--black);
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }
    .product-name {
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
    }
    .product-price {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .price-now { font-size: 15px; font-weight: 800; }
    .price-now.sale { color: var(--red); }
    .price-was { font-size: 13px; color: var(--muted); text-decoration: line-through; }

    .btn-add {
      width: 100%;
      border: 1.5px solid var(--black);
      background: var(--white);
      color: var(--black);
      padding: 9px 12px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      transition: background 0.12s, color 0.12s;
      margin-top: auto;
    }
    .btn-add:hover { background: var(--black); color: var(--white); }
    .btn-add i { font-size: 15px; }

    /* ─── COLLECTIONS ─── */
    .section-alt { background: var(--cream); border-top: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black); }

    .collections-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border-left: 1.5px solid var(--black);
      border-top: 1.5px solid var(--black);
    }

    .collection-card {
      border-right: 1.5px solid var(--black);
      border-bottom: 1.5px solid var(--black);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 20px 18px;
      transition: transform 0.15s, box-shadow 0.15s;
      background: var(--white);
      min-width: 0;
    }
    .collection-body { min-width: 0; }
    .collection-card:hover {
      transform: translate(-3px, -3px);
      box-shadow: 3px 3px 0 var(--black);
      outline: 1.5px solid var(--black);
      position: relative;
      z-index: 2;
    }
    .collection-icon {
      width: 44px;
      height: 44px;
      background: var(--cream);
      border: 1.5px solid var(--black);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 22px;
      transition: background 0.15s;
    }
    .collection-card:hover .collection-icon { background: var(--black); color: var(--white); }
    .collection-body { flex: 1; min-width: 0; }
    .collection-name {
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .collection-sub {
      font-size: 11px;
      color: var(--muted);
      margin-top: 2px;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .collection-arrow { color: var(--muted); font-size: 16px; flex-shrink: 0; }

    /* ─── HOW TO ─── */
    .how-to { border-top: 1.5px solid var(--black); }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-left: 1.5px solid var(--black);
      border-top: 1.5px solid var(--black);
      margin-top: 32px;
    }
    .step {
      padding: 40px 36px;
      border-right: 1.5px solid var(--black);
      border-bottom: 1.5px solid var(--black);
      transition: background 0.15s;
    }
    /* Per-step accent colour (from the product palette) drives the icon + number. */
    .step:nth-child(1) { --step-accent: #3A72C7; }
    .step:nth-child(2) { --step-accent: #E0763A; }
    .step:nth-child(3) { --step-accent: #3D9E6E; }
    .step:hover { background: var(--cream); }
    .step-num {
      font-family: var(--serif);
      font-size: 52px;
      font-weight: 700;
      font-style: italic;
      color: var(--step-accent, var(--border-light));
      line-height: 1;
      margin-bottom: 20px;
    }
    .step-icon {
      width: 48px;
      height: 48px;
      border: 1.5px solid var(--black);
      background: var(--step-accent, var(--white));
      color: var(--white);
      box-shadow: 3px 3px 0 var(--black);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      font-size: 24px;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .step:hover .step-icon {
      transform: translate(-2px, -2px);
      box-shadow: 5px 5px 0 var(--black);
    }
    .step-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .step-desc {
      font-size: 14px;
      line-height: 1.65;
      color: var(--muted);
    }
    .how-to-footer {
      margin-top: 32px;
      padding-top: 28px;
      border-top: 1px solid var(--border-light);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .how-to-note { font-size: 14px; color: var(--muted); max-width: 420px; line-height: 1.6; }

    /* ─── REVIEWS ─── */
    .reviews { background: var(--cream); border-top: 1.5px solid var(--black); }

    .reviews-header {
      display: flex;
      align-items: center;
      gap: 40px;
      padding-bottom: 28px;
      border-bottom: 1.5px solid var(--black);
      margin-bottom: 32px;
    }
    .reviews-score {
      font-family: var(--serif);
      font-size: 64px;
      font-weight: 700;
      font-style: italic;
      line-height: 1;
      letter-spacing: -0.03em;
    }
    .reviews-meta { border-left: 1.5px solid var(--black); padding-left: 28px; }
    .reviews-stars { display: flex; gap: 4px; color: #e8a020; font-size: 18px; margin-bottom: 6px; }
    .reviews-count { font-size: 13px; color: var(--muted); font-weight: 500; }

    .reviews-track-wrap { overflow: hidden; margin: 0 -48px; }
    .reviews-track {
      display: flex;
      gap: 0;
      animation: marquee-rev 40s linear infinite;
      width: max-content;
    }
    .reviews-track:hover { animation-play-state: paused; }
    @keyframes marquee-rev {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    .review-card {
      width: 300px;
      flex-shrink: 0;
      border-right: 1.5px solid var(--black);
      border-top: 1.5px solid var(--black);
      border-bottom: 1.5px solid var(--black);
      padding: 24px 22px;
      background: var(--white);
    }
    .review-card:first-child { border-left: 1.5px solid var(--black); }
    .review-stars { display: flex; gap: 3px; color: #e8a020; font-size: 12px; margin-bottom: 14px; }
    .review-text {
      font-size: 14px;
      line-height: 1.65;
      color: #333;
      margin-bottom: 16px;
      font-style: italic;
    }
    .review-author { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
    .review-verified { font-size: 11px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
    .review-verified i { font-size: 13px; color: #3aaa6e; }

    /* ─── EMAIL CTA ─── */
    .email-cta {
      background: var(--black);
      color: var(--white);
      padding: 80px 48px;
      border-top: 1.5px solid var(--black);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .email-cta-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.35);
      margin-bottom: 12px;
    }
    .email-cta-title {
      font-family: var(--serif);
      font-size: clamp(32px, 3vw, 48px);
      font-weight: 700;
      font-style: italic;
      letter-spacing: -0.02em;
      line-height: 1.05;
      margin-bottom: 14px;
    }
    .email-cta-title em { color: var(--red); font-style: italic; }
    .email-cta-sub { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.65; }

    .email-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .email-input {
      width: 100%;
      background: rgba(255,255,255,0.07);
      border: 1.5px solid rgba(255,255,255,0.2);
      color: var(--white);
      padding: 14px 18px;
      font-size: 14px;
      font-family: var(--sans);
      outline: none;
      transition: border-color 0.12s;
    }
    .email-input::placeholder { color: rgba(255,255,255,0.3); }
    .email-input:focus { border-color: rgba(255,255,255,0.6); }
    .email-submit {
      background: var(--red);
      color: var(--white);
      border: 1.5px solid var(--red);
      padding: 14px 24px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.12s;
    }
    .email-submit:hover { background: #b52525; border-color: #b52525; }
    .email-note { font-size: 11px; color: rgba(255,255,255,0.25); display: flex; align-items: center; gap: 6px; }
    .email-note i { font-size: 13px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--black);
      color: var(--white);
      border-top: 1.5px solid rgba(255,255,255,0.1);
      padding: 56px 48px 28px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 24px;
    }
    .footer-logo { display: block; margin-bottom: 12px; }
    .footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.65; max-width: 220px; }
    .footer-col-title {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.3);
      margin-bottom: 16px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col li a {
      font-size: 13px;
      color: rgba(255,255,255,0.5);
      transition: color 0.12s;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .footer-col li a:hover { color: var(--white); }
    .footer-payments {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 20px;
    }
    .footer-payments-label {
      font-family: var(--sans);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      white-space: nowrap;
      flex-shrink: 0;
    }
    .footer-payments-list {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }
    .footer-payments-list img {
      height: 24px;
      width: auto;
      border-radius: 4px;
      opacity: 0.85;
      transition: opacity 0.15s;
    }
    .footer-payments-list img:hover { opacity: 1; }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      color: rgba(255,255,255,0.2);
      letter-spacing: 0.04em;
    }
    .footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
    .footer-bottom a:hover { color: var(--white); }

    /* ─── POPUP ─── */
    .popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 999;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .popup-overlay.open { display: flex; }
    .popup {
      background: var(--white);
      border: 1.5px solid var(--black);
      padding: 48px 40px;
      max-width: 400px;
      width: 90%;
      position: relative;
      animation: pop-in 0.2s ease;
    }
    @keyframes pop-in {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .popup-close {
      position: absolute;
      top: 14px;
      right: 14px;
      background: none;
      border: 1.5px solid var(--border-light);
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      cursor: pointer;
      color: var(--black);
      transition: border-color 0.12s;
    }
    .popup-close:hover { border-color: var(--black); }
    .popup-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-bottom: 8px;
    }
    .popup-title {
      font-family: var(--serif);
      font-size: 30px;
      font-weight: 700;
      font-style: italic;
      letter-spacing: -0.02em;
      line-height: 1.1;
      margin-bottom: 8px;
    }
    .popup-title em { color: var(--red); }
    .popup-sub { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
    .popup-form { display: flex; flex-direction: column; gap: 10px; }
    .popup-input {
      border: 1.5px solid var(--black);
      padding: 12px 16px;
      font-size: 14px;
      font-family: var(--sans);
      outline: none;
      transition: border-color 0.12s;
    }
    .popup-input::placeholder { color: #bbb; }
    .popup-btn {
      background: var(--black);
      color: var(--white);
      border: 1.5px solid var(--black);
      padding: 13px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: background 0.12s;
    }
    .popup-btn:hover { background: var(--red); border-color: var(--red); }
    .popup-skip {
      font-size: 11px;
      color: var(--muted);
      text-align: center;
      margin-top: 10px;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
      background: none;
      border: none;
      width: 100%;
    }

    /* ─── RESPONSIVE ─── */
    /* ─── SHOP + PDP ─── */
    a.product-card { text-decoration: none; color: inherit; }

    .breadcrumb {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: var(--muted);
      margin-bottom: 28px;
    }
    .breadcrumb a { color: var(--muted); text-decoration: none; }
    .breadcrumb a:hover { color: var(--black); text-decoration: underline; }
    .breadcrumb span { color: var(--black); font-weight: 600; }
    .breadcrumb i { font-size: 10px; }

    .shop-header { padding-bottom: 0; }
    /* Tighten the gap between the ticker/navbar and the product breadcrumb. */
    .pdp { padding-top: 32px; }

    /* Bundle-discount banner above the grid */
    .shop-bundle-banner {
      display: flex; align-items: center; justify-content: center; gap: 9px;
      margin-bottom: 24px; padding: 12px 16px;
      border: 1.5px solid var(--black); background: var(--cream);
      font-family: var(--sans); font-size: 13px; font-weight: 700;
      text-align: center;
    }
    .shop-bundle-banner i { font-size: 18px; color: var(--red); flex-shrink: 0; }
    .shop-count { font-size: 13px; color: var(--muted); }
    .shop-toolbar {
      display: flex; align-items: center; gap: 16px;
      padding: 14px 0;
      border-top: 1.5px solid var(--border-light);
      margin-top: 8px;
    }
    .shop-filter-toggle {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 14px;
      background: none; border: 1.5px solid var(--black);
      font-family: var(--sans); font-size: 13px; font-weight: 700;
      color: var(--black); cursor: pointer;
      transition: background 0.12s, color 0.12s;
    }
    .shop-filter-toggle:hover { background: var(--cream); }
    .shop-filter-toggle.open { background: var(--black); color: var(--white); }
    .shop-filter-toggle i { font-size: 16px; }
    .shop-filter-caret { font-size: 12px !important; transition: transform 0.2s; }
    .shop-filter-toggle.open .shop-filter-caret { transform: rotate(180deg); }
    .shop-filter-badge {
      min-width: 17px; height: 17px; padding: 0 4px;
      background: var(--red); color: var(--white);
      border-radius: 99px; font-size: 10px; font-weight: 700;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .shop-filter-clear {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 12px; color: var(--muted); text-decoration: underline;
    }
    .shop-filter-clear:hover { color: var(--black); }
    .shop-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; position: relative; }
    .shop-sort-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .shop-sort-select {
      appearance: none; -webkit-appearance: none;
      padding: 8px 32px 8px 12px;
      background: none; border: 1.5px solid var(--black);
      font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--black);
      cursor: pointer; transition: background 0.12s;
    }
    .shop-sort-select:hover { background: var(--cream); }
    .shop-sort-caret { position: absolute; right: 11px; pointer-events: none; font-size: 12px; color: var(--muted); }
    .shop-filters {
      display: none;
      flex-direction: column; gap: 14px;
      padding: 6px 0 24px;
    }
    .shop-filters.open { display: flex; }
    .shop-filter-group { display: flex; align-items: center; gap: 16px; }
    .shop-filter-label {
      font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--muted); width: 72px; flex-shrink: 0;
    }
    .shop-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .filter-pill {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 12px; font-size: 12px; font-weight: 600;
      color: var(--black); text-decoration: none;
      border: 1.5px solid var(--border-light);
      transition: border-color 0.12s, background 0.12s;
    }
    .filter-pill:hover { border-color: var(--black); }
    .filter-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }
    .filter-swatch {
      width: 26px; height: 26px; border-radius: 50%;
      position: relative; overflow: hidden; flex-shrink: 0;
      transition: transform 0.12s, box-shadow 0.12s;
    }
    .filter-swatch:hover { transform: scale(1.12); }
    .filter-swatch.active { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--black); }
    .filter-swatch[data-multi]::before {
      content: ''; position: absolute; inset: -20%;
      background: conic-gradient(#D63B3B, #E0763A, #D4A832, #3D9E6E, #3A72C7, #7C4DB8, #D95E98, #D63B3B);
    }

    .shop-grid-section { padding-top: 0; }
    .shop-empty {
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      padding: 80px 24px; text-align: center;
      border: 1.5px dashed var(--border-light);
    }
    .shop-empty > i { font-size: 44px; color: var(--muted); }
    .shop-empty-title { font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 700; }
    .shop-empty-sub { font-size: 14px; color: var(--muted); max-width: 340px; margin-bottom: 12px; }

    /* PDP */
    .pdp { padding-bottom: 72px; }
    .pdp-layout {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
      align-items: start;
    }
    .pdp-img-frame {
      aspect-ratio: 1; overflow: hidden; position: relative;
      border: 1.5px solid var(--black); background: #eae7e0;
    }
    .pdp-img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .pdp-collection { margin-bottom: 10px; }
    .pdp-collection a {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--muted); text-decoration: none;
    }
    .pdp-collection a:hover { color: var(--red); }
    .pdp-title {
      font-family: var(--serif); font-style: italic; font-weight: 700;
      font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05;
      letter-spacing: -0.02em; margin-bottom: 14px;
    }
    .pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
    .pdp-stars { display: flex; gap: 2px; color: #E8A33D; font-size: 15px; }
    .pdp-rating-text { font-size: 13px; color: var(--muted); }
    .pdp-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
    .pdp-price .price-now { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 32px; }
    .pdp-price .price-now.sale { color: var(--red); }
    .pdp-price .price-was { font-size: 18px; color: var(--muted); text-decoration: line-through; }
    .pdp-desc { font-size: 15px; line-height: 1.7; color: #3a3833; margin-bottom: 24px; max-width: 480px; }

    .pdp-stock {
      display: inline-flex; align-items: center; gap: 7px;
      font-size: 13px; font-weight: 600; margin-bottom: 20px;
    }
    .pdp-stock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .pdp-stock--in { color: #2f9e5f; }
    .pdp-stock--in .pdp-stock-dot { background: #2f9e5f; box-shadow: 0 0 0 3px rgba(47,158,95,0.18); }
    .pdp-stock--low { color: #E0763A; }
    .pdp-stock--low .pdp-stock-dot { background: #E0763A; box-shadow: 0 0 0 3px rgba(224,118,58,0.18); }
    .pdp-stock--out { color: var(--muted); }
    .pdp-stock--out .pdp-stock-dot { background: var(--muted); }

    .pdp-specs {
      display: flex; gap: 32px;
      padding: 16px 0; margin-bottom: 24px;
      border-top: 1.5px solid var(--border-light);
      border-bottom: 1.5px solid var(--border-light);
    }
    .pdp-spec { display: flex; flex-direction: column; gap: 5px; }
    .pdp-spec-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .pdp-spec-value {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 600; color: var(--black); text-decoration: none;
    }
    a.pdp-spec-value:hover { color: var(--red); }
    .pdp-color-dot { width: 14px; height: 14px; border-radius: 50%; position: relative; overflow: hidden; display: inline-block; }

    .pdp-buy-row { display: flex; gap: 12px; margin-bottom: 20px; }
    .pdp-qty {
      display: flex; align-items: center;
      border: 1.5px solid var(--black); flex-shrink: 0;
    }
    .pdp-qty button {
      width: 44px; height: 52px; background: none; border: none; cursor: pointer;
      font-size: 18px; color: var(--black); font-family: var(--sans);
    }
    .pdp-qty button:hover { background: var(--cream); }
    .pdp-qty span { width: 32px; text-align: center; font-size: 15px; font-weight: 600; }
    .pdp-add-btn {
      flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
      background: var(--black); color: var(--white); border: 1.5px solid var(--black);
      font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.03em;
      cursor: pointer; transition: background 0.12s;
    }
    .pdp-add-btn:hover { background: var(--red); border-color: var(--red); }
    .pdp-add-btn:disabled {
      background: var(--white); color: var(--black); border-color: var(--border-light);
      cursor: not-allowed;
    }
    .pdp-add-btn:disabled:hover { background: var(--white); border-color: var(--border-light); }
    .pdp-add-btn i { font-size: 18px; }

    .pdp-usps { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
    .pdp-usps li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #3a3833; }
    .pdp-usps i { font-size: 16px; color: var(--red); }

    .pdp-accordions details { border-top: 1.5px solid var(--border-light); }
    .pdp-accordions details:last-child { border-bottom: 1.5px solid var(--border-light); }
    .pdp-accordions summary {
      display: flex; align-items: center; justify-content: space-between;
      padding: 15px 0; cursor: pointer; list-style: none;
      font-size: 14px; font-weight: 600;
    }
    .pdp-accordions summary::-webkit-details-marker { display: none; }
    .pdp-accordions summary i { transition: transform 0.2s; font-size: 14px; }
    .pdp-accordions details[open] summary > i { transform: rotate(180deg); }
    .pdp-acc-title { display: flex; align-items: center; gap: 9px; }
    .pdp-accordions summary .pdp-acc-title i { font-size: 16px; color: var(--muted); }
    .pdp-accordion-body { padding: 2px 0 18px; font-size: 13px; line-height: 1.7; color: #3a3833; max-width: 480px; }
    .pdp-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
    .pdp-steps li { display: flex; gap: 12px; align-items: flex-start; }
    .pdp-step-num {
      width: 22px; height: 22px; flex-shrink: 0;
      border: 1.5px solid var(--black); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; margin-top: 1px;
    }
    .pdp-steps strong { display: block; font-size: 13px; font-weight: 700; color: var(--black); line-height: 1.4; }
    .pdp-steps p { font-size: 12px; color: var(--muted); line-height: 1.5; }
    .pdp-accordion-note {
      display: flex; align-items: center; gap: 7px;
      font-size: 12px; color: var(--muted);
      padding: 9px 12px; background: var(--cream);
    }
    .pdp-accordion-note i { font-size: 14px; flex-shrink: 0; }
    .pdp-rows { list-style: none; display: flex; flex-direction: column; }
    .pdp-rows li {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding: 8px 0; border-bottom: 1px dashed var(--border-light);
    }
    .pdp-rows li:last-child { border-bottom: none; }
    .pdp-row-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
    .pdp-row-label i { font-size: 15px; color: var(--black); }
    .pdp-row-value { font-size: 12px; font-weight: 700; color: var(--black); text-align: right; }
    .pdp-row-highlight { color: #3D9E6E; }

    /* Mobile menu */
    .nav-hamburger { display: none; background: none; border: none; padding: 4px; cursor: pointer; color: var(--black); line-height: 1; }
    .mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 200; }
    .mobile-overlay.open { display: block; }
    .mobile-menu {
      position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 90vw);
      background: var(--white); z-index: 201;
      transform: translateX(100%); transition: transform 0.3s ease;
      display: flex; flex-direction: column; overflow-y: auto;
    }
    .mobile-menu.open { transform: translateX(0); }
    .mobile-menu-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 20px; height: 60px; border-bottom: 1.5px solid var(--border-light);
      flex-shrink: 0;
    }
    .mobile-menu-close { background: none; border: none; cursor: pointer; padding: 4px; color: var(--black); }
    .mobile-menu-nav { flex: 1; padding: 8px 0; }
    .mobile-acc-trigger {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      padding: 14px 20px; background: none; border: none; cursor: pointer;
      font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--black);
      border-bottom: 1px solid var(--border-light); text-align: left;
    }
    .mobile-acc-trigger i { transition: transform 0.2s; }
    .mobile-acc-trigger.open i { transform: rotate(180deg); }
    .mobile-acc-body { display: none; padding: 4px 0 8px; border-bottom: 1px solid var(--border-light); }
    .mobile-acc-body.open { display: block; }
    .mobile-acc-body a {
      display: flex; align-items: center; gap: 10px; padding: 9px 20px;
      font-family: var(--sans); font-size: 14px; color: var(--black); text-decoration: none;
    }
    .mobile-acc-body a:hover { background: var(--cream); }
    .mobile-acc-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--cream); border-radius: 6px; font-size: 16px; flex-shrink: 0; }
    .mobile-color-swatches { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px 0; padding: 12px 20px; }
    .mobile-acc-body .mobile-color-item { flex-direction: column; align-items: center; gap: 5px; padding: 4px 0; justify-content: flex-start; }
    .mobile-color-item span { font-family: var(--sans); font-size: 10px; color: var(--black); }
    .mobile-swatch { width: 32px; height: 32px; border-radius: 50%; position: relative; overflow: hidden; flex-shrink: 0; }
    .mobile-link {
      display: block; padding: 14px 20px; font-family: var(--sans); font-size: 15px;
      font-weight: 600; color: var(--black); text-decoration: none;
      border-bottom: 1px solid var(--border-light);
    }
    .mobile-locale-current { display: inline-flex; align-items: center; gap: 8px; }
    .mobile-locale-current i { font-size: 18px; }
    .mobile-locale .nav-lang-option { padding: 9px 20px; }
    .mobile-locale .currency-grid { padding: 10px 20px 14px; }
    .mobile-locale .locale-section-header { border-bottom: none; padding-top: 12px; }

    /* ============ SHARED FORMS ============ */
    .form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
    .form-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--black);
    }
    .form-optional { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
    .form-input {
      font-family: var(--sans); font-size: 14px; color: var(--black);
      background: var(--white); border: 1.5px solid var(--black);
      padding: 11px 14px; outline: none; width: 100%;
      transition: box-shadow 0.12s;
    }
    .form-input:focus { box-shadow: 3px 3px 0 var(--black); }
    .form-input::placeholder { color: var(--muted); }
    .form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
    .form-textarea { resize: vertical; min-height: 120px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-row--address { grid-template-columns: 2fr 1fr; }
    /* Google address autocomplete dropdown (non-NL checkout) */
    .patchy-ac { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #fff; border: 1.5px solid var(--border-light); border-radius: 10px; box-shadow: 0 10px 28px rgba(26,26,26,.10); max-height: 240px; overflow-y: auto; }
    .patchy-ac li { padding: 9px 11px; font-size: 13px; line-height: 1.3; border-radius: 7px; cursor: pointer; color: var(--black); }
    .patchy-ac li:hover { background: #F3F1EC; }
    .form-check {
      display: flex; align-items: center; gap: 8px;
      font-size: 13px; color: var(--black); cursor: pointer;
    }
    .form-check input { accent-color: var(--red); width: 15px; height: 15px; }

    /* ============ SUMMARY CARD (cart + checkout + confirmation) ============ */
    .summary-card {
      background: var(--white); border: 1.5px solid var(--black);
      box-shadow: 4px 4px 0 var(--black); padding: 24px;
    }
    .summary-title {
      font-family: var(--serif); font-style: italic; font-weight: 700;
      font-size: 20px; margin-bottom: 18px;
    }
    .summary-rows { border-top: 1.5px solid var(--black); padding-top: 14px; margin-top: 4px; }
    .summary-row {
      display: flex; justify-content: space-between; font-size: 14px;
      color: var(--black); padding: 4px 0;
    }
    .summary-row.summary-total {
      font-weight: 800; font-size: 17px; margin-top: 8px; padding-top: 12px;
      border-top: 1px solid var(--border-light);
    }
    /* Keep the label + amount on one line; drop the VAT note to its own line below. */
    .summary-total span:last-child { text-align: right; }
    .summary-total .includes_tax { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
    .summary-vat { font-size: 11px; color: var(--muted); margin-top: 4px; }
    .summary-checkout-btn {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      width: 100%; margin-top: 16px; padding: 14px 20px;
      background: var(--red); color: var(--white); border: 1.5px solid var(--black);
      font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
      text-decoration: none; cursor: pointer;
      transition: transform 0.12s, box-shadow 0.12s;
    }
    .summary-checkout-btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--black); }
    .summary-payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
    .summary-payments img { height: 28px; width: auto; display: block; }
    .summary-usps { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
    .summary-usps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
    .summary-usps li i { color: var(--black); font-size: 16px; }

    /* ============ CART PAGE ============ */
    /* Capped width: full-bleed rows put the price a screen away from the product name. */
    .cart-page { max-width: 1200px; margin-inline: auto; }
    .checkout-page { max-width: 1120px; margin-inline: auto; }
    .cartp-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; margin-top: 8px; }
    .cartp-items { border-top: 1.5px solid var(--black); }
    .cartp-item {
      display: grid; grid-template-columns: 96px 1fr auto auto auto;
      gap: 20px; align-items: center; padding: 20px 0;
      border-bottom: 1.5px solid var(--black);
    }
    .cartp-item-img { width: 96px; height: 96px; border: 1.5px solid var(--black); background: var(--cream); display: block; }
    .cartp-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .cartp-item-name {
      font-family: var(--serif); font-style: italic; font-weight: 700;
      font-size: 18px; color: var(--black); text-decoration: none;
    }
    .cartp-item-name:hover { color: var(--red); }
    .cartp-item-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .cartp-item-unit { font-size: 12px; color: var(--muted); margin-top: 6px; }
    .cartp-item-price { font-weight: 800; font-size: 15px; min-width: 64px; text-align: right; }
    .cartp-item-remove {
      width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
      background: none; border: none; cursor: pointer; color: var(--muted); font-size: 16px;
      transition: color 0.12s, opacity 0.2s;
      align-self: start; margin-top: 2px; margin-right: 10px;
    }
    .cartp-item-remove:hover { color: var(--red); }
    .cartp-item.removing { opacity: 0.4; pointer-events: none; }
    .cartp-continue {
      display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
      font-size: 13px; font-weight: 700; color: var(--black); text-decoration: none;
    }
    .cartp-continue:hover { color: var(--red); }
    .cartp-summary { position: sticky; top: 84px; }

    .freeship { margin-bottom: 16px; }
    .freeship-text { font-size: 13px; color: var(--black); display: flex; align-items: center; gap: 6px; }
    .freeship-text i { font-size: 16px; }
    .freeship-bar { height: 10px; border: 1.5px solid var(--black); background: var(--cream); margin-top: 8px; }
    .freeship-fill { height: 100%; background: var(--red); transition: width 0.3s; }
    .freeship-done { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #3D9E6E; margin-bottom: 16px; }

    /* ============ CHECKOUT ============ */
    .co-steps {
      display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
      font-size: 13px; color: var(--muted);
    }
    .co-steps > i { font-size: 11px; }
    .co-step { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-weight: 600; }
    .co-step.active { color: var(--black); font-weight: 700; }
    .co-step.done { color: var(--black); }
    .co-step-num {
      width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
      border: 1.5px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 700;
    }
    .co-step.done .co-step-num { background: var(--black); color: var(--white); border-color: var(--black); }
    .co-step.active .co-step-num { background: var(--red); color: var(--white); border-color: var(--black); }
    .co-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
    .co-block { margin-bottom: 32px; }
    .co-block-title {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--serif); font-style: italic; font-weight: 700;
      font-size: 20px; margin-bottom: 16px;
    }
    .co-block-num {
      width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
      background: var(--black); color: var(--white); font-family: var(--sans);
      font-style: normal; font-size: 13px; font-weight: 700; border-radius: 50%;
    }
    .co-options { display: flex; flex-direction: column; border: 1.5px solid var(--black); }
    .co-option {
      display: flex; align-items: center; gap: 12px; padding: 14px 16px;
      border-bottom: 1.5px solid var(--border-light); cursor: pointer;
      transition: background 0.1s;
    }
    .co-option:last-child { border-bottom: none; }
    .co-option:hover { background: var(--cream); }
    .co-option input { position: absolute; opacity: 0; }
    .co-option-radio {
      width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid var(--black);
      border-radius: 50%; position: relative;
    }
    .co-option input:checked + .co-option-radio::after {
      content: ''; position: absolute; inset: 3px; background: var(--red); border-radius: 50%;
    }
    .co-option input:checked ~ .co-option-body .co-option-name { font-weight: 800; }
    .co-option-body { display: flex; flex-direction: column; gap: 1px; flex: 1; }
    .co-option-name { font-size: 14px; font-weight: 600; }
    .co-option-sub { font-size: 12px; color: var(--muted); }
    .co-option-price { font-size: 14px; font-weight: 700; }
    .co-option-logos { display: flex; gap: 4px; }
    .co-option-logo { height: 26px; width: auto; display: block; }
    .co-summary { position: sticky; top: 84px; }
    .co-summary-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
    .co-summary-item { display: flex; align-items: center; gap: 12px; }
    .co-summary-thumb { position: relative; width: 56px; height: 56px; border: 1.5px solid var(--black); flex-shrink: 0; }
    .co-summary-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .co-summary-qty {
      position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px;
      display: flex; align-items: center; justify-content: center; padding: 0 5px;
      background: var(--black); color: var(--white); font-size: 11px; font-weight: 700;
      border-radius: 10px;
    }
    .co-summary-info { flex: 1; }
    .co-summary-name { font-size: 14px; font-weight: 700; }
    .co-summary-meta { font-size: 12px; color: var(--muted); }
    .co-summary-price { font-size: 14px; font-weight: 700; }
    .co-discount { display: flex; gap: 8px; margin-bottom: 14px; }
    .co-discount .form-input { flex: 1; padding: 9px 12px; font-size: 13px; }
    .co-discount-btn {
      padding: 0 18px; background: var(--black); color: var(--white);
      border: 1.5px solid var(--black); font-family: var(--sans); font-size: 13px;
      font-weight: 700; cursor: pointer; transition: background 0.12s, border-color 0.12s;
    }
    .co-discount-btn:hover { background: var(--red); border-color: var(--red); }
    .co-secure {
      display: flex; align-items: center; justify-content: center; gap: 6px;
      font-size: 12px; color: var(--muted); margin-top: 12px;
    }
    .co-secure i { font-size: 15px; color: var(--black); }

    /* ============ ORDER CONFIRMATION ============ */
    .oc-page { display: flex; justify-content: center; }
    .oc-card { max-width: 620px; width: 100%; text-align: center; padding: 24px 0; }
    .oc-check {
      width: 72px; height: 72px; margin: 0 auto 20px;
      display: flex; align-items: center; justify-content: center;
      background: var(--red); color: var(--white); font-size: 34px;
      border: 1.5px solid var(--black); border-radius: 50%;
      box-shadow: 4px 4px 0 var(--black);
    }
    .oc-title {
      font-family: var(--serif); font-style: italic; font-weight: 700;
      font-size: clamp(28px, 4vw, 40px); margin: 8px 0 10px;
    }
    .oc-sub { font-size: 15px; color: var(--muted); line-height: 1.6; }
    .oc-timeline {
      list-style: none; text-align: left; margin: 32px 0;
      border: 1.5px solid var(--black); padding: 8px 20px;
      background: var(--cream);
    }
    .oc-timeline li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
    .oc-timeline li:last-child { border-bottom: none; }
    .oc-timeline-dot {
      width: 34px; height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
      border: 1.5px solid var(--black); border-radius: 50%; background: var(--white); font-size: 16px;
    }
    .oc-timeline li.done .oc-timeline-dot { background: var(--red); color: var(--white); }
    .oc-timeline strong { font-size: 14px; display: block; }
    .oc-timeline p { font-size: 12px; color: var(--muted); }
    .oc-recap { text-align: left; margin: 0 0 28px; border: 1.5px solid var(--black); padding: 24px; box-shadow: 4px 4px 0 var(--black); }
    .oc-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
    .oc-account-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--black); text-decoration: none; }
    .oc-account-link:hover { color: var(--red); }

    /* ============ LOGIN / REGISTER ============ */
    .auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; max-width: 980px; margin: 8px auto 0; }
    .auth-card { border: 1.5px solid var(--black); background: var(--white); padding: 32px; box-shadow: 4px 4px 0 var(--black); }
    .auth-card--alt { background: var(--cream); }
    .auth-title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 26px; margin-bottom: 6px; }
    .auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
    .auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
    .auth-forgot { font-size: 13px; color: var(--muted); }
    .auth-forgot:hover { color: var(--red); }
    .auth-perks { list-style: none; margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
    .auth-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
    .auth-perks li i { font-size: 18px; color: var(--red); }
    .auth-register-btn { width: 100%; justify-content: center; margin-top: 4px; text-decoration: none; }
    .auth-legal { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
    .auth-legal a { color: var(--black); }

    /* ============ ACCOUNT ============ */
    /* Keep short account pages tall enough that the footer isn't pulled up. */
    .acct-page { min-height: 68vh; }
    .acct-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; margin-top: 8px; }
    .acct-sidebar { border: 1.5px solid var(--black); background: var(--white); position: sticky; top: 84px; }
    .acct-hello { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-bottom: 1.5px solid var(--black); background: var(--cream); }
    .acct-avatar {
      width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
      background: var(--red); color: var(--white); border: 1.5px solid var(--black); border-radius: 50%;
      font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 18px;
    }
    .acct-hello-name { font-weight: 800; font-size: 14px; }
    .acct-hello-mail { font-size: 12px; color: var(--muted); }
    .acct-nav { display: flex; flex-direction: column; }
    .acct-nav-link {
      display: flex; align-items: center; gap: 10px; padding: 13px 16px;
      font-size: 14px; font-weight: 600; color: var(--black); text-decoration: none;
      border-bottom: 1px solid var(--border-light); transition: background 0.1s;
    }
    .acct-nav-link:last-child { border-bottom: none; }
    .acct-nav-link:hover { background: var(--cream); }
    .acct-nav-link.active { background: var(--black); color: var(--white); }
    .acct-nav-link i { font-size: 18px; }
    .acct-nav-logout { color: var(--muted); }
    .acct-title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 30px; margin-bottom: 22px; }
    .acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
    .acct-stat {
      display: flex; flex-direction: column; gap: 4px; padding: 20px;
      border: 1.5px solid var(--black); background: var(--white); text-decoration: none; color: var(--black);
      transition: transform 0.12s, box-shadow 0.12s;
    }
    .acct-stat:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--black); }
    .acct-stat-num { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 28px; color: var(--red); }
    .acct-stat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
    .acct-block { border: 1.5px solid var(--black); padding: 20px; background: var(--white); }
    .acct-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
    .acct-block-head .summary-title { margin-bottom: 0; }
    .acct-order {
      display: flex; align-items: center; gap: 16px; padding: 16px 0;
      border-bottom: 1px solid var(--border-light);
    }
    .acct-order:last-child { border-bottom: none; }
    .acct-order-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
    .acct-order-id { font-weight: 800; font-size: 14px; }
    .acct-order-date { font-size: 12px; color: var(--muted); }
    .acct-status {
      display: inline-block; white-space: nowrap;
      font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
      padding: 4px 10px; border: 1.5px solid var(--black);
    }
    .acct-status--processing { background: #F5E6A8; }
    .acct-status--delivered { background: #CBE5D6; }
    .acct-status--pending { background: #EFEAE0; }
    .acct-status--cancelled { background: #EFD6D6; }

    /* Delivery tracker (My Account → view order) */
    .del-track {
      --accent: var(--red); --accent-soft: #FBEDED;
      border: 1.5px solid var(--black); background: var(--white);
      padding: 20px 22px 22px; margin: 4px 0 26px;
    }
    .del-track--delayed { --accent: #E07A00; --accent-soft: #FCEFDD; }
    .del-track-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
    .del-track-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 15px; }
    .del-track-title i { font-size: 19px; color: var(--accent); }
    .del-track-eta {
      font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
      white-space: nowrap; padding: 5px 11px; color: var(--accent); background: var(--accent-soft);
    }
    .del-rail { position: relative; }
    .del-rail-track {
      position: absolute; left: 12.5%; right: 12.5%; top: 4px; height: 3px;
      background: #ECE7DF; border-radius: 3px; overflow: hidden;
    }
    .del-rail-fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .4s ease; }
    .del-nodes { position: relative; display: flex; }
    .del-node { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
    .del-node-dot {
      width: 11px; height: 11px; border-radius: 50%; background: var(--white);
      border: 2px solid #ECE7DF; box-sizing: border-box; position: relative; z-index: 1;
    }
    .del-node.is-done .del-node-dot { background: var(--accent); border-color: var(--accent); }
    .del-node.is-now .del-node-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
    .del-node-label { margin-top: 10px; font-size: 12px; color: var(--muted); }
    .del-node.is-done .del-node-label,
    .del-node.is-now .del-node-label { color: var(--black); font-weight: 700; }
    .del-track-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
    .del-track--delayed .del-track-note { color: #B45900; }
    .acct-order-total { font-weight: 800; font-size: 14px; min-width: 64px; text-align: right; }
    .acct-order-view { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--black); text-decoration: none; }
    .acct-order-view:hover { color: var(--red); }
    .acct-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .acct-address { border: 1.5px solid var(--black); background: var(--white); padding: 20px; position: relative; }
    .acct-address-tag {
      display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
      letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
    }
    .acct-address-text { font-size: 14px; line-height: 1.7; }
    .acct-address-edit {
      display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
      background: none; border: none; cursor: pointer; font-family: var(--sans);
      font-size: 13px; font-weight: 700; color: var(--black); padding: 0;
    }
    .acct-address-edit:hover { color: var(--red); }
    .acct-address--add {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      border-style: dashed; color: var(--muted); font-family: var(--sans);
      font-size: 14px; font-weight: 700; cursor: pointer; background: none; min-height: 140px;
      transition: color 0.12s, border-color 0.12s;
    }
    .acct-address--add:hover { color: var(--red); }

    /* ============ ABOUT ============ */
    .about-hero { text-align: center; padding-bottom: 40px; }
    .about-title {
      font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 6vw, 64px);
      line-height: 1.05; margin: 10px 0 20px;
    }
    .about-title em { font-style: italic; color: var(--red); }
    .about-intro { max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: var(--muted); }
    .about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
    .about-story-img { border: 1.5px solid var(--black); box-shadow: 6px 6px 0 var(--black); }
    .about-story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .about-story-text p:not(.section-label) { font-size: 15px; line-height: 1.75; color: var(--black); margin-top: 14px; }
    .about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .about-value { border: 1.5px solid var(--black); padding: 24px 20px; background: var(--white); transition: transform 0.12s, box-shadow 0.12s; }
    .about-value:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--black); }
    .about-value-icon {
      width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
      background: var(--cream); border: 1.5px solid var(--black); font-size: 22px; margin-bottom: 14px;
    }
    .about-value-name { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
    .about-value-sub { font-size: 13px; line-height: 1.6; color: var(--muted); }
    .about-stats {
      display: grid; grid-template-columns: repeat(4, 1fr);
      background: var(--black); color: var(--white);
      border-top: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black);
    }
    .about-stat { text-align: center; padding: 40px 20px; border-right: 1px solid rgba(255,255,255,0.15); }
    .about-stat:last-child { border-right: none; }
    .about-stat-num {
      display: flex; align-items: baseline; justify-content: center; gap: 4px;
      font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 36px;
    }
    .about-stat-num i { color: var(--red); font-size: 22px; }
    .about-stat-label { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
    .about-cta { text-align: center; }
    .about-cta-title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
    .about-cta-sub { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
    .about-cta-sub em { color: var(--red); font-weight: 700; }
    .about-cta-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }

    /* ============ CONTACT ============ */
    .contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; margin-top: 8px; }
    .tier-nudge {
      display: flex; align-items: center; gap: 7px;
      margin-top: 10px; font-size: 12.5px; font-weight: 600;
    }
    .tier-nudge i { font-size: 16px; color: var(--red); flex-shrink: 0; }
    .tier-nudge--done { color: #3D9E6E; }
    .tier-nudge--done i { color: #3D9E6E; }
    /* Cart-page tier nudge matches the free-shipping note exactly (13px/700, 13px icon). */
    .freeship-wrap .tier-nudge { font-size: 13px; font-weight: 700; gap: 6px; margin-bottom: 12px; }
    .freeship-wrap .tier-nudge i { font-size: 13px; }
    .summary-row--discount span:last-child { color: #3D9E6E; font-weight: 700; }

    .contact-notice {
      display: flex; align-items: center; gap: 10px;
      border: 1.5px solid var(--black); background: var(--cream);
      padding: 14px 18px; margin-bottom: 28px;
      font-size: 14px; font-weight: 600;
    }
    .contact-notice i { font-size: 20px; color: #3D9E6E; flex-shrink: 0; }
    .contact-notice--error i { color: var(--red); }
    .contact-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
    .contact-send-btn { max-width: 260px; }
    .contact-info { display: flex; flex-direction: column; gap: 16px; }
    .contact-info-card { border: 1.5px solid var(--black); background: var(--cream); padding: 20px; }
    .contact-info-icon {
      width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
      background: var(--white); border: 1.5px solid var(--black); font-size: 20px; margin-bottom: 12px;
    }
    .contact-info-title { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
    .contact-info-text { font-size: 13px; line-height: 1.7; color: var(--muted); }
    .contact-info-text a { color: var(--black); font-weight: 600; }
    .contact-info-text a:hover { color: var(--red); }
    .contact-socials { display: flex; flex-direction: column; gap: 6px; }
    .contact-socials a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

    /* ============ CONTENT PAGES (privacy/terms/etc) ============ */
    .prose { max-width: 680px; margin: 8px auto 0; }
    .prose-title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(30px, 4vw, 42px); margin-bottom: 6px; }
    .prose-updated { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin-bottom: 28px; }
    .prose h2 {
      font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 22px;
      margin: 32px 0 10px; padding-top: 24px; border-top: 1.5px solid var(--black);
    }
    .prose p { font-size: 15px; line-height: 1.75; color: var(--black); margin-bottom: 12px; }
    .prose ul, .prose ol { margin: 4px 0 16px; padding-left: 22px; }
    .prose ol li { margin-bottom: 8px; }
    .prose li { font-size: 15px; line-height: 1.7; color: var(--black); margin-bottom: 5px; }
    .prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
    .prose strong { font-weight: 700; }
    .prose-footer { margin-top: 40px; padding: 18px 20px; background: var(--cream); border: 1.5px solid var(--black); }
    .prose-footer p { margin: 0; font-size: 14px; }
    .prose-footer a { color: var(--red); font-weight: 700; }

    /* ============ BLOG / JOURNAL ============ */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .blog-card {
      display: flex;
      flex-direction: column;
      background: var(--white);
      border: 1.5px solid var(--black);
      text-decoration: none;
      color: inherit;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .blog-card:hover {
      transform: translate(-3px, -3px);
      box-shadow: 5px 5px 0 var(--black);
    }
    .blog-card-img {
      aspect-ratio: 16 / 10;
      background: var(--cream);
      position: relative;
      overflow: hidden;
      border-bottom: 1.5px solid var(--black);
    }
    .blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
    .blog-card:hover .blog-card-img img { transform: scale(1.05); }
    .blog-card-placeholder {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      color: var(--red); font-size: 46px; opacity: 0.2;
    }
    .blog-card-tag {
      position: absolute; top: 0; left: 0;
      background: var(--black); color: var(--white);
      font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
      padding: 5px 10px;
    }
    .blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
    .blog-card-date { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
    .blog-card-title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; }
    .blog-card-excerpt { font-size: 14px; line-height: 1.6; color: var(--muted); flex: 1; }
    .blog-card-more {
      display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
      font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--black);
    }
    .blog-card:hover .blog-card-more { color: var(--red); }
    .blog-card-more i { transition: transform 0.15s; }
    .blog-card:hover .blog-card-more i { transform: translateX(3px); }

    /* single post */
    .prose > .section-label { margin-bottom: 8px; }
    .prose-hero { margin: 4px 0 28px; border: 1.5px solid var(--black); overflow: hidden; }
    .prose-hero img { width: 100%; height: auto; display: block; }
    .blog-back {
      display: inline-flex; align-items: center; gap: 8px; margin-top: 36px;
      font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
      color: var(--black); text-decoration: none;
      border-bottom: 1.5px solid var(--black); padding-bottom: 2px;
    }
    .blog-back:hover { color: var(--red); border-color: var(--red); }

    /* ============ 404 ============ */
    .nf-page { text-align: center; padding-top: 72px; padding-bottom: 72px; }
    .nf-code {
      font-family: var(--serif); font-style: italic; font-weight: 700;
      font-size: clamp(90px, 16vw, 160px); line-height: 1; color: var(--black);
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .nf-heart { color: var(--red); display: flex; font-size: 0.55em; animation: nf-beat 1.6s ease-in-out infinite; }
    @keyframes nf-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.15); } 24% { transform: scale(1); } }
    .nf-title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(24px, 4vw, 34px); margin: 18px 0 10px; }
    .nf-sub { font-size: 15px; color: var(--muted); max-width: 420px; margin: 0 auto 28px; line-height: 1.6; }
    .nf-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
    .nf-page { border-top: 1.5px solid var(--black); }
    .nf-suggest .products-grid { grid-template-columns: repeat(4, 1fr); }

    @media (max-width: 900px) {
      nav { padding: 0 20px; }
      .search-bar-inner { padding: 0 20px; }
      .nav-links { display: none; }
      .nav-hamburger { display: flex; align-items: center; }
      /* Locale selector lives only in the mobile drawer; hamburger all the way right. */
      .nav-locale { display: none; }
      .nav-hamburger { order: 10; }
      /* Cart: tap-to-toggle full-width panel (no hover-open on touch). */
      .nav-cart-wrap:hover .cart-dropdown { display: none; }
      .nav-cart-wrap.open .cart-dropdown { display: block; }
      .nav-cart-wrap.open .nav-cart { color: var(--red); }
      /* While the cart is open, pin the nav explicitly (position:fixed) instead
         of sticky: locking body scroll (overflow:hidden) otherwise re-parents the
         sticky nav to the non-scrolled body and it jumps to the document top.
         Fixed also lifts it above the root-level overlay (199) so the panel shows. */
      body.cart-open nav { position: fixed; top: 0; left: 0; right: 0; z-index: 300; }
      .cart-dropdown {
        position: fixed; left: 0; right: 0; width: 100%;
        padding-top: 0; z-index: 200;
        max-height: calc(100vh - 60px); overflow-y: auto;
      }
      .cart-dropdown-inner {
        border-left: none; border-right: none; box-shadow: none;
        min-height: 100%;
      }
      .cart-dropdown-header { padding: 16px 20px; }
      /* Leave room for the absolutely-positioned close button. */
      .cart-dropdown-header .cart-item-count { margin-right: 34px; }
      .cart-item { padding: 12px 20px; }
      /* Higher specificity: the base .cart-item-remove rule sits later in the file. */
      .cart-dropdown .cart-item-remove { right: 20px; } /* match the wider mobile padding */
      .cart-dropdown-footer { padding: 16px 20px; }
      .cart-mobile-close { display: flex; }
      .hero { grid-template-columns: 1fr; padding: 48px 20px 56px; gap: 0; }
      .hero-visual { display: none; }
      .section { padding: 48px 20px; }
      .ticker-item { padding: 0 20px; }
      .products-grid, .cart-recent .products-grid, .nf-suggest .products-grid { grid-template-columns: repeat(2, 1fr); }
      .blog-grid { grid-template-columns: 1fr; gap: 20px; }
      .collections-grid { grid-template-columns: repeat(2, 1fr); }
      .steps-grid { grid-template-columns: 1fr; }
      .email-cta { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
      .pdp-layout { grid-template-columns: 1fr; gap: 32px; }
      .shop-filter-group { flex-direction: column; align-items: flex-start; gap: 8px; }
      /* Let the toolbar wrap so the sort control drops to its own line instead
         of running off the right edge when a "Clear filter" link is present. */
      .shop-toolbar { flex-wrap: wrap; row-gap: 10px; }
      .shop-sort { max-width: 100%; }
      .shop-sort-select { max-width: 100%; min-width: 0; }
      .pdp { padding-top: 20px; }
      .reviews-track-wrap { margin: 0 -20px; }
      .cartp-layout, .co-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
      .cartp-summary, .co-summary, .acct-sidebar { position: static; }
      .cartp-item { grid-template-columns: 72px 1fr auto; grid-template-rows: auto auto; gap: 8px 16px; }
      .cartp-item-img { width: 72px; height: 72px; grid-row: span 2; }
      .cartp-item-qty { grid-column: 2; justify-self: start; }
      .cartp-item-price { grid-column: 3; text-align: right; }
      .cartp-item-remove { grid-column: 3; grid-row: 1; justify-self: end; }
      .auth-layout { grid-template-columns: 1fr; }
      .acct-layout { grid-template-columns: 1fr; gap: 24px; }
      .acct-stats { grid-template-columns: 1fr; }
      .acct-addresses { grid-template-columns: 1fr; }
      .acct-order { flex-wrap: wrap; }
      .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
      .about-values-grid { grid-template-columns: 1fr 1fr; }
      .about-stats { grid-template-columns: 1fr 1fr; }
      .about-stat { border-bottom: 1px solid rgba(255,255,255,0.15); }
      .form-row, .form-row--address { grid-template-columns: 1fr; gap: 0; }
    }


/* ============ WOOCOMMERCE INTEGRATION ============ */

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none;
  border: 1.5px solid var(--black);
  background: var(--cream);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.woocommerce-error { border-color: var(--red); background: #FBEDED; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  background: var(--black); color: var(--white); border: 1.5px solid var(--black);
  padding: 8px 16px; font-size: 12px; font-weight: 700; text-decoration: none;
}
.woocommerce-notices-wrapper:empty { display: none; }

/* Cart qty input */
.pdp-qty .qty-input {
  width: 40px; border: none; text-align: center; background: transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--black);
  outline: none; -moz-appearance: textfield; appearance: textfield;
}
.pdp-qty .qty-input::-webkit-outer-spin-button,
.pdp-qty .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Woo forms (checkout billing, account edit forms) */
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black);
}
.woocommerce form .form-row label .optional { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  font-family: var(--sans); font-size: 14px; color: var(--black);
  background: var(--white); border: 1.5px solid var(--black);
  padding: 11px 14px; outline: none; width: 100%; border-radius: 0;
  transition: box-shadow 0.12s;
}
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus { box-shadow: 3px 3px 0 var(--black); }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px;
}
.woocommerce form .form-row-wide,
.woocommerce form .form-row.notes { grid-column: 1 / -1; }
/* Postcode + house number share a row 50/50 (NL address convention). */
.co-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.co-row-split--single { grid-template-columns: 1fr; }
.woocommerce form .co-row-split .form-row { grid-column: auto; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 {
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 18px; margin: 8px 0 14px;
  grid-column: 1 / -1;
}
/* selectWoo (country dropdown) */
.select2-container .select2-selection--single {
  height: auto; border: 1.5px solid var(--black); border-radius: 0; background: var(--white);
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 11px 14px; line-height: 1.4; font-size: 14px; color: var(--black); font-family: var(--sans);
}
.select2-container .select2-selection--single .select2-selection__arrow { height: 100%; top: 0; right: 8px; }
.select2-dropdown { border: 1.5px solid var(--black); border-radius: 0; font-size: 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--black); }

/* Checkout billing-address choice (same as shipping / different) */
.co-billing-choice { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.co-billing-opt { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.co-billing-opt input[type="radio"] { width: 17px; height: 17px; accent-color: var(--black); cursor: pointer; }
.co-billing-fields { margin-top: 16px; }
.co-billing-fields[hidden] { display: none; }

/* Checkout payment methods */
#payment ul.wc_payment_methods { list-style: none; border: 1.5px solid var(--black); margin: 0 0 18px; padding: 0; }
#payment li.wc_payment_method {
  display: flex; flex-wrap: wrap; align-items: center;
  border-bottom: 1.5px solid var(--border-light);
  transition: background 0.1s;
}
#payment li.wc_payment_method:hover { background: var(--cream); }
#payment li.wc_payment_method:last-child { border-bottom: none; }
#payment li.wc_payment_method > input.input-radio {
  accent-color: var(--red); width: 16px; height: 16px;
  margin: 0 0 0 16px; flex-shrink: 0;
}
#payment li.wc_payment_method > label {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.1s;
}
/* Icons group together on the right; only the first pushes off the label text
   (auto on every icon made flexbox spread them evenly across the whole row). */
#payment li.wc_payment_method > label img { height: 22px; width: auto; }
#payment li.wc_payment_method > label img:first-of-type { margin-left: auto; }
#payment li.wc_payment_method > .payment_box { flex-basis: 100%; }
#payment .payment_box { padding: 4px 16px 14px 44px; font-size: 13px; color: var(--muted); }
/* Place order + terms live in .co-place-order (below the billing step), not #payment. */
.co-place-order { margin-top: 24px; }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.woocommerce-privacy-policy-text a { color: var(--black); }
button#place_order {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 20px;
  background: var(--red); color: var(--white); border: 1.5px solid var(--black);
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; transition: transform 0.12s, box-shadow 0.12s;
}
button#place_order:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--black); }

/* "Returning customer?" login form (checkout) — match the theme */
.woocommerce-checkout form.woocommerce-form-login { margin: 16px 0 6px; }
.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex; align-items: center; gap: 8px; width: fit-content;
  font-size: 13px; font-weight: 600; color: var(--black);
  text-transform: none; letter-spacing: 0; margin: 0; cursor: pointer;
}
.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__rememberme input {
  width: 16px; height: 16px; accent-color: var(--black); margin: 0; cursor: pointer;
}
.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__submit {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-width: 150px; padding: 12px 28px; margin-top: 14px;
  background: var(--black); color: var(--white); border: 1.5px solid var(--black);
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; transition: transform 0.12s, box-shadow 0.12s;
}
.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__submit:hover {
  transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--red);
}
.woocommerce-checkout form.woocommerce-form-login .lost_password { margin-top: 12px; font-size: 13px; }
.woocommerce-checkout form.woocommerce-form-login .lost_password a { color: var(--black); text-decoration: underline; }

/* Shipping options in summary */
.summary-shipping { border-top: 1px solid var(--border-light); padding-top: 10px; margin-top: 8px; }
.summary-shipping-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.co-ship-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0 0 8px; padding: 0; }
.co-ship-option label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.co-ship-option input.shipping_method { accent-color: var(--red); }
.co-ship-option .amount { font-weight: 700; }
.co-ship-none { font-size: 13px; color: var(--muted); }

/* Account content: orders table, addresses, generic Woo bits */
.acct-content .acct-title, .acct-content > h1 { margin-bottom: 22px; }
.acct-content table {
  width: 100%; border-collapse: collapse; border: 1.5px solid var(--black);
  font-size: 14px; background: var(--white);
}
.acct-content table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--black);
  padding: 12px 16px; background: var(--cream);
}
.acct-content table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); }
.acct-content table tr:last-child td { border-bottom: none; }
.acct-content .woocommerce-button, .acct-content .button {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--black); color: var(--white); border: 1.5px solid var(--black);
  padding: 8px 14px; font-size: 12px; font-weight: 700; text-decoration: none;
  font-family: var(--sans); cursor: pointer; transition: background 0.12s;
}
.acct-content .woocommerce-button:hover, .acct-content .button:hover { background: var(--red); border-color: var(--red); }
.acct-content .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-content .woocommerce-Address { border: 1.5px solid var(--black); background: var(--white); padding: 20px; }
.acct-content .woocommerce-Address-title h2 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.acct-content .woocommerce-Address address { font-style: normal; font-size: 14px; line-height: 1.7; }
.acct-content .woocommerce-Address .edit { margin-top: 10px; display: inline-block; font-size: 13px; font-weight: 700; color: var(--black); }
.acct-content .woocommerce-Address .edit:hover { color: var(--red); }
.acct-content fieldset { border: none; margin: 18px 0; padding: 0; }
.acct-content fieldset legend { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 18px; margin-bottom: 12px; }

/* ---- Edit-account form: dashboard-style cards ---- */
.acct-form-block { margin-bottom: 20px; }
.acct-form-block > .form-row:last-child,
.acct-form-block > .co-row-split:last-child .form-row { margin-bottom: 0; }
.acct-form .form-hint { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); font-style: normal; }
.acct-form-actions { margin: 0; }

/* WooCommerce injects a show/hide-password toggle on password fields; style it
   as a clean eye button on the right instead of the default unstyled marker. */
.woocommerce .password-input { position: relative; display: block; }
.woocommerce .password-input input { padding-right: 44px; }
.woocommerce .show-password-input {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  width: 20px; height: 20px; cursor: pointer; opacity: 0.5;
  background: center / 20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  transition: opacity 0.12s;
}
.woocommerce .show-password-input:hover { opacity: 0.9; }
.woocommerce .show-password-input.display-password {
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20C5 20 1 12 1 12a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

/* ---- Single order view (view-order / order-details) ---- */
/* Intro line: "Order #45 was placed on … and is currently …" */
.acct-content p:has(mark.order-status) {
  border: 1.5px solid var(--black);
  background: var(--cream);
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 24px;
}
.acct-content mark.order-number,
.acct-content mark.order-date,
.acct-content mark.order-status {
  background: none;
  font-weight: 800;
  color: var(--black);
}
.acct-content mark.order-status {
  display: inline-block;
  background: #F5E6A8;
  border: 1.5px solid var(--black);
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.acct-content .woocommerce-order-details__title,
.acct-content .woocommerce-column__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  margin: 4px 0 16px;
}
.acct-content .woocommerce-customer-details .woocommerce-column__title { font-size: 18px; }

/* Order items + totals table */
.acct-content .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--black);
  background: var(--white);
  margin-bottom: 32px;
  font-size: 14px;
}
.acct-content .woocommerce-table--order-details th,
.acct-content .woocommerce-table--order-details td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.acct-content .woocommerce-table--order-details thead th {
  background: var(--cream);
  border-bottom: 1.5px solid var(--black);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.acct-content .woocommerce-table--order-details td.product-total,
.acct-content .woocommerce-table--order-details th.product-total,
.acct-content .woocommerce-table--order-details tfoot td { text-align: right; }
.acct-content .woocommerce-table--order-details .product-name a {
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.acct-content .woocommerce-table--order-details .product-name a:hover { color: var(--red); }
.acct-content .woocommerce-table--order-details tfoot th {
  text-align: right;
  font-weight: 700;
  background: none;
  border-bottom: 1px solid var(--border-light);
}
.acct-content .woocommerce-table--order-details tfoot tr:last-child th,
.acct-content .woocommerce-table--order-details tfoot tr:last-child td {
  border-bottom: none;
  border-top: 1.5px solid var(--black);
  font-size: 16px;
  font-weight: 800;
}

/* Customer details / addresses */
.acct-content .woocommerce-customer-details { margin-top: 8px; }
.acct-content .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.acct-content .woocommerce-customer-details .woocommerce-column {
  border: 1.5px solid var(--black);
  background: var(--white);
  padding: 20px;
}
.acct-content .woocommerce-customer-details address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  border: none;
  padding: 0;
}
.acct-content .woocommerce-customer-details--email,
.acct-content .woocommerce-customer-details--phone {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Orders list table (Orders tab) */
.acct-content .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--black);
  background: var(--white);
  font-size: 14px;
}
.acct-content .woocommerce-orders-table th,
.acct-content .woocommerce-orders-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.acct-content .woocommerce-orders-table thead th {
  background: var(--cream);
  border-bottom: 1.5px solid var(--black);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.acct-content .woocommerce-orders-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper,
  .woocommerce-address-fields__field-wrapper,
  .acct-content .woocommerce-columns--addresses,
  .acct-content .woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* Mini-cart: remove button */
.cart-item { position: relative; }
.cart-item-remove {
  position: absolute; top: 6px; right: 16px; /* right edge lines up with the content, like the image on the left */
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--muted); font-size: 13px;
  transition: color 0.12s;
}
.cart-item-remove:hover { color: var(--red); }

/* Cart page: coupon toggle */
.coupon-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0; margin-bottom: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: color 0.12s;
}
.coupon-toggle:hover { color: var(--black); }
.coupon-toggle-caret { font-size: 11px; transition: transform 0.15s; }
.coupon-toggle.open .coupon-toggle-caret { transform: rotate(180deg); }
.co-discount[hidden] { display: none; }

/* PDP: variation selector (variable products) */
.pdp-variation-field { max-width: 280px; margin-bottom: 16px; }
.pdp-add-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Checkout: coupon in summary card */
.co-coupon { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.co-coupon .coupon-toggle { margin-bottom: 0; }
.co-coupon .co-discount { margin-top: 10px; margin-bottom: 0; }
.co-coupon-msg { font-size: 12px; color: var(--muted); margin-top: 8px; }
.co-coupon-msg.is-error { color: var(--red); }

/* PDP: multiple color dots */
.pdp-spec-colors { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Shop pagination */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 56px;
}
.shop-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--black);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.shop-pagination a.page-numbers:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--black);
}
.shop-pagination .page-numbers.current { background: var(--black); color: var(--white); }
.shop-pagination .page-numbers.dots { border: none; background: none; min-width: auto; padding: 0 2px; }
.shop-pagination .prev, .shop-pagination .next { font-size: 16px; }

/* Added-to-cart toast */
.patchy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  max-width: calc(100vw - 40px);
}
.patchy-toast.show { opacity: 1; transform: translate(-50%, 0); }
.patchy-toast i { font-size: 18px; color: #7ED9A2; }
.patchy-toast .amount, .patchy-toast strong { color: var(--white); }
.patchy-toast[hidden] { display: none; }

/* Added-to-cart toast — appears in the same spot as the cart hover dropdown
   (anchored under the cart icon, moves with the sticky nav). */
.cart-toast {
  position: absolute; top: 100%; right: 0; margin-top: 10px; z-index: 300;
  display: flex; align-items: center; gap: 14px;
  width: 340px; max-width: calc(100vw - 32px);
  background: var(--white); border: 1.5px solid var(--black);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.14);
  padding: 14px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cart-toast.show { opacity: 1; transform: translateY(0); }
.cart-toast[hidden] { display: none; }
.cart-toast-img { width: 54px; height: 54px; border: 1.5px solid var(--black); flex-shrink: 0; overflow: hidden; background: var(--cream); }
.cart-toast-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-toast-body { flex: 1; min-width: 0; }
.cart-toast-msg { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--black); }
.cart-toast-msg i { color: #1FA463; margin-right: 3px; vertical-align: -1px; }
.cart-toast-name { font-weight: 800; }
.cart-toast-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cart-toast-sub strong { color: var(--black); }
.cart-toast-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--black); text-decoration: none; }
.cart-toast-link:hover { color: var(--red); }

/* Mini-cart free shipping meter */
.freeship--mini { margin: 10px 0 4px; }
.freeship--mini .freeship-text { font-size: 12px; }
.freeship--mini .freeship-bar { height: 8px; margin-top: 6px; }

/* Grid card: variable products */
.btn-add--options { justify-content: center; }

/* PDP: clickable rating */
a.pdp-rating, a.hero-rating { text-decoration: none; }
a.pdp-rating:hover .pdp-rating-text, a.hero-rating:hover .hero-rating-text { color: var(--black); text-decoration: underline; }
.reviews-count a { color: inherit; text-decoration: underline; }
.cart-gap-note .amount { font-weight: 700; }

/* PDP: sticky mobile buy bar */
.pdp-sticky-bar { display: none; }
.pdp-sticky-bar[hidden] { display: none; }
@media (max-width: 900px) {
  .pdp-sticky-bar:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: var(--white);
    border-top: 1.5px solid var(--black);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .pdp-sticky-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .pdp-sticky-name {
    font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 15px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .pdp-sticky-price { font-size: 13px; font-weight: 800; color: var(--red); }
  .pdp-sticky-add { flex-shrink: 0; padding: 12px 18px; font-size: 13px; }
}

/* Add-to-cart: button spinner + cart icon pop */
.btn-spin { display: inline-block; animation: patchy-spin 0.8s linear infinite; }
@keyframes patchy-spin { to { transform: rotate(360deg); } }
@keyframes patchy-cart-pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.3) rotate(-8deg); }
  60% { transform: scale(0.92) rotate(5deg); }
  100% { transform: scale(1); }
}
.nav-cart.pop { animation: patchy-cart-pop 0.5s ease; }
.nav-cart.pop .nav-cart-badge { animation: patchy-cart-pop 0.5s ease 0.05s; }
.patchy-toast.error { background: var(--red); }
.patchy-toast.error i { color: var(--white); }

/* ============ PAGE TRANSITIONS ============ */
/* No animation on purpose: the browser holds the old page until the new
   one is fully rendered, then swaps atomically — no flash, no fade. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(root) { display: none; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root),
  ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}

/* Cookie consent banner */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--black); color: var(--white);
  border: 1.5px solid var(--black); padding: 15px 20px;
  box-shadow: 0 12px 34px rgba(0,0,0,.20);
}
.consent-banner[hidden] { display: none; }
.consent-text { flex: 1; min-width: 220px; font-size: 13px; line-height: 1.55; margin: 0; }
.consent-text a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btn {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 9px 16px; cursor: pointer; border: 1.5px solid #fff; transition: background .12s;
}
.consent-btn--ghost { background: transparent; color: #fff; }
.consent-btn--ghost:hover { background: rgba(255,255,255,.14); }
.consent-btn--solid { background: #fff; color: var(--black); }
.consent-btn--solid:hover { background: var(--cream); }
@media (max-width: 600px) {
  .consent-banner { flex-direction: column; align-items: stretch; gap: 12px; bottom: 0; left: 0; right: 0; }
  .consent-actions { justify-content: flex-end; }
}
