    /* [cite: 2, 30] Base & World Unique Mandate */
    :root {
      --bg-color: #1a1410;
      --card-bg: #241e18;
      --card-border: #4f3928;
      --text-main: #e8dcc8;
      --text-muted: #a3927a; /* Brightened from #8a7a64 to pass AA contrast [cite: 19, 20, 41] */
      --accent: #ef4444;
      --font-display: 'Fraunces', serif;
      --font-body: 'Karla', sans-serif;
    }

    /* [cite: 3, 11, 14, 31, 34] Typography & Globals */
    body {
      margin: 0;
      background-color: var(--bg-color);
      color: var(--text-main);
      font-family: var(--font-body);
      font-size: 15px; /* Minimum 15px mobile [cite: 11] */
      line-height: 1.5; /* Minimum 1.5 line height [cite: 14] */
      position: relative;
    }

    @media (min-width: 768px) {
      body {
        font-size: 16px; /* 16px desktop [cite: 11] */
      }
    }

    button,
    a,
    [role="button"] {
      min-width: 44px;
      min-height: 44px;
    }

    h1, h2, h3 {
      font-family: var(--font-display);
      line-height: 1.3; /* Headings minimum 1.3 [cite: 14] */
      margin: 0;
      font-weight: 400;
    }

    /* [cite: 31] Texture overlay for entire world */
    .world-grain {
      position: fixed;
      top: 0; left: 0; width: 100vw; height: 100vh;
      pointer-events: none;
      z-index: 9999;
      opacity: 0.04;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    }

    /* [cite: 58, 59, 60, 61, 62, 63, 64] SPRIME Mark */
    .sprime-mark {
      position: absolute;
      top: 16px;
      left: 16px;
      display: flex;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.2s ease;
      opacity: 0.6; /* Base opacity controlled via nested elements, container handles hover */
    }
    .sprime-mark:hover .s-letter,
    .sprime-mark:hover .s-world {
      color: rgba(164, 56, 32, 1);
    }
    .sprime-mark:hover .s-bar {
      background-color: rgba(164, 56, 32, 1);
    }
    .s-letter {
      font-family: var(--font-display);
      font-size: 16px;
      color: rgba(164, 56, 32, 0.6);
      transition: color 0.2s ease;
    }
    .s-bar {
      width: 1px;
      height: 16px;
      background-color: rgba(164, 56, 32, 0.3);
      margin: 0 8px;
      transition: background-color 0.2s ease;
    }
    .s-world {
      font-family: var(--font-body);
      font-size: 11px;
      color: rgba(164, 56, 32, 0.4);
      text-transform: lowercase;
      transition: color 0.2s ease;
    }

    /* [cite: 15, 16, 17] Layout & Spacing */
    .container {
      padding: 0 24px; /* Mobile padding [cite: 16] */
      max-width: 900px; /* Max content width [cite: 15] */
      margin: 0 auto;
    }

    @media (min-width: 768px) {
      .container { padding: 0 48px; } /* Tablet/Desktop padding [cite: 16] */
    }

    header {
      padding-top: 80px;
      padding-bottom: 48px;
      text-align: left;
    }

    .logo-svg {
      width: 64px;
      height: 64px;
      color: var(--accent);
      margin-bottom: 24px;
    }

    .world-title {
      font-size: 32px;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    .world-subtitle {
      font-size: 16px;
      color: var(--text-muted);
      font-style: italic;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
      margin-top: 14px;
    }
    .hero-chip {
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 10px 12px;
      background: rgba(36, 30, 24, 0.9);
      box-shadow: 0 12px 30px rgba(0,0,0,0.2);
      font-size: 13px;
      color: var(--text-main);
      letter-spacing: 0.01em;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .hero-chip small {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 11px;
      color: var(--text-muted);
    }

    .filters-row {
      margin-top: 14px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .filter-btn {
      border: 1px solid var(--card-border);
      background: rgba(36, 30, 24, 0.9);
      color: var(--text-main);
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    }
    .filter-btn.active {
      border-color: rgba(164, 56, 32, 0.7);
      box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    }
    .filter-btn:hover { transform: translateY(-1px); }

    .search-row {
      margin-top: 12px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }
    .search-input {
      flex: 1;
      min-width: 220px;
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 14px;
      font-family: 'Karla', sans-serif;
      background: #231b16;
      color: var(--text-main);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 22px rgba(0,0,0,0.22);
    }
    .search-input:focus {
      outline: none;
      border-color: rgba(164, 56, 32, 0.8);
      box-shadow: 0 12px 26px rgba(0,0,0,0.28);
    }
    .search-meta {
      font-size: 12px;
      color: var(--text-muted);
      letter-spacing: 0.02em;
    }

    .wares-bench {
      margin-top: 18px;
      border: 1px solid rgba(164, 56, 32, 0.24);
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(164,56,32,0.10), transparent 42%),
        radial-gradient(90% 120% at 100% 0%, rgba(232,220,200,0.08), transparent 54%),
        rgba(36, 30, 24, 0.86);
      box-shadow: 0 22px 70px rgba(0,0,0,0.28);
      padding: 16px;
      display: grid;
      gap: 12px;
    }

    .wares-bench__label {
      color: var(--accent);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .wares-bench__body {
      display: grid;
      gap: 8px;
    }

    .wares-bench__title {
      font-family: var(--font-display);
      color: var(--text-main);
      font-size: clamp(24px, 5vw, 42px);
      line-height: 1.05;
    }

    .wares-bench__meta,
    .wares-bench__story {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .wares-bench__facts {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .wares-bench__fact {
      border: 1px solid rgba(164, 56, 32, 0.26);
      border-radius: 999px;
      color: var(--text-main);
      font-size: 11px;
      letter-spacing: 0.06em;
      padding: 6px 9px;
      text-transform: uppercase;
    }

    .category-section {
      padding: 48px 0; /* Sections separated by 48px [cite: 16] */
      border-top: 1px solid var(--card-border);
    }

    .category-title {
      font-size: 20px; /* Minimum 20px heading [cite: 12] */
      margin-bottom: 24px;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .category-title::before {
      content: "──";
      color: var(--text-muted);
      letter-spacing: -2px;
    }

    /* [cite: 33, 44] Scroll & Grid Mechanics */
    .product-grid {
      display: grid;
      grid-template-columns: 1fr 1fr; /* Stack vertically 2 cols on mobile [cite: 44] */
      gap: 16px;
    }

    @media (min-width: 768px) {
      .product-grid {
        display: flex;
        overflow-x: auto; /* Horizontal scroll [cite: 33] */
        scroll-snap-type: x mandatory;
        gap: 24px;
        padding-bottom: 16px; /* Room for scrollbar */
        scrollbar-width: thin;
        scrollbar-color: var(--card-border) var(--bg-color);
      }
      .product-grid::-webkit-scrollbar {
        height: 6px;
      }
      .product-grid::-webkit-scrollbar-track {
        background: var(--bg-color);
      }
      .product-grid::-webkit-scrollbar-thumb {
        background-color: var(--card-border);
        border-radius: 4px;
      }
    }

    /* [cite: 32, 40] Product Cards */
    .product-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 4px; /* Subtle rounding [cite: 40] */
      display: flex;
      flex-direction: column;
      overflow: hidden;
      text-decoration: none;
      position: relative;
      color: inherit;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .product-card:hover,
    .product-card:focus-visible {
      border-color: rgba(164, 56, 32, 0.55);
      box-shadow: 0 18px 48px rgba(0,0,0,0.25);
      outline: none;
      transform: translateY(-2px);
    }

    .product-card[data-state="stale"] {
      opacity: 0.72;
      filter: grayscale(0.22);
    }

    .product-card[data-state="draft"],
    .product-card[data-state="sold_out"] {
      opacity: 0.48;
    }

    .product-card[data-state="draft"] {
      border-style: dashed;
    }

    @media (min-width: 768px) {
      .product-card {
        flex: 0 0 260px; /* Fixed width on desktop [cite: 40] */
        scroll-snap-align: start; /* [cite: 43] */
      }
    }

    /* [cite: 41] Image & Grain */
    .img-wrapper {
      position: relative;
      width: 100%;
      aspect-ratio: 260 / 180; /* Maintains ratio [cite: 41] */
      background: #111;
    }

    .img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* [cite: 41] */
    }

    .img-grain {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      opacity: 0.15;
      pointer-events: none;
    }

    /* [cite: 41, 42] Card Typography */
    .card-content {
      padding: 16px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .card-meta {
      font-family: var(--font-body);
      font-size: 11px; /* Minimum 11px [cite: 13, 41] */
      text-transform: uppercase;
      color: var(--text-muted);
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .card-title {
      font-family: var(--font-display);
      font-size: 18px; /* [cite: 42] */
      color: var(--text-main);
      margin-bottom: 4px;
    }

    .card-story {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-muted);
      margin-top: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 6;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .card-price-row {
      margin-top: auto;
      padding-top: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .card-price {
      font-family: var(--font-display);
      font-size: 16px; /* [cite: 42] */
      color: var(--accent);
    }

    .card-action {
      font-family: var(--font-body);
      font-size: 14px; /* Bumped from 12px to 14px to respect absolute minimum readability [cite: 12, 42] */
      color: var(--accent);
      border: none;
      background: none;
      cursor: pointer;
      padding: 0;
      transition: opacity 0.2s;
    }

    .card-action:hover {
      opacity: 0.8;
    }

    .card-action:disabled {
      cursor: not-allowed;
      color: var(--text-muted);
      opacity: 0.62;
    }

    .badge-stack {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    .badge {
      font-size: 11px;
      color: var(--bg-color);
      background: var(--accent);
      padding: 3px 8px;
      border-radius: 10px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .tooltip {
      position: absolute;
      bottom: 100%;
      right: 0;
      background: var(--text-main);
      color: var(--bg-color);
      padding: 4px 8px;
      font-size: 11px;
      border-radius: 2px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
      white-space: nowrap;
      margin-bottom: 8px;
    }

    .action-wrapper {
      position: relative;
    }

    .action-wrapper:hover .tooltip.visible {
      opacity: 1;
    }

    #loading-state {
      text-align: center;
      padding: 60px 0;
      color: var(--text-muted);
      font-style: italic;
    }

    .wares-picker {
      position: fixed;
      right: 16px;
      bottom: 16px;
      z-index: 2000;
      border: 1px solid rgba(164, 56, 32, 0.7);
      background: rgba(26, 20, 16, 0.94);
      color: var(--accent);
      border-radius: 999px;
      padding: 9px 14px;
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 0.2s ease;
    }
    .wares-picker:hover {
      transform: translateY(-2px);
    }

    .wares-toast {
      position: fixed;
      right: 16px;
      bottom: 60px;
      z-index: 2000;
      border: 1px solid rgba(164, 56, 32, 0.35);
      background: rgba(26, 20, 16, 0.98);
      color: var(--text-main);
      border-radius: 8px;
      padding: 7px 10px;
      max-width: 280px;
      font-size: 12px;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.2s ease, transform 0.2s ease;
      pointer-events: none;
    }
    .wares-toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    .product-card.wares-focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px rgba(164, 56, 32, 0.45), 0 24px 70px rgba(0,0,0,0.34);
    }

    body.wares-easter .world-subtitle {
      color: #d8f6d8;
    }

    .maker-shelf {
      margin-top: 18px;
      border: 1px solid var(--card-border);
      border-radius: 14px;
      padding: 12px 12px 6px;
      background: rgba(27, 20, 16, 0.8);
      box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    }
    .maker-title {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--text-main);
      margin-bottom: 10px;
    }
    .maker-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 10px;
    }
    .maker-card {
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 10px;
      background: #211a15;
      box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    }
    .maker-name { font-weight: 700; font-size: 13px; color: var(--text-main); letter-spacing: -0.01em; }
    .maker-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }

    @media (prefers-reduced-motion: reduce) {
      .filter-btn,
      .product-card,
      .wares-picker,
      .wares-toast,
      .card-action {
        transition: none;
      }

      .filter-btn:hover,
      .product-card:hover,
      .product-card:focus-visible,
      .wares-picker:hover {
        transform: none;
      }
    }
