﻿:root {
  --bg: #ffffff;
  --bg-soft: #f2f2f2;
  --text: #111111;
  --ink: #000000;
  --green: #22a63a;
  --line: #dddddd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, 1160px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  border-bottom: 1px solid #222;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo-large {
  width: 120px;
  object-fit: contain;
}

.cart-button {
  background: #0e0e0e;
  color: #fff;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.cart-button svg,
.instagram-link svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

main {
  padding-block: 1rem 2rem;
}

.section-title {
  margin: 0 0 0.9rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-carousel,
.news {
  margin-bottom: 1.8rem;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  gap: 0.8rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.slide,
.news-card {
  min-width: 100%;
  scroll-snap-align: start;
  border-radius: 14px;
  border: 1px dashed #b5b5b5;
  background: linear-gradient(145deg, #efefef, #dcdcdc);
  height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  padding: 1rem;
}

.news-card {
  background: #121212;
  color: #fff;
  border: 1px solid #2e2e2e;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4d4;
}

.carousel-dot.active {
  background: #1a1a1a;
}

.featured {
  margin-bottom: 2rem;
}

.featured-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.featured-image-wrap {
  border-radius: 14px;
  background: radial-gradient(circle at top, #ffffff 0%, #ececec 100%);
  border: 1px solid #e5e5e5;
  padding: 1rem;
}

.featured-image {
  margin-inline: auto;
  width: min(100%, 270px);
}

.burger-title {
  margin: 0;
  font-family: 'Germania One', serif;
  letter-spacing: 0.06em;
  font-size: 1.75rem;
  color: #080808;
}

.price-line {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.price-original {
  text-decoration: line-through;
  color: #666;
  font-weight: 600;
}

.price-promo {
  color: #101010;
  font-size: 1.25rem;
  font-weight: 800;
}

.off-badge {
  background: rgba(34, 166, 58, 0.12);
  border: 1px solid rgba(34, 166, 58, 0.4);
  color: var(--green);
  font-weight: 800;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
}

.mini-note {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.featured-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.btn {
  appearance: none;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  background: #fff;
  color: #111;
}

.products {
  margin-bottom: 2rem;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: #fff;
}

.product-image {
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(165deg, #ffffff 0%, #ececec 100%);
  border: 1px solid #ebebeb;
  overflow: hidden;
}

.product-image img {
  width: min(100%, 220px);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-image-link:hover .product-image img,
.product-image-link:focus-visible .product-image img,
.product-image-link:active .product-image img {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.25));
}

.product-price {
  margin: 0.45rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.detail-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: #111;
  font-weight: 700;
}

.site-footer {
  background: #111;
  color: #fff;
  padding: 1rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.logo-footer {
  width: 70px;
}

.footer-info p {
  margin: 0.2rem 0;
  font-size: 0.85rem;
}

.instagram-link {
  color: #fff;
}

.cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: flex-end;
  z-index: 40;
}

.cart-modal.open {
  display: flex;
}

.cart-panel {
  width: min(100%, 420px);
  height: 100%;
  background: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

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

.cart-head h2 {
  margin: 0;
}

.cart-close {
  border: 0;
  background: #111;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 45vh;
  overflow: auto;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
}

.cart-item-meta {
  color: #555;
  font-size: 0.86rem;
}

.qty-controls {
  display: inline-flex;
  border: 1px solid #ccc;
  border-radius: 999px;
  overflow: hidden;
}

.qty-controls button {
  border: 0;
  background: #f8f8f8;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
}

.qty-controls span {
  min-width: 26px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cart-empty {
  color: #555;
}

.cart-total {
  margin: 0.2rem 0 0.8rem;
}

.input-label {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.address-input {
  border: 1px solid #bcbcbc;
  border-radius: 8px;
  padding: 0.65rem;
  margin-bottom: 0.8rem;
}

.whatsapp-btn {
  width: 100%;
  margin-top: auto;
}

.product-detail {
  padding-top: 1.2rem;
  padding-bottom: 2rem;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
}

.detail-top {
  display: grid;
  gap: 1rem;
}

.detail-ingredients {
  padding-left: 1rem;
  margin: 0.6rem 0 1rem;
}

.detail-price {
  font-size: 1.1rem;
  font-weight: 800;
}

.back-link {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #111;
  font-weight: 700;
}

@media (min-width: 700px) {
  .logo-large {
    width: 145px;
  }

  .featured-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .slide,
  .news-card {
    min-width: calc(50% - 0.4rem);
  }

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

  .detail-top {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .slide,
  .news-card {
    min-width: calc(33.333% - 0.54rem);
  }

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