:root {
  /* Bright, comfortable theme */
  --bg: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.82);
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --border-radius: 18px;
  --border-radius-lg: 26px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-hover: 0 20px 55px rgba(2, 132, 199, 0.18);
  
  /* CRITICAL IMAGE FALLBACK */
  --image-fallback: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, rgba(245,158,11,0.05) 100%), var(--surface);
  
  /* Colors */
  --primary: #0ea5e9;
  --primary-dark: #0b3a56;
  --secondary: #2563eb;
  --accent: #f59e0b;
  --success: #16a34a;
  --success-light: #166534;
  
  /* Typography */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  /* Layout */
  --max-width: 1120px;
  --container-padding: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(14, 165, 233, 0.2), transparent 60%),
    radial-gradient(820px 520px at 86% 12%, rgba(245, 158, 11, 0.14), transparent 58%),
    radial-gradient(900px 600px at 50% 92%, rgba(37, 99, 235, 0.1), transparent 62%),
    var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(var(--max-width), calc(100% - var(--container-padding) * 2));
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ──────────────────────────────────────────────
   Top mini strip
──────────────────────────────────────────────── */
.mini {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.mini .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--muted);
  flex-wrap: wrap;
}

.mini .row strong {
  color: var(--text);
  font-weight: 600;
}

.mini .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.18);
  color: var(--success-light);
  font-weight: 700;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.1);
}

/* ──────────────────────────────────────────────
   Header
──────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 252, 0.62);
  border-bottom: 1px solid rgba(226, 232, 240, 0.65);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.8), transparent 52%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.88));
  box-shadow: 0 14px 35px rgba(2, 132, 199, 0.2);
  position: relative;
}

.mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.brand strong {
  display: block;
  letter-spacing: 0.6px;
  font-size: 0.875rem;
  font-weight: 700;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.navlinks {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.875rem;
}

.navlinks a {
  padding: 8px 10px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.navlinks a:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-dark);
}

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

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease;
  display: grid;
  place-items: center;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: #0f172a;
  opacity: 0.9;
}

.cta {
  border: none;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(245, 158, 11, 0.7));
  color: #1f1300;
  font-weight: 800;
  padding: 11px 14px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.2);
  transition: transform 0.18s ease;
  white-space: nowrap;
  font-size: 0.875rem;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.25);
}

/* ──────────────────────────────────────────────
   Hero Section
──────────────────────────────────────────────── */
.hero {
  padding: 26px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .navlinks {
    display: none;
  }
}

.hero-card {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(420px 240px at 18% 18%, rgba(14, 165, 233, 0.2), transparent 58%),
    radial-gradient(360px 240px at 85% 20%, rgba(245, 158, 11, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.875rem;
}

.hero-badge .spark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(14, 165, 233, 0.12);
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.875rem, 4.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.grad {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.sub {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 68ch;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.875rem;
  transition: transform 0.18s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.92));
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(2, 132, 199, 0.22);
}

.btn.soft {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.btn.soft:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Search */
.search {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.search input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.875rem;
  background: transparent;
  color: var(--text);
  padding: 4px 0;
}

.search input::placeholder {
  color: rgba(71, 85, 105, 0.8);
}

.search .go {
  border: none;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(245, 158, 11, 0.75));
  color: #1f1300;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: nowrap;
  font-size: 0.875rem;
  transition: transform 0.18s ease;
}

.search .go:hover {
  transform: translateY(-1px);
}

/* Trust / highlights panel */
.side {
  display: grid;
  gap: 12px;
}

.panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 14px;
}

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

.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.kpi {
  background: rgba(246, 248, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 12px;
}

.kpi strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

.kpi small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
}

.checklist, .popular-list {
  display: grid;
  gap: 10px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.18);
  padding: 10px 12px;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.check:hover {
  transform: translateX(2px);
  border-color: rgba(14, 165, 233, 0.3);
}

.popular-item {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.18);
}

.lab-highlight {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.16);
}

.check .c {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.18);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary-dark);
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 0.875rem;
}

.popular-item .c {
  background: rgba(245, 158, 11, 0.18);
  color: #7a4a00;
}

.lab-highlight .c {
  background: rgba(37, 99, 235, 0.16);
  color: #0b2c7a;
}

.check strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.check span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78125rem;
  line-height: 1.4;
}

/* ──────────────────────────────────────────────
   General sections
──────────────────────────────────────────────── */
.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 72ch;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  margin-left: auto;
}

.tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.18s ease;
  font-size: 0.875rem;
  min-width: 100px;
}

.tab:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-dark);
}

.tab.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.92));
  color: white;
  box-shadow: var(--shadow-hover);
}

/* Category grid */
.cgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 980px) {
  .cgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .cgrid { grid-template-columns: 1fr; }
}

.ccard {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 14px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ccard::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(240px 150px at 20% 18%, rgba(14, 165, 233, 0.16), transparent 62%),
    radial-gradient(240px 150px at 86% 20%, rgba(245, 158, 11, 0.12), transparent 60%);
  pointer-events: none;
  opacity: 0.95;
}

.ccard:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.ccard .inner {
  position: relative;
  z-index: 1;
}

.cicon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.22);
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.ccard h3 {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 700;
}

.ccard p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.clink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 800;
  color: var(--primary-dark);
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.18);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8125rem;
}

.clink:hover {
  background: rgba(14, 165, 233, 0.15);
  transform: translateX(2px);
}

/* Product filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  margin-left: auto;
}

.chip {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.18s ease;
  font-size: 0.875rem;
  min-width: 80px;
}

.chip:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-dark);
}

.chip.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.92));
  color: white;
  box-shadow: var(--shadow-hover);
}

/* ──────────────────────────────────────────────
   PRODUCT CARDS – FIXED IMAGE DISPLAY
──────────────────────────────────────────────── */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 980px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .pgrid { grid-template-columns: 1fr; } }

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.22s ease;
  position: relative;
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

/* Image container – improved sizing & centering */
.pimg {
  height: 180px;                    /* increased from 150px */
  position: relative;
  overflow: hidden;
  background: var(--image-fallback);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;              /* ← Changed from cover to contain – main fix */
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  border-radius: inherit;
}

/* Hover zoom (still subtle) */
.pcard:hover .pimg img {
  transform: scale(1.03);
}

/* Fallback when image fails to load */
.img-fallback {
  text-align: center;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  max-width: 85%;
}

/* Badge row on top of image */
.badge-row {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 10;
  pointer-events: none;
}

/* Hide legacy placeholders */
.ph, .pimg::after {
  display: none !important;
}

/* Data saver & accessibility */
@media (prefers-reduced-data: reduce) {
  .pimg img {
    filter: blur(0.3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcard:hover .pimg img,
  .pimg img {
    transform: none !important;
    transition: none !important;
  }
}

/* ──────────────────────────────────────────────
   Product card body & actions
──────────────────────────────────────────────── */
.pbody {
  padding: 12px 12px 14px;
}

.ptitle {
  margin: 2px 0 6px;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.3;
}

.pdesc {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78125rem;
  line-height: 1.45;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

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

.old {
  color: rgba(71, 85, 105, 0.85);
  text-decoration: line-through;
  font-weight: 700;
  font-size: 0.75rem;
  margin-left: 8px;
}

.stock {
  font-size: 0.71875rem;
  font-weight: 800;
  color: var(--success-light);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 6px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.pactions {
   display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch; 
}

.pbtn {
  border: none;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 0.78125rem;
  transition: all 0.18s ease;
  cursor: pointer;
}

.pbtn.primary {
  flex: 1;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.92));
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.pbtn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(2, 132, 199, 0.22);
}

.pbtn.ghost {
  width: 44px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--line);
  color: #0f172a;
  display: grid;
  place-items: center;
}

.pbtn.ghost:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.25);
  color: var(--primary);
}

/* Quote band */
.band {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(420px 240px at 12% 40%, rgba(14, 165, 233, 0.16), transparent 60%),
    radial-gradient(420px 240px at 88% 40%, rgba(245, 158, 11, 0.14), transparent 60%);
  pointer-events: none;
}

.band > * {
  position: relative;
  z-index: 1;
}

.band h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.band p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 70ch;
}

.band-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.foot-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.foot a {
  color: var(--primary-dark);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.16);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.foot a:hover {
  background: rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

/* Accessibility & animations */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.skeleton {
  animation: pulse 1.5s infinite ease-in-out;
  border-radius: 8px;
  background: rgba(226, 232, 240, 0.3);
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* Quick view / image popup */
.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.quickview-overlay.active {
  display: flex;
}

.quickview-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  pointer-events: none; /* so clicks go through to overlay to close */
}

.quickview-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  pointer-events: auto; /* image itself can still be interacted with if needed */
}

.quickview-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: rgba(255,255,255,0.15);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

.quickview-close:hover {
  background: rgba(255,255,255,0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 920px) {
  .hamburger { display: flex; }
  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  .navlinks.active { display: flex; }
  .navlinks a { padding: 14px; font-size: 1.1rem; }
}

/* Cart count badge */
.cart-btn {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumbs span {
  margin: 0 6px;
  color: var(--muted);
}

/* Back button */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 700;
  margin: 12px 0 20px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.18);
  transition: all 0.2s;
}
.back-btn:hover {
  background: rgba(14,165,233,0.15);
}

/* Product detail (simple) */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.prod-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.prod-info h1 { margin-bottom: 16px; }
.price-big {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.large { padding: 14px 24px; font-size: 1.05rem; }

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

/* ──────────────────────────────────────────────
   SMART CART DRAWER STYLES
   Add this to the bottom of style.css
   ────────────────────────────────────────────── */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0; right: -400px;
    width: 380px;
    height: 100%;
    background: #fff;
    z-index: 999;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    max-width: 85vw; /* Prevents overflow on mobile */
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
}

.cart-header h3 { margin: 0; font-size: 1.2rem; }
.close-cart { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
}

.cart-item img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg);
}

.cart-item-details { flex: 1; }
.cart-item-title { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 4px; }
.cart-item-price { color: var(--muted); font-size: 0.9rem; }
.cart-remove {
    background: none; border: none;
    color: #ef4444; font-size: 0.8rem;
    cursor: pointer; padding: 0; margin-top: 5px;
    text-decoration: underline;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.cart-total {
    display: flex; justify-content: space-between;
    font-weight: 700; font-size: 1.1rem;
    margin-bottom: 15px;
}

.btn-whatsapp {
    background: #25D366; color: white;
    width: 100%; padding: 14px;
    border-radius: 12px;
    text-align: center; font-weight: 600;
    text-decoration: none; display: block;
    border: none; cursor: pointer;
    transition: transform 0.2s;
}
.btn-whatsapp:hover { background: #1ebc57; transform: translateY(-2px); }

/* Empty state */
.empty-cart-msg {
    text-align: center; color: var(--muted);
    margin-top: 40px;
}

/* --- Floating WhatsApp Bubble --- */
.floating-wa {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-wa:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- Trust steps section --- */
.trust-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--line);
}
.step {
    text-align: center;
}
.step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}
.step h4 { margin-bottom: 5px; color: var(--primary-dark); }
.step p { font-size: 0.85rem; color: var(--muted); }

/* --- Skeleton Loading Animation for images --- */
@keyframes skeleton-loading {
    0% { background-color: #f0f0f0; }
    100% { background-color: #e0e0e0; }
}
.img-loading {
    animation: skeleton-loading 1s linear infinite alternate;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Booking Section --- */
.booking-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}
.booking-card::after {
  content: '🧪';
  position: absolute;
  right: -20px; bottom: -20px;
  font-size: 150px; opacity: 0.1;
  transform: rotate(-15deg);
}
.booking-content { flex: 1; z-index: 1; }
.booking-content h2 { font-size: 2.2rem; margin-bottom: 15px; color: #fff; }
.booking-content p { opacity: 0.9; margin-bottom: 25px; font-size: 1.1rem; }

.booking-form {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  width: 350px;
  color: var(--text);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  z-index: 1;
}
.booking-form input, .booking-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
}

@media (max-width: 768px) {
  .booking-card { flex-direction: column; padding: 30px; text-align: center; }
  .booking-form { width: 100%; }
}

/* --- Entrance Animations --- */
.reveal {
  opacity: 0;
  transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.fade-left { transform: translateX(-30px); }
.fade-right { transform: translateX(30px); }

/* The 'active' class is added by JavaScript when the page loads */
.reveal.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Staggered Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.55s; }
.delay-5 { transition-delay: 0.7s; }

/* Special Gradient Text Effect */
.grad {
  background: linear-gradient(90deg, var(--primary), #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Floating Sparkle Animation for the Badge */
@keyframes spark-glow {
  0% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.5; transform: scale(1); }
}
.spark {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  animation: spark-glow 2s infinite;
}

/* --- Activity Notification --- */
.activity-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: white;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary);
    max-width: 320px;
}

.activity-toast.show {
    transform: translateY(0);
}

.toast-icon {
    font-size: 1.4rem;
    background: var(--bg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.toast-content {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text);
}

.toast-content strong {
    display: block;
    color: var(--primary-dark);
}

/* Hide on mobile if it blocks content */
@media (max-width: 600px) {
    .activity-toast {
        bottom: 90px; /* Moves it above the floating WA button */
        right: 15px;
        left: 15px;
        max-width: none;
    }
}

/* --- Accessibility Suite --- */
#accessibilityToggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    z-index: 10001;
}

#accessibilityMenu {
    position: fixed;
    top: 50%;
    right: -300px;
    transform: translateY(-50%);
    width: 250px;
    background: white;
    box-shadow: var(--shadow);
    padding: 20px;
    border-radius: 20px 0 0 20px;
    transition: 0.3s ease;
    z-index: 10000;
}

#accessibilityMenu.open { right: 0; }
#accessibilityMenu h3 { font-size: 1rem; margin-bottom: 15px; }
#accessibilityMenu button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    background: var(--bg);
}

/* --- High Contrast Mode --- */
/* --- Balanced High Contrast Mode --- */
body.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
    background-image: none !important;
}

/* Force all text to be highly visible */
body.high-contrast *:not(.btn) {
    color: #ffffff !important;
    border-color: #555555 !important;
}

/* Specific highlight for primary actions and headings */
body.high-contrast h1, 
body.high-contrast h2, 
body.high-contrast h3, 
body.high-contrast .grad,
body.high-contrast strong {
    color: #ffff00 !important; /* Bright Yellow for emphasis */
}

/* Fix for Cards and Panels */
body.high-contrast .card, 
body.high-contrast .panel, 
body.high-contrast .hero-card,
body.high-contrast .pbody {
    background: #121212 !important;
    border: 2px solid #ffff00 !important;
    box-shadow: none !important;
}

/* Fix for Buttons - Very important for functionality */
body.high-contrast .btn.primary, 
body.high-contrast .pbtn.primary {
    background: #ffff00 !important;
    color: #000000 !important;
    font-weight: 900 !important;
    border: none !important;
}

body.high-contrast .btn.soft, 
body.high-contrast .btn.ghost {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

/* Search Bar & Inputs Fix */
body.high-contrast input, 
body.high-contrast select, 
body.high-contrast textarea {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

/* Badge & KPIs */
body.high-contrast .hero-badge, 
body.high-contrast .kpi {
    background: #1a1a1a !important;
    border: 1px dashed #ffff00 !important;
}

/* --- Dyslexic Font --- */
@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://antijingoist.github.io/opendyslexic/fonts/OpenDyslexic-Regular.otf');
}
body.dyslexic { font-family: 'OpenDyslexic', sans-serif !important; }

/* --- Reading Progress Bar --- */


/* Logo styling */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.7px;
  color: var(--primary-dark);
}

.brand small {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1px;
}

/* Remove all badges from cards */
.badge-row,
.tag,
.off {
  display: none !important;
}

/* Slower & smoother reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.25s; }
.delay-2 { transition-delay: 0.5s; }
.delay-3 { transition-delay: 0.8s; }
.delay-4 { transition-delay: 1.1s; }
.delay-5 { transition-delay: 1.4s; }

/* Cart hover feedback */
.cart-btn:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: scale(1.06);
  transition: all 0.2s ease;
}

#accessibilityMenu,
#accessibilityMenu * {
  background-color: #0f172a !important;
  color: white !important;
  border-color: #334155 !important;
}

#accessibilityMenu button {
  background: #1e293b !important;
  color: white !important;
  border: 1px solid #475569 !important;
}

#accessibilityMenu button:hover {
  background: #334155 !important;
}

/* Make toggle button always visible and protected */
#accessibilityToggle {
  background: #0f172a !important;
  color: white !important;
  border: none !important;
}


/* style.css */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --primary: #0284c7;
  --primary-dark: #075985;
  --accent: #f59e0b;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --success: #22c55e;
  --radius: 16px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ──────────────────────────────────────────────
   1. RESPONSIVE HEADER
──────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  height: 70px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.1rem; color: var(--primary-dark); }
.brand small { font-size: 0.75rem; color: var(--muted); }

/* Desktop Nav */
.navlinks { display: flex; gap: 24px; font-weight: 500; }
.navlinks a:hover { color: var(--primary); }

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

/* Mobile Menu & Hamburger */
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

@media (max-width: 900px) {
  .navlinks {
    position: fixed; top: 70px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; /* Hidden by default */
  }
  .navlinks.active { display: flex; } /* JavaScript toggles this */
  .hamburger { display: block; }
  .cta { display: none; } /* Hide large CTA on mobile to save space */
}

/* ──────────────────────────────────────────────
   2. HERO & GRIDS (Preventing Straight Lines)
──────────────────────────────────────────────── */
.hero { padding: 40px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid img { margin: 0 auto; }
  .search { margin: 20px auto 0; }
}

/* CATEGORY GRID - Keeps 2 columns on mobile */
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Desktop */
  gap: 20px;
  margin-top: 30px;
}

/* PRODUCT GRID - CRITICAL FIX */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 cols */
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 1024px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .pgrid { grid-template-columns: repeat(2, 1fr); } } 
/* Mobile: 2 Columns (NOT A STRAIGHT LINE) */
@media (max-width: 480px) { 
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; } 
  .container { padding: 0 12px; } /* More space for content */
}

/* ──────────────────────────────────────────────
   3. CARDS & BUTTONS
──────────────────────────────────────────────── */
.pcard {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s; position: relative;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--primary); }

.pimg { 
  height: 180px; background: #f1f5f9; 
  display: flex; align-items: center; justify-content: center;
}
.pimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;}

.pbody { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; }
.ptitle { font-size: 0.95rem; margin-bottom: 4px; line-height: 1.3; }
.pdesc { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.price-row { 
  margin-top: auto; /* Pushes price to bottom */
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; 
}
.price { font-weight: 700; color: var(--primary-dark); }

.pactions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.pbtn {
  padding: 8px; border-radius: 8px; border: none; font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.pbtn.primary { background: var(--primary); color: white; }
.pbtn.ghost { background: #f1f5f9; color: var(--text); }

/* ──────────────────────────────────────────────
   4. POPUP NOTIFICATION (Toast)
──────────────────────────────────────────────── */
.activity-toast {
  position: fixed;
  bottom: 90px; /* Above floating WhatsApp button */
  left: 20px;   /* Left side */
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 12px;
  z-index: 999;
  transform: translateX(-150%); /* Start hidden off-screen */
  transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.24, 1.28);
  border-left: 4px solid var(--success);
  max-width: 300px;
}

.activity-toast.show { transform: translateX(0); }

.toast-icon { font-size: 1.5rem; }
.toast-content { font-size: 0.85rem; line-height: 1.3; }
.toast-content strong { display: block; color: var(--text); }
.toast-content span { color: var(--muted); font-size: 0.75rem; }

/* ──────────────────────────────────────────────
   5. UTILITIES & FLOATING BUTTONS
──────────────────────────────────────────────── */
.btn { padding: 10px 20px; border-radius: 10px; border:none; font-weight: 600; cursor: pointer; display: inline-block;}
.btn.primary { background: var(--primary); color: white; }
.btn.soft { background: white; border: 1px solid var(--line); color: var(--text); }

.floating-wa {
  position: fixed; bottom: 20px; right: 20px;
  width: 56px; height: 56px; background: #25D366; color: white;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
}

/* ──────────────────────────────────────────────
   WORLD-CLASS FOOTER STYLES
──────────────────────────────────────────────── */
.site-footer {
  background: #0f172a; /* Dark Navy/Slate */
  color: #94a3b8; /* Soft Grey Text */
  padding: 60px 0 30px;
  margin-top: 60px;
  font-size: 0.9rem;
  border-top: 4px solid var(--primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr; /* Desktop Layout */
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

/* Brand Section */
.footer-desc {
  margin: 20px 0;
  line-height: 1.6;
  max-width: 300px;
}

/* Social Icons */
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  background: #1e293b; color: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.social-links .icon { width: 18px; height: 18px; fill: currentColor; }

/* Links Sections */
.footer-links h4, .footer-contact h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: #94a3b8; text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary); padding-left: 5px;
}

/* Contact Section */
.contact-list { list-style: none; padding: 0; }
.contact-list li {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 15px;
}
.contact-list span { font-size: 1.1rem; }

/* Bottom Bar */
.footer-bottom {
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* FOOTER RESPONSIVENESS */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr; /* 2 Columns on Tablet */
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr; /* 1 Column on Mobile */
    text-align: left;
  }
  .footer-desc { max-width: 100%; }
}

/* Quantity Counter Styles - Updated */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.85);
  width: fit-content;
  margin: 8px 0;
  min-height: 40px;
  align-self: flex-start;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.quantity-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.quantity-input {
  width: 40px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  outline: none;
  padding: 2px;
  min-width: 30px;
}

.quantity-input:focus {
  background: rgba(14, 165, 233, 0.1);
  border-radius: 6px;
}

/* Adjust the actions container to accommodate quantity selector */
.pactions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.quantity-eye-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pbtn {
  border: none;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 0.78125rem;
  transition: all 0.18s ease;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.pbtn.primary {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.92));
  color: #fff;
  box-shadow: var(--shadow-hover);
  flex: 1;
}

.pbtn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(2, 132, 199, 0.22);
}

.pbtn.ghost {
  width: 36px;
  height: 36px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--line);
  color: #0f172a;
  display: grid;
  place-items: center;
  align-self: center;
  flex: 0 0 auto;
    font-size: 0.8rem; /* Reduce font size of the eye emoji */

}

.pbtn.ghost:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.25);
  color: var(--primary);
}




/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .quantity-selector {
    width: 100%;
    justify-content: center;
  }
  
  .pactions {
    flex-direction: column;
    align-items: center;
  }
  
  .pbtn.ghost {
        width: 50px;
    height: 50px;
    margin-top: 8px; /* Add some top margin when stacked */
    align-self: center; /* Ensure it's centered */

  }
}