/* ============================================================
   JEBC PHARMA — 1000% RESPONSIVE ARCHITECTURE STYLESHEET
   Mobile-First, Fluid & Universal Cross-Device Optimization
   ============================================================ */

:root {
  --ice: #F6FAFF;
  --paper: #FFFFFF;
  --frost: #EAF2FD;
  --sky: #3B9BFF;
  --sky-ink: #1A63C7;
  --sky-soft: #C7DEF8;
  --sky-pale: #E7F1FE;
  --blue: #0E6FE8;
  --blue-dark: #0A55C2;
  --blue-deep: #083E92;
  --night: #061A33;
  --night-2: #04101F;
  --ink: #0D2138;
  --muted: #5B7392;
  --line: #D9E7F9;
  --ok: #1F7A43;
  --gold: #D4AF37;
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --sh-sm: 0 2px 10px rgba(10,38,79,.06);
  --sh-md: 0 18px 44px rgba(10,38,79,.12);
  --sh-lg: 0 30px 70px rgba(10,38,79,.18);
  --sh-blue: 0 12px 30px rgba(14,111,232,.28);
  --font-d: 'Montserrat', sans-serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= BASE RESET ================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--ice);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.locked {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  touch-action: manipulation;
}

/* iOS font-size 16px minimum prevents auto-zoom on focus */
input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-d);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

:focus-visible {
  outline: 2.5px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.ic {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Texturas de fondo globales */
.bg-light {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(820px 460px at 92% -4%, rgba(59,155,255,.14), transparent 62%),
    radial-gradient(700px 480px at -6% 30%, rgba(14,111,232,.05), transparent 60%),
    radial-gradient(640px 460px at 104% 82%, rgba(59,155,255,.10), transparent 62%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Kickers & Reglas */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-ink);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  border-radius: 2px;
  flex: none;
}

.rule {
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  margin-top: 14px;
}

.sec {
  padding: 84px 0;
  position: relative;
}

.sec-head {
  max-width: 680px;
  margin-bottom: 38px;
}

.sec-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  margin-top: 10px;
}

.sec-head p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.98rem;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-head.center .kicker {
  justify-content: center;
}

.sec-head.center .rule {
  margin-left: auto;
  margin-right: auto;
}

/* ================= BOTONES ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  border-radius: 12px;
  padding: 14px 24px;
  min-height: 48px;
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-blue {
  color: #fff;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: var(--sh-blue), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(14,111,232,.36), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-ice {
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  box-shadow: var(--sh-sm);
}

.btn-ice:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
  box-shadow: var(--sh-md);
}

.btn-night {
  color: #E6F2FF;
  background: transparent;
  border: 1.5px solid rgba(59,155,255,.55);
}

.btn-night:hover {
  background: rgba(59,155,255,.12);
  border-color: var(--sky);
}

.btn-white {
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.25), inset 0 1px 0 #fff;
}

.btn-white:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.76rem;
  min-height: 36px;
  border-radius: 9px;
}

.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* ================= ANNOUNCEMENT BAR ================= */
.announce {
  background: linear-gradient(90deg, var(--night-2), var(--night) 55%, #0C3567);
  color: #CBE1FD;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 8px 24px;
  flex-wrap: wrap;
}

.announce b {
  color: var(--sky);
  font-weight: 600;
}

.announce span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.announce .ic {
  width: 14px;
  height: 14px;
  color: var(--sky);
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246,250,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(10,38,79,.08);
  background: rgba(246,250,255,.96);
}

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

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #33507A;
  padding: 10px 14px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover, .nav a.active {
  color: var(--blue);
  background: var(--sky-pale);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  box-shadow: var(--sh-sm);
  transition: transform 0.2s var(--ease-spring), border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-btn:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
  box-shadow: var(--sh-md);
}

.cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(14,111,232,.35);
  transition: transform 0.3s var(--ease-spring);
}

.cart-count.pop {
  animation: pop 0.45s var(--ease-spring);
}

@keyframes pop {
  40% { transform: scale(1.45); }
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--sky-soft);
  background: var(--paper);
  place-items: center;
  color: var(--ink);
  flex: none;
}

.m-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(246,250,255,.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 0 16px;
}

.m-nav.open {
  display: block;
  animation: mNavOpen 0.25s var(--ease-smooth);
}

@keyframes mNavOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.m-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.m-nav a:last-child {
  border-bottom: none;
}

.m-nav a:active, .m-nav a.active {
  background: var(--sky-pale);
  color: var(--blue);
}

/* ================= PAGE HERO / BREADCRUMB ================= */
.page-hero {
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--sky-ink);
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 64ch;
  margin-top: 10px;
  font-size: 1rem;
}

/* ================= HOMEPAGE HERO & VISUAL ================= */
.hero {
  position: relative;
  padding: 72px 0 52px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(59,155,255,.28) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(760px 560px at 78% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 560px at 78% 40%, #000, transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-d);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sky-ink);
  background: rgba(255,255,255,.8);
  border: 1px solid var(--sky-soft);
  border-radius: 999px;
  padding: 8px 16px;
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-sm);
}

.hero-eyebrow .ic {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 10%, var(--blue-dark) 45%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  color: #47617F;
  max-width: 48ch;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .8rem;
  font-weight: 600;
  color: #33507A;
}

.mark .m-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  flex: none;
  background: linear-gradient(150deg, #fff, var(--sky-pale));
  border: 1px solid var(--sky-soft);
  box-shadow: var(--sh-sm);
}

.mark .m-ic .ic {
  width: 18px;
  height: 18px;
}

.mark small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: .7rem;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hv-glow {
  position: absolute;
  inset: 6% -4% 0 0;
  border-radius: 40px;
  background: radial-gradient(420px 320px at 62% 40%, rgba(59,155,255,.22), transparent 70%);
  filter: blur(4px);
}

.hv-panel {
  position: absolute;
  left: 6%;
  top: 6%;
  right: 14%;
  bottom: 20%;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(200,225,255,.9);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-md), inset 0 1px 0 #fff;
  overflow: hidden;
}

.hv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.hv-head b {
  font-family: var(--font-d);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--ink);
}

.hv-badge {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ok);
  background: rgba(31,122,67,.1);
  border: 1px solid rgba(31,122,67,.25);
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hv-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.hv-ecg {
  padding: 18px 10px 6px;
}

.hv-ecg svg {
  width: 100%;
  height: 100px;
  overflow: visible;
}

.ecg-base {
  stroke: rgba(59,155,255,.3);
  stroke-width: 1.5;
  fill: none;
}

.ecg-line {
  stroke: url(#ecgGrad);
  stroke-width: 2.6;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(14,111,232,.45));
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
  animation: ecg 4.2s linear infinite;
}

@keyframes ecg {
  0% { stroke-dashoffset: 920; }
  62% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -920; }
}

.hv-rows {
  padding: 6px 20px 18px;
  display: grid;
  gap: 8px;
}

.hv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .74rem;
  color: var(--muted);
}

.hv-row b {
  color: var(--ink);
  font-weight: 600;
}

.hv-row .dotline {
  flex: 1;
  margin: 0 10px;
  border-bottom: 1.5px dotted var(--sky-soft);
}

.hv-product {
  position: absolute;
  right: 0;
  top: 34%;
  width: 220px;
  border-radius: 18px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--sky-soft);
  box-shadow: var(--sh-md);
  animation: float-a 7s ease-in-out infinite;
}

.hv-product .hp-img {
  height: 120px;
  border-radius: 12px;
  background: var(--sky-pale);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.hv-product .hp-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hv-product .hp-cat {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sky-ink);
  text-transform: uppercase;
}

.hv-product b {
  display: block;
  font-family: var(--font-d);
  font-size: .84rem;
  margin: 2px 0 2px;
}

.hv-product span {
  font-size: .68rem;
  color: var(--muted);
}

.hv-seal {
  position: absolute;
  left: -2%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(150deg, var(--night), #114787);
  color: #D8E9FF;
  border: 1px solid rgba(59,155,255,.5);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 22px 46px rgba(4,18,40,.4);
  animation: float-b 8s ease-in-out infinite;
}

.hv-seal .seal {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--sky);
}

.hv-seal b {
  display: block;
  font-family: var(--font-d);
  font-size: .74rem;
  letter-spacing: .1em;
}

.hv-seal span {
  font-size: .64rem;
  color: rgba(216,233,255,.7);
}

@keyframes float-a { 50% { transform: translateY(-10px); } }
@keyframes float-b { 50% { transform: translateY(-8px); } }

/* ================= STATS SECTION ================= */
.stats {
  padding: 8px 0 4px;
}

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

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--sky-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(6px);
}

.stat .m-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  flex: none;
  background: linear-gradient(150deg, #fff, var(--sky-pale));
  border: 1px solid var(--sky-soft);
}

.stat b {
  display: block;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.stat span {
  font-size: .74rem;
  color: var(--muted);
}

/* ================= CATEGORIES RAIL ================= */
.cats .rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.cats .rail::-webkit-scrollbar {
  display: none;
}

.cat-card {
  scroll-snap-align: start;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--sky-soft);
  border-radius: var(--r-md);
  padding: 16px 14px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--sky);
}

.cat-card .c-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(150deg, var(--sky-pale), #fff);
  border: 1px solid var(--sky-soft);
  margin-bottom: 10px;
}

.cat-card b {
  display: block;
  font-family: var(--font-d);
  font-size: .8rem;
  line-height: 1.25;
}

.cat-card span {
  font-size: .68rem;
  color: var(--muted);
}

/* ================= PROMO ANIMATED BANNER ================= */
.promo {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  color: #EAF5FF;
  background:
    radial-gradient(560px 320px at 84% 8%, rgba(54,209,255,.22), transparent 62%),
    radial-gradient(480px 300px at 6% 96%, rgba(14,111,232,.30), transparent 62%),
    linear-gradient(125deg, #04101F 0%, #061A33 48%, #0B2E5C 100%);
  box-shadow: 0 38px 84px rgba(4,18,40,.45);
  padding: 56px 52px;
}

.promo-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  opacity: .4;
  pointer-events: none;
}

.promo-wave svg {
  width: 100%;
  height: 80px;
  overflow: visible;
}

.promo-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  z-index: 2;
}

.promo-copy .kicker {
  color: #8FE6FF;
}

.promo-copy .kicker::before {
  background: linear-gradient(90deg, #36D1FF, var(--blue));
}

.promo-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #F2F9FF;
  margin-top: 10px;
}

.promo-copy p {
  color: rgba(214,236,255,.72);
  margin: 12px 0 24px;
  font-size: .95rem;
  max-width: 46ch;
}

.promo-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-chips {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.promo-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 600;
  color: rgba(214,236,255,.8);
}

.promo-chips .ic {
  width: 15px;
  height: 15px;
  color: #5FD8FF;
}

.promo-art {
  position: relative;
  min-height: 280px;
}

.p-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%,-50%);
}

.p-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(95,216,255,.95) 82%, transparent 94%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  mask: radial-gradient(closest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  animation: p-spin 6.5s linear infinite;
  filter: drop-shadow(0 0 8px rgba(95,216,255,.7));
}

.p-ring.r2 {
  inset: -24px;
  animation-duration: 11s;
  animation-direction: reverse;
  opacity: .55;
}

.p-halo {
  position: absolute;
  inset: -42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54,209,255,.28), transparent 62%);
  animation: p-breathe 4.5s ease-in-out infinite;
}

@keyframes p-spin { to { transform: rotate(360deg); } }
@keyframes p-breathe { 50% { transform: scale(1.12); opacity: .75; } }

.p-shield {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.p-shield svg {
  width: 104px;
  height: 118px;
  filter: drop-shadow(0 0 18px rgba(95,216,255,.55));
  animation: p-breathe 4.5s ease-in-out infinite;
}

.cap {
  position: absolute;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(4,18,40,.5), inset 0 2px 5px rgba(255,255,255,.55);
  z-index: 3;
}

.cap.c1 {
  width: 66px;
  height: 25px;
  left: 6%;
  top: 14%;
  transform: rotate(-26deg);
  background: linear-gradient(90deg, #36D1FF 0 50%, #F2FAFF 50% 100%);
  animation: float-a 6s ease-in-out infinite;
}

.cap.c2 {
  width: 52px;
  height: 20px;
  right: 4%;
  top: 26%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, #0E6FE8 0 50%, #CBE7FF 50% 100%);
  animation: float-b 7.5s ease-in-out infinite;
}

.cap.c3 {
  width: 58px;
  height: 22px;
  left: 12%;
  bottom: 10%;
  transform: rotate(14deg);
  background: linear-gradient(90deg, #8FE6FF 0 50%, #FFFFFF 50% 100%);
  animation: float-a 8.5s ease-in-out infinite;
}

.cap.pillr {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  right: 12%;
  bottom: 6%;
  background: radial-gradient(circle at 34% 30%, #F2FAFF, #9CD6FF 58%, #3B9BFF);
  animation: float-b 6.8s ease-in-out infinite;
}

/* ================= QUALITY PANEL ================= */
.quality {
  padding: 0;
}

.q-panel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  color: #DFEDFF;
  background:
    radial-gradient(640px 340px at 86% 0%, rgba(14,111,232,.28), transparent 62%),
    radial-gradient(520px 320px at 4% 100%, rgba(59,155,255,.22), transparent 62%),
    linear-gradient(130deg, var(--night-2) 0%, var(--night) 52%, #10437F 100%);
  box-shadow: 0 38px 80px rgba(4,18,40,.4);
  padding: 60px 52px;
}

.q-head {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.q-head .kicker {
  color: var(--sky);
}

.q-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-top: 10px;
  color: #EFF6FF;
}

.q-head p {
  color: rgba(223,237,255,.65);
  max-width: 44ch;
  font-size: .92rem;
}

.q-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.q-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(59,155,255,.32);
  border-radius: var(--r-md);
  padding: 22px 20px;
  backdrop-filter: blur(6px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.q-card:hover {
  transform: translateY(-5px);
  border-color: var(--sky);
  background: rgba(255,255,255,.07);
}

.q-card .q-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--sky);
  background: rgba(59,155,255,.12);
  border: 1px solid rgba(59,155,255,.35);
  margin-bottom: 14px;
  box-shadow: 0 0 24px rgba(59,155,255,.18);
}

.q-card b {
  display: block;
  font-family: var(--font-d);
  font-size: .92rem;
  color: #EFF6FF;
  margin-bottom: 6px;
}

.q-card span {
  font-size: .78rem;
  color: rgba(223,237,255,.62);
}

/* ================= DOUBLE-BEZEL CARDS ================= */
.card-bezel {
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.card-bezel:hover {
  transform: translateY(-5px);
  border-color: var(--sky);
  box-shadow: var(--sh-md);
}

/* ================= PRODUCT CARDS ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.pc {
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease, border-color 0.3s ease;
}

.pc:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--sky);
}

.pc-media {
  position: relative;
  height: 184px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(180deg, #fff 30%, var(--sky-pale) 130%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.pc-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s var(--ease-smooth);
}

.pc:hover .pc-media img {
  transform: scale(1.06);
}

.pc-media .ph {
  width: 68px;
  height: 68px;
  color: var(--sky);
  opacity: .9;
}

.pc-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-ink);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--sky-soft);
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

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

.pc-body h3 {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pc-body h3 a:hover {
  color: var(--blue);
}

.pc-gen {
  font-size: 0.8rem;
  color: #47617F;
  font-weight: 500;
  margin-top: 2px;
}

.pc-pres {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 8px 0 14px;
}

.pc-pres .ic {
  width: 14px;
  height: 14px;
  color: var(--sky-ink);
}

.pc-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--sky-soft);
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  height: 40px;
}

.qty button {
  width: 32px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--sky-ink);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.qty button:hover {
  background: var(--sky-pale);
}

.qty button:active {
  background: var(--sky-soft);
}

.qty input {
  width: 38px;
  height: 40px;
  border: none;
  outline: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  background: none;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pc-add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border-radius: 11px;
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  background: linear-gradient(160deg, var(--blue), var(--blue-dark));
  box-shadow: 0 6px 16px rgba(14,111,232,.22), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform 0.18s var(--ease-spring), box-shadow 0.18s ease;
}

.pc-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(14,111,232,.32);
}

.pc-add:active {
  transform: scale(0.97);
}

.pc-add .ic {
  width: 15px;
  height: 15px;
}

/* ================= TOOLBAR & FILTERS ================= */
.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.searchbox {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--sky-soft);
  border-radius: 14px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.searchbox:focus-within {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(59,155,255,.16);
}

.searchbox .ic {
  color: var(--sky-ink);
}

.searchbox input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 0.92rem;
}

.searchbox input::placeholder {
  color: var(--muted);
}

.result-count {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.result-count b {
  color: var(--ink);
}

.pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.pills::-webkit-scrollbar {
  display: none;
}

.pill {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: #47638A;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--sky-soft);
  transition: all 0.2s ease;
  flex: none;
}

.pill:hover {
  border-color: var(--sky);
  color: var(--blue);
}

.pill.active {
  color: #fff;
  background: linear-gradient(150deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(14,111,232,.28);
}

/* ================= SINGLE PRODUCT PAGE ================= */
.single-prod-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 32px 0 64px;
}

.sp-gallery {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  border-radius: var(--r-xl);
  padding: 32px;
  display: grid;
  place-items: center;
  min-height: 420px;
  box-shadow: var(--sh-md);
}

.sp-gallery img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s var(--ease-smooth);
}

.sp-gallery:hover img {
  transform: scale(1.04);
}

.sp-details {
  display: flex;
  flex-direction: column;
}

.sp-details .kicker {
  margin-bottom: 10px;
}

.sp-details h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 8px;
}

.sp-generic {
  font-size: 1.12rem;
  color: var(--sky-ink);
  font-weight: 600;
  margin-bottom: 18px;
}

.sp-desc-box {
  background: var(--sky-pale);
  border: 1px solid var(--sky-soft);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-bottom: 22px;
}

.sp-desc-box p {
  color: #314C6B;
  font-size: 0.94rem;
  line-height: 1.6;
}

.sp-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.sp-spec-item {
  background: #fff;
  border: 1px solid var(--sky-soft);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}

.sp-spec-item small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sp-spec-item b {
  font-size: 0.88rem;
  color: var(--ink);
  margin-top: 3px;
  display: block;
}

.sp-order-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 8px;
}

.sp-order-row .qty {
  height: 48px;
}

.sp-order-row .qty button {
  width: 42px;
  height: 48px;
  font-size: 1.1rem;
}

.sp-order-row .qty input {
  width: 52px;
  height: 48px;
  font-size: 1rem;
}

.sp-order-row .btn {
  flex: 1;
  min-width: 200px;
  min-height: 48px;
}

/* ================= ABOUT / MISSION / VISION ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.mv-card {
  background: var(--paper);
  border: 1px solid var(--sky-soft);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}

.mv-card + .mv-card {
  margin-top: 16px;
}

.mv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--sky));
}

.mv-card .kicker {
  margin-bottom: 8px;
}

.mv-card p {
  font-size: 0.92rem;
  color: #3C5878;
}

.rif-plate {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(150deg, var(--night), #114787);
  color: #D3E6FF;
  border: 1px solid rgba(59,155,255,.5);
  border-radius: var(--r-md);
  padding: 16px 20px;
}

.rif-plate .seal {
  width: 38px;
  height: 38px;
  flex: none;
}

.rif-plate b {
  display: block;
  font-family: var(--font-d);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.rif-plate span {
  font-size: 0.72rem;
  color: rgba(239,220,187,.65);
}

/* ================= CONTACT PAGE ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.c-info-card {
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--sh-md);
}

.c-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.c-item:last-child {
  border-bottom: none;
}

.c-item .c-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sky-pale);
  border: 1px solid var(--sky-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
  flex: none;
}

.c-item b {
  font-size: 0.86rem;
  display: block;
}

.c-item span, .c-item a {
  font-size: 0.9rem;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.c-form-card {
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  border-radius: var(--r-xl);
  padding: 32px 30px;
  box-shadow: var(--sh-md);
}

/* ================= DRAWER & CART ================= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3,12,26,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(440px, 100%);
  background: var(--ice);
  box-shadow: -30px 0 70px rgba(4,18,40,.3);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.38s var(--ease-spring);
}

.drawer.open {
  transform: none;
}

.d-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
}

.d-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.d-head h3 .ic {
  color: var(--blue);
}

.d-close {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--sky-soft);
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.d-close:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.d-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px;
}

.d-empty {
  text-align: center;
  padding: 60px 10px;
  color: var(--muted);
}

.d-empty .ic {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--sky);
}

.d-empty b {
  display: block;
  font-family: var(--font-d);
  color: var(--ink);
  margin-bottom: 6px;
}

.cd-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--sky-soft);
  border-radius: var(--r-sm);
  padding: 12px;
  margin-bottom: 10px;
}

.cd-thumb {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  background: var(--sky-pale);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cd-thumb .ph {
  width: 32px;
  height: 32px;
  color: var(--sky);
}

.cd-info b {
  display: block;
  font-family: var(--font-d);
  font-size: 0.82rem;
}

.cd-info span {
  font-size: 0.72rem;
  color: var(--muted);
}

.cd-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cd-side .qty {
  transform: scale(0.88);
  transform-origin: right;
}

.cd-remove {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.cd-remove:hover {
  color: var(--blue);
}

.cd-remove .ic {
  width: 13px;
  height: 13px;
}

.d-foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px 22px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}

.d-sum {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.d-sum b {
  color: var(--ink);
}

.d-note {
  font-size: 0.68rem;
  color: var(--muted);
  margin: 8px 0 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.d-note .ic {
  width: 14px;
  height: 14px;
  color: var(--sky-ink);
  margin-top: 2px;
}

.d-foot .btn {
  width: 100%;
}

.d-clear {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.d-clear:hover {
  color: var(--blue);
}

/* ================= MODAL CHECKOUT ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(880px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--ice);
  border: 1px solid var(--sky-soft);
  border-radius: 24px;
  box-shadow: 0 50px 110px rgba(4,18,40,.45);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease-spring);
}

.modal.show .modal-card {
  transform: none;
}

.mc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(246,250,255,.96);
  backdrop-filter: blur(8px);
  border-radius: 24px 24px 0 0;
  z-index: 2;
}

.mc-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.mc-head p {
  font-size: 0.76rem;
  color: var(--muted);
}

.mc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}

.mc-form {
  padding: 24px 26px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-ink);
  margin-bottom: 6px;
}

.field label i {
  font-style: normal;
  color: var(--blue);
}

.field input, .field textarea, .field select {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--sky-soft);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(59,155,255,.15);
}

.field input.err, .field textarea.err {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14,111,232,.12);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mc-side {
  border-left: 1px solid var(--line);
  padding: 24px 26px;
  background: rgba(234,242,253,.45);
  border-radius: 0 0 24px 0;
  display: flex;
  flex-direction: column;
}

.mc-side h4 {
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sky-ink);
  margin-bottom: 12px;
}

.mc-items {
  flex: 1;
  overflow-y: auto;
  max-height: 260px;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.mc-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  background: #fff;
  border: 1px solid var(--sky-soft);
  border-radius: 9px;
  padding: 10px 12px;
}

.mc-item b {
  font-weight: 700;
}

.mc-item span {
  color: var(--muted);
  white-space: nowrap;
}

.mc-totals {
  border-top: 1.5px dashed var(--sky-soft);
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.mc-totals b {
  color: var(--ink);
}

.mc-totals .row {
  display: flex;
  justify-content: space-between;
}

.mc-side .btn {
  width: 100%;
}

.mc-alt {
  margin-top: 10px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ================= TOAST NOTIFICATIONS ================= */
.toast-zone {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  display: grid;
  gap: 8px;
  width: min(420px, 92vw);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--night);
  color: #E4F0FF;
  border: 1px solid rgba(59,155,255,.5);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 20px 46px rgba(4,18,40,.45);
  animation: toast-in 0.35s var(--ease-spring);
  pointer-events: auto;
}

.toast .ic {
  width: 17px;
  height: 17px;
  color: var(--sky);
}

.toast.out {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px); }
}

/* ================= PROCESS STEPS ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  margin-top: 20px;
}

.step {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--sky-soft);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--sky);
}

.step .n {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(160deg, var(--sky) 0%, var(--sky-soft) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.step .s-ic {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(150deg, var(--sky-pale), #fff);
  border: 1px solid var(--sky-soft);
  box-shadow: var(--sh-sm);
}

.step .s-ic .ic {
  width: 20px;
  height: 20px;
}

/* ================= CTA BANDS & DARK PANELS ================= */
.cta-band {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(520px 300px at 12% 0%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(130deg, var(--blue-deep) 0%, var(--blue) 55%, #35B5FF 120%);
  padding: 56px 28px;
  box-shadow: 0 30px 70px rgba(14,111,232,.35);
}

.cta-band h2,
.promo-copy h2,
.q-head h2,
.card-bezel.dark h2,
.card-bezel h2.text-white {
  color: #FFFFFF !important;
}

.cta-band p {
  color: rgba(255,255,255,.9) !important;
}

/* ================= FOOTER ================= */
footer {
  position: relative;
  color: #BDD8F6;
  overflow: hidden;
  background:
    radial-gradient(680px 320px at 10% 0%, rgba(14,111,232,.18), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: radial-gradient(rgba(190,220,255,.55) 1px, transparent 1.4px);
  background-size: 26px 26px;
}

.foot-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding: 56px 0 38px;
}

.f-brand .brand-name {
  color: #E4F0FF;
}

.f-brand .brand-name small {
  color: var(--sky);
}

.f-brand p {
  font-size: 0.84rem;
  color: rgba(189,216,246,.62);
  max-width: 30ch;
  margin-top: 12px;
}

.f-col b {
  display: block;
  font-family: var(--font-d);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--sky);
  margin-bottom: 14px;
}

.f-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(189,216,246,.68);
  padding: 5px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.f-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.f-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: rgba(189,216,246,.72);
  padding: 5px 0;
  list-style: none;
}

.f-contact .ic {
  width: 16px;
  height: 16px;
  color: var(--sky);
  margin-top: 2px;
}

.foot-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(59,155,255,.22);
  padding: 18px 0 24px;
  font-size: 0.76rem;
  color: rgba(189,216,246,.5);
}

/* ================= RESPONSIVE: TABLET & DESKTOP MEDIUM (<= 1080px) ================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 440px; max-width: 540px; margin: 0 auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: repeat(2, 1fr); }
  .q-panel { padding: 44px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .single-prod-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .mc-grid { grid-template-columns: 1fr; }
  .mc-side { border-left: none; border-top: 1px solid var(--line); border-radius: 0 0 24px 24px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

/* ================= RESPONSIVE: PHONES & MOBILE (<= 680px) ================= */
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 52px 0; }
  
  .announce .wrap { gap: 10px; font-size: 0.68rem; padding: 7px 12px; }
  .announce span:nth-child(3) { display: none; }
  
  .header-in { padding: 10px 0; }
  .brand img { height: 34px; }
  .cart-btn { padding: 8px 12px; }
  .cart-btn span.lbl { display: none; }
  
  /* Hero Mobile */
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: clamp(1.85rem, 6.5vw, 2.4rem); margin-bottom: 14px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 22px; }
  .hero-cta { flex-direction: column; width: 100%; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-marks { gap: 10px; }
  .mark { width: 100%; }
  .hero-visual { min-height: 400px; max-width: 100%; transform: scale(0.95); transform-origin: top center; }
  .hv-product { width: 190px; right: -5px; }
  
  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  
  /* Product Cards 2-col on mobile */
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pc { border-radius: 13px; }
  .pc-media { height: 140px; padding: 10px; }
  .pc-cat { font-size: 0.52rem; padding: 3px 7px; top: 8px; left: 8px; }
  .pc-body { padding: 12px 10px 14px; }
  .pc-body h3 { font-size: 0.86rem; }
  .pc-gen { font-size: 0.74rem; }
  .pc-pres { font-size: 0.68rem; margin: 6px 0 10px; }
  .pc-foot { flex-direction: column; gap: 7px; align-items: stretch; width: 100%; }
  .qty { width: 100%; justify-content: space-between; height: 36px; }
  .qty button { width: 34px; height: 36px; font-size: 1rem; }
  .qty input { flex: 1; height: 36px; font-size: 0.85rem; }
  .pc-add { width: 100%; height: 36px; font-size: 0.74rem; }
  
  /* Promo Banner */
  .promo { padding: 32px 18px; border-radius: 20px; }
  .promo-grid { gap: 24px; }
  .promo-copy h2 { font-size: 1.45rem; }
  .promo-copy p { font-size: 0.88rem; margin: 10px 0 18px; }
  .promo-cta { flex-direction: column; width: 100%; gap: 10px; }
  .promo-cta .btn { width: 100%; }
  .promo-art { min-height: 200px; transform: scale(0.82); }
  .cap.c3 { display: none; }
  
  /* Process Steps */
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 24px 20px; border-radius: 18px; }
  .step .n { font-size: 2.6rem; }
  
  /* Quality Panel */
  .q-panel { padding: 34px 18px; border-radius: 20px; }
  .q-head h2 { font-size: 1.45rem; }
  .q-grid { grid-template-columns: 1fr; gap: 10px; }
  .q-card { padding: 18px 16px; }
  
  /* CTA Band */
  .cta-band { padding: 36px 18px; border-radius: 20px; }
  .cta-band h2 { font-size: 1.45rem; }
  .cta-band p { font-size: 0.88rem; }
  
  /* Single Product */
  .sp-gallery { min-height: 260px; padding: 18px; border-radius: 18px; }
  .sp-gallery img { max-height: 220px; }
  .sp-details h1 { font-size: 1.55rem; }
  .sp-generic { font-size: 0.95rem; }
  .sp-specs { grid-template-columns: 1fr; gap: 8px; }
  .sp-order-row { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
  .sp-order-row .qty { width: 100%; justify-content: space-between; }
  .sp-order-row .btn { width: 100%; }
  
  /* Drawer Full-Width on Mobile */
  .drawer { width: 100% !important; max-width: 100% !important; }
  
  /* Modal Checkout */
  .modal { padding: 8px; }
  .modal-card { width: 100% !important; border-radius: 18px; max-height: 95vh; }
  .mc-head { padding: 16px 18px; border-radius: 18px 18px 0 0; }
  .mc-form { padding: 16px 18px; }
  .mc-side { padding: 16px 18px; }
  .f-row { grid-template-columns: 1fr; }
  
  /* Footer */
  .foot-in { grid-template-columns: 1fr; gap: 22px; padding: 36px 0 20px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ================= EXTRA SMALL SCREENS (<= 380px) ================= */
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .pc-media { height: 170px; }
}

/* ================= ACCESSIBILITY: REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
