/* ==========================================================================
   ORMAN — Design tokens (tomados del sitio real: azul #003AA5, naranja
   #F9A634, gris texto #677294, oscuro #212529)
   ========================================================================== */
:root {
  --blue: #003aa5;
  --blue-dark: #002872;
  --blue-light: #2a5cd4;
  --orange: #f9a634;
  --orange-dark: #e0921f;
  --dark: #1c2230;
  --gray: #677294;
  --gray-light: #97a0b8;
  --bg: #f7f8fb;
  --white: #ffffff;
  --border: #e4e8f0;
  --success: #1fa971;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(28, 34, 48, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 58, 165, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 58, 165, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--gray); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--orange); border-radius: 3px; }

/* ==========================================================================
   Preloader — pincel de pintura llenando el logo
   ========================================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark { position: relative; width: 220px; height: 60px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.preloader-mark svg { position: relative; z-index: 2; width: 100%; height: 100%; }
.preloader-logo { position: relative; z-index: 2; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.preloader-brush {
  position: absolute; top: 0; left: -10%; width: 40px; height: 100%;
  background: linear-gradient(90deg, transparent, var(--orange) 40%, var(--orange) 60%, transparent);
  filter: blur(6px);
  animation: brushSweep 1.4s ease-in-out infinite;
  z-index: 1;
}
@keyframes brushSweep {
  0% { left: -10%; }
  50% { left: 90%; }
  100% { left: -10%; }
}
.preloader-bar {
  width: 180px; height: 4px; margin-top: 28px; border-radius: 4px;
  background: rgba(255,255,255,.18); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0%; background: var(--orange);
  border-radius: 4px; animation: barFill 1.6s var(--ease) forwards;
}
@keyframes barFill { to { width: 100%; } }
.preloader-label {
  margin-top: 16px; color: rgba(255,255,255,.75); font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}


/* ---- Intro animada del logo (solo portada, una vez por visita) ---- */
#preloader[data-intro] { overflow: hidden; }
.preloader-stage { position: relative; z-index: 2; width: min(520px, 92vw); aspect-ratio: 1200 / 560; margin-top: -2%; }
.pre-seq { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
#preloader[data-intro] .preloader-bar { position: relative; z-index: 2; margin-top: -26px; }
#preloader[data-intro] .preloader-label { position: relative; z-index: 2; }
#preloader[data-intro] .preloader-bar span { animation: none; width: 0; }
#preloader[data-intro].run .preloader-bar span { animation: barFill var(--intro-dur, 4.6s) cubic-bezier(.45,.05,.4,1) forwards; }
/* luz naranja: solo sobre las letras del logo, aparece al terminar la secuencia */
.pre-shine {
  position: absolute; left: 25.67%; top: 31.43%; width: 48.67%; height: 33.75%; overflow: hidden; opacity: 0; pointer-events: none;
  -webkit-mask-image: url(../assets/logo-intro-final.png); mask-image: url(../assets/logo-intro-final.png);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.pre-shine i {
  position: absolute; top: -10%; left: -30%; width: 26%; height: 120%;
  background: linear-gradient(90deg, transparent, var(--orange) 35%, #ffd089 50%, var(--orange) 65%, transparent);
  filter: blur(5px);
}
#preloader.done .pre-shine { opacity: 1; }
#preloader.done .pre-shine i { animation: shineSweep .95s ease-in-out 1; }
@keyframes shineSweep { from { left: -30%; } to { left: 105%; } }
/* casa que se pinta de fondo */
.pre-house { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(600px, 96vw); transform: translate(-50%, -52%); pointer-events: none; }
.pre-house svg { display: block; width: 100%; height: auto; }
.pre-outline * { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 2; stroke-linejoin: round; }
.pre-fill .h-wall { fill: rgba(255,255,255,.10); }
.pre-fill .h-roof { fill: rgba(249,166,52,.22); }
.pre-fill .h-chim, .pre-fill .h-door { fill: rgba(249,166,52,.16); }
.pre-fill .h-win { fill: rgba(255,255,255,.14); }
.pre-paint { transform: translateY(-14px); }
#preloader.run .pre-paint { animation: paintDown var(--intro-dur, 4.6s) cubic-bezier(.4,.1,.35,1) forwards; }
@keyframes paintDown { from { transform: translateY(-14px); } to { transform: translateY(430px); } }
@media (prefers-reduced-motion: reduce) { #preloader.done .pre-shine i, #preloader.run .pre-paint { animation: none; } }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
  z-index: -1;
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled::before { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.site-header .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.scrolled .brand .logo-dark { display: block; }
.site-header.scrolled .brand .logo-light { display: none; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px; font-weight: 600; font-size: 14.5px; border-radius: 999px;
  color: #fff; transition: background .25s, color .25s;
  position: relative;
}
.site-header.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.16); }
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active { background: var(--bg); color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); color: #fff; border: none;
  transition: background .25s, transform .25s;
}
.icon-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.28); }
.site-header.scrolled .icon-btn { background: var(--bg); color: var(--blue); }
.site-header.scrolled .icon-btn:hover { background: #e9edfa; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 800;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--blue-dark); transition: transform .2s var(--ease);
}
.site-header.scrolled .cart-badge { border-color: #fff; }
.cart-badge.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.4)} 100%{transform:scale(1)} }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  border: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--orange); color: #1c2230; box-shadow: 0 10px 24px rgba(249,166,52,.35); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(249,166,52,.4); }
.btn-outline { background: transparent; border: 2px solid currentColor; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn-dark-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-dark-outline:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.mobile-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--blue); overflow: hidden; padding-top: 90px;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .5; transform: scale(1.08);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(0,40,114,.94) 0%, rgba(0,58,165,.82) 45%, rgba(0,58,165,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; width: 100%; }
.hero-copy h1 {
  font-size: clamp(42px, 6vw, 74px); color: #fff; font-weight: 800; letter-spacing: -.02em;
}
.hero-copy h1 span { color: var(--orange); }
.hero-copy p.lead { color: rgba(255,255,255,.82); font-size: 18px; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { color: #fff; }
.hero-trust strong { display: block; font-size: 26px; font-family: var(--font-display); color: var(--orange); }
.hero-trust span { font-size: 12.5px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; }

.hero-visual { position: relative; height: 480px; }
.hero-visual img {
  position: absolute; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,20,60,.4);
  animation: floatY 5s ease-in-out infinite;
}
.hero-visual .p1 { width: 62%; bottom: 0; right: 0; z-index: 3; animation-delay: 0s; }
.hero-visual .p2 { width: 46%; top: 10%; left: 0; z-index: 2; animation-delay: 1.2s; opacity:.92; }
.hero-visual .p3 { width: 38%; bottom: 8%; left: 8%; z-index: 4; animation-delay: 2s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.hero-scroll .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: dotDrop 1.6s ease-in-out infinite; }
@keyframes dotDrop { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* Page hero (páginas internas) */
.page-hero {
  position: relative; padding: 168px 0 72px; background: var(--blue); overflow: hidden;
}
.page-hero .hero-bg { opacity: .35; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); }
.page-hero .crumbs { position: relative; z-index: 2; color: rgba(255,255,255,.75); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.page-hero .crumbs a:hover { color: var(--orange); }
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }

/* ==========================================================================
   Categorías
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 300px;
  display: flex; align-items: flex-end; padding: 28px; color: #fff;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,40,114,.05) 20%, rgba(0,25,72,.92) 100%); }
.cat-card .cc-body { position: relative; z-index: 2; }
.cat-card .cc-count { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.cat-card h3 { font-size: 22px; margin-bottom: 6px; }
.cat-card .cc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #fff; opacity: .85; }
.cat-card:hover .cc-link { gap: 10px; opacity: 1; }

/* ==========================================================================
   Producto cards / grid tienda
   ========================================================================== */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-pill {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff;
  font-weight: 600; font-size: 13.5px; color: var(--gray); transition: all .25s;
}
.filter-pill:hover { border-color: var(--blue-light); color: var(--blue); }
.filter-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.result-count { font-size: 13.5px; color: var(--gray-light); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.pc-media { position: relative; aspect-ratio: 1/1; background: linear-gradient(160deg,#eef2fb,#f7f8fb); display:flex; align-items:center; justify-content:center; overflow: hidden; }
.pc-media img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.08) rotate(-2deg); }
.pc-soldout { position: absolute; top: 14px; left: 14px; z-index: 3; background: #1c2230; color: #fff; font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.pc-media:has(.pc-soldout) img { opacity: .55; filter: grayscale(.35); }
.btn[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.pc-tag {
  position: absolute; top: 14px; left: 14px; background: var(--orange); color: #1c2230;
  font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.pc-quick {
  position: absolute; right: 14px; bottom: -50px; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  transition: bottom .35s var(--ease); border: none; color: var(--blue);
}
.product-card:hover .pc-quick { bottom: 14px; }
.pc-quick-wa { background: #25d366; color: #fff; text-decoration: none; }
.pc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-dark); }
.pc-body h3 { font-size: 16.5px; line-height: 1.3; min-height: 43px; }
.pc-body h3 a:hover { color: var(--blue); }
.pc-tagline { font-size: 13px; color: var(--gray-light); margin-bottom: 2px; flex: 1; }
.pc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.pc-price { font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 17px; }
.pc-price small { color: var(--gray-light); font-weight: 500; font-size: 11.5px; display: block; }
.pc-add {
  width: 42px; height: 42px; border-radius: 50%; background: var(--bg); color: var(--blue); border: none;
  display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s, transform .25s;
}
.pc-add:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }
.pc-add svg { width: 18px; height: 18px; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--gray-light); }

/* ==========================================================================
   Producto detalle
   ========================================================================== */
.pd-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 60px; align-items: flex-start; }
.pd-media {
  position: sticky; top: 110px; background: linear-gradient(160deg,#eef2fb,#f7f8fb); border-radius: var(--radius);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 40px;
  box-shadow: var(--shadow-sm);
}
.pd-media img { width: 82%; filter: drop-shadow(0 30px 40px rgba(0,58,165,.18)); }
.pd-cat { color: var(--orange-dark); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.pd-title { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 10px; }
.pd-tagline { color: var(--blue); font-weight: 600; font-size: 15.5px; margin-bottom: 22px; }
.pd-desc { font-size: 15.5px; margin-bottom: 28px; }

.variant-select { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.variant-group {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px 16px; background: #fafbfd;
}
.variant-group + .variant-group { margin-top: 0; }
.variant-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.vg-label { font-weight: 700; font-size: 13.5px; color: var(--dark); text-transform: uppercase; letter-spacing: .3px; }
.vg-hint { font-size: 12px; color: var(--gray-light); }
.variant-group-opts { display: flex; gap: 12px; flex-wrap: wrap; }
.variant-opt {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 18px; background: #fff;
  cursor: pointer; transition: all .2s; text-align: left; min-width: 140px;
}
.variant-opt:hover { border-color: var(--blue-light); }
.variant-opt.active { border-color: var(--blue); background: #eef3fd; box-shadow: 0 0 0 3px rgba(0,58,165,.12); }
.variant-opt .vo-label { font-weight: 700; font-size: 13.5px; display: block; }
.variant-opt .vo-price { color: var(--blue); font-weight: 700; font-size: 15px; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 42px; height: 42px; background: #fff; border: none; font-size: 18px; color: var(--blue); font-weight: 700; }
.qty-stepper button:hover { background: var(--bg); }
.qty-stepper input { width: 46px; text-align: center; border: none; font-weight: 700; font-size: 15px; }
.pd-total { font-size: 14px; color: var(--gray); }
.pd-total strong { color: var(--dark); font-size: 18px; }

.pd-actions { display: flex; gap: 14px; margin-bottom: 34px; }
.added-flash { display: none; align-items: center; gap: 8px; color: var(--success); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.added-flash.show { display: flex; animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.pd-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-top: 50px; }
.pd-tab-btn { padding: 12px 20px; font-weight: 700; font-size: 14px; color: var(--gray-light); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pd-tab-btn.active { color: var(--blue); border-color: var(--blue); }
.pd-tab-panel { display: none; padding: 26px 0; }
.pd-tab-panel.active { display: block; animation: fadeUp .35s var(--ease); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.feature-list div { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.feature-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-light); font-weight: 700; margin-bottom: 4px; }
.feature-list dd { margin: 0; font-weight: 600; color: var(--dark); font-size: 14.5px; }

.related-title { margin-top: 90px; margin-bottom: 30px; }

/* ==========================================================================
   Carrito
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: 1fr .42fr; gap: 40px; align-items: flex-start; }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto auto; gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.cart-item .ci-media { width: 90px; height: 90px; border-radius: var(--radius-sm); background: linear-gradient(160deg,#eef2fb,#f7f8fb); display:flex; align-items:center; justify-content:center; }
.cart-item .ci-media img { width: 68%; }
.cart-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.cart-item .ci-variant { font-size: 12.5px; color: var(--gray-light); }
.cart-item .ci-remove { font-size: 12.5px; color: #d84343; font-weight: 700; margin-top: 6px; display: inline-block; }
.cart-item .ci-price { font-weight: 700; color: var(--blue); text-align: right; min-width: 90px; }

.cart-summary {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  position: sticky; top: 110px; border: 1px solid var(--border);
}
.summary-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--gray); padding: 8px 0; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 16px; font-size: 18px; font-weight: 800; color: var(--dark); }
.summary-note { font-size: 12.5px; color: var(--gray-light); margin-top: 14px; line-height: 1.6; }

.cart-empty { text-align: center; padding: 100px 20px; }
.cart-empty svg { width: 72px; height: 72px; color: var(--border); margin-bottom: 20px; }
.cart-empty.is-success svg { color: #22a45d; }

/* Checkout modal (pasarela pendiente) */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,20,35,.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease); padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%; padding: 36px;
  transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); text-align: center;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-box .mi { width: 56px; height: 56px; border-radius: 50%; background: #eef3fd; color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.modal-box h3 { margin-bottom: 10px; }
.modal-box p { font-size: 14.5px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; background: none; border: none; color: var(--gray-light); }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed; bottom: 26px; right: 26px; background: var(--dark); color: #fff; padding: 14px 20px;
  border-radius: var(--radius-sm); display: flex; align-items: center; gap: 12px; z-index: 900;
  transform: translateY(20px); opacity: 0; transition: all .35s var(--ease); box-shadow: var(--shadow-lg);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast img { width: 38px; height: 38px; border-radius: 6px; background: #fff; padding: 2px; }
.toast strong { font-size: 13.5px; display: block; }
.toast span { font-size: 12px; color: rgba(255,255,255,.65); }

/* ==========================================================================
   Genéricos: about, marcas, contacto, footer
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-media .stat-chip {
  position: absolute; bottom: -24px; left: -24px; background: #fff; border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.stat-chip strong { font-size: 26px; font-family: var(--font-display); color: var(--blue); display: block; }
.stat-chip span { font-size: 12px; color: var(--gray-light); text-transform: uppercase; letter-spacing: .05em; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; font-weight: 600; color: var(--dark); font-size: 15px; }
.check-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--success); }

.band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 24px; padding: 60px; display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden;
}
.band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); max-width: 520px; }
.band p { color: rgba(255,255,255,.78); max-width: 460px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px;
}
.contact-card .ci { width: 46px; height: 46px; border-radius: 12px; background: #eef3fd; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 14px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-family: inherit; font-size: 14.5px; transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.site-footer { background: #10142080; }
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid img { height: 34px; margin-bottom: 16px; }
.footer-grid h5 { color: #fff; font-size: 14px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social a:hover { background: var(--orange); color: var(--dark); }

.whatsapp-float {
  position: fixed; bottom: 26px; left: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 800; animation: pulseWA 2.4s ease-in-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }
@keyframes pulseWA { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--shadow-lg); } 50% { box-shadow: 0 0 0 12px rgba(37,211,102,0), var(--shadow-lg); } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.stagger.in > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Producto: badges (garantía / ficha técnica)
   ========================================================================== */
.pd-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }
.pd-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: #eef3fd; color: var(--blue); font-size: 12.5px; font-weight: 700;
}
.pd-badge-link { background: #fff4e3; color: var(--orange-dark); border: 1px solid #fbdca0; transition: background .2s, transform .2s; }
.pd-badge-link:hover { background: #fde8c0; transform: translateY(-1px); }

/* ==========================================================================
   PINTURA — efectos de marca (brochazos, salpicaduras, rodillo)
   ========================================================================== */

/* Subrayado "brochazo" bajo títulos clave, se pinta al entrar en viewport */
.paint-underline { position: relative; display: inline-block; }
.paint-underline::after {
  content: "";
  position: absolute; left: -3%; right: -3%; bottom: -2px; height: 38%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 40% 60% 55% 45% / 65% 45% 60% 40%;
  opacity: .85; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .9s var(--ease) .15s;
}
.reveal.in.paint-underline::after,
.reveal.in .paint-underline::after,
.reveal-scale.in.paint-underline::after,
.reveal-scale.in .paint-underline::after,
.paint-underline.brush-in::after { transform: scaleX(1); }

/* Salpicaduras decorativas (puntos de pintura) junto a eyebrows / CTAs */
.paint-splatter { position: relative; }
.paint-splatter::before, .paint-splatter::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .55; pointer-events: none;
}
.paint-splatter::before { width: 10px; height: 10px; background: var(--orange); top: -6px; right: -14px; }
.paint-splatter::after { width: 5px; height: 5px; background: var(--blue-light); top: 8px; right: -22px; }

/* Botones: onda de "gota de pintura" al hacer clic */
.btn { position: relative; overflow: hidden; }
.paint-ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.55);
  transform: scale(0); animation: rippleGrow .6s ease-out forwards; pointer-events: none;
}
@keyframes rippleGrow { to { transform: scale(1); opacity: 0; } }

/* Tarjetas de producto: brochazo de color que barre al hover */
.pc-media { position: relative; }
.pc-media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(249,166,52,.35) 50%, transparent 60%);
  transform: translateX(-140%) skewX(-12deg);
  transition: transform .65s var(--ease);
}
.product-card:hover .pc-media::before { transform: translateX(140%) skewX(-12deg); }

/* Gotas de color que siguen el cursor sobre el hero (efecto brocha) */
.paint-drop {
  position: fixed; width: 10px; height: 10px; border-radius: 50% 50% 50% 0;
  background: var(--orange); pointer-events: none; z-index: 3; opacity: .8;
  animation: dropFade .7s ease-out forwards;
}
@keyframes dropFade { to { transform: scale(2.4) rotate(45deg); opacity: 0; } }

/* Divisor con borde tipo "chorreado de pintura" entre hero y siguiente sección */
.drip-divider {
  position: relative; height: 26px; margin-top: -26px; z-index: 3;
  background:
    radial-gradient(circle at 6% 0, var(--bg) 60%, transparent 61%) 0 -10px / 40px 30px repeat-x,
    radial-gradient(circle at 60% 0, var(--bg) 55%, transparent 56%) 10px -6px / 55px 26px repeat-x;
}

@media (prefers-reduced-motion: reduce) {
  .paint-underline::after, .pc-media::before, .paint-drop, .preloader-brush, .hero-visual img, .whatsapp-float { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 20px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .cat-grid, .product-grid { grid-template-columns: 1fr; }
  .band { padding: 36px 24px; text-align: center; justify-content: center; }
  .cart-item { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; }
  .cart-item .ci-price { grid-column: 2; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 600; background: var(--blue); transform: translateX(100%);
  transition: transform .4s var(--ease); display: flex; flex-direction: column; padding: 100px 32px 40px;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a { display: block; padding: 16px 0; font-size: 22px; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-close { position: absolute; top: 24px; right: 24px; color: #fff; }

/* ===== Checkout ===== */
.co-block { background:#fff; border:1px solid var(--border); border-radius:14px; padding:26px 26px 8px; margin-bottom:22px; }
.co-block > h3 { display:flex; align-items:center; gap:10px; font-size:17px; margin-bottom:20px; }
.co-step-num { width:26px; height:26px; flex:none; border-radius:50%; background:var(--blue); color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.co-zones { display:flex; flex-direction:column; gap:10px; margin-bottom:8px; }
.co-zone { display:flex; align-items:center; gap:12px; border:1.5px solid var(--border); border-radius:11px; padding:14px 16px; cursor:pointer; transition:border-color .2s, background .2s; }
.co-zone:hover { border-color:var(--blue-light); }
.co-zone.active { border-color:var(--blue); background:#f4f8ff; }
.co-zone input { accent-color:var(--blue); width:18px; height:18px; }
.co-zone .z-label { font-weight:600; font-size:14.5px; flex:1; }
.co-zone .z-price { font-weight:800; color:var(--dark); }
.co-zone .z-free { font-weight:800; color:#16a34a; }
.co-freebar { font-size:13px; color:var(--gray-light); background:#f7f8fb; border-radius:9px; padding:10px 12px; margin-bottom:6px; }
.co-freebar b { color:var(--blue); }
.co-pay-preview { border:1.5px dashed var(--border); border-radius:12px; padding:22px; text-align:center; background:#fafbfe; }
.co-pay-preview .co-pi { width:48px; height:48px; border-radius:50%; background:#eef3fd; color:var(--blue); display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
.co-pay-preview h4 { font-size:15px; margin-bottom:6px; }
.co-pay-preview p { font-size:13.5px; color:var(--gray-light); max-width:360px; margin:0 auto; }
.co-cards { display:flex; gap:8px; justify-content:center; margin-top:14px; opacity:.7; }
.co-cards svg { height:24px; width:auto; }
#card-element, #payment-element { border:1.5px solid var(--border); border-radius:10px; padding:14px 14px; background:#fff; min-height:44px; }
.co-secure { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--gray-light); justify-content:center; margin-top:14px; }
.co-error { display:none; background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; border-radius:9px; padding:11px 14px; font-size:13.5px; margin-bottom:16px; }
.co-error.show { display:block; }
.co-summary-items { display:flex; flex-direction:column; gap:12px; margin-bottom:16px; max-height:280px; overflow:auto; }
.co-si { display:flex; gap:12px; align-items:center; }
.co-si img { width:46px; height:46px; object-fit:contain; background:#f2f5fb; border-radius:8px; flex:none; }
.co-si-name { font-size:13.5px; font-weight:600; line-height:1.3; }
.co-si-meta { font-size:12px; color:var(--gray-light); }
.co-si-price { margin-left:auto; font-weight:700; font-size:13.5px; white-space:nowrap; }
