/* ==========================================================================
   MS Distributors (msdistributors.in)
   Bright Clinical Theme: Pure White, Logo Royal/Sky Blue & Fresh Leaf Green
   Strictly NO dark backgrounds or dark sections.
   ========================================================================== */

:root {
  /* Core Surfaces */
  --bg-page: #ffffff;
  --bg-soft-blue: #f2f8ff;
  --bg-soft-green: #f1faf3;
  --bg-sky-wash: #e8f4ff;
  --bg-mint-wash: #e6f7ec;
  --bg-card: #ffffff;

  /* Brand Colors (Matched to MS Distributions Logo) */
  --blue-primary: #0074d9;
  --blue-vivid: #0a84ff;
  --blue-deep: #0b4f8c;
  --blue-soft: #d9ecff;
  --green-primary: #5cb82f;
  --green-vivid: #22a854;
  --green-deep: #1b7e3c;
  --green-soft: #dcf5e4;
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #1ebe5b;

  /* Typography */
  --text-heading: #0b467a;
  --text-body: #2d5173;
  --text-muted: #567796;
  --text-light: #ffffff;

  /* Borders & Shadows */
  --border-light: #d7e8fa;
  --border-green: #ccebd7;
  --shadow-xs: 0 2px 8px rgba(0, 116, 217, 0.06);
  --shadow-sm: 0 6px 20px rgba(0, 116, 217, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 116, 217, 0.12);
  --shadow-fab: 0 10px 26px rgba(37, 211, 102, 0.38);

  /* Radii & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container-max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.65rem;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--text-heading);
  line-height: 1.24;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Utility Bar */
.top-bar {
  background: linear-gradient(90deg, #eaf4ff 0%, #eefaf1 100%);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.84rem;
  color: var(--text-heading);
  padding: 7px 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
  display: inline-block;
}

.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-deep);
  font-weight: 600;
}

.top-bar-link:hover {
  color: var(--green-deep);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(0, 116, 217, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

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

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-heading);
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--bg-soft-blue);
  color: var(--blue-primary);
}

.nav-link.active {
  background: linear-gradient(135deg, #e3f1ff 0%, #e4f7ea 100%);
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px #bde0ff;
}

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

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--blue-primary), #1d8cf8);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 13px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 116, 217, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 116, 217, 0.32);
}

.cart-badge {
  background-color: var(--green-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-light);
  color: var(--blue-deep);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary) 0%, #1c92f5 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 116, 217, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 116, 217, 0.34);
  color: #ffffff;
}

.btn-green {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-vivid) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(46, 158, 69, 0.24);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 158, 69, 0.32);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--blue-primary);
  border: 2px solid #b8dcff;
}

.btn-outline:hover {
  background: var(--bg-soft-blue);
  border-color: var(--blue-primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f9ff 0%, #ffffff 52%, #edf9f0 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-wrap {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 56px 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(244, 250, 255, 0.92) 44%,
    rgba(244, 250, 255, 0.56) 68%,
    rgba(255, 255, 255, 0.12) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e2f1ff 0%, #e4f8ea 100%);
  color: var(--blue-deep);
  border: 1px solid #bee1ff;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.hero-title .accent-blue {
  color: var(--blue-primary);
}

.hero-title .accent-green {
  color: var(--green-vivid);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-body);
  margin-bottom: 26px;
  max-width: 580px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.hero-metric-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  box-shadow: var(--shadow-xs);
}

.metric-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
}

/* Page Sub-Header */
.page-banner {
  background: linear-gradient(135deg, #ebf5ff 0%, #ffffff 55%, #eaf8ee 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 46px 0 38px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.page-banner h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 10px;
}

.page-banner p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.02rem;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-soft-blue {
  background-color: var(--bg-soft-blue);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-soft-green {
  background-color: var(--bg-soft-green);
  border-top: 1px solid var(--border-green);
  border-bottom: 1px solid var(--border-green);
}

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

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 6px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 0;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.category-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e1f0ff 0%, #e1f7e8 100%);
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-card h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

.category-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.category-count {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-deep);
}

/* Catalog Filter Bar */
.catalog-toolbar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toolbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.search-box {
  position: relative;
  flex: 1 1 300px;
  max-width: 440px;
}

.search-box input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1px solid #c5dff8;
  border-radius: var(--radius-pill);
  background: #f8fbff;
  color: var(--text-heading);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--blue-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.14);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-primary);
  pointer-events: none;
}

.catalog-status {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--bg-soft-blue);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  border: 1px solid var(--border-light);
  background: #f7fbff;
  color: var(--text-heading);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  background: #e7f3ff;
  border-color: #9ed0ff;
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 116, 217, 0.22);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #99cdff;
}

.product-image-wrap {
  position: relative;
  background: #ffffff;
  aspect-ratio: 1 / 1;
  padding: 14px;
  border-bottom: 1px solid #edf5ff;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.product-sku-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(235, 245, 255, 0.94);
  color: var(--blue-deep);
  border: 1px solid #c7e3ff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.product-stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(230, 247, 236, 0.96);
  color: var(--green-deep);
  border: 1px solid #bce8cb;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.product-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex: 1;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e2effb;
}

.product-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.product-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.add-to-cart-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--blue-primary) 0%, #1d8cf8 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-vivid) 100%);
  transform: translateY(-1px);
}

.add-to-cart-btn.added {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-vivid) 100%);
}

/* Empty State */
.empty-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 46px 20px;
  background: #f8fbff;
  border: 1px dashed #b9daf9;
  border-radius: var(--radius-md);
}

/* Feature / Info Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-xs);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e2f1ff, #dff6e7);
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* About / Content Layouts */
.two-col-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.highlight-box {
  background: linear-gradient(135deg, #eef6ff 0%, #eefaf2 100%);
  border: 1px solid #c6e2fc;
  border-radius: var(--radius-md);
  padding: 26px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.check-list .bullet-dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Legal / Privacy Document */
.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 940px;
  margin: 0 auto;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-section {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #ebf3fc;
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.24rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.legal-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 6px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #f7fbff;
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #dff0ff, #dff7e8);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #c5dff8;
  border-radius: var(--radius-sm);
  background: #f9fcff;
  color: var(--text-heading);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--blue-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.14);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-feedback {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  border: 1px solid #a8e2bc;
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-feedback.show {
  display: block;
}

/* Bright Footer (NO dark footer) */
.site-footer {
  background: linear-gradient(180deg, #f3f9ff 0%, #eef9f2 100%);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--blue-primary), var(--green-primary)) 1;
  padding: 54px 0 24px;
  color: var(--text-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 14px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--blue-primary);
  padding-left: 3px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Slide-Over Cart Drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 70, 122, 0.25);
  backdrop-filter: blur(2px);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(430px, 100vw);
  background: #ffffff;
  z-index: 1000;
  box-shadow: -8px 0 32px rgba(0, 116, 217, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, #edf6ff 0%, #edf9f1 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  margin: 0;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--blue-deep);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  text-align: center;
  padding: 44px 16px;
  color: var(--text-muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fafdff;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e6f2ff;
  padding: 4px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-heading);
}

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

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c5dff8;
  border-radius: var(--radius-pill);
  background: #ffffff;
}

.qty-btn {
  border: none;
  background: transparent;
  width: 28px;
  height: 26px;
  font-weight: 800;
  color: var(--blue-deep);
  cursor: pointer;
}

.qty-val {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.remove-item-btn {
  border: none;
  background: transparent;
  color: #c24141;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.cart-drawer-footer {
  padding: 18px 20px;
  background: #f6faff;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text-heading);
}

.cart-clear-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  align-self: center;
  padding: 4px 8px;
}

/* Toast Notification */
.toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 920;
  background: #ffffff;
  border: 2px solid var(--green-primary);
  color: var(--text-heading);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-link {
  background: var(--blue-soft);
  color: var(--blue-deep);
  border: none;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Original WhatsApp Floating Action Button (Bottom Right) */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-fab);
  border: 3px solid #ffffff;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  background-color: var(--whatsapp-green-hover);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.48);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-fab-label {
  position: absolute;
  right: 70px;
  background: #ffffff;
  color: var(--green-deep);
  border: 1px solid #bcebd0;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-fab:hover .whatsapp-fab-label {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--border-light);
    padding: 14px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .two-col-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(244, 250, 255, 0.90) 68%,
      rgba(255, 255, 255, 0.78) 100%
    );
  }
}

@media (max-width: 560px) {
  .brand-text-wrap {
    display: none;
  }
  .product-grid,
  .category-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 24px 18px;
  }
  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
