/* =========================
   DECOTUCC Front Premium (FINAL CSS) ✅ CORREGIDO
   ✅ SOLO franja FULL WIDTH detrás del título/subtítulo
   ✅ Miniaturas de productos mejoradas
   ✅ Soporte visual para galería con imágenes y videos
   ✅ Carrito listo para imagen o video
========================= */

:root{
  --bg: #fbfaf6;
  --paper: rgba(255,255,255,.86);
  --paper2: rgba(255,255,255,.72);
  --ink: #1f2328;
  --muted: rgba(31,35,40,.70);

  --p1:#bfe9ff;
  --p2:#ffd6e7;
  --p3:#fff0b8;
  --p4:#c8f7d2;
  --p5:#e8dcff;

  --band1: rgba(219, 190, 150, .72);
  --band2: rgba(243, 233, 215, .60);

  --radius: 22px;
  --shadow: 0 16px 40px rgba(0,0,0,.10);
  --shadow2: 0 10px 25px rgba(0,0,0,.10);

  --btn: #1f2328;
  --btnSoft: rgba(255,255,255,.85);
  --line: rgba(0,0,0,.08);

  --max: 1150px;
}

/* Reset */
*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--ink);
  min-height:100vh;

  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 20% -10%, var(--p1), transparent 60%),
    radial-gradient(1200px 600px at 80% 0%, var(--p2), transparent 60%),
    radial-gradient(1000px 600px at 50% 110%, var(--p4), transparent 65%),
    url("./assets/fondo.png");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto, 380px auto;
  background-attachment: scroll, scroll, scroll, scroll;
}

/* =========================
   TOPBAR
========================= */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 14px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:10px;
}

.brand-left{ display:flex; align-items:center; }
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }

.brand-name{
  font-weight: 1000;
  letter-spacing: .10em;
  font-size: 15px;
  user-select:none;
}

.brand-slogan{
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(31,35,40,.62);
  letter-spacing: .02em;
}

.brand-center{
  display:flex;
  justify-content:center;
  position:relative;
}

.brand-center::after{
  content:"";
  position:absolute;
  inset: -10px;
  margin:auto;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(255,255,255,.85) 0%, rgba(255,255,255,.35) 55%, transparent 70%);
  filter: blur(1px);
  z-index: 0;
  pointer-events:none;
}

.brand-logo{
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.16));
  transform: translateY(0) scale(1);
  transition: transform .25s ease, filter .25s ease;
}

.brand-logo.grow{ transform: translateY(-1px) scale(1.08); }
.brand-logo.pop{ transform: translateY(-2px) scale(1.10); }

.brand-right{ display:flex; justify-content:flex-end; }

.icon-btn{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.icon-btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,0,0,.12); }
.icon-btn:active{ transform: translateY(0); }

.hamburger{
  display:block;
  width: 20px;
  height: 14px;
  position: relative;
}

.hamburger::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:2px;
  background: #1f2328;
  border-radius: 999px;
  box-shadow: 0 6px 0 #1f2328, 0 12px 0 #1f2328;
}

/* =========================
   HERO
========================= */
.hero{
  position: relative;
  width: 100%;
  min-height: 62vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}

.hero-media{
  position:absolute;
  inset:0;
}

.hero-media video,
.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.03);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.06) 100%),
    radial-gradient(900px 420px at 20% 60%, rgba(255,255,255,.10), transparent 70%);
  z-index:1;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.06));
  z-index:1;
  pointer-events:none;
}

.hero-overlay{
  position: relative;
  z-index: 2;
  height: 62vh;
  display:flex;
  align-items:flex-end;
}

.hero-copy{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 16px 16px 24px;
}

.hero-copy h1{
  margin: 0 0 8px;
  font-size: clamp(26px, 4.2vw, 44px);
  letter-spacing: -0.02em;
  color: #fff;
  font-family: "Playfair Display", serif;
  text-shadow: 0 12px 34px rgba(0,0,0,.35);
}

.hero-copy p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.92);
  max-width: 60ch;
  font-weight: 700;
  text-shadow: 0 10px 26px rgba(0,0,0,.28);
}

.hero-actions{ display:none !important; }

.hero-dots{
  position:absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  display:flex;
  gap:6px;
}

.hero-dots span{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}

.hero-dots span.active{ background: rgba(255,255,255,.78); }

/* =========================
   SECCIONES FULL WIDTH
========================= */
.section{
  width: 100%;
  margin-top: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.section.reveal{
  opacity: 1;
  transform: translateY(0);
}

.section-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 16px;
  background: rgba(255,255,255,.30);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.section-head{
  text-align:center;
  padding: 14px 10px 16px;
  position: relative;
}

.section-head::before{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(180deg, var(--band2) 0%, var(--band1) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(120, 86, 55, .18);
  border-bottom: 1px solid rgba(120, 86, 55, .18);
  box-shadow: 0 12px 28px rgba(0,0,0,.07);
  z-index: 0;
  pointer-events:none;
}

.section-head h2{
  position: relative;
  z-index: 1;
  margin:0;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.02em;
  font-family: "Playfair Display", serif;
  color: rgba(31,35,40,.96);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: 0 10px 26px rgba(0,0,0,.18);
  animation: secTitleWiggle 2.9s ease-in-out infinite;
  will-change: transform, filter;
}

.section-head h2::after{
  content:"";
  position:absolute;
  left: -10%;
  top: 55%;
  transform: translateY(-50%) translateX(-120%);
  width: 120%;
  height: 1.1em;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,.00) 35%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.00) 65%,
    transparent 100%
  );
  filter: blur(0.5px);
  opacity: .65;
  pointer-events:none;
  animation: secTitleShine 3.4s ease-in-out infinite;
  mix-blend-mode: screen;
}

.section-sub{
  position: relative;
  z-index: 1;
  margin: 10px auto 0;
  max-width: 70ch;
  font-family: "Patrick Hand", cursive;
  color: rgba(31,35,40,.78);
  font-size: 20px;
  line-height: 1.15;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: 0 10px 20px rgba(0,0,0,.12);
  animation: secSubFloat 4.4s ease-in-out infinite;
}

@keyframes secTitleWiggle{
  0%,100%{ transform: translateY(0) rotate(0deg) scale(1); filter: drop-shadow(0 10px 18px rgba(0,0,0,.10)); }
  28%{ transform: translateY(-2px) rotate(-.25deg) scale(1.01); }
  58%{ transform: translateY(1px) rotate(.18deg) scale(1.00); }
  78%{ transform: translateY(-1px) rotate(-.10deg) scale(1.01); }
}
@keyframes secTitleShine{
  0%{ transform: translateY(-50%) translateX(-120%); opacity: 0; }
  20%{ opacity: .70; }
  45%{ transform: translateY(-50%) translateX(120%); opacity: .55; }
  65%{ opacity: 0; }
  100%{ transform: translateY(-50%) translateX(120%); opacity: 0; }
}
@keyframes secSubFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce){
  .section-head h2,
  .section-head h2::after,
  .section-sub{
    animation: none !important;
  }
}

/* =========================
   GRID CARDS SERVICIOS
========================= */
.cards-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 8px;
}

@media(min-width: 720px){
  .cards-grid{ grid-template-columns: repeat(3, 1fr); }
}

.card{
  background: var(--paper);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow2);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cardMedia{
  width:100%;
  aspect-ratio: 4/3;
  background: rgba(0,0,0,.06);
  display:block;
  object-fit: cover;
}

video.cardMedia{
  object-fit: cover;
}

.cardBody{ padding: 12px 12px 14px; }

.cardTitle{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
}

.cardText{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

/* =========================
   TOOLBAR PRODUCTS
========================= */
.toolbar{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  margin: 6px 8px 10px;
  align-items:flex-end;
}

.chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.chip{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.86);
  padding: 8px 10px;
  border-radius: 999px;
  cursor:pointer;
  font-weight:800;
  font-size: 12px;
  transition: transform .16s ease;
}

.chip:hover{ transform: translateY(-1px); }
.chip.active{ outline: 2px solid rgba(31,35,40,.22); }

.datebox label{
  display:block;
  font-size:12px;
  color: var(--muted);
  margin-bottom:6px;
}

.datebox input{
  border:1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
}

/* =========================
   PRODUCTS GRID
========================= */
.products-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 8px;
}

@media(min-width: 900px){
  .products-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card.prod{
  position:relative;
}

.prodMedia{
  display:grid;
  gap:8px;
}

.prodMediaMain{
  position:relative;
  overflow:hidden;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.prodMediaMain .cardMedia{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.prodThumbs{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  padding: 0 8px 8px;
}

.prodThumb{
  width: 62px;
  height: 62px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  padding: 4px;
  border-radius: 12px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.prodThumb img,
.prodThumb video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display:block;
  background: rgba(0,0,0,.06);
}

.prodThumb video{
  background: #111;
}

.prodThumb:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.prodThumb.active{
  border-color: rgba(31,35,40,.32);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  transform: translateY(-1px);
  background: rgba(255,255,255,.98);
}

.tag{
  position:absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .06em;
  background: rgba(255,255,255,.90);
  border:1px solid rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0,0,0,.10);
}

.tag.promo{ background: rgba(255,214,231,.92); }
.tag.premium{ background: rgba(232,220,255,.92); }
.tag.top{ background: rgba(200,247,210,.92); }

.prodFoot{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-top: 10px;
}

.price{
  font-weight: 1000;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.btnAdd{
  padding: 10px 12px;
  border-radius: 14px;
  border:0;
  background: var(--btn);
  color:#fff;
  cursor:pointer;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(31,35,40,.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btnAdd:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(31,35,40,.22);
}

.btnAdd:active{
  transform: translateY(0px) scale(.98);
  opacity:.95;
}

/* =========================
   SPECIAL FORM
========================= */
.special-card{
  background: var(--paper);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 14px;
  margin: 6px 8px 8px;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media(min-width: 720px){
  .form-grid{ grid-template-columns: 1fr 1fr; }
  .span2{ grid-column: 1 / -1; }
}

.field label{
  font-size:12px;
  color: var(--muted);
  display:block;
  margin-bottom:6px;
}

.input{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(255,255,255,.94);
  outline:none;
}

.special-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.10);
  cursor:pointer;
  text-decoration:none;
  font-weight: 900;
  box-shadow: var(--shadow2);
  transition: transform .16s ease;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--btn);
  color:#fff;
}

.btn-soft{
  background: var(--btnSoft);
  color: var(--ink);
}

.loadMoreWrap{
  display:flex;
  justify-content:center;
  padding: 10px 0 6px;
}

/* =========================
   DRAWERS (menu + cart)
========================= */
.drawer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 90;
}

.drawer.open{
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel{
  position:absolute;
  right: 12px;
  top: 12px;
  width: min(420px, calc(100% - 24px));
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 12px;
  transform: translateX(22px);
  opacity: 0;
  transition: transform .48s ease, opacity .48s ease;
}

.drawer.open .drawer-panel{
  transform: translateX(0);
  opacity: 1;
}

.drawer-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin-bottom: 10px;
}

/* MENU ICONOS */
.drawer-icons{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  padding: 8px 2px 10px;
}

.navIcon{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow2);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease;
}

.navIcon:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.navIcon:active{
  transform: translateY(0px) scale(.98);
}

.navIcon svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: .9;
}

.navBadge{
  position:absolute;
  right: 8px;
  top: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(31,35,40,.92);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 11px;
  font-weight: 900;
}

.drawer-social{
  display:flex;
  gap:10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,0,0,.14);
  margin-top: 6px;
}

.socialIcon{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color: var(--ink);
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: var(--shadow2);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.socialIcon:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.96);
}

.socialIcon svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: .92;
}

/* CART PANEL */
.cart-panel{
  right: 12px;
  top: 12px;
}

.cart-body{
  max-height: 52vh;
  overflow:auto;
  padding-right: 4px;
}

.cart-item{
  display:flex;
  gap:10px;
  padding: 10px 4px;
  border-bottom: 1px dashed rgba(0,0,0,.14);
  align-items:flex-start;
}

.cart-mini{
  width:56px;
  height:56px;
  border-radius: 16px;
  background: rgba(0,0,0,.06);
  object-fit: cover;
  display:block;
  flex: 0 0 auto;
}

.cart-mini--empty{
  background: rgba(0,0,0,.04);
  border: 1px dashed rgba(0,0,0,.08);
}

.cart-item h4{
  margin:0;
  font-size: 13px;
}

.cart-item p{
  margin:3px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.qty{
  margin-left:auto;
  display:flex;
  gap:8px;
  align-items:center;
}

.qty button{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
  font-weight: 900;
}

.cart-summary{
  padding-top: 10px;
}

.sumRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 10px;
}

/* =========================
   MINI CARRITO FLOTANTE
========================= */
.cartFloat{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 95;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cartFloat:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0,0,0,.14);
}

.cartFloat:active{
  transform: translateY(0) scale(.98);
}

.cartFloat svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity:.92;
}

.cartFloatBadge{
  position:absolute;
  right: 8px;
  top: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(31,35,40,.92);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 11px;
  font-weight: 900;
}

/* =========================
   FOOTER
========================= */
.siteFooter{
  margin-top: 26px;
  width: 100%;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0,0,0,.10);
}

.siteFooter-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 16px 16px;
}

.footRow{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

@media(min-width: 860px){
  .footRow{
    flex-direction:row;
    justify-content:space-between;
    align-items:flex-start;
  }
  .footRight{ text-align:right; }
  .footRight .footIcons{ justify-content:flex-end; }
}

.footTitle{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 16px;
  margin-bottom: 6px;
  font-family: "Playfair Display", serif;
}

.footMeta{
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footIcons{
  display:flex;
  gap: 10px;
  align-items:center;
}

.footIcon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color: var(--ink);
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: var(--shadow2);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.footIcon:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.96);
}

.footIcon svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: .92;
}

.footBottomLine{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,.16);
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
  color: rgba(31,35,40,.70);
  font-size: 12px;
  font-weight: 900;
}

.footBottomLine .sep{ opacity:.55; }

.tiny{
  font-size:12px;
  color: var(--muted);
  margin: 10px 0 0;
}

/* =========================
   Responsive
========================= */
@media(max-width: 420px){
  .brand-name{ font-size: 14px; letter-spacing: .09em; }
  .brand-slogan{ font-size: 10px; }
  .brand-logo{ width: 54px; height: 54px; }
  .section-inner{ padding: 14px; }

  .prodThumb{
    width: 54px;
    height: 54px;
  }
}

@media(min-width: 1024px){
  body{ background-attachment: scroll, scroll, scroll, fixed; }
}

/* =========================
   DRAWER MENU (links elegantes)
========================= */
.drawer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 8px 2px 6px;
}

.navLink{
  width:100%;
  text-align:left;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.90);
  border-radius: 16px;
  padding: 14px 14px;
  cursor:pointer;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.navLink:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
  background: rgba(255,255,255,.96);
}

.navLink:active{
  transform: translateY(0) scale(.99);
}

.navLinkCart{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.navCount{
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(31,35,40,.92);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: 1000;
}
/* =========================
   PRODUCTO SLIDER PREMIUM
========================= */

.prodSliderWrap{
  position: relative;
  overflow: hidden;
  padding: 8px 0 4px;
}

.prodSlider{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 10px;
}

.prodSlider::-webkit-scrollbar{
  display: none;
}

/* Slide */
.prodSlide{
  min-width: 85%;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}

.prodSlide.is-active{
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}

.prodSlideInner{
  width:100%;
  height: 220px;
  overflow:hidden;
}

.prodSlide img,
.prodSlide video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* Si no hay imagen */
.prodMediaEmpty{
  width:100%;
  height:100%;
  background: rgba(0,0,0,.06);
}

/* =========================
   DOTS (indicadores)
========================= */

.prodDots{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top: 8px;
}

.prodDot{
  width:6px;
  height:6px;
  border-radius:999px;
  background: rgba(0,0,0,.25);
  border:none;
  cursor:pointer;
  transition: all .2s ease;
}

.prodDot.active{
  width:14px;
  background: #1f2328;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media(max-width: 520px){

  .products-grid{
    grid-template-columns: 1fr; /* 🔥 UNA CARD POR FILA */
  }

  .prodSlideInner{
    height: 240px;
  }

  .prodFoot{
    flex-direction: column;
    gap:8px;
  }

  .btnAdd{
    width:100%; /* botón full ancho */
  }

}

/* =========================
   DESKTOP (normal)
========================= */

@media(min-width: 900px){

  .prodSlider{
    overflow: hidden;
    padding:0;
  }

  .prodSlide{
    min-width: 100%;
    box-shadow: none;
  }

  .prodSlideInner{
    height: 200px;
  }

  .prodDots{
    display:none;
  }
}
/* ===== SERVICIOS MULTIMEDIA ===== */
.card.service .serviceMedia{
  position: relative;
}

.srvSliderWrap{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.srvSlider{
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.srvSlider::-webkit-scrollbar{
  display: none;
}

.srvSlide{
  min-width: 100%;
  scroll-snap-align: start;
  flex: 0 0 100%;
}

.srvSlideInner{
  position: relative;
  width: 100%;
}

.srvSlide .cardMedia{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 0 0;
}

.srvDots{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.srvDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.srvDot.active{
  background: #fff;
  transform: scale(1.12);
}

@media (max-width: 768px){
  .srvSlide .cardMedia{
    height: 220px;
  }
}
.cart-panel{
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.cart-scroll{
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 16px;
}

.cart-body{
  overflow: visible;
}

.cart-summary{
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  background: inherit;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
}
/* =========================
   MODAL DE BIENVENIDA
========================= */

.welcomeModal{
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(12, 10, 10, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.welcomeModal.open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.welcomeModal-card{
  position: relative;
  width: min(92vw, 520px);
  max-height: 92vh;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.22);
  transform: translateY(18px) scale(.98);
  transition: transform .32s ease;
}

.welcomeModal.open .welcomeModal-card{
  transform: translateY(0) scale(1);
}

.welcomeModal-media{
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
}

.welcomeModal-image{
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
}

.welcomeModal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.welcomeModal-close:hover{
  transform: scale(1.06);
  background: rgba(0,0,0,.28);
}

.welcomeModal-actions{
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.12));
}

.welcomeModal-actions .btn{
  width: 100%;
}

body.welcome-lock{
  overflow: hidden;
}

@media (max-width: 768px){
  .welcomeModal{
    padding: 10px;
  }

  .welcomeModal-card{
    width: 100%;
    border-radius: 22px;
  }

  .welcomeModal-image{
    max-height: 74vh;
  }

  .welcomeModal-close{
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .welcomeModal-actions{
    padding: 12px;
  }
}