/* ==============================
   DESIGN TOKENS
================================= */
:root {
  --primary-color: #e63946;
  --secondary-color: #fff1f2;
  --dark-color: #1d1d1d;
  --gray-color: #777;
  --white-color: #fff;
  --background-color: #f8f8f8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ==============================
   RESET / BASE
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background-color);
  color: var(--dark-color);
}

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

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

section {
  scroll-margin-top: 90px;
}

::selection {
  background: var(--primary-color);
  color: var(--white-color);
}

/* ==============================
   SCROLLBAR
================================= */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 20px;
}

/* ==============================
   HEADER
================================= */
.header {
  width: 100%;
  padding: 20px 8%;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo h1 {
  font-size: 24px;
  color: var(--primary-color);
}

.logo p {
  font-size: 13px;
  color: var(--gray-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
}

.cart-link {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 10px 16px;
  border-radius: 999px;
}

/* ==============================
   BUTTONS
================================= */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  opacity: 0.95;
}

.btn:active {
  transform: scale(0.97);
}

.btn-light {
  background: var(--white-color);
  color: var(--primary-color);
}

/* ==============================
   HERO
================================= */
.hero {
  min-height: 640px;
  padding: 70px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  background:
    radial-gradient(circle at 85% 45%, rgba(255,255,255,0.08), transparent 28%),
    linear-gradient(135deg, #1d1018, #3a1118, #4b0f18);
  color: var(--white-color);
  overflow: hidden;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.rating {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 600;
}

.hero h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  color: #f3f3f3;
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-info span {
  background: rgba(255,255,255,0.12);
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-stats div {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  border-radius: 18px;
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  color: var(--white-color);
  margin-bottom: 4px;
}

.hero-stats span {
  font-size: 12px;
  color: #ddd;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  filter: blur(8px);
}

.hero-image img {
  width: 100%;
  max-width: 680px;
  max-height: 560px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 38px rgba(0,0,0,0.45));
  transform: rotate(-2deg);
}

/* ==============================
   PROMO BANNER
================================= */
.promo-banner {
  margin: -50px auto 50px;
  max-width: 1100px;
  width: 84%;
  min-height: 320px;
  background: linear-gradient(135deg, #53006e, #9b1d4f);
  color: var(--white-color);
  padding: 42px 56px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(83, 0, 110, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-content {
  position: relative;
  z-index: 2;
}

.promo-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.promo-banner h2 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.promo-banner p {
  max-width: 420px;
  font-size: 17px;
  color: #fff4f8;
  margin-bottom: 20px;
}

.promo-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.promo-price span {
  text-decoration: line-through;
  opacity: 0.75;
  font-size: 15px;
}

.promo-price strong {
  font-size: 34px;
  line-height: 1;
}

.promo-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-image img {
  width: 100%;
  max-width: 360px;
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 35px rgba(0,0,0,0.28);
  transform: rotate(-3deg);
}

/* ==============================
   SHARED SECTION LAYOUT
================================= */
.categories,
.menu-section,
.testimonials,
.contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 8%;
}

.section-title {
  margin-bottom: 28px;
}

.section-title span {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
}

.section-title h2,
.categories h2,
.contact-section h2 {
  font-size: 32px;
  margin-top: 6px;
}

/* ==============================
   CATEGORIES
================================= */
.category-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.category-card {
  background: var(--white-color);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.category-card i {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.category-card span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
}

.category-card small {
  display: block;
  font-size: 12px;
  color: var(--gray-color);
  margin-top: 4px;
}

.category-card.active,
.category-card:hover {
  background: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
  transform: translateY(-7px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.category-card.active i,
.category-card:hover i,
.category-card.active small,
.category-card:hover small {
  color: var(--white-color);
}

/* ==============================
   PRODUCTS
================================= */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--white-color);
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f1f1f1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.product-content {
  padding: 20px;
}

.product-rating {
  font-size: 13px;
  color: #f4a261;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--gray-color);
  font-size: 14px;
  margin-bottom: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.product-price {
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 18px !important;
}

.product-btn {
  min-width: 120px;
  padding: 10px 14px;
  font-size: 14px;
}

/* ==============================
   CART
================================= */
.cart-section {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 55px 8%;
  background: transparent;
  box-shadow: none;
}

.cart-header {
  margin-bottom: 28px;
}

.cart-label {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.cart-header h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.cart-header p {
  color: var(--gray-color);
  max-width: 520px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.cart-summary-card,
.checkout-card {
  background: var(--white-color);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cart-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.cart-summary-top h3,
.checkout-card h3 {
  font-size: 22px;
}

.cart-summary-top span {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.cart-items-list {
  min-height: 80px;
}

.cart-item {
  background: #fafafa;
  padding: 16px;
  border-radius: 18px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #f0f0f0;
}

.cart-item strong {
  font-size: 15px;
}

.cart-item p {
  color: var(--gray-color);
  font-size: 13px;
  margin-top: 4px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: none;
  border-radius: 10px;
  background: var(--primary-color);
  color: var(--white-color);
  cursor: pointer;
  font-weight: 700;
}

.quantity-controls span {
  font-weight: 700;
}

.cart-total-box {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color), #8b1e56);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-total-box span {
  font-size: 14px;
  opacity: 0.9;
}

.cart-total-box strong {
  font-size: 28px;
}

.checkout-card > p {
  color: var(--gray-color);
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 22px;
}

.checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.checkout-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-color);
  margin-top: 6px;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: #fafafa;
  transition: 0.2s ease;
}

.checkout-form input:hover,
.checkout-form select:hover,
.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--primary-color);
  background: var(--white-color);
}

.checkout-form input:focus,
.checkout-form select:focus {
  box-shadow: 0 0 0 4px rgba(91, 0, 122, 0.08);
}

.checkout-button {
  width: 100%;
  margin-top: 10px;
  padding: 16px 18px;
  font-size: 15px;
}

.checkout-message {
  font-size: 14px;
  font-weight: 600;
  color: #c0392b;
}

/* ==============================
   TESTIMONIALS
================================= */
.testimonial-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  background: var(--white-color);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.testimonial-card p {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 10px;
}

.testimonial-card span {
  color: var(--gray-color);
  font-size: 14px;
}

/* ==============================
   CONTACT
================================= */
.contact-section {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 50px 8%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.contact-card {
  background: var(--white-color);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.contact-icon i {
  color: var(--primary-color);
  font-size: 20px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--gray-color);
  font-size: 14px;
  line-height: 1.6;
}

/* ==============================
   FOOTER
================================= */
.footer {
  background: var(--dark-color);
  color: var(--white-color);
  padding: 40px 8% 20px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-content h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 8px;
}

.footer-content p {
  color: #ccc;
  max-width: 420px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ddd;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.25s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #aaa;
  font-size: 13px;
}

/* ==============================
   FLOATING WHATSAPP
================================= */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 99;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp i {
  font-size: 30px;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.45);
}

/* ==============================
   FORM MOBILE TAP POLISH
================================= */
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

input::placeholder {
  color: #aaa;
}

/* ==============================
   RESPONSIVE - TABLET
================================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 55px 6% 90px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-info {
    justify-content: center;
  }

  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image img {
    width: 100%;
    max-width: 520px;
  }

  .promo-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 34px 28px;
  }

  .promo-banner p {
    margin-left: auto;
    margin-right: auto;
  }

  .promo-price {
    align-items: center;
  }

  .promo-image img {
    max-width: 300px;
    height: 220px;
  }

  .category-list,
  .testimonial-list,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-section {
    padding: 45px 6%;
  }

  .footer-content,
  .footer-bottom {
    flex-direction: column;
  }
}

/* ==============================
   RESPONSIVE - MOBILE
================================= */
@media (max-width: 600px) {
  .header {
    padding: 16px 5%;
  }

  .header-actions a:not(.cart-link) {
    display: none;
  }

  .hero {
    padding: 42px 5% 80px;
  }

  .hero h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    max-width: 360px;
  }

  .promo-banner {
    width: 90%;
    margin-top: -40px;
  }

  .categories,
  .menu-section,
  .cart-section,
  .testimonials,
  .contact-section {
    padding: 40px 5%;
  }

  .category-list,
  .testimonial-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary-card,
  .checkout-card {
    padding: 22px;
    border-radius: 22px;
  }

  .cart-summary-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-total-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-total-box strong {
    font-size: 26px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .quantity-controls {
    flex-wrap: wrap;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 18px;
    bottom: 18px;
  }
}