:root {
  color: #171717;
  background: #f7f7f5;
  font-family: Inter, ui-rounded, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --accent: #f26a21;
  --green: #14844b;
  --muted: #6d6d6d;
  --surface: rgba(255, 255, 255, 0.88);
  --shadow: 0 18px 60px rgba(25, 25, 25, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f7f7f5; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.splash {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: max(38px, env(safe-area-inset-top)) 24px max(34px, env(safe-area-inset-bottom));
  text-align: center;
  background: linear-gradient(155deg, #ebe7db 0%, #8ea18b 45%, #233a2f 100%);
  color: white;
}

.splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(10, 20, 14, 0.86));
  pointer-events: none;
}

.splash > * { position: relative; z-index: 2; }
.splash-orb { position: absolute; border-radius: 999px; filter: blur(30px); opacity: 0.6; }
.splash-orb-one { width: 220px; height: 220px; background: #ff9a54; top: -40px; right: -80px; }
.splash-orb-two { width: 280px; height: 280px; background: #3768e8; top: 18%; left: -160px; }
.hero-stack { position: absolute; z-index: 1; top: 12%; left: 0; right: 0; height: 330px; perspective: 900px; }
.hero-card { position: absolute; width: 220px; height: 310px; border-radius: 34px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px; color: white; font-size: 25px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.28); }
.hero-card span { font-size: 76px; }
.card-left { left: -118px; transform: rotate(-8deg) scale(.9); background: linear-gradient(155deg, #d78072, #6a254f); }
.card-main { left: 50%; transform: translateX(-50%); background: linear-gradient(155deg, #f3a24c, #a72f1d); }
.card-right { right: -118px; transform: rotate(8deg) scale(.9); background: linear-gradient(155deg, #64a8d8, #263e73); }
.eyebrow { margin: 0 0 8px; font-weight: 800; color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.eyebrow.dark { color: #8a8a8a; }
.splash h1 { margin: 0; font-size: clamp(42px, 12vw, 68px); letter-spacing: -.055em; }
.splash p:not(.eyebrow) { max-width: 420px; margin: 14px 0 26px; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.45; }
.splash small { margin-top: 18px; color: rgba(255,255,255,.55); }
.primary-button, .secondary-button, .whatsapp-button { border: 0; border-radius: 999px; min-height: 54px; padding: 0 28px; font-weight: 850; }
.primary-button { min-width: 220px; color: #111; background: white; box-shadow: 0 14px 35px rgba(0,0,0,.2); }

.catalog-shell { max-width: 760px; min-height: 100svh; margin: 0 auto; padding: max(26px, env(safe-area-inset-top)) 18px 0; }
.venue-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 4px 18px; }
.venue-header h1 { margin: 7px 0 2px; font-size: clamp(31px, 8vw, 48px); letter-spacing: -.045em; }
.venue-header p { margin: 0; color: var(--muted); }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(20,132,75,.1); }
.status-label { color: var(--green); font-size: 13px; font-weight: 800; }
.round-button { width: 48px; height: 48px; border: 0; border-radius: 18px; background: white; box-shadow: 0 8px 24px rgba(20,20,20,.09); font-size: 20px; }

.category-strip { display: flex; gap: 12px; overflow-x: auto; padding: 6px 3px 16px; scrollbar-width: none; }
.category-strip::-webkit-scrollbar, .featured-row::-webkit-scrollbar { display: none; }
.category-button { flex: 0 0 auto; width: 78px; border: 0; background: transparent; color: #333; padding: 0; }
.category-icon { display: grid; place-items: center; height: 62px; border-radius: 23px; background: white; box-shadow: 0 7px 20px rgba(30,30,30,.07); font-size: 29px; transition: transform .2s, background .2s; }
.category-button.active .category-icon { background: #191919; transform: translateY(-2px); }
.category-button small { display: block; margin-top: 7px; font-weight: 750; white-space: nowrap; }

.search-row { padding: 2px 0 12px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border-radius: 18px; background: #e9e9e6; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.content-section { padding: 20px 0 8px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; padding: 0 4px 14px; }
.section-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.item-count { color: var(--muted); font-size: 13px; font-weight: 700; }
.featured-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 3px 10px; }
.featured-card { flex: 0 0 min(82vw, 420px); scroll-snap-align: start; border: 0; text-align: left; background: white; border-radius: 27px; overflow: hidden; box-shadow: 0 12px 30px rgba(25,25,25,.09); padding: 0; }
.product-art { height: 184px; display: flex; align-items: flex-end; padding: 20px; color: white; position: relative; overflow: hidden; }
.product-art::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.2); top: -55px; right: -35px; }
.product-art::after { content: ""; position: absolute; width: 95px; height: 95px; border-radius: 28px; background: rgba(255,255,255,.14); bottom: -28px; left: 22px; transform: rotate(20deg); }
.product-emoji { position: relative; z-index: 1; font-size: 72px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.18)); }
.tone-sunrise { background: linear-gradient(135deg, #f6b34f, #ee672f); }
.tone-ember { background: linear-gradient(135deg, #e9563f, #75251e); }
.tone-citrus { background: linear-gradient(135deg, #f4c94c, #77a72c); }
.tone-forest { background: linear-gradient(135deg, #4a9b7a, #183d38); }
.tone-berry { background: linear-gradient(135deg, #ba4a87, #512663); }
.card-copy { padding: 16px 18px 19px; }
.card-copy h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.025em; }
.card-copy p { margin: 0; color: var(--muted); }
.price { display: block; margin-top: 10px; color: #151515; font-weight: 850; }
.availability { display: inline-flex; margin-top: 10px; padding: 5px 9px; border-radius: 999px; background: #e9f6ee; color: var(--green); font-size: 11px; font-weight: 850; }
.availability.sold-out { background: #fbe9e8; color: #b3342d; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-card { border: 0; border-radius: 23px; background: white; overflow: hidden; padding: 0; text-align: left; box-shadow: 0 9px 24px rgba(25,25,25,.07); }
.product-card .product-art { height: 140px; }
.product-card .product-emoji { font-size: 55px; }
.product-card.unavailable { opacity: .62; }
.empty-state { grid-column: 1 / -1; padding: 42px 20px; text-align: center; color: var(--muted); background: white; border-radius: 26px; }

.dock-spacer { height: 110px; }
.guest-dock { position: fixed; z-index: 20; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 28px), 620px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; border-radius: 27px; background: rgba(255,255,255,.78); box-shadow: 0 18px 55px rgba(20,20,20,.2); backdrop-filter: blur(22px) saturate(1.3); border: 1px solid rgba(255,255,255,.65); }
.dock-action { border: 0; border-radius: 20px; background: transparent; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #555; }
.dock-action span { font-size: 21px; }
.dock-action small { font-size: 10px; font-weight: 800; }
.dock-action.active { color: white; background: #191919; }
.dock-action.whatsapp { color: var(--green); }

.sheet-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(5px); }
.product-sheet { position: fixed; z-index: 41; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 680px); max-height: 88svh; overflow-y: auto; padding: 14px 20px max(24px, env(safe-area-inset-bottom)); border-radius: 34px 34px 0 0; background: #fbfbf9; box-shadow: 0 -20px 60px rgba(0,0,0,.25); }
.sheet-close, .ad-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.84); font-size: 26px; }
.sheet-image { height: 250px; border-radius: 25px; margin-bottom: 22px; }
.product-sheet h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.sheet-description { color: var(--muted); line-height: 1.55; }
.sheet-price { display: block; margin: 20px 0; font-size: 24px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1.45fr; gap: 10px; }
.secondary-button { background: #e8e8e5; color: #1a1a1a; }
.whatsapp-button { background: #1fa463; color: white; }

.ad-overlay { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,8,8,.75); backdrop-filter: blur(16px); }
.ad-card { position: relative; width: min(100%, 430px); min-height: 570px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 36px; padding: 30px; color: white; background: linear-gradient(155deg, #bc4d82, #53295f 66%, #241531); box-shadow: 0 28px 90px rgba(0,0,0,.45); }
.ad-card::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; top: -80px; right: -70px; background: rgba(255,255,255,.14); }
.ad-art { position: absolute; top: 90px; left: 0; right: 0; text-align: center; font-size: 125px; filter: drop-shadow(0 20px 25px rgba(0,0,0,.25)); }
.ad-badge { align-self: flex-start; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.ad-card h2 { margin: 14px 0 8px; font-size: 38px; letter-spacing: -.05em; }
.ad-card p { margin: 0 0 18px; color: rgba(255,255,255,.72); line-height: 1.5; }
.ad-social-action { display: inline-flex; align-items: center; align-self: flex-start; min-height: 42px; margin: 0 0 14px; padding: 0 16px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.94); font-size: 13px; font-weight: 520; text-decoration: none; backdrop-filter: blur(12px); }
.ad-social-action[hidden] { display: none !important; }
.ad-card small { color: rgba(255,255,255,.58); }
.ad-close:disabled { opacity: .35; cursor: wait; }
.toast { position: fixed; z-index: 100; left: 50%; top: max(20px, env(safe-area-inset-top)); transform: translateX(-50%); width: min(calc(100% - 32px), 450px); padding: 14px 18px; color: white; background: rgba(20,20,20,.92); border-radius: 18px; text-align: center; box-shadow: var(--shadow); font-weight: 700; }

@media (min-width: 680px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .splash { border-radius: 0 0 54px 54px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* Full-custom Floating promotion artwork: Google Photos 3:4 crop. */
.ad-custom-image[hidden] { display: none !important; }
.ad-card.has-custom-image {
  width: min(100%, 430px);
  aspect-ratio: 3 / 4;
  min-height: 0;
  padding: 0;
  background: #ece9e4;
}
.ad-card.has-custom-image::before { display: none; }
.ad-card.has-custom-image .ad-custom-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ad-card.has-custom-image .ad-badge,
.ad-card.has-custom-image .ad-art,
.ad-card.has-custom-image #ad-title,
.ad-card.has-custom-image #ad-message,
.ad-card.has-custom-image #ad-countdown {
  display: none !important;
}
.ad-card.has-custom-image .ad-close {
  z-index: 3;
}
.ad-card.has-custom-image .ad-social-action {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 20px;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.96);
  color: #5f5b55;
  font-weight: 520;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
