/* -------------------------------------------------
   GLOBAL RESET + BASE STYLES
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&family=Great+Vibes&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* -------------------------------------------------
   PAGE 1: INTRO (BITE INTO BETTER)
-------------------------------------------------- */
.hero {
  margin-top: 40px;
}

.logo {
  width: 280px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(255, 255, 255, 0.08);
  animation: scaleIn 0.8s ease-out;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-top: 30px;
  text-transform: uppercase;
  color: #fff;
  animation: slideUp 1s ease-out 0.3s both;
  background: linear-gradient(135deg, #fff, #00bfa5, #fff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideUp 1s ease-out 0.3s both, gradientShift 8s ease infinite;
}

@media (max-width: 768px) {
  .tagline {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .tagline {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    margin-top: 20px;
  }
}

.about {
  max-width: 700px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 0.85rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.6;
  animation: fadeIn 1s ease-out 0.5s both;
}

.about p {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .about {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 0.8rem;
  }
  
  .about p {
    margin-bottom: 10px;
  }
}

/* -------------------------------------------------
   PAGE 2: GUESS PAGE (EINSTEIN STYLE)
-------------------------------------------------- */
.container {
  max-width: 600px;
}

.title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  animation: slideUp 0.8s ease-out;
  text-transform: uppercase;
}

.subtitle {
  font-size: 0.85rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 40px;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.button-group .btn:nth-child(1) {
  animation: slideInLeft 0.6s ease-out 0.3s both;
}

.button-group .btn:nth-child(2) {
  animation: slideInLeft 0.6s ease-out 0.45s both;
}

.button-group .btn:nth-child(3) {
  animation: slideInLeft 0.6s ease-out 0.6s both;
}

.button-group .btn:nth-child(4) {
  animation: slideInLeft 0.6s ease-out 0.75s both;
}

/* Buttons (shared across all pages) */
.btn {
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn.teal {
  background: linear-gradient(135deg, #00bfa5, #009688);
  box-shadow: 0 6px 20px rgba(0, 191, 165, 0.4),
              0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn.teal:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 191, 165, 0.6),
              0 4px 12px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(0, 191, 165, 0.3);
  animation: none;
}

.btn.teal:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 191, 165, 0.4);
}

.btn.grey {
  background: rgba(255, 255, 255, 0.1);
  color: #666;
  cursor: not-allowed;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.icon {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* -------------------------------------------------
   PAGE 3: PRODUCT PAGE (BROWNIE ISSUES)
-------------------------------------------------- */
  /* ---------- PRODUCT PAGE (CLEAN & CENTERED) ---------- */
  .container {
  max-width: 600px;
}

  .product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 1.5px;
    animation: slideUp 0.8s ease-out;
    text-transform: uppercase;
  }

  .product-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
  }

  .cup-png {
    width: 280px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.08);
    animation: scaleIn 0.8s ease-out 0.3s both, float 3s ease-in-out 1s infinite;
    transition: transform 0.3s ease;
  }
  
  .cup-png:hover {
    transform: scale(1.08);
    animation: float 3s ease-in-out infinite;
  }

  .ingredients {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out 0.5s both;
  }

  .ingredients h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Product page button */
  .product-container .btn.teal {
    margin-top: 10px;
    max-width: 400px;
    width: 100%;
  }

  .btn.teal:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
  }

  /* Mobile optimization */
  @media (max-width: 480px) {
    .product-title {
      font-size: 2.3rem;
    }

    .choco-text {
      font-size: 3.2rem;
      letter-spacing: 2px;
    }

    .cup-img {
      width: 500px;
      margin-top: -250px;
    }

    .ingredients {
      font-size: 0.75rem;
      line-height: 1.5;
    }
    
    .ingredients h3 {
      font-size: 0.9rem;
    }
    
    .product-price h2 {
      font-size: 2rem;
    }
  }
/* ---------- ORDER FORM PAGE ---------- */
.order-container {
  text-align: center;
  margin-top: 60px;
  max-width: 650px;
  width: 90%;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
}

.order-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 40px;
  text-transform: uppercase;
  animation: slideUp 0.8s ease-out;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #e0e0e0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: rgba(255, 255, 255, 0.03);
  color: #fff;
  transition: all 0.3s ease;
}

.advance-order-notice {
  display: flex;
  gap: 15px;
  background: rgba(0, 191, 165, 0.1);
  border: 2px solid rgba(0, 191, 165, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  text-align: left;
  animation: fadeIn 0.8s ease-out;
}

.advance-order-notice strong {
  color: #00bfa5;
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.advance-order-notice p {
  color: #e0e0e0;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00bfa5;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.15);
  transform: translateY(-2px);
}

.btn.teal {
  width: 100%;
  padding: 16px;
  font-size: 1.15rem;
  border-radius: 50px;
  margin-top: 10px;
}

/* Section titles for toppings and fruits */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  margin-top: 30px;
  text-align: left;
}

.toppings-section,
.fruits-section {
  margin-bottom: 30px;
}

/* Checkbox group container */
.checkbox-group {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.checkbox-group:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 191, 165, 0.3);
  transform: translateX(5px);
}

/* Custom Checkbox styling */
.checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.checkbox-group label {
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  user-select: none;
  display: block;
}

.checkbox-group label h3 {
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0;
  cursor: pointer;
  transition: color 0.3s ease;
  display: inline-block;
}

/* Custom checkbox box */
.checkbox-group label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Checkmark */
.checkbox-group label::after {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%) scale(0) rotate(-10deg);
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Hover effect */
.checkbox-group:hover label::before {
  border-color: #00bfa5;
  background: rgba(0, 191, 165, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.checkbox-group:hover label h3 {
  color: #00bfa5;
}

/* Checked state */
.checkbox-group input[type="checkbox"]:checked + label::before {
  background: linear-gradient(135deg, #00bfa5, #009688);
  border-color: #00bfa5;
  box-shadow: 0 0 15px rgba(0, 191, 165, 0.4),
              inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.checkbox-group input[type="checkbox"]:checked + label::after {
  transform: translateY(-50%) scale(1) rotate(0deg);
}

.checkbox-group input[type="checkbox"]:checked + label h3 {
  color: #00bfa5;
  font-weight: 600;
}

/* Active/pressing state */
.checkbox-group:active label::before {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .checkbox-group {
    padding: 12px;
    margin-bottom: 12px;
  }
  
  .checkbox-group label h3 {
    font-size: 1rem;
  }
  
  .checkbox-group:hover {
    transform: translateX(3px);
  }
}

@media (max-width: 480px) {
  .order-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
  }
  
  .checkbox-group {
    padding: 10px;
  }
  
  .checkbox-group label {
    padding-left: 45px;
  }
  
  .checkbox-group label::before {
    width: 26px;
    height: 26px;
  }
  
  .checkbox-group label::after {
    left: 6px;
    font-size: 18px;
  }
}
/* -------------------------------------------------
   PAGE 5: SIGN UP PAGE
-------------------------------------------------- */
.signup-container {
  text-align: center;
  max-width: 450px;
  width: 90%;
  margin: 70px auto;
  padding: 40px 30px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 255, 204, 0.1);
  animation: scaleIn 0.8s ease-out;
}

.signup-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.signup-sub {
  color: #ccc;
  margin-bottom: 25px;
  font-size: 1rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.signup-form label {
  font-weight: 600;
  font-size: 1rem;
}

.signup-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 1rem;
  outline: none;
}


.signup-form input:focus {
  border: 1px solid #00bfa5;
  background-color: #151515;
}

.signup-login {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #bbb;
}

.signup-login a {
  color: #00bfa5;
  text-decoration: none;
}

.signup-login a:hover {
  text-decoration: underline;
}

/* Mobile optimization */
@media (max-width: 480px) {
  .signup-container {
    padding: 25px;
  }
  .signup-title {
    font-size: 1.8rem;
  }
} 

/* -------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  margin-top: 35px;
  margin-bottom: 50px;
  font-size: 0.9rem;
}

footer .btn {
  font-size: 1.3rem;
  padding: 18px 50px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(0, 191, 165, 0.4);
}

footer .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 191, 165, 0.6);
}

@media (max-width: 768px) {
  footer {
    margin-top: 25px;
  }
  
  footer .btn {
    font-size: 1.2rem;
    padding: 16px 45px;
  }
}

footer a {
  color: #00bfa5;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

/* -------------------------------------------------
   CART STYLES
-------------------------------------------------- */
.cart-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: none;
}

.cart-nav:active {
  cursor: grabbing;
}

.cart-icon {
  background: #fff;
  color: #000;
  border: 2px solid rgba(0, 0, 0, 0.1);
  padding: 14px 20px;
  border-radius: 50px;
  cursor: grab;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 
              0 4px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideInRight 0.6s ease-out;
}

.cart-nav:active .cart-icon {
  cursor: grabbing;
  transform: scale(0.95);
}

.cart-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
              0 5px 15px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 191, 165, 0.3);
}

/* Mobile optimization for cart icon */
@media (max-width: 768px) {
  .cart-nav {
    top: 15px;
    right: 15px;
  }
  
  .cart-icon {
    padding: 12px 16px;
    font-size: 1.1rem;
    gap: 6px;
  }
  
  .cart-count {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
}

/* Tax included note styling */
.tax-included-note {
  text-align: center;
  color: #00bfa5;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 10px;
  padding: 8px;
  background: rgba(0, 191, 165, 0.1);
  border-radius: 8px;
}

.tax-note {
  font-size: 0.6em;
  color: #00bfa5;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

.product-size {
  font-size: 1rem;
  color: #999;
  margin-top: 5px;
  font-weight: 400;
}

.cart-count {
  background: #ff5722;
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
  animation: bounceIn 0.5s ease-out;
  transition: transform 0.2s ease;
}

.cart-count:not(:empty) {
  animation: pulse 2s ease-in-out infinite;
}

.cart-container {
  max-width: 800px;
  width: 100%;
  margin: 20px auto;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: slideUp 0.8s ease-out;
}

.btn-link {
  color: #00bfa5;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.btn-link:hover {
  color: #fff;
}

.cart-items {
  margin-bottom: 30px;
}

.cart-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: slideInLeft 0.5s ease-out;
  transition: all 0.3s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 191, 165, 0.3);
  transform: translateX(5px);
}

.item-info {
  flex: 1;
  text-align: left;
  min-width: 200px;
}

.item-info h3 {
  margin-bottom: 5px;
  color: #00bfa5;
}

.item-description {
  font-size: 0.9rem;
  color: #aaa;
  margin: 5px 0;
}

.item-toppings {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 8px;
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 10px;
  border-radius: 25px;
}

.qty-btn {
  background: #006d6d;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  background: #009688;
  transform: scale(1.1);
}

.quantity {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00bfa5;
  min-width: 80px;
  text-align: right;
}

.remove-btn {
  background: rgba(255, 87, 34, 0.2);
  border: 1px solid #ff5722;
  color: #ff5722;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: #ff5722;
  color: white;
  transform: scale(1.1);
}

.empty-cart {
  padding: 60px 20px;
  text-align: center;
}

.empty-cart h2 {
  margin-bottom: 15px;
  color: #aaa;
}

.empty-cart p {
  color: #888;
  margin-bottom: 30px;
}

.cart-summary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  animation: fadeIn 0.8s ease-out;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}

.summary-row.total {
  font-size: 1.3rem;
  color: #00bfa5;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.cart-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cart-actions .btn {
  flex: 1;
  min-width: 150px;
}

/* -------------------------------------------------
   CHECKOUT STYLES
-------------------------------------------------- */
.checkout-container {
  max-width: 1000px;
  width: 100%;
  margin: 20px auto;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.checkout-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: slideUp 0.8s ease-out;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.checkout-left,
.checkout-right {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
}

.checkout-left h2,
.checkout-right h2 {
  margin-bottom: 20px;
  color: #00bfa5;
  font-size: 1.3rem;
}

.checkout-items {
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-details {
  flex: 1;
  text-align: left;
}

.checkout-item-details small {
  color: #aaa;
  font-size: 0.85rem;
}

.checkout-item-price {
  font-weight: 600;
  color: #00bfa5;
}

.checkout-summary {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

#card-element {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
}

#card-errors {
  color: #ff5722;
  margin-top: 8px;
  font-size: 0.9rem;
}

.test-card-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

.test-card-input::placeholder {
  color: #aaa;
}

.payment-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.payment-message.success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid #4caf50;
  color: #4caf50;
}

.payment-message.error {
  background: rgba(255, 87, 34, 0.2);
  border: 1px solid #ff5722;
  color: #ff5722;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.product-price {
  margin: 30px 0 40px 0;
  animation: bounceIn 0.8s ease-out 0.6s both;
}

.product-price h2 {
  color: #00bfa5;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

/* -------------------------------------------------
   PREMIUM ANIMATIONS
-------------------------------------------------- */

/* Entrance Animations */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(-15px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Continuous Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 191, 165, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 191, 165, 0.8);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* -------------------------------------------------
   MOBILE RESPONSIVENESS
-------------------------------------------------- */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .checkout-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cart-title {
    font-size: 2rem;
  }
  
  .checkout-title {
    font-size: 2rem;
  }
  
  .cart-item {
    padding: 15px;
  }
  
  .item-info {
    min-width: 100%;
  }
  
  .item-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  .cart-actions {
    flex-direction: column;
  }
  
  .cart-actions .btn {
    width: 100%;
    min-width: 100%;
  }
}

/* Mobile - iPhone 15 Pro and similar (480px and below) */
@media (max-width: 480px) {
  body {
    padding: 15px 10px;
  }
  
  .title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .product-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .choco-text {
    font-size: 3rem;
  }

  .cup-img {
    width: 150px;
    margin-top: -50px;
  }
  
  /* Cart Page Mobile Enhancements */
  .cart-container {
    margin: 10px auto;
    padding: 0 5px;
  }
  
  .cart-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  
  .cart-header {
    margin-bottom: 20px;
    gap: 10px;
  }
  
  .btn-link {
    font-size: 0.9rem;
  }
  
  .cart-item {
    padding: 15px 12px;
    margin-bottom: 12px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cart-item:hover {
    transform: none;
  }
  
  .item-info {
    width: 100%;
    min-width: 100%;
    margin-bottom: 10px;
  }
  
  .item-info h3 {
    font-size: 1.1rem;
  }
  
  .item-description {
    font-size: 0.85rem;
  }
  
  .item-toppings {
    font-size: 0.8rem;
  }
  
  .item-controls {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }
  
  .quantity-controls {
    padding: 8px 12px;
  }
  
  .qty-btn {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  
  .quantity {
    min-width: 35px;
    font-size: 1.1rem;
  }
  
  .item-price {
    font-size: 1.3rem;
    min-width: auto;
    order: -1;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
  }
  
  .remove-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .cart-summary {
    padding: 18px 15px;
    margin-bottom: 20px;
  }
  
  .summary-row {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .summary-row.total {
    font-size: 1.4rem;
    padding-top: 12px;
  }
  
  .cart-actions {
    gap: 12px;
  }
  
  .cart-actions .btn {
    padding: 16px 30px;
    font-size: 1rem;
  }
  
  /* Checkout Page Mobile Enhancements */
  .checkout-container {
    margin: 10px auto;
    padding: 0 5px;
  }
  
  .checkout-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  
  .checkout-header {
    margin-bottom: 20px;
  }
  
  .checkout-content {
    gap: 15px;
  }
  
  .checkout-left,
  .checkout-right {
    padding: 18px 15px;
    border-radius: 10px;
  }
  
  .checkout-left h2,
  .checkout-right h2 {
    font-size: 1.15rem;
    margin-bottom: 15px;
  }
  
  .checkout-item {
    padding: 10px 0;
    font-size: 0.9rem;
  }
  
  .checkout-item-details small {
    font-size: 0.8rem;
  }
  
  .checkout-item-price {
    font-size: 1rem;
  }
  
  .checkout-summary {
    padding: 12px;
  }
  
  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
  }
  
  #card-element {
    padding: 14px;
  }
  
  .btn.teal {
    padding: 16px 30px;
    font-size: 1rem;
    letter-spacing: 1px;
  }
  
  .payment-message {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  /* Empty cart mobile */
  .empty-cart {
    padding: 40px 15px;
  }
  
  .empty-cart h2 {
    font-size: 1.3rem;
  }
  
  .empty-cart p {
    font-size: 0.9rem;
  }
}

/* Extra small devices - iPhone SE and similar (375px and below) */
@media (max-width: 375px) {
  .cart-title,
  .checkout-title {
    font-size: 1.6rem;
  }
  
  .cart-item {
    padding: 12px 10px;
  }
  
  .item-info h3 {
    font-size: 1rem;
  }
  
  .qty-btn {
    width: 32px;
    height: 32px;
  }
  
  .checkout-left,
  .checkout-right {
    padding: 15px 12px;
  }
}