/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/*=============== VARIABLES ===============*/
:root {
  --header-height: 4.5rem;

  /* Colors - Mint Green Theme */
  --bg-color: #b5f5d0;
  --bg-color-alt: #9aefc2;
  --bg-color-light: #d0fae3;
  --bg-color-dark: #7de8b0;
  --primary-color: #1a7a4a;
  --primary-color-alt: #15623b;
  --primary-color-light: #2da865;
  --accent-color: #ff6b35;
  --accent-color-alt: #e85a24;
  --white-color: #ffffff;
  --dark-color: #1a2e1f;
  --text-color: #2d5a3d;
  --text-color-light: #4a7a5a;
  --card-color: rgba(255,255,255,0.75);
  --card-border: rgba(26, 122, 74, 0.18);
  --shadow: 0 8px 32px rgba(26,122,74,0.13);
  --shadow-hover: 0 16px 48px rgba(26,122,74,0.22);

  /* Font */
  --font-family: 'Poppins', sans-serif;
  --font-size-h1: clamp(2rem, 5vw, 3.5rem);
  --font-size-h2: clamp(1.5rem, 3.5vw, 2.5rem);
  --font-size-normal: 1rem;
  --font-size-small: 0.875rem;

  /* Border radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 50rem;

  /* Transition */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*=============== BASE ===============*/
*, *::before, *::after { box-sizing: border-box; padding: 0; margin: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-normal);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  line-height: 1.25;
  font-weight: 800;
  color: var(--dark-color);
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-family); }
input, textarea, select { font-family: var(--font-family); }
address { font-style: normal; }

/*=============== REUSABLE CLASSES ===============*/
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.grid { display: grid; }
.section { padding: clamp(4.5rem, 8vh, 6.5rem) 0 clamp(2.5rem, 5vh, 4rem); width: 100%; }
.section_subtitle {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.section_title {
  font-family: var(--font-family);
  font-size: var(--font-size-h2);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--dark-color);
  letter-spacing: -0.5px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(181, 245, 208, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  z-index: var(--z-fixed);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

.nav_logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  margin-left: 0;
  z-index: 2;
}
.nav_logo-icon {
  font-size: 1.9rem;
  color: var(--accent-color);
}

.nav_menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav_list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2vw, 2.25rem);
  margin: 0;
  padding: 0;
}
.nav_link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  transition: color var(--transition);
  font-size: 1.02rem;
  line-height: 1;
  padding: 0.4rem 0;
}
.nav_link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2.5px;
  background: var(--accent-color);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}
.nav_link:hover, .nav_link.active-link {
  color: var(--primary-color);
}
.nav_link:hover::after, .nav_link.active-link::after { width: 100%; }

.nav_toggle, .nav_close {
  display: none;
  font-size: 1.6rem;
  color: var(--dark-color);
  cursor: pointer;
  z-index: 2;
}

.cart-trigger {
  position: relative;
  width: 2.85rem; height: 2.85rem;
  background: var(--white-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--primary-color);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 2px solid var(--card-border);
  z-index: 2;
}
.cart-trigger:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: scale(1.08);
}
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent-color);
  color: var(--white-color);
  font-size: 0.72rem;
  font-weight: 700;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-color);
  transition: transform 0.2s ease;
}

/* Added-to-Cart Animations */
@keyframes cartBump {
  0% { transform: scale(1); }
  25% { transform: scale(1.32) rotate(-14deg); box-shadow: 0 0 28px rgba(255, 107, 53, 0.65); }
  50% { transform: scale(0.88) rotate(10deg); }
  75% { transform: scale(1.16) rotate(-5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.cart-bump-animation {
  animation: cartBump 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% { transform: scale(1); }
  35% { transform: scale(1.85); background: #ff3b30; box-shadow: 0 0 18px rgba(255, 59, 48, 0.85); }
  65% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

.badge-pop-animation {
  animation: badgePop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Floating Plus Qty Indicator */
.cart-plus-indicator {
  position: fixed;
  z-index: 100000;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-color), #ff8c42);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: floatUpFade 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes floatUpFade {
  0% { opacity: 0; transform: translate(-50%, 4px) scale(0.4); }
  25% { opacity: 1; transform: translate(-50%, -16px) scale(1.25); }
  70% { opacity: 1; transform: translate(-50%, -32px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -48px) scale(0.6); }
}

/* Sparkle particles on cart impact */
.cart-sparkle-particle {
  position: fixed;
  z-index: 99999;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px currentColor;
  animation: particleBurst 0.65s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes particleBurst {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); }
}

.pizza-modal__add.added-success {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  transform: scale(0.98);
}

/*=============== HOME ===============*/
.home {
  padding-top: calc(var(--header-height) + 0.5rem);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-color-light) 60%, var(--bg-color-dark) 100%);
  overflow: hidden;
  position: relative;
  width: 100%;
}
.home::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(26,122,74,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.home_container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: 1rem 0 2rem;
  width: 100%;
}

.home_data {
  position: relative;
  text-align: left;
  margin-left: 2.5rem;
}

.home_subtitle {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white-color);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.home_title {
  font-size: var(--font-size-h1);
  font-weight: 900;
  color: var(--dark-color);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.home_description {
  color: var(--text-color-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 460px;
}

.home_stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}
.home_stat {
  display: flex;
  flex-direction: column;
}
.home_stat strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}
.home_stat span {
  font-size: 0.78rem;
  color: var(--text-color-light);
  font-weight: 500;
}

.home_images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.home_pizza-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home_pizza {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 28px 70px rgba(26, 122, 74, 0.2), 0 0 0 16px rgba(255, 255, 255, 0.22);
  object-fit: contain;
  aspect-ratio: 1;
  will-change: transform, opacity;
  animation: pizzaCornerEntrance 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             float 4s ease-in-out infinite 1.6s;
}

/* Enters gliding smoothly from the last corner into its resting place */
@keyframes pizzaCornerEntrance {
  0% {
    opacity: 0;
    transform: translate(120%, 90%) rotate(180deg) scale(0.35);
  }
  25% {
    opacity: 1;
  }
  75% {
    transform: translate(-10px, -8px) rotate(-5deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

.home_badge {
  position: absolute;
  bottom: 5%;
  right: -4%;
  background: var(--white-color);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-color);
  box-shadow: var(--shadow);
  z-index: 4;
  animation: badgePopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s backwards;
}

@keyframes badgePopIn {
  0% { opacity: 0; transform: scale(0.6) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.home_badge i { color: #f5a623; font-size: 1rem; }

/* Floating ingredient elements matching Pizzaura style */
.home_ingredient {
  position: absolute;
  font-size: 2.2rem;
  z-index: 3;
  filter: drop-shadow(0 6px 12px rgba(26,122,74,0.25));
  user-select: none;
  pointer-events: none;
}
.home_leaf-1 {
  top: 0%;
  right: 18%;
  animation: floatLeaf1 4s ease-in-out infinite;
}
.home_pepperoni {
  right: 3%;
  top: 20%;
  animation: floatPepperoni 3.8s ease-in-out infinite 0.4s;
}
.home_mushroom {
  right: 5%;
  bottom: 20%;
  animation: floatMushroom 4.2s ease-in-out infinite 0.8s;
}
.home_olive {
  bottom: 0%;
  left: 36%;
  animation: floatOlive 3.5s ease-in-out infinite 0.2s;
}
.home_leaf-2 {
  left: 4%;
  bottom: 24%;
  animation: floatLeaf2 4.5s ease-in-out infinite 0.6s;
}
.home_tomato {
  left: 5%;
  top: 18%;
  animation: floatTomato 4s ease-in-out infinite 1s;
}

@keyframes floatLeaf1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(15deg); }
}
@keyframes floatPepperoni {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-12deg); }
}
@keyframes floatMushroom {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(10deg); }
}
@keyframes floatOlive {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-15deg); }
}
@keyframes floatLeaf2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-10deg); }
}
@keyframes floatTomato {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(12deg); }
}

/* Stickers matching Pizzaura style */
.home_sticker {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
  user-select: none;
  pointer-events: none;
}
.home_sticker-1 {
  right: 1rem;
  bottom: -2.5rem;
  transform: rotate(25deg);
  animation: stickerBounce 5s ease-in-out infinite;
}
.home_sticker-2 {
  left: 2rem;
  bottom: -3.5rem;
  transform: rotate(-15deg);
  animation: stickerBounce 6s ease-in-out infinite 1s;
}
.about_sticker {
  position: absolute;
  font-size: 2rem;
  right: 1.5rem;
  bottom: 0.5rem;
  animation: stickerBounce 5s ease-in-out infinite;
}
@keyframes stickerBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

/*=============== ABOUT ===============*/
.about {
  background: var(--bg-color-light);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(5rem, 8vh, 7rem) 0;
  display: flex;
  align-items: center;
}
.about_container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 5rem);
}

.about_image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.about_circle-bg {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 122, 74, 0.15) 0%, rgba(181, 245, 208, 0.4) 60%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}

.about_orbit-ring {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  border: 2px dashed rgba(26, 122, 74, 0.25);
  z-index: 1;
  pointer-events: none;
  animation: rotateOrbit 35s linear infinite;
}

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about_img {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 50px rgba(26, 122, 74, 0.28));
  animation: floatAbout 5s ease-in-out infinite;
}

@keyframes floatAbout {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}

.about_experience {
  position: absolute;
  bottom: 4%;
  left: -4%;
  background: var(--white-color);
  color: var(--dark-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-hover);
  border: 1.5px solid var(--card-border);
  z-index: 3;
  animation: float 4.5s ease-in-out infinite 0.5s;
}

.about_experience-icon {
  font-size: 1.8rem;
  color: var(--accent-color);
}

.about_experience strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
}

.about_experience span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color-light);
}

.about_floating-tag {
  position: absolute;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  z-index: 3;
  pointer-events: none;
}

.about_tag-1 {
  top: 8%;
  right: 0%;
  animation: float 4s ease-in-out infinite 1s;
}

.about_tag-2 {
  bottom: 12%;
  right: -4%;
  background: var(--accent-color);
  animation: float 5.2s ease-in-out infinite 0.3s;
}

.about_data {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about_data .section_title {
  font-size: var(--font-size-h2);
  line-height: 1.2;
  margin-bottom: 1.35rem;
  color: var(--dark-color);
}

.about_description {
  color: var(--text-color-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 500px;
}

/*=============== POPULAR ===============*/
.popular {
  background: var(--bg-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vh, 7rem) 0;
}
.popular_header {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}
.popular_description {
  color: var(--text-color-light);
  margin-top: -0.5rem;
}

.popular_carousel-container {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 0;
  overflow: hidden;
}

/* Center Stage Circle ("Design Point") */
.popular_stage-arch {
  position: absolute;
  left: 50%;
  top: calc(1.5rem + (clamp(230px, 27vw, 290px) - clamp(268px, 31.4vw, 338px)) / 2);
  transform: translateX(-50%);
  width: clamp(268px, 31.4vw, 338px);
  height: clamp(268px, 31.4vw, 338px);
  background: radial-gradient(circle, rgba(162, 240, 198, 0.4) 0%, rgba(138, 233, 182, 0.16) 55%, transparent 75%);
  border-radius: 50%;
  border: none;
  box-shadow: none;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Moving Dotted Border */
.popular_stage-outer-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px dashed rgba(26, 122, 74, 0.48);
  pointer-events: none;
  animation: rotateDottedRing 18s linear infinite;
}

.popular_stage-inner-glow {
  position: absolute;
  width: 94%;
  height: 94%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(181, 245, 208, 0.2) 60%, transparent 80%);
  pointer-events: none;
}

@keyframes rotateDottedRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.popular_swiper {
  position: relative;
  z-index: 2;
  overflow: hidden !important;
  padding: 1.5rem 0 4.5rem !important;
}

.popular_card {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
}
.popular_card.swiper-slide-active {
  z-index: 5;
}

/* On tablet & desktop viewports (>=600px), hide any 4th+ outer slides completely */
@media screen and (min-width: 600px) {
  .popular_card:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* On mobile viewports (<600px), extend carousel edge-to-edge so side pizzas reach the screen edges naturally */
@media screen and (max-width: 599px) {
  .popular_carousel-container {
    max-width: 100% !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    overflow: visible !important;
  }
  .popular_swiper {
    overflow: visible !important;
    width: 100% !important;
  }
}

.popular_img-wrap {
  width: clamp(230px, 27vw, 290px);
  height: clamp(230px, 27vw, 290px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  overflow: visible;
  box-shadow: none;
  margin-bottom: 1.5rem;
}

.popular_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 20px rgba(26, 46, 31, 0.2));
  transition: all 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.82);
  opacity: 0.92;
}

/* Side pizzas hide their name; only center active pizza reveals its name */
.popular_info {
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
}

.popular_title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* Center Active Slide in the Design Point (Enlarged Pizza) */
.popular_card.swiper-slide-active .popular_img {
  transform: scale(1.17);
  opacity: 1;
  filter: drop-shadow(0 22px 42px rgba(26, 46, 31, 0.35));
  animation: popularFloat 4s ease-in-out infinite 0.5s;
}

@keyframes popularFloat {
  0%, 100% { transform: scale(1.17) translateY(0) rotate(0deg); }
  50% { transform: scale(1.17) translateY(-6px) rotate(1.8deg); }
}

.popular_card.swiper-slide-active .popular_info {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.popular_card.swiper-slide-active .popular_title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--dark-color);
}

/* Swiper pagination overrides */
.swiper-pagination-bullet { background: var(--primary-color) !important; opacity: 0.35; }
.swiper-pagination-bullet-active { opacity: 1 !important; }

/*=============== RECIPE ===============*/
.recipe {
  background: linear-gradient(135deg, var(--bg-color-dark) 0%, var(--bg-color) 100%);
  text-align: center;
}
.recipe .section_title { margin-bottom: 3rem; }

.recipe_container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  text-align: left;
}

.recipe_list {
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-left: 2.5rem;
}

.recipe_ingredient {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.5rem 0;
  transition: all var(--transition);
  box-shadow: none;
}
.recipe_ingredient:hover {
  transform: translateX(8px);
  box-shadow: none;
  background: transparent;
}

.recipe_icon {
  font-size: 2.6rem;
  width: 4.2rem; height: 4.2rem;
  background: var(--bg-color-dark);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.recipe_name { font-size: 1.25rem; font-weight: 800; color: var(--dark-color); margin-bottom: 0.35rem; }
.recipe_description { font-size: 1rem; color: var(--text-color-light); line-height: 1.5; }

.recipe_img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}
.recipe_img {
  width: 100%;
  max-width: 480px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  animation: float 5s ease-in-out infinite;
  object-fit: contain;
}

/*=============== PRODUCTS ===============*/
.products {
  background: var(--bg-color-light);
  text-align: center;
}
.products .section_title { margin-bottom: 3rem; }

.products_container {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.25rem 2rem;
}

.products_card {
  background: var(--bg-color);
  border: 1.5px solid var(--card-border);
  border-radius: 140px 140px var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}
.products_card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.products_img-wrap {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.75) 0%, rgba(200, 235, 215, 0.85) 65%, rgba(181, 245, 208, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem 1.25rem;
  position: relative;
  border-radius: 140px 140px 40px 40px / 140px 140px 20px 20px;
}
.products_img {
  width: 84%;
  max-width: 200px;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(26, 122, 74, 0.22);
  transition: transform var(--transition-slow);
  object-fit: cover;
  aspect-ratio: 1;
}
.products_card:hover .products_img {
  transform: scale(1.08) rotate(4deg);
}

.products_info {
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-color);
}
.products_name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.3;
  text-align: center;
}
.products_price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
}
.products__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.products__stars {
  display: flex;
  gap: 2px;
}
.products__stars i {
  font-size: 0.9rem;
  color: #f5a623;
}
.products__rating > span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-color-light);
}

.products_button {
  margin-top: 0.5rem;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
  cursor: pointer;
}
.products_button:hover {
  background: var(--accent-color);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}

/*=============== CONTACT ===============*/
.contact {
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vh, 7rem) 0;
}

.contact_container {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.contact_data {
  text-align: left;
}

.contact_title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--dark-color);
  letter-spacing: -0.5px;
}

.contact_title span {
  color: var(--dark-color);
}

.contact_description {
  color: var(--text-color-light);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

/* Feature Badges Row */
.contact_features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.contact_feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(26, 122, 74, 0.09);
  border: 1px solid rgba(26, 122, 74, 0.18);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: all var(--transition);
}

.contact_feature-item i {
  color: var(--primary-color);
  font-size: 1rem;
}

.contact_feature-item:hover {
  background: rgba(26, 122, 74, 0.16);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 122, 74, 0.12);
}

/* Contact Cards */
.contact_cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 540px;
}

.contact_card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: rgba(26, 122, 74, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(26, 122, 74, 0.16);
  border-radius: 18px;
  padding: 1rem 1.35rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(26, 46, 31, 0.04);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.contact_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact_card:hover {
  transform: translateY(-3px) translateX(4px);
  background: rgba(26, 122, 74, 0.15);
  box-shadow: 0 10px 24px rgba(26, 46, 31, 0.08);
  border-color: var(--primary-color);
}

.contact_card:hover::before {
  opacity: 1;
}

.contact_card-icon {
  width: 3.3rem;
  height: 3.3rem;
  background: linear-gradient(135deg, var(--primary-color), #2ec47d);
  color: var(--white-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 16px rgba(26, 122, 74, 0.25);
  transition: transform 0.3s ease;
}

.contact_card:hover .contact_card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.contact_card--whatsapp .contact_card-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

.contact_card--location .contact_card-icon {
  background: linear-gradient(135deg, var(--accent-color), #ff8c42);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25);
}

.contact_status-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9px;
  height: 9px;
  background: #00ff66;
  border: 2px solid var(--white-color);
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.contact_card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.contact_card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.contact_card-label {
  font-size: 0.76rem;
  color: var(--text-color-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.contact_card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(26, 122, 74, 0.1);
  color: var(--primary-color);
}

.contact_badge--wa {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
}

.contact_badge--time {
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent-color);
}

.contact_card-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact_card-action, .contact_card-link {
  width: 2.3rem;
  height: 2.3rem;
  background: rgba(26, 122, 74, 0.12);
  border: 1px solid rgba(26, 122, 74, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact_card:hover .contact_card-action {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translate(2px, -2px);
}

.contact_card-link:hover {
  background: var(--accent-color);
  color: var(--white-color);
  transform: scale(1.1);
}

/* Agent Showcase */
.contact_agent-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.contact_agent-halo {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.18) 0%, rgba(181, 245, 208, 0.45) 60%, transparent 75%);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.contact_agent-img {
  width: 100%;
  max-width: 360px;
  max-height: 520px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 45px rgba(26, 46, 31, 0.24));
  animation: rideFloat 4.5s ease-in-out infinite;
  object-fit: contain;
}

@keyframes rideFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.contact_agent-badge {
  position: absolute;
  background: var(--white-color);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.15rem;
  box-shadow: var(--shadow-hover);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact_badge--speed {
  top: 10%;
  left: 0%;
  animation: float 4.2s ease-in-out infinite 0.2s;
}

.contact_badge--speed i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact_badge--speed strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.1;
}

.contact_badge--speed span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-color-light);
}

.contact_badge--rating {
  bottom: 8%;
  right: -2%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  animation: float 4.8s ease-in-out infinite 0.8s;
}

.contact_badge-stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
  font-size: 0.85rem;
}

.contact_badge--rating span {
  font-size: 0.78rem;
  color: var(--text-color-light);
}

.contact_badge--rating span strong {
  color: var(--dark-color);
}

.contact_badge--status {
  top: 6%;
  right: 2%;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  animation: float 5s ease-in-out infinite 0.5s;
}

.status-pulse {
  width: 9px;
  height: 9px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/*=============== PIZZA MODAL ===============*/
.pizza-modal, .checkout-modal, .success-modal {
  position: fixed;
  inset: 0;
  background: rgba(26,46,31,0.55);
  backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.pizza-modal.active, .checkout-modal.active, .success-modal.active {
  opacity: 1; pointer-events: all;
}

.pizza-modal__content {
  background: var(--bg-color-light);
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  box-shadow: 0 32px 80px rgba(26, 46, 31, 0.3);
  position: relative;
  overflow: hidden;
}

.pizza-modal__close, .checkout-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--bg-color-dark);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  transition: all var(--transition);
}
.pizza-modal__close:hover, .checkout-modal__close:hover {
  background: var(--accent-color);
  color: var(--white-color);
}

.pizza-modal__image {
  background: radial-gradient(circle, var(--bg-color-dark) 0%, var(--bg-color) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.pizza-modal__image img {
  width: 100%;
  max-width: 230px;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 16px 40px rgba(26, 122, 74, 0.25);
  animation: float 4s ease-in-out infinite;
}

.pizza-modal__data {
  padding: 1.5rem 1.75rem 1.5rem 1.5rem;
  overflow-y: auto;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
}

.pizza-modal__tag {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white-color);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
  align-self: flex-start;
}
.pizza-modal__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.pizza-modal__description {
  font-size: 0.82rem;
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.pizza-modal__price {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.75rem;
}

.pizza-customization {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.customization-group {}
.customization-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.customization-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.custom-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.45rem 0.5rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white-color);
  gap: 0.15rem;
}
.custom-option input[type="radio"] { display: none; }
.custom-option:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(26, 122, 74, 0.1);
  box-shadow: 0 2px 8px rgba(26, 122, 74, 0.15);
}
.custom-option__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.custom-option__content strong {
  font-size: 0.82rem;
  color: var(--dark-color);
}
.custom-option__content small {
  font-size: 0.7rem;
  color: var(--text-color-light);
}
.custom-option__price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.toppings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}
.topping-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white-color);
  position: relative;
}
.topping-option input { display: none; }
.topping-option:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(26, 122, 74, 0.1);
}
.topping-option__content {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}
.topping-option__content i {
  color: var(--primary-color);
  font-size: 0.95rem;
}
.topping-option__content span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.topping-option__content strong {
  font-size: 0.76rem;
  color: var(--dark-color);
}
.topping-option__content small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-color);
}
.topping-check {
  color: var(--primary-color);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.topping-option:has(input:checked) .topping-check { opacity: 1; }

.pizza-modal__quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding: 0.5rem 0.85rem;
  background: var(--white-color);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
}
.pizza-modal__quantity > span {
  font-weight: 700;
  font-size: 0.82rem;
}
.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.quantity-control button {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--bg-color-dark);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.quantity-control button:hover {
  background: var(--primary-color);
  color: var(--white-color);
}
.quantity-control span {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 1.25rem;
  text-align: center;
}

.pizza-modal__add {
  width: 100%;
  margin-top: 0.75rem;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.pizza-modal__add:hover {
  background: var(--accent-color);
  transform: scale(1.01);
}

/*=============== CHECKOUT MODAL ===============*/
.checkout-modal__content {
  background: var(--bg-color-light);
  border-radius: var(--radius-xl);
  max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 32px 80px rgba(26,46,31,0.3);
  position: relative;
}
.checkout-modal__tag {
  display: inline-block;
  background: var(--accent-color); color: var(--white-color);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.9rem; border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.checkout-modal__title { font-size: 1.6rem; margin-bottom: 0.5rem; }
.checkout-modal__description { font-size: 0.875rem; color: var(--text-color-light); margin-bottom: 1.75rem; }

.checkout-form { display: flex; flex-direction: column; gap: 1.25rem; }
.checkout-field { display: flex; flex-direction: column; gap: 0.5rem; }
.checkout-field label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--dark-color);
}
.checkout-field input, .checkout-field textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--white-color);
  color: var(--dark-color);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.checkout-field input:focus, .checkout-field textarea:focus {
  outline: none; border-color: var(--primary-color);
}
.checkout-field textarea { resize: vertical; }

.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.delivery-option {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 1rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  cursor: pointer; text-align: center;
  transition: all var(--transition);
  background: var(--white-color);
}
.delivery-option input { display: none; }
.delivery-option:has(input:checked) { border-color: var(--primary-color); background: rgba(26,122,74,0.08); }
.delivery-option__icon { font-size: 1.5rem; color: var(--primary-color); }
.delivery-option__content strong { font-size: 0.875rem; display: block; }
.delivery-option__content small { font-size: 0.75rem; color: var(--text-color-light); }
.delivery-option__price { font-weight: 700; font-size: 0.82rem; color: var(--accent-color); }

.checkout-summary {
  background: var(--white-color);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.checkout-summary__top {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; color: var(--dark-color);
}
.checkout-summary__items { margin-bottom: 0.75rem; }
.checkout-summary__row {
  display: flex; justify-content: space-between;
  font-size: 0.875rem; color: var(--text-color-light); padding: 0.25rem 0;
}
.checkout-summary__total {
  display: flex; justify-content: space-between;
  font-size: 1rem; font-weight: 700; color: var(--dark-color);
  border-top: 1.5px solid var(--card-border); margin-top: 0.5rem; padding-top: 0.75rem;
}

.checkout-submit {
  background: var(--primary-color); color: var(--white-color);
  padding: 1rem; border-radius: var(--radius-full);
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: all var(--transition); width: 100%;
}
.checkout-submit:hover { background: var(--accent-color); transform: scale(1.01); }

/*=============== SUCCESS MODAL ===============*/
.success-modal__content {
  background: var(--bg-color-light);
  border-radius: var(--radius-xl);
  max-width: 400px; width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 32px 80px rgba(26,46,31,0.3);
  position: relative;
}
.success-modal__icon {
  width: 4rem; height: 4rem;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.success-modal__tag {
  display: inline-block;
  background: var(--accent-color); color: var(--white-color);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.9rem; border-radius: var(--radius-full); margin-bottom: 0.75rem;
}
.success-modal__title { font-size: 1.4rem; margin-bottom: 0.5rem; }
.success-modal__description { font-size: 0.875rem; color: var(--text-color-light); margin-bottom: 1.25rem; }
.success-modal__order {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white-color); border-radius: var(--radius-md); padding: 0.75rem 1rem;
  font-size: 0.875rem; margin-bottom: 1.25rem;
}
.success-modal__order strong { color: var(--primary-color); display: flex; align-items: center; gap: 0.3rem; }
.success-modal__button {
  background: var(--primary-color); color: var(--white-color);
  padding: 0.85rem 2rem; border-radius: var(--radius-full);
  font-size: 0.95rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all var(--transition);
}
.success-modal__button:hover { background: var(--accent-color); transform: scale(1.04); }

/*=============== CONFETTI ===============*/
.confetti-container {
  position: fixed; inset: 0;
  pointer-events: none; z-index: calc(var(--z-modal) + 1);
  overflow: hidden;
}
.confetti-piece {
  position: absolute; top: -10px;
  width: 10px; height: 10px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/*=============== CART POPOVER ===============*/
.cart-popover {
  position: fixed; top: calc(var(--header-height) + 0.75rem); right: 1.5rem;
  width: 340px; max-height: 70vh;
  background: var(--bg-color-light);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(26,46,31,0.22);
  z-index: calc(var(--z-fixed) + 1);
  display: flex; flex-direction: column;
  transform: translateY(-1rem) scale(0.95);
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
  transform-origin: top right;
}
.cart-popover.active { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--card-border);
}
.cart-subtitle { font-size: 0.72rem; color: var(--text-color-light); font-weight: 500; display: block; }
.cart-title { font-size: 1rem; font-weight: 700; color: var(--dark-color); }
.cart-close {
  width: 2rem; height: 2rem;
  background: var(--bg-color-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--dark-color);
  transition: all var(--transition);
}
.cart-close:hover { background: var(--accent-color); color: var(--white-color); }

.cart-items { flex: 1; overflow-y: auto; padding: 0.75rem 1.25rem; }
.cart-empty { text-align: center; padding: 2rem 1rem; color: var(--text-color-light); }
.cart-empty i { font-size: 2.5rem; margin-bottom: 0.5rem; display: block; }
.cart-empty h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.cart-empty p { font-size: 0.8rem; }

.cart-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--card-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-color-dark); }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 0.85rem; font-weight: 600; color: var(--dark-color); }
.cart-item__details { font-size: 0.72rem; color: var(--text-color-light); }
.cart-item__price { font-weight: 700; color: var(--primary-color); font-size: 0.9rem; }
.cart-item__remove {
  width: 1.6rem; height: 1.6rem;
  background: var(--bg-color-dark);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.cart-item__remove:hover { background: #ff4d4d; color: var(--white-color); }

.cart-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cart-total { display: flex; flex-direction: column; }
.cart-total span { font-size: 0.72rem; color: var(--text-color-light); }
.cart-total strong { font-size: 1.2rem; font-weight: 800; color: var(--dark-color); }
.cart-checkout {
  background: var(--primary-color); color: var(--white-color);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.4rem;
  transition: all var(--transition); flex-shrink: 0;
}
.cart-checkout:hover { background: var(--accent-color); transform: scale(1.04); }

/*=============== FOOTER ===============*/
.footer {
  background: var(--dark-color);
  color: var(--white-color);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer_container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer_logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white-color);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity var(--transition);
}

.footer_logo:hover {
  opacity: 0.85;
}

.footer_logo i {
  color: var(--accent-color);
}

.footer_nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer_nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer_nav-link:hover {
  color: var(--white-color);
}

.footer_social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer_social-link {
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer_social-link:hover {
  background: var(--accent-color);
  color: var(--white-color);
  transform: translateY(-2px);
  border-color: var(--accent-color);
}

.footer_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer_copy-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer_copy,
.footer_credit {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer_credit-link {
  color: var(--accent-color);
  font-weight: 600;
  transition: color var(--transition);
  text-decoration: none;
}

.footer_credit-link:hover {
  color: var(--white-color);
  text-decoration: underline;
}

.footer_payments {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer_pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  user-select: none;
}

.footer_pay-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white-color);
  border-color: rgba(255, 255, 255, 0.16);
}

.footer_pay-badge i {
  font-size: 0.95rem;
  color: var(--white-color);
}

.footer_policy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer_link {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer_link:hover {
  color: var(--white-color);
}

.footer_dot {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed; bottom: 2rem; right: 1.5rem;
  width: 2.8rem; height: 2.8rem;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-hover);
  z-index: var(--z-fixed);
  opacity: 0; pointer-events: none;
  transform: translateY(1rem);
  transition: all var(--transition);
}
.scrollup.show-scroll { opacity: 1; pointer-events: all; transform: translateY(0); }
.scrollup:hover { background: var(--accent-color); transform: translateY(-3px); }

/*=============== RESPONSIVE DESIGN ===============*/

/* Large Desktops (≥1400px) */
@media screen and (min-width: 1400px) {
  .container { max-width: 1280px; }
  :root { --font-size-h1: 3.8rem; }
  .home_pizza-wrapper { max-width: 480px; }
  .products_container { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; }
}

/* Standard Laptops & Desktops (1025px - 1200px) */
@media screen and (max-width: 1200px) {
  .products_container { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
}

/* Tablets & Mobiles (≤1024px) */
@media screen and (max-width: 1024px) {
  /* Mobile Headings Extra Boldness */
  h1, h2, h3, h4, h5, h6 { font-weight: 900; }
  .section_title { font-weight: 900; letter-spacing: -0.5px; }
  .home_title { font-weight: 900; letter-spacing: -1px; }
  .popular_title { font-weight: 900; }
  .recipe_name { font-weight: 900; font-size: 1.05rem; }
  .products_title, .products_name { font-weight: 900; }
  .contact_title { font-weight: 900; letter-spacing: -0.5px; }
  .pizza-modal__title { font-weight: 900; }

  /* Navigation: Logo on left, Cart and Toggle on right */
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav_logo {
    order: 1;
    margin-left: 0;
    margin-right: auto;
    font-size: 1.45rem;
    font-weight: 900;
  }
  .cart-trigger {
    order: 2;
    margin-right: 0.85rem;
  }
  .nav_toggle {
    order: 3;
    display: flex;
  }

  /* Navigation Top Dropdown with Main Color Glassmorphism */
  .nav_menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 85vh;
    max-height: 85dvh;
    background: rgba(181, 245, 208, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 2px solid rgba(26, 122, 74, 0.2);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: 0 24px 60px rgba(26, 122, 74, 0.22), 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 4.5rem 2rem 2.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.45s;
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
  }
  .nav_menu.show-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav_list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    width: 100%;
  }
  .nav_link {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--dark-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
  }
  .nav_link:hover, .nav_link.active-link {
    background: rgba(26, 122, 74, 0.14);
    color: var(--primary-color);
  }
  .nav_link::after { display: none; }
  .nav_close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(26, 122, 74, 0.12);
    color: var(--dark-color);
    font-size: 1.45rem;
    transition: all var(--transition);
  }
  .nav_close:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: rotate(90deg);
  }

  /* Home Section: Centered content on all small screens */
  .home {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 2rem;
    text-align: center;
  }
  .home_container {
    grid-template-columns: 1fr;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
    width: 100%;
  }
  .home_data {
    order: 1;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 540px;
  }
  .home_title {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 0.85rem;
  }
  .home_description {
    text-align: center;
    margin: 0 auto 1.25rem;
    max-width: 480px;
  }
  .home_data .button {
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .home_stats {
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1.25rem auto 0;
  }
  .home_images {
    order: 2;
    margin: 0.5rem auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .home_pizza-wrapper {
    max-width: min(300px, 70vw);
    margin: 0 auto;
  }
  .home_sticker {
    display: none;
  }

  /* About Section: Text above, responsive centered image below */
  .about { min-height: auto; padding: 3rem 0; }
  .about_container { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .about_data { order: 1; align-items: center; text-align: center; }
  .about_description { margin: 0 auto 1.25rem; max-width: 500px; }
  .about_image-wrap {
    order: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(340px, 86vw);
    height: min(340px, 86vw);
    margin: 0 auto 1.5rem;
  }
  .about_circle-bg {
    position: absolute;
    width: 84%;
    height: 84%;
    border-radius: 50%;
  }
  .about_orbit-ring {
    position: absolute;
    width: 92%;
    height: 92%;
    border-radius: 50%;
    border: 1.5px dashed rgba(26, 122, 74, 0.28);
  }
  .about_img {
    width: 88%;
    height: 88%;
    max-width: 310px;
    object-fit: contain;
  }
  .about_experience {
    display: none;
  }
  .about_floating-tag { display: none; }

  /* Popular Section */
  .popular { padding: 3rem 0; }
  .popular_header { margin: 0 auto 1.25rem; }
  .popular_img-wrap { width: clamp(235px, 28vw, 275px); height: clamp(235px, 28vw, 275px); margin-bottom: 1.65rem; }
  .popular_card.swiper-slide-active .popular_img {
    transform: scale(1.28);
  }
  .popular_card:not(.swiper-slide-active) .popular_img {
    transform: scale(0.8);
    opacity: 0.88;
  }
  .popular_stage-arch {
    width: calc(clamp(235px, 28vw, 275px) * 0.98);
    height: calc(clamp(235px, 28vw, 275px) * 0.98);
    top: calc(1.5rem + (clamp(235px, 28vw, 275px) - (clamp(235px, 28vw, 275px) * 0.98)) / 2);
  }
  .popular_info {
    margin-top: 0.35rem;
  }
  .popular_card.swiper-slide-active .popular_title {
    font-size: 1.45rem;
  }

  /* Recipe Section: Text above, image below */
  .recipe { padding: 3rem 0; }
  .recipe_container { grid-template-columns: 1fr; gap: 1.5rem; }
  .recipe_list { order: 1; margin-left: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .recipe_img-wrap { order: 2; max-width: min(270px, 70vw); margin: 0 auto; }
  .recipe_ingredient { gap: 0.85rem; }
  .recipe_icon { width: 3rem; height: 3rem; font-size: 1.8rem; }
  .recipe_name { font-size: 1rem; }
  .recipe_description { font-size: 0.82rem; }

  /* Products Section */
  .products { padding: 3rem 0; }
  .products_container { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Contact Section: Text above, delivery agent image below */
  .contact { padding: 3rem 0; }
  .contact_container { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact_data { order: 1; text-align: left; }
  .contact_cards { max-width: 100%; }
  .contact_agent-showcase {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    gap: 0.85rem;
    position: relative;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
  }
  .contact_agent-halo {
    position: absolute;
    width: min(280px, 75vw);
    height: min(280px, 75vw);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .contact_badge--speed {
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 auto;
  }
  .contact_agent-img {
    order: 2;
    position: relative;
    z-index: 2;
    max-width: min(250px, 68vw);
    margin: 0 auto;
  }
  .contact_badge--rating {
    order: 3;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
  }
  .contact_badge--status { display: none; }

  /* Modals */
  .pizza-modal {
    padding: 0.75rem;
    align-items: center;
  }
  .pizza-modal__content {
    grid-template-columns: 1fr;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .pizza-modal__close {
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
  }
  .pizza-modal__image {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 1rem 1rem 0.5rem;
    min-height: auto;
    flex-shrink: 0;
  }
  .pizza-modal__image img {
    max-width: 125px;
    box-shadow: 0 8px 20px rgba(26, 122, 74, 0.2);
  }
  .pizza-modal__data {
    padding: 0.85rem 1.15rem 1.15rem;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .pizza-modal__title {
    font-size: 1.25rem;
  }
  .pizza-modal__price {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
  }

  .cart-popover { width: calc(100vw - 2rem); right: 1rem; max-width: 420px; }
  .checkout-modal__content { max-width: calc(100vw - 2rem); padding: 1.75rem 1.25rem; }
  .success-modal__content { max-width: calc(100vw - 2rem); padding: 2rem 1.25rem; }

  /* Footer */
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer_top { flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
  .footer_nav { justify-content: center; gap: 1.2rem; }
  .footer_bottom { flex-direction: column; text-align: center; justify-content: center; gap: 1rem; }
  .footer_copy-wrap { justify-content: center; }
  .footer_payments { justify-content: center; }
  .footer_policy { justify-content: center; }
}

/* Standard Mobile Devices (≤576px) */
@media screen and (max-width: 576px) {
  .section { padding: 2.5rem 0; }
  .section_title { font-size: clamp(1.65rem, 6vw, 2.2rem); margin-bottom: 0.85rem; }

  /* Hero */
  .home_stats { gap: 1rem; }
  .home_stat strong { font-size: 1.4rem; }
  .home_stat span { font-size: 0.74rem; }

  /* Popular Section */
  .popular_img-wrap { width: min(235px, 62vw); height: min(235px, 62vw); margin-bottom: 1.65rem; }
  .popular_card.swiper-slide-active .popular_img {
    transform: scale(1.30);
  }
  .popular_card:not(.swiper-slide-active) .popular_img {
    transform: scale(0.78);
    opacity: 0.85;
  }
  .popular_stage-arch {
    width: calc(min(235px, 62vw) * 0.98);
    height: calc(min(235px, 62vw) * 0.98);
    top: calc(1.5rem + (min(235px, 62vw) - (min(235px, 62vw) * 0.98)) / 2);
  }
  .popular_info {
    margin-top: 0.35rem;
  }
  .popular_card.swiper-slide-active .popular_title { font-size: 1.35rem; }

  /* Products App-style Mobile Cards */
  .products_card {
    border-radius: 95px 95px 18px 18px;
  }
  .products_img-wrap {
    padding: 1.15rem 0.85rem 0.75rem;
    border-radius: 95px 95px 24px 24px / 95px 95px 14px 14px;
  }
  .products_img { width: 88%; max-width: 135px; }
  .products_content { padding: 0.85rem 0.65rem 1rem; gap: 0.35rem; }
  .products_title { font-size: 0.96rem; }
  .products_description {
    font-size: 0.74rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .products_price { font-size: 1.15rem; }
  .products_button { padding: 0.65rem 0.85rem; font-size: 0.82rem; }

  /* Contact & Features */
  .contact_card { padding: 0.85rem 1.1rem; gap: 0.95rem; border-radius: 14px; }
  .contact_card-icon { width: 2.9rem; height: 2.9rem; font-size: 1.25rem; border-radius: 12px; }
  .contact_card-val { font-size: 0.95rem; }
  .contact_features { display: none; }
}

/* Compact Smartphones (≤420px) */
@media screen and (max-width: 420px) {
  .container { padding-inline: 0.85rem; }
  .nav_logo { font-size: 1.28rem; margin-right: auto; }
  .cart-trigger { width: 2.6rem; height: 2.6rem; font-size: 1.2rem; margin-right: 0.65rem; }

  /* Hero */
  .home_title { font-size: 2.05rem; text-align: center; margin-inline: auto; }
  .home_description { text-align: center; margin-inline: auto; }
  .home_pizza-wrapper { max-width: 250px; margin-inline: auto; }
  .home_badge { bottom: 2%; right: -2%; padding: 0.45rem 0.75rem; font-size: 0.78rem; }
  .home_stats { display: flex; justify-content: center; gap: 1.25rem; width: 100%; margin-inline: auto; }
  .home_stat strong { font-size: 1.25rem; }
  .home_stat span { font-size: 0.68rem; }

  /* Popular Section */
  .popular_img-wrap { width: min(205px, 58vw); height: min(205px, 58vw); margin-bottom: 1.45rem; }
  .popular_card.swiper-slide-active .popular_img {
    transform: scale(1.28);
  }
  .popular_card:not(.swiper-slide-active) .popular_img {
    transform: scale(0.76);
    opacity: 0.85;
  }
  .popular_stage-arch {
    width: calc(min(205px, 58vw) * 0.96);
    height: calc(min(205px, 58vw) * 0.96);
    top: calc(1.5rem + (min(205px, 58vw) - (min(205px, 58vw) * 0.96)) / 2);
  }
  .popular_info {
    margin-top: 0.25rem;
  }
  .popular_card.swiper-slide-active .popular_title { font-size: 1.2rem; }

  /* About Section */
  .about_image-wrap { width: min(300px, 85vw); height: min(300px, 85vw); }
  .about_img { max-width: 270px; }

  /* Recipe 1-col on small screen */
  .recipe_list { grid-template-columns: 1fr; gap: 1rem; }
  .recipe_ingredient { gap: 0.85rem; }
  .recipe_icon { width: 3rem; height: 3rem; font-size: 1.75rem; }

  /* Products 2-col compact */
  .products_container { gap: 0.75rem; }
  .products_card { border-radius: 80px 80px 14px 14px; }
  .products_img-wrap { padding: 0.85rem 0.5rem 0.5rem; border-radius: 80px 80px 18px 18px / 80px 80px 10px 10px; }
  .products_img { max-width: 105px; }
  .products_content { padding: 0.65rem 0.45rem 0.8rem; }
  .products_title { font-size: 0.88rem; }
  .products_description { display: none; }
  .products__rating > span { font-size: 0.72rem; }
  .products_price { font-size: 1.05rem; }
  .products_button { padding: 0.55rem 0.6rem; font-size: 0.75rem; gap: 0.3rem; }

  /* Contact */
  .contact_title { font-size: 1.8rem; }
  .contact_card { padding: 0.75rem 0.9rem; gap: 0.75rem; }
  .contact_card-icon { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
  .contact_card-label { font-size: 0.7rem; }
  .contact_card-val { font-size: 0.86rem; }
  .contact_card-action, .contact_card-link { width: 2rem; height: 2rem; font-size: 1rem; }
  .contact_agent-showcase { min-height: auto; gap: 0.65rem; }
  .contact_agent-halo { width: min(230px, 72vw); height: min(230px, 72vw); }
  .contact_agent-img { max-width: 210px; }
  .contact_badge--speed, .contact_badge--rating { padding: 0.45rem 0.75rem; font-size: 0.75rem; }

  /* Pizza Modal Customizations */
  .pizza-modal { padding: 0.5rem; }
  .pizza-modal__content { max-width: 95vw; max-height: 92vh; max-height: 92dvh; }
  .pizza-modal__image { padding: 0.75rem 0.75rem 0.35rem; }
  .pizza-modal__image img { max-width: 105px; }
  .pizza-modal__data { padding: 0.65rem 0.85rem 1rem; }
  .pizza-modal__title { font-size: 1.15rem; }
  .pizza-modal__description { font-size: 0.75rem; line-height: 1.3; margin-bottom: 0.35rem; }
  .pizza-modal__price { font-size: 1.25rem; margin-bottom: 0.4rem; }
  .customization-title { font-size: 0.74rem; margin-bottom: 0.3rem; }
  .customization-options { gap: 0.3rem; }
  .custom-option { padding: 0.35rem 0.2rem; }
  .custom-option__content strong { font-size: 0.74rem; }
  .custom-option__content small { font-size: 0.6rem; }
  .custom-option__price { font-size: 0.65rem; }
  .toppings-grid { grid-template-columns: 1fr; gap: 0.3rem; }
  .topping-option { padding: 0.35rem 0.55rem; }
  .pizza-modal__quantity { margin-top: 0.45rem; padding: 0.35rem 0.65rem; }
  .pizza-modal__add { margin-top: 0.55rem; padding: 0.7rem 1rem; font-size: 0.88rem; }

  /* Checkout */
  .delivery-options { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* Ultra-Compact Screens (≤360px, e.g. Galaxy Fold cover screen) */
@media screen and (max-width: 360px) {
  /* Popular Section */
  .popular_img-wrap { width: min(175px, 54vw); height: min(175px, 54vw); margin-bottom: 1.3rem; }
  .popular_card.swiper-slide-active .popular_img {
    transform: scale(1.26);
  }
  .popular_card:not(.swiper-slide-active) .popular_img {
    transform: scale(0.74);
    opacity: 0.85;
  }
  .popular_stage-arch {
    width: calc(min(175px, 54vw) * 0.95);
    height: calc(min(175px, 54vw) * 0.95);
    top: calc(1.5rem + (min(175px, 54vw) - (min(175px, 54vw) * 0.95)) / 2);
  }
  .popular_card.swiper-slide-active .popular_title { font-size: 1.08rem; }

  .products_container { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; max-width: 100%; }
  .products_card { border-radius: 65px 65px 12px 12px; }
  .products_img-wrap { padding: 0.65rem 0.35rem 0.35rem; }
  .products_img { max-width: 85px; }
  .products_content { padding: 0.5rem 0.35rem 0.65rem; }
  .products_title { font-size: 0.8rem; }
  .products_description { display: none; }
  .products_price { font-size: 0.95rem; }
  .products_button { padding: 0.45rem 0.5rem; font-size: 0.7rem; }
  .about_image-wrap { width: min(250px, 82vw); height: min(250px, 82vw); }
  .about_img { max-width: 225px; }
  .contact_agent-halo { width: min(190px, 68vw); height: min(190px, 68vw); }
  .cart-popover { width: calc(100vw - 1rem); right: 0.5rem; }
}

/* Landscape Mobile Devices (height ≤ 540px) */
@media screen and (max-height: 540px) and (orientation: landscape) {
  .section { padding: 2.75rem 0; }
  .home { min-height: auto; padding-top: calc(var(--header-height) + 1rem); padding-bottom: 2rem; }
  .home_pizza-wrapper { max-width: 190px; }
  .home_stats { margin-top: 1.25rem; }
  .about_image-wrap { max-width: 200px; }
  .about_circle-bg, .about_orbit-ring { width: 190px; height: 190px; }
  .contact_agent-showcase { min-height: 220px; }
  .contact_agent-img { max-width: 180px; }
  .pizza-modal__content { max-height: 94vh; max-height: 94dvh; grid-template-columns: 0.8fr 1.2fr; }
  .pizza-modal__image img { max-width: 120px; }
  .pizza-modal__data { padding: 1rem; }
  .checkout-modal__content { max-height: 94vh; max-height: 94dvh; padding: 1.25rem; }
}

/* Touch Device & Tap Optimizations */
@media (hover: none) and (pointer: coarse) {
  .button, .products_button, .cart-trigger, .cart-close, .pizza-modal__close, .checkout-modal__close {
    -webkit-tap-highlight-color: transparent;
  }
  .products_card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  .popular_card:hover {
    transform: none;
  }
  .contact_card:hover {
    transform: none;
  }
  .contact_card:active {
    transform: scale(0.98);
  }
  .products_button:active {
    transform: scale(0.97);
  }
}

/* Safe Area Insets for Modern Edge-to-Edge Displays & Notches */
@supports (padding: max(0px)) {
  .header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .footer {
    padding-bottom: max(1.5rem, calc(1rem + env(safe-area-inset-bottom)));
  }
}

@media screen and (max-width: 1024px) {
  @supports (padding: max(0px)) {
    .nav_menu {
      padding-top: max(5rem, calc(4rem + env(safe-area-inset-top)));
      padding-bottom: max(2.5rem, calc(1.5rem + env(safe-area-inset-bottom)));
    }
  }
}
