:root {
  --black: #080808;
  --graphite: #141414;
  --graphite-2: #242424;
  --gold: #f4b83f;
  --gold-2: #d89118;
  --cream: #fff4d1;
  --muted: #cfc5a9;
  --red: #e2342e;
  --green: #25d366;
  --line: rgba(244, 184, 63, 0.26);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(226, 52, 46, 0.12), transparent 30rem),
    radial-gradient(circle at 80% 10%, rgba(244, 184, 63, 0.18), transparent 24rem),
    linear-gradient(145deg, #050505 0%, #17120a 48%, #070707 100%);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.cart-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px clamp(14px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #f7edcd;
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav a {
  opacity: 0.86;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.cart-button,
.primary-button,
.primary-link,
.secondary-link,
.ghost-button,
.product-card button,
.combo-card button,
.chip {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.cart-button,
.primary-button,
.primary-link,
.product-card button,
.combo-card button {
  background: linear-gradient(135deg, var(--gold), #ffe08a 45%, var(--gold-2));
  color: #181006;
  box-shadow: 0 10px 28px rgba(216, 145, 24, 0.28);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.cart-button #cartCount {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111;
  color: var(--gold);
  font-size: 0.8rem;
}

.cart-button.pulse {
  animation: cartPulse 520ms ease;
}

.primary-link,
.secondary-link,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.secondary-link,
.ghost-button,
.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100svh - 72px));
  padding: clamp(88px, 16vw, 160px) clamp(16px, 6vw, 72px) clamp(34px, 8vw, 80px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-don-drinks-v2.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42) 56%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, #080808 0%, transparent 36%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  color: #fff;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.1rem);
}

.hero-text {
  max-width: 610px;
  margin: 20px 0 0;
  color: #f0e4c4;
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  line-height: 1.6;
}

.hero-actions,
.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.quick-info {
  margin-top: 24px;
}

.quick-info span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: #ffefbd;
  background: rgba(0, 0, 0, 0.34);
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--red), #f4b83f, var(--green));
  color: #120b05;
  font-weight: 950;
  text-transform: uppercase;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 10px 16px;
  animation: ticker 22s linear infinite;
}

.section,
.product-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 76px 0 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.photo-card,
.combo-card,
.partner-grid article,
.review-card,
.contact,
.location,
.live-section,
.how-it-works article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
}

.photo-card {
  position: relative;
  min-height: 290px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.photo-card img,
.combo-card img,
.video-card video,
.live-frame img,
.location img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--cream);
  font-weight: 900;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.how-it-works article {
  border-radius: 8px;
  padding: 18px;
}

.how-it-works strong {
  display: block;
  color: var(--gold);
  font-size: 1.1rem;
}

.how-it-works span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.catalog-toolbar {
  display: grid;
  gap: 12px;
}

.catalog-toolbar input,
.field input,
.field select,
.field textarea,
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.36);
  color: #fff;
  outline: none;
}

.review-form textarea,
.field textarea {
  padding-top: 12px;
  resize: vertical;
}

.category-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 0 16px;
}

.chip.active {
  background: #fff;
  color: #111;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 14px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
}

.product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-body {
  padding: 14px;
}

.product-top,
.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tag,
.in-cart,
.partner-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 950;
}

.tag {
  background: rgba(244, 184, 63, 0.16);
  color: var(--gold);
}

.in-cart {
  background: rgba(37, 211, 102, 0.16);
  color: #9cffbe;
}

.product-card h3,
.combo-card h3 {
  margin-top: 12px;
  color: #fff;
  font-size: 1.14rem;
}

.product-card p,
.combo-card p,
.review-card p,
.partner-grid p,
.live-copy p,
.location p,
.contact p {
  color: var(--muted);
  line-height: 1.5;
}

.price {
  color: var(--cream);
  font-size: 1.08rem;
}

.product-card button,
.combo-card button {
  padding: 0 14px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-weight: 950;
}

.combo-grid,
.video-grid,
.review-list,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.combo-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
  border-radius: 8px;
}

.combo-card > div {
  padding: 16px;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.video-card video {
  aspect-ratio: 9 / 16;
  max-height: 520px;
  background: #000;
}

.video-card strong {
  display: block;
  padding: 14px;
  color: var(--cream);
}

.live-section,
.location,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  border-radius: 8px;
  padding: 18px;
}

.live-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.live-frame > div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.72);
}

.live-frame strong,
.live-frame span {
  display: block;
}

.live-frame span {
  margin-top: 4px;
  color: var(--muted);
}

.review-form {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
}

.review-form textarea,
.review-form button {
  grid-column: 1 / -1;
}

.review-card,
.partner-grid article {
  border-radius: 8px;
  padding: 16px;
}

.stars {
  color: var(--gold);
  font-size: 1.05rem;
}

.partner-grid {
  grid-template-columns: repeat(4, 1fr);
}

.partner-status {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
}

.location {
  align-items: center;
}

.location img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.contact {
  align-items: center;
}

.responsible-note,
.empty {
  color: var(--muted);
}

.empty.full {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(430px, 100%);
  height: 100svh;
  padding: 18px;
  background: #111;
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.45);
  transform: translateX(110%);
  transition: transform 260ms ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header strong,
.cart-header span {
  display: block;
}

.cart-header span {
  color: var(--gold);
  font-weight: 950;
}

.cart-header button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
}

.cart-items {
  display: grid;
  gap: 10px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item strong,
.cart-item span,
.field {
  display: block;
}

.cart-item span,
.field {
  color: var(--muted);
  font-size: 0.92rem;
}

.field {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  margin-top: 7px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.64);
  opacity: 0;
  transition: opacity 220ms ease;
}

.overlay.open {
  pointer-events: auto;
  opacity: 1;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--green);
  color: #07140b;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.32);
}

.mobile-order-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  transform: translateY(130%);
  transition: transform 240ms ease;
}

.mobile-order-bar.show {
  transform: translateY(0);
}

.mobile-order-bar button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--gold), #ffe08a 45%, var(--gold-2));
  color: #111;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  font-weight: 950;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  max-width: calc(100% - 32px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(8, 8, 8, 0.92);
  color: var(--cream);
  box-shadow: var(--shadow);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cart-flyer {
  position: fixed;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  pointer-events: none;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 700ms ease;
}

.footer {
  display: grid;
  gap: 5px;
  padding: 64px 16px 28px;
  color: var(--muted);
  text-align: center;
}

.footer strong {
  color: var(--gold);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.09) translateX(-1.2%);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes cartPulse {
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

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

  .cart-button {
    margin-left: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid,
  .combo-grid,
  .video-grid,
  .review-list,
  .partner-grid,
  .how-it-works,
  .live-section,
  .location,
  .contact {
    grid-template-columns: 1fr;
  }

  .photo-card {
    min-height: 250px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 84px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .cart-icon {
    display: none;
  }

  .hero {
    min-height: 640px;
    padding-top: 112px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, #080808 0%, rgba(0, 0, 0, 0.2) 34%, rgba(0, 0, 0, 0.82) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions a {
    width: 100%;
  }

  .section,
  .product-grid {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding-top: 52px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 124px 1fr;
  }

  .product-photo {
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }

  .buy-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .buy-row button,
  .qty.compact {
    width: 100%;
  }

  .qty.compact {
    justify-content: space-between;
  }

  .review-form {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    top: auto;
    bottom: 0;
    height: min(88svh, 760px);
    border-radius: 18px 18px 0 0;
    transform: translateY(110%);
  }

  .cart-panel.open {
    transform: translateY(0);
  }

  .mobile-order-bar {
    display: block;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 80px;
  }

  .toast {
    bottom: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
