@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@400;700;900&display=swap');

:root {
  /* Color Palette */
  --color-chocolate-dark: #3D1E0B;
  --color-chocolate-medium: #5D2E17;
  --color-gold: #D4AF37;
  --color-gold-light: #F1D592;
  --color-off-white: #FFFDD0;
  --color-mint: #E0F2F1;
  --color-accent-pink: #F8BBD0;
  --color-text-main: #2C1810;
  --color-text-muted: #5D4037;
  
  /* Gradientes */
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F1D592 50%, #D4AF37 100%);
  --gradient-chocolate: linear-gradient(135deg, #3D1E0B 0%, #5D2E17 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-accent: 'Lato', sans-serif;

  /* Spacing & Borders */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-off-white);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-secondary);
  font-weight: 900;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Reusable Components/Utilities */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-chocolate-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Navigation & Cart Trigger */
.cart-trigger {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  padding: 5px 15px;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.cart-trigger:hover {
  background: rgba(255,255,255,0.2);
}

.cart-icon {
  font-size: 1.2rem;
}

.cart-count {
  background: var(--color-gold);
  color: var(--color-chocolate-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  color: var(--color-chocolate-dark);
  position: relative;
}

.section-padding {
  padding: var(--spacing-lg) 0;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(61, 30, 11, 0.8);
  backdrop-filter: blur(10px);
  padding: var(--spacing-sm) 0;
  color: var(--color-off-white);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo span {
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

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

.nav-link.close-modal-btn:hover {
    color: var(--primary-color);
}

/* --- ESTILO NUBANK PARA O PIX MODAL --- */
:root {
    --nu-purple: #820AD1;
    --nu-purple-dark: #6D09B1;
    --nu-bg: #FFFFFF;
    --nu-text-main: #111111;
    --nu-text-muted: #767676;
    --nu-input-line: #E5E5E5;
    --nu-success: #1FB334;
}

.nu-app-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 24px;
    font-family: 'Inter', sans-serif;
    color: var(--nu-text-main);
}

.nu-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--nu-text-main);
    text-align: left;
}

.nu-subtitle {
    font-size: 16px;
    color: var(--nu-text-muted);
    margin-bottom: 40px;
    text-align: left;
}

.nu-qr-card {
    background: #F5F5F5;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.nu-qr-card img, .nu-qr-card canvas {
    width: 220px;
    height: 220px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.nu-copy-box {
    width: 100%;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 16px;
    font-size: 13px;
    color: var(--nu-text-muted);
    word-break: break-all;
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid #EDEDED;
}

.nu-footer {
    margin-top: auto;
    padding-top: 10px;
}

.btn-nu {
    width: 100%;
    height: 56px;
    background-color: var(--nu-purple);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    margin-bottom: 15px;
}

.btn-nu:hover {
    background-color: var(--nu-purple-dark);
}

.btn-nu:disabled {
    background-color: #F5F5F5;
    color: #BBBBBB;
    cursor: not-allowed;
}

.btn-nu-status {
    width: 100%;
    height: 56px;
    background-color: transparent;
    color: var(--nu-text-main);
    border: 1px solid var(--nu-input-line);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.btn-nu-status:hover {
    background-color: #F5F5F5;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url('../assets/hero_egg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(61,30,11,0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-off-white);
}

/* Product Section */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.product-card {
  background: #fff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.product-card.featured {
  border: 2px solid var(--color-gold);
  background: linear-gradient(to bottom, #fff, var(--color-mint));
  position: relative;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-gold);
  color: var(--color-chocolate-dark);
  padding: 5px 15px;
  font-weight: 700;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 2;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1.1rem;
  margin-right: 10px;
}

.price.highlight {
  color: #e67e22;
  font-size: 1.8rem;
}

.product-img {
  height: 250px;
  overflow: hidden;
}

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

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

.product-info {
  padding: var(--spacing-md);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--color-chocolate-dark);
}

.product-info p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-chocolate-medium);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.btn-add {
  background: var(--color-chocolate-dark);
  color: #fff;
  width: 100%;
  margin-top: auto;
}

.btn-add:hover {
  background: var(--color-gold);
}

/* Promotions */
.promotions {
  background: var(--color-chocolate-dark);
  color: #fff;
}

.promotion-banner {
  text-align: center;
  background: var(--gradient-chocolate);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.1);
  border: 1px solid var(--color-gold);
}

.promo-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-gold);
}

.promo-highlight {
  margin-bottom: var(--spacing-lg);
}

.promo-highlight h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.countdown-item {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  min-width: 100px;
  border-bottom: 4px solid var(--color-gold);
}

.countdown-item span {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-secondary);
}

/* About Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.img-placeholder {
  width: 100%;
  height: 400px;
  background: var(--gradient-chocolate);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  text-transform: uppercase;
  border: 2px dashed var(--color-gold);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
}

.contact-form {
  display: grid;
  gap: var(--spacing-sm);
}

.contact-form input, .contact-form textarea {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid #ddd;
  font-family: var(--font-primary);
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  background: var(--color-chocolate-dark);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-sm);
}

/* Footer */
.main-footer {
  background: var(--color-chocolate-dark);
  color: #fff;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.footer-content h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  margin-top: var(--spacing-md);
  color: #aaa;
  font-size: 0.9rem;
}

/* ============================================
   CHECKOUT MODAL - DESIGN PREMIUM
   ============================================ */

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

.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
  animation: fadeInUp 0.35s ease;
}

/* --- Modal Base --- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 5, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fdfaf7;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  scrollbar-width: thin;
}

.modal-content::-webkit-scrollbar { width: 4px; }
.modal-content::-webkit-scrollbar-thumb { background: var(--color-gold-light); border-radius: 10px; }

.modal-content h2 {
  font-size: 1.6rem;
  color: var(--color-chocolate-dark);
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f0ece6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-chocolate-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.close-modal:hover { background: #e0d9d0; }

/* --- Progress Bar With Steps --- */
.checkout-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.progress-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8e0d5;
  color: #aaa;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all 0.3s ease;
  border: 2px solid #e8e0d5;
}

.progress-step.done .progress-step-dot {
  background: var(--color-chocolate-dark);
  border-color: var(--color-chocolate-dark);
  color: #fff;
}
.progress-step.active .progress-step-dot {
  background: var(--gradient-gold);
  border-color: var(--color-gold);
  color: var(--color-chocolate-dark);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.25);
}

.progress-step-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
  color: #aaa;
  white-space: nowrap;
}

.progress-step.active .progress-step-label,
.progress-step.done .progress-step-label {
  color: var(--color-chocolate-medium);
}

.progress-step-line {
  flex: 1;
  height: 2px;
  background: #e8e0d5;
  margin-top: -28px;
  transition: background 0.4s ease;
}

.progress-step-line.filled {
  background: var(--color-gold);
}

/* --- Section Headers --- */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

/* --- Premium Input Fields --- */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.field-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-wrap label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 6px;
}

.field-wrap input,
.field-wrap select {
  padding: 0.85rem 1rem;
  border: 1.5px solid #e0d9d0;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text-main);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.field-wrap input:focus,
.field-wrap select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.field-wrap input::placeholder { color: #bbb; }

/* --- Payment Cards --- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-card {
  position: relative;
  cursor: pointer;
}

.payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-card-face {
  border: 2px solid #e8e0d5;
  border-radius: 12px;
  padding: 1rem 0.5rem;
  text-align: center;
  transition: all 0.25s ease;
  background: #fff;
}

.payment-card-face .pay-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

.payment-card-face .pay-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.payment-card-face .pay-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #27ae60;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.payment-card input:checked + .payment-card-face {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
  box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}

.payment-card input:checked + .payment-card-face .pay-label {
  color: var(--color-chocolate-dark);
}

/* --- Card Input Fields --- */
.card-fields-box {
  background: #fff;
  border: 1.5px solid #e0d9d0;
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.card-fields-box .field-group {
  margin-bottom: 0;
}

/* --- Summary Box --- */
.checkout-summary-box {
  background: #fff;
  border: 2.5px solid var(--color-chocolate-dark);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.summary-item-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
}

.summary-item-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-chocolate-dark);
}

.freight-row {
  border-bottom: none;
  margin-bottom: 1rem;
}

.freight-row .summary-item-value {
  color: #27ae60;
  text-transform: uppercase;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 1.25rem;
  border-top: 2.5px solid var(--color-chocolate-dark);
}

.total-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-total-row .summary-label {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-chocolate-dark);
}

.summary-total-row strong {
  font-family: var(--font-secondary);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-chocolate-dark);
  line-height: 1;
}

.summary-total-row .discount-badge {
  background: var(--color-chocolate-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

/* --- Step Action Buttons --- */
.step-actions {
  display: grid;
  gap: 0.75rem;
}

.step-actions.double {
  grid-template-columns: auto 1fr;
}

.btn-back {
  background: #f0ece6;
  color: var(--color-chocolate-medium);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-back:hover { background: #e4ddd5; }

/* --- Divider --- */
.step-divider {
  border: none;
  border-top: 1px solid #f0ece6;
  margin: 1.5rem 0;
}

/* --- Form Row Alias (keep for compatibility) --- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

/* --- Success Modal --- */
.success-content {
  text-align: center;
  padding: 1rem 0;
}

.success-icon { font-size: 4rem; margin-bottom: 1rem; }

.success-content h2 {
  font-size: 1.8rem;
  color: var(--color-chocolate-dark);
  margin-bottom: 0.5rem;
}

.success-content p {
  color: #666;
  margin-bottom: 0.5rem;
}

.order-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--color-chocolate-dark);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin: 1rem 0 1.5rem;
}

/* Utils */
.btn-full { width: 100%; }

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: var(--spacing-md);
  background: var(--color-chocolate-dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: var(--spacing-md);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.cart-item-price {
  font-weight: 600;
  color: var(--color-chocolate-medium);
}

.remove-item {
  color: #ee5253;
  cursor: pointer;
  font-size: 0.9rem;
}

.cart-footer {
  padding: var(--spacing-md);
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.btn-full {
  width: 100%;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.empty-msg {
  text-align: center;
  color: #999;
  margin-top: 2rem;
}

@media (max-width: 450px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}

/* ============================================
   COUPON CODE STYLES
   ============================================ */

/* --- Hero Promo Badge --- */
.hero-coupon-badge {
  display: inline-block;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #fff;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.hero-coupon-badge:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.hero-coupon-badge strong {
  color: var(--color-gold-light);
}

/* --- Coupon Box in Checkout --- */
.coupon-box {
  background: #fff;
  border: 1.5px dashed #ddd;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.3s ease;
}

.coupon-box:focus-within {
  border-color: var(--color-gold);
}

.coupon-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.coupon-tag { font-size: 1.1rem; }

.coupon-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.coupon-input-row {
  display: flex;
  gap: 0.6rem;
}

.coupon-input-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0d9d0;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--color-text-main);
  background: #fdfaf7;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coupon-input-row input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.coupon-input-row input:disabled {
  background: #f5f5f5;
  color: #888;
}

.btn-apply-coupon {
  background: var(--color-chocolate-dark);
  color: var(--color-gold-light);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-apply-coupon:hover:not(:disabled) {
  background: var(--color-chocolate-medium);
  transform: translateY(-1px);
}

.btn-apply-coupon:disabled {
  background: #27ae60;
  color: #fff;
  cursor: default;
}

/* --- Coupon Feedback Message --- */
.coupon-feedback {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 1rem;
}

.coupon-success { color: #27ae60; }
.coupon-error   { color: #e74c3c; }

/* --- Discount Badge in Summary Box --- */
.discount-badge {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   PIX KEY BOX
   ============================================ */
.pix-box {
  background: linear-gradient(135deg, #f0faf4 0%, #e8f5e9 100%);
  border: 1.5px solid #a5d6a7;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.3s ease;
}

.pix-box-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2e7d32;
  margin-bottom: 0.9rem;
}

.pix-key-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.pix-key-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  white-space: nowrap;
}

.pix-key-value {
  flex: 1;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #2e7d32;
  letter-spacing: 1px;
}

.btn-copy-pix {
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-copy-pix:hover {
  background: #1b5e20;
  transform: translateY(-1px);
}

.pix-instructions {
  font-size: 0.78rem;
  color: #558b2f;
  line-height: 1.5;
}

/* ========================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ======================================== */
@media (max-width: 900px) {
  .hero .hero-content {
    margin-top: 5rem;
    padding: 2rem;
  }
  .hero .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
  .nav-links {
    margin-left: 0;
    gap: 1rem;
    font-size: 0.9rem;
  }
  .hero .hero-content {
    margin-top: 6rem;
    padding: 1rem;
  }
  .hero .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  .hero .hero-content p {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .field-group-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .step-actions.double {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: 100%;
    right: -100%;
  }

  .modal-content {
    padding: 1.5rem;
    margin: 10% auto;
    width: 95%;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nu-app-container {
    padding: 15px;
  }

  .nu-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    flex-direction: column;
    padding: 0.5rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.85rem;
  }
  
  .hero .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero .hero-content p {
    font-size: 1rem;
  }

  .product-info h3 {
    font-size: 1.2rem;
  }

  .checkout-progress-wrapper {
    display: none;
  }

  .summary-total-row strong {
    font-size: 1.5rem;
  }
}


