/* ===========================================================
   MERIDIAN COMMERCE — Sistema de diseño
   Inspirado en manifiestos de embarque / etiquetas de almacén:
   la estética del propio negocio de distribución.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --ink: #101B2D;
  --ink-soft: #0e2d64;
  --paper: #F5F3EE;
  --paper-2: #EDEAE1;
  --card: #FFFFFF;
  --line: #E1DDD0;

  --cargo: #FF6A1A;
  /* naranja carga — CTA, urgencia */
  --cargo-dark: #E0570C;
  --teal: #0E948B;
  /* verde-azul manifiesto — ahorro/descuento */
  --teal-dark: #0B756F;
  --stamp-red: #D53F3F;
  /* sello de oferta */
  --ok: #1E9E5A;
  --pending: #C98A12;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 10px rgba(16, 27, 45, .06);
  --shadow-lg: 0 12px 32px rgba(16, 27, 45, .14);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.12;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 600;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cargo);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- dashed "corte" divider (motivo de manifiesto) ---------- */
.cut-line {
  border: none;
  height: 0;
  border-top: 2px dashed var(--line);
  position: relative;
  margin: 0;
}

.cut-line::before,
.cut-line::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
}

.cut-line::before {
  left: -31px;
}

.cut-line::after {
  right: -31px;
}

/* ---------- sello / stamp ---------- */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px solid var(--stamp-red);
  color: var(--stamp-red);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.15;
  transform: rotate(-9deg);
  letter-spacing: .02em;
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, .92);
}

/* =============== HEADER =============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 243, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo .mark svg {
  width: 19px;
  height: 19px;
}

.logo span.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

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

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s;
}

nav.main-nav a:hover {
  color: var(--ink);
}

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

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, box-shadow .15s;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--cargo);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.btn-primary {
  background: var(--cargo);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 106, 26, .32);
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: .5;
  pointer-events: none;
}

/* =============== HERO =============== */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin: 14px 0 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--cargo);
}

.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 28px;
}

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

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  font-family: var(--font-display);
  font-size: 26px;
  display: block;
}

.hero-stats .stat span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- manifest card / carousel --- */
.manifest-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  margin-top: -260px;
}

.manifest-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1.5px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

.manifest-head b {
  color: var(--ink);
  font-weight: 700;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}

.carousel-slide {
  min-width: 100%;
  padding: 22px 22px 26px;
}

.carousel-slide img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  background: var(--paper-2);
}

.carousel-slide h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.carousel-slide .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 14px;
}

.carousel-slide .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: var(--cargo-dark);
}

.carousel-slide .price-old {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.carousel-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  padding: 0 0 18px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.carousel-dots button.active {
  background: var(--cargo);
  width: 20px;
  border-radius: 4px;
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  transform: translateY(-30px);
  pointer-events: none;
}

.carousel-arrows button {
  pointer-events: all;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============== SECTION HEADERS =============== */
.section {
  padding: 52px 0;
}

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

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 420px;
}

/* =============== PROMOS =============== */
.promo-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.promo-row::-webkit-scrollbar {
  height: 6px;
}

.promo-row::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.promo-card {
  scroll-snap-align: start;
  min-width: 250px;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 18px;
  position: relative;
  box-shadow: var(--shadow);
}

.promo-card .stamp {
  transform: rotate(9deg);
}

.promo-card h4 {
  font-size: 16px;
  margin: 4px 0 6px;
}

.promo-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.promo-card .code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--paper-2);
  display: inline-block;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: .05em;
  color: var(--teal-dark);
  font-weight: 600;
}

/* =============== CATALOGO =============== */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-toggle {
  display: inline-flex;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 24px;
}

.price-toggle button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.price-toggle button.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, transform .15s;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-card .thumb {
  height: 160px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .sku {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(16, 27, 45, .78);
  color: #fff;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: .04em;
}

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

.product-card .cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal-dark);
  font-weight: 600;
}

.product-card h4 {
  font-size: 15px;
  font-weight: 700;
  min-height: 38px;
}

.product-card .price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
}

.product-card .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
}

.product-card .unit {
  font-size: 11px;
  color: var(--ink-soft);
}

.qty-add {
  display: flex;
  gap: 8px;
  align-items: center;
}

.stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stepper button {
  width: 28px;
  height: 32px;
  background: var(--paper-2);
  font-weight: 700;
  font-size: 15px;
}

.stepper input {
  width: 34px;
  text-align: center;
  border: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  background: transparent;
}

.add-btn {
  flex: 1;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 0 10px;
  height: 32px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-btn:hover {
  background: var(--cargo);
}

/* =============== AHORROS / TIERS =============== */
.savings-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.savings-band h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.savings-band p {
  color: #B8C2D6;
  font-size: 13.5px;
  max-width: 380px;
}

.tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 10px 14px;
}

.tier .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cargo);
  flex-shrink: 0;
}

.tier .txt {
  font-size: 13px;
  flex: 1;
  color: #DCE3F0;
}

.tier .pct {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

/* =============== TESTIMONIOS / CONFIANZA =============== */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}

.trust-card svg {
  width: 26px;
  height: 26px;
  margin: 0 auto 10px;
  color: var(--teal-dark);
}

.trust-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
}

.trust-card span {
  font-size: 12px;
  color: var(--ink-soft);
}

/* =============== CART DRAWER =============== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 27, 45, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.65, 0, .35, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .18);
}

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

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

.drawer-head h3 {
  font-size: 18px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-item .info {
  flex: 1;
}

.cart-item .info h5 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

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

.cart-item .remove {
  font-size: 11.5px;
  color: var(--stamp-red);
  font-weight: 600;
}

.cart-item .lineprice {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}

.drawer-foot {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.sum-row.total {
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  font-family: var(--font-display);
  margin-top: 10px;
}

.discount-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: rgba(14, 148, 139, .1);
  color: var(--teal-dark);
  padding: 8px 10px;
  border-radius: 8px;
  margin: 10px 0;
  font-weight: 600;
}

.empty-cart {
  text-align: center;
  padding: 60px 10px;
  color: var(--ink-soft);
}

.empty-cart svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  opacity: .4;
}

/* =============== MODAL (checkout / login) =============== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 27, 45, .5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  width: 560px;
  max-width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}

.modal-head h3 {
  font-size: 19px;
}

.modal-body {
  padding: 24px;
}

.close-x {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--card);
  color: var(--ink);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.steps {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.steps .st {
  flex: 1;
  height: 4px;
  border-radius: 3px;
  background: var(--line);
}

.steps .st.done {
  background: var(--teal);
}

.steps .st.active {
  background: var(--cargo);
}

.pay-country-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.pay-country-toggle .opt {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  background: var(--card);
}

.pay-country-toggle .opt.active {
  border-color: var(--cargo);
  background: rgba(255, 106, 26, .06);
}

.pay-country-toggle .opt b {
  display: block;
  font-size: 14px;
  margin-top: 6px;
}

.pay-country-toggle .opt span {
  font-size: 11px;
  color: var(--ink-soft);
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.pay-method {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--card);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.pay-method.active {
  border-color: var(--teal);
  background: rgba(14, 148, 139, .07);
  color: var(--teal-dark);
}

.pay-method .ic {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.bank-detail {
  background: var(--card);
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.bank-detail .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--paper-2);
}

.bank-detail .row:last-child {
  border-bottom: none;
}

.bank-detail .row span:first-child {
  color: var(--ink-soft);
}

.bank-detail .row span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
}

.copy-btn {
  font-size: 11px;
  color: var(--teal-dark);
  font-weight: 700;
  margin-left: 8px;
}

/* ---- Galería de producto (modal, 4 fotos) ---- */
.prod-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
}

.prod-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 27, 45, .78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: .02em;
}

.prod-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .15s, color .15s;
}

.prod-gallery-arrow.left {
  left: 12px;
}

.prod-gallery-arrow.right {
  right: 12px;
}

.prod-gallery-arrow:hover {
  background: var(--cargo);
  color: #fff;
}

.prod-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.prod-thumb {
  width: 64px;
  height: 64px;
  border-radius: 9px;
  overflow: hidden;
  border: 2.5px solid transparent;
  padding: 0;
  background: var(--paper-2);
  opacity: .6;
  transition: opacity .15s, border-color .15s;
  flex-shrink: 0;
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-thumb.active {
  border-color: var(--cargo);
  opacity: 1;
}

.prod-thumb:hover {
  opacity: 1;
}

.prod-modal-info h3 {
  font-size: 20px;
  margin: 2px 0 8px;
}

.prod-modal-info .price-line {
  margin: 8px 0 16px;
}

.order-confirm {
  text-align: center;
  padding: 10px 0 6px;
}

.order-confirm .stamp-big {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--ok);
  color: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transform: rotate(-6deg);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
}

.order-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 6px 0 4px;
}

/* =============== FOOTER =============== */
footer {
  background: var(--ink);
  color: #B8C2D6;
  padding: 52px 0 28px;
  margin-top: 40px;
}

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

footer h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 14px;
}

footer ul li {
  margin-bottom: 9px;
  font-size: 13.5px;
}

footer .logo {
  color: #fff;
}

footer .logo .mark {
  background: #fff;
}

footer .logo .mark svg {
  color: var(--ink);
}

footer p.desc {
  font-size: 13px;
  margin-top: 12px;
  max-width: 280px;
  color: #8996AD;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7A879F;
  flex-wrap: wrap;
  gap: 10px;
}

/* =============== responsive =============== */
@media (max-width:920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .savings-band {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  nav.main-nav {
    display: none;
  }
}

@media (max-width:560px) {
  .trust-row {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .pay-methods {
    grid-template-columns: 1fr;
  }

  .drawer {
    width: 100%;
  }
}

/* =============== toast =============== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 200;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}