/*
Theme Name: DACHI
Theme URI: https://dachicr.com
Author: Flyboy Media Creative Lab
Author URI: https://flyboycr.com
Description: Tema personalizado para la tienda en línea DACHI (Costa Rica). Construido sobre WooCommerce: header con menú lateral, carrusel de banners, categorías, Ofertas Flash, modales de Métodos de Pago y Garantía y Confianza, favoritos y carrito en vivo, cursor personalizado.
Version: 1.0
Requires Plugins: woocommerce
Text Domain: dachi
*/

/*
Theme Name: DACHI
Theme URI: https://dachicr.com
Author: Flyboy Media Creative Lab
Description: Tema personalizado para la tienda en línea DACHI (Costa Rica). Preparado para WooCommerce.
Version: 1.0
Text Domain: dachi
*/

:root{
  --dachi-yellow: #FBC02D;
  --dachi-yellow-dark: #E6A900;
  --dachi-black: #111111;
  --dachi-orange: #FF5A00;
  --dachi-red: #F0403A;
  --dachi-gray-bg: #EDEDED;
  --dachi-text: #1A1A1A;
  --dachi-text-muted: #5C5C5C;
  --dachi-radius: 14px;
  --dachi-max-width: 1360px;
}

*{ box-sizing: border-box; }

body{
  margin:0;
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--dachi-text);
  background:#fff;
  overflow-x:hidden;
}

*:focus-visible{
  outline: 2px solid var(--dachi-yellow-dark);
  outline-offset: 2px;
}

/* ===== Cursor personalizado (punto con estela suave) ===== */
@media (pointer: fine){
  body, a, button, input, .dachi-cat-item, .dachi-product-card{ cursor:none; }
}
#dachiCursorDot{
  position:fixed;
  top:0; left:0;
  width:14px; height:14px;
  background: var(--dachi-yellow-dark);
  border-radius:50%;
  box-shadow:0 0 10px 2px rgba(251,192,45,0.6);
  pointer-events:none;
  z-index:99999;
  transition: width .18s ease, height .18s ease, background .18s ease;
}
#dachiCursorDot.is-hover{
  width:26px; height:26px;
  background: rgba(251,192,45,0.35);
  box-shadow:0 0 14px 4px rgba(251,192,45,0.4);
}
#dachiCursorDot.is-active{ width:10px; height:10px; }

/* ===== Pulso tipo WiFi al pasar el mouse sobre una tarjeta de producto ===== */
.dachi-product-image{ position:relative; }
.dachi-product-image::before,
.dachi-product-image::after{
  content:'';
  position:absolute;
  left:50%; top:50%;
  width:10px; height:10px;
  border:2px solid var(--dachi-yellow);
  border-radius:50%;
  transform:translate(-50%,-50%);
  opacity:0;
  pointer-events:none;
}
.dachi-product-card:hover .dachi-product-image::before{
  animation: dachiWifiPulse 1.4s ease-out infinite;
}
.dachi-product-card:hover .dachi-product-image::after{
  animation: dachiWifiPulse 1.4s ease-out .3s infinite;
}
@keyframes dachiWifiPulse{
  0%{ width:14px; height:14px; opacity:.9; }
  100%{ width:90px; height:90px; opacity:0; }
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }

.dachi-container{
  max-width: var(--dachi-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.dachi-site-header{
  position:sticky;
  top:0;
  left:0;
  right:0;
  z-index:200;
  background:#fff;
  transition: background .25s ease;
}
.dachi-site-header.is-scrolled{
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

/* ===== Topbar ===== */
.dachi-topbar{
  background: var(--dachi-black);
  color:#fff;
  font-size: 13px;
}
.dachi-topbar .dachi-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  padding-top:8px;
  padding-bottom:8px;
}
.dachi-topbar-info{ display:flex; align-items:center; gap:28px; }
.dachi-topbar span{ display:flex; align-items:center; gap:6px; opacity:0.9; }
.dachi-topbar-social{ display:flex; align-items:center; gap:8px; }
.dachi-topbar-social a{
  width:24px; height:24px; border-radius:50%;
  background: var(--dachi-yellow);
  display:flex; align-items:center; justify-content:center;
}
.dachi-topbar-social a svg{ width:13px; height:13px; }

/* ===== Header ===== */
.dachi-header{
  border-bottom:1px solid #eee;
}
.dachi-header .dachi-container{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:18px;
  padding-bottom:18px;
}
.dachi-menu-toggle{
  position:absolute;
  left:32px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:8px;
  background:none;
  border:none;
  font-size:15px;
  color: var(--dachi-text);
  white-space:nowrap;
}
.dachi-menu-toggle .bar{ font-size:20px; line-height:1; }

.dachi-header-center{
  display:flex;
  align-items:center;
  gap:28px;
}

.dachi-account{
  position:absolute;
  right:32px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:20px;
}
.dachi-account-user{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  background:none;
  border:none;
  padding:0;
}
.dachi-account-user img{ width:32px; height:32px; border-radius:50%; object-fit:cover; }
.dachi-account-text{ line-height:1.2; text-align:left; }
.dachi-account-text strong{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:14px;
  color:var(--dachi-black);
}
.dachi-account-text strong svg{ width:12px; height:12px; transition:transform .2s ease; }
.dachi-account.is-open .dachi-account-text strong svg{ transform:rotate(180deg); }
.dachi-account-text span{ font-size:12px; color:var(--dachi-text-muted); }
.dachi-account-icons{ display:flex; align-items:center; gap:14px; }
.dachi-account-icons a{ font-size:19px; color:var(--dachi-black); position:relative; }
.dachi-account-icons svg{ width:20px; height:20px; }
.dachi-fav-trigger{ position:relative; background:none; border:none; padding:0; cursor:pointer; }
.dachi-fav-badge{
  position:absolute;
  top:-7px; right:-8px;
  background: var(--dachi-red);
  color:#fff;
  font-size:9.5px;
  font-weight:700;
  width:16px; height:16px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  display:none;
}
.dachi-fav-badge.has-items{ display:flex; }

.dachi-fav-dropdown{
  position:absolute;
  top:calc(100% + 18px);
  right:70px;
  width:300px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,0.15);
  display:none;
  padding:16px;
  z-index:50;
}
.dachi-fav-dropdown.is-open{ display:block; }
.dachi-fav-dropdown h4{ font-size:14px; font-weight:700; margin:0 0 10px; }
.dachi-fav-empty{ font-size:12.5px; color:var(--dachi-text-muted); text-align:center; padding:14px 0; }
.dachi-fav-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid #f1f1f1;
}
.dachi-fav-item:last-child{ border-bottom:none; }
.dachi-fav-item img{ width:38px; height:38px; object-fit:contain; background:var(--dachi-gray-bg); border-radius:6px; }
.dachi-fav-item-info{ flex:1; }
.dachi-fav-item-info p{ font-size:11.5px; margin:0 0 2px; color:#222; line-height:1.3; }
.dachi-fav-item-info strong{ font-size:12.5px; color:#111; }
.dachi-fav-remove{ background:none; border:none; color:#aaa; font-size:15px; cursor:pointer; }
.dachi-fav-item-actions{ display:flex; flex-direction:column; align-items:center; gap:6px; }
.dachi-fav-add-cart{
  background: var(--dachi-black);
  border:none;
  width:26px; height:26px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.dachi-fav-add-cart svg{ width:13px; height:13px; }
.dachi-fav-add-cart.is-added{ background: var(--dachi-yellow-dark); }

.dachi-cart-trigger{ position:relative; background:none; border:none; padding:0; cursor:pointer; }
.dachi-cart-dropdown{
  position:absolute;
  top:calc(100% + 18px);
  right:0;
  width:300px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,0.15);
  display:none;
  padding:16px;
  z-index:50;
}
.dachi-cart-dropdown.is-open{ display:block; }
.dachi-cart-dropdown h4{ font-size:14px; font-weight:700; margin:0 0 10px; }
.dachi-cart-empty{ font-size:12.5px; color:var(--dachi-text-muted); text-align:center; padding:14px 0; }
.dachi-cart-item{ display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid #f1f1f1; }
.dachi-cart-item:last-child{ border-bottom:none; }
.dachi-cart-item img{ width:38px; height:38px; object-fit:contain; background:var(--dachi-gray-bg); border-radius:6px; }
.dachi-cart-item-info{ flex:1; }
.dachi-cart-item-info p{ font-size:11.5px; margin:0 0 2px; color:#222; line-height:1.3; }
.dachi-cart-item-info strong{ font-size:12.5px; color:#111; }
.dachi-cart-remove{ background:none; border:none; color:#aaa; font-size:15px; cursor:pointer; }
.dachi-cart-subtotal{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:10px; margin-top:6px; border-top:1px solid #eee;
  font-size:13px; font-weight:600;
}
.dachi-cart-checkout{
  width:100%;
  background: var(--dachi-black);
  color:#fff;
  border:none;
  border-radius:24px;
  padding:11px 0;
  font-size:13px;
  font-weight:600;
  margin-top:12px;
}

.dachi-account-dropdown{
  position:absolute;
  top:calc(100% + 18px);
  right:0;
  width:560px;
  max-width:90vw;
  background:#fff;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,0.15);
  display:none;
  overflow:hidden;
  z-index:50;
}
.dachi-account.is-open .dachi-account-dropdown{ display:flex; }
.dachi-account-dropdown-image{
  flex:0 0 42%;
  background: var(--dachi-gray-bg);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:20px;
  text-align:center;
}
.dachi-account-dropdown-image svg{ width:44px; height:44px; color:#aaa; }
.dachi-account-dropdown-image span{ font-size:12px; color:#999; }
.dachi-account-dropdown-form{
  flex:1;
  padding:28px 26px;
  text-align:left;
}
.dachi-account-dropdown-form h3{
  font-size:19px;
  font-weight:700;
  color:#111;
  margin:0 0 18px;
  font-style:italic;
}
.dachi-account-google{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  border:1px solid #ddd;
  border-radius:8px;
  padding:10px;
  font-size:13px;
  color:#333;
  background:#fff;
  margin-bottom:16px;
}
.dachi-account-google svg{ width:16px; height:16px; }
.dachi-account-divider{
  text-align:center;
  font-size:12px;
  color:#aaa;
  position:relative;
  margin-bottom:16px;
}
.dachi-account-divider::before,.dachi-account-divider::after{
  content:'';
  position:absolute;
  top:50%;
  width:42%;
  height:1px;
  background:#eee;
}
.dachi-account-divider::before{ left:0; }
.dachi-account-divider::after{ right:0; }
.dachi-account-field{
  width:100%;
  border:1px solid #ddd;
  border-radius:8px;
  padding:11px 14px;
  font-size:13px;
  margin-bottom:12px;
  outline:none;
}
.dachi-account-submit{
  width:100%;
  border:1.5px solid var(--dachi-red);
  color: var(--dachi-red);
  background:#fff;
  border-radius:30px;
  padding:12px 0;
  font-size:14px;
  font-weight:600;
  margin:8px 0 14px;
}
.dachi-account-links{
  display:flex;
  justify-content:space-between;
  font-size:12.5px;
}
.dachi-account-links a{ color:#333; }
.dachi-account-links a:hover{ color: var(--dachi-yellow-dark); }

@media (max-width: 640px){
  .dachi-account-dropdown{ flex-direction:column; width:320px; }
  .dachi-account-dropdown-image{ padding:16px; }
}

.dachi-logo{
  display:flex;
  align-items:center;
}
.dachi-logo img{ height:34px; width:auto; }

.dachi-primary-nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.dachi-primary-nav a{
  border:1px solid #ddd;
  border-radius:24px;
  padding:10px 20px;
  font-size:14px;
  color:#333;
  white-space:nowrap;
}
.dachi-primary-nav a:hover{ border-color:var(--dachi-yellow-dark); color: var(--dachi-yellow-dark); }

/* ===== Search bar ===== */
.dachi-searchbar{
  padding-top:14px;
}
.dachi-searchbar .dachi-container{
  padding-bottom:26px;
  display:block;
}
.dachi-search-form{
  display:flex;
  align-items:center;
  width:100%;
  max-width:100%;
  background:#f7f7f5;
  border:1px solid #ececea;
  border-radius:30px;
  padding:4px 4px 4px 20px;
}
.dachi-search-form input{
  flex:1;
  border:none;
  background:transparent;
  padding:12px 10px 12px 0;
  font-size:14px;
  outline:none;
}
.dachi-search-form button{
  background: var(--dachi-yellow);
  border:none;
  width:44px;
  height:44px;
  border-radius:50%;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.dachi-search-form button svg{ width:19px; height:19px; }

/* ===== Sidebar menu (hamburguesa) ===== */
.dachi-sidebar-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,0.45);
  display:none;
  z-index:998;
}
.dachi-sidebar-overlay.is-open{ display:block; }

.dachi-sidebar{
  position:fixed; top:0; left:0; bottom:0;
  width:320px;
  background:#fff;
  transform:translateX(-100%);
  transition:transform .25s ease;
  z-index:999;
  overflow-y:auto;
  padding:26px 24px;
}
.dachi-sidebar.is-open{ transform:translateX(0); }

.dachi-sidebar-close{
  background:none; border:none; font-size:20px; margin-bottom:18px;
}
.dachi-sidebar h3{
  font-size:14px;
  letter-spacing:.03em;
  color:var(--dachi-yellow-dark);
  text-transform:uppercase;
  margin: 0 0 14px;
}
.dachi-sidebar-section{ padding:18px 0; border-bottom:1px solid #eee; }
.dachi-sidebar-section:first-of-type{ padding-top:0; }
.dachi-sidebar-section:last-of-type{ border-bottom:none; }
.dachi-sidebar-section li{ margin-bottom:14px; }
.dachi-sidebar-section li:last-child{ margin-bottom:0; }
.dachi-sidebar-section a{
  font-size:15px;
  color:#222;
  display:flex; align-items:center; justify-content:space-between;
  position:relative;
  overflow:hidden;
  padding:2px 0;
}
.dachi-sidebar-section a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:100%; height:2px;
  background: var(--dachi-yellow);
  transform:scaleX(0);
  transform-origin:left;
  transition: transform .3s ease;
}
.dachi-sidebar-section a:hover::after{ transform:scaleX(1); }
.dachi-sidebar-section .dachi-cat-link::after{ content:'>'; color:#999; font-size:13px; }
.dachi-sidebar-contact a{ display:flex; gap:10px; font-size:14px; align-items:center; }

/* ===== Hero / Banner carrusel ===== */
.dachi-hero{
  position:relative;
  overflow:hidden;
  width:100%;
}
.dachi-hero-track{
  display:flex;
  transition: transform .9s cubic-bezier(.4,0,.2,1);
}
.dachi-slide{
  position:relative;
  min-width:100%;
  background: var(--dachi-yellow) no-repeat center center;
  background-size: cover;
  display:flex;
  align-items:center;
  aspect-ratio: 3 / 1;
  min-height:380px;
}
.dachi-slide .dachi-container{
  width:100%;
}
.dachi-slide-text{ max-width:520px; }
.dachi-slide-eyebrow{
  display:inline-block;
  background: var(--dachi-black);
  color:#fff;
  font-weight:700;
  font-size:clamp(14px, 1.6vw, 22px);
  padding:10px 24px;
  border-radius:40px;
  margin-bottom:18px;
}
.dachi-slide-eyebrow em{ color:var(--dachi-yellow); font-style:normal; }
.dachi-slide-text h2{
  font-size:clamp(22px, 3vw, 42px);
  line-height:1.1;
  margin:0 0 10px;
  font-weight:800;
}
.dachi-slide-text h2 em{ font-style:italic; }
.dachi-slide-text p{
  font-size:clamp(13px, 1.2vw, 17px);
  color:#2b2b1f;
  max-width:400px;
  line-height:1.5;
}

.dachi-slide-features{
  display:flex;
  gap:28px;
  margin-top:22px;
}
.dachi-feature{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.dachi-feature svg{ width:26px; height:26px; }
.dachi-feature span{
  font-size:clamp(11px, 1vw, 13px);
  color:#333;
  line-height:1.3;
}

.dachi-feature-row-alt{
  display:flex;
  gap:0;
  margin-top:22px;
}
.dachi-feature-row-alt .dachi-feature-alt{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  padding:0 18px;
  border-left:1px solid rgba(255,255,255,0.25);
}
.dachi-feature-row-alt .dachi-feature-alt:first-child{ padding-left:0; border-left:none; }
.dachi-feature-alt svg{ width:22px; height:22px; }
.dachi-feature-alt span{
  font-size:10.5px;
  font-weight:700;
  color:#fff;
  line-height:1.3;
  text-transform:uppercase;
}

.dachi-slide-bottombar{
  position:absolute;
  left:0; right:0; bottom:0;
  background:rgba(0,0,0,0.55);
  padding:16px 32px;
  display:flex;
  gap:0;
}
.dachi-slide-bottombar .dachi-feature-alt{
  flex-direction:row;
  align-items:center;
  gap:10px;
  padding:0 26px;
  border-left:1px solid rgba(255,255,255,0.2);
}
.dachi-slide-bottombar .dachi-feature-alt:first-child{ padding-left:0; border-left:none; }
.dachi-slide-bottombar svg{ width:20px; height:20px; flex-shrink:0; }
.dachi-slide-bottombar span{
  font-size:11px;
  font-weight:700;
  color:#fff;
  line-height:1.3;
  text-transform:uppercase;
}

/* ===== Modal Métodos de pago ===== */
.dachi-modal-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,0.5);
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding:40px 20px;
  overflow-y:auto;
  z-index:1000;
}
.dachi-modal-overlay.is-open{ display:flex; }
.dachi-modal{
  background:#fff;
  border-radius:20px;
  max-width:560px;
  width:100%;
  padding:34px 36px;
  position:relative;
}
.dachi-modal-close{
  position:absolute;
  top:22px; right:22px;
  background:none;
  border:none;
  font-size:22px;
  color:#333;
  cursor:pointer;
  line-height:1;
}
.dachi-modal-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}
.dachi-modal-header .dachi-modal-icon{
  width:50px; height:50px;
  border-radius:50%;
  border:1.5px solid var(--dachi-yellow);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.dachi-modal-icon svg{ width:24px; height:24px; }
.dachi-modal-header h2{
  font-size:22px;
  font-weight:800;
  margin:0;
  letter-spacing:.01em;
}
.dachi-modal-sub{ font-size:13.5px; color:#555; line-height:1.5; margin:0 0 20px; }
.dachi-payment-logos{ display:flex; gap:12px; margin-bottom:24px; flex-wrap:wrap; }
.dachi-payment-logos img{ height:30px; width:auto; }
.dachi-payment-logos .dachi-sinpe-badge{
  border:1px solid #eee;
  border-radius:8px;
  padding:6px 14px;
  font-size:13px;
  font-weight:600;
  color:#1a2f6b;
  display:flex;
  align-items:center;
}

.dachi-modal-features{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  padding:22px 0;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  margin-bottom:26px;
}
.dachi-modal-feature{ text-align:center; }
.dachi-modal-feature svg{ width:26px; height:26px; color: var(--dachi-yellow-dark); margin-bottom:8px; }
.dachi-modal-feature strong{ display:block; font-size:12.5px; color:#111; margin-bottom:4px; }
.dachi-modal-feature span{ font-size:11px; color:#777; line-height:1.3; }

.dachi-modal-steps-title{ font-size:14px; font-weight:700; margin:0 0 18px; }
.dachi-modal-steps{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:4px;
  margin-bottom:26px;
}
.dachi-modal-step{ flex:1; text-align:center; position:relative; }
.dachi-modal-step-circle{
  width:34px; height:34px;
  border-radius:50%;
  background: var(--dachi-yellow);
  color:#111;
  font-size:12px;
  font-weight:700;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 8px;
  position:relative;
  z-index:2;
}
.dachi-modal-step svg{ width:18px; height:18px; color:#333; margin-bottom:6px; }
.dachi-modal-step span{ font-size:10.5px; color:#555; line-height:1.3; display:block; }
.dachi-modal-step:not(:last-child)::after{
  content:'';
  position:absolute;
  top:17px; left:60%;
  width:80%;
  height:1px;
  background:#e5e5e5;
  z-index:1;
}

.dachi-modal-infobox{
  display:flex;
  gap:12px;
  background:#FFF7E0;
  border-radius:12px;
  padding:16px;
  align-items:flex-start;
}
.dachi-modal-infobox svg{ width:18px; height:18px; color: var(--dachi-yellow-dark); flex-shrink:0; margin-top:2px; }
.dachi-modal-infobox p{ font-size:12.5px; color:#555; line-height:1.5; margin:0; }
.dachi-modal-infobox img{ height:26px; width:auto; margin-top:8px; }

.dachi-modal-divider{ border:none; border-top:1px solid #eee; margin:22px 0; }
.dachi-modal-section{ display:flex; gap:14px; margin-bottom:22px; }
.dachi-modal-section-icon{
  width:44px; height:44px;
  border-radius:50%;
  border:1.5px solid var(--dachi-yellow);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.dachi-modal-section-icon svg{ width:20px; height:20px; }
.dachi-modal-section h3{ font-size:14px; font-weight:700; margin:0 0 6px; }
.dachi-modal-section p{ font-size:12.5px; color:#555; line-height:1.5; margin:0; }

.dachi-modal-help-title{ font-size:14px; font-weight:700; margin:0 0 6px; }
.dachi-modal-help-sub{ font-size:12.5px; color:#666; margin:0 0 16px; }
.dachi-modal-help-contacts{ display:flex; gap:36px; margin-bottom:22px; flex-wrap:wrap; }
.dachi-modal-help-contact{ display:flex; align-items:center; gap:12px; }
.dachi-modal-help-contact svg{ width:20px; height:20px; color:#333; }
.dachi-modal-help-contact strong{ display:block; font-size:12.5px; color:#111; }
.dachi-modal-help-contact span{ font-size:12px; color:#666; }

.dachi-hero-shipping-badge{
  position:absolute;
  right:24px;
  bottom:80px;
  z-index:5;
  width:150px;
}
.dachi-hero-shipping-badge img{ width:100%; height:auto; filter:drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }

.dachi-hero-dots{
  position:absolute;
  bottom:18px; left:0; right:0;
  display:flex; justify-content:center; gap:8px;
}
.dachi-hero-dots button{
  width:9px; height:9px; border-radius:50%;
  background:rgba(0,0,0,0.25);
  border:none; padding:0;
}
.dachi-hero-dots button.is-active{ background: var(--dachi-black); }

.dachi-hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,0.6);
  border:none; width:44px; height:44px; border-radius:50%;
  font-size:20px; z-index:2;
}
.dachi-hero-arrow.prev{ left:20px; }
.dachi-hero-arrow.next{ right:20px; }

/* ===== Categorías destacadas ===== */
.dachi-categories{ padding:60px 0 20px; }
.dachi-categories h2{
  font-size:26px;
  font-weight:600;
  margin:0 0 30px;
}
.dachi-cat-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:20px;
}
.dachi-cat-item{ text-align:center; }
.dachi-cat-circle{
  width:140px; height:140px;
  border-radius:50%;
  background: var(--dachi-gray-bg);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 12px;
  overflow:hidden;
  transition: box-shadow .2s ease;
}
.dachi-cat-item:hover .dachi-cat-circle{ box-shadow: 0 0 0 3px var(--dachi-yellow); }
.dachi-cat-circle img{ width:75%; height:75%; object-fit:contain; }
.dachi-cat-item span{ font-size:16px; color:#333; }

/* ===== Ofertas Flash ===== */
.dachi-ofertas{
  padding:60px 0;
}
.dachi-ofertas .dachi-container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:60px;
}
.dachi-ofertas-btn{
  border:none; background:none; padding:0;
  max-width:420px;
  transition:transform .2s ease;
  animation: dachiOfertasPulse 1.6s ease-in-out infinite;
}
.dachi-ofertas-btn:hover{ animation-play-state:paused; }
@keyframes dachiOfertasPulse{
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.dachi-ofertas-btn img{ width:100%; }
.dachi-ofertas-product img{ max-height:340px; width:auto; }

/* ===== Suscripción ===== */
.dachi-subscribe{
  padding:40px 0;
}
.dachi-subscribe-pill{
  background: linear-gradient(90deg, rgba(0,0,0,0.1), rgba(0,0,0,0.02)), url('assets/images/FIX_banner_suscriptores-07.png') center center / cover no-repeat, var(--dachi-orange);
  border-radius:60px;
  padding:36px 40px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:16px;
}
.dachi-subscribe-text strong{ font-size:19px; color:#fff; display:block; }
.dachi-subscribe-text span{ font-size:13px; color:#fff; opacity:.9; display:block; margin-top:2px; }
.dachi-subscribe-form{
  display:flex;
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  align-items:center;
  padding:6px 6px 6px 20px;
  gap:10px;
  width:100%;
  max-width:480px;
}
.dachi-subscribe-form input{
  flex:1; border:none; outline:none; font-size:13px; padding:8px 0;
}
.dachi-subscribe-form button{
  background: var(--dachi-yellow);
  color:#111;
  border:none;
  border-radius:24px;
  padding:11px 22px;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}

/* ===== Ayuda + Footer superior (blanco) ===== */
/* ===== Productos destacados ===== */
.dachi-ofertas-products{ padding:10px 0 50px; }
.dachi-ofertas-products h2{ font-size:26px; font-weight:600; margin:0 0 24px; display:flex; align-items:center; gap:10px; }
.dachi-ofertas-products h2 img{ height:34px; width:auto; }
.dachi-ofertas-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:22px;
}
.dachi-ofertas-grid .dachi-product-card{ text-decoration:none; color:inherit; display:block; }
@media (max-width: 1024px){
  .dachi-ofertas-grid{ grid-template-columns: repeat(2,1fr); }
}

.dachi-products{ padding:20px 0 50px; }
.dachi-products h2{ font-size:26px; font-weight:600; margin:0 0 24px; }
.dachi-products-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:22px;
}
.dachi-product-card{
  border:1px solid #eee;
  border-radius:14px;
  padding:16px;
  position:relative;
  transition: box-shadow .2s ease, transform .2s ease;
  background:#fff;
}
.dachi-product-card:hover{ box-shadow:0 8px 22px rgba(0,0,0,0.08); transform:translateY(-2px); }
.dachi-product-fav{
  position:absolute;
  top:14px; right:14px;
  width:34px; height:34px;
  border-radius:50%;
  background:#fff;
  border:1px solid #eee;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  z-index:2;
}
.dachi-product-fav svg{ width:17px; height:17px; transition: transform .15s ease; }
.dachi-product-fav:hover svg{ transform:scale(1.12); }
.dachi-product-fav.is-fav svg{ fill:#F0403A; stroke:#F0403A; }
.dachi-product-discount{
  position:absolute;
  top:14px; left:14px;
  background: var(--dachi-red);
  color:#fff;
  font-size:11px;
  font-weight:700;
  padding:4px 9px;
  border-radius:20px;
  z-index:2;
}
.dachi-product-image{
  background: var(--dachi-gray-bg);
  border-radius:10px;
  aspect-ratio: 1 / 1;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
  overflow:hidden;
}
a.dachi-product-image{ text-decoration:none; }
.dachi-product-image img{ width:65%; height:65%; object-fit:contain; }
.dachi-product-cat{ font-size:11px; color:var(--dachi-text-muted); text-transform:uppercase; letter-spacing:.02em; margin-bottom:4px; }
.dachi-product-name{ font-size:14px; color:#222; margin:0 0 10px; line-height:1.35; min-height:38px; }
.dachi-product-prices{ display:flex; align-items:baseline; gap:8px; margin-bottom:14px; }
.dachi-product-price-old{ font-size:13px; color:#aaa; text-decoration:line-through; }
.dachi-product-price{ font-size:19px; font-weight:700; color:#111; }
.dachi-product-cart{
  width:100%;
  background: var(--dachi-black);
  color:#fff;
  border:none;
  border-radius:24px;
  padding:11px 0;
  font-size:13px;
  font-weight:600;
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.dachi-product-cart:hover{ background:#000; }
.dachi-product-cart svg{ width:16px; height:16px; }

@media (max-width: 1024px){
  .dachi-products-grid{ grid-template-columns: repeat(2,1fr); }
}

.dachi-help-footer{ padding:50px 0 0; background:#fff; }
.dachi-help-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid #eee;
}
.dachi-help-text h3{ font-size:22px; font-weight:700; margin:0 0 6px; }
.dachi-help-text p{ color: var(--dachi-text-muted); margin:0; font-size:14px; }
.dachi-help-buttons{ display:flex; gap:16px; flex-shrink:0; }
.dachi-help-buttons img{ height:90px; width:auto; display:block; }

.dachi-footer-columns{
  display:flex;
  justify-content:space-between;
  gap:40px;
  padding:40px 0;
  flex-wrap:wrap;
}
.dachi-footer-columns h4{ font-size:16px; font-weight:700; color:#111; margin:0 0 16px; }
.dachi-footer-columns .dachi-footer-col ul li{ margin-bottom:10px; font-size:14px; color:#444; }
.dachi-footer-columns .dachi-footer-col ul li a:hover{ color: var(--dachi-yellow-dark); }
.dachi-footer-contact p{ font-size:14px; margin:0 0 10px; color:#444; }
.dachi-footer-contact strong{ color:#111; }
.dachi-footer-social{ display:flex; gap:10px; margin-top:14px; }
.dachi-footer-social img{ width:36px; height:36px; }

.dachi-footer-badge{ text-align:right; flex-shrink:0; }
.dachi-footer-badge img.dachi-badge-img{ width:190px; height:auto; margin-bottom:18px; }
.dachi-footer-badge img.dachi-cards-img{ width:170px; height:auto; }

/* ===== Footer (barra final negra) ===== */
.dachi-footer{
  background: var(--dachi-black);
}
.dachi-footer-bottom{
  text-align:center;
  padding:16px 0;
  font-size:13px;
  color:#888;
}

.dachi-whatsapp-float{
  position:fixed; right:22px; bottom:22px;
  width:58px; height:58px; border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  z-index:500;
}
.dachi-whatsapp-float svg{ width:30px; height:30px; }
.dachi-whatsapp-float::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#25D366;
  animation: dachiWhatsappPulse 2s ease-out infinite;
  z-index:-1;
}
@keyframes dachiWhatsappPulse{
  0%{ transform:scale(1); opacity:.6; }
  100%{ transform:scale(1.9); opacity:0; }
}

/* ===== Responsive ===== */

/* Tablet: 1024px */
@media (max-width: 1024px){
  .dachi-cat-grid{ grid-template-columns: repeat(4,1fr); }
  .dachi-primary-nav{ display:none; }
  .dachi-ofertas .dachi-container{ flex-direction:column; }
  .dachi-modal-features{ grid-template-columns: repeat(2, 1fr); }
  .dachi-modal-steps{ flex-wrap:wrap; row-gap:18px; }
  .dachi-modal-step{ flex:0 0 33.33%; }
  .dachi-modal-step:nth-child(3)::after{ display:none; }
}

/* Small tablet / large phone: 768px */
@media (max-width: 768px){
  .dachi-account-dropdown{ right:-60px; }
  .dachi-fav-dropdown, .dachi-cart-dropdown{ width:280px; right:-10px; }
  .dachi-help-top{ flex-direction:column; align-items:flex-start; gap:18px; }
  .dachi-footer-badge{ text-align:left; }
  .dachi-slide-features, .dachi-feature-row-alt{ flex-wrap:wrap; row-gap:14px; }
  .dachi-slide-bottombar{ flex-wrap:wrap; row-gap:10px; padding:12px 20px; }
  .dachi-slide-bottombar .dachi-feature-alt{ flex:0 0 50%; padding:0 10px; border-left:none; }
}

/* Phone: 640px */
@media (max-width: 640px){
  .dachi-cat-grid{ grid-template-columns: repeat(3,1fr); }
  .dachi-slide .dachi-container{ flex-direction:column; text-align:center; }
  .dachi-slide-text{ max-width:100%; }
  .dachi-slide-text h2{ font-size:26px; }
  .dachi-slide-features, .dachi-feature-row-alt{ justify-content:center; }
  .dachi-subscribe-pill{ padding:28px 20px; border-radius:34px; }
  .dachi-footer .dachi-container{ flex-direction:column; }

  /* Header: prioritize icons over labels to avoid crowding/overlap */
  .dachi-menu-toggle span:not(.bar){ display:none; }
  .dachi-account-text{ display:none; }
  .dachi-account{ right:16px; gap:14px; }
  .dachi-menu-toggle{ left:16px; }
  .dachi-header-center{ gap:0; }
  .dachi-primary-nav{ display:none; }
  .dachi-logo img{ height:28px; }

  .dachi-topbar-info span:first-child{ display:none; } /* hide address on very small screens */
  .dachi-topbar .dachi-container{ gap:10px; }

  .dachi-hero-shipping-badge{ width:100px; bottom:10px; right:10px; }

  .dachi-products-grid, .dachi-ofertas-grid{ grid-template-columns: repeat(2,1fr); gap:14px; }

  .dachi-modal{ padding:26px 20px; }
  .dachi-modal-features{ grid-template-columns: repeat(2, 1fr); gap:20px 12px; }
  .dachi-modal-steps{ flex-direction:column; align-items:flex-start; gap:18px; }
  .dachi-modal-step{ flex:none; width:100%; display:flex; align-items:center; text-align:left; gap:12px; }
  .dachi-modal-step-circle{ margin:0; flex-shrink:0; }
  .dachi-modal-step svg{ margin:0; flex-shrink:0; }
  .dachi-modal-step::after{ display:none; }
  .dachi-modal-help-contacts{ flex-direction:column; gap:14px; }

  .dachi-fav-dropdown, .dachi-cart-dropdown{ width:260px; }
  .dachi-account-dropdown{ width:100%; right:-16px; }
  .dachi-help-buttons img{ height:64px; }
  .dachi-footer-badge img.dachi-badge-img{ width:140px; }
  .dachi-footer-badge img.dachi-cards-img{ width:130px; }
  .dachi-footer-columns{ gap:28px; }
}

/* Extra small phone: 400px */
@media (max-width: 400px){
  .dachi-cat-grid{ grid-template-columns: repeat(2,1fr); }
  .dachi-products-grid, .dachi-ofertas-grid{ grid-template-columns: 1fr; }
  .dachi-topbar-social{ gap:6px; }
  .dachi-topbar-social a{ width:20px; height:20px; }
  .dachi-sidebar{ width:88vw; }
}

/* Touch targets: ensure icon-only controls stay >=44px tappable */
.dachi-fav-trigger, .dachi-cart-trigger, .dachi-account-icons a, .dachi-menu-toggle, .dachi-hero-arrow, .dachi-help-icons .circle{
  min-width:44px; min-height:44px;
}
.dachi-fav-trigger, .dachi-cart-trigger, .dachi-account-icons a{
  display:flex; align-items:center; justify-content:center;
}

