/* ==========================================================================
   BRIGHT LOOK - TEMPLATE 3: BRIGHT CLEAN MINIMALIST & PASTEL FRESH
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --accent-rose: #f43f5e;
  --accent-teal: #0d9488;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle-blue: #eff6ff;
  --bg-subtle-rose: #fff1f2;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-soft: 0 4px 20px rgba(148, 163, 184, 0.12);
  --shadow-hover: 0 12px 30px rgba(37, 99, 235, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Floating Curved Capsule Header --- */
.sticky-header-group {
  position: sticky;
  top: 16px;
  z-index: 1000;
  padding: 0 20px;
}

.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-full);
  padding: 10px 28px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  max-width: 1140px;
  margin: 0 auto;
  transition: var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text-box {
  display: flex;
  flex-direction: column;
}

.logo-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-brand-name span {
  color: var(--primary-blue);
}

.logo-brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-rose);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
}

.category-nav-inline {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
}

.category-nav-inline a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-nav-inline a:hover {
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.08);
}

.category-nav-inline a.active {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

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

.header-action-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.header-action-item:hover {
  background: var(--bg-subtle-blue);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

.cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge-count {
  position: absolute;
  top: -9px;
  right: -12px;
  background: var(--accent-rose);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 4px;
}

/* --- Hero Banner --- */
.hero-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #fce7f3 100%);
  padding: 60px 0 80px 0;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 40px !important;
  align-items: center !important;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: var(--primary-blue);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.text-gold {
  color: var(--primary-blue);
}

.hero-quote {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-rose);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-blue);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.hero-cta:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
}

.stats-stack {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
}

.stat-card-glass {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 24px 20px !important;
  border-radius: var(--radius-md) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stat-card-glass:hover {
  background: #ffffff !important;
  border-color: var(--primary-blue) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15) !important;
}

.stat-card-glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  flex-shrink: 0;
  color: var(--primary-blue);
}

.stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* --- Section Formatting --- */
.section-padding {
  padding: 70px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 2px;
  margin-top: 6px;
}

.view-all-link {
  font-weight: 700;
  color: var(--primary-blue);
}

/* --- Circular Category Grid --- */
.circle-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
}

.circle-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.circle-avatar-box {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50%;
  background: white;
  padding: 12px;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.circle-avatar-box img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.circle-cat-item:hover .circle-avatar-box {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.circle-cat-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* --- Product Cards Grid --- */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-blue);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-rose);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
}

.product-img-wrapper {
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.product-img-wrapper a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.add-cart-btn {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.add-cart-btn:hover {
  background: var(--primary-blue-hover);
  transform: scale(1.05);
}

/* --- Split Feature Banners --- */
.split-banner-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.split-banner-sidebar {
  padding: 36px 28px;
  background: var(--bg-subtle-blue);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-heading {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary-blue);
}

.sidebar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-explore-sidebar {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
}

.sidebar-photo-img {
  margin-top: 24px;
  border-radius: var(--radius-md);
  max-height: 180px;
  object-fit: cover;
  border: 2px solid white;
}

.split-banner-products {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  align-content: center;
}

/* --- Trust & Metrics Section --- */
.trust-metrics-section {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
}

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

.trust-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.metric-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.trust-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 40px 0;
}

.logistics-section {
  text-align: center;
}

.logistics-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.logistics-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--text-muted);
}

/* --- Mobile Navigation Drawer --- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.mobile-nav-drawer.active {
  left: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-list a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.mobile-nav-list a:hover {
  color: var(--primary-blue);
}

/* --- Footer --- */
.cleansol-footer {
  background: #ffffff;
  color: var(--text-muted);
  padding: 60px 0 24px 0;
  border-top: 1px solid var(--border-light);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col-h {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-menu-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  background: var(--text-dark);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  border-left: 4px solid var(--primary-blue);
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.toast-fade-out {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.toast-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-weight: 700;
  cursor: pointer;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- Profile Avatar Chip in Navbar --- */
.nav-profile-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle-blue);
  border: 1px solid var(--primary-blue);
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-full);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.profile-avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

/* --- Shop Layout & Sidebar --- */
.shop-header {
  margin: 32px 0 24px 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 28px auto;
  }
  .stats-stack {
    max-width: 500px;
    margin: 0 auto;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .split-banner-wrapper {
    grid-template-columns: 1fr;
  }
  .trust-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .trust-grid-4col {
    grid-template-columns: 1fr;
  }
}

/* --- Product Detail Page --- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

@media (max-width: 992px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.detail-main-img {
  width: 100%;
  height: 420px;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--border-light);
}

.detail-main-img img {
  max-height: 100%;
  object-fit: contain;
}

.detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.price-box-wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.mrp-wrapper {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mrp-label {
  font-size: 0.7rem;
  font-weight: 800;
  background: #cbd5e1;
  color: #0f172a;
  padding: 1px 4px;
  border-radius: 3px;
  text-transform: uppercase;
}

.selling-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.selling-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary-blue);
  background: var(--bg-subtle-blue);
  padding: 2px 6px;
  border-radius: 4px;
}

.stock-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.stock-badge-in { background: #d1fae5; color: #047857; }
.stock-badge-low { background: #fef3c7; color: #b45309; }
.stock-badge-out { background: #fee2e2; color: #b91c1c; }

.detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.variant-pill-detail {
  padding: 8px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.variant-pill-detail.active, .variant-pill-detail:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--bg-subtle-blue);
}

.btn-dark {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-dark:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: white;
}

/* --- Cart & Checkout Layout --- */
.cart-layout, .checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  margin-top: 32px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 20px;
  align-items: center;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  max-height: 100%;
  object-fit: contain;
}

.cart-item-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.cart-item-variant {
  font-size: 0.8rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.cart-item-qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  background: var(--bg-page);
}

.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--text-dark);
}

.qty-num {
  font-weight: 800;
  padding: 0 8px;
  font-size: 0.9rem;
}

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

.cart-item-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--accent-rose);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-summary-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-light);
}

.summary-row.total {
  border-bottom: none;
  border-top: 2px solid var(--text-dark);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  padding-top: 16px;
  margin-top: 10px;
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  outline: none;
}

.coupon-success {
  color: #047857;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}

.coupon-error {
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}

.empty-cart-box {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.empty-cart-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* --- Auth & Profile Cards --- */
.auth-wrapper {
  max-width: 440px;
  margin: 60px auto;
  padding: 0 20px;
}

.hero-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-showcase-img-box {
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.hero-showcase-img {
  max-height: 220px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.auth-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-hover);
}

.auth-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.otp-digit-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}

.otp-box {
  width: 48px;
  height: 54px;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
}

.otp-box:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-option.selected {
  border-color: var(--primary-blue);
  background: var(--bg-subtle-blue);
}

.payment-option-label {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.payment-option-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
