/* ============================================================
   KRITO STOREFRONT — Premium Cherry & Cream Design System
   Primary Palette:
   CHERRY: #4D0909
   CREAM:  #FFFCF6
   ============================================================ */

:root {
  --cherry: #4D0909;
  --cherry-dark: #330505;
  --cherry-deep: #1A0404;
  --cherry-medium: #6B1A1A;
  --cherry-light: #8B2C2C;
  --cherry-soft: rgba(77, 9, 9, 0.06);
  --cherry-border: rgba(77, 9, 9, 0.15);
  
  --cream: #FFFCF6;
  --cream-card: #FFFCF6;
  --cream-dark: #FFFCF6;
  --cream-darker: #FFFCF6;
  
  --text-main: #4D0909;
  --text-body: #4D0909;
  --text-sub: #4D0909;
  --text-muted: #7A3333;
  
  --border: rgba(77, 9, 9, 0.15);
  --border-light: rgba(77, 9, 9, 0.1);
  
  --success: #2D6A4F;
  --gold: #D4A853;
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(77, 9, 9, 0.05);
  --shadow-md: 0 8px 24px rgba(77, 9, 9, 0.08);
  --shadow-lg: 0 16px 40px rgba(77, 9, 9, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--cream) !important;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}



a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul { list-style: none; }

::selection {
  background: var(--cherry);
  color: var(--cream);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--cherry); border-radius: 3px; }

/* Layout Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   ANNOUNCEMENT BAR (Cherry #4D0909)
   ============================================================ */
.announcement-bar {
  background: var(--cherry);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 252, 246, 0.1);
}

.announcement-bar .code {
  background: rgba(255, 252, 246, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* ============================================================
   STORE HEADER / NAVBAR (Cream #FFFCF6)
   ============================================================ */
.store-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 246, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cherry);
  letter-spacing: 2px;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cherry);
}

.store-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.store-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-sub);
  position: relative;
  padding: 4px 0;
}

.store-nav a:hover,
.store-nav a.active {
  color: var(--cherry);
}

.store-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cherry);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cherry);
  transition: all var(--transition);
  position: relative;
  background: rgba(77, 9, 9, 0.04);
}

.header-action-btn:hover {
  background: var(--cherry);
  color: var(--cream);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--cherry);
  color: var(--cream);
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-checkout {
  padding: 10px 22px;
  background: var(--cherry);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--cherry);
  transition: all var(--transition);
}

.btn-checkout:hover {
  background: transparent;
  color: var(--cherry);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cherry);
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--cream);
  border-left: 1px solid var(--border);
  z-index: 999;
  padding: 100px 32px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.show { right: 0; }

.mobile-menu a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cherry);
  margin-bottom: 24px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(77, 9, 9, 0.25);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-overlay.show { opacity: 1; visibility: visible; }

/* ============================================================
   STORE HERO BANNER
   ============================================================ */
.store-hero {
  padding: 24px 0 12px;
  text-align: center;
  background: var(--cream);
  position: relative;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cherry);
  margin-bottom: 8px;
}

.store-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--cherry);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.store-hero p {
  color: var(--text-sub);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Category Filter Pills */
.payment-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pay-icon {
  height: 30px !important;
  width: 48px !important;
  max-width: 48px !important;
  max-height: 30px !important;
  background: var(--white) !important;
  padding: 4px 6px !important;
  border-radius: 5px !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
  display: block !important;
}

.filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pill-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--cherry);
  background: var(--cream);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.pill-btn:hover,
.pill-btn.active {
  color: var(--cream);
  background: var(--cherry);
  border-color: var(--cherry);
}

/* ============================================================
   MINIMALIST SQUARE PRODUCT STORE GRID (SONIX / VIKRAM PRO STYLE)
   ============================================================ */
.store-section {
  padding: 40px 0 100px;
  background: var(--cream);
}

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

/* Square Minimal Card without container boxes */
.product-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border: none !important;
  box-shadow: none !important;
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(77, 9, 9, 0.08);
  border: 1px solid var(--border);
  background: var(--cream-dark);
  margin-bottom: 14px;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-image-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cherry);
  color: var(--cream);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(77, 9, 9, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 3;
}

.product-card:hover .card-overlay {
  opacity: 1;
}

.btn-quick-buy {
  padding: 12px 24px;
  background: var(--cream);
  color: var(--cherry);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.btn-quick-buy:hover {
  transform: scale(1.05);
}

/* Card Text Content Centered Below Image */
.card-content {
  padding: 0 !important;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.card-genre {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cherry);
  margin-bottom: 4px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-body);
  line-height: 1.35;
  margin-bottom: 4px;
  text-align: center;
  letter-spacing: -0.2px;
}

.card-meta {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 8px;
  text-align: center;
}

.card-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent !important;
}

.card-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card-price .price-now {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cherry);
}

.card-price .price-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-card-buy {
  display: none !important;
}

/* ============================================================
   TRUST SIGNALS BAR (Cream Dark #F7EFDF)
   ============================================================ */
.trust-bar {
  padding: 60px 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--cherry);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.trust-info h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--cherry);
  margin-bottom: 2px;
}

.trust-info p {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ============================================================
   TESTIMONIALS SECTION (Used on reviews.html)
   ============================================================ */
.testimonials-section {
  padding: 80px 0;
  background: var(--cream);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--cherry);
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   FAQ ACCORDION (Used on faq.html)
   ============================================================ */
.faq-section {
  padding: 80px 0;
  background: var(--cream);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--cherry);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--cherry-medium);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--cherry);
}

.faq-item.open .faq-icon {
  background: var(--cherry);
  border-color: var(--cherry);
  color: var(--cream);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
}

/* ============================================================
   LEGAL PAGES STYLING
   ============================================================ */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--cream);
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--cherry);
  margin-bottom: 8px;
}

.legal-page .last-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--cherry);
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--cherry);
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-body);
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li {
  list-style: disc;
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--cherry);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   CTA BANNER (Cherry #4D0909)
   ============================================================ */
.cta-section {
  padding: 90px 0;
  background: var(--cherry);
  color: var(--cream);
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 252, 246, 0.75);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  background: var(--cream);
  color: var(--cherry);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-cta:hover {
  background: var(--cream-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   STORE FOOTER (Solid Cherry #4D0909 & Cream #FFFCF6)
   ============================================================ */
.store-footer {
  background: var(--cherry-deep);
  border-top: 1px solid rgba(255, 252, 246, 0.1);
  padding: 80px 0 30px;
  color: var(--cream);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 252, 246, 0.1);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 252, 246, 0.65);
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--cream);
  transform: translateX(4px);
  display: inline-block;
}

.footer-newsletter-box {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 252, 246, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 252, 246, 0.05);
  margin-top: 8px;
}

.footer-newsletter-box input {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
}

.footer-newsletter-box input::placeholder {
  color: rgba(255, 252, 246, 0.4);
}

.footer-newsletter-box button {
  padding: 12px 16px;
  background: transparent;
  color: var(--cream);
  font-size: 16px;
  border-left: 1px solid rgba(255, 252, 246, 0.2);
  transition: background var(--transition);
}

.footer-newsletter-box button:hover {
  background: var(--cherry-medium);
}

.footer-text {
  font-size: 13px;
  color: rgba(255, 252, 246, 0.65);
  line-height: 1.6;
}

/* Bottom Bar */
.footer-bottom-bar {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-badge {
  height: 24px;
  padding: 0 8px;
  background: var(--cream);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--cherry);
  letter-spacing: 0.5px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 252, 246, 0.4);
}



/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .store-nav, .header-actions .btn-checkout { display: none; }
  .hamburger { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .card-title { font-size: 14px; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-columns { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .cart-drawer-panel { max-width: 100%; }
}

/* ============================================================
   GLOBAL AMAZON / SHOPIFY SLIDE-OVER CART DRAWER & TOAST
   ============================================================ */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 4, 4, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--cream);
  box-shadow: -10px 0 40px rgba(77, 9, 9, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-backdrop.show .cart-drawer-panel {
  right: 0;
}

.cart-drawer-header {
  padding: 22px 28px;
  background: var(--cream-card);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cherry);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-count-badge {
  background: var(--cherry-soft);
  color: var(--cherry);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 100px;
  border: 1px solid var(--cherry-border);
}

.cart-drawer-close-btn {
  font-size: 26px;
  color: var(--cherry);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.cart-drawer-close-btn:hover {
  background: var(--cherry-soft);
}

.cart-free-shipping-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 10px 28px;
  font-size: 12px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.cart-drawer-item-row {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--cream-dark);
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-genre {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cherry);
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-body);
  line-height: 1.3;
  margin: 2px 0 4px;
}

.cart-item-specs {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 10px;
}

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

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  background: var(--cream-card);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--cherry);
  transition: background var(--transition);
}

.qty-btn:hover {
  background: var(--cherry-soft);
}

.qty-num {
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
  color: var(--cherry);
}

.btn-remove-item {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition);
}

.btn-remove-item:hover {
  color: var(--cherry-light);
}

.cart-item-price-wrap {
  text-align: right;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--cherry);
}

/* Empty State */
.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-sub);
}

.cart-empty-state svg {
  color: var(--cherry);
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--cherry);
  margin-bottom: 6px;
}

/* Drawer Footer */
.cart-drawer-footer {
  padding: 24px 28px;
  background: var(--cream-card);
  border-top: 1px solid var(--border);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cherry);
  margin-bottom: 4px;
}

.cart-tax-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.btn-cart-drawer-checkout {
  width: 100%;
  padding: 16px 24px;
  background: var(--cherry);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  margin-bottom: 10px;
}

.btn-cart-drawer-checkout:hover {
  background: var(--cherry-dark);
  transform: translateY(-2px);
}

.btn-cart-drawer-continue {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: color var(--transition);
}

.btn-cart-drawer-continue:hover {
  color: var(--cherry);
}

/* Toast */
.cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--cherry);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10001;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 252, 246, 0.2);
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-content svg {
  color: var(--gold);
}

.toast-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.toast-text span {
  font-size: 12px;
  color: rgba(255, 252, 246, 0.8);
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.badge-pulse {
  animation: badgePulse 0.4s ease-in-out;
}

/* ============================================================
   GLOBAL LIVE SEARCH OVERLAY MODAL
   ============================================================ */
.search-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 4, 4, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.search-modal-container {
  width: 100%;
  max-width: 720px;
  background: var(--cream);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(77, 9, 9, 0.3);
  border: 1px solid var(--cherry-border);
  overflow: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}

.search-overlay-backdrop.show .search-modal-container {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  padding: 18px 24px;
  background: var(--cream-card);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 16px;
  color: var(--cherry);
  pointer-events: none;
}

.search-input-field {
  width: 100%;
  padding: 14px 60px 14px 48px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cherry);
  background: var(--cream-dark);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  outline: none;
  transition: all var(--transition);
}

.search-input-field:focus {
  border-color: var(--cherry);
  box-shadow: 0 0 0 3px rgba(77, 9, 9, 0.1);
  background: var(--cream);
}

.search-kb-shortcut {
  position: absolute;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.search-close-btn {
  font-size: 28px;
  color: var(--cherry);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.search-close-btn:hover {
  background: var(--cherry-soft);
}

.search-trending-bar {
  padding: 12px 24px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trending-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.trending-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trending-chip {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cherry);
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}

.trending-chip:hover {
  background: var(--cherry);
  color: var(--cream);
  border-color: var(--cherry);
}

.search-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.search-results-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--cream-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  cursor: pointer;
}

.search-result-card:hover {
  background: var(--cream-dark);
  border-color: var(--cherry-border);
  transform: translateX(4px);
}

.search-thumb-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.search-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-badge {
  position: absolute;
  bottom: 2px;
  left: 2px;
  font-size: 8px;
  font-weight: 800;
  background: var(--cherry);
  color: var(--gold);
  padding: 1px 4px;
  border-radius: 3px;
}

.search-info {
  flex: 1;
}

.search-genre {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cherry);
}

.search-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-body);
  margin: 2px 0 4px;
}

.search-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-price-now {
  font-size: 14px;
  font-weight: 800;
  color: var(--cherry);
}

.search-price-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-search-view {
  font-size: 12px;
  font-weight: 800;
  color: var(--cherry);
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--cherry-soft);
  border: 1px solid var(--cherry-border);
  transition: all var(--transition);
}

.search-result-card:hover .btn-search-view {
  background: var(--cherry);
  color: var(--cream);
}

.search-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-sub);
}

.search-empty-state svg {
  color: var(--cherry);
  margin-bottom: 12px;
  opacity: 0.5;
}

.search-empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cherry);
  margin-bottom: 6px;
}

/* ============================================================
   STANDALONE SEARCH PAGE (search.html)
   ============================================================ */
.search-page-hero {
  padding: 40px 0 32px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  text-align: center;
  margin-bottom: 36px;
}

.search-hero-box {
  max-width: 720px;
  margin: 0 auto;
}

.search-hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cherry);
  margin: 10px 0 8px;
  letter-spacing: -0.5px;
}

.search-hero-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.search-page-form {
  margin-bottom: 24px;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
}

.search-bar-icon {
  position: absolute;
  left: 20px;
  color: var(--cherry);
  pointer-events: none;
}

.search-page-input {
  width: 100%;
  padding: 16px 140px 16px 56px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cherry);
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 100px;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.search-page-input:focus {
  border-color: var(--cherry);
  box-shadow: 0 0 0 4px rgba(77, 9, 9, 0.12);
}

.btn-search-submit {
  position: absolute;
  right: 6px;
  padding: 12px 26px;
  background: var(--cherry);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all var(--transition);
}

.btn-search-submit:hover {
  background: var(--cherry-dark);
  transform: scale(1.02);
}

.search-quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-tags-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.quick-tags-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-tag-pill {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cherry);
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}

.quick-tag-pill:hover {
  background: var(--cherry);
  color: var(--cream);
  border-color: var(--cherry);
}

/* Toolbar */
.search-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 16px;
}

.results-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-body);
}

.query-badge {
  background: var(--cherry-soft);
  color: var(--cherry);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 100px;
  border: 1px solid var(--cherry-border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-clear-query {
  font-size: 14px;
  color: var(--cherry);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.sort-select {
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.sort-select:focus {
  border-color: var(--cherry);
}

/* Grid */
.search-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
}

.btn-card-add {
  font-size: 11px;
  font-weight: 800;
  color: var(--cherry);
  background: var(--cherry-soft);
  border: 1px solid var(--cherry-border);
  padding: 6px 12px;
  border-radius: 100px;
  transition: all var(--transition);
}

.btn-card-add:hover {
  background: var(--cherry);
  color: var(--cream);
}

/* No Results */
.search-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-sub);
}

.search-no-results svg {
  color: var(--cherry);
  margin-bottom: 16px;
  opacity: 0.4;
}

.search-no-results h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cherry);
  margin-bottom: 8px;
}

.search-no-results p {
  font-size: 14px;
  margin-bottom: 24px;
}

.btn-clear-search-large {
  padding: 12px 28px;
  background: var(--cherry);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all var(--transition);
}

.btn-clear-search-large:hover {
  background: var(--cherry-dark);
}
