/* iOS, Android y navegadores: fallbacks sobre styles.css */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --safe-top: 0px;
  --safe-bottom: 0px;
  --safe-left: 0px;
  --safe-right: 0px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-top: var(--chrome-h);
  padding-top: calc(var(--chrome-h) + var(--safe-top));
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

body.admin-body,
body.login-body {
  padding-top: var(--safe-top);
}

body.is-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.container {
  width: 94%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hours-bar {
  padding-top: var(--safe-top);
  min-height: calc(var(--hours-h) + var(--safe-top));
}

.header {
  top: var(--hours-h);
  top: calc(var(--hours-h) + var(--safe-top));
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.nav-hearts {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.nav-link,
.menu-toggle,
.nav-cart-btn,
.btn,
.whatsapp-float,
.menu-acc,
.menu-plain,
.menu-sub a,
.menu-close,
.cart-close,
.hours-status {
  -webkit-tap-highlight-color: rgba(196, 92, 122, 0.28);
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

.btn,
.menu-acc,
.menu-plain,
.menu-sub a {
  min-height: 44px;
}

.nav-cart-btn,
.whatsapp-float,
.menu-close {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 720px) {
  .nav-link,
  .menu-toggle {
    min-height: 30px;
    font-size: 0.64rem;
    padding: 0.22rem 0.42rem;
  }
  .nav-cart-btn {
    min-width: 34px;
    min-height: 34px;
    width: 34px;
    height: 34px;
  }
  .nav-center {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  .nav-wide { display: none; }
}
@media (max-width: 520px) {
  .nav-link,
  .menu-toggle,
  .nav-fb,
  .nav-ig {
    min-height: 28px;
    font-size: 0.58rem;
    padding: 0.18rem 0.34rem;
  }
  .nav-cart-btn {
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
  }
}

.logo,
.logo-img,
.logo-mark,
.logo-stack,
.logo-word,
.nav-hearts,
.page-hearts {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.menu-overlay {
  top: var(--chrome-h);
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  background: rgba(148, 206, 238, 0.4);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.menu-panel {
  height: min(62dvh, calc(100dvh - var(--chrome-h) - 12px));
  max-height: min(62dvh, calc(100dvh - var(--chrome-h) - 12px));
  overflow: hidden;
  background: rgba(148, 206, 238, 0.6);
  -webkit-backdrop-filter: blur(4px);
}

.menu-cols {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: transparent;
  touch-action: pan-y;
}

.hero-media {
  width: 100%;
  height: auto;
  max-height: 78vh;
  max-height: 78dvh;
  object-fit: cover;
  -webkit-object-fit: cover;
}

.hero-fallback[hidden] { display: none !important; }

.hero-copy {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(72rem, 92%);
  max-width: 72rem;
  padding: 1.6rem 1.2rem;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: center;
}
.hero-cta {
  width: auto;
  display: inline-block;
}

@media (max-width: 720px) {
  .hero {
    overflow: visible;
  }
  .hero-media {
    width: 100%;
    height: auto;
    max-height: none;
    -webkit-object-fit: contain;
    object-fit: contain;
    object-position: center center;
  }
  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    padding: 1.15rem 1rem 1.55rem;
    -webkit-transform: none;
    transform: none;
    text-align: center;
  }
}

.gallery-hero {
  min-height: 38vh;
  min-height: 38dvh;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
}

.cat-card img,
.product-card img,
.dom-pics img {
  -webkit-object-fit: cover;
  object-fit: cover;
}

.home-shot img {
  max-width: 100%;
  -webkit-object-fit: contain;
  object-fit: contain;
}

.home-deliver-girl img {
  max-width: 100%;
  -webkit-object-fit: contain;
  object-fit: contain;
}

.whatsapp-float {
  right: 1rem;
  bottom: 1rem;
  right: calc(1rem + var(--safe-right));
  bottom: calc(1rem + var(--safe-bottom));
}

.cart-drawer.open {
  height: 100%;
  height: 100vh;
  height: 100dvh;
  height: -webkit-fill-available;
  padding-bottom: calc(1rem + var(--safe-bottom));
  -webkit-overflow-scrolling: touch;
}

.cart-list {
  -webkit-overflow-scrolling: touch;
}

.login-wrap,
.admin-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
}

input,
textarea,
select {
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 10px;
}

.footer-map iframe {
  max-width: 100%;
}

@supports not (gap: 0.45rem) {
  .nav-center > * { margin: 0 0.25rem; }
  .nav-right > * { margin-left: 0.3rem; }
  .gallery-subnav > * { margin: 0 0.35rem 0.35rem 0; }
  .admin-toolbar > * { margin: 0 0.4rem 0.4rem 0; }
}

@supports not (aspect-ratio: 1) {
  .cat-card { height: 0; padding-bottom: 133%; }
  .cat-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .hero-media { height: 56vw; max-height: none; }
}
@media (max-width: 720px) {
  @supports not (aspect-ratio: 1) {
    .hero-media { height: 56vw; max-height: none; }
  }
}

@media (hover: none) {
  .nav-link:hover,
  .gallery-subnav a:hover {
    background: #efe4d8;
    color: inherit;
  }
  .gallery-subnav a.is-on {
    background: linear-gradient(135deg, var(--rose), var(--gold));
    color: #fff;
  }
  .nav-fb:hover { background: #1877f2; color: #fff; }
  .nav-ig:hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b 52%, #8134af);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-hearts i,
  .page-hearts i { animation: none; opacity: 0.15; }
  html { scroll-behavior: auto; }
}

.is-ios .menu-overlay.open,
.is-ios .cart-overlay.open,
.is-ios .cart-drawer.open {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
