  :root {
    --primary: #222;
    --primary-dark: #377fc2;
    --primary-light: #e8293d;
    --accent: #f5a623;
    --accent-dark: #d4881a;
    --dark: #1a1a1a;
    --dark2: #2d2d2d;
    --mid: #555;
    --light-bg: #faf8f5;
    --card-bg: #fff;
    --border: #e8e0d8;
    --text: #333;
    --text-light: #777;
    --success: #2e7d32;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 28px rgba(0,0,0,0.15);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Noto Sans Devanagari', sans-serif; background: var(--light-bg); color: var(--text); }

  /* TOP BAR */
  .top-bar {
    background: var(--dark);
    color: #ccc;
    font-size: 12px;
    padding: 6px 0;
  }
  .top-bar a { color: #ccc; text-decoration: none; }
  .top-bar a:hover { color: #fff; }
  .top-bar .lang-select { background: transparent; border: none; color: #ccc; font-size: 12px; cursor: pointer; }

  .dropdown-item {
    color: #222 !important;
}

  /* HEADER */
  header {
    background: #fff;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .header-inner { padding: 0; height: 138px;}
  .logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .logo-icon {
    width: 52px; height: 52px;
    background: var(--primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
  }
  .logo-text { line-height: 1.1; }
  .logo-text .main { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
  .logo-text .sub { font-size: 11px; color: var(--mid); letter-spacing: 1px; text-transform: uppercase; }

  .search-bar { position: relative; }
  .search-bar input {
    width: 100%; height: 44px;
    border: 2px solid var(--primary);
    border-radius: 6px 0 0 6px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
  }
  .search-bar button {
    position: absolute; right: 0; top: 0; bottom: 0;
    background: var(--primary);
    border: none; color: #fff;
    padding: 0 20px; border-radius: 0 6px 6px 0;
    cursor: pointer; font-size: 16px;
    transition: background 0.2s;
  }
  .search-bar button:hover { background: var(--primary-dark); }

  .header-actions { display: flex; align-items: center; gap: 6px; }
  .btn-header {
    display: flex; flex-direction: column; align-items: center;
    background: none; border: none; cursor: pointer;
    color: var(--dark); font-size: 11px;
    padding: 6px 10px; border-radius: 6px;
    transition: background 0.2s;
    text-decoration: none;
  }
  .btn-header i { font-size: 20px; color: var(--primary); margin-bottom: 2px; }
  .btn-header:hover { background: #f5f0ee; }
  .btn-header.btn-cart { background: var(--primary); color: #fff; border-radius: 8px; padding: 6px 14px; }
  .btn-header.btn-cart i { color: #fff; }
  .btn-header.btn-cart:hover { background: var(--primary-dark); }
  .cart-count {
    background: var(--accent); color: #fff;
    border-radius: 50%; width: 18px; height: 18px;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: -4px; right: -4px;
  }
  .cart-wrap { position: relative; }

  /* NAV */
  .main-nav {
    background: var(--primary);
    position: relative;
        z-index: 9999;
  }
  .main-nav .nav-inner { display: flex; align-items: stretch; }
  .category-btn {
    background: var(--primary-dark);
    border: none; color: #fff;
    padding: 0 20px; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; font-family: inherit;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .category-btn:hover { background: #6e0d18; }
  .nav-links { display: flex; list-style: none; }
  .nav-links li a {
    display: block; padding: 12px 16px;
    color: rgba(255,255,255,0.92); text-decoration: none;
    font-size: 13px; font-weight: 500; white-space: nowrap;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.1); }
  .nav-links li a.active { color: #fff; font-weight: 700; }
  .nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; padding-right: 12px; }
  .nav-badge {
    background: var(--accent); color: #fff;
    border-radius: 20px; padding: 4px 12px;
    font-size: 12px; font-weight: 700;
    white-space: nowrap;
  }

  /* HERO BANNER */
  .hero-banner {
    background: linear-gradient(135deg, #222 0%, #7a0e1c 40%, #2d1a0a 100%);
    position: relative; overflow: hidden;
    padding: 40px 0;
  }
  .hero-banner::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='%23ffffff' fill-opacity='0.04'%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");
  }
  .hero-text h1 {
    font-size: 3rem; font-weight: 900;
    color: #fff; line-height: 1.1;
    text-shadow: 2px 3px 10px rgba(0,0,0,0.4);
  }
  .hero-text h1 span { color: var(--accent); }
  .hero-text p { color: rgba(255,255,255,0.85); font-size: 1rem; margin: 12px 0; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #fff;
    border-radius: 30px; padding: 8px 20px;
    font-size: 14px; font-weight: 700;
  }
  .hero-badge .price { font-size: 20px; font-weight: 900; }
  .hero-books { display: flex; gap: 12px; justify-content: flex-end; align-items: flex-end; padding-right: 20px; }
  .hero-book-card {
    width: 100px; border-radius: 8px; overflow: hidden;
    box-shadow: 4px 6px 20px rgba(0,0,0,0.4);
    transform: rotate(-3deg);
    transition: transform 0.3s;
  }
  .hero-book-card:nth-child(2) { transform: rotate(1deg); }
  .hero-book-card:nth-child(3) { transform: rotate(-1deg); }
  .hero-book-card:hover { transform: rotate(0) scale(1.05); z-index: 2; }
  .hero-book-cover {
    width: 100%; aspect-ratio: 2/3;
    object-fit: cover; display: block;
  }
  .hero-book-cover.placeholder {
    background: linear-gradient(135deg, #f5a623, #e8293d);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 30px;
  }

  /* PUBLISHER LOGOS */
  .publisher-strip {
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .publisher-logos { display: flex; align-items: center; gap: 24px; overflow-x: auto; padding-bottom: 4px; }
  .publisher-logos::-webkit-scrollbar { height: 3px; }
  .publisher-logos::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
  .pub-logo {
    min-width: 80px; height: 44px;
    border: 2px solid var(--border); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: var(--mid);
    padding: 0 10px; cursor: pointer; white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
  }
  .pub-logo:hover { border-color: var(--primary); color: var(--primary); }

  /* SECTION HEADERS */
  .section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
  }
  .section-title {
    font-size: 1.3rem; font-weight: 800; color: var(--dark);
    position: relative;
  }
  .section-title::before {
    content: '';
    position: absolute; left: -14px; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 22px;
    background: var(--primary); border-radius: 2px;
  }
  .view-all {
    color: var(--primary); text-decoration: none;
    font-size: 13px; font-weight: 600;
    display: flex; align-items: center; gap: 4px;
  }
  .view-all:hover { color: var(--primary-dark); }

  /* BOOK CARDS */
  .book-card {
    background: var(--card-bg); border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden; height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
    cursor: pointer;
  }
  .book-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
  }
  .book-img-wrap {
    aspect-ratio: 3/4; overflow: hidden;
    position: relative; background: #f0ebe5;
  }
  .book-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
  }
  .book-card:hover .book-img-wrap img { transform: scale(1.05); }
  .book-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: #ccc;
  }
.book-discount {
    position: absolute; top: 8px; right: 8px;
    background: var(--success); color: #fff;
    border-radius: 4px; padding: 2px 7px;
    font-size: 11px; font-weight: 700;
  }
  .book-new {
    position: absolute; top: 8px; left: 8px;
    background: var(--accent); color: #fff;
    border-radius: 4px; padding: 2px 7px;
    font-size: 11px; font-weight: 700;
  }
  .wishlist-btn {
    position: absolute; top: 8px; right: 8px;
    background: rgba(255,255,255,0.9);
    border: none; border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #ccc;
    transition: color 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .wishlist-btn:hover, .wishlist-btn.active { color: var(--primary); }
  .book-info { padding: 12px; }
  .book-author { font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
  .book-title { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 6px; }
  .book-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
  .stars { color: var(--accent); font-size: 11px; }
  .rating-count { font-size: 11px; color: var(--text-light); }
  .book-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .price-now { font-size: 15px; font-weight: 800; color: var(--primary); }
  .price-old { font-size: 12px; color: var(--text-light); text-decoration: line-through; }
  .btn-add-cart {
    width: 100%; background: var(--primary); color: #fff; border: none;
    border-radius: 0 0 8px 8px; padding: 8px;
    font-size: 13px; font-weight: 700; font-family: inherit;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: background 0.2s; margin-top: 2px;
  }
  .btn-add-cart:hover { background: var(--primary-dark); }

  /* BOOK SLIDER */
  .book-slider-wrap { position: relative; }
  .book-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .book-slider::-webkit-scrollbar { height: 4px; }
  .book-slider::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
  .book-slide-item { flex: 0 0 160px; scroll-snap-align: start; }
  .slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--primary); color: #fff; border: none;
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5; font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
  }
  .slider-btn:hover { background: var(--primary-dark); }
  .slider-btn.prev { left: -17px; }
  .slider-btn.next { right: -17px; }

  /* HOT DEAL */
  .hot-deal-section { background: #1a0a0c; border-radius: 12px; padding: 24px; margin-bottom: 32px; }
  .hot-deal-section .section-title { color: #fff; }
  .hot-deal-section .section-title::before { background: var(--accent); }
  .hot-deal-section .view-all { color: var(--accent); }

  /* DEAL OF DAY */
  .deal-card {
    background: var(--card-bg); border-radius: 12px;
    border: 2px solid var(--primary);
    padding: 20px; text-align: center;
    position: relative; overflow: hidden;
  }
  .deal-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
  }
  .deal-flat {
    background: var(--primary); color: #fff;
    border-radius: 20px; padding: 4px 14px;
    font-size: 12px; font-weight: 700;
    display: inline-block; margin-bottom: 12px;
  }
  .deal-flat span { font-size: 16px; }
  .deal-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
  .btn-shop-now {
    background: var(--primary); color: #fff; border: none;
    border-radius: 6px; padding: 8px 22px;
    font-size: 13px; font-weight: 700; font-family: inherit;
    cursor: pointer; margin-top: 10px;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background 0.2s;
  }
  .btn-shop-now:hover { background: var(--primary-dark); }

  /* AWARD TABS */
  .award-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
  .award-tab {
    padding: 6px 18px; border-radius: 20px;
    border: 2px solid var(--border);
    font-size: 13px; font-weight: 600; cursor: pointer;
    background: #fff; color: var(--mid);
    transition: all 0.2s; font-family: inherit;
  }
  .award-tab.active, .award-tab:hover {
    background: var(--primary); color: #fff; border-color: var(--primary);
  }

  /* COMBO CARDS */
  .combo-card {
    background: linear-gradient(135deg, #fff7f7, #fff);
    border: 2px dashed var(--primary);
    border-radius: 12px; padding: 20px; text-align: center;
  }
  .combo-price { font-size: 2rem; font-weight: 900; color: var(--primary); }
  .combo-label { font-size: 11px; color: var(--mid); }

  /* NEWSLETTER */
  .newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
  }
  .newsletter h3 { color: #fff; font-size: 1.8rem; font-weight: 800; }
  .newsletter p { color: rgba(255,255,255,0.85); }
  .newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
  .newsletter-form input {
    flex: 1; height: 48px; border: none; border-radius: 6px 0 0 6px;
    padding: 0 18px; font-size: 14px; font-family: inherit; outline: none;
  }
  .newsletter-form button {
    background: var(--accent); color: #fff; border: none;
    padding: 0 24px; border-radius: 0 6px 6px 0;
    font-size: 14px; font-weight: 700; font-family: inherit;
    cursor: pointer; white-space: nowrap;
    transition: background 0.2s;
  }
  .newsletter-form button:hover { background: var(--accent-dark); }

  /* FOOTER */
  footer { background: var(--dark2); color: #aaa; padding: 44px 0 0; }
  .footer-logo { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 12px; }
  .footer-logo span { color: var(--primary); }
  footer h6 { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; margin-bottom: 14px; }
  footer ul { list-style: none; padding: 0; }
  footer ul li { margin-bottom: 8px; }
  footer ul li a { color: #999; text-decoration: none; font-size: 13px; transition: color 0.2s; }
  footer ul li a:hover { color: #fff; }
  .footer-contact p { font-size: 13px; display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
  .footer-contact i { color: var(--primary); margin-top: 2px; }
  .social-icons { display: flex; gap: 10px; margin-top: 14px; }
  .social-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.08); color: #aaa;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 16px;
    transition: background 0.2s, color 0.2s;
  }
  .social-icon:hover { background: var(--primary); color: #fff; }
  .footer-bottom {
    background: rgba(0,0,0,0.3); margin-top: 36px;
    padding: 14px 0; text-align: center; font-size: 12px;
  }

  /* UTILS */
  .section-gap { padding: 36px 0; }
  .section-gap-sm { padding: 24px 0; }

  @media (max-width: 768px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-books { display: none; }
    .nav-links { display: none; }
    .section-title { font-size: 1.1rem; }
  }

  /* ===== BREADCRUMB ===== */
.bread{background:#fff;border-bottom:1px solid var(--border);padding:10px 0;font-size:12px;color:var(--muted);}
.bread a{color:var(--primary);}
.bread span{margin:0 6px;color:#ccc;}

  /* BREADCRUMB */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb-bar .breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--mid); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); }

/* SHOP HERO */
.shop-hero {
  background: linear-gradient(135deg, #2d1a0a 0%, #b5192a 60%, #7a0e1c 100%);
  padding: 30px 0; position: relative; overflow: hidden;
}
.shop-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0 5.5 4.5 10 10 10s10-4.5 10-10-4.5-10-10-10-10 4.5-10 10z'/%3E%3C/g%3E%3C/svg%3E");
}
.shop-hero h1 { color: #fff; font-size: 2rem; font-weight: 900; position: relative; }
.shop-hero p { color: rgba(255,255,255,0.8); position: relative; font-size: 14px; }
.shop-hero .result-count { background: rgba(255,255,255,0.15); color: #fff; border-radius: 20px; padding: 4px 14px; font-size: 13px; display: inline-block; position: relative; }

/* LAYOUT */
.shop-layout { display: flex; gap: 24px; padding: 28px 0; }

/* SIDEBAR */
.sidebar { width: 240px; flex-shrink: 0; }
.filter-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.filter-head { padding: 12px 16px; font-weight: 700; font-size: 14px; color: var(--dark); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; cursor: pointer; background: #fdf9f7; }
.filter-head i { font-size: 11px; color: var(--mid); transition: transform 0.2s; }
.filter-head.collapsed i { transform: rotate(-90deg); }
.filter-body { padding: 12px 16px; }
.filter-check { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; cursor: pointer; }
.filter-check label { font-size: 13px; color: var(--text); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.filter-check input[type=checkbox] { accent-color: var(--primary); width: 15px; height: 15px; cursor: pointer; }
.filter-check .count { font-size: 11px; color: var(--text-light); background: #f0ebe5; border-radius: 10px; padding: 1px 7px; }
.price-range { margin-top: 4px; }
.price-inputs { display: flex; gap: 8px; margin-top: 10px; }
.price-inputs input { width: 100%; height: 34px; border: 1px solid var(--border); border-radius: 6px; padding: 0 8px; font-size: 12px; font-family: inherit; outline: none; }
.price-inputs input:focus { border-color: var(--primary); }
input[type=range] { width: 100%; accent-color: var(--primary); margin-top: 8px; }
.rating-filter { display: flex; align-items: center; gap: 6px; padding: 5px 0; cursor: pointer; font-size: 13px; }
.rating-filter .stars { color: var(--accent); font-size: 12px; }
.rating-filter:hover { color: var(--primary); }
.btn-apply-filter { width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 6px; padding: 9px; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; margin-top: 4px; transition: background 0.2s; }
.btn-apply-filter:hover { background: var(--primary-dark); }
.btn-clear-filter { width: 100%; background: none; color: var(--primary); border: 1px solid var(--primary); border-radius: 6px; padding: 7px; font-size: 13px; font-family: inherit; cursor: pointer; margin-top: 6px; transition: all 0.2s; }
.btn-clear-filter:hover { background: var(--primary); color: #fff; }

/* MAIN CONTENT */
.shop-main { flex: 1; min-width: 0; }
.toolbar { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar-left { display: flex; align-items: center; gap: 10px; flex: 1; }
.result-text { font-size: 13px; color: var(--mid); white-space: nowrap; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tag { background: #fef2f2; color: var(--primary); border: 1px solid #fca5a5; border-radius: 20px; padding: 3px 10px; font-size: 11px; display: flex; align-items: center; gap: 5px; }
.filter-tag button { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 11px; padding: 0; line-height: 1; }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-select { height: 36px; border: 1px solid var(--border); border-radius: 6px; padding: 0 10px; font-size: 13px; font-family: inherit; outline: none; color: var(--text); cursor: pointer; }
.sort-select:focus { border-color: var(--primary); }
.view-toggle { display: flex; gap: 2px; }
.view-btn { width: 34px; height: 34px; border: 1px solid var(--border); background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--mid); font-size: 14px; transition: all 0.2s; }
.view-btn.active, .view-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* BOOK CARD GRID */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.book-card { background: var(--card-bg); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; cursor: pointer; }
.book-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.book-img-wrap { aspect-ratio: 3/4; overflow: hidden; position: relative; background: #f0ebe5; }
.book-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.book-discount { position: absolute; top: 8px; left: 8px; background: var(--success); color: #fff; border-radius: 4px; padding: 2px 7px; font-size: 11px; font-weight: 700; }
.book-new-tag { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff; border-radius: 4px; padding: 2px 7px; font-size: 11px; font-weight: 700; }
.wishlist-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.92); border: none; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #bbb; transition: color 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.wishlist-btn:hover, .wishlist-btn.active { color: var(--primary); }
.book-info { padding: 10px 12px; }
.book-author-name { font-size: 11px; color: var(--text-light); margin-bottom: 3px; }
.book-title { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 5px; }
.stars { color: var(--accent); font-size: 11px; }
.rating-row { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; font-size: 11px; color: var(--text-light); }
.book-price-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.price-now { font-size: 15px; font-weight: 800; color: var(--primary); }
.price-old { font-size: 12px; color: var(--text-light); text-decoration: line-through; }
.btn-cart-add { width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 0 0 8px 8px; padding: 8px; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: background 0.2s; }
.btn-cart-add:hover { background: var(--primary-dark); }

/* LIST VIEW */
.books-list { display: flex; flex-direction: column; gap: 14px; }
.book-list-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; display: flex; gap: 0; overflow: hidden; transition: box-shadow 0.2s; cursor: pointer; }
.book-list-item:hover { box-shadow: var(--shadow-hover); }
.list-img { width: 110px; flex-shrink: 0; background: #f0ebe5; display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; }
.list-img .book-discount { top: 8px; left: 8px; }
.list-body { padding: 14px 16px; flex: 1; }
.list-body .book-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.list-body .book-desc { font-size: 12px; color: var(--text-light); margin-bottom: 8px; line-height: 1.5; }
.list-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.btn-list-cart { background: var(--primary); color: #fff; border: none; border-radius: 6px; padding: 7px 18px; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: background 0.2s; }
.btn-list-cart:hover { background: var(--primary-dark); }
.btn-wishlist-outline { background: none; color: var(--primary); border: 1px solid var(--primary); border-radius: 6px; padding: 7px 14px; font-size: 13px; font-family: inherit; cursor: pointer; transition: all 0.2s; }
.btn-wishlist-outline:hover { background: var(--primary); color: #fff; }

/* PAGINATION */
.pagination-wrap { display: flex; justify-content: center; margin-top: 32px; }
.pagination .page-link { color: var(--primary); border-color: var(--border); font-family: inherit; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .page-link:hover { background: #fef2f2; color: var(--primary-dark); }

/* DETAIL SECTION */
.detail-section { padding: 32px 0; }

/* BOOK COVER / GALLERY */
.book-gallery { position: sticky; top: 90px; }
.main-cover {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff8a65 100%);
  border-radius: 14px; aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  font-size: 120px; color: rgba(181,25,42,0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  position: relative; overflow: hidden;
  cursor: zoom-in;
  transition: box-shadow 0.3s;
}
.main-cover:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.main-cover::after {
  content: 'दीवार में एक\nखिड़की रहती थी';
  position: absolute; bottom: 20px; left: 0; right: 0;
  text-align: center; font-size: 16px; font-weight: 800;
  color: rgba(181,25,42,0.9); white-space: pre-line;
  line-height: 1.3;
}
.cover-thumbs { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.cover-thumb {
  width: 56px; height: 72px; border-radius: 6px; border: 2px solid var(--border);
  cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.cover-thumb.active, .cover-thumb:hover { border-color: var(--primary); }
.cover-thumb-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.cover-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn-wish-large {
  flex: 1; background: none; border: 2px solid var(--primary); color: var(--primary);
  border-radius: 8px; padding: 10px; font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.2s;
}
.btn-wish-large:hover, .btn-wish-large.active { background: var(--primary); color: #fff; }
.btn-share-large {
  background: none; border: 2px solid var(--border); color: var(--mid);
  border-radius: 8px; padding: 10px 14px; font-size: 16px;
  cursor: pointer; transition: all 0.2s;
}
.btn-share-large:hover { border-color: var(--primary); color: var(--primary); }

/* BOOK INFO */
.book-category-tag {
      background: var(--primary-dark);
    color: #fff;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}
.book-main-title {
  font-family: 'Crimson Pro', 'Noto Sans Devanagari', serif;
  font-size: 2.2rem; font-weight: 700; line-height: 1.2; color: var(--dark);
  margin-bottom: 8px;
}
.book-subtitle { font-size: 1rem; color: var(--mid); margin-bottom: 14px; }
.author-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.author-info .name { font-weight: 700; color: var(--dark); font-size: 15px; }
.author-info .label { font-size: 12px; color: var(--text-light); }
.author-info .name a { color: var(--primary); text-decoration: none; }
.author-info .name a:hover { text-decoration: underline; }

/* RATING BAR */
.rating-summary { background: #fffbf7; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.rating-big { font-size: 3rem; font-weight: 900; color: var(--dark); line-height: 1; }
.rating-stars-big { color: var(--accent); font-size: 20px; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rating-bar-label { font-size: 12px; width: 30px; text-align: right; flex-shrink: 0; }
.rating-bar-track { flex: 1; height: 8px; background: #e8e0d8; border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 1s; }
.rating-bar-count { font-size: 12px; color: var(--text-light); width: 36px; flex-shrink: 0; }

/* PRICE BOX */
.price-box { background: #fff; border: 2px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.price-badge {     display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 12px;
    color: #fff; }
.price-badge .off-text { color: var(--primary); font-size: 13px; font-weight: 700; }
.price-main { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.price-current { font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.price-mrp { font-size: 16px; color: var(--text-light); text-decoration: line-through; }
.price-save { font-size: 13px; color: var(--success); font-weight: 600; }
.inclusive-text { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }

/* QUANTITY + ACTIONS */
.qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.qty-label { font-size: 13px; font-weight: 600; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-btn { width: 36px; height: 36px; border: none; background: #f5f0ea; cursor: pointer; font-size: 16px; color: var(--dark); transition: background 0.2s; }
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input { width: 48px; height: 36px; border: none; text-align: center; font-size: 15px; font-weight: 700; font-family: inherit; outline: none; }
.btn-add-cart-main {
  width: 100%; background: var(--primary); color: #fff; border: none;
  border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 800;
  font-family: inherit; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: all 0.2s; margin-bottom: 10px;
}
.btn-add-cart-main:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(181,25,42,0.3); }
.btn-buy-now {
  width: 100%; background: var(--accent); color: #fff; border: none;
  border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 800;
  font-family: inherit; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: all 0.2s;
}
.btn-buy-now:hover { background: #d4881a; transform: translateY(-1px); }

/* DELIVERY INFO */
.delivery-box { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.delivery-row { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.delivery-row + .delivery-row { border-top: 1px solid var(--border); }
.delivery-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.delivery-icon.green { background: #e8f5e9; color: #2e7d32; }
.delivery-icon.blue { background: #e3f2fd; color: #1565c0; }
.delivery-icon.orange { background: #fff3e0; color: #e65100; }
.delivery-text .title { font-size: 13px; font-weight: 700; }
.delivery-text .sub { font-size: 12px; color: var(--text-light); }

/* BOOK DETAILS TABLE */
.detail-tab-section { margin-top: 32px; }
.detail-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.detail-tab {
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; background: none; font-family: inherit;
  color: var(--mid); border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.2s;
}
.detail-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.detail-tab:hover { color: var(--primary); }
.tab-content-panel { display: none; }
.tab-content-panel.active { display: block; }

.book-details-table { width: 100%; border-collapse: collapse; }
.book-details-table tr { border-bottom: 1px solid var(--border); }
.book-details-table tr:last-child { border-bottom: none; }
.book-details-table td { padding: 10px 14px; font-size: 14px; }
.book-details-table td:first-child { font-weight: 600; color: var(--mid); width: 180px; background: #fdf9f7; }

.book-description { font-size: 14px; line-height: 1.85; color: var(--text); }
.book-description p { margin-bottom: 12px; }

/* REVIEW CARD */
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.review-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #6a1a2a, var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.reviewer-name { font-weight: 700; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-light); }
.review-stars { color: var(--accent); font-size: 13px; }
.verified-badge { background: #e8f5e9; color: #2e7d32; border-radius: 10px; padding: 2px 8px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.review-text { font-size: 13px; line-height: 1.7; color: var(--text); }
.review-helpful { font-size: 12px; color: var(--text-light); margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.review-helpful button { background: none; border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; font-size: 11px; cursor: pointer; color: var(--mid); }
.review-helpful button:hover { border-color: var(--primary); color: var(--primary); }

.btn-write-review { background: none; border: 2px solid var(--primary); color: var(--primary); border-radius: 8px; padding: 8px 20px; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; margin-bottom: 20px; transition: all 0.2s; }
.btn-write-review:hover { background: var(--primary); color: #fff; }

/* RELATED BOOKS */
.related-section { padding: 32px 0; border-top: 2px solid var(--border); margin-top: 20px; }
.section-title { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 20px; padding-left: 14px; position: relative; }
.section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }

.book-card { background: var(--card-bg); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; cursor: pointer; }
.book-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.book-img-wrap { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.book-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.book-discount { position: absolute; top: 8px; left: 8px; background: var(--success); color: #fff; border-radius: 4px; padding: 2px 7px; font-size: 11px; font-weight: 700; }
.wishlist-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.92); border: none; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #bbb; transition: color 0.2s; }
.wishlist-btn:hover { color: var(--primary); }
.book-info { padding: 10px 12px; }
.book-author-name { font-size: 11px; color: var(--text-light); margin-bottom: 3px; }
.book-title { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 5px; }
.stars { color: var(--accent); font-size: 11px; }
.rating-row { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; font-size: 11px; color: var(--text-light); }
.price-now { font-size: 15px; font-weight: 800; color: var(--primary); }
.price-old { font-size: 12px; color: var(--text-light); text-decoration: line-through; }
.btn-cart-add { width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 0 0 8px 8px; padding: 8px; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: background 0.2s; }
.btn-cart-add:hover { background: var(--primary-dark); }

/* FLOATING CART TOAST */
.cart-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--success); color: #fff; border-radius: 10px;
  padding: 14px 20px; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(.34,1.56,.64,1);
}
.cart-toast.show { transform: translateY(0); opacity: 1; }


/* FOOTER */
footer { background: #2d2d2d; color: #aaa; padding: 40px 0 0; margin-top: 40px; }
.footer-logo { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: var(--primary); }
footer h6 { color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 7px; }
footer ul li a { color: #999; text-decoration: none; font-size: 13px; transition: color 0.2s; }
footer ul li a:hover { color: #fff; }
.footer-bottom { background: rgba(0,0,0,0.3); margin-top: 32px; padding: 12px 0; text-align: center; font-size: 12px; }
.social-icons { display: flex; gap: 8px; margin-top: 12px; }
.social-icon { width: 34px; height: 34px; border-radius: 7px; background: rgba(255,255,255,0.08); color: #aaa; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s, color 0.2s; }
.social-icon:hover { background: var(--primary); color: #fff; }


/* ===== FORM STYLES ===== */
.form-section{max-width:480px;margin:48px auto;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;}
.form-header{background:linear-gradient(135deg,var(--primary-dark),var(--primary));padding:28px 32px;color:#fff;}
.form-header h2{font-family:'Playfair Display',serif;font-size:26px;margin-bottom:4px;}
.form-header p{font-size:13px;color:#f0c0b0;}
.form-body{padding:28px 32px;}
.form-label{font-size:12px;font-weight:600;color:var(--text);margin-bottom:5px;display:block;text-transform:uppercase;letter-spacing:.5px;}
.form-control,.form-select{border:1.5px solid var(--border);border-radius:6px;padding:10px 14px;font-size:13px;width:100%;outline:none;transition:border .2s;background:#fff;font-family:'DM Sans',sans-serif;}
.form-control:focus,.form-select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(192,57,43,.10);}
.btn-primary-red{background:var(--primary);color:#fff;border:none;border-radius:6px;padding:11px 28px;font-size:14px;font-weight:600;cursor:pointer;width:100%;transition:background .2s;}
.btn-primary-red:hover{background:var(--primary-dark);}
.btn-outline-red{background:transparent;color:var(--primary);border:2px solid var(--primary);border-radius:6px;padding:10px 24px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;}
.btn-outline-red:hover{background:var(--primary);color:#fff;}
.divider-or{display:flex;align-items:center;gap:10px;margin:18px 0;color:var(--muted);font-size:12px;}
.divider-or::before,.divider-or::after{content:'';flex:1;height:1px;background:var(--border);}
.social-login{display:flex;gap:10px;}
.social-login button{flex:1;border:1.5px solid var(--border);border-radius:6px;padding:9px;background:#fff;cursor:pointer;font-size:12px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:6px;transition:border .2s;}
.social-login button:hover{border-color:var(--primary);}
.form-footer{text-align:center;margin-top:18px;font-size:12px;color:var(--muted);}
.form-footer a{color:var(--primary);font-weight:600;}
.pwd-wrap{position:relative;}
.pwd-wrap .eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);cursor:pointer;color:var(--muted);}

/* ===== CART ===== */
.cart-table th{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);font-weight:600;border-bottom:2px solid var(--border);padding:10px 14px;}
.cart-table td{padding:14px;vertical-align:middle;border-bottom:1px solid var(--border);}
.cart-book-img{width:60px;height:80px;border-radius:4px;object-fit:cover;background:#f0e8e0;display:flex;align-items:center;justify-content:center;font-size:10px;color:#fff;flex-shrink:0;}
.qty-ctrl{display:flex;align-items:center;gap:0;border:1.5px solid var(--border);border-radius:6px;overflow:hidden;}
.qty-ctrl button{background:#fdf6f0;border:none;width:30px;height:30px;cursor:pointer;font-size:14px;font-weight:700;color:var(--primary);transition:background .2s;}
.qty-ctrl button:hover{background:#f0d0c8;}
.qty-ctrl span{width:36px;text-align:center;font-weight:600;font-size:13px;}
.remove-btn{background:none;border:none;color:#ccc;cursor:pointer;font-size:14px;transition:color .2s;}
.remove-btn:hover{color:var(--primary);}
.cart-summary{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);}
.cart-summary h4{font-family:'Playfair Display',serif;font-size:18px;border-bottom:2px solid var(--primary);padding-bottom:10px;margin-bottom:16px;}
.sum-row{display:flex;justify-content:space-between;font-size:13px;margin-bottom:10px;color:var(--muted);}
.sum-row.total{color:var(--text);font-weight:700;font-size:16px;border-top:1px solid var(--border);padding-top:10px;margin-top:10px;}
.coupon-row{display:flex;gap:8px;margin:14px 0;}
.coupon-row input{flex:1;}
.coupon-row button{background:var(--gold);border:none;padding:10px 16px;border-radius:6px;font-weight:700;cursor:pointer;}
.coupon-row button:hover{background:var(--gold-light);}
.empty-cart{text-align:center;padding:60px 20px;}
.empty-cart i{font-size:64px;color:#e0c8c0;margin-bottom:16px;}

/* ===== CHECKOUT ===== */
.checkout-step{display:flex;align-items:center;gap:8px;padding:14px 20px;cursor:pointer;border-bottom:1px solid var(--border);font-weight:500;font-size:13px;transition:background .2s;}
.checkout-step:hover{background:#fdf0ec;}
.step-num{width:26px;height:26px;border-radius:50%;background:var(--border);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--muted);flex-shrink:0;}
.checkout-step.done .step-num{background:var(--primary);color:#fff;}
.checkout-step.active .step-num{background:var(--gold);color:var(--dark);}
.checkout-step.active{background:#fdf6f0;}
.checkout-panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;}
.checkout-panel-head{background:linear-gradient(135deg,var(--primary-dark),var(--primary));padding:14px 20px;color:#fff;font-family:'Playfair Display',serif;font-size:17px;}
.checkout-panel-body{padding:24px;}
.addr-card{border:2px solid var(--border);border-radius:8px;padding:16px;cursor:pointer;transition:all .2s;position:relative;}
.addr-card:hover,.addr-card.selected{border-color:var(--primary);}
.addr-card.selected::after{content:'✓';position:absolute;top:10px;right:14px;color:var(--primary);font-weight:700;font-size:16px;}
.addr-card h6{font-weight:700;margin-bottom:4px;}
.addr-card p{font-size:12px;color:var(--muted);margin:0;}
.payment-opt{border:2px solid var(--border);border-radius:8px;padding:14px 18px;cursor:pointer;display:flex;align-items:center;gap:12px;transition:all .2s;margin-bottom:10px;}
.payment-opt:hover,.payment-opt.selected{border-color:var(--primary);background:#fdf6f0;}
.payment-opt .pm-icon{width:40px;height:28px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;}
.pm-upi{background:#6c3483;color:#fff;}
.pm-card{background:#1a5276;color:#fff;}
.pm-net{background:#196f3d;color:#fff;}
.pm-cod{background:#784212;color:#fff;}
.order-mini-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);}
.order-mini-book{width:44px;height:60px;border-radius:4px;flex-shrink:0;}

/* ===== ACCOUNT ===== */
.account-sidebar{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.account-sidebar .user-info{background:linear-gradient(135deg,var(--primary-dark),var(--primary));padding:24px;color:#fff;text-align:center;}
.account-sidebar .user-avatar{width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.2);border:3px solid rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 10px;}
.account-sidebar .user-name{font-family:'Playfair Display',serif;font-size:18px;font-weight:700;}
.account-sidebar .user-email{font-size:12px;color:#f0c0b0;}
.sidebar-menu a{display:flex;align-items:center;gap:10px;padding:13px 20px;font-size:13px;font-weight:500;color:var(--text);border-bottom:1px solid var(--border);transition:all .2s;}
.sidebar-menu a:hover,.sidebar-menu a.active{background:#fdf0ec;color:var(--primary);border-left:3px solid var(--primary);}
.sidebar-menu a i{width:18px;color:var(--muted);}
.sidebar-menu a:hover i,.sidebar-menu a.active i{color:var(--primary);}
.account-main{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);}
.account-main h3{font-family:'Playfair Display',serif;font-size:20px;color:var(--primary-dark);border-bottom:2px solid var(--primary);padding-bottom:10px;margin-bottom:22px;}
.stat-card{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:18px;text-align:center;}
.stat-card .stat-num{font-size:28px;font-weight:700;color:var(--primary);font-family:'Playfair Display',serif;}
.stat-card .stat-label{font-size:12px;color:var(--muted);margin-top:2px;}

/* ===== ORDERS ===== */
.order-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.05);}
.order-card-head{background:#fdf6f0;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);}
.order-id{font-weight:700;font-size:13px;color:var(--primary);}
.order-date{font-size:12px;color:var(--muted);}
.badge-status{padding:4px 12px;border-radius:20px;font-size:11px;font-weight:700;}
.badge-delivered{background:#d5f5e3;color:#196f3d;}
.badge-processing{background:#fef9e7;color:#b7950b;}
.badge-shipped{background:#d6eaf8;color:#1a5276;}
.badge-cancelled{background:#fadbd8;color:#922b21;}
.order-card-body{padding:16px 20px;}
.order-book-row{display:flex;align-items:center;gap:14px;padding:8px 0;border-bottom:1px dashed var(--border);}
.order-book-row:last-child{border:none;}
.ob-img{width:42px;height:56px;border-radius:4px;flex-shrink:0;}
.ob-info .ob-title{font-weight:600;font-size:13px;}
.ob-info .ob-author{font-size:11px;color:var(--muted);}
.order-card-foot{padding:12px 20px;background:#fafafa;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;}
.track-bar{margin:12px 0;display:flex;align-items:center;gap:0;}
.track-step{display:flex;flex-direction:column;align-items:center;flex:1;}
.track-dot{width:14px;height:14px;border-radius:50%;border:2px solid var(--border);background:#fff;z-index:1;transition:all .2s;}
.track-step.done .track-dot{background:var(--primary);border-color:var(--primary);}
.track-step.done .track-label{color:var(--primary);}
.track-line{flex:1;height:2px;background:var(--border);}
.track-line.done{background:var(--primary);}
.track-label{font-size:10px;color:var(--muted);margin-top:4px;text-align:center;}

/* ===== ADDRESSES ===== */
.addr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;}
.addr-card-full{background:#fff;border:2px solid var(--border);border-radius:var(--radius);padding:20px;position:relative;transition:all .2s;}
.addr-card-full:hover{border-color:var(--primary-light);box-shadow:var(--shadow);}
.addr-card-full.default-addr{border-color:var(--gold);}
.default-badge{position:absolute;top:12px;right:12px;background:var(--gold);color:var(--dark);font-size:10px;padding:2px 8px;border-radius:20px;font-weight:700;}
.addr-name{font-weight:700;font-size:15px;margin-bottom:4px;}
.addr-line{font-size:12px;color:var(--muted);line-height:1.6;}
.addr-phone{font-size:12px;font-weight:600;margin-top:6px;}
.addr-actions{display:flex;gap:8px;margin-top:14px;}
.addr-actions button{flex:1;border:1px solid var(--border);background:#fff;border-radius:6px;padding:6px;font-size:12px;cursor:pointer;transition:all .2s;}
.addr-actions .edit-btn:hover{border-color:var(--primary);color:var(--primary);}
.addr-actions .del-btn:hover{border-color:var(--primary);color:var(--primary);background:#fdf0ec;}
.add-addr-card{border:2px dashed var(--border);border-radius:var(--radius);padding:40px 20px;text-align:center;cursor:pointer;transition:all .2s;}
.add-addr-card:hover{border-color:var(--primary);background:#fdf6f0;}
.add-addr-card i{font-size:36px;color:#d0b8b0;margin-bottom:10px;}
.add-addr-card p{font-size:13px;color:var(--muted);}

/* ===== WISHLIST ===== */
.wishlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;}
.wl-card{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;transition:all .2s;}
.wl-card:hover{box-shadow:var(--shadow);transform:translateY(-3px);}
.wl-img{aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;font-weight:600;text-align:center;padding:8px;}
.wl-info{padding:10px 12px 12px;}
.wl-title{font-weight:600;font-size:12px;margin-bottom:2px;height:32px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.wl-author{font-size:11px;color:var(--muted);margin-bottom:6px;}
.wl-price{color:var(--primary);font-weight:700;font-size:14px;}
.wl-price del{color:var(--muted);font-size:11px;font-weight:400;margin-left:4px;}
.wl-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px;}
.wl-actions button{border:none;border-radius:5px;padding:6px;font-size:11px;cursor:pointer;font-weight:600;transition:all .2s;}
.wl-cart{background:var(--primary);color:#fff;}
.wl-cart:hover{background:var(--primary-dark);}
.wl-remove{background:#f0e0d8;color:var(--primary);}
.wl-remove:hover{background:var(--primary);color:#fff;}

/* ===== PROFILE ===== */
.profile-pic-wrap{position:relative;width:100px;margin:0 auto 16px;}
.profile-pic{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,var(--primary-dark),var(--primary));display:flex;align-items:center;justify-content:center;font-size:40px;color:#fff;border:4px solid var(--gold);}
.profile-pic-edit{position:absolute;bottom:0;right:0;background:var(--gold);border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:12px;color:var(--dark);}

/* ===== SUCCESS ===== */
.success-page{text-align:center;padding:60px 20px;max-width:520px;margin:0 auto;}
.success-icon{width:80px;height:80px;background:linear-gradient(135deg,#196f3d,#27ae60);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:36px;color:#fff;margin:0 auto 20px;animation:pop .4s ease;}
@keyframes pop{0%{transform:scale(0);}80%{transform:scale(1.1);}100%{transform:scale(1);}}

/* ===== FOOTER ===== */
.site-footer{background:var(--dark);color:#888;padding:36px 0 16px;}
.site-footer h6{color:var(--gold-light);font-size:11px;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px;}
.site-footer a{color:#888;font-size:12px;display:block;margin-bottom:6px;transition:color .2s;}
.site-footer a:hover{color:var(--gold-light);}
.site-footer .fl{font-family:'Playfair Display',serif;font-size:20px;color:#fff;}
.site-footer .fl span{color:var(--gold-light);}
.footer-bottom{border-top:1px solid #2a1208;margin-top:20px;padding-top:14px;font-size:11px;text-align:center;color:#555;}
.soc-link{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#2a1208;color:#888;margin-right:6px;transition:all .2s;}
.soc-link:hover{background:var(--primary);color:#fff;}

/* ===== NOTIFY ===== */
.toast-notif{position:fixed;top:20px;right:20px;z-index:9999;background:#fff;border-left:4px solid var(--primary);border-radius:8px;padding:14px 20px;box-shadow:0 8px 32px rgba(0,0,0,.15);font-size:13px;display:none;max-width:300px;}
.toast-notif.show{display:flex;align-items:center;gap:10px;animation:slideIn .3s ease;}
@keyframes slideIn{from{transform:translateX(100%);opacity:0;}to{transform:none;opacity:1;}}

/* misc */
.section-title{font-family:'Playfair Display',serif;font-size:20px;color:var(--primary-dark);margin-bottom:6px;}
.tag-chip{display:inline-block;background:#f0e8e0;color:var(--primary);border-radius:20px;padding:3px 12px;font-size:11px;font-weight:600;margin-right:4px;}
.bc1{background:linear-gradient(135deg,#2c3e50,#34495e);}
.bc2{background:linear-gradient(135deg,#196f3d,#1a5276);}
.bc3{background:linear-gradient(135deg,#6c3483,#922b21);}
.bc4{background:linear-gradient(135deg,#784212,#b7950b);}
.bc5{background:linear-gradient(135deg,#1a5276,#148f77);}
.bc6{background:linear-gradient(135deg,#4a235a,#76448a);}
.input-group-addon{background:var(--primary);color:#fff;padding:10px 16px;border-radius:6px 0 0 6px;font-size:13px;}
hr.light{border-color:var(--border);}

