:root {
  --primary: #f97316;
  --primary-dark: #ea6c0a;
  --bg: #0f0f0f;
  --bg2: #1a1a1a;
  --bg3: #242424;
  --border: #2e2e2e;
  --text: #f1f1f1;
  --muted: #888;
  --card-bg: #1c1c1c;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(249,115,22,0.4));
  transition: transform 0.25s, filter 0.25s;
}
.nav-logo:hover .nav-logo-icon {
  transform: rotate(-4deg) scale(1.08);
  filter: drop-shadow(0 4px 14px rgba(249,115,22,0.6));
}
.nav-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--primary);
}

/* ── NAVBAR CART ── */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(249,115,22,0.06));
  border: 1.5px solid rgba(249,115,22,0.35);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(249,115,22,0.15);
}
.nav-cart:hover {
  background: linear-gradient(135deg, rgba(249,115,22,0.22), rgba(249,115,22,0.12));
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
}
.nav-cart svg { transition: transform 0.2s; }
.nav-cart:hover svg { transform: scale(1.12); }
.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
  line-height: 1;
  box-shadow: 0 2px 6px rgba(249,115,22,0.5);
}.nav-search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.nav-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.9rem;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search button {
  background: var(--primary);
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links .btn-login {
  border: 1px solid var(--border);
  color: var(--text);
}
.nav-links .btn-signup {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.nav-links .btn-signup:hover { background: var(--primary-dark); }

.nav-icon {
  position: relative;
  padding: 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-icon:hover { color: var(--text); background: var(--bg3); }
.nav-icon .badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── HERO ── */
.hero {
  padding: 80px 5% 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--primary); background: rgba(249,115,22,0.06); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}
.hero-stat p { font-size: 0.8rem; color: var(--muted); }

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 380px;
}
.hero-book-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
}
.hero-book-card:hover { transform: translateY(-4px); }
.hero-book-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.hero-book-card.featured {
  grid-column: span 2;
}
.hero-book-card.featured img { aspect-ratio: 2/1.5; }

/* ── SECTION COMMON ── */
.section { padding: 48px 5%; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title-bar {
  width: 4px;
  height: 28px;
  background: var(--primary);
  border-radius: 4px;
  flex-shrink: 0;
}
.section-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}
.section-header h2 span { color: var(--primary); }
.section-badge {
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}
.section-header a {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.section-header a:hover { text-decoration: underline; }

/* ── CATEGORIES ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  background: var(--bg3);
}
.category-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.category-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.category-card p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* horizontal scroll row for mobile sections */
.products-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.products-scroll::-webkit-scrollbar { display: none; }
.products-scroll .product-card {
  flex: 0 0 155px;
  scroll-snap-align: start;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.5);
  box-shadow: 0 16px 48px rgba(249,115,22,0.1);
}
.product-card-img {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg3);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

/* gradient overlay at bottom of image */
.product-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  pointer-events: none;
}

/* price in card body */
.product-img-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.product-img-price .price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}
.product-img-price .original {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-img-price .free-tag {
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
}

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.product-badge.free { background: #16a34a; }
.product-badge.bestseller { background: #a855f7; }

.product-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  border: none;
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: color 0.2s, background 0.2s;
}
.product-wishlist:hover, .product-wishlist.active { color: #ef4444; background: rgba(0,0,0,0.8); }

/* product-card-body -> see bottom */
/* h4 -> see bottom */
/* author -> see bottom */


/* actions -> see bottom */
/* btn-add-cart -> see bottom */

/* btn-buy-now -> see bottom */


/* ── BANNER STRIP ── */
.banner-strip {
  margin: 0 5%;
  background: linear-gradient(135deg, #1a0a00, #2d1200);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
}
.banner-strip::after {
  content: '📚';
  position: absolute;
  right: 48px;
  font-size: 8rem;
  opacity: 0.08;
}
.banner-strip h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.banner-strip h2 span { color: var(--primary); }
.banner-strip p { color: var(--muted); font-size: 0.95rem; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-card p { font-size: 0.83rem; color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-links-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-brand .logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.footer-brand .logo span { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 300px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── AUTH MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 34px; height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.modal-close:hover { background: rgba(239,68,68,0.1); border-color: #ef4444; color: #ef4444; }
.modal h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.modal p.sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }
.modal-tabs {
  display: flex;
  background: var(--bg3);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 9px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-tab.active { background: var(--primary); color: #fff; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.form-group input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--primary); }
.btn-full {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.btn-full:hover { background: var(--primary-dark); }

/* ── MOBILE BOTTOM NAV ── */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  body { padding-bottom: 70px; }
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 62px;
    background: rgba(18,18,18,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 6px 0;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .mbn-item.mbn-active { color: var(--primary); }
  .mbn-icon {
    font-size: 1.2rem;
    line-height: 1;
    position: relative;
  }
  .mbn-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2px;
  }
  /* cart center button — bigger & elevated */
  .mbn-cart {
    position: relative;
    top: -10px;
  }
  .mbn-cart .mbn-icon {
    background: var(--primary);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(249,115,22,0.45);
    border: 3px solid var(--bg);
  }
  .mbn-cart .mbn-label { color: var(--primary); font-weight: 700; }
  .mbn-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid var(--bg);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 48px 5%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .banner-strip { flex-direction: column; text-align: center; }
  .products-grid-4 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  /* footer: stack brand above 3-col links */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 768px) {
  /* navbar: hide desktop search, show search icon button; hide text links */
  .navbar { padding: 0 4%; gap: 10px; }
  .nav-links a:not(.nav-cart):not(.btn-login):not(.btn-signup) { display: none; }
  /* product card actions: stack on small cards */
  .product-card-actions { flex-direction: column; gap: 5px; }
  .btn-add-cart, .btn-buy-now { width: 100%; flex: none; font-size: 0.72rem; padding: 7px 4px; }
}
@media (max-width: 600px) {
  .navbar { padding: 0 3%; gap: 8px; }
  /* footer: 2-col links grid on mobile */
  .footer-links-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  footer { padding: 40px 5% 24px; margin-top: 48px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 36px 4%; }
  .section-header h2 { font-size: 1.2rem; }
  .banner-strip { padding: 28px 20px; }
  .banner-strip h2 { font-size: 1.2rem; }
}




/* ── PRODUCT CARD ENHANCED ── */
.product-card-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.product-card-body a { width: 100%; }
.product-card-body h4 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  margin-bottom: 4px;
  width: 100%;
  text-align: center;
}
.product-card-body h4:hover { color: var(--primary); }
.product-card-body .author {
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.pc-divider { height: 1px; background: var(--border); margin: 8px 0; width: 100%; }
.pc-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  width: 100%;
}
.pc-price { font-size: 1rem; font-weight: 800; color: var(--text); }
.pc-original { font-size: 0.74rem; color: var(--muted); text-decoration: line-through; }
.pc-discount {
  font-size: 0.68rem; font-weight: 700; color: #22c55e;
  background: rgba(34,197,94,0.12); padding: 2px 7px; border-radius: 20px;
}
.pc-stats {
  display: flex; gap: 8px; justify-content: center;
  font-size: 0.68rem; color: var(--muted); margin-bottom: 2px; width: 100%;
}
.pc-desc {
  font-size: 0.75rem; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; width: 100%; text-align: center; margin-bottom: 2px;
}
.product-card-actions {
  display: flex; gap: 7px; margin-top: auto; padding-top: 10px; width: 100%;
}
.btn-add-cart {
  flex: 1;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 8px 4px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  white-space: nowrap;
}
.btn-add-cart:hover { background: var(--primary); color: #fff; }
.btn-buy-now {
  flex: 1;
  background: linear-gradient(135deg, var(--primary) 0%, #c2410c 100%);
  border: none;
  color: #fff;
  padding: 8px 4px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(249,115,22,0.35);
  white-space: nowrap;
}
.btn-buy-now:hover { opacity: 0.88; transform: translateY(-1px); }


/* ── TOAST ENHANCED ── */
.toast {
  position: fixed !important;
  bottom: 88px !important; right: 20px !important;
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-left: 4px solid var(--primary) !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  z-index: 9999 !important;
  transform: translateX(120%) !important;
  opacity: 0 !important;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1) !important;
  max-width: 260px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
}
.toast.show {
  transform: translateX(0) !important;
  opacity: 1 !important;
}
