/** Shopify CDN: Minification failed

Line 219:5 Unexpected "{"
Line 219:14 Expected ":"
Line 220:5 Unexpected "{"
Line 220:14 Expected ":"
Line 221:5 Unexpected "{"
Line 221:14 Expected ":"
Line 229:5 Unexpected "{"
Line 229:14 Expected ":"
Line 237:5 Unexpected "{"
Line 237:14 Expected ":"
... and 10 more hidden warnings

**/
.hd__container { width: 100%; max-width: 100vw; margin-inline: auto; padding-inline: 16px; }

@media (min-width: 1700px) {
  .hd__container { max-width: 80vw; }
}

/* Topbar */
.hd__topbar { background: #000; color: #fff; font-size: 14px; transition: all .3s ease; }
.hd__topbar .hd__container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.hd__topbar-link { color: #fff; text-decoration: underline; }
.hd__topbar-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 14px; border: 1px solid #fff; border-radius: 999px; color: #fff; text-decoration: none;
  font-size: 13px; margin-top: 3px; margin-bottom: 3px;
}
.hd__topbar-cta:hover { background: #fff; color: #000; }

/* Fila principal */
.hd__main { background: #fff; border-bottom: 1px solid #eee; transition: all .3s ease; }
.hd__main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center; gap: 12px; min-height: 72px;
}
.hd__hamburger { display: none; border: 0; background: transparent; padding: 6px; color: #111; }
.hd__logo { display: flex; align-items: center; }
.hd__logo-img { display: block; height: auto; width: 100%; }

/* Barra de búsqueda y resultados */
.hd__search {
  position: relative;
}

.hd__search-form {
  position: relative;
  display: flex;
  align-items: center;
}
.hd__search-input {
  width: 100%;
  height: 44px;
  border: 1px solid #F5F5F5;
  border-radius: 999px;
  padding: 0 44px 0 44px;
  background: #f9fafb;
  font-size: 14px;
  line-height: 44px;
  transition: all .2s ease;
}
.hd__search-input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px #e5e7eb;
  outline: none;
}
.hd__search-btn {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #9CA3AF;
  cursor: pointer;
  padding: 0;
}
.hd__search-btn svg {
  width: 18px;
  height: 18px;
}

.hd__search .mini-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  z-index: 1020;
  max-height: 480px;
  overflow-y: auto;
  padding: 8px 0;
}

.hd__search .mini-results .result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  color: #111;
  transition: background .2s ease;
}
.hd__search .mini-results .result-item:hover {
  background: #f9fafb;
}

.hd__search .mini-results .item-image {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #f2f2f2;
}
.hd__search .mini-results .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hd__search .mini-results .item-title {
  font-size: 14px;
  line-height: 1.3;
  flex: 1;
}

.hd__search .mini-results .view-more-results {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #eee;
  background: #fff;
  color: #000;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background .2s ease;
}
.hd__search .mini-results .view-more-results:hover {
  background: #f9fafb;
}
.hd__search .mini-results .view-more-results svg {
  margin-left: 6px;
}

.hd__search .mini-results:empty {
  display: none;
}

.hd__main {
  position: relative;
  z-index: 1010;
}
.hd__search .mini-results {
  z-index: 1020;
}

.no-results{
  padding-top: 10px;
  margin-left: 20px;
}

/* Iconos */
.hd__icons { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.hd__icon { color: #111; line-height: 1; display: inline-flex; }

/* NAV */
.hd__nav { background: #fff; border-bottom: 1px solid #eee; position: relative; overflow: visible; }
.hd__menu { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 10px 0; flex-wrap: wrap; }
.hd__menu-item { position: relative; }
.hd__menu-item.has-mega { position: static; }
.hd__menu-link { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #111; }
.hd__menu-text { white-space: nowrap; }
.hd__caret { display: inline-flex; opacity: .6; line-height: 0; }
.hd__menu-link:hover .hd__caret { opacity: .9; }
.hd__menu-link::after { content: none !important; }
.hd__badge { padding: 2px 6px; border: 1px solid #111; border-radius: 6px; font-size: 12px; line-height: 1; white-space: nowrap; }
.hd__sep { width: 1px; height: 18px; background: #e5e7eb; }
.hd__flex-spacer { flex: 1 1 auto; }

/* Mega menú */
.hd__submenu--mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1002;
  background: #fff;
  border: 1px solid #eee;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  padding: 20px 24px;
  display: none;
}
.hd__menu-item:hover > .hd__submenu--mega,
.hd__menu-item.is-open > .hd__submenu--mega {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 16px 24px;
  align-items: start;
}

.hd-{{ section.id }} .mega__item { list-style: none; }
.hd-{{ section.id }} .mega__link { display: block; text-decoration: none; color: inherit; }
.hd-{{ section.id }} .mega__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
}
.hd-{{ section.id }} .mega__thumb img {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
  background-color: #fff;
}
.hd-{{ section.id }} .mega__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.hd-{{ section.id }} .mega__thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
}

.hd-{{ section.id }} .mega__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
  background-color: #fff;
}

.hd-{{ section.id }} .mega__link:hover .mega__thumb img {
  transform: scale(1.05);
}

.hd-{{ section.id }} .mega__title {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.hd-{{ section.id }} .mega__link:hover .mega__title {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hd__main-grid { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 1024px) {
  .hd__container { padding-inline: 16px; }
  .hd__topbar { display: none; }
  .hd__main-grid { gap: 10px; min-height: 66px; }
  .hd__hamburger { display: inline-flex; }
  .hd__logo { justify-self: center; }
  .hd__logo-img { height: 60px; }
  .hd__search { display: none; }
  .hd__icon--search { display: inline-flex; }
  .hd__nav { display: none; }
  .hd__icons { gap: 14px; }
  .hd__menu { gap: 16px; overflow: auto; padding-bottom: 12px; }
  .hd__sep, .hd__flex-spacer { display: none; }
  .hd__lang--desktop { display: none; }
}
@media (min-width: 1024px) {
  .hd__icon--search { display: none; }
  .topbar-section { display: none; }
}

/* Z-index y capas */
header.hd { z-index: 1000; } 
.hd__nav { position: relative; z-index: 1001; }
.hd__submenu--mega { z-index: 1002; background: #fff; }

/* --- Contador del carrito --- */
.hd__icon--cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hd__icon--cart svg {
  display: block;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(45%, -35%);
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cart-count.hide {
  transform: translate(45%, -35%) scale(0);
  opacity: 0;
}

.cart-count.bump {
  animation: bump 0.3s ease;
}

@keyframes bump {
  0% { transform: translate(45%, -35%) scale(1); }
  50% { transform: translate(45%, -35%) scale(1.3); }
  100% { transform: translate(45%, -35%) scale(1); }
}

/* --- Sticky header (desktop) --- */
@media (min-width: 1024px) {
  header.header-custom {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1051;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all .3s ease;
  }

  /* Ocultar topbar al hacer scroll */
  header.header-custom.is-stuck .hd__topbar {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
  }

  body {
    padding-top: 110px; 
  }

  body.template-index {
    margin-top: 60px; 
  }
}

/* === DRAWER MENÚ MÓVIL === */
.hd__drawer[hidden] { display: none !important; }
.hd__drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.hd__drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  border: 0;
  cursor: pointer;
}
.hd__drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: #fff;
  box-shadow: 0 0 24px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .22s ease;
}
.hd__drawer.is-open .hd__drawer__panel { transform: translateX(0); }
.hd__drawer.is-open .hd__drawer__overlay { opacity: 1; }

.hd__drawer {
  z-index: 9999 !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header-custom {
  z-index: 100 !important;
}

.hd__drawer__close {
  z-index: 10000 !important;
  position: relative;
}

/* Cabecera del drawer */
.hd__drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}
.hd__drawer__logo {
  display: flex;
  align-items: center;
  height: 50px;
}
.hd__drawer__logo-img {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
}
.hd__drawer__close {
  border: 0;
  background: transparent;
  padding: 6px;
  color: #111;
  cursor: pointer;
}

/* Navegación */
.hd__drawer__nav {
  padding: 10px 12px 24px;
  overflow: auto;
}
.hd__drawer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd__drawer__item {
  border-bottom: 1px solid #f2f2f2;
}
.hd__drawer__item:last-child {
  border-bottom: 0;
}
.hd__drawer__link {
  display: block;
  padding: 14px 8px;
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

/* Toggle del submenú */
.hd__drawer__item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hd__drawer__toggle {
  background: none;
  border: 0;
  padding: 6px;
  color: #111;
  cursor: pointer;
  transition: transform .25s ease;
}
.hd__drawer__item.is-open .hd__drawer__toggle svg {
  transform: rotate(180deg);
}

/* Submenús */
.hd__drawer__submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease;
}
.hd__drawer__item.is-open .hd__drawer__submenu {
  max-height: 1000px; /* desplegado */
}
.hd__drawer__submenu a {
  display: block;
  font-size: 14px;
  padding: 10px 0;
  color: #444;
  text-decoration: none;
}
.hd__drawer__submenu a:hover {
  color: var(--brand-accent);
}

/* Capas y z-index */
.hd__drawer { z-index: 90; }
.hd__drawer__panel { z-index: 2; }
.hd__drawer__overlay { z-index: 1; }

