/* ============================================================
   FARMACIA SAN PABLO — styles.css
   ============================================================ */

/* ---------- RESET & VARIABLES ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input { font-family: inherit; }

:root {
  /* ── Paleta de marca Farmacova ──────────────────────────
     Los tonos "ink" son el MISMO color de marca oscurecido
     hasta pasar contraste AA (4.5:1) sobre blanco. Se usan
     para texto y para botones con letra blanca.
     El celeste y el lima puros no sirven para texto:
     dan 2.98:1 y 1.60:1 sobre blanco.
     ──────────────────────────────────────────────────────*/
  --blue:        #3A9DDE;  /* celeste de marca — rellenos */
  --blue-ink:    #1F7CBA;  /* celeste oscuro — texto y botones */
  --blue-dark:   #053B57;  /* azul marino de marca */
  --blue-xdark:  #032A3E;
  --blue-light:  #E8F4FC;
  --topbar-bg:   #053B57;
  --red:         #e53935;
  --red-btn:     #f44336;
  --orange:      #f4511e;
  --green:       #C2D82B;  /* verde lima de marca — rellenos */
  --green-ink:   #707D17;  /* lima oscuro — texto y botones */
  --green-dark:  #5C6813;  /* lima aun mas oscuro — hover de botones */
  --cyan:        #3A9DDE;
  --celeste:     #8FC9EC;
  --text:        #333;
  --text-mid:    #555;
  --text-soft:   #888;
  --border:      #e0e0e0;
  --bg:          #f5f5f5;
  --white:       #fff;
  --max-w:       1280px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

/* ---------- CONTAINER ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ---------- IMAGE SLOTS ----------
   Placeholders hasta que el usuario suba sus imágenes.
   Cuando el archivo existe, la imagen cubre el placeholder.
   -------------------------------------------- */
.slot {
  position: relative;
  background: #d4e8f7;
  border: 2px dashed #90bbd6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s;
  z-index: 1;
}
.slot img.loaded { opacity: 1; }
.slot-label {
  font-size: 11px;
  color: #5f92ad;
  text-align: center;
  line-height: 1.8;
  padding: 10px;
  pointer-events: none;
  user-select: none;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }
.fade-up.d5 { transition-delay: .5s; }

/* ---------- SECTION TITLE ---------- */
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

/* ============================================================
   1. BARRA PROMO (arriba de todo)
   ------------------------------------------------------------
   Degradado celeste -> lima de la marca. El texto va en azul
   marino porque el blanco no pasa contraste sobre el lima.
   ============================================================ */
.promo-bar {
  position: relative;
  background: linear-gradient(90deg, #8FC9EC 0%, #A9D48E 55%, #C2D82B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 52px;
}
.promo-bar.oculta { display: none; }

.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.promo-bar-text {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 500;
}
.promo-bar-btn {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity .15s;
}
.promo-bar-btn:hover { opacity: .7; }

.promo-bar-close {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  opacity: .65;
  transition: opacity .15s, background .15s;
}
.promo-bar-close:hover { opacity: 1; background: rgba(3,42,62,.08); }

/* ============================================================
   2. HEADER (sticky)
   ============================================================ */
.main-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}

/* - Fila 1: Logo / Categorias / Buscador / Acciones - */
.header-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 116px;   /* 78px + 1cm */
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Logo */
.logo-wrap { flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 62px; width: auto; display: block; }

/* - Menu de Categorias - */
.cat-menu-wrap { position: relative; flex-shrink: 0; }

.cat-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background .15s;
}
.cat-menu-btn:hover { background: rgba(0,0,0,.05); }

.cat-menu-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.cat-menu-btn:hover .cat-menu-icon { background: #B0C526; }
.cat-menu-icon svg {
  width: 23px; height: 23px;
  stroke: var(--blue-dark);
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
}

.cat-menu-lbl {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  text-align: left;
  white-space: nowrap;
}

/* Panel desplegable de categorias */
.cat-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(3,42,62,.16);
  padding: 8px;
  z-index: 700;
}
.cat-menu-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: background .15s, color .15s;
}
.cat-menu-panel a:hover { background: var(--blue-light); color: var(--blue-ink); }
.cat-menu-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.cat-menu-ico svg {
  width: 18px; height: 18px;
  stroke: var(--blue-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.cat-menu-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.cat-menu-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}

/* - Buscador - */
.header-search {
  flex: 1;
  min-width: 0;
  max-width: 640px;
  display: flex;
  align-items: center;
  border: 1.5px solid #B5DCF2;
  border-radius: 8px;
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.header-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58,157,222,.15);
}
.header-search input {
  flex: 1;
  min-width: 0;
  height: 54px;
  border: none;
  background: none;
  padding: 0 8px 0 18px;
  font-size: 15px;
  outline: none;
  color: var(--text);
}
.header-search input::placeholder { color: #9e9e9e; }
.search-btn {
  width: 54px;
  height: 54px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0 7px 7px 0;
  transition: background .15s;
}
.search-btn:hover { background: var(--blue-light); }
.search-btn svg {
  width: 21px; height: 21px;
  stroke: var(--blue-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}

/* - Acciones del header - */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.h-act {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: var(--text);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: none;
  transition: background .15s;
  text-align: left;
  font-family: inherit;
}
.h-act:hover { background: rgba(0,0,0,.05); }
.h-act svg {
  width: 27px; height: 27px;
  stroke: var(--blue-ink);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.h-act .h-act-pin { fill: var(--blue-ink); stroke: none; }

.h-act-lbl {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.h-act-lbl small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-mid);
  display: block;
}
.h-act-caret { font-size: 10px; color: var(--text-soft); }

/* Sucursal en el header */
.h-act-suc .suc-chip-text {
  display: block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.h-act-suc.sin-elegir .h-act-lbl { color: var(--blue-ink); font-weight: 700; }

/* Carrito */
.h-act-cart { position: relative; padding: 8px 12px; }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* - Fila 2: barra azul marino - */
.subnav {
  background: var(--blue-dark);
}
.subnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.subnav-suc {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  padding: 6px 10px 6px 0;
  border-radius: 6px;
  transition: opacity .15s;
}
.subnav-suc:hover { opacity: .75; }
.subnav-suc svg { width: 15px; height: 15px; fill: var(--green); flex-shrink: 0; }
.subnav-suc .suc-chip-text {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.subnav-suc-arrow { font-size: 16px; opacity: .7; }

.subnav-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  flex-wrap: wrap;
}
.sn-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  transition: color .15s;
}
.sn-item svg { width: 14px; height: 14px; fill: currentColor; opacity: .8; flex-shrink: 0; }
.tb-phone a { color: #fff; font-weight: 700; }
.tb-phone a:hover { text-decoration: underline; }


/* ============================================================
   4. HERO: dos banners independientes (70% / 30%)
   ------------------------------------------------------------
   Los dos comparten altura para que queden alineados, pero cada
   uno corre su propio ciclo con su propio temporizador.
   ============================================================ */
.hero-section {
  background: var(--white);
}

/* De borde a borde: sin contenedor, sin separacion y sin
   redondeos, para que los dos lean como una sola franja. */
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 0;
  --hero-alto: clamp(240px, 26vw, 420px);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--blue-light);
}

.hero-track-wrap { overflow: hidden; }

.hero-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.hero-slide {
  min-width: 100%;
  flex-shrink: 0;
}
.hero-slide a { display: block; }

.hero-slot {
  width: 100%;
  height: var(--hero-alto);
  border: none;
  border-radius: 0;
  background: var(--blue-light);
}
.hero-slot img { object-fit: cover; }

/* Flechas circulares, dentro del banner */
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .85);
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(3, 42, 62, .2);
  opacity: 0;
  transition: opacity .18s, background .15s;
}
.hero-slider:hover .hero-btn { opacity: 1; }
.hero-btn:focus-visible { opacity: 1; }
.hero-btn:hover { background: #fff; }
.hero-btn.prev { left: 12px; }
.hero-btn.next { right: 12px; }

/* En pantallas tactiles no hay hover: se dejan siempre visibles */
@media (hover: none) {
  .hero-btn { opacity: .9; }
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: background .18s, width .18s;
}
.hero-dot.active { background: #fff; width: 22px; }

/* El lateral es mas angosto: menos adornos para que respire */
.hero-lateral .hero-btn { width: 32px; height: 32px; font-size: 19px; }
.hero-lateral .hero-btn.prev { left: 8px; }
.hero-lateral .hero-btn.next { right: 8px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; --hero-alto: clamp(200px, 44vw, 320px); }
}

@media (max-width: 480px) {
  .hero-grid { --hero-alto: clamp(170px, 48vw, 250px); }
  .hero-btn { width: 32px; height: 32px; font-size: 19px; }
}

/* ============================================================
   5. TIRA DE CATEGORIAS (circulos)
   ------------------------------------------------------------
   Navegacion principal por categoria. Se alimenta de la
   coleccion `categoriasNav`, la misma que usa el desplegable
   del boton "Menu de Categorias" del header.
   ============================================================ */
.cat-nav-section {
  background: var(--white);
  padding: 26px 0 22px;
}

.cat-nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cat-nav-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
  flex: 1;
}
.cat-nav-track::-webkit-scrollbar { display: none; }

.cat-nav-item {
  flex: 1 0 auto;
  min-width: 104px;
  max-width: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: 12px;
  transition: background .15s;
}
.cat-nav-item:hover { background: rgba(58,157,222,.06); }

.cat-nav-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: background .18s, transform .18s;
}
.cat-nav-item:hover .cat-nav-circle {
  background: #D3E9F8;
  transform: translateY(-3px);
}
.cat-nav-circle svg {
  width: 40px;
  height: 40px;
  stroke: var(--blue-ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.cat-nav-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Variante destacada: circulo lima, para marcas propias o
   promos que deben resaltar dentro de la tira. */
.cat-nav-item.destacada .cat-nav-circle { background: var(--green); }
.cat-nav-item.destacada:hover .cat-nav-circle { background: #B0C526; }
.cat-nav-item.destacada .cat-nav-circle svg { stroke: var(--blue-dark); }

.cat-nav-lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.35;
}
.cat-nav-item:hover .cat-nav-lbl { color: var(--blue-ink); }

/* Flechas: solo aparecen si la tira no cabe */
.cat-nav-arrow {
  position: absolute;
  top: 34px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(3,42,62,.14);
  color: var(--blue-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, opacity .15s;
}
.cat-nav-arrow:hover { background: var(--blue-light); }
.cat-nav-arrow.prev { left: -8px; }
.cat-nav-arrow.next { right: -8px; }
.cat-nav-arrow[hidden] { display: none; }

@media (max-width: 768px) {
  .cat-nav-section { padding: 18px 0 14px; }
  .cat-nav-item { min-width: 88px; gap: 8px; }
  .cat-nav-circle { width: 68px; height: 68px; }
  .cat-nav-circle svg { width: 33px; height: 33px; }
  .cat-nav-lbl { font-size: 12px; }
  .cat-nav-arrow { top: 26px; width: 30px; height: 30px; font-size: 18px; }
}

@media (max-width: 480px) {
  .cat-nav-item { min-width: 78px; }
  .cat-nav-circle { width: 60px; height: 60px; }
  .cat-nav-circle svg { width: 29px; height: 29px; }
  .cat-nav-lbl { font-size: 11.5px; }
  .cat-nav-arrow { display: none; }
}

/* ============================================================
   5b. IMPERDIBLES DEL MES
   ------------------------------------------------------------
   Tarjetas de oferta sobre lima pastel. El ahorro se calcula
   solo (normal - oferta), no es un campo del admin.
   ============================================================ */
.imperdibles-section { background: var(--white); }

.imperdibles-title {
  font-size: 27px;
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 34px;
  position: relative;
  padding-bottom: 14px;
}
.imperdibles-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 4px;
  border-radius: 2px;
  background: var(--green);
}

.imperdibles-wrap { position: relative; }

.imperdibles-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
  scroll-snap-type: x mandatory;
}
.imperdibles-track::-webkit-scrollbar { display: none; }

.imp-card {
  position: relative;
  flex: 0 0 calc(25% - 14px);
  min-width: 220px;
  scroll-snap-align: start;
  background: #F1F7D8;
  border-radius: 16px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.imp-card:hover {
  box-shadow: 0 10px 26px rgba(3, 42, 62, .13);
  transform: translateY(-4px);
}

/* Porcentaje en la esquina, calculado con los dos precios */
.imp-dto {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 8px;
}
.imp-dto b { font-size: 17px; letter-spacing: -.5px; }
.imp-dto i { font-size: 10px; font-style: normal; margin-top: 1px; }

.imp-img {
  width: 100%;
  height: 160px;
  background: none;
  border: none;
  margin-bottom: 14px;
}
.imp-img .slot-label { color: #8a9a5b; }
.imp-img img { object-fit: contain; }

.imp-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 5px;
}

.imp-desc {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 10px;
}

.imp-normal {
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: line-through;
  line-height: 1.3;
}

.imp-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}

.imp-btn {
  margin-top: auto;
  background: var(--green-ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 20px;
  transition: background .15s;
}
.imp-btn:hover { background: var(--green-dark); }

/* Flechas: solo si el carrusel desborda */
.imperdibles-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-ink);
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(3,42,62,.22);
  transition: background .15s;
}
.imperdibles-arrow:hover { background: var(--green-dark); }
.imperdibles-arrow.prev { left: -16px; }
.imperdibles-arrow.next { right: -16px; }
.imperdibles-arrow[hidden] { display: none; }

@media (max-width: 1024px) {
  .imp-card { flex-basis: calc(33.333% - 12px); }
}

@media (max-width: 768px) {
  .imperdibles-title { font-size: 22px; margin-bottom: 26px; }
  .imp-card { flex-basis: calc(50% - 9px); min-width: 200px; padding: 16px 13px 18px; }
  .imp-price { font-size: 23px; }
  .imp-img { height: 130px; }
  .imperdibles-arrow { width: 36px; height: 36px; font-size: 20px; }
  .imperdibles-arrow.prev { left: -6px; }
  .imperdibles-arrow.next { right: -6px; }
}

@media (max-width: 480px) {
  .imp-card { flex-basis: 84%; min-width: 0; }
  .imperdibles-arrow { display: none; }
}

/* ============================================================
   5c. BOTON DE ACCION
   ------------------------------------------------------------
   Sobrevive al banner del Plan Paciente porque lo usa el boton
   "Ver todo el catalogo" de catalogo.html.
   ============================================================ */
.plan-btn {
  display: inline-block;
  background: var(--green-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 42px;
  border-radius: 26px;
  transition: background .15s, transform .15s;
}
.plan-btn:hover { background: var(--green-dark); transform: translateY(-2px); }
.plan-btn[hidden] { display: none; }

@media (max-width: 768px) {
  .plan-btn { font-size: 14px; padding: 12px 32px; }
}

@media (max-width: 480px) {
  .plan-btn { width: 100%; padding: 13px 20px; }
}

/* ============================================================
   7. OFERTAS DEL MES (carrusel de productos)
   ------------------------------------------------------------
   Se alimenta de productosWeb: los productos marcados con
   "Mostrar en Ofertas" en el panel admin. No es una coleccion
   aparte, para no cargar el mismo producto dos veces.
   ============================================================ */
.ofertas-section { background: var(--white); }

.ofertas-title {
  font-size: 27px;
  font-weight: 800;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 14px;
}
.ofertas-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 4px;
  border-radius: 2px;
  background: var(--green);
}

.ofertas-wrap { position: relative; }

.ofertas-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px;
  scroll-snap-type: x mandatory;
}
.ofertas-track::-webkit-scrollbar { display: none; }

.of-card {
  position: relative;
  flex: 0 0 calc(20% - 13px);
  min-width: 214px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.of-card:hover {
  border-color: #cfe4d0;
  box-shadow: 0 10px 26px rgba(3, 42, 62, .12);
  transform: translateY(-3px);
}

.of-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 1px;
}
.of-badge small { font-size: 9px; font-weight: 700; margin-top: 1px; }

.of-img { display: block; margin-bottom: 14px; }
.of-img .slot {
  height: 150px;
  background: none;
  border: none;
  border-radius: 8px;
}
.of-img img { object-fit: contain; }

.of-lab {
  font-size: 10.5px;
  font-style: italic;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.4;
  margin-bottom: 3px;
  min-height: 15px;
}

.of-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
}
a.of-name:hover { color: var(--blue-ink); }

.of-normal {
  font-size: 12.5px;
  color: var(--text-soft);
  text-decoration: line-through;
  line-height: 1.4;
}
.of-normal span { text-decoration: none; display: inline-block; }
.of-normal:empty { display: none; }

.of-price {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 19px;
  font-weight: 800;
  color: var(--green-ink);
  line-height: 1.2;
  margin: 2px 0 10px;
}
.of-ahora {
  background: var(--green);
  color: var(--blue-dark);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.of-modos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.of-modo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-mid);
}
.of-modo svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-ink);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.of-pum {
  font-size: 10.5px;
  color: var(--text-soft);
  line-height: 1.4;
  margin-bottom: 14px;
}

.of-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--green-ink);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s;
}
.of-btn:hover { background: var(--green-dark); }
.of-btn.added { background: #2e7d32; }
.of-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Flechas */
.ofertas-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-ink);
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(3, 42, 62, .22);
  transition: background .15s;
}
.ofertas-arrow:hover { background: var(--green-dark); }
.ofertas-arrow.prev { left: -14px; }
.ofertas-arrow.next { right: -14px; }
.ofertas-arrow[hidden] { display: none; }

/* Puntos */
.ofertas-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}
.ofertas-dots:empty { display: none; }

.ofertas-vertodo { text-align: center; margin-top: 18px; }
.ver-todo-link {
  display: inline-block;
  color: var(--green-ink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.ver-todo-link:hover { color: var(--green-dark); border-color: var(--green); }
.of-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  padding: 0;
  background: #cfd8dc;
  cursor: pointer;
  transition: background .18s, width .18s;
}
.of-dot.activo { background: var(--green-ink); width: 22px; }

@media (max-width: 1024px) {
  .of-card { flex-basis: calc(33.333% - 11px); }
}

@media (max-width: 768px) {
  .ofertas-title { font-size: 22px; margin-bottom: 22px; }
  .of-card { flex-basis: calc(50% - 8px); min-width: 190px; padding: 14px 12px 12px; }
  .of-img .slot { height: 124px; }
  .of-price { font-size: 17px; }
  .ofertas-arrow { width: 34px; height: 34px; font-size: 19px; }
  .ofertas-arrow.prev { left: -6px; }
  .ofertas-arrow.next { right: -6px; }
}

@media (max-width: 480px) {
  .of-card { flex-basis: 78%; min-width: 0; }
  .ofertas-arrow { display: none; }
}

/* ============================================================
   9. MARCAS EXCLUSIVAS (cinta infinita)
   ------------------------------------------------------------
   El desplazamiento de la animacion es exactamente el ancho de
   UNA tanda de logos, y el JS repite la tanda hasta pasar el
   ancho de la pantalla. Asi el ciclo no tiene salto visible.
   ============================================================ */
.marcas-section { background: var(--white); }

.marcas-titulo {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 13px;
}
.marcas-titulo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 4px;
  border-radius: 2px;
  background: var(--green);
}

.marcas-marquee {
  overflow: hidden;
  padding: 6px 0;
  /* Difuminado en los bordes: los logos entran y salen sin cortarse */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marcas-marquee:has(.quieta) {
  -webkit-mask-image: none;
          mask-image: none;
}

.marcas-track {
  display: flex;
  width: max-content;
  animation: marcasScroll linear infinite;
  animation-duration: 30s;
  will-change: transform;
}
.marcas-marquee:hover .marcas-track { animation-play-state: paused; }

/* Pocas marcas: quietas y centradas, sin repetir ni desplazar */
.marcas-track.quieta {
  animation: none;
  width: 100%;
  justify-content: center;
}
.marcas-track.quieta .marca-item:last-child { margin-right: 0; }

@keyframes marcasScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(var(--desplazamiento, 50%) * -1)); }
}

/* Margen en vez de gap: cada tanda mide exactamente lo mismo,
   incluido el espacio final. Con gap el ciclo quedaria corrido
   medio espacio y se notaria el salto. */
.marca-item {
  margin-right: 34px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 108px;
  text-align: center;
}

.marca-circle {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.marca-item:hover .marca-circle {
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(3, 42, 62, .14);
  transform: translateY(-3px);
}
.marca-circle img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

/* Iniciales, mientras no haya logo cargado */
.marca-ph {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-ink);
  opacity: .55;
}

.marca-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--white);
}

.marca-nombre {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.35;
  transition: color .15s;
}
.marca-item:hover .marca-nombre { color: var(--blue-ink); }

@media (max-width: 768px) {
  .marcas-titulo { font-size: 19px; margin-bottom: 22px; }
  .marca-item { width: 90px; margin-right: 24px; }
  .marca-circle { width: 72px; height: 72px; }
  .marca-ph { font-size: 22px; }
  .marca-nombre { font-size: 11.5px; }
}

/* Quien pidio menos movimiento ve la cinta quieta y la desplaza a mano */
@media (prefers-reduced-motion: reduce) {
  .marcas-track { animation: none; }
  .marcas-marquee { overflow-x: auto; }
}

/* ============================================================
   10. FLECHAS DE CARRUSEL
   ------------------------------------------------------------
   Quedan aca porque las usa el slider de Brand Banners.
   ============================================================ */
.car-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: var(--blue-ink);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background .15s;
}
.car-arrow:hover { background: var(--blue-dark); }
.car-arrow.prev { left: -14px; }
.car-arrow.next { right: -14px; }

/* ============================================================
   12. ACTIVA TU PLAN PACIENTE
   ============================================================ */
.plan-activa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  background: linear-gradient(135deg, #F2F8DC 0%, #E9F4FC 100%);
  border-radius: 20px;
  padding: 46px 44px;
}

/* -- Izquierda: imagen libre -- */
.pa-izq {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.pa-izq:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(3, 42, 62, .16);
}
.pa-izq img {
  width: 100%;
  height: auto;
  display: block;
}

/* Placeholder mientras no haya imagen cargada */
.pa-slot {
  width: 100%;
  min-height: 300px;
  border-radius: 14px;
}

/* -- Derecha: los pasos -- */
.pa-pasos-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.pa-pasos-title:empty { display: none; }

.pa-pasos { display: flex; flex-direction: column; gap: 11px; }

.pa-paso {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform .16s;
}
.pa-paso:hover { transform: translateX(4px); }

.pa-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pa-cta {
  display: block;
  text-align: center;
  margin-top: 16px;
  background: var(--green);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 10px;
  transition: background .15s, transform .15s;
}
.pa-cta:hover { background: #B0C526; transform: translateY(-2px); }
.pa-cta[hidden] { display: none; }

@media (max-width: 900px) {
  .plan-activa { grid-template-columns: 1fr; gap: 26px; padding: 30px 22px; }
  .pa-slot { min-height: 200px; }
}

@media (max-width: 480px) {
  .plan-activa { padding: 26px 18px; border-radius: 14px; }
  .pa-paso { font-size: 13.5px; padding: 13px 14px; gap: 11px; }
}

/* ============================================================
   13. DISTINTIVOS DE PRODUCTO
   ------------------------------------------------------------
   Quedan aca porque los usa la ficha de producto (producto.js).
   La grilla "Club Salud" del home se elimino.
   ============================================================ */
.prod-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}
.prod-badge.red { background: var(--red-btn); color: #fff; }
.prod-club-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--green-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 0 4px 0 0;
  line-height: 1.3;
  z-index: 2;
  max-width: 90%;
}
.btn-agregar {
  background: var(--blue-ink);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background .15s;
}
.btn-agregar:hover { background: var(--blue-dark); }
.btn-agregar.added { background: #2e7d32; }

/* ============================================================
   14. BRAND BANNERS SLIDER
   ============================================================ */
.brand-banner-wrap { position: relative; }
.brand-banner-overflow { overflow: hidden; border-radius: 12px; }
.brand-banner-track { display: flex; transition: transform .45s ease; }
.brand-banner-slide { min-width: 50%; flex-shrink: 0; }
.brand-banner-img { width: 100%; height: 270px; border: none; border-radius: 0; }

.brand-banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.bbd {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.bbd.active { background: var(--blue); }

/* ============================================================
   18b. PRE-FOOTER: sucursales y aviso legal
   ============================================================ */
.footer-sucursales {
  background: var(--bg);
  padding: 38px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-sucursales[hidden] { display: none; }

.fs-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 24px;
}

.fs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 14px;
}

.fs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  transition: border-color .15s, box-shadow .15s;
}
.fs-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(3, 42, 62, .09);
}

.fs-nombre {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}
.fs-nombre svg {
  width: 15px;
  height: 15px;
  fill: var(--green-ink);
  flex-shrink: 0;
  margin-top: 2px;
}

.fs-dato {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.65;
}
.fs-dato:empty { display: none; }

.fs-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.fs-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-ink);
}
.fs-link:hover { text-decoration: underline; }

/* Aviso legal */
.footer-legal-block {
  background: var(--bg);
  padding: 4px 20px 28px;
}
.footer-legal-block[hidden] { display: none; }
.footer-legal-block p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.75;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-sucursales { padding: 28px 0 22px; }
  .fs-title { font-size: 17px; margin-bottom: 18px; }
  .fs-grid { grid-template-columns: 1fr; }
  .footer-legal-block p { font-size: 10.5px; text-align: left; }
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer-desc-block {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
}
.footer-desc-block p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}
.footer-desc-block a { color: var(--blue-ink); }

/* Pie oscuro: encabezados con regla debajo, como los de las
   cadenas grandes. El azul marino cierra la pagina y separa
   claramente el contenido de la navegacion secundaria. */
.site-footer {
  background: var(--blue-dark);
  padding: 46px 0 34px;
}

.footer-cols {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.footer-col h5 {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .3px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, .18);
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .74);
  margin-bottom: 11px;
  line-height: 1.45;
  transition: color .15s, padding-left .15s;
}
.footer-col a:hover {
  color: var(--green);
  padding-left: 3px;
}

/* Bloque de contacto de la primera columna */
.footer-contacto { margin-bottom: 14px; }
.fc-rotulo {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 3px;
}
.fc-numero {
  display: inline-block;
  font-size: 19px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .3px;
  transition: opacity .15s;
}
.fc-numero:hover { opacity: .8; }

@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .site-footer { padding: 32px 0 24px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
}

.copyright-bar {
  background: var(--green-ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
}

/* ============================================================
   20. FIXED ELEMENTS
   ============================================================ */
/* Botones flotantes de redes */
.fabs {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(3, 42, 62, .28);
  transition: transform .18s, box-shadow .18s;
}
.fab[hidden] { display: none; }
.fab:hover {
  transform: scale(1.09);
  box-shadow: 0 6px 20px rgba(3, 42, 62, .36);
}
.fab svg { width: 26px; height: 26px; }

/* Colores oficiales de cada marca */
.fab-wa { background: #25D366; }
.fab-ig { background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); }
.fab-fb { background: #1877F2; }

@media (max-width: 480px) {
  .fabs { right: 14px; bottom: 14px; gap: 8px; }
  .fab { width: 44px; height: 44px; }
  .fab svg { width: 23px; height: 23px; }
}

/* ---------- PRODUCT DETAIL PAGE ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pd-name { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.pd-sub { font-size: 14px; color: var(--text-mid); margin-bottom: 12px; }
.pd-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.pd-pricing { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pd-orig { font-size: 14px; color: var(--text-soft); text-decoration: line-through; }
.pd-price { font-size: 26px; font-weight: 900; color: var(--blue-ink); }
.pd-actions { display: flex; gap: 12px; align-items: center; }
.pd-qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pd-qty-btn { width: 36px; height: 40px; border: none; background: var(--bg); font-size: 18px; cursor: pointer; font-weight: 700; color: var(--text); }
.pd-qty-btn:hover { background: var(--border); }
.pd-qty-val { width: 40px; text-align: center; font-weight: 700; font-size: 15px; }
.pd-add { flex: 1; height: 40px; font-size: 14px; }
.prod-img-wrap { display: block; text-decoration: none; color: inherit; }

/* ---------- SEARCH NO RESULTS ---------- */
.search-no-results { text-align: center; padding: 40px 20px; color: var(--text-soft); font-size: 14px; grid-column: 1 / -1; }
.search-clear { display: inline-block; margin-top: 8px; color: var(--blue-ink); cursor: pointer; border: none; background: none; font-size: 13px; text-decoration: underline; }

/* ---------- SKELETON LOADERS ---------- */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* ---------- TABLET LANDSCAPE (max 1024px) ---------- */
@media (max-width: 1024px) {
}

/* ---------- TABLET PORTRAIT (max 768px) ---------- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Barra promo */
  .promo-bar { padding: 8px 44px; }
  .promo-bar-text, .promo-bar-btn { font-size: 13px; }

  /* Header: el buscador baja a su propia fila */
  .header-row { flex-wrap: wrap; height: auto; gap: 10px; padding: 12px 16px; }
  .logo-wrap { order: 1; }
  .cat-menu-wrap { order: 2; }
  .header-actions { order: 3; margin-left: auto; }
  .header-search { order: 4; width: 100%; max-width: none; flex-basis: 100%; }
  .header-search input { font-size: 14px; height: 42px; }
  .search-btn { height: 42px; }
  .cat-menu-lbl { display: none; }
  .h-act-lbl, .h-act-caret { display: none; }
  .h-act, .h-act-cart { padding: 8px; }

  /* Subnav */
  .subnav-inner { flex-wrap: nowrap; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .subnav-nav { gap: 16px; flex-wrap: nowrap; }
  .sn-item { font-size: 12px; white-space: nowrap; }
  .subnav-suc { font-size: 12.5px; }
  .subnav-suc .suc-chip-text { max-width: 150px; }

  /* Hero */

  /* Info Strip */

  /* Grids 4-col → 2-col */
  .microsites-grid { grid-template-columns: repeat(2, 1fr); }
  .excl-brands-grid { grid-template-columns: repeat(2, 1fr); }

  /* Grids 3-col → 2-col */

  /* Products 5-col → 2-col */


  /* Brand banners → 1 per slide */
  .brand-banner-slide { min-width: 100% !important; }

  /* 2-column sections → 1 column */

  /* Footer */
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Product detail */
  .pd-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Side tab hide */
}

/* ---------- MOBILE (max 480px) ---------- */
@media (max-width: 480px) {
  .promo-bar-text, .promo-bar-btn { font-size: 12px; }
  .tb-sep { display: none; }

  .header-row { padding: 8px 12px; }
  .logo-img { height: 36px; }

  /* Info Strip → 1 col */

  /* Grids → 1 col on smallest screens  */

  /* Products keep 2-col on mobile */


  /* Promo trio small banners stack */

  /* Club steps */



  /* App download buttons */
}
/* ============================================================
   21. SELECTOR DE SUCURSAL
   ============================================================ */

/* Los dos selectores de sucursal (header y subnav) tienen sus estilos
   en la seccion 2. Aca solo queda lo del modal. */

/* — Overlay — */
.suc-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 42, 62, .55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.suc-modal.abierto { display: flex; }

.suc-modal-box {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(3, 42, 62, .3);
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 28px 24px;
  position: relative;
  animation: sucIn .28s ease;
}
@keyframes sucIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.suc-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-soft);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.suc-modal-close:hover { background: var(--bg); color: var(--text); }

/* — Encabezado — */
.suc-modal-head { text-align: center; margin-bottom: 22px; }

.suc-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  margin-bottom: 14px;
}
.suc-modal-icon svg { width: 28px; height: 28px; fill: var(--blue-ink); }

.suc-modal-head h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.suc-modal-head p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

/* — Lista — */
.suc-modal-list { display: flex; flex-direction: column; gap: 10px; }

.suc-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 0;
  color: var(--text-soft);
  font-size: 14px;
}
.suc-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--blue-ink);
  border-radius: 50%;
  animation: sucSpin .7s linear infinite;
}
@keyframes sucSpin { to { transform: rotate(360deg); } }

/* — Opción — */
.suc-opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, background .15s, transform .1s;
}
.suc-opt:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.suc-opt:active { transform: scale(.995); }
.suc-opt.activa {
  border-color: var(--blue-ink);
  background: var(--blue-light);
}

.suc-opt-pin {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.suc-opt.activa .suc-opt-pin,
.suc-opt:hover .suc-opt-pin { background: var(--white); }
.suc-opt-pin svg { width: 17px; height: 17px; fill: var(--blue-ink); }

.suc-opt-body { flex: 1; min-width: 0; display: block; }

.suc-opt-nombre {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.35;
}
.suc-opt-dir {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-top: 2px;
}
.suc-opt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.suc-opt-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}
.suc-opt-tag.envio { background: #EEF4C9; color: var(--green-dark); }
.suc-opt:hover .suc-opt-tag,
.suc-opt.activa .suc-opt-tag { background: var(--white); }
.suc-opt:hover .suc-opt-tag.envio,
.suc-opt.activa .suc-opt-tag.envio { background: #EEF4C9; }

.suc-opt-check {
  flex-shrink: 0;
  align-self: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-ink);
  opacity: 0;
  transition: opacity .15s;
}
.suc-opt.activa .suc-opt-check { opacity: 1; }

.suc-modal-foot {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 20px;
}

/* — Responsive — */
@media (max-width: 768px) {
  .suc-modal-box { padding: 26px 18px 20px; border-radius: 14px; }
  .suc-modal-head h2 { font-size: 19px; }
}

@media (max-width: 480px) {
  .suc-modal { padding: 12px; }
  .suc-modal-box { max-height: calc(100vh - 24px); }
  .subnav-suc .suc-chip-text { max-width: 110px; }
  .suc-opt { padding: 12px 13px; gap: 11px; }
  .suc-opt-nombre { font-size: 14px; }
}

/* ============================================================
   22. POP-UP PROMOCIONAL
   ============================================================ */
.popup-promo {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(3, 42, 62, .6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.popup-promo.abierto { opacity: 1; }
.popup-promo[hidden] { display: none; }

.popup-box {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 26px 64px rgba(3, 42, 62, .34);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow: hidden auto;
  transform: translateY(18px) scale(.97);
  transition: transform .28s cubic-bezier(.2, .9, .3, 1);
}
.popup-promo.abierto .popup-box { transform: none; }

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  border: none;
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(3, 42, 62, .18);
  transition: background .15s, transform .15s;
}
.popup-close:hover { background: var(--white); transform: scale(1.08); }

.popup-media { display: block; }
.popup-media img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-body { padding: 26px 26px 28px; text-align: center; }
.popup-body:empty { display: none; }

.popup-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}
.popup-title:empty { display: none; }

.popup-text {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.65;
}
.popup-text:empty { display: none; }

.popup-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--blue-ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 24px;
  transition: background .15s, transform .15s;
}
.popup-btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.popup-btn[hidden] { display: none; }

/* Barra de cuenta regresiva: solo si hay duracion configurada */
.popup-progress {
  height: 4px;
  background: var(--border);
  overflow: hidden;
}
.popup-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--green);
}
.popup-progress[hidden] { display: none; }

@media (max-width: 480px) {
  .popup-promo { padding: 14px; }
  .popup-box { max-height: calc(100vh - 28px); border-radius: 14px; }
  .popup-body { padding: 22px 18px 24px; }
  .popup-title { font-size: 19px; }
  .popup-text { font-size: 14px; }
  .popup-btn { width: 100%; padding: 12px 20px; }
}

/* ============================================================
   23. PAGINA DE CATALOGO
   ------------------------------------------------------------
   Reutiliza la tarjeta .of-card del carrusel de ofertas, asi
   las dos vistas del mismo producto se ven identicas.
   ============================================================ */
.catalogo-section { background: var(--white); min-height: 60vh; }

.catalogo-breadcrumb {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.catalogo-breadcrumb a { color: var(--blue-ink); }
.catalogo-breadcrumb a:hover { text-decoration: underline; }

.catalogo-titulo {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* -- Chips de categoria -- */
.catalogo-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.catalogo-chips:empty { display: none; }

.cat-chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.cat-chip:hover { border-color: var(--blue); color: var(--blue-ink); }
.cat-chip.activo {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
}

/* -- Controles -- */
.catalogo-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.cat-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  user-select: none;
}
.cat-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--green-ink);
  cursor: pointer;
}
.cat-check:hover span { color: var(--green-ink); }

.cat-orden-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-mid);
}
.cat-orden {
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}
.cat-orden:focus { border-color: var(--blue); }

.catalogo-resumen {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.catalogo-resumen strong { color: var(--blue-dark); }

/* -- Grilla -- */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.catalogo-grid .of-card { flex: none; min-width: 0; }

/* -- Vacio -- */
.catalogo-vacio {
  text-align: center;
  padding: 56px 20px;
}
.catalogo-vacio[hidden] { display: none; }
.cat-vacio-titulo {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.cat-vacio-texto {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 22px;
}

@media (max-width: 1024px) {
  .catalogo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .catalogo-titulo { font-size: 22px; }
  .catalogo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalogo-tools { gap: 12px; }
  .cat-chip { font-size: 12.5px; padding: 6px 13px; }
}

@media (max-width: 480px) {
  .catalogo-tools { flex-direction: column; align-items: flex-start; }
  .cat-orden-wrap { width: 100%; }
  .cat-orden { flex: 1; }
}

/* ============================================================
   24. MODAL - SOLICITUD DEL PLAN PACIENTE
   ============================================================ */
.sol-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(3, 42, 62, .6);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sol-modal.abierto { display: flex; }

.sol-box {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 26px 64px rgba(3, 42, 62, .34);
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px 32px 28px;
}

.sol-cerrar {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-mid);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.sol-cerrar:hover { background: var(--bg); color: var(--blue-dark); }

.sol-head { margin-bottom: 22px; }
.sol-head h2 {
  font-size: 23px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}
.sol-head p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }

.sol-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.sol-campo { margin-bottom: 14px; display: flex; flex-direction: column; }
.sol-campo label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.sol-req { color: var(--red); }

.sol-campo input,
.sol-campo textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.sol-campo textarea { resize: vertical; min-height: 60px; }
.sol-campo input:focus,
.sol-campo textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58, 157, 222, .16);
}
.sol-campo.error input,
.sol-campo.error textarea { border-color: var(--red); }

.sol-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  display: none;
}
.sol-campo.error .sol-error { display: block; }

.sol-sucursal {
  font-size: 13px;
  color: var(--text-mid);
  background: var(--blue-light);
  border-radius: 8px;
  padding: 10px 13px;
  margin-bottom: 16px;
}
.sol-sucursal[hidden] { display: none; }
.sol-sucursal strong { color: var(--blue-dark); }

.sol-enviar {
  width: 100%;
  background: var(--green);
  color: var(--blue-dark);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: background .15s;
}
.sol-enviar:hover { background: #B0C526; }
.sol-enviar:disabled { opacity: .6; cursor: default; }

.sol-nota {
  font-size: 11.5px;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.6;
  margin-top: 12px;
}

/* Pantalla de confirmacion */
.sol-listo { text-align: center; padding: 16px 0 6px; }
.sol-listo[hidden] { display: none; }
.sol-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green);
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
}
.sol-listo h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.sol-listo p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 22px;
}

@media (max-width: 480px) {
  .sol-modal { padding: 12px; }
  .sol-box { padding: 28px 20px 22px; border-radius: 14px; }
  .sol-head h2 { font-size: 20px; }
  .sol-fila { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   25. COVA PUNTOS
   ============================================================ */
.cova-puntos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(194, 216, 43, .28);
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.cova-puntos b { font-weight: 800; }
.cova-puntos svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* En la ficha de producto se muestra mas grande */
.cova-grande {
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 18px;
  margin: 4px 0 18px;
}
.cova-grande svg { width: 18px; height: 18px; }

/* ============================================================
   26. MODAL DE PAGINAS DE INFORMACION
   ============================================================ */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  background: rgba(3, 42, 62, .62);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.info-modal.abierto { display: flex; }

.info-box {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 26px 64px rgba(3, 42, 62, .34);
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}

.info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px 16px;
  border-bottom: 1px solid var(--border);
}
.info-head h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.25;
}

.info-cerrar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-mid);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.info-cerrar:hover { background: var(--bg); color: var(--blue-dark); }

.info-cuerpo {
  padding: 22px 28px 28px;
  overflow-y: auto;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
}
.info-cuerpo p { margin-bottom: 14px; }
.info-cuerpo p:last-child { margin-bottom: 0; }
.info-cuerpo h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 20px 0 8px;
}
.info-cuerpo ul, .info-cuerpo ol { margin: 0 0 14px 20px; }
.info-cuerpo li { margin-bottom: 7px; list-style: disc; }
.info-cuerpo ol li { list-style: decimal; }
.info-cuerpo a { color: var(--blue-ink); text-decoration: underline; }
.info-cuerpo strong { color: var(--blue-dark); }

@media (max-width: 480px) {
  .info-modal { padding: 12px; }
  .info-box { border-radius: 12px; max-height: calc(100vh - 24px); }
  .info-head { padding: 20px 18px 14px; }
  .info-head h2 { font-size: 19px; }
  .info-cuerpo { padding: 18px; font-size: 14px; }
}

/* ============================================================
   27. ESTADO DE EXISTENCIAS
   ------------------------------------------------------------
   Nunca se publica la cantidad exacta, solo el estado.
   ============================================================ */
.stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 10px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.stock::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.stock-si    { background: rgba(112, 125, 23, .12); color: var(--green-dark); }
.stock-pocas { background: rgba(244, 81, 30, .12);  color: #b03d0f; }
.stock-no    { background: rgba(229, 57, 53, .10);  color: var(--red); }

.of-btn:disabled {
  background: #cfd8dc;
  color: #78909c;
  cursor: not-allowed;
}
.of-btn:disabled:hover { background: #cfd8dc; }

.pd-add:disabled {
  background: #cfd8dc;
  color: #78909c;
  cursor: not-allowed;
}
.pd-add:disabled:hover { background: #cfd8dc; }
.pd-info .stock { margin: 4px 0 14px; }
