:root {
    --cream: #F5F0E8;
    --ink: #1A1714;
    --rust: #C4522A;
    --gold: #D4A853;
    --sage: #5C7A5E;
    --dust: #E8E0D0;
    --muted: #7A7269;
    --paper: #FAF7F2;
    --card-bg: #FFFFFF;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
  }

  /* ── CURSOR ── */
  .cursor {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--rust);
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
    transition: transform .15s ease, width .2s, height .2s, background .2s;
    mix-blend-mode: multiply;
  }
  .cursor.expand { width: 40px; height: 40px; background: var(--gold); opacity: .5; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(245,240,232,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,23,20,.08);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
    transform: translateY(0);
    transition: transform .4s ease, box-shadow .3s;
  }
  nav.hidden { transform: translateY(-100%); }
  nav.scrolled { box-shadow: 0 2px 24px rgba(26,23,20,.1); }

  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; letter-spacing: -.5px;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-logo span { color: var(--rust); }

  .nav-links {
    display: flex; gap: 2rem; list-style: none;
  }
  .nav-links a {
    text-decoration: none; color: var(--muted);
    font-size: .875rem; font-weight: 400; letter-spacing: .3px;
    transition: color .2s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--rust);
    transition: width .3s ease;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { width: 100%; }

  .nav-actions { display: flex; align-items: center; gap: 1rem; }

  .nav-icon {
    background: none; border: none; cursor: pointer;
    color: var(--ink); font-size: 1.1rem; padding: 6px;
    position: relative; transition: color .2s;
  }
  .nav-icon:hover { color: var(--rust); }

  .cart-badge {
    position: absolute; top: 0; right: 0;
    width: 16px; height: 16px;
    background: var(--rust); color: #fff;
    border-radius: 50%; font-size: .6rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 500;
  }

  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all .3s; }
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* ── MOBILE MENU ── */
  .mobile-menu {
    display: none; position: fixed; top: 64px; left: 0; width: 100%;
    background: var(--paper); z-index: 99;
    padding: 2rem 5%; flex-direction: column; gap: 1.5rem;
    border-bottom: 1px solid var(--dust);
    transform: translateY(-20px); opacity: 0;
    transition: transform .3s ease, opacity .3s;
  }
  .mobile-menu.open { transform: translateY(0); opacity: 1; }
  .mobile-menu a {
    font-family: 'Playfair Display', serif; font-size: 1.5rem;
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--dust); padding-bottom: 1rem;
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; padding: 80px 5% 0;
    position: relative; overflow: hidden;
  }

  .hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(212,168,83,.08) 0%, transparent 60%),
                radial-gradient(ellipse 40% 60% at 20% 80%, rgba(92,122,94,.06) 0%, transparent 50%);
    pointer-events: none;
  }

  .hero-text { position: relative; z-index: 2; }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .75rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--rust); font-weight: 500; margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .8s .2s forwards;
  }
  .hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--rust); }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.1; font-weight: 700;
    color: var(--ink); margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(30px);
    animation: fadeUp .8s .4s forwards;
  }
  .hero-title em { color: var(--rust); font-style: italic; }

  .hero-desc {
    font-size: 1.05rem; color: var(--muted);
    line-height: 1.8; max-width: 420px;
    margin-bottom: 2.5rem;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .8s .6s forwards;
  }

  .hero-cta {
    display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .8s .8s forwards;
  }

  .btn-primary {
    padding: 14px 32px;
    background: var(--ink); color: var(--cream);
    border: none; border-radius: 2px; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: .9rem;
    font-weight: 500; letter-spacing: .5px;
    transition: background .25s, transform .2s;
    text-decoration: none; display: inline-block;
  }
  .btn-primary:hover { background: var(--rust); transform: translateY(-2px); }

  .btn-outline {
    padding: 13px 32px;
    background: transparent; color: var(--ink);
    border: 1px solid rgba(26,23,20,.3); border-radius: 2px; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: .9rem;
    font-weight: 500; letter-spacing: .5px;
    transition: border-color .25s, color .25s, transform .2s;
    text-decoration: none; display: inline-block;
  }
  .btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }

  /* ── HERO VISUAL ── */
  .hero-visual {
    position: relative; display: flex; justify-content: center; align-items: center;
    height: 100%;
    opacity: 0; animation: fadeIn .8s 1s forwards;
  }

  .books-stack {
    position: relative; width: 340px; height: 420px;
  }

  .book-card {
    position: absolute;
    width: 190px; height: 270px;
    border-radius: 4px 12px 12px 4px;
    overflow: hidden;
    box-shadow: 8px 12px 32px rgba(26,23,20,.2);
    transition: transform .4s ease, box-shadow .4s ease;
    cursor: pointer;
  }
  .book-card:hover { transform: translateY(-12px) rotate(0deg) !important; box-shadow: 12px 24px 48px rgba(26,23,20,.3); }
  .book-card img { width: 100%; height: 100%; object-fit: cover; }

  .book-card.b1 { top: 40px; left: 10px; transform: rotate(-6deg); z-index: 3; }
  .book-card.b2 { top: 20px; left: 80px; transform: rotate(2deg); z-index: 4; }
  .book-card.b3 { top: 60px; left: 150px; transform: rotate(8deg); z-index: 2; }

  .hero-badge {
    position: absolute; bottom: 80px; right: 10px;
    background: var(--gold); color: var(--ink);
    width: 88px; height: 88px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 500; text-align: center; letter-spacing: .5px;
    text-transform: uppercase; animation: spin 12s linear infinite;
    z-index: 5;
  }

  @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn { to { opacity: 1; } }

  /* ── TICKER ── */
  .ticker {
    background: var(--ink); color: var(--cream);
    padding: 12px 0; overflow: hidden;
    position: relative;
  }
  .ticker-track {
    display: flex; gap: 3rem;
    animation: ticker 25s linear infinite;
    width: max-content;
  }
  .ticker-item {
    font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase;
    white-space: nowrap; font-weight: 300;
    display: flex; align-items: center; gap: .75rem;
  }
  .ticker-item::after { content: '◆'; font-size: .5rem; color: var(--gold); }
  @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ── SECTIONS ── */
  section { padding: 5rem 5%; }

  .section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
  }
  .section-label {
    font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--rust); font-weight: 500; margin-bottom: .5rem;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700;
    line-height: 1.2;
  }
  .section-link {
    color: var(--muted); font-size: .875rem;
    text-decoration: none; display: flex; align-items: center; gap: .4rem;
    transition: color .2s;
  }
  .section-link:hover { color: var(--rust); }
  .section-link svg { transition: transform .2s; }
  .section-link:hover svg { transform: translateX(4px); }

  /* ── BOOKS GRID ── */
  .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
  }

  .book-item {
    cursor: pointer;
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s, transform .6s;
  }
  .book-item.visible { opacity: 1; transform: translateY(0); }

  .book-cover {
    position: relative; overflow: hidden;
    border-radius: 4px 12px 12px 4px;
    aspect-ratio: 2/3;
    background: var(--dust);
    box-shadow: 4px 6px 20px rgba(26,23,20,.12);
    transition: box-shadow .35s, transform .35s;
    margin-bottom: 1rem;
  }
  .book-item:hover .book-cover {
    box-shadow: 8px 16px 40px rgba(26,23,20,.22);
    transform: translateY(-6px);
  }
  .book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
  .book-item:hover .book-cover img { transform: scale(1.04); }

  .book-overlay {
    position: absolute; inset: 0;
    background: rgba(26,23,20,.7);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
    opacity: 0; transition: opacity .3s;
  }
  .book-item:hover .book-overlay { opacity: 1; }

  .overlay-btn {
    padding: 9px 20px; border: none; cursor: pointer; border-radius: 2px;
    font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 500;
    transition: background .2s, transform .2s; width: 130px; text-align: center;
  }
  .overlay-btn:first-child { background: var(--cream); color: var(--ink); }
  .overlay-btn:first-child:hover { background: var(--gold); transform: scale(1.03); }
  .overlay-btn:last-child { background: transparent; color: var(--cream); border: 1px solid rgba(245,240,232,.4); }
  .overlay-btn:last-child:hover { border-color: var(--cream); transform: scale(1.03); }

  .book-genre-tag {
    position: absolute; top: 10px; left: 10px;
    background: var(--gold); color: var(--ink);
    font-size: .62rem; padding: 3px 8px; border-radius: 2px;
    font-weight: 500; letter-spacing: .5px; text-transform: uppercase;
  }

  .book-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 700; margin-bottom: .25rem;
    line-height: 1.3;
  }
  .book-author { font-size: .82rem; color: var(--muted); margin-bottom: .4rem; }
  .book-footer { display: flex; align-items: center; justify-content: space-between; }
  .book-price { font-size: .95rem; font-weight: 500; color: var(--rust); }
  .book-stars { color: var(--gold); font-size: .75rem; }

  /* ── CATEGORIES ── */
  .categories { background: var(--paper); }

  .cats-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .cat-card {
    aspect-ratio: 1;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .5rem; cursor: pointer; text-decoration: none;
    transition: transform .3s, box-shadow .3s;
    opacity: 0; transform: scale(.9);
    transition: opacity .5s, transform .5s, box-shadow .3s;
  }
  .cat-card.visible { opacity: 1; transform: scale(1); }
  .cat-card:hover { transform: scale(1.04) translateY(-4px); box-shadow: 0 12px 32px rgba(26,23,20,.15); }

  .cat-icon { font-size: 2rem; margin-bottom: .25rem; }
  .cat-name { font-size: .85rem; font-weight: 500; text-align: center; }
  .cat-count { font-size: .72rem; color: var(--muted); }

  .cat-1 { background: #F2EBE0; color: var(--ink); }
  .cat-2 { background: #E8F0E8; color: #2D4A2F; }
  .cat-3 { background: #F0E8E8; color: #5A2323; }
  .cat-4 { background: #E8ECF5; color: #2A3558; }
  .cat-5 { background: #F5EFE0; color: #5A3D10; }
  .cat-6 { background: #EDE8F0; color: #3D2858; }
  .cat-7 { background: #E8F2EF; color: #1A4535; }
  .cat-8 { background: #F2EBE5; color: #4A2215; }

  /* ── FEATURED BANNER ── */
  .featured {
    background: var(--ink);
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; overflow: hidden;
    position: relative; gap: 3rem;
  }

  .featured::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,168,83,.12) 0%, transparent 60%);
    top: -200px; right: 200px;
    pointer-events: none;
  }

  .featured-text { padding: 5rem 0 5rem 5%; position: relative; z-index: 2; }
  .featured-label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
  .featured-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3.5rem); color: var(--cream);
    line-height: 1.15; margin-bottom: 1rem; font-weight: 700;
  }
  .featured-author { color: rgba(245,240,232,.5); margin-bottom: 1rem; font-size: .95rem; }
  .featured-desc { color: rgba(245,240,232,.65); line-height: 1.8; margin-bottom: 2rem; max-width: 400px; font-size: .95rem; }
  .featured-meta { display: flex; gap: 2rem; margin-bottom: 2.5rem; }
  .featured-meta-item { }
  .meta-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold); font-weight: 700; }
  .meta-label { font-size: .72rem; color: rgba(245,240,232,.4); text-transform: uppercase; letter-spacing: 1px; margin-top: .1rem; }

  .featured-visual {
    position: relative; height: 100%; display: flex; align-items: center; justify-content: center;
    padding: 3rem 5% 3rem 0;
  }
  .featured-book {
    width: 240px; height: 340px;
    border-radius: 4px 16px 16px 4px;
    overflow: hidden; position: relative;
    box-shadow: 20px 24px 60px rgba(0,0,0,.5);
    animation: float 4s ease-in-out infinite;
  }
  .featured-book img { width: 100%; height: 100%; object-fit: cover; }
  @keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(-2deg); } }

  /* ── DEALS ── */
  .deals { background: var(--cream); }

  .deals-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem; align-items: start;
  }

  .deal-main {
    background: var(--paper);
    border-radius: 8px; overflow: hidden;
    display: grid; grid-template-columns: auto 1fr;
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
  }
  .deal-main:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,23,20,.12); }

  .deal-main-img {
    width: 140px; aspect-ratio: 2/3;
    object-fit: cover;
  }

  .deal-main-body {
    padding: 1.5rem;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .deal-tag {
    display: inline-block; background: var(--rust); color: #fff;
    font-size: .65rem; padding: 3px 8px; border-radius: 2px;
    letter-spacing: .5px; text-transform: uppercase;
    margin-bottom: 1rem; font-weight: 500; width: fit-content;
  }
  .deal-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: .5rem; }
  .deal-author { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
  .deal-excerpt { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
  .deal-price-row { display: flex; align-items: center; gap: .75rem; }
  .deal-price-new { font-size: 1.4rem; font-weight: 500; color: var(--rust); }
  .deal-price-old { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
  .deal-save { background: rgba(196,82,42,.12); color: var(--rust); font-size: .72rem; padding: 2px 8px; border-radius: 2px; }

  .deal-mini {
    background: var(--paper); border-radius: 8px; overflow: hidden;
    cursor: pointer; transition: transform .3s, box-shadow .3s;
  }
  .deal-mini:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,23,20,.12); }
  .deal-mini img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
  .deal-mini-body { padding: 1rem; }
  .deal-mini .deal-title { font-size: 1rem; }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--paper); }

  .reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .review-card {
    background: var(--cream); border-radius: 8px;
    padding: 1.75rem; position: relative;
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s, transform .6s;
    border: 1px solid rgba(26,23,20,.05);
  }
  .review-card.visible { opacity: 1; transform: translateY(0); }
  .review-card:hover { box-shadow: 0 8px 32px rgba(26,23,20,.08); transform: translateY(-3px); transition: box-shadow .3s, transform .3s, opacity .6s; }

  .review-quote { font-size: 3rem; color: var(--gold); font-family: 'Playfair Display', serif; line-height: .8; margin-bottom: .5rem; }
  .review-text { font-size: .9rem; line-height: 1.75; color: var(--ink); margin-bottom: 1.5rem; font-style: italic; }
  .review-author { display: flex; align-items: center; gap: .75rem; }
  .review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    object-fit: cover; background: var(--dust);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: .85rem; color: var(--muted);
  }
  .reviewer-name { font-weight: 500; font-size: .875rem; }
  .reviewer-meta { font-size: .75rem; color: var(--muted); }

  /* ── NEWSLETTER ── */
  .newsletter {
    background: var(--rust);
    text-align: center; padding: 5rem 5%;
    position: relative; overflow: hidden;
  }
  .newsletter::before {
    content: '"';
    position: absolute; top: -2rem; left: 5%;
    font-family: 'Playfair Display', serif;
    font-size: 20rem; color: rgba(255,255,255,.05);
    line-height: 1;
  }
  .newsletter-label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,240,232,.6); margin-bottom: 1rem; }
  .newsletter-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--cream); margin-bottom: 1rem; font-weight: 700; }
  .newsletter-desc { color: rgba(245,240,232,.7); font-size: .95rem; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }

  .newsletter-form {
    display: flex; max-width: 480px; margin: 0 auto; gap: .5rem;
  }
  .newsletter-input {
    flex: 1; padding: 14px 18px;
    border: 1px solid rgba(245,240,232,.25); border-radius: 2px;
    background: rgba(245,240,232,.12); color: var(--cream);
    font-family: 'DM Sans', sans-serif; font-size: .9rem;
    outline: none; transition: border-color .2s, background .2s;
  }
  .newsletter-input::placeholder { color: rgba(245,240,232,.45); }
  .newsletter-input:focus { border-color: var(--cream); background: rgba(245,240,232,.18); }
  .newsletter-btn {
    padding: 14px 24px; background: var(--ink); color: var(--cream);
    border: none; border-radius: 2px; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: .875rem;
    font-weight: 500; transition: background .2s, transform .2s;
    white-space: nowrap;
  }
  .newsletter-btn:hover { background: #000; transform: translateY(-1px); }

  /* ── FOOTER ── */
  footer {
    background: var(--ink); color: rgba(245,240,232,.6);
    padding: 4rem 5% 2rem;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
  }
  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: var(--cream); margin-bottom: 1rem;
    display: block;
  }
  .footer-logo span { color: var(--gold); }
  .footer-desc { font-size: .875rem; line-height: 1.8; max-width: 240px; }
  .footer-socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
  .social-link {
    width: 36px; height: 36px; border: 1px solid rgba(245,240,232,.15);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: rgba(245,240,232,.5); font-size: .8rem;
    text-decoration: none; transition: border-color .2s, color .2s, transform .2s;
  }
  .social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

  .footer-col h4 { color: var(--cream); font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.25rem; font-weight: 500; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
  .footer-col a { color: rgba(245,240,232,.5); text-decoration: none; font-size: .875rem; transition: color .2s; }
  .footer-col a:hover { color: var(--gold); }

  .footer-bottom {
    border-top: 1px solid rgba(245,240,232,.08);
    padding-top: 2rem; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
  }
  .footer-copy { font-size: .8rem; }
  .footer-legal { display: flex; gap: 1.5rem; }
  .footer-legal a { font-size: .8rem; color: rgba(245,240,232,.4); text-decoration: none; }

  /* ── CART DRAWER ── */
  .cart-overlay {
    position: fixed; inset: 0; background: rgba(26,23,20,.4);
    z-index: 200; opacity: 0; pointer-events: none;
    transition: opacity .3s;
  }
  .cart-overlay.open { opacity: 1; pointer-events: all; }

  .cart-drawer {
    position: fixed; right: 0; top: 0; bottom: 0;
    width: min(400px, 100vw);
    background: var(--paper); z-index: 201;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
  }
  .cart-drawer.open { transform: translateX(0); }

  .cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem; border-bottom: 1px solid var(--dust);
  }
  .cart-header h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; }
  .cart-close { background: none; border: none; cursor: pointer; font-size: 1.3rem; color: var(--muted); transition: color .2s; }
  .cart-close:hover { color: var(--rust); }

  .cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

  .cart-item {
    display: grid; grid-template-columns: 70px 1fr auto;
    gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--dust);
    align-items: start;
  }
  .cart-item-img { width: 70px; aspect-ratio: 2/3; object-fit: cover; border-radius: 2px 6px 6px 2px; }
  .cart-item-title { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
  .cart-item-author { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
  .cart-item-price { font-size: .95rem; color: var(--rust); font-weight: 500; }
  .cart-remove { background: none; border: none; cursor: pointer; color: var(--muted); font-size: .8rem; transition: color .2s; }
  .cart-remove:hover { color: var(--rust); }

  .cart-empty { text-align: center; padding: 3rem 0; color: var(--muted); }
  .cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
  .cart-empty p { font-size: .9rem; }

  .cart-footer {
    padding: 1.5rem; border-top: 1px solid var(--dust);
  }
  .cart-total { display: flex; justify-content: space-between; margin-bottom: 1.5rem; align-items: center; }
  .cart-total-label { font-size: .875rem; color: var(--muted); }
  .cart-total-amount { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; }
  .cart-checkout { width: 100%; padding: 16px; background: var(--ink); color: var(--cream); border: none; border-radius: 2px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500; transition: background .2s; }
  .cart-checkout:hover { background: var(--rust); }

  /* ── TOAST ── */
  .toast {
    position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
    background: var(--ink); color: var(--cream);
    padding: 12px 24px; border-radius: 40px;
    font-size: .875rem; z-index: 300;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
    opacity: 0; pointer-events: none;
    display: flex; align-items: center; gap: .5rem;
  }
  .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
  .toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

  /* ── SCROLL PROGRESS ── */
  .scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px;
    background: var(--rust); z-index: 150;
    width: 0; transition: width .1s;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 3rem; }
    .hero-desc { margin: 0 auto 2.5rem; }
    .hero-cta { justify-content: center; }
    .hero-visual { justify-content: center; margin-top: 2rem; }
    .featured { grid-template-columns: 1fr; }
    .featured-text { padding: 3rem 5%; }
    .featured-visual { display: none; }
    .deals-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
  }

  @media (max-width: 600px) {
    .books-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .cats-grid { grid-template-columns: repeat(4, 1fr); gap: .75rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .deals-row { grid-template-columns: 1fr; }
    .deal-main { grid-template-columns: 1fr; }
    .deal-main-img { width: 100%; aspect-ratio: 16/9; }
  }

  @media (max-width: 400px) {
    .books-stack { display: none; }
    .cats-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* Hover highlight for interactive elements */
  a, button { -webkit-tap-highlight-color: transparent; }