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

    :root {
      --bg:        #F9F6F1;
      --surface:   #FFFFFF;
      --ink:       #1A1A1A;
      --ink2:      #555550;
      --ink3:      #999490;
      --border:    #E2DDD6;
      --border2:   #CEC8BF;
      --available: #2A5C2A;
      --sold-bg:   #F0EDE8;
      --sold-text: #999490;
      --gold:      #B8832A;
      --gold-bg:   #FDF6EA;
      --red:       #C0392B;
      --radius:    0px;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg);
      color: var(--ink);
      line-height: 1.5;
      min-height: 100vh;
    }

    /* ─── HEADER ─────────────────────────────────────── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      position: sticky; top: 0; z-index: 200;
    }
    .header-top {
      max-width: 1280px; margin: 0 auto;
      padding: 0 32px;
      display: flex; align-items: center; justify-content: space-between;
      height: 72px;
    }
    .logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem; font-weight: 700;
      letter-spacing: 0.01em; color: var(--ink);
      text-decoration: none;
    }
    .logo span { font-style: italic; font-weight: 400; color: var(--ink2); }
    .header-actions { display: flex; align-items: center; gap: 24px; }
    .cart-btn {
      display: flex; align-items: center; gap: 8px;
      background: var(--ink); color: #fff;
      border: none; font-family: 'Inter', sans-serif;
      font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 10px 18px; cursor: pointer;
      transition: background 0.15s;
    }
    .cart-btn:hover { background: #333; }
    .cart-count {
      background: var(--gold); color: #fff;
      border-radius: 50%; width: 20px; height: 20px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 0.7rem; font-weight: 700;
    }
    .cart-count:empty, .cart-count.zero { display: none; }
    .admin-link {
      font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--ink3); text-decoration: none; cursor: pointer;
      background: none; border: none; font-family: 'Inter', sans-serif;
    }
    .admin-link:hover { color: var(--ink); }

    /* ─── NAV TABS ───────────────────────────────────── */
    .nav-tabs {
      border-top: 1px solid var(--border);
      background: var(--surface);
    }
    .nav-inner {
      max-width: 1280px; margin: 0 auto;
      padding: 0 32px;
      display: flex; gap: 0;
    }
    .nav-tab {
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--ink3);
      padding: 14px 24px; border: none; background: none;
      cursor: pointer; border-bottom: 2px solid transparent;
      transition: color 0.15s, border-color 0.15s;
      white-space: nowrap;
    }
    .nav-tab:hover { color: var(--ink); }
    .nav-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
    .nav-tab-count {
      margin-left: 6px; font-size: 0.7rem; color: var(--ink3);
    }

    /* ─── HERO BANNER ─────────────────────────────────── */
    .hero {
      border-bottom: 1px solid var(--border);
      padding: 56px 32px 48px;
      text-align: center;
      background: var(--surface);
    }
    .hero-eyebrow {
      font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--ink3); margin-bottom: 16px;
    }
    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700;
      line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.01em;
    }
    .hero h1 em { font-style: italic; font-weight: 400; }
    .hero p {
      font-size: 1rem; color: var(--ink2); max-width: 520px;
      margin: 0 auto 32px; font-weight: 300; line-height: 1.7;
    }
    .hero-stats {
      display: inline-flex; gap: 48px;
      border-top: 1px solid var(--border); padding-top: 28px;
    }
    .hero-stat { text-align: center; }
    .hero-stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem; font-weight: 700; line-height: 1;
      margin-bottom: 4px;
    }
    .hero-stat-label {
      font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--ink3);
    }

    /* ─── MAIN ───────────────────────────────────────── */
    .main { max-width: 1280px; margin: 0 auto; padding: 0 32px 80px; }
    .page { display: none; }
    .page.active { display: block; }

    /* ─── PAGE HEADER ─────────────────────────────────── */
    .page-header {
      padding: 40px 0 28px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 36px;
      display: flex; align-items: flex-end; justify-content: space-between;
      flex-wrap: wrap; gap: 16px;
    }
    .page-header-left {}
    .page-tag {
      font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--ink3); margin-bottom: 8px;
    }
    .page-header h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; font-weight: 700; line-height: 1.1;
    }
    .page-header p {
      color: var(--ink2); font-size: 0.9rem; max-width: 500px;
      margin-top: 8px; font-weight: 300; line-height: 1.6;
    }
    .page-header-count {
      font-size: 0.78rem; color: var(--ink3); white-space: nowrap;
    }

    /* ─── FILTER BAR ─────────────────────────────────── */
    .filter-bar {
      display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px;
    }
    .filter-btn {
      font-family: 'Inter', sans-serif;
      font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
      text-transform: uppercase; padding: 7px 14px;
      background: var(--surface); border: 1px solid var(--border2);
      color: var(--ink2); cursor: pointer; transition: all 0.12s;
    }
    .filter-btn:hover { border-color: var(--ink); color: var(--ink); }
    .filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

    /* ─── STICKER GRID ───────────────────────────────── */
    .sticker-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 2px;
    }

    .s-card {
      background: var(--surface);
      position: relative; cursor: pointer;
      overflow: hidden;
      border: 1px solid var(--border);
      transition: box-shadow 0.2s;
    }
    .s-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); z-index: 1; }
    .s-card.is-sold { opacity: 0.55; pointer-events: none; }
    .s-card.is-sold .s-card-overlay { display: flex; }

    .s-card-img {
      aspect-ratio: 1; background: #f5f3ef;
      display: flex; align-items: center; justify-content: center;
      padding: 16px; overflow: hidden;
    }
    .s-card-img img {
      width: 100%; height: 100%; object-fit: contain;
      transition: transform 0.3s;
    }
    .s-card:hover .s-card-img img { transform: scale(1.05); }

    .s-card-overlay {
      position: absolute; inset: 0;
      background: rgba(245,243,239,0.75);
      display: none; align-items: center; justify-content: center;
    }
    .sold-ribbon {
      background: var(--ink); color: #fff;
      font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; padding: 6px 20px;
      transform: rotate(-15deg);
    }

    .s-card-body {
      padding: 10px 12px 12px;
      border-top: 1px solid var(--border);
    }
    .s-card-style-num {
      font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--ink3); margin-bottom: 3px;
    }
    .s-card-label {
      font-size: 0.78rem; color: var(--ink); line-height: 1.3;
      font-weight: 400;
    }
    .s-card-meta {
      display: flex; align-items: center; justify-content: space-between;
      margin-top: 6px;
    }
    .badge-avail {
      font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--available);
    }
    .badge-sold {
      font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--sold-text);
    }
    .badge-best {
      font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--gold);
    }
    .s-add-btn {
      font-family: 'Inter', sans-serif;
      font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; background: var(--ink); color: #fff;
      border: none; padding: 5px 10px; cursor: pointer;
      transition: background 0.12s;
      opacity: 0; pointer-events: none;
      transition: opacity 0.15s, background 0.12s;
    }
    .s-card:hover .s-add-btn { opacity: 1; pointer-events: auto; }
    .s-add-btn:hover { background: var(--gold); }
    .s-add-btn.in-cart { opacity: 1; pointer-events: auto; background: var(--gold); }

    /* ─── DISPLAY EXAMPLES ──────────────────────────── */
    .display-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 32px;
    }
    .disp-card {
      background: var(--surface);
      border: 1px solid var(--border);
      overflow: hidden;
      transition: box-shadow 0.2s;
    }
    .disp-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
    .disp-card-photo {
      width: 100%; aspect-ratio: 4/3;
      object-fit: cover; display: block;
      background: #f0ede8;
    }
    .disp-card-photo-placeholder {
      width: 100%; aspect-ratio: 4/3;
      background: #f0ede8;
      display: flex; align-items: center; justify-content: center;
      color: var(--ink3); font-size: 0.8rem; letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .disp-card-body {
      padding: 18px 20px 20px;
      border-top: 1px solid var(--border);
    }
    .disp-card-store {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700; margin-bottom: 5px;
      line-height: 1.2;
    }
    .disp-card-date {
      font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--ink3);
    }
    .disp-empty {
      text-align: center; padding: 80px 0;
      color: var(--ink3); font-size: 0.9rem;
    }
    .disp-empty p { margin-top: 8px; font-style: italic; }

    /* Admin: Display Examples */
    .disp-admin-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px; margin-bottom: 32px;
    }
    .disp-admin-card {
      border: 1px solid var(--border); background: var(--surface); overflow: hidden;
      position: relative;
    }
    .disp-admin-card img {
      width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
      background: #f0ede8;
    }
    .disp-admin-card-body { padding: 12px 14px; border-top: 1px solid var(--border); }
    .disp-admin-card-store { font-size: 0.88rem; font-weight: 600; }
    .disp-admin-card-date { font-size: 0.72rem; color: var(--ink3); margin-top: 2px; }
    .disp-admin-delete {
      position: absolute; top: 8px; right: 8px;
      background: var(--red); color: #fff; border: none;
      width: 26px; height: 26px; border-radius: 50%;
      font-size: 0.8rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity 0.15s;
    }
    .disp-admin-card:hover .disp-admin-delete { opacity: 1; }
    .disp-add-form {
      border: 1px solid var(--border); padding: 28px; background: var(--bg);
      margin-top: 8px;
    }
    .disp-add-form h4 {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700; margin-bottom: 20px;
    }
    .disp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
    .disp-upload-zone {
      border: 2px dashed var(--border2); padding: 36px;
      text-align: center; cursor: pointer; background: var(--surface);
      transition: border-color 0.15s; margin-bottom: 14px;
    }
    .disp-upload-zone:hover { border-color: var(--ink); }
    .disp-upload-zone input { display: none; }
    .disp-upload-preview {
      width: 100%; max-height: 180px; object-fit: cover;
      display: none; margin-bottom: 12px; border: 1px solid var(--border);
    }
    .disp-upload-preview.visible { display: block; }

    /* ─── BEST SELLERS ───────────────────────────────── */
    .bs-empty {
      text-align: center; padding: 80px 0;
      color: var(--ink3); font-size: 0.9rem;
    }
    .bs-empty p { margin-top: 8px; font-style: italic; }

    /* ─── CART DRAWER ────────────────────────────────── */
    .cart-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.35);
      z-index: 500; display: none;
    }
    .cart-overlay.open { display: block; }
    .cart-drawer {
      position: fixed; top: 0; right: -440px; width: 440px;
      height: 100vh; background: var(--surface);
      border-left: 1px solid var(--border);
      z-index: 501; transition: right 0.3s ease;
      display: flex; flex-direction: column;
    }
    .cart-drawer.open { right: 0; }
    .cart-head {
      padding: 24px 28px; border-bottom: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
    }
    .cart-head h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem; font-weight: 700;
    }
    .cart-close {
      background: none; border: none; cursor: pointer;
      font-size: 1.2rem; color: var(--ink3); line-height: 1;
    }
    .cart-close:hover { color: var(--ink); }
    .cart-body { flex: 1; overflow-y: auto; padding: 20px 28px; }
    .cart-empty {
      text-align: center; padding: 60px 0; color: var(--ink3);
      font-size: 0.9rem; font-style: italic;
    }
    .cart-item {
      display: flex; gap: 14px; align-items: flex-start;
      padding: 12px 0; border-bottom: 1px solid var(--border);
    }
    .cart-item-img {
      width: 60px; height: 60px;
      background: #f5f3ef;
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      padding: 4px;
    }
    .cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
    .cart-item-info { flex: 1; }
    .cart-item-label { font-size: 0.82rem; font-weight: 500; line-height: 1.3; }
    .cart-item-remove {
      font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--ink3); background: none; border: none; cursor: pointer;
      margin-top: 4px; font-family: 'Inter', sans-serif;
    }
    .cart-item-remove:hover { color: var(--red); }
    .cart-foot {
      padding: 20px 28px; border-top: 1px solid var(--border);
    }
    .cart-summary {
      font-size: 0.82rem; color: var(--ink2); margin-bottom: 16px;
    }
    .cart-summary strong { color: var(--ink); }
    .checkout-btn {
      width: 100%; padding: 14px;
      background: var(--ink); color: #fff; border: none;
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; cursor: pointer; transition: background 0.15s;
    }
    .checkout-btn:hover { background: var(--gold); }
    .checkout-btn:disabled { background: var(--ink3); cursor: not-allowed; }

    /* ─── CHECKOUT MODAL ─────────────────────────────── */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.5);
      z-index: 600; display: none; align-items: center; justify-content: center;
      padding: 24px;
    }
    .modal-overlay.open { display: flex; }
    .modal {
      background: var(--surface); width: 100%; max-width: 520px;
      max-height: 90vh; overflow-y: auto;
      animation: fadeUp 0.22s ease;
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .modal-head {
      padding: 28px 32px 20px;
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
    }
    .modal-head h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem; font-weight: 700;
    }
    .modal-body { padding: 28px 32px; }
    .form-group { margin-bottom: 20px; }
    .form-label {
      display: block;
      font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--ink2); margin-bottom: 7px;
    }
    .form-input {
      width: 100%; padding: 10px 14px;
      border: 1px solid var(--border2);
      background: var(--bg); color: var(--ink);
      font-family: 'Inter', sans-serif; font-size: 0.9rem;
      outline: none; transition: border-color 0.15s;
    }
    .form-input:focus { border-color: var(--ink); }
    textarea.form-input { resize: vertical; min-height: 80px; }
    .order-review {
      background: var(--bg); border: 1px solid var(--border);
      padding: 14px; margin-bottom: 20px;
    }
    .order-review-title {
      font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--ink3); margin-bottom: 10px;
    }
    .order-review-item {
      font-size: 0.82rem; color: var(--ink2); padding: 2px 0;
    }
    .modal-foot {
      padding: 0 32px 28px;
      display: flex; gap: 10px;
    }
    .btn-primary {
      flex: 1; padding: 13px;
      background: var(--ink); color: #fff; border: none;
      font-family: 'Inter', sans-serif;
      font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; cursor: pointer; transition: background 0.15s;
    }
    .btn-primary:hover { background: var(--gold); }
    .btn-secondary {
      padding: 13px 20px;
      background: none; color: var(--ink); border: 1px solid var(--border2);
      font-family: 'Inter', sans-serif;
      font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; cursor: pointer; transition: border-color 0.15s;
    }
    .btn-secondary:hover { border-color: var(--ink); }

    /* ─── ORDER SUCCESS ──────────────────────────────── */
    .order-success { text-align: center; padding: 48px 32px; }
    .order-success h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.6rem; margin-bottom: 12px;
    }
    .order-success p { color: var(--ink2); font-size: 0.9rem; line-height: 1.6; max-width: 320px; margin: 0 auto 24px; }

    /* ─── LIGHTBOX ───────────────────────────────────── */
    .lightbox {
      position: fixed; inset: 0; background: rgba(10,10,10,0.93);
      z-index: 700; display: none; align-items: center; justify-content: center;
      padding: 24px;
    }
    .lightbox.open { display: flex; }
    .lb-wrap {
      position: relative; max-width: 540px; width: 100%;
      animation: fadeUp 0.18s ease;
    }
    .lb-img {
      width: 100%; display: block; background: white;
    }
    .lb-close {
      position: absolute; top: -16px; right: -16px;
      width: 36px; height: 36px; border-radius: 50%;
      background: white; border: none; cursor: pointer;
      font-size: 1rem; display: flex; align-items: center; justify-content: center;
      color: var(--ink);
    }
    .lb-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50%; color: white; font-size: 1.2rem;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.15s;
    }
    .lb-nav:hover { background: rgba(255,255,255,0.25); }
    .lb-prev { left: -64px; }
    .lb-next { right: -64px; }
    .lb-caption {
      color: rgba(255,255,255,0.6); font-size: 0.8rem;
      text-align: center; margin-top: 14px;
    }

    /* ─── ADMIN PANEL ────────────────────────────────── */
    .admin-overlay {
      position: fixed; inset: 0; background: var(--bg);
      z-index: 900; display: none; flex-direction: column;
      overflow: hidden;
    }
    .admin-overlay.open { display: flex; }
    .admin-topbar {
      background: var(--ink); color: white;
      padding: 0 32px; height: 60px;
      display: flex; align-items: center; justify-content: space-between;
      flex-shrink: 0;
    }
    .admin-topbar-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700;
    }
    .admin-topbar-actions { display: flex; gap: 16px; align-items: center; }
    .admin-close-btn {
      background: none; border: 1px solid rgba(255,255,255,0.3);
      color: white; font-family: 'Inter', sans-serif;
      font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 7px 14px; cursor: pointer;
      transition: border-color 0.15s;
    }
    .admin-close-btn:hover { border-color: white; }
    .admin-save-btn {
      background: var(--gold); border: none;
      color: white; font-family: 'Inter', sans-serif;
      font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 7px 16px; cursor: pointer;
      transition: opacity 0.15s;
    }
    .admin-save-btn:hover { opacity: 0.85; }
    .admin-body {
      display: flex; flex: 1; overflow: hidden;
    }
    .admin-sidebar {
      width: 200px; flex-shrink: 0;
      background: var(--surface); border-right: 1px solid var(--border);
      padding: 24px 0;
    }
    .admin-nav-item {
      display: block; width: 100%;
      padding: 10px 20px; background: none; border: none;
      font-family: 'Inter', sans-serif; font-size: 0.8rem;
      font-weight: 500; text-align: left; cursor: pointer;
      color: var(--ink2); letter-spacing: 0.04em;
      border-left: 2px solid transparent;
      transition: all 0.12s;
    }
    .admin-nav-item:hover { color: var(--ink); }
    .admin-nav-item.active { color: var(--ink); border-left-color: var(--ink); background: var(--bg); }
    .admin-content { flex: 1; overflow-y: auto; padding: 32px; }

    /* Admin sections */
    .admin-section { display: none; }
    .admin-section.active { display: block; }
    .admin-section h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem; font-weight: 700; margin-bottom: 6px;
    }
    .admin-section-desc {
      font-size: 0.85rem; color: var(--ink2); margin-bottom: 28px;
    }

    /* Inventory table */
    .inventory-table { width: 100%; border-collapse: collapse; }
    .inventory-table th {
      font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--ink3); font-weight: 600; text-align: left;
      padding: 8px 12px; border-bottom: 1px solid var(--border);
    }
    .inventory-table td {
      padding: 8px 12px; border-bottom: 1px solid var(--border);
      vertical-align: middle;
    }
    .inventory-table tr:hover td { background: var(--bg); }
    .inv-img {
      width: 44px; height: 44px; object-fit: contain; background: #f5f3ef;
    }
    .inv-label { font-size: 0.82rem; }
    .inv-id { font-size: 0.7rem; color: var(--ink3); margin-top: 2px; }
    .toggle-switch { position: relative; display: inline-block; width: 36px; height: 20px; }
    .toggle-switch input { opacity: 0; width: 0; height: 0; }
    .toggle-thumb {
      position: absolute; inset: 0; background: var(--border2);
      cursor: pointer; border-radius: 20px; transition: background 0.2s;
    }
    .toggle-thumb::after {
      content: ''; position: absolute;
      width: 14px; height: 14px; background: white; border-radius: 50%;
      top: 3px; left: 3px; transition: transform 0.2s;
    }
    .toggle-switch input:checked + .toggle-thumb { background: var(--gold); }
    .toggle-switch input:checked + .toggle-thumb::after { transform: translateX(16px); }
    .sold-to-input {
      font-family: 'Inter', sans-serif; font-size: 0.78rem;
      border: 1px solid var(--border); background: var(--bg);
      padding: 4px 8px; color: var(--ink); width: 160px;
      outline: none;
    }
    .sold-to-input:focus { border-color: var(--ink); }
    .sold-to-input:disabled { opacity: 0.4; cursor: not-allowed; }
    .inv-avail-chip {
      font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 3px 8px; border-radius: 2px;
    }
    .inv-avail-chip.avail { background: #e8f5e8; color: var(--available); }
    .inv-avail-chip.sold-chip { background: var(--sold-bg); color: var(--sold-text); }

    /* Upload section */
    .upload-zone {
      border: 2px dashed var(--border2); padding: 48px;
      text-align: center; cursor: pointer; transition: border-color 0.15s;
      background: var(--bg); margin-bottom: 20px;
    }
    .upload-zone:hover { border-color: var(--ink); }
    .upload-zone input[type=file] { display: none; }
    .upload-zone-icon { font-size: 2rem; margin-bottom: 12px; color: var(--ink3); }
    .upload-zone p { font-size: 0.85rem; color: var(--ink2); }
    .upload-zone span { font-size: 0.75rem; color: var(--ink3); margin-top: 4px; display: block; }
    .upload-preview { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
    .upload-preview-item { position: relative; width: 100px; }
    .upload-preview-item img { width: 100px; height: 100px; object-fit: contain; background: #f5f3ef; }
    .upload-preview-remove {
      position: absolute; top: -8px; right: -8px; width: 20px; height: 20px;
      background: var(--red); color: white; border: none; border-radius: 50%;
      font-size: 0.7rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
    }
    .upload-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
    .upload-add-btn {
      background: var(--ink); color: #fff; border: none;
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; padding: 11px 24px; cursor: pointer;
      transition: background 0.15s;
    }
    .upload-add-btn:hover { background: var(--gold); }

    /* Best sellers admin */
    .bs-admin-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 12px;
    }
    .bs-admin-card {
      border: 2px solid var(--border); padding: 8px; cursor: pointer;
      transition: border-color 0.15s; background: var(--surface);
      text-align: center; position: relative;
    }
    .bs-admin-card.selected { border-color: var(--gold); }
    .bs-admin-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f5f3ef; }
    .bs-admin-card-label { font-size: 0.7rem; margin-top: 4px; color: var(--ink2); line-height: 1.2; }
    .bs-star {
      position: absolute; top: 4px; right: 4px;
      font-size: 0.9rem; display: none;
    }
    .bs-admin-card.selected .bs-star { display: block; }

    /* Edit labels section */
    .edit-labels-list { display: flex; flex-direction: column; gap: 10px; }
    .edit-label-row {
      display: flex; gap: 12px; align-items: center;
    }
    .edit-label-img { width: 44px; height: 44px; object-fit: contain; background: #f5f3ef; flex-shrink: 0; }
    .edit-label-input {
      flex: 1; font-family: 'Inter', sans-serif; font-size: 0.82rem;
      border: 1px solid var(--border); background: var(--bg);
      padding: 7px 10px; color: var(--ink); outline: none;
    }
    .edit-label-input:focus { border-color: var(--ink); }

    /* Admin password */
    .admin-gate {
      position: fixed; inset: 0; background: var(--bg);
      z-index: 950; display: flex; align-items: center; justify-content: center;
    }
    .admin-gate-box {
      background: var(--surface); border: 1px solid var(--border);
      padding: 48px; width: 360px; text-align: center;
    }
    .admin-gate-box h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem; margin-bottom: 24px;
    }
    .admin-gate-input {
      width: 100%; padding: 11px 14px; margin-bottom: 14px;
      border: 1px solid var(--border2); background: var(--bg);
      font-family: 'Inter', sans-serif; font-size: 0.9rem;
      color: var(--ink); outline: none;
    }
    .admin-gate-input:focus { border-color: var(--ink); }
    .admin-gate-error { font-size: 0.78rem; color: var(--red); margin-bottom: 12px; display: none; }

    /* ─── CONTACT ─────────────────────────────────────── */
    .contact-section {
      margin-top: 80px;
      border-top: 1px solid var(--border);
      padding-top: 64px;
      text-align: center;
    }
    .contact-section h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; font-weight: 700; margin-bottom: 10px;
    }
    .contact-section p {
      color: var(--ink2); font-size: 0.95rem; max-width: 460px;
      margin: 0 auto 40px; line-height: 1.7; font-weight: 300;
    }
    .contact-cards {
      display: inline-flex; gap: 1px; border: 1px solid var(--border);
    }
    .contact-card {
      padding: 24px 36px; background: var(--surface); text-align: center;
    }
    .contact-card-label {
      font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--ink3); margin-bottom: 6px;
    }
    .contact-card-val { font-size: 0.95rem; font-weight: 500; }

    footer {
      margin-top: 64px; padding: 24px 32px;
      border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 8px;
    }
    footer .footer-brand {
      font-family: 'Playfair Display', serif; font-size: 0.9rem; font-weight: 700;
    }
    footer .footer-copy { font-size: 0.75rem; color: var(--ink3); }

    /* ─── RESPONSIVE ──────────────────────────────────── */
    @media (max-width: 768px) {
      .header-top { padding: 0 16px; }
      .main { padding: 0 16px 60px; }
      .sticker-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; }
      .hero { padding: 40px 16px 32px; }
      .hero-stats { gap: 28px; }
      .cart-drawer { width: 100%; }
      .admin-sidebar { display: none; }
      .admin-body { flex-direction: column; }
      .lb-prev, .lb-next { display: none; }
    }

    /* ─── CART QUANTITY STEPPER ──────────────────────── */
    .cart-item-qty {
      display: flex; align-items: center; gap: 8px; margin-top: 6px;
    }
    .qty-btn {
      width: 24px; height: 24px;
      background: var(--bg); border: 1px solid var(--border2);
      font-size: 1rem; font-weight: 600; line-height: 1;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      color: var(--ink); transition: background 0.12s;
      font-family: 'Inter', sans-serif;
    }
    .qty-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
    .qty-num {
      font-size: 0.88rem; font-weight: 700; min-width: 16px; text-align: center;
    }
    .qty-stickers {
      font-size: 0.72rem; color: var(--gold); font-weight: 600;
      letter-spacing: 0.04em;
    }

    /* ─── HOW IT WORKS PAGE ──────────────────────────── */
    .logistics-page { max-width: 820px; padding-bottom: 80px; }
    .logistics-lead {
      font-size: 1.05rem; color: var(--ink2); line-height: 1.8;
      font-weight: 300; max-width: 600px; margin-bottom: 48px;
    }
    .logistics-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 1px; border: 1px solid var(--border); margin-bottom: 48px;
    }
    .logistics-card {
      background: var(--surface); padding: 28px 32px;
      border-right: 1px solid var(--border);
    }
    .logistics-card-icon {
      font-size: 1.4rem; margin-bottom: 12px;
    }
    .logistics-card-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
    }
    .logistics-card-body {
      font-size: 0.88rem; color: var(--ink2); line-height: 1.7; font-weight: 300;
    }
    .logistics-card-body strong { color: var(--ink); font-weight: 600; }
    .logistics-highlight {
      background: var(--ink); color: #fff;
      padding: 28px 36px; margin-bottom: 48px;
    }
    .logistics-highlight h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem; font-weight: 700; margin-bottom: 10px;
    }
    .logistics-highlight p {
      font-size: 0.9rem; opacity: 0.82; line-height: 1.7; max-width: 520px;
    }
    .logistics-pricing {
      display: flex; gap: 1px; border: 1px solid var(--border); margin-bottom: 48px;
    }
    .logistics-price-card {
      flex: 1; background: var(--surface); padding: 28px 28px 24px; text-align: center;
    }
    .logistics-price-num {
      font-family: 'Playfair Display', serif;
      font-size: 2.4rem; font-weight: 700; margin-bottom: 4px;
    }
    .logistics-price-label {
      font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--ink3); margin-bottom: 8px;
    }
    .logistics-price-desc {
      font-size: 0.8rem; color: var(--ink2); line-height: 1.5;
    }
    .logistics-price-card.featured { background: var(--bg); }
    .logistics-cta {
      background: var(--gold); color: #fff;
      padding: 28px 36px;
    }
    .logistics-cta h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem; font-weight: 700; margin-bottom: 8px;
    }
    .logistics-cta p { font-size: 0.88rem; opacity: 0.9; line-height: 1.6; }
    .logistics-cta a { color: #fff; font-weight: 600; }

    /* ─── CUSTOM STICKER SECTION ─────────────────────── */
    .custom-section {
      margin-top: 56px; padding-top: 40px;
      border-top: 2px solid var(--border);
    }
    .custom-section-header { margin-bottom: 24px; }
    .custom-section-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem; font-weight: 700; margin-bottom: 8px;
    }
    .custom-section-desc {
      font-size: 0.9rem; color: var(--ink2); max-width: 560px;
      line-height: 1.7; font-weight: 300;
    }
    .custom-order-item {
      background: var(--surface); border: 1px solid var(--border);
      padding: 12px 16px; margin-bottom: 8px;
      display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    }
    .custom-order-desc { font-size: 0.88rem; color: var(--ink); line-height: 1.5; flex: 1; }
    .custom-order-remove {
      font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--ink3); background: none; border: none; cursor: pointer;
      font-family: 'Inter', sans-serif; white-space: nowrap; padding-top: 2px;
    }
    .custom-order-remove:hover { color: var(--red); }
    .custom-input-wrap { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
    .custom-textarea {
      flex: 1; padding: 12px 14px; min-height: 80px; resize: vertical;
      border: 1px solid var(--border2); background: var(--bg);
      font-family: 'Inter', sans-serif; font-size: 0.88rem; color: var(--ink);
      outline: none; line-height: 1.5; transition: border-color 0.15s;
    }
    .custom-textarea:focus { border-color: var(--ink); }
    .custom-textarea::placeholder { color: var(--ink3); }
    .custom-add-btn {
      background: var(--ink); color: #fff; border: none;
      font-family: 'Inter', sans-serif;
      font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 12px 18px; cursor: pointer;
      white-space: nowrap; transition: background 0.15s;
    }
    .custom-add-btn:hover { background: var(--gold); }
    .custom-note {
      font-size: 0.8rem; color: var(--ink3); line-height: 1.5;
      font-style: italic;
    }

    /* ─── CART CUSTOM HEADER ─────────────────────────── */
    .cart-custom-header {
      font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--ink3); padding: 14px 0 6px; font-weight: 600;
      border-top: 1px solid var(--border); margin-top: 8px;
    }
    .cart-custom-icon {
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; background: var(--bg) !important;
    }

    /* ═══ INTEGRATION: touch add button, sticky bar, checkout, orders, mobile ═══ */

    /* Always-visible add button (no hover dependency → works on touch screens). */
    .s-add-btn {
      display: block; width: 100%; margin-top: 10px;
      opacity: 1; pointer-events: auto;
      padding: 11px 10px; min-height: 44px; font-size: 0.72rem;
    }
    .s-card:hover .s-add-btn { opacity: 1; pointer-events: auto; }
    .s-add-btn.in-cart { background: var(--available); opacity: 1; pointer-events: auto; }
    .s-add-btn.in-cart:hover { background: var(--gold); }

    /* Checkout form extras */
    .form-optional { text-transform: none; letter-spacing: 0; color: var(--ink3); font-weight: 400; }
    .form-error {
      background: #FDECEA; border: 1px solid var(--red); color: var(--red);
      font-size: 0.82rem; padding: 10px 14px;
    }

    /* Sticky mobile "review order" bar */
    .order-bar {
      display: none;
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 210;
      align-items: center; justify-content: space-between; gap: 12px;
      background: var(--ink); color: #fff;
      padding: 12px 16px;
      padding-bottom: calc(12px + env(safe-area-inset-bottom));
      box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
    }
    .order-bar-count { font-size: 0.85rem; font-weight: 500; }
    .order-bar-btn {
      background: var(--gold); color: #fff; border: none;
      font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase;
      padding: 11px 18px; min-height: 44px; cursor: pointer; white-space: nowrap;
    }

    /* Admin → Orders */
    .orders-empty { color: var(--ink3); font-style: italic; font-size: 0.9rem; }
    .order-card {
      border: 1px solid var(--border); background: var(--surface);
      padding: 18px 20px; margin-bottom: 14px;
    }
    .order-card-head {
      display: flex; justify-content: space-between; align-items: flex-start;
      gap: 16px; flex-wrap: wrap;
    }
    .order-card-store { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
    .order-card-contact { font-size: 0.82rem; color: var(--ink2); margin-top: 3px; }
    .order-card-contact a { color: var(--ink2); }
    .order-card-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
    .order-card-date { font-size: 0.72rem; color: var(--ink3); letter-spacing: 0.06em; text-transform: uppercase; }
    .order-status-select {
      font-family: 'Inter', sans-serif; font-size: 0.78rem; text-transform: capitalize;
      border: 1px solid var(--border2); background: var(--bg); padding: 5px 8px; cursor: pointer;
    }
    .order-card-items { list-style: none; margin: 14px 0 0; padding: 0; }
    .order-card-items li { font-size: 0.85rem; color: var(--ink); padding: 4px 0; border-bottom: 1px solid var(--border); }
    .order-card-items li:last-child { border-bottom: none; }
    .order-card-items .order-qty { color: var(--ink3); }
    .order-card-items .order-custom { color: var(--ink2); font-style: italic; }
    .order-card-notes { margin-top: 12px; font-size: 0.85rem; color: var(--ink2); }

    /* ─── INTEGRATION: mobile polish ──────────────────── */
    @media (max-width: 768px) {
      /* Show the sticky order bar only on mobile, only when populated. */
      .order-bar.show { display: flex; }
      .main { padding-bottom: 88px; } /* clear the sticky bar */

      /* Bigger tap targets */
      .filter-btn { padding: 10px 16px; }
      .nav-tab { padding: 14px 18px; }

      /* Near-full-width modal; 16px inputs stop iOS auto-zoom on focus */
      .modal { width: 100%; }
      .form-input { font-size: 16px; }

      /* Admin sidebar becomes a horizontal scroller so every tab (incl. Orders)
         stays reachable on a phone — it used to be hidden entirely. */
      .admin-sidebar {
        display: flex; flex-direction: row; width: 100%; overflow-x: auto;
        padding: 0; border-right: none; border-bottom: 1px solid var(--border);
      }
      .admin-nav-item { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
      .admin-nav-item.active { border-left: none; border-bottom-color: var(--ink); }
      .admin-content { padding: 20px 16px; overflow-x: auto; }

      /* Neutralize hover flourishes that stick after a tap on touch */
      .s-card:hover { box-shadow: none; }
      .s-card:hover .s-card-img img { transform: none; }
    }
