:root {
      --ink: #0f0e0c; --cream: #faf7f2; --warm: #f0ebe0;
      --gold: #c9a84c; --gold-light: #e8c96a; --rust: #b84c2a;
      --text: #2c2a26; --muted: #7a7268; --border: #ddd5c4;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); }
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(250,247,242,0.95); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border); padding: 0 5%;
      display: flex; align-items: center; justify-content: space-between; height: 68px;
    }
    .nav-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--ink); text-decoration: none; }
    .nav-logo span { color: var(--gold); }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a { text-decoration: none; color: var(--text); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
    .nav-links a:hover { color: var(--gold); }
    .nav-cta { background: var(--ink); color: var(--cream) !important; padding: 0.5rem 1.2rem; border-radius: 4px; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); }
    .mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 1.5rem 5%; z-index: 99; flex-direction: column; gap: 1rem; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { text-decoration: none; color: var(--text); font-weight: 500; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }

    .page-hero {
      background: var(--ink); padding: 120px 5% 60px;
      text-align: center;
    }
    .page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: var(--cream); }
    .page-hero p { color: rgba(250,247,242,0.6); margin-top: 1rem; font-size: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }
    .page-hero .tag { display: inline-block; color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }

    .filter-bar {
      padding: 2rem 5%; display: flex; gap: 1rem; flex-wrap: wrap;
      background: var(--warm); border-bottom: 1px solid var(--border);
    }
    .filter-btn {
      padding: 0.5rem 1.2rem; border-radius: 50px;
      border: 2px solid var(--border); background: white;
      cursor: pointer; font-weight: 600; font-size: 0.85rem;
      transition: all 0.2s; color: var(--text); font-family: 'DM Sans', sans-serif;
    }
    .filter-btn.active, .filter-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

    .products-container { padding: 4rem 5%; }
    .products-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
    }
    .product-card {
      background: white; border-radius: 16px; overflow: hidden;
      border: 1px solid var(--border);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.1); }
    .product-cover {
      height: 220px; display: flex; align-items: center; justify-content: center;
      font-size: 4rem; position: relative;
    }
    .product-cover.g1 { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
    .product-cover.g2 { background: linear-gradient(135deg, #2c4a3e, #4a7c65); }
    .product-cover.g3 { background: linear-gradient(135deg, #3a2060, #6b40b0); }
    .product-cover.g4 { background: linear-gradient(135deg, #6b3a2a, #b06040); }
    .product-cover.g5 { background: linear-gradient(135deg, #1a2c3e, #2a5a7c); }
    .product-cover.g6 { background: linear-gradient(135deg, #3e2a1a, #7c5a2a); }
    .badge {
      position: absolute; top: 14px; right: 14px;
      background: var(--gold); color: var(--ink);
      font-size: 0.68rem; font-weight: 800; padding: 4px 12px;
      border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em;
    }
    .badge.new { background: var(--rust); color: white; }
    .card-body { padding: 1.5rem; }
    .card-category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.5rem; }
    .card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.3; }
    .card-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
    .card-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
    .card-pages { font-size: 0.8rem; color: var(--muted); }
    .card-rating { font-size: 0.8rem; color: var(--gold); font-weight: 600; }
    .card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
    .card-price { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--ink); }
    .card-price span { font-size: 0.8rem; color: var(--muted); font-family: 'DM Sans', sans-serif; font-weight: 400; text-decoration: line-through; margin-left: 4px; }
    .btn-buy {
      background: var(--ink); color: var(--cream);
      padding: 0.6rem 1.4rem; border-radius: 6px; border: none;
      cursor: pointer; font-weight: 700; font-size: 0.88rem;
      transition: background 0.2s, transform 0.2s; font-family: 'DM Sans', sans-serif;
    }
    .btn-buy:hover { background: var(--gold); color: var(--ink); transform: scale(1.04); }

    .guarantee-strip {
      background: var(--warm); border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 2rem 5%;
      display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap;
      text-align: center;
    }
    .guarantee-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; font-weight: 600; }
    .guarantee-item .icon { font-size: 1.5rem; }

    footer { background: var(--ink); color: var(--cream); padding: 60px 5% 30px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
    .footer-brand p { color: rgba(250,247,242,0.5); font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; }
    .footer-col h4 { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 0.6rem; }
    .footer-col ul li a { color: rgba(250,247,242,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
    .footer-col ul li a:hover { color: var(--cream); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: rgba(250,247,242,0.4); flex-wrap: wrap; gap: 1rem; }
    .footer-bottom a { color: rgba(250,247,242,0.6); text-decoration: none; }
    .secure-badge { display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.05); padding: 0.4rem 0.8rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; color: rgba(250,247,242,0.6); }

    @media (max-width: 900px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
    }
    @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
