/* ===== CSS Custom Property Defaults ===== */
:root {
  --primary: #FF6B6B;
  --primary-light: #FF8E8E;
  --primary-dark: #E85555;
  --secondary: #2D3436;
  --secondary-light: #636E72;
  --accent: #FECA57;
  --accent-soft: #FFF3C4;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --border: #E8E8E8;
  --border-light: #F0F0F0;
  --text: #2D3436;
  --text-muted: #636E72;
  --text-light: #B2BEC3;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --hero-bg: linear-gradient(135deg, #FF6B6B 0%, #A855F7 50%, #6366F1 100%);
  --product-img-height: 280px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; font-size: inherit; }
input { border: none; outline: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3px; transition: var(--transition); cursor: pointer; }
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; width: 100%; justify-content: center; padding: 16px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 184, 148, 0.35); }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid transparent; transition: var(--transition); }
.navbar.scrolled { border-bottom-color: var(--border-light); box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; color: var(--secondary); display: flex; align-items: center; gap: 6px; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); font-size: 1.2rem; font-style: italic; flex-shrink: 0; }
.logo-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; line-height: 1.2; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); border-radius: 2px; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.search-wrapper { position: relative; display: flex; align-items: center; }
.search-wrapper input { width: 0; padding: 0; border-radius: var(--radius-full); background: var(--border-light); font-size: 0.88rem; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1); color: var(--text); }
.search-wrapper.open input { width: 200px; padding: 10px 40px 10px 16px; }
.search-icon { position: absolute; right: 4px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); cursor: pointer; transition: var(--transition); z-index: 2; }
.search-icon:hover { color: var(--primary); }
.cart-toggle { position: relative; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); transition: var(--transition); font-size: 1.1rem; }
.cart-toggle:hover { background: var(--border-light); color: var(--text); }
.cart-badge { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; background: var(--primary); color: #fff; font-size: 0.65rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0); transition: var(--transition); }
.cart-badge.visible { opacity: 1; transform: scale(1); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; }
.menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.promo-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 998; padding: 10px 0; text-align: center; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px; overflow: hidden; }
.promo-banner.scrolling .promo-banner-text { display: inline-block; white-space: nowrap; animation: marquee 15s linear infinite; }
.promo-banner-text { display: inline-block; padding: 0 24px; }
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }
body.has-promo-banner .navbar { top: 42px; }
body.has-promo-banner .mobile-nav { top: 114px; }
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 120px 24px 80px; }
.hero-bg { position: absolute; inset: 0; background: var(--hero-bg); z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%); }
.hero-bg::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to top, var(--bg), transparent); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }
.hero-title { font-family: var(--font-heading); font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-subtitle { font-size: 1.15rem; color: rgba(255, 255, 255, 0.85); line-height: 1.7; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; font-weight: 300; }
.hero .btn-primary { background: #fff; color: var(--secondary); font-size: 1rem; padding: 16px 40px; }
.hero .btn-primary:hover { background: var(--accent); color: var(--secondary); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); }
.hero-scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, 0.6); font-size: 1.2rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== Section Headers ===== */
.section-eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: var(--secondary); }
.section-header { text-align: center; margin-bottom: 50px; }

/* ===== Products Section ===== */
.products-section { padding: 100px 0 80px; }
.category-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.category-pill { padding: 10px 24px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 500; color: var(--text-muted); background: var(--card); border: 1.5px solid var(--border); transition: var(--transition); }
.category-pill:hover { border-color: var(--primary); color: var(--primary); }
.category-pill.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.product-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; opacity: 1; transform: translateY(0); }
.product-card.hidden { display: none; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-image { position: relative; height: var(--product-img-height); overflow: hidden; background: var(--border-light); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-category-tag { position: absolute; top: 16px; left: 16px; padding: 5px 14px; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); color: var(--text-muted); }
.product-add-btn { position: absolute; bottom: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); opacity: 0; transform: translateY(10px); box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
.product-card:hover .product-add-btn { opacity: 1; transform: translateY(0); }
.product-add-btn:hover { background: var(--primary-dark); transform: scale(1.1) !important; }
.product-add-btn.added { background: var(--whatsapp); box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4); }
.product-info { padding: 22px 24px 26px; }
.product-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; color: var(--secondary); }
.product-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 40%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.product-overlay-info { color: #fff; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 1.05rem; }
.no-results i { display: block; font-size: 2.5rem; margin-bottom: 16px; color: var(--text-light); }

/* ===== How It Works ===== */
.how-it-works { padding: 100px 0; background: var(--card); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step-card { text-align: center; padding: 40px 30px; border-radius: var(--radius-lg); position: relative; transition: var(--transition); }
.step-card:hover { background: var(--bg); }
.step-number { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 20px; transition: var(--transition); }
.step-card:hover .step-number { color: var(--primary-light); }
.step-icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; }
.step-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; color: var(--secondary); }
.step-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--card); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border-light); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 20px; display: flex; gap: 3px; }
.testimonial-card blockquote { font-family: var(--font-heading); font-size: 1.05rem; font-style: italic; line-height: 1.7; color: var(--secondary-light); margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.testimonial-author strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--secondary); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== Footer ===== */
.footer { background: var(--secondary); color: rgba(255, 255, 255, 0.7); padding: 80px 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-mark { background: var(--primary); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0; text-align: center; font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }

/* ===== Powered By Badge ===== */
.powered-by-badge {
  position: fixed;
  bottom: 4px;
  right: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  background: #0a0a0a;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border-radius: 999px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.2s ease;
}
.powered-by-badge.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.powered-by-badge:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.powered-by-badge strong { font-weight: 700; }
@media (max-width: 768px) {
  .powered-by-badge { bottom: 2px; right: 10px; font-size: 0.72rem; padding: 6px 14px; }
}

/* ===== Cart Sidebar ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 420px; max-width: 100vw; height: 100vh; background: var(--card); z-index: 2001; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-xl); }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--border-light); }
.cart-header h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--secondary); }
.cart-close { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); font-size: 1.1rem; }
.cart-close:hover { background: var(--border-light); color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 28px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-light); text-align: center; }
.cart-empty i { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.cart-empty p { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.cart-empty span { font-size: 0.88rem; }
.cart-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-light); animation: fadeInUp 0.3s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.cart-item-image { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--secondary); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 0; }
.qty-btn { width: 30px; height: 30px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--text-muted); transition: var(--transition); }
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-value { width: 36px; text-align: center; font-weight: 600; font-size: 0.9rem; }
.cart-item-remove { align-self: flex-start; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.75rem; transition: var(--transition); flex-shrink: 0; }
.cart-item-remove:hover { background: #ffeaea; color: var(--primary); }
.cart-footer { padding: 20px 28px 28px; border-top: 1px solid var(--border-light); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cart-total span { font-size: 0.95rem; color: var(--text-muted); }
.cart-total strong { font-family: var(--font-heading); font-size: 1.5rem; color: var(--secondary); }

/* ===== Product Detail Modal ===== */
.product-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(6px); z-index: 2500; opacity: 0; visibility: hidden; transition: var(--transition); }
.product-modal-overlay.open { opacity: 1; visibility: visible; }
.product-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.92); width: 90%; max-width: 900px; max-height: 90vh; background: var(--card); border-radius: var(--radius-lg); z-index: 2501; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease; box-shadow: var(--shadow-xl); }
.product-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.product-modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-muted); z-index: 2; transition: var(--transition); box-shadow: var(--shadow-sm); }
.product-modal-close:hover { background: var(--card); color: var(--text); box-shadow: var(--shadow-md); }
.product-modal-image { position: relative; overflow: hidden; background: var(--border-light); min-height: 400px; }
.product-modal-image img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-info { padding: 40px 36px; overflow-y: auto; display: flex; flex-direction: column; }
.product-modal-category { font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.product-modal-name { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 600; color: var(--secondary); line-height: 1.2; margin-bottom: 14px; }
.product-modal-price { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.product-modal-desc { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 24px; }
.product-modal-features { list-style: none; margin-bottom: 30px; }
.product-modal-features li { position: relative; padding-left: 24px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.product-modal-features li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.product-modal-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.product-modal-add { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; border-radius: var(--radius-md); }
.product-modal-add:hover { background: var(--primary); }
.product-modal-whatsapp { width: 100%; justify-content: center; padding: 14px; font-size: 0.95rem; border-radius: var(--radius-md); }

/* ===== Toast ===== */
.toast-container { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--secondary); color: #fff; padding: 14px 24px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 500; box-shadow: var(--shadow-lg); animation: toastIn 0.4s ease, toastOut 0.4s ease 2.2s forwards; display: flex; align-items: center; gap: 10px; white-space: nowrap; pointer-events: auto; }
.toast i { color: var(--whatsapp); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }

/* ===== FAB WhatsApp ===== */
.fab-whatsapp { position: fixed; bottom: 56px; right: 28px; width: 60px; height: 60px; background: var(--whatsapp); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 6px 24px rgba(0, 184, 148, 0.4); z-index: 999; transition: var(--transition); animation: pulse 3s infinite; }
.fab-whatsapp:hover { background: var(--whatsapp-dark); transform: scale(1.1); box-shadow: 0 8px 30px rgba(0, 184, 148, 0.5); animation: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 24px rgba(0, 184, 148, 0.4); } 50% { box-shadow: 0 6px 24px rgba(0, 184, 148, 0.4), 0 0 0 12px rgba(0, 184, 148, 0.1); } }

/* ===== Scroll Animations ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Landing Page ===== */
.landing-page { min-height: 100vh; display: flex; flex-direction: column; }
.landing-hero { background: #FF6B6B; padding: 100px 24px 60px; text-align: center; }
.landing-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; margin-bottom: 16px; }
.landing-hero p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 600px; margin: 0 auto; }
.templates-section { padding: 80px 24px; flex: 1; }
.templates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; max-width: 1200px; margin: 0 auto; }
.template-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); text-decoration: none; color: inherit; display: block; }
.template-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.template-preview { height: 240px; overflow: hidden; background: var(--border-light); }
.template-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.template-card:hover .template-preview img { transform: scale(1.05); }
.template-info { padding: 28px; }
.template-info h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--secondary); margin-bottom: 8px; }
.template-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.template-btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius-full); background: var(--primary); color: #fff; font-size: 0.88rem; font-weight: 600; transition: var(--transition); }
.template-btn:hover { background: var(--primary-dark); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--card); flex-direction: column; padding: 24px; gap: 0; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--border-light); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; width: 100%; padding: 14px 0; }
  .menu-toggle { display: flex; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .steps-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .search-wrapper.open input { width: 160px; }
  .templates-grid { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100vw; }
  .product-modal { grid-template-columns: 1fr; width: 95%; max-height: 90vh; overflow-y: auto; }
  .product-modal-image { height: 260px; min-height: auto; }
  .product-modal-info { padding: 28px 24px; }
  .product-modal-name { font-size: 1.4rem; }
  .product-modal-price { font-size: 1.6rem; }
  .fab-whatsapp { bottom: 44px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 100px 16px 60px; }
  .products-section { padding: 70px 0 60px; }
  .how-it-works, .testimonials { padding: 70px 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-image { height: 200px; }
  .product-info { padding: 14px 16px 18px; }
  .product-name { font-size: 0.95rem; }
  .product-desc { display: none; }
  .product-add-btn { opacity: 1; transform: translateY(0); width: 36px; height: 36px; font-size: 0.95rem; }
  .category-filters { gap: 8px; }
  .category-pill { padding: 8px 18px; font-size: 0.82rem; }
  .product-category-tag { max-width: 150px; font-size: 0.4375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== Order Modal ===== */
.order-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.order-overlay.active { opacity: 1; pointer-events: auto; }

.order-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--card, #fff);
  border-radius: var(--radius-lg, 16px);
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  padding: 28px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.order-modal.active { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.order-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.order-modal-header h3 {
  font-family: var(--font-heading, inherit);
  font-size: 1.3rem;
  color: var(--text, #1a1a2e);
  margin: 0;
}
.order-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted, #666);
  padding: 4px 8px;
}

.order-field {
  margin-bottom: 16px;
}
.order-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #1a1a2e);
  margin-bottom: 6px;
}
.order-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border, #e0e0e0);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.95rem;
  font-family: var(--font-body, inherit);
  background: var(--bg, #fafafa);
  color: var(--text, #1a1a2e);
  box-sizing: border-box;
}
.order-field input:focus {
  outline: none;
  border-color: var(--primary, #6c5ce7);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.order-altcha {
  margin-bottom: 16px;
  min-height: 50px;
}

.order-summary {
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg, #fafafa);
  border-radius: var(--radius-sm, 8px);
}
.order-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted, #666);
  padding: 4px 0;
}
.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #1a1a2e);
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--border, #e0e0e0);
}

.order-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm, 8px);
  cursor: pointer;
  background: var(--primary, #6c5ce7);
  color: #fff;
  transition: opacity 0.2s;
}
.order-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.order-submit-btn:hover:not(:disabled) {
  opacity: 0.9;
}

.order-notice {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light, #999);
  margin-top: 10px;
}

@media (max-width: 480px) {
  .order-modal { padding: 20px 16px; max-width: 100%; width: 95%; }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb-sep {
  margin: 0 8px;
  color: var(--border);
}

/* ===== Product Page ===== */
.product-page {
  padding: 40px 0 60px;
}
.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .product-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 20px;
}
.gallery-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 1 / 1;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--card);
  padding: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.active {
  border-color: var(--primary);
}

/* Info Panel */
.product-info-panel {
  padding: 0;
}
.product-detail-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.product-detail-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.2;
}
.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 20px;
}
.product-detail-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Tags */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.product-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* Specs */
.product-specs {
  margin-bottom: 24px;
}
.product-specs h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}
.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.product-specs-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
}
.product-specs-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 40%;
}
.product-specs-table td:last-child {
  color: var(--text-muted);
}

/* Actions */
.product-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.product-detail-actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

/* View Details Link */
.product-detail-link {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2px 10px;
  border-radius: var(--radius-md);
  text-decoration: none;
  z-index: 2;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  font-family: var(--font-body);
  line-height: 1.4;
}
.product-detail-link:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Related Products */
.related-products-section {
  padding: 48px 0 60px;
  border-top: 1px solid var(--border-light);
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .related-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-gallery { position: static; }
  .product-detail-name { font-size: 1.5rem; }
  .product-detail-price { font-size: 1.25rem; }
}