﻿.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-nav {
  background: rgba(19, 19, 19, 0.8);
  backdrop-filter: blur(20px);
}

.hero-gradient {
  background: linear-gradient(to bottom, rgba(19, 19, 19, 0.4) 0%, rgba(19, 19, 19, 1) 100%);
}

.cta-gradient {
  background: linear-gradient(135deg, #61df72 0%, #40c057 100%);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


html {
  scroll-behavior: smooth;
}

body {
  font-size: 14px;
}

main section,
footer {
  position: relative;
}

.site-header {
  background: rgba(19, 19, 19, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(62, 74, 60, 0.12);
  transition: background 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(19, 19, 19, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.nav-shell {
  padding: 0.35rem 0.18rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
  border-radius: 9999px;
  padding: 0.7rem 1rem;
  color: #9ca3af;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  color: #f4f4f4;
  transform: translateY(-1px);
}

.nav-link.is-active {
  color: #61df72;
  background: rgba(97, 223, 114, 0.08);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 9999px;
  background: #61df72;
}

input[data-product-search] {
  appearance: none;
  -webkit-appearance: none;
}

input[data-product-search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  background-color: #ef4444;
  opacity: 1;
  -webkit-mask-image: linear-gradient(45deg, transparent 43%, #000 43%, #000 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, #000 43%, #000 57%, transparent 57%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
}

.gallery-marquee {
  overflow: hidden;
}

.gallery-marquee.is-placeholder {
  overflow: visible;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: gallery-scroll 36s linear infinite;
}

.gallery-track.is-placeholder {
  width: 100%;
  justify-content: center;
  animation: none;
}

.gallery-track.is-placeholder > * {
  width: 100%;
}

.gallery-marquee:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-slide {
  width: clamp(280px, 28vw, 360px);
  height: clamp(210px, 22vw, 280px);
  border-radius: 1.25rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 1024px) {
  body {
    font-size: 13px;
  }
}


section[id],
footer[id] {
  scroll-margin-top: 110px;
}

@media (max-width: 1024px) {
  section[id],
  footer[id] {
    scroll-margin-top: 96px;
  }
}

@media (max-width: 1023px) {
  .site-header {
    background: rgba(19, 19, 19, 0.9);
  }

  .hero-gradient {
    background: linear-gradient(to bottom, rgba(19, 19, 19, 0.32) 0%, rgba(19, 19, 19, 0.7) 34%, rgba(19, 19, 19, 1) 100%);
  }

  .gallery-track {
    gap: 0.85rem;
  }

  .gallery-slide {
    width: clamp(240px, 52vw, 320px);
    height: clamp(180px, 36vw, 240px);
    border-radius: 1.1rem;
  }

  [data-hours-list] li {
    width: 100%;
    gap: 1rem;
  }

  [data-hours-list] li span:last-child {
    text-align: right;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 12px;
  }

  section[id],
  footer[id] {
    scroll-margin-top: 132px;
  }

  .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  #inicio {
    min-height: auto;
    padding-top: 11rem;
    padding-bottom: 5rem;
  }

  #inicio h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1;
  }

  #inicio [data-store-status] {
    width: 100%;
    justify-content: flex-start;
    border-radius: 1.1rem;
    padding-right: 1rem;
  }

  #inicio [data-bind='hero-subtitle'] {
    max-width: 100%;
    font-size: 1rem;
  }

  #inicio .flex.flex-col.sm\:flex-row.gap-4.pt-3 {
    gap: 0.85rem;
  }

  #inicio .flex.flex-col.sm\:flex-row.gap-4.pt-3 > a {
    width: 100%;
  }

  #productos,
  #resenas,
  #ubicacion,
  footer {
    overflow-x: clip;
  }

  #productos h2,
  #resenas h2,
  #ubicacion h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  [data-product-filters] {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  [data-product-filters] button {
    flex: 0 0 auto;
  }

  .gallery-marquee {
    overflow: auto hidden;
    scroll-snap-type: x proximity;
  }

  .gallery-track {
    animation-duration: 28s;
    padding-right: 1.25rem;
  }

  .gallery-slide {
    width: min(78vw, 300px);
    height: clamp(180px, 48vw, 240px);
    scroll-snap-align: start;
  }

  #ubicacion .relative.h-\[300px\].md\:h-\[500px\] a[data-bind-href='google_maps'] {
    inset-inline: 1rem;
    bottom: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
  }

  #ubicacion .relative.h-\[300px\].md\:h-\[500px\] a[data-bind-href='google_maps'] [data-bind='map-address'] {
    font-size: 1.35rem;
  }

  footer .grid {
    gap: 2rem;
  }
}

@media (min-width: 1440px) {
  body {
    font-size: 15px;
  }

  .gallery-slide {
    width: clamp(320px, 22vw, 420px);
    height: clamp(240px, 18vw, 310px);
  }
}
