/* ===== Extras del storefront custom ===== */
.search { flex: 1; }
.search input { border: 0; background: transparent; outline: none; width: 100%; font-family: var(--font); font-size: 14px; }

/* Banner promocional (sección banner) */
.promo { border-radius: var(--radius); margin: 18px 0; padding: 16px 22px; color: #1a1a1a; }
.promo-in { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.promo-in .promo-text { font-size: 16px; color: var(--sec-title-color, #1a1a1a); }
.promo-in .promo-text b, .promo-in .promo-text strong { font-weight: 800; color: var(--sec-title-color, #1a1a1a); }

/* Imagen dentro de tarjeta de producto */
.card .thumb img { max-width: 82%; max-height: 82%; object-fit: contain; }
.btn.added { background: var(--accent) !important; color: var(--ink) !important; }
.product .gallery img { max-width: 88%; max-height: 88%; object-fit: contain; }
.pgal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pgal-t { width: 62px; height: 62px; object-fit: contain; background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; cursor: pointer; padding: 4px; }
.pgal-t.on { border-color: var(--accent); }
.cart-line .thumb2 img { border-radius: 8px; }
.cart-disc-tag { background: var(--accent); color: var(--ink); font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 20px; margin-left: 4px; }

/* ===== Ancho por sección ===== */
.secblock.full { width: 100%; }
.secblock.full > .hero { border-radius: 0; margin-left: 0; margin-right: 0; }

/* La primera sección de la home queda pegada al header, sin espacio arriba */
.secblock.first-sec .hero, .secblock.first-sec .heroslider { margin-top: 0; }

/* ===== Animaciones de hover (según clase del body) ===== */
.card, .cat-card { transition: transform .18s ease, box-shadow .18s ease; }
.card .thumb img, .cat-card .cat-img { transition: transform .25s ease; }
body.hover-lift .card:hover, body.hover-lift .cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(18,18,18,.14); }
body.hover-zoom .card:hover .thumb img, body.hover-zoom .cat-card:hover .cat-img { transform: scale(1.1); }
body.hover-glow .card:hover, body.hover-glow .cat-card:hover { box-shadow: 0 0 0 2px var(--accent), 0 10px 26px rgba(254,157,23,.30); }
body.hover-none .card:hover, body.hover-none .cat-card:hover { transform: none; box-shadow: none; }

/* ===== Hero slider ===== */
.heroslider { position: relative; overflow: hidden; border-radius: var(--radius); background: #0e1116; margin: 18px 0; }
.secblock.full > .heroslider { border-radius: 0; margin: 0; }
.heroslider.hs-fullscreen { height: 100vh; aspect-ratio: unset !important; }
.hs-track { width: 100%; height: 100%; }
.anim-fade .hs-track { position: relative; }
.anim-fade .hs-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s ease; }
.anim-fade .hs-img.active { opacity: 1; }
.anim-slide .hs-track { display: flex; transition: transform .6s ease; }
.anim-slide .hs-img { flex: 0 0 100%; width: 100%; height: 100%; display: block; }
.hs-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 9px; justify-content: center; z-index: 3; }
.hs-dot { border: 0; padding: 0; cursor: pointer; transition: all .22s ease; }
/* estilo A: puntos, activo más grande */
.dots-a .hs-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.6); }
.dots-a .hs-dot.active { width: 15px; height: 15px; background: #fff; }
/* estilo B: círculos con borde naranja, activo relleno */
.dots-b .hs-dot { width: 13px; height: 13px; border-radius: 50%; background: transparent; border: 2px solid var(--accent); }
.dots-b .hs-dot.active { background: var(--accent); }
/* estilo C: puntos, activo = cuadradito muy redondeado */
.dots-c .hs-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.6); }
.dots-c .hs-dot.active { width: 26px; border-radius: 7px; background: var(--accent); }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .logo { font-size: 19px; gap: 8px; }
  .logo-img { height: 34px; width: 34px; }
  .search { order: 3; flex: 1 1 100%; }
  .header-actions { gap: 14px; }
  .nav-inner { gap: 16px; }
  .nav a, .drop-toggle { font-size: 14px; }
  .drop-menu { grid-template-columns: 1fr; left: 0; transform: none; min-width: 210px; }
  .hero { flex-direction: column; align-items: flex-start; text-align: left; padding: 26px 20px; gap: 6px; }
  .hero h1 { font-size: 25px; }
  .hero p { font-size: 14px; }
  .hero .duck { font-size: 60px; align-self: center; }
  .perks { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .card .name { font-size: 13px; min-height: 34px; }
  .card .price { font-size: 16px; }
  .section-head h2 { font-size: 20px; }
  .section { margin: 28px 0; }
  .footer .cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 16px; }
  .footer .cols > div:first-child { grid-column: 1 / -1; }
  .footer .cols p { max-width: none; }
  .footer .logo { white-space: normal; }
  body:has(.wa-float) .footer { padding-bottom: 110px; }
}
@media (max-width: 420px) {
  .header-actions .label { display: none; }
  .hs-dots { bottom: 10px; }
}
