﻿/* ============================================================
   DOM Dedé -- Design System & Global Styles
   Paleta: Vermelho #B83228 . Amarelo #F2BD55 . Creme #FFF3DF
           Marrom #38251D . Verde Oliva #596846
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,700&family=Nunito+Sans:wght@400;500;600;700&display=swap');

/* Tokens */
:root {
  --red:        #B83228;
  --red-dark:   #922620;
  --red-light:  #D44038;
  --yellow:     #F2BD55;
  --yellow-dark:#D4A030;
  --cream:      #FFF3DF;
  --cream-dark: #F5E6C8;
  --brown:      #38251D;
  --brown-light:#5C3D2E;
  --olive:      #596846;
  --olive-light:#7A8F63;
  --white:      #FFFFFF;
  --gray-light: #F0EDE8;
  --gray-mid:   #C8BEB4;
  --gray-dark:  #7A6E67;
  --font-title: 'Fraunces', Georgia, serif;
  --font-body:  'Nunito Sans', 'Segoe UI', sans-serif;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 9999px;
  --shadow-sm:  0 2px 8px rgba(56,37,29,0.08);
  --shadow-md:  0 4px 16px rgba(56,37,29,0.12);
  --shadow-lg:  0 8px 32px rgba(56,37,29,0.16);
  --transition: 180ms ease;
  --max-w:      1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--cream); color: var(--brown); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; color: var(--brown); }
h1 { font-size: clamp(36px, 6vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-size: 18px; }
p  { font-size: 17px; line-height: 1.65; }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section--red    { background: var(--red); color: var(--cream); }
.section--yellow { background: var(--yellow); color: var(--brown); }
.section--cream  { background: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }

.section-label { display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section--red .section-label { color: var(--yellow); }
.section--yellow .section-label { color: var(--red-dark); }
.section-title { margin-bottom: 16px; }
.section-title--center { text-align: center; }
.text-center { text-align: center; }
.text-red    { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-cream  { color: var(--cream); }

/* Notice bar */
#notice-bar { background: var(--brown); color: var(--cream); font-size: 14px; font-weight: 600; text-align: center; padding: 9px 16px; display: none; position: relative; z-index: 100; }
#notice-bar.open  { background: var(--olive); display: block; }
#notice-bar.closed { background: var(--brown); display: block; }

/* Awning */
.awning-bar { height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0px, var(--red) 12px, var(--cream) 12px, var(--cream) 24px); }

/* Header */
.site-header { background: var(--cream); border-bottom: 2px solid var(--cream-dark); position: sticky; top: 0; z-index: 200; box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.logo-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.logo-text {}
.logo-name { font-family: var(--font-title); font-size: 22px; font-weight: 700; color: var(--red); line-height: 1; }
.logo-slogan { font-size: 11px; color: var(--brown-light); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-size: 15px; font-weight: 600; color: var(--brown); padding: 8px 14px; border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition); }
.site-nav a:hover { background: var(--cream-dark); color: var(--red); }
.site-nav a.active { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition); white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 4px 14px rgba(184,50,40,.35); }
.btn-primary:disabled { background: var(--gray-mid); color: var(--gray-dark); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: transparent; color: var(--brown); border: 2px solid var(--brown); }
.btn-secondary:hover { background: var(--brown); color: var(--cream); }
.btn-outline-cream { background: transparent; color: var(--cream); border: 2px solid var(--cream); }
.btn-outline-cream:hover { background: var(--cream); color: var(--brown); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1EB858; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn-full { width: 100%; }

/* Cart btn */
.btn-cart { position: relative; background: transparent; color: var(--brown); border: 2px solid var(--cream-dark); border-radius: var(--radius-sm); min-height: 44px; padding: 0 14px; font-size: 20px; transition: border-color var(--transition), background var(--transition); }
.btn-cart:hover { border-color: var(--red); background: var(--cream-dark); }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--red); color: var(--cream); font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.cart-count.visible { display: flex; }

/* Hamburger */
.btn-hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 2px solid var(--cream-dark); background: transparent; transition: background var(--transition); }
.btn-hamburger:hover { background: var(--cream-dark); }
.btn-hamburger span { display: block; width: 22px; height: 2px; background: var(--brown); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* Mobile Nav */
.mobile-nav { display: none; position: fixed; top: 78px; left: 0; right: 0; background: var(--cream); border-bottom: 2px solid var(--cream-dark); z-index: 190; padding: 16px 24px; flex-direction: column; gap: 4px; box-shadow: var(--shadow-md); transform: translateY(-20px); opacity: 0; pointer-events: none; transition: transform 200ms ease, opacity 200ms ease; }
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav a { font-size: 17px; font-weight: 600; color: var(--brown); padding: 12px 8px; border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition); display: block; }
.mobile-nav a:hover { background: var(--cream-dark); color: var(--red); }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--cream); }
.hero-bg { position: absolute; inset: 0; background-image: url('../assets/pizza-hero.jpg'); background-size: cover; background-position: center 30%; opacity: .18; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 80px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--brown); font-size: 13px; font-weight: 700; letter-spacing: .08em; padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: 20px; text-transform: uppercase; }
.hero-title { margin-bottom: 20px; color: var(--brown); }
.hero-title span { color: var(--red); }
.hero-subtitle { font-size: 18px; color: var(--brown-light); margin-bottom: 32px; max-width: 420px; }
.hero-subtitle strong { color: var(--brown); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brown-light); }
.hero-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-seal { position: absolute; bottom: 20px; left: 20px; background: var(--yellow); color: var(--brown); font-family: var(--font-title); font-weight: 700; font-size: 13px; width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.3; box-shadow: 0 3px 12px rgba(56,37,29,.25); border: 3px solid var(--brown); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.step-card { text-align: center; padding: 32px 20px; background: var(--cream); border: 1.5px solid var(--cream-dark); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num { width: 52px; height: 52px; background: var(--red); color: var(--cream); font-family: var(--font-title); font-size: 22px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p  { font-size: 15px; color: var(--brown-light); }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.product-card { background: var(--white); border: 1.5px solid var(--cream-dark); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-img { aspect-ratio: 1/1; background: var(--cream-dark); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--gray-dark); padding: 16px; text-align: center; width: 100%; height: 100%; }
.product-img-placeholder .ph-icon { font-size: 40px; opacity: .3; }
.product-img-placeholder span { font-size: 13px; font-weight: 600; opacity: .6; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-size-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); background: rgba(89,104,70,.12); padding: 2px 8px; border-radius: var(--radius-full); margin-bottom: 8px; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.product-desc { font-size: 14px; color: var(--gray-dark); line-height: 1.5; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--cream-dark); }
.product-price { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: var(--red); }
.product-price--empty { font-size: 14px; color: var(--gray-dark); font-family: var(--font-body); font-weight: 600; }

/* Historia */
.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.historia-text-side p { color: var(--cream); opacity: .9; margin-bottom: 16px; }
.historia-text-side .section-label { color: var(--yellow); }
.historia-text-side h2 { color: var(--cream); margin-bottom: 24px; }
.timeline { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.timeline-item { display: flex; gap: 16px; align-items: flex-start; }
.timeline-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; margin-top: 5px; }
.timeline-content p { font-size: 15px; color: var(--cream); opacity: .85; margin: 0; }
.historia-card { background: var(--cream); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-md); }
.historia-card blockquote { font-family: var(--font-title); font-size: 20px; font-style: italic; color: var(--red); border-left: 4px solid var(--yellow); padding-left: 20px; margin-bottom: 20px; line-height: 1.5; }
.historia-card p { font-size: 15px; color: var(--brown-light); }

/* Entrega */
.entrega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.info-box { background: var(--cream); border: 1.5px solid var(--cream-dark); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.info-box h3 { font-size: 18px; color: var(--brown); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.bairros-list { display: flex; flex-direction: column; }
.bairro-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--cream-dark); font-size: 15px; }
.bairro-item:last-child { border-bottom: none; }
.bairro-taxa { font-weight: 700; color: var(--red); }
.bairros-empty { font-size: 15px; color: var(--gray-dark); text-align: center; padding: 16px; font-style: italic; }
.payment-list { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.payment-badge { display: flex; align-items: center; gap: 8px; background: var(--cream-dark); padding: 8px 16px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; color: var(--brown); }

/* Footer */
.site-footer { background: var(--brown); color: var(--cream); padding: 64px 0 0; }
.footer-contact { padding: 48px 0; border-bottom: 1px solid rgba(255,243,223,.12); }
.contact-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 48px; height: 48px; background: rgba(255,243,223,.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; font-weight: 600; }
.contact-value { font-size: 16px; font-weight: 700; color: var(--cream); }
.contact-value a { color: var(--yellow); }
.contact-value a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 48px 0; }
.footer-logo { font-family: var(--font-title); font-size: 28px; font-weight: 700; color: var(--cream); margin-bottom: 8px; }
.footer-tagline { font-size: 15px; opacity: .7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 40px; height: 40px; background: rgba(255,243,223,.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background var(--transition); color: var(--cream); text-decoration: none; }
.social-btn:hover { background: var(--red); }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--cream); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 15px; opacity: .7; transition: opacity var(--transition), color var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,243,223,.12); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; opacity: .5; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; opacity: .5; transition: opacity var(--transition); }
.footer-bottom-links a:hover { opacity: 1; }

/* WA Float */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 400; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 16px rgba(37,211,102,.45); transition: transform var(--transition), box-shadow var(--transition); text-decoration: none; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,.6); }
.wa-float-tooltip { position: absolute; right: 70px; background: var(--brown); color: var(--cream); font-size: 13px; font-weight: 600; white-space: nowrap; padding: 6px 12px; border-radius: var(--radius-sm); opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* Cart bar mobile */
.cart-bar-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--brown); color: var(--cream); padding: 12px 20px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 16px rgba(56,37,29,.2); }
.cart-bar-info { font-size: 15px; font-weight: 600; }
.cart-bar-total { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: var(--yellow); }

/* Cart Drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(56,37,29,.5); z-index: 450; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw; height: 100%; background: var(--cream); z-index: 500; display: flex; flex-direction: column; transition: right 200ms ease; box-shadow: var(--shadow-lg); }
.cart-drawer.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1.5px solid var(--cream-dark); }
.cart-header h3 { font-size: 20px; }
.btn-close-cart { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 2px solid var(--cream-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--brown); transition: background var(--transition); }
.btn-close-cart:hover { background: var(--cream-dark); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 16px; text-align: center; color: var(--gray-dark); }
.cart-empty-state .cart-empty-icon { font-size: 56px; opacity: .25; }
.cart-empty-state p { font-size: 16px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--cream-dark); align-items: flex-start; }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--cream-dark); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.cart-item-size { font-size: 12px; color: var(--gray-dark); margin-bottom: 8px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 30px; height: 30px; border: 1.5px solid var(--cream-dark); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--brown); transition: background var(--transition), border-color var(--transition); }
.qty-btn:hover { background: var(--cream-dark); border-color: var(--brown-light); }
.qty-value { font-size: 15px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-price { font-family: var(--font-title); font-size: 17px; font-weight: 700; color: var(--red); white-space: nowrap; }
.btn-remove-item { color: var(--gray-dark); font-size: 16px; padding: 4px; border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition); }
.btn-remove-item:hover { color: var(--red); background: rgba(184,50,40,.1); }
.cart-footer { padding: 20px 24px; border-top: 1.5px solid var(--cream-dark); background: var(--cream); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total-label { font-size: 16px; font-weight: 600; }
.cart-total-value { font-family: var(--font-title); font-size: 24px; font-weight: 700; color: var(--red); }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: flex-start; padding: 48px 0; }
.checkout-sticky { position: sticky; top: 90px; }
.form-section { background: var(--white); border: 1.5px solid var(--cream-dark); border-radius: var(--radius-md); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.form-section-title { font-size: 18px; font-weight: 700; color: var(--brown); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.form-section-num { width: 28px; height: 28px; background: var(--red); color: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--brown); }
.form-control { height: 48px; border: 1.5px solid var(--cream-dark); border-radius: var(--radius-sm); padding: 0 14px; font-size: 15px; font-family: var(--font-body); color: var(--brown); background: var(--cream); transition: border-color var(--transition), box-shadow var(--transition); width: 100%; }
.form-control:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,50,40,.12); }
.form-control.error { border-color: var(--red); }
select.form-control { appearance: none; padding-right: 36px; }
textarea.form-control { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.form-error { font-size: 13px; color: var(--red); margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-card { flex: 1; min-width: 120px; border: 2px solid var(--cream-dark); border-radius: var(--radius-sm); padding: 14px 18px; cursor: pointer; transition: border-color var(--transition), background var(--transition); display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.radio-card input { accent-color: var(--red); }
.radio-card.selected { border-color: var(--red); background: rgba(184,50,40,.06); }
.order-summary-card { background: var(--white); border: 1.5px solid var(--cream-dark); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.order-summary-header { background: var(--brown); color: var(--cream); padding: 16px 20px; font-size: 16px; font-weight: 700; }
.order-summary-items { padding: 16px 20px; }
.order-summary-item { display: flex; justify-content: space-between; font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--cream-dark); }
.order-summary-item:last-child { border-bottom: none; }
.order-summary-footer { padding: 16px 20px; background: var(--cream-dark); }
.order-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; }
.order-total-val { font-family: var(--font-title); font-size: 22px; color: var(--red); }

/* Historia page */
.historia-page-hero { background: var(--red); color: var(--cream); padding: 80px 0; text-align: center; }
.historia-page-hero h1 { color: var(--cream); margin-bottom: 16px; }
.historia-page-hero p { font-size: 18px; opacity: .85; max-width: 600px; margin: 0 auto; }
.historia-page-content { padding: 72px 24px; max-width: 760px; margin: 0 auto; }
.historia-page-content p { font-size: 17px; line-height: 1.8; margin-bottom: 24px; color: var(--brown-light); }
.historia-timeline-section { background: var(--cream-dark); padding: 64px 0; }
.historia-timeline-h { text-align: center; margin-bottom: 48px; }
.timeline-steps { display: flex; gap: 0; position: relative; justify-content: center; max-width: 700px; margin: 0 auto; }
.timeline-steps::before { content: ''; position: absolute; top: 26px; left: 15%; right: 15%; height: 2px; background: var(--brown-light); opacity: .2; z-index: 0; }
.timeline-step { flex: 1; text-align: center; position: relative; z-index: 1; max-width: 220px; padding: 0 12px; }
.timeline-step-dot { width: 52px; height: 52px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 20px; color: var(--cream); border: 3px solid var(--cream-dark); }
.timeline-step h4 { font-size: 15px; color: var(--brown); margin-bottom: 6px; }
.timeline-step p  { font-size: 13px; color: var(--gray-dark); }

/* Toast */
.toast-container { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--brown); color: var(--cream); padding: 12px 24px; border-radius: var(--radius-full); font-size: 15px; font-weight: 600; box-shadow: var(--shadow-md); animation: toastIn .2s ease; display: flex; align-items: center; gap: 10px; }
.toast--success { background: var(--olive); }
.toast--error   { background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--cream-dark) 0%, var(--cream) 50%, var(--cream-dark) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Confirmation page */
.confirm-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.confirm-card { background: var(--white); border: 1.5px solid var(--cream-dark); border-radius: var(--radius-lg); padding: 48px; max-width: 560px; width: 100%; text-align: center; box-shadow: var(--shadow-md); }
.confirm-icon { font-size: 64px; margin-bottom: 16px; }
.confirm-code { display: inline-block; background: var(--cream-dark); font-family: var(--font-title); font-size: 24px; font-weight: 700; color: var(--red); padding: 8px 24px; border-radius: var(--radius-sm); margin: 16px 0; letter-spacing: .08em; }
.confirm-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* 404 */
.page-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; gap: 16px; }
.page-404 .big-num { font-family: var(--font-title); font-size: 120px; font-weight: 900; color: var(--red); line-height: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .btn-hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding: 48px 0 80px; }
  .hero-img-wrap { order: -1; }
  .hero-badge { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .historia-grid { grid-template-columns: 1fr; }
  .entrega-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cart-drawer { width: 100%; right: -100%; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-sticky { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .cart-bar-mobile.visible { display: flex; }
  .wa-float { bottom: 80px; }
  .timeline-steps { flex-direction: column; align-items: center; gap: 24px; }
  .timeline-steps::before { display: none; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions .btn-lg { padding: 0 20px; font-size: 15px; }
}

/* Utilities */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-12 { gap: 12px; }
.divider { border: none; border-top: 1.5px solid var(--cream-dark); margin: 24px 0; }

@media print {
  .site-header, .site-footer, .wa-float, .cart-bar-mobile { display: none !important; }
}
