/* ===== Elegant Template ===== */

/* Catalog Hero */
.catalog-hero { padding: 120px 24px 40px; background: var(--bg); text-align: center; border-bottom: 1px solid var(--border); }
.catalog-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
.catalog-eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.catalog-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.btn-outline { background: transparent; border: 2px solid var(--secondary); color: var(--secondary); border-radius: var(--radius-full); font-weight: 600; }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.view-catalog-wrapper { text-align: center; margin-top: 48px; }
.view-catalog-btn { display: inline-block; padding: 14px 36px; font-size: 0.95rem; font-weight: 600; border-radius: var(--radius-full); transition: var(--transition); }
.view-catalog-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* 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; }
.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; }
.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 */
.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); } }

/* Products */
.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); }
.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; }

/* Product Page */
.product-detail-name { font-weight: 600; }
.product-detail-price { font-family: var(--font-heading); }
.product-detail-category { background: var(--accent-soft); color: var(--accent); }
.product-specs h3 { font-family: var(--font-heading); }
.related-products-grid .product-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.related-products-grid .product-card:hover { box-shadow: var(--shadow-lg); }
.related-products-grid .product-name { font-family: var(--font-heading); font-weight: 600; }
.related-products-grid .product-price { font-family: var(--font-heading); }
.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); }

/* 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; }
}
@media (max-width: 480px) {
  .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; }
}

/* ===== About Section ===== */
.elegant-about { padding: 100px 0; background: var(--accent-soft); }
.elegant-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.elegant-about-grid.no-images { grid-template-columns: 1fr; }
.elegant-about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 400px; margin: 0 auto; }
.elegant-about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.elegant-about-text .section-eyebrow { color: var(--accent); }
.elegant-about-text h2 { font-family: var(--font-heading); font-size: 2.5rem; margin: 0.5rem 0; }
.elegant-about-divider { width: 60px; height: 2px; background: var(--accent); margin: 1.5rem 0; }
.elegant-about-description { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); }
@media (max-width: 768px) { .elegant-about-grid { grid-template-columns: 1fr; } }