/* ==========================================================================
   Wellcare Enterprise - Core Design System & Global Styles
   Clean, modern, uncluttered healthcare & organic wellness theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --teal: #087F8C;
  --teal-dark: #05626c;
  --teal-light: #eaf6f7;
  --teal-glow: rgba(8, 127, 140, 0.15);
  --navy: #0e2a3b;
  --navy-light: #163e56;
  --slate: #486581;
  --muted: #627d98;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --surface: #ffffff;
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --orange: #f26419;
  --green: #10b981;
  --red: #ef4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.09);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-w: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--navy);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
}

/* Typography Utilities */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 6px 0 0;
}

.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 6px 0 0;
  max-width: 540px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--teal-glow);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8, 127, 140, 0.25);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

.btn-dark {
  background: var(--navy);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--navy-light);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--navy);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-pill {
  background: rgba(8, 127, 140, 0.25);
  color: #7dd3fc;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.78rem;
}

.announcement-links a:hover {
  color: #ffffff;
}

/* Mobile Announcement Bar Phone */
.ann-mobile-phone {
  display: none;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.ann-mobile-phone a {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.ann-mobile-phone a:hover {
  opacity: 0.85;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  transition: all 0.2s ease;
  position: relative;
}

.action-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  border: 2px solid #ffffff;
}

.mobile-menu-btn {
  display: none;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: #ffffff;
}

/* Clean Hero Section - Uncluttered, Modern Split */
.hero-wrapper {
  padding: 24px 0 36px;
}

.hero-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  position: relative;
  min-height: 440px;
}

.hero-content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  border: 1px solid rgba(8, 127, 140, 0.2);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--slate);
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Trust Bar */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.trust-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-info strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.category-box:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.category-box h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy);
}

.category-box p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 16px;
  flex-grow: 1;
}

.category-explore {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-subtle);
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffffff;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-title:hover {
  color: var(--teal);
}

.product-stock {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}

.product-stock.out-of-stock {
  color: var(--red);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line-light);
}

.product-price-group {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.product-compare-price {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.add-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.add-cart-btn:hover {
  background: var(--teal);
  color: #ffffff;
}

.add-cart-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Feature Spotlight Banner */
.spotlight-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.spotlight-text {
  padding: 56px;
}

.spotlight-text .eyebrow {
  color: #7dd3fc;
}

.spotlight-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 14px 0 16px;
}

.spotlight-text p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 28px;
}

.spotlight-media {
  position: relative;
  height: 100%;
  min-height: 360px;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Newsletter / Updates */
.newsletter-card {
  background: var(--teal-light);
  border: 1px solid rgba(8, 127, 140, 0.2);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.newsletter-content p {
  color: var(--slate);
  margin: 0;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: 380px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-about {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 16px 0;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.86rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
  font-size: 0.86rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Empty State */
.empty-box {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}

.empty-box h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 6px;
}

/* ===== Mobile Drawer Navigation (shared across all pages) ===== */
.mobile-drawer-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 59, 0.55);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(300px, 88vw);
  background: #fff;
  z-index: 201;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer-nav {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}
.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--slate);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.18s;
}
.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: var(--teal-light);
  color: var(--teal);
}
html.drawer-open .mobile-drawer-bg { display: block; opacity: 1; }
html.drawer-open .mobile-drawer { transform: translateX(0); }
html.drawer-open body { overflow: hidden; }
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { width: min(var(--max-w), calc(100% - 32px)); }
  .announcement-bar { display: flex !important; }
  .announcement-text { display: none !important; }
  .announcement-links { display: none !important; }
  .ann-mobile-phone { display: flex !important; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-box { grid-template-columns: 1fr; }
  .hero-media { min-height: 220px; height: 220px; }
  .hero-content { padding: 32px 20px; }
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 22px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-card { padding: 14px 12px; gap: 10px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spotlight-banner { grid-template-columns: 1fr; }
  .spotlight-text { padding: 32px 20px; }
  .spotlight-media { min-height: 200px; height: 200px; }
  .newsletter-card { flex-direction: column; padding: 26px 18px; }
  .newsletter-form { min-width: 100%; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .section-head h2 { font-size: 1.5rem; }
  .product-card .product-body { padding: 10px; }
  .product-title { font-size: 0.85rem; }
  .product-price { font-size: 0.95rem; }
  .add-cart-btn { width: 32px; height: 32px; border-radius: 8px; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .trust-card { padding: 10px; gap: 8px; }
  .trust-icon-box { width: 34px; height: 34px; border-radius: 8px; }
  .trust-info strong { font-size: 0.78rem; }
  .trust-info span { font-size: 0.68rem; }
  .products-grid { gap: 8px; }
  .product-card .product-body { padding: 8px; }
  .product-title { font-size: 0.8rem; -webkit-line-clamp: 2; }
  .product-price { font-size: 0.88rem; }
  .btn-lg { padding: 12px 20px; font-size: 0.9rem; }
}

/* ==========================================================================
   GLOBAL SLIDE-OVER CART DRAWER
   ========================================================================== */
.cart-drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 59, 0.58);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.cart-drawer-bg.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 94vw);
  background: #ffffff;
  z-index: 2001;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.cart-drawer-title svg {
  color: var(--teal);
}
.cart-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--slate);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.18s;
}
.cart-drawer-close:hover {
  background: #fee2e2;
  color: var(--red);
  border-color: #fca5a5;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: border-color 0.18s;
}
.cart-item-card:hover {
  border-color: #cbd5e1;
}
.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-item-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.cart-item-title:hover {
  color: var(--teal);
}
.cart-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
}
.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--line-light);
  border-radius: var(--radius-full);
  padding: 2px 4px;
  width: fit-content;
  margin-top: 2px;
}
.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
  transition: all 0.15s;
}
.qty-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}
.qty-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 14px;
  text-align: center;
}
.cart-item-del {
  color: #94a3b8;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  background: none;
  border: none;
}
.cart-item-del:hover {
  color: var(--red);
  background: #fee2e2;
}
.cart-drawer-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: #fafcfd;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-subtotal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.cart-subtotal-row span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
}
.cart-subtotal-row strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}
.cart-cod-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.cart-empty-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 20px;
  gap: 12px;
  color: var(--muted);
  height: 100%;
}
.cart-empty-view svg {
  color: #cbd5e1;
}

