
    :root {
      --bg-primary: #0c0c0f;
      --bg-secondary: #111115;
      --bg-card: #16161c;
      --bg-card-hover: #1c1c24;
      --bg-overlay: rgba(12, 12, 15, 0.95);
      --gold: #c9a84c;
      --gold-light: #e8c96a;
      --gold-dim: #9a7a2e;
      --gold-glow: rgba(201, 168, 76, 0.18);
      --silver: #c8c8c8;
      --silver-dim: #888890;
      --text-main: #e8e8e0;
      --text-sub: #9a9a94;
      --border: rgba(201, 168, 76, 0.18);
      --border-strong: rgba(201, 168, 76, 0.45);
      --red: #922b3e;
      --green: #2e7d5e;
      --radius: 10px;
      --radius-sm: 6px;
      --shadow: 0 8px 32px rgba(0,0,0,0.6);
      --shadow-card: 0 4px 20px rgba(0,0,0,0.5);
    }

    /* ========== LIGHT MODE ========== */
    [data-theme="light"] {
      --bg-primary: #ffffff;
      --bg-secondary: #f1f5f9;
      --bg-card: #ffffff;
      --bg-card-hover: #f8fafc;
      --bg-overlay: rgba(255, 255, 255, 0.95);
      /* Gold tones darkened for minimum 4.5:1 contrast on white */
      --gold: #6b4800;
      --gold-light: #7a5200;
      --gold-dim: #8c6400;
      --gold-glow: rgba(107, 72, 0, 0.08);
      /* Neutral text */
      --silver: #1f2937;
      --silver-dim: #374151;
      --text-main: #111827;
      --text-sub: #374151;
      --border: rgba(17, 24, 39, 0.12);
      --border-strong: rgba(107, 72, 0, 0.35);
      --red: #991b1b;
      --green: #14532d;
      --shadow: 0 8px 32px rgba(0,0,0,0.08);
      --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
    }

    /* Hardcoded dark backgrounds → light overrides */
    [data-theme="light"] .sticky-header {
      background: rgba(12, 12, 15, 0.96);
      border-bottom-color: rgba(201, 168, 76, 0.18);
    }
    [data-theme="light"] .sticky-login-btn,
    [data-theme="light"] .sticky-account-btn {
      color: #e8e8e0;
      border-color: rgba(201, 168, 76, 0.45);
    }
    [data-theme="light"] .sticky-login-btn:hover,
    [data-theme="light"] .sticky-account-btn:hover {
      color: var(--gold-light);
    }
    [data-theme="light"] .sticky-brand-name {
      color: #e8c96a;
    }
    [data-theme="light"] .sticky-theme-btn {
      color: #e8c96a;
      border-color: rgba(201, 168, 76, 0.45);
    }
    [data-theme="light"] .sticky-theme-btn:hover {
      background: rgba(201, 168, 76, 0.18);
    }
    [data-theme="light"] .sticky-cart-btn {
      color: #e8c96a;
      border-color: rgba(201, 168, 76, 0.45);
    }
    [data-theme="light"] .sticky-cart-btn:hover {
      background: rgba(201, 168, 76, 0.18);
    }
    [data-theme="light"] .sticky-avatar {
      color: #e8c96a;
      border-color: rgba(201, 168, 76, 0.45);
    }
    [data-theme="light"] .filter-section {
      background: rgba(255, 255, 255, 0.96);
    }
    [data-theme="light"] .product-badge {
      background: rgba(255, 255, 255, 0.92);
    }
    [data-theme="light"] .cart-btn {
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    [data-theme="light"] .cart-btn:hover {
      background: rgba(255, 255, 255, 0.99);
    }
    [data-theme="light"] .sort-trigger {
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    [data-theme="light"] .sort-trigger:hover {
      background: rgba(255, 255, 255, 0.99);
    }
    [data-theme="light"] .hero-title {
      background: linear-gradient(135deg, #111827 30%, var(--gold-light) 60%, #111827 90%);
      -webkit-background-clip: text;
      background-clip: text;
    }
    [data-theme="light"] .sort-expand-bar {
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    [data-theme="light"] .sort-pill {
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    [data-theme="light"] .google-login-btn {
      box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    }
    /* Hardcoded light text → override for white bg */
    [data-theme="light"] .payment-method-warning { color: #b45309; }
    [data-theme="light"] .search-input { background: rgba(248, 250, 252, 0.9); }
    [data-theme="light"] .search-input:focus { background: rgba(248, 250, 252, 1); }
    [data-theme="light"] .genre-chip {
      background: rgba(107, 72, 0, 0.06);
      border-color: rgba(107, 72, 0, 0.18);
    }
    /* "Semua" chip — gunakan gold cerah bukan gold tua di light mode */
    [data-theme="light"] .filter-chip.chip-all.active {
      background: linear-gradient(135deg, #c9a84c, #e8c96a);
      border-color: #c9a84c;
      color: #1a0800;
    }
    [data-theme="light"] .add-btn.in-cart {
      background: linear-gradient(135deg, #fee2e2, #fecaca);
      color: #991b1b;
      border-color: rgba(153, 27, 27, 0.35);
    }
    [data-theme="light"] .cover-hover-overlay {
      background: rgba(10, 10, 18, 0.93);
    }
    /* Overlay is always dark — text must always be light regardless of theme */
    [data-theme="light"] .cover-hover-overlay .overlay-title { color: #e8e8e0; }
    [data-theme="light"] .cover-hover-overlay .overlay-author { color: #c9a84c; }
    [data-theme="light"] .cover-hover-overlay .overlay-desc { color: #c8c8c8; }
    [data-theme="light"] .hover-buy-btn {
      background: linear-gradient(135deg, #f0cc64, #b88916);
      color: #111827;
      border-color: rgba(240, 204, 100, 0.85);
    }
    [data-theme="light"] .hover-cart-btn {
      background: rgba(10, 10, 18, 0.74);
      color: #ffe38a;
      border-color: rgba(240, 204, 100, 0.78);
    }
    [data-theme="light"] .hover-cart-btn.in-cart {
      background: linear-gradient(135deg, #b94343, #7f2424);
      color: #fff7f7;
      border-color: rgba(127, 36, 36, 0.55);
    }
    /* Card outline — lebih jelas di light mode */
    [data-theme="light"] .product-card {
      border-color: rgba(17, 24, 39, 0.16);
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    [data-theme="light"] .product-card:hover {
      border-color: rgba(107, 72, 0, 0.40);
      box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(107,72,0,0.10);
    }
    /* Add-btn — lebih terang di light mode supaya tidak terlalu gelap */
    [data-theme="light"] .add-btn {
      background: linear-gradient(135deg, #d4940c, #c9a84c);
      color: #1a0800;
    }
    /* Savings "hemat" — darker green for light mode */
    [data-theme="light"] #tierSavingText { color: #15803d !important; }

    /* ========== STICKY HEADER THEME BUTTON (desktop) ========== */
    .sticky-theme-btn {
      background: transparent;
      border: 1px solid var(--border-strong);
      color: var(--gold);
      width: 34px;
      height: 34px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }
    .sticky-theme-btn:hover { background: var(--gold-glow); border-color: var(--gold); }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-primary);
      color: var(--text-main);
      min-height: 100vh;
      overflow-x: hidden;
      transition: background 0.28s ease, color 0.28s ease;
    }

    /* ========== SCROLLBAR ========== */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-secondary); }
    ::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

    /* ========== FLOATING CART BUTTON ========== */
    .cart-float {
      position: fixed;
      top: 120px;
      right: 16px;
      z-index: 200;
    }
    @media (min-width: 641px) {
      .cart-float { top: 170px; }
    }

    /* ========== STICKY HEADER ========== */
    .sticky-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 250;
      background: rgba(12, 12, 15, 0.93);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      transform: translateY(-100%);
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
    }
    .sticky-header.visible { transform: translateY(0); pointer-events: all; }
    .sticky-header-inner {
      width: 100%;
      display: grid; grid-template-columns: auto minmax(280px, 1fr) auto;
      align-items: center; gap: clamp(18px, 4vw, 52px);
      padding: 9px clamp(18px, 3vw, 36px);
    }
    @media (min-width: 901px) {
      .sticky-header-inner {
        grid-template-columns: auto auto minmax(280px, 1fr) auto;
        gap: 16px clamp(14px, 2vw, 32px);
      }
    }
    .sticky-theme {
      display: none;
      align-items: center;
      flex-shrink: 0;
    }
    @media (min-width: 901px) {
      .sticky-theme { display: flex; }
    }
    .sticky-brand {
      display: flex; align-items: center; gap: 9px;
      flex-shrink: 0; text-decoration: none;
    }
    .sticky-brand-img {
      width: 32px; height: 32px; object-fit: contain;
      filter: drop-shadow(0 2px 6px rgba(201,168,76,0.3));
    }
    .sticky-brand-name {
      display: block;
      font-family: 'Cinzel', serif; font-size: 10.5px;
      letter-spacing: 0.7px; color: var(--gold-light); line-height: 1.3;
    }
    .sticky-search-wrap { width: 100%; min-width: 0; }
    .sticky-right {
      display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    }
    .sticky-auth {
      display: flex; align-items: center;
    }
    .sticky-login-btn,
    .sticky-account-btn {
      min-height: 34px;
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent;
      border: 1px solid var(--border-strong);
      color: var(--text-main);
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }
    .sticky-login-btn {
      padding: 0 12px;
      font-size: 12px; font-weight: 500;
    }
    .sticky-account-btn {
      padding: 3px 10px 3px 4px;
    }
    .sticky-login-btn:hover,
    .sticky-account-btn:hover {
      background: var(--gold-glow); border-color: var(--gold); color: var(--gold-light);
    }
    .sticky-avatar {
      width: 26px; height: 26px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      overflow: hidden; background: var(--bg-card);
      border: 1px solid var(--border-strong);
      color: var(--gold); font-family: 'Cinzel', serif; font-weight: 700;
    }
    .sticky-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .sticky-username {
      font-size: 12px; color: inherit; white-space: nowrap;
      max-width: 112px; overflow: hidden; text-overflow: ellipsis;
    }
    .sticky-cart-btn {
      position: relative; background: transparent;
      border: 1px solid var(--border-strong); color: var(--gold);
      cursor: pointer; width: 34px; height: 34px;
      border-radius: var(--radius-sm);
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, border-color 0.2s;
    }
    .sticky-cart-btn:hover { background: var(--gold-glow); border-color: var(--gold); }
    .sticky-cart-btn.adding {
      animation: cartWobble 0.55s cubic-bezier(0.36,0.07,0.19,0.97) forwards, ringPulse 0.55s ease-out;
    }
    .sticky-cart-badge {
      position: absolute; top: -5px; right: -5px;
      background: var(--gold); color: #0c0c0f;
      font-size: 9px; font-weight: 700;
      min-width: 15px; height: 15px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center; padding: 0 2px;
    }
    .sticky-cart-badge.pop {
      animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
    }
    @media (max-width: 480px) {
      .sticky-brand-name { display: none; }
      .sticky-username { display: none; }
      .sticky-header-inner { padding: 8px 12px; gap: 10px; }
    }
    @media (min-width: 901px) {
      .cart-float,
      .sort-float { transition: opacity 0.2s ease; }
      .sort-float { display: none !important; }
      body:not(.sticky-active) .cart-float { opacity: 0; pointer-events: none; }
      body.sticky-active .cart-float { opacity: 0; pointer-events: none; }
    }

    .cart-btn {
      position: relative;
      background: rgba(12, 12, 15, 0.82);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-strong);
      color: var(--gold);
      cursor: pointer;
      width: 46px;
      height: 46px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, border-color 0.2s;
      box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    }
    .cart-btn:hover { background: rgba(12,12,15,0.95); border-color: var(--gold); }

    @keyframes cartWobble {
      0%   { transform: scale(1) rotate(0deg); }
      20%  { transform: scale(1.3) rotate(-12deg); }
      40%  { transform: scale(1.15) rotate(8deg); }
      60%  { transform: scale(1.22) rotate(-5deg); }
      80%  { transform: scale(1.05) rotate(3deg); }
      100% { transform: scale(1) rotate(0deg); }
    }
    @keyframes badgePop {
      0%   { transform: scale(1); }
      40%  { transform: scale(1.7); background: #fff; color: #000; }
      70%  { transform: scale(0.85); }
      100% { transform: scale(1); }
    }
    @keyframes ringPulse {
      0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.7); }
      70%  { box-shadow: 0 0 0 10px rgba(201,168,76,0); }
      100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
    }
    .cart-btn.adding {
      animation: cartWobble 0.55s cubic-bezier(0.36,0.07,0.19,0.97) forwards, ringPulse 0.55s ease-out;
    }
    .cart-badge.pop {
      animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
    }

    .cart-badge {
      position: absolute;
      top: -6px; right: -6px;
      background: var(--gold);
      color: #000;
      font-size: 10px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
      transform: scale(0);
      transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
    }
    .cart-badge.show { transform: scale(1); }

    /* ========== HERO ========== */
    .hero {
      position: relative;
      overflow: hidden;
      padding: clamp(72px, 10vw, 100px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 64px);
      text-align: center;
      background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%),
        var(--bg-secondary);
      border-bottom: 1px solid var(--border);
    }

    .hero-logo-img {
      width: clamp(72px, 11vw, 108px);
      height: auto;
      display: block;
      margin: 0 auto 20px;
      filter: drop-shadow(0 6px 20px rgba(201,168,76,0.35));
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      opacity: 0.5;
    }

    .hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

    .hero-tagline {
      font-family: 'Cinzel', serif;
      font-size: clamp(11px, 1.2vw, 13px);
      letter-spacing: 4px;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 16px;
      opacity: 0.85;
    }

    .hero-title {
      font-family: 'Cinzel Decorative', serif;
      font-size: clamp(26px, 5vw, 52px);
      font-weight: 700;
      line-height: 1.2;
      background: linear-gradient(135deg, #e8e8e0 30%, var(--gold-light) 60%, #e8e8e0 90%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 6px;
    }

    .hero-sub {
      font-size: clamp(13px, 1.5vw, 16px);
      color: var(--text-sub);
      line-height: 1.7;
      max-width: 520px;
      margin: 0 auto 28px;
    }

    .hero-proof-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 22px;
      padding: 9px 14px;
      border-radius: 999px;
      border: 1px solid rgba(201,168,76,0.3);
      background: rgba(201,168,76,0.08);
      color: var(--gold-light);
      text-decoration: none;
      font-size: 12px;
      transition: border-color 0.2s, background 0.2s, transform 0.2s;
    }
    .hero-proof-link:hover {
      border-color: var(--gold);
      background: rgba(201,168,76,0.14);
      transform: translateY(-1px);
    }
    .hero-proof-link strong {
      font-family: 'Cinzel', serif;
      font-size: 11px;
      letter-spacing: 0.8px;
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--gold-dim), var(--gold));
      color: #0c0c0f;
      border: none;
      cursor: pointer;
      font-family: 'Cinzel', serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1.5px;
      padding: 13px 28px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      transition: filter 0.2s, transform 0.15s;
    }
    .hero-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

    /* ========== PRICING BANNER ========== */
    .pricing-section {
      padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 48px);
      background: var(--bg-primary);
    }

    .pricing-head {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .pricing-title {
      appearance: none;
      -webkit-appearance: none;
      border: 0;
      background: transparent;
      padding: 0;
      font-family: 'Cinzel', serif;
      font-size: clamp(13px, 1.5vw, 15px);
      letter-spacing: 3px;
      color: var(--gold);
      text-align: center;
      text-transform: uppercase;
      margin-bottom: 0;
      cursor: default;
      opacity: 1;
    }
    .pricing-section.logged-in:not(.expanded) .pricing-title {
      border: 1px solid rgba(201,168,76,0.28);
      border-radius: 999px;
      background:
        linear-gradient(180deg, rgba(201,168,76,0.12), rgba(201,168,76,0.045));
      padding: 9px 18px;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(0,0,0,0.22);
      transition: background 0.2s, border-color 0.2s, transform 0.22s, box-shadow 0.22s;
      animation: pricingToggleBreathe 2.4s ease-in-out infinite;
    }
    .pricing-section.logged-in:not(.expanded) .pricing-title:hover {
      background:
        linear-gradient(180deg, rgba(201,168,76,0.18), rgba(201,168,76,0.07));
      border-color: var(--gold);
      box-shadow: 0 8px 22px rgba(201,168,76,0.12);
      transform: translateY(-1px);
    }

    .pricing-toggle {
      display: none !important;
    }

    .pricing-tiers {
      display: flex;
      gap: 8px;
      justify-content: center;
      flex-wrap: wrap;
      max-width: 700px;
      margin: 0 auto;
    }
    .pricing-section.logged-in:not(.expanded) .pricing-tiers {
      display: none;
    }

    .tier-pill {
      display: flex;
      flex-direction: column;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      min-width: 90px;
      transition: border-color 0.3s, background 0.3s, transform 0.2s;
      cursor: default;
      background: var(--bg-card);
    }
    .tier-pill.active {
      border-color: var(--gold);
      background: var(--gold-glow);
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(201,168,76,0.2);
    }

    .tier-qty {
      font-size: 11px;
      color: var(--text-sub);
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }
    .tier-pill.active .tier-qty { color: var(--gold-light); }

    .tier-price {
      font-family: 'Cinzel', serif;
      font-size: 15px;
      font-weight: 700;
      color: var(--silver);
    }
    .tier-pill.active .tier-price { color: var(--gold-light); }

    .tier-unit {
      font-size: 10px;
      color: var(--text-sub);
      margin-top: 2px;
    }

    /* ========== BUYING GUIDE ========== */
    .guide-section {
      padding: clamp(42px, 6vw, 68px) clamp(16px, 4vw, 48px);
      background:
        linear-gradient(180deg, rgba(201,168,76,0.04), transparent 34%),
        var(--bg-primary);
      border-top: 1px solid rgba(201,168,76,0.12);
    }
    .guide-inner {
      max-width: 1040px;
      margin: 0 auto;
    }
    .guide-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 28px;
    }
    .guide-card {
      min-width: 0;
      min-height: 100%;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--bg-card);
      padding: 18px;
      box-shadow: var(--shadow-card);
    }
    .guide-card-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 14px;
    }
    .guide-icon {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      border: 1px solid rgba(201,168,76,0.34);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold-light);
      background: rgba(201,168,76,0.08);
    }
    .guide-card-title {
      font-family: 'Cinzel', serif;
      font-size: 14px;
      letter-spacing: 0.7px;
      color: var(--gold-light);
      margin-bottom: 10px;
    }
    .guide-list {
      list-style: none;
      display: grid;
      gap: 8px;
      color: var(--text-sub);
      font-size: 13px;
      line-height: 1.55;
    }
    .guide-list li {
      position: relative;
      padding-left: 14px;
    }
    .guide-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.72em;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--gold);
      transform: translateY(-50%);
    }
    .payment-tags {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
      margin-top: 2px;
    }
    .payment-tag {
      border: 1px solid rgba(201,168,76,0.22);
      border-radius: var(--radius-sm);
      padding: 7px 9px;
      color: var(--silver);
      background: rgba(255,255,255,0.025);
      font-size: 12px;
      line-height: 1;
      text-align: center;
      white-space: nowrap;
    }
    @media(max-width:960px){
      .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media(max-width:640px){
      .guide-grid { grid-template-columns: 1fr; }
      .guide-card { padding: 16px; }
    }

    /* ========== QUALITY GUARANTEE ========== */
    .guarantee-section {
      padding: clamp(34px, 5vw, 56px) clamp(16px, 4vw, 48px);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.018), rgba(201,168,76,0.035)),
        var(--bg-primary);
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .guarantee-inner {
      max-width: 920px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: clamp(18px, 4vw, 36px);
      border: 1px solid rgba(201,168,76,0.24);
      border-radius: var(--radius);
      background:
        radial-gradient(circle at 10% 0%, rgba(201,168,76,0.13), transparent 40%),
        var(--bg-card);
      padding: clamp(20px, 4vw, 32px);
      box-shadow: var(--shadow-card);
    }
    .guarantee-kicker {
      font-family: 'Cinzel', serif;
      font-size: 11px;
      letter-spacing: 3px;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .guarantee-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(20px, 3vw, 28px);
      color: var(--text-main);
      margin-bottom: 10px;
    }
    .guarantee-copy {
      color: var(--text-sub);
      font-size: clamp(13px, 1.5vw, 15px);
      line-height: 1.75;
      max-width: 640px;
    }
    .guarantee-actions {
      display: flex;
      justify-content: flex-end;
    }
    .guarantee-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 44px;
      border: 1px solid rgba(201,168,76,0.42);
      border-radius: var(--radius-sm);
      background: rgba(201,168,76,0.1);
      color: var(--gold-light);
      cursor: pointer;
      font-family: 'Cinzel', serif;
      font-size: 11px;
      letter-spacing: 1px;
      padding: 0 18px;
      white-space: nowrap;
      transition: background 0.2s, border-color 0.2s, transform 0.15s;
    }
    .guarantee-btn:hover {
      background: rgba(201,168,76,0.16);
      border-color: var(--gold);
      transform: translateY(-1px);
    }
    @media(max-width:720px){
      .guarantee-inner { grid-template-columns: 1fr; }
      .guarantee-actions { justify-content: flex-start; }
      .guarantee-btn { width: 100%; }
    }

    /* ========== TESTIMONIALS ========== */
    .testimonial-section {
      scroll-margin-top: 18px;
      padding: clamp(42px, 6vw, 68px) clamp(16px, 4vw, 48px);
      background:
        radial-gradient(ellipse 56% 70% at 50% 0%, rgba(201,168,76,0.08), transparent 70%),
        var(--bg-secondary);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .testimonial-intro {
      max-width: 650px;
      margin: 0 auto 26px;
      text-align: center;
    }
    .testimonial-intro .section-title { margin-bottom: 10px; }
    .testimonial-copy {
      font-size: clamp(13px, 1.5vw, 15px);
      line-height: 1.7;
      color: var(--text-sub);
    }
    .testimonial-badges {
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      margin: 26px auto 32px;
    }
    .testimonial-badge {
      border: 1px solid rgba(201,168,76,0.26);
      background: rgba(201,168,76,0.08);
      color: var(--gold-light);
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 11px;
      letter-spacing: 0.45px;
    }
    .testimonial-carousel {
      max-width: 900px;
      margin: 0 auto;
    }
    .testimonial-grid {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: 10px;
      overflow: visible;
      padding-bottom: 6px;
      scrollbar-width: none;
    }
    .testimonial-grid::-webkit-scrollbar { display: none; }
    /* clones hidden on desktop, shown on mobile via @media (max-width:900px) block below */
    .testimonial-card {
      display: block;
      flex: 0 0 82px;
      width: 82px;
      min-width: 0;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--bg-card);
      padding: 6px 6px 8px;
      color: inherit;
      cursor: pointer;
      text-align: left;
      position: relative;
      z-index: 1;
      align-self: flex-start;
      transition: border-color 0.25s, box-shadow 0.3s;
    }
    .testimonial-card:hover {
      border-color: var(--border-strong);
      box-shadow: 0 8px 20px rgba(0,0,0,0.38);
    }
    .testimonial-preview {
      display: block;
      width: 100%;
      min-width: 0;
      aspect-ratio: 500 / 1111;
      border-radius: 8px;
      overflow: hidden;
      background: #f4f0e8;
      margin-bottom: 14px;
    }
    .testimonial-preview img {
      max-width: 100%;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: top;
      display: block;
    }
    .testimonial-year {
      color: var(--gold);
      font-family: 'Cinzel', serif;
      letter-spacing: 1.5px;
      font-size: 10px;
      text-transform: uppercase;
      display: block;
      text-align: center;
      margin-bottom: 0;
    }
    .testimonial-card-title {
      font-family: 'Cinzel', serif;
      font-size: 14px;
      color: var(--text-main);
      display: none;
      margin-bottom: 7px;
    }
    .testimonial-card-copy {
      color: var(--text-sub);
      font-size: 12px;
      line-height: 1.6;
      display: none;
    }
    .testimonial-hover-overlay {
      position: fixed;
      inset: 0;
      z-index: 640;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(5, 5, 8, 0.56);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.18s ease, visibility 0.18s ease;
      padding: clamp(18px, 3vw, 34px);
    }
    .testimonial-hover-overlay.open {
      opacity: 1;
      visibility: visible;
    }
    .testimonial-hover-content {
      height: min(90vh, 900px);
      max-width: min(92vw, 620px);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
    .testimonial-hover-image {
      display: block;
      min-height: 0;
      max-height: calc(90vh - 108px);
      max-width: min(92vw, 620px);
      width: auto;
      object-fit: contain;
      border-radius: 12px;
      background: #f4f0e8;
      box-shadow: 0 22px 64px rgba(0,0,0,0.7);
    }
    .testimonial-hover-caption {
      max-width: min(92vw, 620px);
      text-align: center;
      color: var(--text-main);
      text-shadow: 0 2px 8px rgba(0,0,0,0.72);
    }
    .testimonial-hover-year {
      display: block;
      color: var(--gold-light);
      font-family: 'Cinzel', serif;
      font-size: 11px;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      margin-bottom: 4px;
    }
    .testimonial-hover-title {
      display: block;
      font-family: 'Cinzel', serif;
      font-size: clamp(15px, 2vw, 19px);
      margin-bottom: 4px;
    }
    .testimonial-hover-copy {
      color: var(--silver);
      font-size: 13px;
      line-height: 1.55;
    }
    .testimonial-more {
      display: block;
      margin: 28px auto 0;
      border: 1px solid var(--border-strong);
      color: var(--gold-light);
      background: transparent;
      border-radius: var(--radius-sm);
      padding: 12px 20px;
      font-family: 'Cinzel', serif;
      font-size: 11px;
      letter-spacing: 1px;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .testimonial-more:hover {
      background: var(--gold-glow);
      border-color: var(--gold);
    }
    .testimonial-note {
      text-align: center;
      color: var(--silver-dim);
      font-size: 11px;
      margin-top: 18px;
    }
    .testimonial-overlay {
      position: fixed;
      inset: 0;
      z-index: 650;
      display: none;
      justify-content: center;
      align-items: center;
      background: rgba(0,0,0,0.8);
      backdrop-filter: blur(7px);
      -webkit-backdrop-filter: blur(7px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s;
      padding: 18px;
    }
    .testimonial-overlay.open { display: flex; opacity: 1; pointer-events: all; }
    .testimonial-modal {
      width: min(1080px, 100%);
      min-width: 0;
      max-height: min(92vh, 880px);
      overflow-y: auto;
      border: 1px solid var(--border-strong);
      border-radius: 18px;
      background: var(--bg-card);
      padding: clamp(18px, 3vw, 28px);
      box-shadow: var(--shadow);
      transform: translateY(12px) scale(0.98);
      opacity: 0;
      transition: transform 0.25s, opacity 0.22s;
    }
    .testimonial-overlay.open .testimonial-modal { transform: translateY(0) scale(1); opacity: 1; }
    .testimonial-modal-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 20px;
    }
    .testimonial-modal-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(16px, 2vw, 21px);
      color: var(--gold-light);
      margin-bottom: 6px;
    }
    .testimonial-modal-copy { color: var(--text-sub); font-size: 12px; line-height: 1.6; }
    .testimonial-close {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-main);
      font-size: 22px;
      cursor: pointer;
    }
    .testimonial-gallery {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      min-width: 0;
    }
    .testimonial-shot {
      min-width: 0;
      background: #101014;
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .testimonial-shot img {
      display: block;
      width: 100%;
      max-width: 100%;
      height: auto;
    }
    .testimonial-shot figcaption {
      padding: 10px 10px 12px;
      color: var(--text-sub);
      font-size: 11px;
      line-height: 1.5;
    }
    .testimonial-shot strong {
      display: block;
      color: var(--gold-light);
      font-weight: 600;
      margin-bottom: 3px;
    }
    .testimonial-subsection {
      grid-column: 1 / -1;
      margin: 12px 0 2px;
      padding-top: 16px;
      border-top: 1px solid rgba(201,168,76,0.18);
    }
    .testimonial-subsection-title {
      font-family: 'Cinzel', serif;
      color: var(--gold-light);
      font-size: clamp(15px, 2vw, 19px);
      margin-bottom: 6px;
    }
    .testimonial-subsection-copy {
      color: var(--text-sub);
      font-size: 12px;
      line-height: 1.6;
      max-width: 720px;
    }
    .testimonial-archive-note {
      min-width: 0;
      border: 1px solid rgba(201,168,76,0.3);
      border-radius: 10px;
      background:
        radial-gradient(circle at 50% 14%, rgba(201,168,76,0.14), transparent 46%),
        #101014;
      min-height: 100%;
      padding: 28px 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .testimonial-archive-title {
      font-family: 'Cinzel', serif;
      color: var(--gold-light);
      font-size: 14px;
      line-height: 1.45;
      margin-bottom: 11px;
    }
    .testimonial-archive-copy {
      color: var(--text-sub);
      font-size: 12px;
      line-height: 1.7;
    }

    /* ========== PRODUCTS ========== */
    .products-section {
      padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 48px);
    }

    .section-header {
      text-align: center;
      margin-bottom: clamp(24px, 4vw, 40px);
    }

    .section-label {
      font-family: 'Cinzel', serif;
      font-size: clamp(11px, 1.2vw, 13px);
      letter-spacing: 4px;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .section-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(20px, 3vw, 30px);
      font-weight: 700;
      color: var(--text-main);
    }

    .section-divider {
      width: 60px;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      margin: 14px auto 0;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 24px;
      margin: 0 auto;
    }

    .product-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-strong);
      box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.08);
    }

    .product-cover-wrap {
      position: relative;
      overflow: hidden;
      background: #0a0a0e;
      aspect-ratio: 3/4;
    }

    .product-cover-wrap img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: transform 0.4s ease;
    }
    .product-card:hover .product-cover-wrap img { transform: none; }

    .product-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(12,12,15,0.85);
      border: 1px solid var(--border);
      color: var(--gold);
      font-family: 'Cinzel', serif;
      font-size: 10px;
      letter-spacing: 1.5px;
      padding: 4px 10px;
      border-radius: 3px;
      text-transform: uppercase;
      backdrop-filter: blur(4px);
    }

    .product-in-cart {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background: var(--gold);
      color: #000;
      font-size: 10px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 3px;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.2s, transform 0.2s;
    }
    .product-in-cart.show { opacity: 1; transform: translateY(0); }

    .product-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; text-align: center; }

    /* ========== CATEGORY FILTER ========== */
    .filter-section {
      position: sticky;
      top: 0;
      z-index: 90;
      background: rgba(12, 12, 15, 0.96);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      padding: 12px clamp(16px, 4vw, 48px) 14px;
    }

    .filter-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
      flex-wrap: wrap;
      gap: 8px;
    }

    .filter-label {
      font-family: 'Cinzel', serif;
      font-size: 11px;
      letter-spacing: 3px;
      color: var(--gold);
      text-transform: uppercase;
    }

    .filter-count {
      font-size: 12px;
      color: var(--text-sub);
    }

    .filter-count span {
      color: var(--gold-light);
      font-weight: 600;
    }

    .filter-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    /* ========== SEARCH BAR ========== */
    .search-row {
      margin-top: 10px;
      padding-left: 70px;
      padding-right: 70px;
    }
    .search-wrap {
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
      border-radius: var(--radius-sm);
    }
    .search-wrap::after {
      content: '';
      position: absolute;
      top: 0;
      left: -60%;
      width: 40%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
      transform: skewX(-20deg);
      pointer-events: none;
      animation: searchShine 7s ease-in-out infinite;
      z-index: 2;
    }
    @keyframes searchShine {
      0%, 85% { left: -60%; opacity: 0; }
      86% { opacity: 1; }
      94% { left: 120%; opacity: 1; }
      95%, 100% { left: 120%; opacity: 0; }
    }
    .search-icon {
      position: absolute;
      left: 10px;
      color: var(--silver-dim);
      pointer-events: none;
      flex-shrink: 0;
    }
    .search-input {
      width: 100%;
      background: rgba(22,22,28,0.9);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--text-main);
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      padding: 8px 30px 8px 34px;
      outline: none;
      transition: border-color 0.15s, background 0.15s;
    }
    .search-input:focus { border-color: var(--gold-dim); background: rgba(22,22,28,1); }
    .search-input::placeholder { color: var(--silver-dim); }
    .search-clear {
      position: absolute; right: 8px;
      background: none; border: none;
      color: var(--silver-dim); font-size: 17px;
      cursor: pointer; padding: 3px 5px; line-height: 1;
      transition: color 0.15s;
    }
    .search-clear:hover { color: var(--text-main); }

    .filter-chip {
      border: 1px solid var(--border);
      background: var(--bg-card);
      color: var(--text-sub);
      font-size: 11px;
      font-weight: 500;
      padding: 5px 13px;
      border-radius: 20px;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s, color 0.15s;
      white-space: nowrap;
      user-select: none;
    }
    .filter-chip:hover { border-color: var(--gold-dim); color: var(--text-main); }
    .filter-chip.active {
      background: var(--gold-glow);
      border-color: var(--gold);
      color: var(--gold-light);
      font-weight: 600;
    }
    .filter-chip.chip-all {
      font-family: 'Cinzel', serif;
      font-size: 10px;
      letter-spacing: 0.5px;
      border-color: var(--border-strong);
    }
    .filter-chip.chip-all.active {
      background: linear-gradient(135deg, var(--gold-dim), var(--gold));
      color: #000;
      border-color: var(--gold);
    }

    /* Sidebar sort section and pinned Semua chip (desktop only, hidden by default) */
    .sidebar-sort { display: none; }
    #filterChipAll { display: none; }
    .sidebar-sort-label {
      font-family: 'Cinzel', serif;
      font-size: 10px;
      letter-spacing: 2.5px;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .sidebar-sort-pills { display: flex; flex-direction: column; gap: 5px; }
    .sidebar-sort .sort-pill {
      width: 100%;
      border-radius: 6px;
      justify-content: space-between;
      opacity: 1;
      transform: none;
      box-shadow: none;
    }

    /* ========== GENRE CHIPS ON CARD ========== */
    .product-genres {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 7px;
      justify-content: center;
    }

    .genre-chip {
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 0.7px;
      color: var(--gold-dim);
      background: rgba(201,168,76,0.07);
      border: 1px solid rgba(201,168,76,0.15);
      padding: 2px 7px;
      border-radius: 10px;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .card-genre-chip {
      font-family: 'Inter', sans-serif;
      cursor: pointer;
    }

    .product-series {
      display: inline-block;
      font-size: 8px;
      font-weight: 700;
      letter-spacing: 0.8px;
      color: var(--text-sub);
      text-transform: uppercase;
      line-height: 1.35;
      margin: 6px 0 1px;
      padding-bottom: 2px;
      border-bottom: 1px solid rgba(201,168,76,0.28);
      opacity: 0.82;
    }

    .product-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(14px, 1.4vw, 16px);
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.35;
      margin: 3px 0 4px;
    }
    .product-title-link {
      color: inherit;
      text-decoration: none;
    }
    .product-title-link:hover { color: var(--gold-light); }

    .product-author {
      font-size: 12px;
      color: var(--text-sub);
      margin-bottom: 10px;
      font-style: italic;
    }

    .product-desc {
      font-size: 12px;
      color: var(--text-sub);
      line-height: 1.65;
      flex: 1;
      margin-bottom: 16px;
      display: none;
    }

    /* ========== COVER HOVER OVERLAY (desktop) ========== */
    .cover-hover-overlay {
      position: absolute;
      inset: 0;
      background: rgba(12, 12, 15, 0.94);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: none;
      flex-direction: column;
      justify-content: center;
      padding: 16px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
      z-index: 4;
      gap: 4px;
    }
    .product-cover-wrap:hover .cover-hover-overlay {
      opacity: 1;
      pointer-events: auto;
    }
    .cover-hover-overlay .overlay-title {
      font-family: 'Cinzel', serif;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.3;
      text-align: center;
    }
    .cover-hover-overlay .overlay-author {
      font-size: 11px;
      color: var(--gold-dim);
      font-style: italic;
      margin-bottom: 4px;
      text-align: center;
    }
    .cover-hover-overlay .overlay-desc {
      font-size: 11.5px;
      color: var(--silver);
      line-height: 1.6;
      overflow-y: auto;
      flex: 1;
      margin-bottom: 8px;
    }
    .cover-hover-overlay .overlay-desc::-webkit-scrollbar { width: 3px; }
    .cover-hover-overlay .overlay-desc::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }
    .hover-actions {
      display: none;
      gap: 6px;
      margin-top: auto;
    }
    .hover-action-btn {
      flex: 1;
      min-width: 0;
      border-radius: var(--radius-sm);
      font-family: 'Cinzel', serif;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.35px;
      padding: 9px 5px;
      cursor: pointer;
      transition: filter 0.15s, transform 0.15s, border-color 0.15s;
    }
    .hover-buy-btn {
      background: linear-gradient(135deg, var(--gold-light), var(--gold));
      border: 1px solid rgba(232, 201, 106, 0.9);
      border-radius: 999px;
      color: #0c0c0f;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
    }
    .hover-cart-btn {
      background: rgba(12, 12, 15, 0.72);
      border: 1px solid rgba(232, 201, 106, 0.82);
      border-radius: 4px;
      color: #ffe38a;
      box-shadow: inset 0 0 0 1px rgba(232, 201, 106, 0.12);
    }
    .hover-action-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
    .hover-cart-btn.in-cart {
      background: linear-gradient(135deg, #b94343, #7f2424);
      border-radius: 4px;
      border-color: rgba(255, 190, 190, 0.55);
      color: #fff7f7;
    }
    .product-footer { display: flex; align-items: center; margin-top: auto; }

    .add-btn {
      width: 100%;
      background: linear-gradient(135deg, var(--gold-dim), var(--gold));
      border: none;
      color: #0c0c0f;
      font-family: 'Cinzel', serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: filter 0.15s, transform 0.15s, background 0.2s;
      white-space: nowrap;
    }
    .add-btn:hover { filter: brightness(1.1); transform: scale(1.02); }
    .add-btn:active { transform: scale(0.98); }
    .add-btn.in-cart {
      background: linear-gradient(135deg, #3a2020, #5a2828);
      color: #f08080;
      border: 1px solid rgba(240,128,128,0.3);
    }
    .add-btn.in-cart:hover { filter: brightness(1.15); }

    /* ========== CART SIDEBAR ========== */
    .cart-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(4px);
      z-index: 200;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .cart-overlay.open { opacity: 1; pointer-events: all; }

    .cart-sidebar {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(420px, 100vw);
      background: var(--bg-secondary);
      border-left: 1px solid var(--border);
      z-index: 201;
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .cart-sidebar.open { transform: translateX(0); }

    .cart-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 20px 16px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

    .cart-header-title {
      font-family: 'Cinzel', serif;
      font-size: 16px;
      font-weight: 700;
      color: var(--gold-light);
      letter-spacing: 1px;
    }

    .cart-close {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--silver-dim);
      width: 34px;
      height: 34px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-size: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.15s, border-color 0.15s;
    }
    .cart-close:hover { color: var(--text-main); border-color: var(--silver-dim); }

    .cart-items {
      flex: 1;
      overflow-y: auto;
      padding: 16px 20px;
    }

    .cart-empty {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      gap: 12px;
      color: var(--text-sub);
    }
    .cart-empty-icon { font-size: 48px; opacity: 0.3; }
    .cart-empty-text { font-size: 14px; text-align: center; font-family: 'Cinzel', serif; }

    .cart-item {
      display: flex;
      gap: 12px;
      padding: 14px 0;
      border-bottom: 1px solid var(--border);
      animation: slideIn 0.25s ease;
    }
    @keyframes slideIn {
      from { opacity: 0; transform: translateX(12px); }
      to { opacity: 1; transform: translateX(0); }
    }

    .cart-item-img {
      width: 52px;
      height: 70px;
      object-fit: cover;
      border-radius: 4px;
      flex-shrink: 0;
      border: 1px solid var(--border);
    }

    .cart-item-info { flex: 1; min-width: 0; }

    .cart-item-title {
      font-family: 'Cinzel', serif;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-main);
      line-height: 1.35;
      margin-bottom: 2px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .cart-item-author {
      font-size: 11px;
      color: var(--text-sub);
      font-style: italic;
      margin-bottom: 8px;
    }

    .cart-item-controls { display: flex; align-items: center; gap: 8px; }

    .cart-item-remove {
      background: transparent;
      border: none;
      color: var(--red);
      cursor: pointer;
      font-size: 16px;
      padding: 2px;
      margin-left: auto;
      transition: color 0.15s, opacity 0.15s;
      display: flex;
      align-items: center;
      opacity: 0.75;
    }
    .cart-item-remove:hover { opacity: 1; filter: brightness(1.15); }

    /* ========== CART SUMMARY ========== */
    .cart-summary {
      border-top: 1px solid var(--border);
      padding: 16px 20px 20px;
      flex-shrink: 0;
      background: var(--bg-primary);
    }

    .tier-indicator {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--gold-glow);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      margin-bottom: 14px;
    }

    .tier-label {
      font-size: 12px;
      color: var(--text-sub);
    }

    .tier-value {
      font-family: 'Cinzel', serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--gold-light);
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      font-size: 13px;
      color: var(--text-sub);
    }

    .summary-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 10px;
      border-top: 1px solid var(--border);
      margin-bottom: 16px;
    }

    .summary-total-label {
      font-family: 'Cinzel', serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--text-main);
    }

    .summary-total-value {
      font-family: 'Cinzel', serif;
      font-size: 20px;
      font-weight: 900;
      background: linear-gradient(135deg, var(--gold), var(--gold-light));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .payment-method-select {
      border: 1px solid rgba(201,168,76,0.18);
      border-radius: var(--radius-sm);
      padding: 12px;
      margin-bottom: 14px;
      transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    }
    .payment-method-select.needs-selection {
      border-color: #d8aa4a;
      background: rgba(201,168,76,0.08);
      box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
    }
    .payment-method-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }
    .payment-method-title {
      font-family: 'Cinzel', serif;
      font-size: 12px;
      letter-spacing: 0.7px;
      color: var(--gold-light);
    }
    .payment-method-warning {
      display: none;
      color: #f0c66d;
      font-size: 11px;
      text-align: right;
    }
    .payment-method-select.needs-selection .payment-method-warning { display: inline; }
    .payment-method-buttons {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
    }
    .payment-method-btn {
      border: 1px solid rgba(201,168,76,0.22);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.025);
      color: var(--silver);
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      min-height: 34px;
      padding: 8px 9px;
      transition: border-color 0.16s, background 0.16s, color 0.16s, transform 0.16s;
    }
    .payment-method-btn:hover {
      border-color: var(--gold-dim);
      color: var(--gold-light);
    }
    .payment-method-btn.selected {
      border-color: var(--gold);
      background: rgba(201,168,76,0.15);
      color: var(--gold-light);
      transform: translateY(-1px);
    }

    .checkout-btn {
      width: 100%;
      background: #25D366;
      border: none;
      color: #fff;
      font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.3px;
      padding: 15px 20px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: filter 0.2s, transform 0.15s;
    }
    .checkout-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
    .checkout-btn:active { transform: scale(0.99); }
    .checkout-btn:disabled {
      background: var(--bg-card);
      color: var(--text-sub);
      cursor: not-allowed;
      transform: none;
      filter: none;
    }

    /* ========== MOBILE STICKY BAR ========== */
    .mobile-cart-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--bg-secondary);
      border-top: 1px solid var(--border-strong);
      padding: 12px 16px;
      z-index: 150;
      align-items: center;
      gap: 12px;
    }

    .mobile-cart-info { flex: 1; }

    .mobile-cart-count {
      font-family: 'Cinzel', serif;
      font-size: 12px;
      color: var(--gold);
      margin-bottom: 2px;
    }

    .mobile-cart-total {
      font-family: 'Cinzel', serif;
      font-size: 16px;
      font-weight: 700;
      color: var(--text-main);
    }

    .mobile-view-cart {
      background: linear-gradient(135deg, var(--gold-dim), var(--gold));
      border: none;
      color: #000;
      font-family: 'Cinzel', serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      white-space: nowrap;
    }

    /* ========== TOAST ========== */
    .toast-container {
      position: fixed;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 500;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .toast {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      color: var(--text-main);
      font-size: 13px;
      padding: 10px 18px;
      border-radius: 20px;
      white-space: nowrap;
      animation: toastIn 0.3s ease, toastOut 0.3s ease 2s forwards;
      box-shadow: var(--shadow);
    }

    @keyframes toastIn {
      from { opacity: 0; margin-top: 8px; }
      to { opacity: 1; margin-top: 0; }
    }
    @keyframes toastOut {
      from { opacity: 1; margin-top: 0; }
      to { opacity: 0; margin-top: -8px; }
    }

    /* ========== FOOTER ========== */
    /* ========== TANYA KETERSEDIAAN ========== */
    .inquire-section {
      padding: clamp(40px,6vw,64px) clamp(16px,4vw,48px);
      background: var(--bg-secondary);
      border-top: 1px solid var(--border);
      text-align: center;
    }
    .inquire-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }
    .inquire-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(15px,2vw,20px);
      font-weight: 600;
      color: var(--gold);
      margin-bottom: 8px;
    }
    .inquire-sub {
      font-size: 13px;
      color: var(--text-sub);
      margin-bottom: 24px;
      max-width: 420px;
      margin-left: auto;
      margin-right: auto;
    }
    .inquire-open-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 1px solid var(--border-strong);
      color: var(--gold);
      font-family: 'Cinzel', serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 1px;
      padding: 11px 26px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .inquire-open-btn:hover { background: var(--gold-glow); border-color: var(--gold); }

    /* Inquire popup */
    .inquire-overlay {
      position: fixed; inset: 0; z-index: 500;
      background: rgba(0,0,0,0.72);
      display: flex; align-items: center; justify-content: center;
      padding: 20px 16px;
      opacity: 0; pointer-events: none;
      transition: opacity 0.2s;
    }
    .inquire-overlay.open { opacity: 1; pointer-events: all; }
    .inquire-modal {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: 18px;
      width: 100%; max-width: 420px;
      padding: 28px 24px 24px;
      box-shadow: var(--shadow);
      transform: scale(0.9) translateY(10px);
      opacity: 0;
      transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), opacity 0.2s;
    }
    .inquire-overlay.open .inquire-modal { transform: scale(1) translateY(0); opacity: 1; }
    .inquire-modal-title {
      font-family: 'Cinzel', serif;
      font-size: 15px; font-weight: 700;
      color: var(--gold);
      margin-bottom: 4px;
    }
    .inquire-modal-sub {
      font-size: 12px; color: var(--text-sub);
      margin-bottom: 20px;
    }
    .inquire-book-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
    .inquire-book-row {
      display: flex; gap: 8px; align-items: flex-start;
    }
    .inquire-book-fields { flex: 1; display: flex; flex-direction: column; gap: 6px; }
    .inquire-input {
      width: 100%;
      background: var(--bg-primary);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--text-main);
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      padding: 9px 12px;
      outline: none;
      transition: border-color 0.15s;
    }
    .inquire-input:focus { border-color: var(--gold-dim); }
    .inquire-input::placeholder { color: var(--silver-dim); }
    .inquire-remove-btn {
      background: none; border: none;
      color: var(--silver-dim); font-size: 18px;
      cursor: pointer; padding: 6px 4px; line-height: 1;
      transition: color 0.15s;
      flex-shrink: 0; margin-top: 2px;
    }
    .inquire-remove-btn:hover { color: #c0534a; }
    .inquire-add-btn {
      background: none; border: 1px dashed var(--border);
      color: var(--text-sub); font-size: 12px;
      cursor: pointer; padding: 8px 14px;
      border-radius: var(--radius-sm);
      width: 100%; transition: border-color 0.15s, color 0.15s;
      font-family: 'Inter', sans-serif;
      margin-bottom: 16px;
    }
    .inquire-add-btn:hover { border-color: var(--gold-dim); color: var(--gold); }
    .inquire-actions { display: flex; gap: 10px; }
    .inquire-cancel-btn {
      flex: 1; background: none;
      border: 1px solid var(--border);
      color: var(--text-sub); font-size: 13px;
      padding: 10px; border-radius: var(--radius-sm);
      cursor: pointer; transition: border-color 0.15s;
      font-family: 'Inter', sans-serif;
    }
    .inquire-cancel-btn:hover { border-color: var(--silver-dim); }
    .inquire-send-btn {
      flex: 2;
      background: linear-gradient(135deg, #25D366, #128C7E);
      border: none; color: #fff;
      font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
      font-size: 14px; font-weight: 600;
      padding: 10px 18px; border-radius: var(--radius-sm);
      cursor: pointer; transition: filter 0.15s;
      display: flex; align-items: center; justify-content: center; gap: 7px;
    }
    .inquire-send-btn:hover { filter: brightness(1.08); }

    /* ========== FOOTER ========== */
    .site-footer {
      margin-top: 28px;
      padding: 18px 16px 20px;
      border-top: 1px solid rgba(201,168,76,0.16);
      text-align: center;
      font-size: 12px;
      letter-spacing: 0.35px;
      color: var(--text-sub);
    }
    @media(max-width:640px){
      .site-footer { padding-bottom: 92px; }
    }

    /* ========== HERO PROFILE ========== */
    .hero-profile {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid var(--border-strong);
      box-shadow: 0 4px 16px rgba(0,0,0,0.5);
      background: var(--bg-card);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      margin: 8px auto 10px;
      transition: border-color 0.2s, transform 0.15s;
    }
    .hero-profile:hover { border-color: var(--gold); transform: scale(1.05); }
    .hero-profile img { width: 100%; height: 100%; object-fit: cover; }
    .hero-profile-initial {
      font-family: 'Cinzel', serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--gold);
    }
    .hero-orders-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: transparent;
      border: 1px solid var(--border-strong);
      color: var(--gold);
      font-family: 'Cinzel', serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.5px;
      padding: 7px 16px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .hero-orders-btn:hover { background: var(--gold-glow); border-color: var(--gold); }

    /* ========== PROFILE POPUP ========== */
    .profile-popup-overlay {
      position: fixed;
      inset: 0;
      z-index: 700;
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 16px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }
    .profile-popup-overlay.open { opacity: 1; pointer-events: all; }
    .profile-popup {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: 16px;
      width: 100%;
      max-width: 300px;
      padding: 22px 20px;
      box-shadow: var(--shadow);
      transform: scale(0.92) translateY(8px);
      opacity: 0;
      transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), opacity 0.2s;
      text-align: center;
    }
    .profile-popup-overlay.open .profile-popup { transform: scale(1) translateY(0); opacity: 1; }
    .profile-popup-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid var(--border-strong);
      background: var(--bg-card);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
    }
    .profile-popup-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .profile-popup-avatar-initial {
      font-family: 'Cinzel', serif;
      font-size: 24px;
      font-weight: 700;
      color: var(--gold);
    }
    .profile-popup-name {
      font-family: 'Cinzel', serif;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 4px;
    }
    .profile-popup-email {
      font-size: 12px;
      color: var(--text-sub);
      margin-bottom: 16px;
      word-break: break-all;
    }
    .profile-popup-logout {
      width: 100%;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--silver-dim);
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 500;
      padding: 10px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: color 0.15s, border-color 0.15s, background 0.15s;
    }
    .profile-popup-logout:hover { color: #e05050; border-color: #e05050; background: rgba(224,80,80,0.08); }

    /* ========== BOOK POPUP ========== */
    .book-popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.72);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 400;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 16px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s;
    }
    .book-popup-overlay.open { opacity: 1; pointer-events: all; }

    .book-popup {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: 18px;
      width: 100%;
      max-width: 380px;
      max-height: 88vh;
      overflow-y: auto;
      padding: 22px 20px 24px;
      box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.1);
      transform: scale(0.88) translateY(12px);
      transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.22s;
      opacity: 0;
    }
    .book-popup-overlay.open .book-popup {
      transform: scale(1) translateY(0);
      opacity: 1;
    }

    .popup-handle { display: none; }

    .popup-inner { display: flex; gap: 16px; align-items: flex-start; }

    .popup-cover {
      width: 76px;
      flex-shrink: 0;
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .popup-cover img { width: 100%; display: block; }

    .popup-info { flex: 1; min-width: 0; }

    .popup-genre {
      font-size: 10px;
      letter-spacing: 1.5px;
      color: var(--gold-dim);
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 5px;
    }

    .popup-series {
      display: none;
      width: fit-content;
      font-size: 9px;
      letter-spacing: 1px;
      color: var(--text-sub);
      text-transform: uppercase;
      font-weight: 700;
      margin: 5px 0 2px;
      padding-bottom: 2px;
      border-bottom: 1px solid rgba(201,168,76,0.28);
      opacity: 0.82;
    }

    .popup-title {
      font-family: 'Cinzel', serif;
      font-size: 15px;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.3;
      margin: 3px 0;
    }

    .popup-author {
      font-size: 12px;
      color: var(--text-sub);
      font-style: italic;
      margin-bottom: 10px;
    }

    .popup-desc {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.65;
    }

    .popup-btn-wrap { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
    .popup-unmark-btn {
      width: 100%;
      background: none;
      border: 1px dashed rgba(224,80,80,0.4);
      color: #c06060;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      padding: 9px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .popup-unmark-btn:hover { background: rgba(224,80,80,0.1); border-color: #e05050; color: #e05050; }
    .popup-link-btn {
      width: 100%;
      background: rgba(201,168,76,0.06);
      border: 1px solid var(--border-strong);
      color: var(--gold-light);
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      padding: 9px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s;
    }
    .popup-link-btn:hover { background: rgba(201,168,76,0.14); border-color: var(--gold-dim); }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 900px) {
      .sticky-header,
      .sticky-header.visible { display: none; }
      .testimonial-carousel {
        overflow: hidden;
        margin-inline: -16px;
        padding-inline: 16px;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent);
        mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent);
      }
      .testimonial-grid {
        width: max-content;
        max-width: none;
        justify-content: flex-start;
        margin: 0;
        gap: 0;
        overflow: visible;
        will-change: transform;
      }
      .testimonial-card { margin-right: 10px; }
      .testimonial-card.testimonial-card-clone { display: block; }
      .testimonial-card:hover { box-shadow: none; }
      .testimonial-hover-overlay { display: none; }
    }
    @media (max-width: 640px) {
      .cart-float { top: 72px; right: 14px; }
      .testimonial-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
      .testimonial-modal { padding: 16px 12px; }
      .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .product-body { padding: 12px 12px 14px; }
      .product-title { font-size: 12px; }
      .add-btn { font-size: 10px; padding: 8px 10px; }
      .cover-hover-overlay { display: none !important; }
      .product-footer { justify-content: center; }
      .pricing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
      .tier-pill { min-width: 0; padding: 8px 10px; }
      .mobile-cart-bar { display: flex; }
      .products-section { padding-bottom: 96px; }
      /* Cover penuh tanpa crop di mobile */
      .product-cover-wrap { aspect-ratio: auto; background: #0a0a0e; }
      .product-cover-wrap img { width: 100%; height: auto; object-fit: contain; }
      /* Filter chips scroll horizontal */
      .filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
      }
      .filter-chips::-webkit-scrollbar { display: none; }
      /* "Semua" chip pinned kiri — selalu terlihat walau chips lain di-scroll */
      .filter-chips .chip-all {
        position: sticky;
        left: 0;
        z-index: 3;
        flex-shrink: 0;
        background: var(--bg-secondary);
        padding-right: 16px;
        margin-right: 2px;
        box-shadow: 6px 0 10px var(--bg-secondary);
      }
      .filter-chips .chip-all.active {
        background: linear-gradient(135deg, var(--gold-dim), var(--gold));
        box-shadow: 6px 0 10px var(--bg-secondary);
      }
      [data-theme="light"] .filter-chips .chip-all {
        background: var(--bg-secondary);
        box-shadow: 6px 0 10px var(--bg-secondary);
      }
      [data-theme="light"] .filter-chips .chip-all.active {
        background: linear-gradient(135deg, #c9a84c, #e8c96a);
        box-shadow: 6px 0 10px var(--bg-secondary);
      }
      /* auth float kiri dan cart float kanan — clearance simetris di search row */
      .search-row { padding-left: 0; padding-right: 0; }
      .search-wrap { width: calc(100% - 120px); margin: 0 auto; left: 4px; }
    }


    @media (max-width: 400px) {
      .product-grid { grid-template-columns: 1fr; }
    }

    @media (min-width: 641px) {
      .cover-hover-overlay { display: flex; }
    }

    @media (min-width: 641px) and (max-width: 900px) {
      .product-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 901px) {
      .testimonial-card.testimonial-card-clone { display: none; }
      .product-grid { grid-template-columns: repeat(3, 1fr); }
      .product-cover-wrap { aspect-ratio: 2 / 3; }
      .product-body { padding: 12px 10px 9px; }
      .product-genres {
        flex-wrap: nowrap;
        gap: 3px;
        margin-bottom: 6px;
        overflow: visible;
      }
      .genre-chip {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 8px;
        letter-spacing: 0.35px;
        padding: 2px 5px;
      }
      .card-genre-chip {
        cursor: pointer;
        pointer-events: auto;
        transition: transform 0.18s ease, color 0.18s, background 0.18s, border-color 0.18s;
      }
      .card-genre-chip:hover {
        position: relative;
        z-index: 2;
        transform: scale(1.22);
        border-color: var(--gold-dim);
        color: var(--gold-light);
        background: var(--bg-card-hover);
      }
      .product-author { margin-bottom: 0; }
      .product-footer { display: none; }
      .hover-actions { display: flex; }
    }

    @media (min-width: 1200px) {
      .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    }

    /* ========== DESKTOP CATALOG LAYOUT (sidebar filter) ========== */
    @media (min-width: 901px) {
      /* === Layout === */
      .catalog-layout { display: flex; align-items: flex-start; }
      .catalog-main { flex: 1; min-width: 0; }

      /* === Filter sidebar: flex column, children ordered via order property === */
      .filter-section {
        display: flex;
        flex-direction: column;
        width: 210px;
        flex-shrink: 0;
        align-self: flex-start;
        height: 100vh;
        transition: top 0.25s ease, height 0.25s ease;
        overflow: hidden;
        border-bottom: none;
        border-right: 1px solid var(--border);
        padding: 20px 14px;
      }
      body.sticky-active .filter-section {
        top: 55px;
        height: calc(100vh - 55px);
      }

      /* Search is provided by the sticky desktop header. */
      .search-row { display: none; }
      .search-wrap { width: 100%; left: 0; margin: 0; }

      /* 1. Sort */
      .sidebar-sort {
        order: 1;
        display: block;
        flex-shrink: 0;
        margin-top: 0;
        padding-top: 0;
      }
      .sidebar-sort-pills {
        flex-direction: row;
        gap: 5px;
      }
      .sidebar-sort .sort-pill {
        flex: 1;
        min-width: 0;
        justify-content: center;
        gap: 4px;
        padding: 7px 5px;
        font-size: 10px;
      }

      /* 2. Filter label + count */
      .filter-header {
        order: 2;
        flex-shrink: 0;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-top: 14px;
        margin-bottom: 8px;
      }

      /* 3. "Semua" chip — pinned, always visible */
      #filterChipAll { order: 3; flex-shrink: 0; display: block; margin-bottom: 6px; }
      #filterChipAll .filter-chip { width: 100%; border-radius: 6px; padding: 7px 10px; text-align: left; }

      /* 4. Category chips — scrollable */
      .filter-chips {
        order: 4;
        flex: 1;
        min-height: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 4px;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
        padding-bottom: 12px;
      }
      .filter-chips::-webkit-scrollbar { width: 4px; }
      .filter-chips::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

      /* Hide duplicate "Semua" inside scrollable list */
      #filterChips .chip-all { display: none; }

      .filter-chip {
        border-radius: 6px;
        width: 100%;
        text-align: left;
        padding: 7px 10px;
        white-space: normal;
      }

      /* === Floating buttons at screen corners === */
      /* Sort expand hidden on desktop (sort is in sidebar); button acts as theme toggle. */
      .sort-expand-bar { display: none !important; }
      #iconSort, #iconSortClose { display: none !important; }

      /* Cart — top-right */
      .cart-float { top: 14px; right: 14px; }

      /* Product grid auto-adjusts to sidebar-narrowed width */
      .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    }

    /* ========== SORT FLOAT (kiri atas) ========== */
    .sort-float {
      position: fixed;
      top: 120px;
      left: 16px;
      z-index: 200;
      display: flex;
      align-items: center;
      gap: 0;
    }
    @media (max-width: 640px) {
      .sort-float { top: 72px; left: 14px; }
    }
    @media (min-width: 641px) and (max-width: 900px) {
      .sort-float { top: 170px; }
    }
    #iconTestimoni, #iconSort, #iconSortClose {
      transition: opacity 0.18s ease, transform 0.18s ease;
    }
    #iconSortClose { transform: rotate(-45deg); }
    .sort-trigger.open #iconSortClose { transform: rotate(0deg); }
    .sort-trigger {
      background: rgba(12, 12, 15, 0.82);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-strong);
      color: var(--gold);
      cursor: pointer;
      width: 46px;
      height: 46px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, border-color 0.2s, transform 0.2s;
      box-shadow: 0 4px 16px rgba(0,0,0,0.5);
      flex-shrink: 0;
    }
    .sort-trigger:hover { background: rgba(12,12,15,0.95); border-color: var(--gold); }
    @keyframes filterPulse {
      0% { box-shadow: 0 0 0 0 rgba(201,168,76,0.45); }
      70% { box-shadow: 0 0 0 10px rgba(201,168,76,0); }
      100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
    }
    .sort-trigger.open { border-color: var(--gold); transform: scale(1); box-shadow: 0 0 0 1px rgba(201,168,76,0.6), 0 0 18px rgba(201,168,76,0.45), 0 0 36px rgba(201,168,76,0.18); animation: filterPulse 0.55s ease-out; }

    .sort-label {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 600;
      color: var(--gold-dim);
      white-space: nowrap;
      opacity: 0;
      transform: translateX(-8px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .sort-expand-bar.open .sort-label {
      opacity: 1;
      transform: translateX(0);
      transition-delay: 0.02s;
    }

    .sort-expand-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-left: 0;
      overflow: hidden;
      max-width: 0;
      opacity: 0;
      transition: max-width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.25s ease, margin-left 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
      pointer-events: none;
      background: var(--bg-secondary);
      border: 1px solid transparent;
      border-radius: var(--radius-sm);
      padding: 0;
    }
    .sort-expand-bar.open {
      max-width: 300px;
      opacity: 1;
      margin-left: 10px;
      pointer-events: all;
      border-color: var(--border);
      padding: 5px 8px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    }

    .sort-pill {
      background: var(--bg-card);
      border: 1px solid var(--border);
      color: var(--text-sub);
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 500;
      padding: 7px 12px;
      border-radius: 20px;
      cursor: pointer;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.2s cubic-bezier(0.34,1.4,0.64,1), opacity 0.2s ease;
      opacity: 0;
      transform: translateX(-12px) scale(0.92);
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .sort-expand-bar.open .sort-pill {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
        .sort-expand-bar.open button.sort-pill:nth-of-type(1) { transition-delay: 0.04s; }
    .sort-expand-bar.open button.sort-pill:nth-of-type(2) { transition-delay: 0.10s; }
    .sort-expand-bar.open button.sort-pill:nth-of-type(3) { transition-delay: 0.16s; }

    .sort-pill:hover { border-color: var(--gold-dim); color: var(--text-main); background: var(--bg-card-hover); }
    .sort-pill.active {
      background: var(--gold-glow);
      border-color: var(--gold);
      color: var(--gold-light);
      font-weight: 600;
    }
    .sort-pill .sort-arrow {
      font-size: 10px;
      opacity: 0.7;
    }
    .auth-section { margin-top: 16px; }
    .login-hero-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 1px solid var(--border-strong);
      color: var(--text-main);
      font-family: 'Inter', sans-serif;
      font-size: 13px; font-weight: 500;
      padding: 9px 20px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
    }
    .login-hero-btn:hover { background: var(--gold-glow); border-color: var(--gold); color: var(--gold); }
    .hero-user-name {
      font-family: 'Cinzel', serif;
      font-size: 14px; font-weight: 600;
      color: var(--text-main);
      margin-bottom: 2px;
    }
    .hero-user-email { font-size: 12px; color: var(--text-sub); margin-bottom: 12px; }
    .hero-user-actions { display: flex; align-items: center; gap: 8px; justify-content: center; }
    .my-books-btn {
      background: transparent;
      border: 1px solid var(--border-strong);
      color: var(--gold);
      font-family: 'Cinzel', serif;
      font-size: 11px; font-weight: 600;
      letter-spacing: 0.5px;
      padding: 7px 16px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .my-books-btn:hover { background: var(--gold-glow); border-color: var(--gold); }
    .logout-btn {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--silver-dim);
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      padding: 7px 14px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: color 0.15s, border-color 0.15s;
    }
    .logout-btn:hover { color: #e05050; border-color: #e05050; }

    /* Auth required modal */
    .auth-modal-overlay {
      position: fixed; inset: 0; z-index: 700;
      background: rgba(0,0,0,0.78);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center;
      padding: 20px 16px;
      opacity: 0; pointer-events: none;
      transition: opacity 0.2s;
    }
    .auth-modal-overlay.open { opacity: 1; pointer-events: all; }
    .auth-modal {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: 18px;
      width: 100%; max-width: 360px;
      padding: 32px 28px 28px;
      box-shadow: var(--shadow);
      transform: scale(0.9) translateY(10px);
      opacity: 0;
      transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), opacity 0.2s;
      text-align: center;
    }
    .auth-modal-overlay.open .auth-modal { transform: scale(1) translateY(0); opacity: 1; }
    .auth-modal-icon { font-size: 36px; margin-bottom: 12px; }
    .auth-modal-title {
      font-family: 'Cinzel', serif;
      font-size: 16px; font-weight: 700;
      color: var(--gold); margin-bottom: 8px;
    }
    .auth-modal-sub {
      font-size: 13px; color: var(--text-sub);
      line-height: 1.65; margin-bottom: 24px;
    }
    .google-login-btn {
      width: 100%;
      display: flex; align-items: center; justify-content: center;
      gap: 10px;
      background: #fff;
      border: none;
      color: #1f1f1f;
      font-family: 'Inter', sans-serif;
      font-size: 14px; font-weight: 600;
      padding: 13px 20px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: filter 0.2s, transform 0.15s;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .google-login-btn:hover { filter: brightness(0.97); transform: translateY(-1px); }
    .google-login-btn:active { transform: scale(0.99); }
    .auth-modal-skip {
      display: block;
      margin: 12px auto 0;
      font-size: 12px; color: var(--silver-dim);
      cursor: pointer;
      background: none; border: none;
      font-family: 'Inter', sans-serif;
      text-decoration: underline;
    }
    .auth-modal-skip:hover { color: var(--text-sub); }

    /* Orders modal */
    .orders-modal-overlay {
      position: fixed; inset: 0; z-index: 700;
      background: rgba(0,0,0,0.78);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center;
      padding: 20px 16px;
      opacity: 0; pointer-events: none;
      transition: opacity 0.2s;
    }
    .orders-modal-overlay.open { opacity: 1; pointer-events: all; }
    .orders-modal {
      background: var(--bg-card);
      border: 1px solid var(--border-strong);
      border-radius: 18px;
      width: 100%; max-width: 460px;
      max-height: 80vh;
      overflow-y: auto;
      padding: 24px 20px;
      box-shadow: var(--shadow);
      transform: scale(0.9) translateY(10px);
      opacity: 0;
      transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), opacity 0.2s;
    }
    .orders-modal-overlay.open .orders-modal { transform: scale(1) translateY(0); opacity: 1; }
    .orders-modal-header {
      display: flex; align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }
    .orders-modal-title {
      font-family: 'Cinzel', serif;
      font-size: 15px; font-weight: 700;
      color: var(--gold);
    }
    .orders-modal-close {
      background: none; border: none;
      color: var(--text-sub); font-size: 22px;
      cursor: pointer; line-height: 1;
      transition: color 0.15s;
    }
    .orders-modal-close:hover { color: var(--text-main); }
    .order-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px 16px;
      margin-bottom: 12px;
    }
    .order-card-date { font-size: 11px; color: var(--text-sub); margin-bottom: 8px; }
    .order-book-list { list-style: none; margin-bottom: 10px; }
    .order-book-list li {
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
      font-size: 12px; color: var(--text-main);
      padding: 4px 0;
      border-bottom: 1px solid var(--border);
      line-height: 1.4;
    }
    .order-book-list li:last-child { border-bottom: none; }
    .order-book-author { color: var(--text-sub); font-style: italic; }
    .order-book-info { flex: 1; min-width: 0; }
    .order-book-delete {
      flex-shrink: 0;
      background: none; border: none;
      color: var(--silver-dim);
      font-size: 16px; line-height: 1;
      cursor: pointer; padding: 2px 4px;
      border-radius: 4px;
      transition: color 0.15s, background 0.15s;
    }
    .order-book-delete:hover { color: #e05050; background: rgba(224,80,80,0.1); }
    .order-total {
      font-family: 'Cinzel', serif;
      font-size: 13px; color: var(--gold);
      text-align: right; margin-top: 8px;
    }
    .orders-empty {
      text-align: center;
      padding: 32px 16px;
      color: var(--text-sub);
      font-size: 13px; line-height: 1.7;
    }
    .order-delete-btn {
      display: block;
      width: 100%;
      margin-top: 10px;
      background: none;
      border: 1px dashed rgba(224,80,80,0.35);
      color: #c06060;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      padding: 6px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .order-delete-btn:hover { background: rgba(224,80,80,0.1); border-color: #e05050; color: #e05050; }

    /* Purchased state on product cards */
    .product-purchased {
      position: absolute;
      top: 8px; left: 8px;
      background: rgba(40,40,40,0.9);
      color: #999;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.5px;
      padding: 3px 8px;
      border-radius: 4px;
      opacity: 0;
      transform: scale(0.8);
      transition: opacity 0.2s, transform 0.2s;
      pointer-events: none;
      z-index: 2;
    }
    .product-purchased.show { opacity: 1; transform: scale(1); }
    .product-card.purchased { opacity: 0.45; }
    .product-card.purchased .product-cover-wrap img { filter: grayscale(80%); }
    .product-card.purchased .add-btn {
      background: var(--bg-secondary) !important;
      color: var(--text-sub) !important;
      border-color: var(--border) !important;
      cursor: default;
      pointer-events: none;
    }
    .product-card.purchased .hover-action-btn {
      opacity: 0.48;
      cursor: default;
      pointer-events: none;
    }
    .unmark-btn {
      display: none;
      width: 100%;
      margin-top: 6px;
      background: none;
      border: 1px dashed rgba(224,80,80,0.35);
      color: #c06060;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      padding: 6px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .unmark-btn:hover { background: rgba(224,80,80,0.1); border-color: #e05050; color: #e05050; }

    /* ============================================================ */
    /* ====================  ANIMATION LAYER  ===================== */
    /* ============================================================ */

    /* Page-load fade — disappears once layout is ready (no flash) */
    @keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
    body { animation: pageFadeIn 0.5s ease-out both; }

    /* Hero logo: floating with gold breathing glow */
    @keyframes logoFloat {
      0%, 100% { transform: translateY(0); filter: drop-shadow(0 6px 20px rgba(201,168,76,0.35)); }
      50%      { transform: translateY(-4px); filter: drop-shadow(0 10px 28px rgba(201,168,76,0.55)); }
    }
    .hero-logo-img {
      animation: logoFloat 5s ease-in-out infinite;
    }

    /* Hero entrance: stagger reveal */
    @keyframes heroRise {
      from { opacity: 0; transform: translateY(14px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .hero-content > * {
      animation: heroRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .hero-content > .hero-logo-img { animation: heroRise 0.8s cubic-bezier(0.22,1,0.36,1) both, logoFloat 5s ease-in-out infinite 0.8s; animation-delay: 0s, 0.8s; }
    .hero-content > .hero-title    { animation-delay: 0.15s; }
    .hero-content > .hero-sub      { animation-delay: 0.30s; }
    .hero-content > .auth-section  { animation-delay: 0.45s; }

    /* Hero title — gold gleam sweep */
    .hero-title {
      position: relative;
      background-size: 200% auto;
      animation: heroRise 0.8s cubic-bezier(0.22,1,0.36,1) both, titleShimmer 6s ease-in-out infinite 1s;
    }
    @keyframes titleShimmer {
      0%, 100% { background-position: 0% center; }
      50%      { background-position: 100% center; }
    }

    /* Tagline letter-spacing breathe */
    @keyframes taglineBreathe {
      0%, 100% { letter-spacing: 4px; opacity: 0.85; }
      50%      { letter-spacing: 5px; opacity: 1; }
    }
    .hero-tagline { animation: taglineBreathe 4s ease-in-out infinite; }

    /* Floating gold dust in hero — premium "old library" feel */
    .hero { isolation: isolate; }
    .gold-dust {
      position: absolute;
      pointer-events: none;
      inset: 0;
      overflow: hidden;
      z-index: 0;
    }
    .gold-dust span {
      position: absolute;
      bottom: -10px;
      width: 3px; height: 3px;
      background: var(--gold-light);
      border-radius: 50%;
      opacity: 0;
      box-shadow: 0 0 6px rgba(232,201,106,0.7);
      animation: dustRise linear infinite;
    }
    @keyframes dustRise {
      0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
      10%  { opacity: 0.8; }
      80%  { opacity: 0.6; }
      100% { transform: translate(var(--dx, 12px), -120vh) scale(1); opacity: 0; }
    }

    /* Pricing tiers stagger reveal on first paint */
    @keyframes pricingRise {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .pricing-section .tier-pill {
      animation: pricingRise 0.55s cubic-bezier(0.22,1,0.36,1) both;
    }
    .pricing-section .tier-pill:nth-child(1) { animation-delay: 0.50s; }
    .pricing-section .tier-pill:nth-child(2) { animation-delay: 0.58s; }
    .pricing-section .tier-pill:nth-child(3) { animation-delay: 0.66s; }
    .pricing-section .tier-pill:nth-child(4) { animation-delay: 0.74s; }
    .pricing-section .tier-pill:nth-child(5) { animation-delay: 0.82s; }
    .pricing-section .tier-pill:nth-child(6) { animation-delay: 0.90s; }
    .pricing-section .tier-pill:hover {
      transform: translateY(-3px);
      border-color: var(--gold-dim);
      transition: transform 0.25s, border-color 0.25s, background 0.25s;
    }
    @keyframes pricingToggleBreathe {
      0%, 100% {
        transform: translateY(0);
        box-shadow: 0 6px 18px rgba(0,0,0,0.22);
      }
      50% {
        transform: translateY(2px);
        box-shadow: 0 9px 24px rgba(201,168,76,0.16);
      }
    }
    .guarantee-section {
      animation: pricingRise 0.58s cubic-bezier(0.22,1,0.36,1) both;
      animation-delay: 0.5s;
    }

    /* Tier active glow */
    .tier-pill.active::after {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: var(--radius-sm);
      box-shadow: 0 0 0 0 rgba(201,168,76,0.6);
      animation: tierActivePulse 2.6s ease-out infinite;
      pointer-events: none;
    }
    .tier-pill { position: relative; }
    @keyframes tierActivePulse {
      0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.45); }
      70%  { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
      100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
    }

    /* Section divider grows in */
    @keyframes dividerGrow {
      from { width: 0; opacity: 0; }
      to   { width: 60px; opacity: 1; }
    }
    .section-divider { animation: dividerGrow 0.8s cubic-bezier(0.22,1,0.36,1) 0.2s both; }

    /* Filter chip subtle hover lift */
    .filter-chip {
      transform: translateY(0);
      transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.18s ease;
    }
    .filter-chip:hover { transform: translateY(-2px); }

    /* ===== Product cards: stagger fade-up on render ===== */
    @keyframes cardRise {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .product-card {
      opacity: 0;
      animation: cardRise 0.55s cubic-bezier(0.22,1,0.36,1) both;
    }
    .product-card.is-revealed { /* used by IO observer for late items */
      animation: cardRise 0.55s cubic-bezier(0.22,1,0.36,1) both;
    }

    /* Cover glow ring on hover */
    .product-cover-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      box-shadow: inset 0 0 0 1px rgba(201,168,76,0);
      transition: box-shadow 0.4s ease;
      pointer-events: none;
      z-index: 3;
    }
    .product-card:hover .product-cover-wrap::before {
      box-shadow: inset 0 0 0 1px rgba(201,168,76,0.55), inset 0 0 30px rgba(201,168,76,0.18);
    }

    /* Cover gleam sweep on hover (gold light passing across the book) */
    .product-cover-wrap::after {
      content: '';
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(120deg,
        transparent 0%,
        rgba(232, 201, 106, 0) 35%,
        rgba(232, 201, 106, 0.28) 50%,
        rgba(232, 201, 106, 0) 65%,
        transparent 100%);
      transform: skewX(-18deg);
      pointer-events: none;
      z-index: 3;
      transition: left 0.85s cubic-bezier(0.22,1,0.36,1);
    }
    .product-card:hover .product-cover-wrap::after { left: 130%; }

    /* Book cover lift (smoother than default) */
    .product-card {
      transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                  border-color 0.3s, box-shadow 0.35s;
    }
    .product-card:hover { transform: translateY(-6px); }
    .product-card:hover .product-cover-wrap img { transform: none; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }

    /* Genre chip subtle hover scale */
    .genre-chip { transition: transform 0.2s ease, color 0.2s, background 0.2s; }
    .product-card:hover .genre-chip { color: var(--gold); background: rgba(201,168,76,0.12); }

    /* Title underline appearing on hover */
    .product-title { position: relative; display: inline-block; }
    .product-title::after {
      content: '';
      position: absolute;
      left: 50%; bottom: -3px;
      width: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      transition: width 0.4s ease, left 0.4s ease;
    }
    .product-card:hover .product-title::after { width: 100%; left: 0; }

    /* Add-btn subtle gold gleam */
    .add-btn {
      position: relative;
      overflow: hidden;
    }
    .add-btn::before {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      transform: skewX(-20deg);
      transition: left 0.6s ease;
    }
    .add-btn:hover::before { left: 130%; }

    /* Cart badge gentle idle pulse when items > 0 */
    @keyframes badgeIdlePulse {
      0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
      50%      { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(201,168,76,0); }
    }
    .cart-badge.show { animation: badgeIdlePulse 2.4s ease-in-out infinite; }
    .cart-badge.pop { animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards; }

    /* Cart float button — subtle glow when cart has items */
    .cart-btn.has-items {
      border-color: var(--gold);
      box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 18px rgba(201,168,76,0.25);
    }

    /* Inquire icon bob */
    @keyframes iconBob {
      0%, 100% { transform: translateY(0) rotate(-2deg); }
      50%      { transform: translateY(-4px) rotate(2deg); }
    }
    .inquire-icon { display: inline-block; animation: iconBob 3.5s ease-in-out infinite; }

    /* Section header reveal on scroll */
    .reveal-on-scroll {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
    }
    .reveal-on-scroll.is-revealed {
      opacity: 1;
      transform: translateY(0);
    }

    /* Inquire CTA shimmer */
    .inquire-open-btn {
      position: relative;
      overflow: hidden;
    }
    .inquire-open-btn::before {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 50%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
      transform: skewX(-20deg);
      animation: ctaSheen 4s ease-in-out infinite 2s;
    }
    @keyframes ctaSheen {
      0%   { left: -100%; }
      40%  { left: 130%; }
      100% { left: 130%; }
    }

    /* Profile button hover spin halo */
    .hero-profile { position: relative; }
    .hero-profile::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      border: 1px dashed rgba(201,168,76,0);
      transition: border-color 0.25s, transform 0.6s ease;
      pointer-events: none;
    }
    .hero-profile:hover::after { border-color: rgba(201,168,76,0.7); transform: rotate(120deg); }

    /* Checkout pulse */
    .checkout-btn:not(:disabled) {
      animation: checkoutBreathe 3s ease-in-out infinite;
    }
    @keyframes checkoutBreathe {
      0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
      50%      { box-shadow: 0 0 0 6px rgba(37,211,102,0.06); }
    }

    /* Tier indicator number "ticker" feel */
    @keyframes valueFlash {
      0%   { color: #fff; transform: scale(1.05); }
      100% { color: var(--gold-light); transform: scale(1); }
    }
    .tier-value-flash { animation: valueFlash 0.45s ease-out both; }
    .summary-total-flash { animation: valueFlash 0.45s ease-out both; }

    /* Toast: float upward more elegantly */
    @keyframes toastInElegant {
      from { opacity: 0; transform: translateY(12px) scale(0.95); }
      to   { opacity: 1; transform: translateY(0)   scale(1); }
    }
    .toast { animation: toastInElegant 0.35s cubic-bezier(0.22,1,0.36,1) both, toastOut 0.35s ease 2.2s forwards; }

    /* Reduced motion respect */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-delay: 0s !important;
        transition-duration: 0.05s !important;
      }
      .gold-dust { display: none; }
      .testimonial-carousel {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
      }
      .testimonial-grid { animation: none !important; }
    }
