/* ===== Vibrant Template — Text-on-Image Cards ===== */

/* Catalog Hero */
.catalog-hero { padding: 120px 24px 40px; background: var(--bg); text-align: center; border-bottom: 3px solid var(--primary); }
.catalog-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--text); 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(--primary); color: var(--primary); border-radius: var(--radius-md); font-weight: 700; }
.btn-outline:hover { background: var(--primary); 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-md); transition: var(--transition); }
.view-catalog-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Navbar */
.vibrant-navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); border-bottom: 3px solid var(--primary); 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.2rem; 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-md); 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 */
.vibrant-hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--hero-bg); padding: 120px 24px 80px; position: relative; overflow: hidden; }
.vibrant-hero-content { position: relative; z-index: 2; max-width: 700px; }
.vibrant-hero h1 { font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 20px; }
.vibrant-hero h1 em { font-style: normal; color: var(--accent); text-shadow: 2px 2px 0 rgba(0,0,0,0.1); }
.vibrant-hero p { font-size: 1.2rem; color: #fff; margin-bottom: 40px; font-weight: 300; }
.vibrant-hero .btn-primary { background: var(--accent); color: var(--primary-dark); font-size: 1.1rem; padding: 18px 44px; border-radius: var(--radius-md); font-weight: 700; }
.vibrant-hero .btn-primary:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.hero-bg, .hero-scroll-indicator { display: none; }
.vibrant-badge { display: inline-block; background: var(--accent); color: var(--primary-dark); padding: 4px 14px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

/* Products — Text-on-Image Cards */
.products-section { padding: 80px 0 60px; }
.section-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); 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: 40px; }
.category-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.category-pill { padding: 10px 24px; border-radius: var(--radius-full); font-size: 0.85rem; 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(3, 1fr); gap: 16px; }
.product-card { border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); cursor: pointer; position: relative; }
.product-card.hidden { display: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); }

.product-image { position: relative; height: 380px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }


.product-category-tag { position: absolute; top: 16px; left: 16px; padding: 4px 12px; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); color: var(--text); border-radius: var(--radius-full); }

.product-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.product-desc { display: none; }
.product-price { font-size: 1.2rem; font-weight: 600; color: var(--accent); }

.product-add-btn { position: absolute; bottom: 24px; right: 24px; 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(8px); box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4); }
.product-card:hover .product-add-btn { opacity: 1; transform: translateY(0); }
.product-add-btn:hover { background: var(--accent); transform: scale(1.1) !important; }
.product-add-btn.added { background: var(--whatsapp); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }

.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 1.05rem; grid-column: 1 / -1; }
.no-results i { display: block; font-size: 2.5rem; margin-bottom: 16px; color: var(--text-light); }

/* How It Works — Color Blocks */
.how-it-works { padding: 80px 0; background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { text-align: center; padding: 40px 30px; border-radius: var(--radius-lg); transition: var(--transition); }
.step-card:nth-child(1) { background: var(--primary); color: #fff; }
.step-card:nth-child(2) { background: var(--secondary); color: #fff; }
.step-card:nth-child(3) { background: var(--accent); color: var(--primary-dark); }
.step-card:hover { transform: translateY(-4px); }
.step-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; opacity: 0.3; line-height: 1; margin-bottom: 16px; }
.step-icon { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.step-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.step-card:nth-child(1) h3 { color: #f5f5f5; }
.step-card:nth-child(2) h3 { color: #f5f5f5; }
.step-card:nth-child(3) h3 { color: #1A1A2E; }
.step-card:nth-child(1) p { color: #f5f5f5; }
.step-card:nth-child(2) p { color: #f5f5f5; }
.step-card:nth-child(3) p { color: #1A1A2E; }

/* Testimonials — Horizontal Scroll */
.testimonials { padding: 80px 0; }
.testimonials-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 4px 8px; }
.testimonials-grid::-webkit-scrollbar { display: none; }
.testimonial-card { flex: 0 0 340px; scroll-snap-align: start; background: var(--card); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--border-light); transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--accent); font-size: 0.8rem; margin-bottom: 16px; display: flex; gap: 3px; }
.testimonial-card blockquote { font-family: var(--font-heading); font-size: 0.95rem; font-style: italic; line-height: 1.6; color: var(--text-muted); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.testimonial-author strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.testimonial-author span { font-size: 0.75rem; color: var(--text-muted); }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.7); padding: 80px 0 0; }

/* Product Page */
.product-detail-name { font-size: 2.2rem; font-weight: 700; }
.product-detail-price { color: var(--accent); font-weight: 700; }
.product-detail-category { background: var(--accent-soft); color: var(--primary); }
.product-detail-actions .btn-primary { border-radius: var(--radius-md); }
.product-detail-actions .btn-whatsapp { border-radius: var(--radius-md); }
.gallery-main { border-radius: var(--radius-lg); }
.gallery-thumb { border-radius: var(--radius-sm); }
.related-products-grid .product-card { border-radius: var(--radius-lg); }
.related-products-grid .product-name { font-weight: 700; color: #fff; }
.related-products-grid .product-price { color: var(--accent); font-weight: 600; }
.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) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-image { height: 320px; }
  .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; }
  .vibrant-hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 260px; }
  .product-name { font-size: 1.1rem; }
  .product-price { font-size: 1rem; }
  .product-add-btn { opacity: 1; transform: translateY(0); width: 36px; height: 36px; font-size: 0.95rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 32px 24px; }
  .testimonial-card { flex: 0 0 280px; padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .search-wrapper.open input { width: 160px; }
  .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; }
  .vibrant-hero { padding: 100px 16px 60px; }
  .products-section { padding: 60px 0 40px; }
  .how-it-works, .testimonials { padding: 60px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 300px; }
  .product-name { font-size: 1.3rem; }
  .product-price { font-size: 1.15rem; }
  .category-filters { gap: 8px; }
  .category-pill { padding: 8px 16px; font-size: 0.8rem; }
  .product-category-tag { max-width: 150px; font-size: 0.4375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== About Section ===== */
.vibrant-about { padding: 100px 0; }
.vibrant-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.vibrant-about-grid.no-images { grid-template-columns: 1fr; }
.vibrant-about-image { border-radius: var(--radius-lg); overflow: hidden; }
.vibrant-about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.vibrant-about-text { padding: 1rem 0; }
.vibrant-about-text .section-eyebrow { color: var(--primary); }
.vibrant-about-text h2 { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; margin: 0.5rem 0 1rem; }
.vibrant-about-description { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 2rem; }
.vibrant-about-btn { border-radius: var(--radius-full); }
@media (max-width: 768px) { .vibrant-about-grid { grid-template-columns: 1fr; } }
