/* IP TECNOLOGÍA PERÚ — Fondo claro, header amarillo */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --amarillo: #CEFF04;  /* color principal */
  --amarillo-d: #b8e800;
  --amarillo-hover: #d4ff1a;
  --verde_header: #CEFF04; 

  /* Fondo claro */
  --bg: #f5f5f7;
  --bg2: #ffffff;
  --bg3: #f0f0f2;
  --bg4: #e8e8ec;

  /* Textos */
  --blanco: #0d0d0d; /* antes blanco, ahora casi negro para texto */
  --gris1: #111111;
  --gris2: #333333;
  --gris3: #666666;

  --borde: #e0e0e4;

  --rojo: #e53935;
  --verde: #2e7d32; 
  --azul: #0277bd;

  --r: 8px;
  --rl: 14px;
  --sombra: 0 4px 24px rgba(0, 0, 0, 0.1);
  --glow: 0 0 18px rgba(181, 192, 0, 0.35);

  /* Alias — varias páginas del panel admin usan estos nombres genéricos
     en vez de los de arriba; sin esto, var(--primary) etc. no existía
     y quedaban botones/bordes sin color (ej: texto blanco invisible). */
  --primary: var(--amarillo);
  --radius: var(--r);
  --radius-lg: var(--rl);
  --gray: var(--gris3);
  --border: var(--borde);
  --light: var(--bg3);
  --secondary: var(--azul);
  --shadow: var(--sombra);
}

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--bg);
  color: var(--gris1);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
select,
textarea {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg3);
}
::-webkit-scrollbar-thumb {
  background: var(--verde_header);
  border-radius: 3px;
}
::selection {
  background: var(--verde_header);
  color: #000;
}

/* ── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--borde);
  color: var(--gris3);
  font-size: 12px;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar i {
  color: #999;
  margin-right: 4px;
}
.top-bar a {
  color: var(--gris2);
}
.top-bar a:hover {
  color: #000;
}

/* ── HEADER ──────────────────────────────────────────────── */
.header {
  background: #CEFF04;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.logo-img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.logo-text .top {
  font-size: 9px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}
.logo-text .bottom {
  font-size: 18px;
  font-weight: 900;
  color: #000;
  display: block;
  line-height: 1.15;
}
.logo-text .bottom span {
  color: #000;
}
.logo-text .bottom em {
  color: rgba(0, 0, 0, 0.7);
  font-style: normal;
}

.search-bar {
  flex: 1;
  display: flex;
  max-width: 560px;
}
.search-bar input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  font-size: 14px;
  color: #000;
  outline: none;
  transition: border-color 0.2s;
}
.search-bar input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.search-bar input:focus {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.4);
}
.search-bar button {
  padding: 11px 20px;
  background: #000;
  color: var(--amarillo);
  border: none;
  border-radius: 0 var(--r) var(--r) 0;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.2s;
}
.search-bar button:hover {
  opacity: 0.75;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.btn-login {
  padding: 9px 16px;
  background: #000;
  color: #CEFF04;
  border: none;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-login:hover {
  background: #1a1a1a;
  opacity: 0.9;
}
.btn-register {
  padding: 9px 16px;
  background: #000;
  color: #CEFF04;
  border: none;
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-register:hover {
  background: #1a1a1a;
  opacity: 0.9;
}
.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: #000;
  color: #CEFF04;
  border: none;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s;
}
.cart-btn:hover {
  background: #1a1a1a;
  opacity: 0.9;
}
.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: var(--rojo);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--amarillo);
}
.user-wrap {
  position: relative;
}
.user-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--r);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  transition: all 0.2s;
}
.user-btn:hover {
  background: rgba(0, 0, 0, 0.18);
}
.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--borde);
  border-top: 2px solid #000;
  border-radius: var(--rl);
  box-shadow: var(--sombra);
  min-width: 200px;
  z-index: 999;
  overflow: hidden;
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--gris2);
  border-bottom: 1px solid var(--borde);
  transition: background 0.15s;
}
.user-dropdown a:last-child {
  border-bottom: none;
}
.user-dropdown a:hover {
  background: var(--bg3);
  color: #000;
}
.user-dropdown a.danger:hover {
  background: rgba(229, 57, 53, 0.08);
  color: var(--rojo);
}
.user-wrap.open .user-dropdown {
  display: block;
}

/* ── NAV ─────────────────────────────────────────────────── */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  width: 100%;
  border-bottom: 1px solid var(--borde);
}
.main-nav .container {
  display: flex;
  align-items: center;
}
.cat-menu {
  position: relative;
}
.cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: #CEFF04;
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s;
}
.cat-btn:hover {
  background: var(--amarillo-d);
}
.cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--borde);
  border-top: 2px solid var(--amarillo);
  border-radius: 0 0 var(--rl) var(--rl);
  box-shadow: var(--sombra);
  min-width: 240px;
  z-index: 1000;
  overflow: hidden;
}
.cat-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--gris2);
  border-bottom: 1px solid var(--borde);
  transition: all 0.15s;
}
.cat-dropdown a:last-child {
  border-bottom: none;
}
.cat-dropdown a:hover {
  background: var(--bg3);
  color: #000;
  padding-left: 24px;
}
.cat-dropdown a i {
  width: 20px;
  color: #888;
  font-size: 15px;
}
.ccbadge {
  margin-left: auto;
  background: rgba(0, 0, 0, 0.07);
  color: var(--gris3);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
}
.cat-menu.open .cat-dropdown {
  display: block;
}
.nav-links {
  display: flex;
  flex: 1;
}
.nav-links li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 15px;
  color: var(--gris2);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #000;
  border-bottom-color: var(--amarillo);
}
.nav-links li a i {
  font-size: 11px;
}

/* ── FLASH ───────────────────────────────────────────────── */
.flash {
  position: fixed;
  top: 159px;
  left: 0;
  right: 0;
  z-index: 997;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: slideDown 0.3s ease;
}
.flash button {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}
.flash-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-bottom: 2px solid #43a047;
}
.flash-error {
  background: #fdecea;
  color: #c62828;
  border-bottom: 2px solid var(--rojo);
}
.flash-info {
  background: #f7f9e0;
  color: #6b7300;
  border-bottom: 2px solid var(--amarillo-d);
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--gris3);
}
.breadcrumb a {
  color: var(--gris2);
  font-weight: 600;
}
.breadcrumb a:hover {
  color: #000;
  text-decoration: underline;
}
.breadcrumb span {
  margin: 0 6px;
  color: var(--borde);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg,
    #f6FCDE 0%,
    #F9FFDF 20%,
    #E2FF6B 55%,
    #E0FF61 80%,
    #CEFF04 100%
  );
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--borde);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(200,215,230,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 75% 70%, rgba(225,210,180,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(235,235,245,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 85% 20%, rgba(210,225,240,0.4) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 10% 80%, rgba(230,220,195,0.45) 0%, transparent 65%);
  filter: blur(28px);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(181, 192, 0, 0.15);
  color: #6b7300;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(181, 192, 0, 0.3);
}
.hero h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 16px;
  color: #0d0d0d;
}
.hero h1 .hl {
  color: #6b7300;
}
.hero p {
  font-size: 16px;
  color: var(--gris2);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #CEFF04;
  color: #000;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-main:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}
.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #000;
  border: 2px solid #000;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-sec:hover {
  background: rgba(0, 0, 0, 0.06);
}
.btn-wsp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #25d366;
  color: #fff;
  border: 2px solid #25d366;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-wsp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat .num {
  font-size: 30px;
  font-weight: 900;
  color: #6b7300;
}
.stat .lbl {
  font-size: 12px;
  color: var(--gris3);
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hcard {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--rl);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s;
  box-shadow: var(--sombra);
}
.hcard:hover {
  border-color: var(--amarillo);
  box-shadow: 0 4px 20px rgba(181, 192, 0, 0.2);
  transform: translateX(-5px);
}
.hcard-icon {
  width: 46px;
  height: 46px;
  background: rgba(181, 192, 0, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: #6b7300;
  flex-shrink: 0;
  overflow: hidden;
}
.hcard-title {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
}
.hcard-desc {
  font-size: 11px;
  color: var(--gris3);
  margin-top: 2px;
}
.hcard-price {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}
.hcard-price .from {
  font-size: 10px;
  color: var(--gris3);
}
.hcard-price .price {
  font-size: 16px;
  font-weight: 900;
  color: #6b7300;
}

/* ── BENEFITS ────────────────────────────────────────────── */
.benefits {
  background: #ffffff;
  border-bottom: 1px solid var(--borde);
}
.benefits .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 22px;
  border-right: 1px solid var(--borde);
  transition: background 0.2s;
}
.benefit:last-child {
  border-right: none;
}
.benefit:hover {
  background: var(--bg3);
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  background: rgba(181, 192, 0, 0.14);
  color: #6b7300;
}
.benefit-ttl {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
}
.benefit-desc {
  font-size: 11px;
  color: var(--gris3);
  margin-top: 1px;
}

/* ── BRANDS ──────────────────────────────────────────────── */
.brands {
  background: var(--bg);
  padding: 22px 0;
  border-bottom: 1px solid var(--borde);
}
.brands-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.brands-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gris3);
  margin-right: 8px;
  white-space: nowrap;
}
.btag {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gris2);
  transition: all 0.2s;
}
.btag:hover {
  color: #000;
  border-color: #aaa;
}
.brands-logos-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 120px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  padding: 8px;
  transition: all .2s;
}
.brand-logo-item:hover { background:rgba(0,0,0,.08); border-color:rgba(0,0,0,.2); }
.brand-logo-item img { max-height:44px; width:100%; object-fit:contain; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: 60px 0;
  background: var(--bg);
}
.section-alt {
  background: #ffffff;
}
.sec-head {
  text-align: center;
  margin-bottom: 44px;
}
.sec-badge {
  display: inline-block;
  background: rgba(181, 192, 0, 0.14);
  color: #6b7300;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(181, 192, 0, 0.3);
}
.sec-head h2 {
  font-size: 32px;
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 8px;
}
.sec-head p {
  color: var(--gris3);
  font-size: 15px;
}

/* ── CATEGORY CARDS ──────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: #fff;
  border-radius: var(--rl);
  padding: 30px 20px;
  text-align: center;
  border: 1.5px solid var(--borde);
  transition: all 0.3s;
  display: block;
  color: #0d0d0d;
  box-shadow: var(--sombra);
}
.cat-card:hover {
  border-color: var(--amarillo);
  box-shadow: 0 6px 28px rgba(181, 192, 0, 0.25);
  transform: translateY(-5px);
}
.cat-card-icon {
  width: 72px;
  height: 72px;
  background: rgba(181, 192, 0, 0.12);
  color: #6b7300;
  border: 1.5px solid rgba(181, 192, 0, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  transition: all 0.3s;
}
.cat-card:hover .cat-card-icon {
  background: var(--amarillo);
  color: #000;
}
.cat-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0d0d0d;
}
.cat-card p {
  font-size: 12px;
  color: var(--gris3);
  line-height: 1.5;
}
.cat-count {
  display: inline-block;
  margin-top: 10px;
  background: var(--bg3);
  color: var(--gris3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid var(--borde);
}

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.prod-card {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  overflow: visible;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sombra);
  position: relative;
  cursor: pointer;
}
.prod-card .prod-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.prod-card .btn-cart,
.prod-card .btn-add-cart {
  position: relative;
  z-index: 2;
}
.prod-card:hover {
  border-color: var(--amarillo);
  box-shadow: 0 8px 32px rgba(181, 192, 0, 0.22);
  transform: translateY(-5px);
}

/* ── PROD-IMG: regla única y definitiva (reemplaza todas las anteriores) ── */
.prod-img {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1;
  height: auto !important;    
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px 12px 0 0 !important;
}
.prod-img img,
.prod-img .img-principal,
.prod-img .img-hover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  display: block;
}
.prod-img .img-hover {
  opacity: 0;
  transition: opacity 0.35s;
}
.prod-img.has-hover:hover .img-principal { opacity: 0; }
.prod-img.has-hover:hover .img-hover     { opacity: 1; }

.prod-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  position: absolute;
  inset: 0;
  justify-content: center;
}
.prod-ph i {
  font-size: 52px;
  color: #ccc;
  transition: all 0.3s;
}
.prod-card:hover .prod-ph i {
  color: #6b7300;
}
.prod-ph span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris3);
}
.prod-img img ~ .prod-ph,
.prod-img .img-principal ~ .prod-ph {
  display: none !important;
}

/* Fallback cuando la imagen falla al cargar (onerror) */
.prod-ph-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  inset: 0;
  background: #f5f5f7;
  z-index: 2;
}
.prod-ph-fallback i    { font-size: 48px; color: #ccc; }
.prod-ph-fallback span { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #999; }

/* Badges */
.badge-off,
.badge-desc {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--rojo);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  z-index: 3;
  pointer-events: none;
}
.badge-hot {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--amarillo);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  z-index: 3;
  pointer-events: none;
}
.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--azul);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  z-index: 3;
  pointer-events: none;
}

/* Botón comparar */
.btn-comparar {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0;
  z-index: 4;
}
.prod-img:hover .btn-comparar { opacity: 1; }
.btn-comparar.activo,
.btn-comparar:hover { background: #CEFF04; color: #000; }

.prod-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prod-brand {
  font-size: 10px;
  font-weight: 800;
  color: #6b7300;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.prod-name {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}
.prod-name a {
  color: #0d0d0d;
}
.prod-name a:hover {
  color: #6b7300;
}
.price-main {
  font-size: 20px;
  font-weight: 900;
  color: #6b7300;
  display: block;
}
.price-old {
  font-size: 12px;
  color: var(--gris3);
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}
.price-save {
  font-size: 10px;
  color: var(--verde);
  font-weight: 700;
  margin-left: 6px;
}
.prod-stock {
  font-size: 11px;
  color: var(--verde);
  font-weight: 700;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.prod-stock.out {
  color: var(--rojo);
}
.btn-cart {
  width: 100%;
  padding: 10px;
  background: var(--verde_header);
  color: #000;
  border: none;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.btn-cart:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
  transform: translateY(-1px);
}
.btn-cart:disabled {
  background: var(--bg4);
  color: var(--gris3);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── OFERTA BANNER ───────────────────────────────────────── */
.oferta-banner {
  background: linear-gradient(135deg, #f9ffe0, #CEFF04);
  padding: 56px 0;
  border-top: 1px solid rgba(181, 192, 0, 0.3);
  border-bottom: 1px solid rgba(181, 192, 0, 0.3);
}
.oferta-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: center;
}
.oferta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--verde_header);
  color: #000;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}
.oferta-inner h2 {
  font-size: 30px;
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 10px;
}
.oferta-inner p {
  color: var(--gris3);
  font-size: 14px;
  line-height: 1.7;
}
.oferta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ocard {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--rl);
  padding: 18px;
  transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.ocard:hover {
  border-color: var(--verde_header);
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(181, 192, 0, 0.18);
}
.ocard-icon {
  font-size: 28px;
  color: #6b7300;
  margin-bottom: 10px;
}
.ocard-brand {
  font-size: 10px;
  font-weight: 800;
  color: #6b7300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.ocard-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gris2);
  line-height: 1.4;
  margin-bottom: 10px;
}
.ocard-old {
  font-size: 11px;
  color: var(--gris3);
  text-decoration: line-through;
}
.ocard-new {
  font-size: 18px;
  font-weight: 900;
  color: #6b7300;
}
.ocard-pct {
  display: inline-block;
  background: var(--rojo);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 5px;
}
.btn-oferta {
  width: 100%;
  padding: 9px;
  background: var(--verde_header);
  color: #000;
  border: none;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}
.btn-oferta:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
}

/* ── INFO CARDS ──────────────────────────────────────────── */
.info-section {
  background: var(--bg);
  padding: 56px 0;
  border-top: 1px solid var(--borde);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.icard {
  background: #fff;
  border-radius: var(--rl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid var(--borde);
  transition: all 0.3s;
  box-shadow: var(--sombra);
}
.icard:hover {
  border-color: var(--verde_header);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(181, 192, 0, 0.18);
}
.icard i {
  font-size: 36px;
  color: #6b7300;
}
.icard h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0d0d0d;
}
.icard p {
  color: var(--gris3);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.icard a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--verde_header);
  color: #000;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s;
  align-self: flex-start;
}
.icard a:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
}

/* ── SEDES ───────────────────────────────────────────────── */
.sedes-section {
  background: #fff;
  padding: 60px 0;
  border-top: 1px solid var(--borde);
}
.sedes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.sede-card {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--sombra);
}
.sede-card:hover {
  border-color: var(--verde_header);   
  box-shadow: 0 8px 28px rgba(181, 192, 0, 0.2);
  transform: translateY(-4px);
}
.sede-map {
  width: 100%;
  height: 210px;
  border: none;
  display: block;
}
.sede-body {
  padding: 18px;
}
.sede-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--verde_header);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sede-badge.alt {
  background: var(--bg3);
  color: var(--gris2);
  border: 1px solid var(--borde);
}
.sede-body h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 12px;
}
.sede-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sede-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--gris2);
}
.sede-row i {
  color: #888;
  flex-shrink: 0;
  margin-top: 2px;
  width: 13px;
  font-size: 11px;
}
.sede-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--borde);
  display: flex;
  gap: 8px;
}
.btn-sede-maps {
  flex: 1;
  padding: 9px;
  background: var(--verde_header);
  color: #000;
  border: none;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-sede-maps:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
}
.btn-sede-wsp {
  padding: 9px 13px;
  background: var(--bg3);
  color: var(--gris2);
  border: 1px solid var(--borde);
  border-radius: var(--r);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-sede-wsp:hover {
  background: var(--verde);
  color: #000;
  border-color: var(--verde);
}

/* ── PAYMENT ─────────────────────────────────────────────── */
.pay-section {
  background: var(--bg3);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  padding: 36px 0;
}
.pay-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.pay-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
}
.pay-title span {
  color: var(--gris3);
  font-size: 12px;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
.pay-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pmethod {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--borde);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gris2);
  transition: all 0.2s;
}
.pmethod:hover {
  border-color: var(--verde);
  color: #000;
}
.pmethod i {
  font-size: 20px;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #111111;
  color: #aaaaaa;
  border-top: 3px solid var(--verde_header);
}
.footer-top {
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 44px;
}
.flogo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.flogo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.flogo-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  display: block;
}
.flogo-sub {
  font-size: 10px;
  color: #777;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: #888;
}
.social {
  display: flex;
  gap: 8px;
}
.social a {
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #777;
  transition: all 0.2s;
  border: 1px solid #2a2a2a;
}
.social a:hover {
  background: var(--amarillo);
  color: #000;
  border-color: var(--amarillo);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  color: var(--amarillo);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2a2a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #888;
  transition: color 0.15s;
}
.footer-col ul a:hover {
  color: var(--amarillo);
}
.footer-col ul a i {
  width: 14px;
  color: #555;
  font-size: 11px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #888;
}
.contact-item i {
  color: #666;
  margin-top: 2px;
  flex-shrink: 0;
}
.fbadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.fbadge {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #777;
}
.footer-bottom {
  background: #0a0a0a;
  padding: 16px 0;
  border-top: 1px solid #1a1a1a;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #666;
}
.footer-bottom a {
  color: #666;
  transition: color 0.15s;
}
.footer-bottom a:hover {
  color: var(--amarillo);
}

/* ── FORMS ───────────────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gris2);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid var(--borde);
  border-radius: var(--r);
  font-size: 14px;
  color: #0d0d0d;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amarillo-d);
  box-shadow: 0 0 0 3px rgba(181, 192, 0, 0.14);
}
.form-group select option {
  background: #fff;
  color: #0d0d0d;
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-error {
  color: var(--rojo);
  font-size: 12px;
  margin-top: 5px;
}
.input-error {
  border-color: var(--rojo) !important;
}
.alert {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-error {
  background: rgba(229, 57, 53, 0.08);
  color: #c62828;
  border: 1px solid rgba(229, 57, 53, 0.2);
}
.alert-success {
  background: rgba(46, 125, 50, 0.08);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
}
.alert-info {
  background: rgba(181, 192, 0, 0.1);
  color: #6b7300;
  border: 1px solid rgba(181, 192, 0, 0.25);
}
.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--amarillo);
  color: #000;
  border: none;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-submit:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  padding-right: 44px;
  position: relative;
  z-index: 1;
}
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gris3);
  font-size: 16px;
  z-index: 10;
  padding: 4px;
  pointer-events: auto;
}
.toggle-password:hover {
  color: var(--amarillo);
}
.toggle-password i,
.toggle-password .fas {
  pointer-events: none;
}

/* ── AUTH ────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
}
.auth-card {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  padding: 42px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--sombra);
}
.auth-logo {
  text-align: center;
  margin-bottom: 30px;
}
.auth-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  margin: 0 auto 14px;
  display: block;
}
.auth-logo h2 {
  font-size: 24px;
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 6px;
}
.auth-logo p {
  color: var(--gris3);
  font-size: 14px;
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gris3);
}
.auth-footer a {
  color: #6b7300;
  font-weight: 700;
}

/* ── CART ────────────────────────────────────────────────── */
.page-title {
  font-size: 26px;
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-title i {
  color: #6b7300;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  padding: 30px 0;
}
.cart-table-wrap {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  overflow: hidden;
  box-shadow: var(--sombra);
}
.cart-table-header {
  display: grid;
  grid-template-columns: 70px 1fr 130px 110px 50px;
  gap: 14px;
  padding: 12px 20px;
  background: var(--bg3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gris3);
  border-bottom: 1px solid var(--borde);
}
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr 130px 110px 50px;
  gap: 14px;
  padding: 16px 20px;
  align-items: center;
  border-bottom: 1px solid var(--borde);
  transition: background 0.15s;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item:hover {
  background: var(--bg3);
}
.cart-item-img {
  width: 64px;
  height: 56px;
  background: var(--bg3);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #6b7300;
}
.cart-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
}
.cart-item-brand {
  font-size: 11px;
  color: #6b7300;
  margin-top: 3px;
}
.cart-item-unit {
  font-size: 15px;
  font-weight: 800;
  color: #6b7300;
}
.cart-item-subtotal {
  font-size: 16px;
  font-weight: 900;
  color: #0d0d0d;
}
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--borde);
  border-radius: var(--r);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 32px;
  height: 34px;
  background: var(--bg3);
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover {
  background: var(--amarillo);
  color: #000;
}
.qty-input {
  width: 44px;
  height: 34px;
  text-align: center;
  background: #fff;
  border: none;
  border-left: 1px solid var(--borde);
  border-right: 1px solid var(--borde);
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
}
.btn-remove-item {
  background: none;
  border: none;
  color: var(--gris3);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.15s;
  padding: 4px;
}
.btn-remove-item:hover {
  color: var(--rojo);
}
.cart-summary {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 150px;
  box-shadow: var(--sombra);
}
.cart-summary h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--borde);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gris3);
}
.summary-row .label {
  color: var(--gris2);
}
.summary-row.total {
  font-size: 18px;
  font-weight: 900;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid rgba(181, 192, 0, 0.35);
  color: #0d0d0d;
}
.summary-row.total .val {
  color: #6b7300;
}
.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--amarillo);
  color: #000;
  border: none;
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 18px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
}
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty i {
  font-size: 70px;
  color: #ddd;
  margin-bottom: 20px;
  display: block;
}
.cart-empty h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 8px;
}
.cart-empty p {
  color: var(--gris3);
  margin-bottom: 24px;
}

/* ── CHECKOUT ────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  padding: 30px 0;
}
.checkout-block {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--sombra);
}
.checkout-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #6b7300;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(181, 192, 0, 0.25);
}
.delivery-options,
.payment-options {
  display: grid;
  gap: 12px;
}
.delivery-options {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
}
.payment-options {
  grid-template-columns: repeat(3, 1fr);
}
.option-card {
  border: 2px solid var(--borde);
  border-radius: var(--r);
  padding: 16px;
  cursor: pointer;
  background: var(--bg3);
  transition: all 0.2s;
  position: relative;
}
.option-card:hover,
.option-card.selected {
  border-color: var(--amarillo);
  background: rgba(181, 192, 0, 0.06);
}
.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.option-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.option-icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #6b7300;
  border: 1px solid var(--borde);
}
.option-title {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
}
.option-subtitle {
  font-size: 12px;
  color: var(--gris3);
}
.option-price {
  font-size: 12px;
  color: #6b7300;
  font-weight: 700;
  margin-top: 2px;
}
.payment-card {
  border: 2px solid var(--borde);
  border-radius: var(--r);
  padding: 14px 10px;
  cursor: pointer;
  text-align: center;
  background: var(--bg3);
  transition: all 0.2s;
  position: relative;
}
.payment-card:hover,
.payment-card.selected {
  border-color: var(--amarillo);
  background: rgba(181, 192, 0, 0.06);
}
.payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.payment-card i {
  font-size: 22px;
  color: #6b7300;
  display: block;
  margin-bottom: 6px;
}
.payment-card span {
  font-size: 11px;
  font-weight: 700;
  color: var(--gris2);
}

/* ── PAGO WIDGET (estilo Culqi) ──────────────────────────── */
.pago-modal {
  border-radius: var(--rl);
  overflow: hidden;
}
.pago-modal-top {
  background: #111318;
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pago-modal-brand {
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amarillo);
}
.pago-modal-amount {
  text-align: right;
  line-height: 1.2;
}
.pago-modal-amount span {
  display: block;
  font-size: 11px;
  color: #9a9aa5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pago-modal-amount strong {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
}
.pago-modal-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  background: #fff;
  min-height: 220px;
}
.pago-modal-nav {
  background: var(--bg3);
  border-right: 1px solid var(--borde);
  display: flex;
  flex-direction: column;
}
.pago-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--borde);
  transition: all 0.15s;
  position: relative;
}
.pago-nav-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.pago-nav-item:hover {
  background: rgba(181, 192, 0, 0.08);
}
.pago-nav-item.selected {
  background: #fff;
  border-left-color: var(--amarillo);
}
.pago-nav-item.selected .pago-nav-label {
  color: #0d0d0d;
  font-weight: 800;
}
.pago-nav-item.selected .pago-nav-arrow {
  color: var(--amarillo-d);
  opacity: 1;
}
.pago-nav-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--borde);
  background: #fff;
}
.pago-nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pago-nav-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gris2);
  flex: 1;
  line-height: 1.25;
}
.pago-nav-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.12);
  padding: 2px 6px;
  border-radius: 20px;
}
.pago-nav-arrow {
  font-size: 11px;
  color: var(--gris3);
  opacity: 0.4;
}
.pago-modal-panel {
  padding: 24px;
  display: flex;
  align-items: center;
}
.pago-panel-content {
  width: 100%;
  animation: pagoFade 0.2s ease;
}
@keyframes pagoFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.pago-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 8px;
}
.pago-panel-content p {
  font-size: 13px;
  color: var(--gris2);
  line-height: 1.55;
}
.pago-brand-badges {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  font-size: 30px;
  color: var(--gris3);
}
.pago-brand-badges i:hover {
  color: #0d0d0d;
}
@media (max-width: 640px) {
  .pago-modal-body { grid-template-columns: 1fr; }
  .pago-modal-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--borde);
  }
  .pago-nav-item {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 12px 14px;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .pago-nav-item.selected {
    border-left-color: transparent;
    border-bottom-color: var(--amarillo);
  }
  .pago-nav-label { font-size: 11px; }
  .pago-nav-arrow, .pago-nav-tag { display: none; }
  .pago-modal-panel { padding: 18px; }
}

/* ── Chips "Aceptamos" (carrito) ─────────────────────────── */
.pay-badge {
  width: 46px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 6px;
  color: #0277bd;
  font-size: 15px;
}
.pay-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.checkout-summary-wrap {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  padding: 24px;
  position: sticky;
  top: 150px;
  height: fit-content;
  box-shadow: var(--sombra);
}
.checkout-summary-wrap h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--borde);
}
.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--borde);
}
.checkout-item:last-of-type {
  border-bottom: none;
}
.checkout-item-img {
  width: 50px;
  height: 50px;
  background: var(--bg3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #6b7300;
  flex-shrink: 0;
}
.checkout-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
  flex: 1;
  line-height: 1.3;
}
.checkout-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #6b7300;
}
.btn-place-order {
  width: 100%;
  padding: 16px;
  background: var(--amarillo);
  color: #000;
  border: none;
  border-radius: var(--r);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-place-order:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
}

/* ── PRODUCTS PAGE ───────────────────────────────────────── */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  padding: 30px 0;
}
.sidebar {
  background: #fff;
  border-radius: var(--rl);
  padding: 20px;
  border: 1.5px solid var(--borde);
  height: fit-content;
  position: sticky;
  top: 150px;
  box-shadow: var(--sombra);
}
.sidebar-section {
  margin-bottom: 22px;
}
.sidebar-section h3 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7300;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borde);
}
.sidebar-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 2px;
  color: var(--gris2);
}
.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(181, 192, 0, 0.12);
  color: #000;
}
.sidebar-link .count {
  background: var(--bg3);
  color: var(--gris3);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
}
.price-range {
  display: flex;
  gap: 8px;
  align-items: center;
}
.price-range input {
  flex: 1;
  padding: 8px;
  background: var(--bg3);
  border: 1px solid var(--borde);
  border-radius: 6px;
  font-size: 13px;
  color: #0d0d0d;
  width: 90px;
}
.price-range input:focus {
  border-color: var(--amarillo-d);
  outline: none;
}
.btn-filter {
  margin-top: 10px;
  width: 100%;
  padding: 9px;
  background: var(--amarillo);
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s;
}
.btn-filter:hover {
  background: var(--amarillo-d);
}
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--borde);
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: var(--sombra);
}
.products-count {
  font-size: 13px;
  color: var(--gris3);
}
.products-count strong {
  color: #0d0d0d;
}
.sort-select {
  padding: 8px 12px;
  background: var(--bg3);
  border: 1px solid var(--borde);
  border-radius: 6px;
  font-size: 13px;
  color: #0d0d0d;
  cursor: pointer;
}
.sort-select:focus {
  border-color: var(--amarillo-d);
  outline: none;
}

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px 0;
}
.product-detail-image {
  background: #fff;
  border-radius: var(--rl);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--borde);
  min-height: 380px;
  box-shadow: var(--sombra);
}
.product-detail-image .placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.product-detail-image .placeholder i {
  font-size: 90px;
  color: #ddd;
}
.product-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(181, 192, 0, 0.12);
  color: #6b7300;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(181, 192, 0, 0.25);
}
.product-detail-info h1 {
  font-size: 26px;
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-detail-info .brand-model {
  font-size: 13px;
  color: var(--gris3);
  margin-bottom: 18px;
}
.product-detail-price {
  margin-bottom: 20px;
}
.product-detail-price .price {
  font-size: 36px;
  font-weight: 900;
  color: #6b7300;
}
.product-detail-price .price-old {
  font-size: 18px;
  text-decoration: line-through;
  color: var(--gris3);
  margin-right: 8px;
}
.product-detail-price .price-save-badge {
  background: var(--rojo);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
}
.quantity-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.quantity-wrap label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gris2);
}
.quantity-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--amarillo);
  border-radius: var(--r);
  overflow: hidden;
}
.quantity-control button {
  width: 38px;
  height: 42px;
  background: var(--amarillo);
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  transition: opacity 0.15s;
}
.quantity-control button:hover {
  opacity: 0.8;
}
.quantity-control input {
  width: 54px;
  height: 42px;
  text-align: center;
  background: #fff;
  border: none;
  border-left: 1px solid var(--amarillo);
  border-right: 1px solid var(--amarillo);
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
}
.btn-add-cart-lg {
  padding: 13px 26px;
  background: var(--amarillo);
  color: #000;
  border: none;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-add-cart-lg:hover {
  background: var(--amarillo-d);
  box-shadow: var(--glow);
}
.product-attrs {
  margin-top: 22px;
}
.product-attrs h3 {
  font-size: 14px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borde);
}
.attr-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--borde);
  font-size: 13px;
}
.attr-label {
  color: var(--gris3);
  width: 140px;
  flex-shrink: 0;
}
.attr-value {
  color: #0d0d0d;
  font-weight: 600;
}

/* ── ORDERS / PROFILE / SUCCESS ──────────────────────────── */
.orders-layout {
  padding: 30px 0;
}
.order-card {
  background: #fff;
  border: 1.5px solid var(--borde);
  border-radius: var(--rl);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
  box-shadow: var(--sombra);
}
.order-card:hover {
  border-color: var(--verde);
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg3);
  border-bottom: 1px solid var(--borde);
  flex-wrap: wrap;
  gap: 10px;
}
.order-code {
  font-weight: 900;
  font-size: 16px;
  color: #6b7300;
}
.order-date {
  font-size: 13px;
  color: var(--gris3);
}
.order-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.badge-pendiente {
  background: rgba(245, 124, 0, 0.12);
  color: #e65100;
}
.badge-confirmado {
  background: rgba(2, 136, 209, 0.12);
  color: #0277bd;
}
.badge-procesando,
.badge-enviado {
  background: rgba(181, 192, 0, 0.15);
  color: #6b7300;
}
.badge-entregado {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
}
.badge-cancelado {
  background: rgba(229, 57, 53, 0.1);
  color: #c62828;
}
.order-card-body {
  padding: 14px 20px;
}
.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--borde);
  font-size: 13px;
  color: var(--gris3);
}
.order-total {
  font-size: 18px;
  font-weight: 900;
  color: #6b7300;
}
.order-item-chip {
  background: var(--bg3);
  border: 1px solid var(--borde);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--gris2);
  display: inline-block;
  margin: 3px 3px 3px 0;
}
.order-success {
  padding: 60px 0;
  text-align: center;
}
.success-icon {
  width: 90px;
  height: 90px;
  background: rgba(46, 125, 50, 0.1);
  border: 2px solid var(--verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 44px;
  color: var(--verde);
}
.order-success h1 {
  font-size: 32px;
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 8px;
}
.order-success p {
  color: var(--gris3);
  font-size: 16px;
}
.order-code-display {
  display: inline-block;
  background: rgba(181, 192, 0, 0.12);
  color: #6b7300;
  font-size: 22px;
  font-weight: 900;
  padding: 8px 24px;
  border-radius: var(--r);
  margin: 16px 0;
  border: 1px solid rgba(181, 192, 0, 0.3);
}
.order-detail-box {
  background: #fff;
  border: 1.5px solid var(--borde);
  border-radius: var(--rl);
  padding: 24px;
  max-width: 500px;
  margin: 24px auto;
  text-align: left;
  box-shadow: var(--sombra);
}
.order-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--borde);
  font-size: 14px;
  color: var(--gris2);
}
.order-detail-row:last-child {
  border-bottom: none;
  font-weight: 900;
  color: #0d0d0d;
  font-size: 16px;
}
.order-detail-row span:last-child {
  color: #6b7300;
}
.profile-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  padding: 30px 0;
}
.profile-sidebar {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  padding: 24px;
  height: fit-content;
  box-shadow: var(--sombra);
}
.profile-avatar {
  width: 80px;
  height: 80px;
  background: var(--verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #000;
  margin: 0 auto 16px;
}
.profile-name {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 4px;
}
.profile-email {
  text-align: center;
  font-size: 12px;
  color: var(--gris3);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--borde);
}
.profile-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: var(--r);
  font-size: 13px;
  color: var(--gris2);
  transition: all 0.2s;
  margin-bottom: 4px;
}
.profile-nav a:hover,
.profile-nav a.active {
  background: rgba(181, 192, 0, 0.12);
  color: #000;
}
.profile-nav a i {
  width: 16px;
  color: #888;
}
.profile-content {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  padding: 28px;
  box-shadow: var(--sombra);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 50px 0;
}
.contact-form-wrap {
  background: #fff;
  border-radius: var(--rl);
  border: 1.5px solid var(--borde);
  padding: 32px;
  box-shadow: var(--sombra);
}
.contact-form-wrap h2 {
  font-size: 22px;
  font-weight: 900;
  color: #0d0d0d;
  margin-bottom: 6px;
}
.contact-form-wrap p {
  color: var(--gris3);
  font-size: 14px;
  margin-bottom: 24px;
}
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info-card {
  background: #fff;
  border: 1.5px solid var(--borde);
  border-radius: var(--rl);
  padding: 22px;
  transition: border-color 0.2s;
  box-shadow: var(--sombra);
}
.contact-info-card:hover {
  border-color: var(--verde);
}
.contact-info-card .card-icon {
  width: 44px;
  height: 44px;
  background: rgba(181, 192, 0, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #6b7300;
  margin-bottom: 12px;
}
.contact-info-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 8px;
}
.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--gris2);
}
.ci-row i {
  color: #888;
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
}

/* ── PAGINATION / TOAST / UTILS ──────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}
.page-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  border: 1.5px solid var(--borde);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gris2);
  transition: all 0.2s;
}
.page-link:hover,
.page-link.active {
  background: var(--verde_header);
  color: #000;
  border-color: var(--verde_header);
}
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #CEFF04;
  color: #000;
  padding: 14px 20px;
  border-radius: var(--rl);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 10px;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gris3);
}
.no-results i {
  font-size: 50px;
  margin-bottom: 16px;
  display: block;
  color: #ddd;
}
.cart-empty i {
  color: #ddd;
}
.text-center {
  text-align: center;
}
.divider {
  height: 1px;
  background: var(--borde);
  margin: 20px 0;
}
.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════
   MEJORAS IP TECNOLOGÍA — ACTUALIZACIÓN 2025
   ══════════════════════════════════════════ */

/* ── Botones Header: tamaño unificado, colores originales (#000 / #CEFF04) ── */
.btn-header-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  border-radius: var(--r);
  text-decoration: none;
  border: none;
}
.btn-login  { background:#000; color:#CEFF04; }
.btn-login:hover  { background:#1a1a1a; opacity:.9; }
.btn-register { background:#000; color:#CEFF04; font-weight:800; }
.btn-register:hover { background:#1a1a1a; opacity:.9; }

.user-btn.btn-header-action {
  background: rgba(0,0,0,0.1);
  border: 2px solid rgba(0,0,0,0.18);
  color: #000;
  font-size: 13px;
  height: 38px;
  padding: 0 12px;
}
.user-btn.btn-header-action:hover { background: rgba(0,0,0,0.18); }

.cart-btn {
  position: relative;
  width: 38px;
  height: 38px;
  background: #000;
  color: #CEFF04;
  border: none;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
  text-decoration: none;
}
.cart-btn:hover { background:#1a1a1a; opacity:.9; }

/* ── Botón "Ver productos" carrito — más pequeño ─────────────── */
.btn-ver-productos { font-size:13px !important; padding:9px 18px !important; }

/* ── Menú árbol de categorías ───────────────────────────────── */
.cat-dropdown-tree { min-width:240px; padding:6px 0; }
.cat-tree-item { position:relative; }
.cat-tree-link {
  display:flex; align-items:center; gap:9px; padding:9px 16px;
  color:var(--texto); text-decoration:none; font-size:13px; font-weight:600;
  transition:background .15s,color .15s; white-space:nowrap;
}
.cat-tree-link:hover { background:rgba(206,255,4,.15); color:#000; }
.cat-tree-link i:first-child { width:16px; text-align:center; font-size:13px; color:#666; flex-shrink:0; }
.cat-tree-link:hover i:first-child { color:#000; }
.cat-tree-arrow { margin-left:auto; font-size:10px; color:#aaa; flex-shrink:0; transition:transform .2s; }
.cat-tree-root { font-weight:700; }
.cat-tree-sub { display:none; background:rgba(0,0,0,.03); border-left:2px solid rgba(206,255,4,.5); margin-left:16px; }
.cat-tree-item.has-children:hover > .cat-tree-sub,
.cat-tree-item.has-children:focus-within > .cat-tree-sub { display:block; }
.cat-tree-child { padding-left:20px; }
.cat-tree-sub2 { background:rgba(0,0,0,.04); border-left:2px solid rgba(206,255,4,.3); margin-left:12px; }
.cat-tree-grandchild { padding-left:22px; font-weight:500; font-size:12px; color:#555; }
.cat-tree-grandchild:hover { color:#000; }
.cat-tree-item.has-children:hover > .cat-tree-link .cat-tree-arrow { transform:rotate(90deg); }
.cat-tree-all { margin-top:4px; padding-top:10px; border-top:1px solid rgba(0,0,0,.08); color:var(--primary) !important; font-weight:800 !important; }

/* ── FIX: nombre de usuario visible en header ── */
.user-btn span {
  display: inline;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* ── Apple-style carousel (si se usa) ── */
.apple-center {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1px;
}
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
}
.item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.item.active {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}
.item.prev,
.item.next {
  opacity: 0.5;
  filter: blur(2px) brightness(0.8);
  z-index: 5;
}
.item.prev {
  transform: translateX(calc(-50% - 62%)) translateY(-50%) scale(0.88);
}
.item.next {
  transform: translateX(calc(-50% + 62%)) translateY(-50%) scale(0.88);
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #1a1a2e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.arrow svg {
  width: 18px;
  height: 18px;
}
.arrow:hover {
  background: #2e2e5e;
  transform: translateY(-50%) scale(1.1);
}
.arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.arrow.left  { left: 14px; }
.arrow.right { right: 14px; }

/* ══════════════════════════════════════════
   RESPONSIVE COMPLETO — IP TECNOLOGÍA
   ══════════════════════════════════════════ */

/* ── TABLET GRANDE (max 1100px) ────────────────────────────── */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .oferta-inner { grid-template-columns: 1fr; }
  .oferta-grid { grid-template-columns: repeat(2, 1fr); }
  .sedes-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
}

/* ── TABLET GRANDE (max 1024px) ────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 36px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .sedes-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .oferta-inner { flex-direction: column; gap: 24px; }
  .oferta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .products-layout { grid-template-columns: 220px 1fr; }
  .prod-img { height: auto !important; }        /* ← agregar */
  .product-detail-layout { grid-template-columns: 1fr; } /* ← ya lo tienes en 1100px, ok dejarlo */
}

/* ── TABLET (max 900px) ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .benefits .container { grid-template-columns: repeat(2, 1fr); }
  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── TABLET (max 768px) ────────────────────────────────────── */
@media (max-width: 768px) {
  .header .container { flex-direction: column; align-items: center; gap: 10px; padding: 14px 16px; }
  .logo { order: 1; margin: 0 auto; }
  .logo-img { width: 72px; height: 72px; }
  .logo-text .bottom { font-size: 15px; }
  .logo-text .top { display: none; }
  .header-actions { order: 2; margin: 0 auto; gap: 8px; justify-content: center; }
  .search-bar { order: 3; width: 100%; max-width: 100%; flex: none; }
  .btn-login, .btn-register { padding: 9px 16px; font-size: 13px; }
  .btn-login span, .btn-register span { display: inline; }
  .oferta-inner > div:first-child { text-align: center; }
  .oferta-inner > div:first-child a { margin: 20px auto 0; }

  .nav-links { display: none; }
  .cat-btn { font-size: 13px; padding: 12px 16px; }
  .main-nav { position: sticky; top: 0; }

  .hero { padding: 40px 0; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-badge { display: inline-flex; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; gap: 20px; }
  .stat .num { font-size: 24px; }

  .benefits .container { grid-template-columns: 1fr 1fr; }
  .benefit { padding: 16px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }

  .oferta-inner { flex-direction: column; }
  .oferta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .info-grid { grid-template-columns: 1fr; gap: 12px; }

  .sedes-grid { grid-template-columns: 1fr; gap: 16px; }
  .sede-map { height: 180px; }

  .testi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .testi-form-row { grid-template-columns: 1fr; }

  .brands-inner { gap: 8px; }
  .brand-logo-item { width: 90px; height: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-top { padding: 30px 0 20px; }

  .pay-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pay-methods { flex-wrap: wrap; gap: 8px; }

  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-table-header div:nth-child(4),
  .cart-table-header div:nth-child(5),
  .cart-item > div:nth-child(4),
  .cart-item > div:nth-child(5) { display: none; }

  .profile-layout { grid-template-columns: 1fr; }

  .promo-slide-inner { flex-direction: column; gap: 12px; }
  .promo-img-wrap img { max-height: 70px; }
  .promo-titulo { font-size: 18px; }

  #cookie-banner { flex-direction: column; align-items: flex-start; bottom: 0 !important; }

  .admin-grid { grid-template-columns: 1fr 1fr !important; }

  .flash { top: 124px; }

  /* ── PROD-IMG en tablet ── */
  .prod-img { height: auto !important; }
}

/* ── MÓVIL (max 700px) extra ── */
@media (max-width: 700px) {
  .header .container { flex-wrap: wrap; gap: 10px; }
  .search-bar { order: 3; max-width: 100%; width: 100%; }
  .nav-links { display: none; }
  .hero h1 { font-size: 28px; }
  .cat-grid, .benefits .container { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pay-inner { flex-direction: column; align-items: flex-start; }
  .cart-table-header, .cart-item { grid-template-columns: 54px 1fr 100px; }
  .cart-table-header div:nth-child(4),
  .cart-table-header div:nth-child(5),
  .cart-item > div:nth-child(4),
  .cart-item > div:nth-child(5) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr 1fr; }
  .delivery-options { grid-template-columns: 1fr; }
}

/* ── MÓVIL (max 600px) ─────────────────────────────────────── */
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 22px; }
  .benefits .container { flex-direction: column; }
  .testi-grid { grid-template-columns: 1fr; }
  .brands-inner { flex-direction: column; align-items: flex-start; }
  .brands-logos-wrap { gap: 8px; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  .checkout-summary-wrap { margin-top: 0; }
  .auth-card { padding: 20px 16px; }
  .form-row { flex-direction: column; }
  .page-title { font-size: 20px; }
  .pay-inner { flex-direction: column; gap: 12px; }
  .pay-methods { flex-wrap: wrap; justify-content: center; }
  .pd-faq-wrap { padding: 18px; }
  .carrito-layout { grid-template-columns: 1fr; }

  body { font-size: 14px; }
  .container { padding: 0 15px; }

  .header .container { gap: 8px; }
  .logo { max-width: 100px; }
  .search-bar { max-width: 100%; }
  .header-actions { gap: 6px; margin-left: 8px; }
  .header-actions > * { font-size: 18px; }

  .main-nav .container { padding: 0 10px; }
  .cat-menu-trigger { font-size: 16px; }

  .hero { padding: 30px 0; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }
  .hero-stat { text-align: left; }
  .hero-stat-num { font-size: 24px; }

  .btn-main, .btn-primary, button[class*="btn"] {
    min-height: 44px;
    font-size: 14px;
    padding: 12px 16px;
  }

  .cat-card { padding: 20px 15px; }
  .prod-card { margin-bottom: 10px; }

  .section { padding: 40px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 24px; }

  .sidebar { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--borde); }
  .sidebar-section { margin-bottom: 20px; }

  .cart-table { font-size: 12px; }
  .cart-item { padding: 12px 8px; }

  input, textarea, select { font-size: 16px; padding: 12px; }
  .form-group { margin-bottom: 15px; }

  * { max-width: 100%; }

  .flash { top: 118px; }
}

/* ── MÓVIL PEQUEÑO (max 480px) ─────────────────────────────── */
@media (max-width: 480px) {
  html, body { overflow-x: hidden; width: 100%; }
  .container { padding: 0 12px; }

  .header .container { flex-direction: column; align-items: center; gap: 8px; }
  .logo { order: 1; margin: 0 auto; max-width: none; }
  .logo-img { width: 72px; height: 72px; }
  .logo-text .bottom { font-size: 13px; }
  .header-actions { order: 2; margin: 0 auto; gap: 6px; justify-content: center; }
  .search-bar { order: 3; width: 100%; margin-top: 2px; }
  .search-bar input { font-size: 13px !important; padding: 9px 10px; }
  .btn-login i, .btn-register i { font-size: 16px; }
  .cart-btn { width: 36px; height: 36px; font-size: 17px; }

  .main-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid var(--borde);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .cat-btn { width: 100%; justify-content: center; font-size: 13px; padding: 11px 14px; }

  .hero { padding: 28px 0; text-align: center; }
  .hero h1 { font-size: 20px; line-height: 1.3; }
  .hero h2 { font-size: 18px; }
  .hero p { font-size: 13px; margin-bottom: 20px; margin-left: auto; margin-right: auto; }
  .hero-badge { display: inline-flex; font-size: 11px; }
  .hero-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .btn-main, .btn-wsp { padding: 11px 18px; font-size: 13px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .stat { text-align: center; }
  .stat .num { font-size: 20px; }
  .stat .lbl { font-size: 11px; }

  .benefits .container { grid-template-columns: 1fr; }
  .benefit { border-right: none; border-bottom: 1px solid var(--borde); }
  .benefit:last-child { border-bottom: none; }

  .section { padding: 32px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: 20px; }
  .sec-head p { font-size: 13px; }

  .cat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-card { padding: 16px 12px; }
  .cat-card-icon { font-size: 22px; margin-bottom: 8px; }
  .cat-card h3 { font-size: 13px; }
  .cat-card p { display: none; }

  /* ── PROD-IMG en móvil: más bajo, sin bordes raros ── */
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prod-card { border-radius: 10px; margin-bottom: 8px; }
  .prod-img { height: auto !important; }
  .prod-img img,
  .prod-img .img-principal,
  .prod-img .img-hover { padding: 6px !important; }
  .prod-body { padding: 10px; }
  .prod-name a { font-size: 12px; }
  .price-main { font-size: 15px; }
  .btn-cart { font-size: 12px; padding: 8px; }

  .oferta-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ocard { padding: 12px 10px; }
  .ocard-name { font-size: 11px; }
  .ocard-new { font-size: 14px; }

  .testi-grid { grid-template-columns: 1fr; }
  .testi-form-wrap { padding: 16px; }

  .brands-lbl { display: none; }
  .brand-logo-item { width: 76px; height: 44px; }

  .sede-map { height: 160px; }
  .sede-body { padding: 14px; }
  .sede-body h3 { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-brand p { font-size: 12px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 10px; }
  .footer-col ul li a { font-size: 12px; padding: 4px 0; }
  .contact-item { font-size: 12px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; font-size: 11px; }
  .footer-bottom a { font-size: 11px; }

  .cart-table-header { display: none; }
  .cart-item { grid-template-columns: 54px 1fr; gap: 8px; }
  .cart-item > div:nth-child(3),
  .cart-item > div:nth-child(4),
  .cart-item > div:nth-child(5) { display: none; }
  .checkout-summary-wrap { padding: 14px; }
  .payment-options { grid-template-columns: 1fr 1fr; }

  .auth-card { padding: 20px 14px; margin: 20px auto; }
  .auth-card h2 { font-size: 20px; }

  input, textarea, select { font-size: 14px; padding: 10px 12px; }
  .form-row { grid-template-columns: 1fr !important; }
  .form-group { margin-bottom: 12px; }

  .pay-methods { justify-content: center; }
  .pmethod { font-size: 12px; padding: 6px 10px; }

  #wsp-widget { bottom: 16px; right: 16px; }
  #wsp-toggle { width: 54px; height: 54px; font-size: 28px; }
  #wsp-menu { width: calc(100vw - 28px); right: -4px; }

  #cookie-banner { padding: 12px 14px; bottom: 0 !important; }
  #cookie-banner p { font-size: 12px; }
  #cookie-banner button { padding: 8px 14px; font-size: 12px; }

  .admin-grid { grid-template-columns: 1fr !important; }
  .admin-sidebar { display: none; }
}

/* ── MÓVIL PEQUEÑO (max 360px) ─────────────────────────────── */
@media (max-width: 360px) {
  .hero h1 { font-size: 19px; }
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .oferta-grid { grid-template-columns: 1fr; }
  .btn-main, .btn-wsp { font-size: 13px; }
  .brand-logo-item { width: 64px; height: 40px; }
}

/* ── CARRITO MÓVIL ── */
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-table-header {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 8px;
    padding: 8px 12px;
    font-size: 10px;
  }
  .cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 8px;
    padding: 12px;
    align-items: center;
  }
  .cart-table-header div,
  .cart-item > div { display: flex; }
  .cart-table-header div:nth-child(3),
  .cart-item > div:nth-child(3) { display: none; }
  .qty-wrap { display: flex; align-items: center; }
  .qty-btn { width: 28px; height: 30px; font-size: 16px; }
  .qty-input { width: 36px; height: 30px; font-size: 13px; }
  .cart-item-subtotal { font-size: 13px; }
  
.oferta-fechas {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 8px 0 6px;
}
.oferta-activa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #CEFF04;
  color: #000;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.oferta-inactiva-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.price-locked {
  margin: 6px 0 4px;
}
.price-locked a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-decoration: none;
}
.price-locked a:hover { color: #555; }
.price-locked i { color: #CEFF04; }
.btn-login-required {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
}
/* =========================================================================
   NUEVO — Variables y estilos agregados para: Cupones, Testimonios admin,
   Detalle de pedido y mejoras del panel de Pedidos (repartidor/provincia).
   No modifica ninguna regla existente arriba de este bloque.
   ========================================================================= */
:root {
  --amarillo-texto: #7a8f00;
  --dark2: var(--bg2);
  --dark3: var(--bg3);
  --white: var(--gris1);
  --gray2: var(--gris3);
}

.user-btn .user-points {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #CEFF04 0%, #d9ff7b 100%);
  color: #111;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08);
}

.btn-danger-large{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  padding:0 8px;
  border-radius:12px;
  background:var(--rojo);
  color:#fff;
  border:none;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(229,57,53,0.14);
  transition:transform .12s ease,box-shadow .12s ease,opacity .12s ease;
}
.btn-danger-large:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(229,57,53,0.22);}

.admin-orders{display:flex;flex-direction:column;gap:20px;}
.admin-orders-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;padding:22px 24px;background:#fff;border:1px solid rgba(226,232,240,.8);border-radius:22px;box-shadow:0 24px 60px rgba(15,23,42,.06);}
.admin-orders-titlebar h2{margin:0;font-size:20px;font-weight:800;color:var(--gris1);}
.admin-orders-subtitle{margin:6px 0 0;color:var(--gris3);font-size:13px;max-width:520px;line-height:1.5;}
.admin-orders-summary{font-size:14px;font-weight:700;color:var(--gris2);background:rgba(59,130,246,.08);padding:10px 16px;border-radius:999px;}
.admin-orders-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0;}
.admin-orders-table-wrap{overflow-x:auto;background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:22px;box-shadow:0 18px 40px rgba(15,23,42,.05);}

.btn-edit{background:linear-gradient(180deg,#ffffff,#f7f7fb);border:1px solid var(--borde);color:var(--gris1);padding:10px 14px;border-radius:12px;min-width:110px;text-decoration:none;display:inline-block;text-align:center;font-weight:700;font-size:13px;}

.customer-cell{display:flex;flex-direction:column;gap:6px;}
.customer-name{font-weight:700;color:var(--gris1);}
.customer-meta{font-size:12px;color:var(--gris3);}

.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700;}
.badge-delivery{background:#ebf3ff;color:#1f4ed8;border:1px solid rgba(59,130,246,.16);}
.badge-store{background:#ecfdf5;color:#15803d;border:1px solid rgba(16,185,129,.16);}
.badge-province{background:#f3f4f6;color:#1f2937;border:1px solid rgba(148,163,184,.35);display:inline-flex;align-items:center;gap:8px;}
.badge-province-img img{width:18px;height:18px;display:block;}

.status-select{width:100%;max-width:160px;border-radius:14px;border:1px solid rgba(226,232,240,.9);padding:10px 12px;background:#fff;color:var(--gris1);font-size:13px;}

.modal-overlay{display:none;position:fixed;inset:0;background:rgba(7,12,20,0.55);z-index:2100;align-items:center;justify-content:center;padding:20px}
.modal-box{background:linear-gradient(180deg,#fff,#fbfcff);border-radius:12px;padding:18px;max-width:820px;width:100%;box-shadow:0 30px 80px rgba(2,6,23,0.38);border:1px solid rgba(255,255,255,0.12);}
.modal-title{font-size:18px;font-weight:900;color:var(--gris1);display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--borde);padding-bottom:12px;margin-bottom:10px}
.modal-close{position:absolute;top:14px;right:14px;background:transparent;border:none;font-size:18px;cursor:pointer}

.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:12px;font-size:14px;font-weight:700;text-decoration:none;border:none;cursor:pointer;transition:all .18s ease;}
.btn-primary{background:var(--amarillo);color:#000;}
.btn-primary:hover{background:var(--amarillo-hover);}
.btn-secondary{background:var(--bg3);color:var(--gris1);border:1px solid var(--borde);}
.btn-secondary:hover{background:var(--bg4);}
