*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0F766E; --primary-dark: #0D5C56; --primary-light: #14B8A6;
  --accent: #F97316; --accent-dark: #EA580C;
  --success: #059669; --danger: #DC2626;
  --gray-100: #F1F5F9; --gray-200: #E2E8F0; --gray-300: #94A3B8;
  --gray-400: #64748B; --gray-500: #1E293B;
  --bg: #F8FAFC; --shadow: 0 1px 3px rgba(15,118,110,.08); --shadow-lg: 0 8px 24px rgba(15,118,110,.12);
  --radius: 8px; --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body { font-family: var(--font); background: var(--bg); color: var(--gray-500); line-height: 1.4; min-height: 100vh; }
a { color: var(--primary); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.header { position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.header-top { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 10px 0; }
.header-inner { display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.search-wrap { flex: 1; max-width: 600px; position: relative; }
.search-form { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; width: 100%; }
.search-form input { flex: 1; border: none; padding: 10px 16px; font-size: 16px; outline: none; }
.search-form button { background: var(--gray-100); border: none; padding: 0 14px; cursor: pointer; color: var(--gray-400); display: flex; align-items: center; }
.search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 150; max-height: 420px; overflow-y: auto; border: 1px solid var(--gray-200); }
.search-dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--gray-500); text-decoration: none; border-bottom: 1px solid var(--gray-100); cursor: pointer; }
.search-dropdown-item:hover, .search-dropdown-item.active { background: var(--gray-100); }
.search-dropdown-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: var(--gray-100); }
.search-dropdown-info { flex: 1; min-width: 0; }
.search-dropdown-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-dropdown-price { font-size: 16px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.search-dropdown-footer { display: block; padding: 12px 14px; text-align: center; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; }
.search-dropdown-footer:hover { background: var(--gray-100); }
.search-dropdown-empty { padding: 20px; text-align: center; color: var(--gray-400); font-size: 14px; }
.header-promo { font-size: 13px; color: rgba(255,255,255,.9); display: none; }
.header-whatsapp { display: none; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; padding: 8px 14px; background: #25D366; border-radius: 20px; text-decoration: none; }
.header-whatsapp:hover { background: #1ebe57; color: #fff; }
@media (min-width: 900px) { .header-promo, .header-whatsapp { display: flex; } }
.header-nav { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 8px 0; }
.nav-inner { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.nav-categories-btn { display: flex; align-items: center; gap: 6px; background: var(--gray-100); border: none; padding: 8px 12px; border-radius: var(--radius); cursor: pointer; font-size: 14px; color: var(--gray-500); }
.nav-categories-btn:hover { background: var(--gray-200); }
.nav-links { display: flex; gap: 16px; flex: 1; }
.nav-links a { color: var(--gray-500); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.nav-user { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-user a { color: var(--gray-500); font-size: 14px; }
.nav-cart { position: relative; display: flex; color: var(--gray-500); }
.cart-badge { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.categories-dropdown { display: none; position: absolute; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-lg); padding: 16px 0; z-index: 99; }
.categories-dropdown.open { display: block; }
.categories-grid { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.cat-link { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; color: var(--gray-500); font-size: 14px; }
.cat-link:hover { background: var(--gray-100); color: var(--primary); }
#app { min-height: 60vh; padding: 16px 0 32px; }
.banner-carousel { margin-bottom: 24px; border-radius: 16px; overflow: hidden; position: relative; height: 340px; background: var(--gray-200); width: 100%; box-shadow: 0 8px 32px rgba(15, 118, 110, 0.12); }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; pointer-events: none; overflow: hidden; }
.banner-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.banner-slide--orange { background: linear-gradient(125deg, #FF6B35 0%, #F97316 45%, #EA580C 100%); }
.banner-slide--teal { background: linear-gradient(125deg, #0D5C56 0%, #0F766E 50%, #14B8A6 100%); }
.banner-slide--indigo { background: linear-gradient(125deg, #3730A3 0%, #4F46E5 55%, #818CF8 100%); }
.banner-bg-shape {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, 0.07);
}
.banner-bg-shape--1 { width: 280px; height: 280px; top: -90px; right: 8%; }
.banner-bg-shape--2 { width: 160px; height: 160px; bottom: -50px; left: 35%; background: rgba(255, 255, 255, 0.05); }
.banner-inner {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 32px 40px 52px; gap: 28px; max-width: 1180px; margin: 0 auto;
}
.banner-content {
  flex: 0 0 44%; max-width: 440px; display: flex; flex-direction: column; justify-content: center;
}
.banner-tag {
  display: inline-block; width: fit-content; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(255,255,255,.95); margin-bottom: 12px;
  background: rgba(255,255,255,.18); padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
}
.banner-title {
  font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; color: #fff;
  line-height: 1.12; margin-bottom: 20px; text-shadow: 0 2px 16px rgba(0,0,0,.15);
}
.banner-cta {
  display: inline-flex; align-items: center; width: fit-content;
  background: #fff; color: #1E293B; font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s;
}
.banner-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.22); color: var(--primary); }
.banner-showcase { flex: 1; display: flex; justify-content: flex-end; min-width: 0; }
.banner-showcase-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  width: min(100%, 320px); padding: 14px;
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}
.banner-showcase-card {
  aspect-ratio: 1; background: #fff; border-radius: 14px; padding: 12px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: bannerCardIn .5s ease backwards;
  animation-delay: var(--delay, 0s);
}
.banner-slide.active .banner-showcase-card { animation-name: bannerCardIn; }
@keyframes bannerCardIn {
  from { opacity: 0; transform: translateY(12px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.banner-showcase-card:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.banner-showcase-card img { width: 100%; height: 100%; object-fit: contain; }
.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s, width .2s; }
.banner-dot.active { background: #fff; width: 28px; border-radius: 6px; transform: none; }
.banner-wrap { width: 100%; max-width: 1200px; margin: 0 auto 24px; padding: 0 16px; }
@media (max-width: 900px) {
  .banner-carousel { height: 440px; min-height: 440px; }
  .banner-inner { flex-direction: column; padding: 24px 20px 48px; text-align: center; }
  .banner-content { flex: none; max-width: 100%; align-items: center; }
  .banner-showcase { width: 100%; justify-content: center; }
  .banner-showcase-grid { width: min(100%, 280px); gap: 10px; padding: 12px; }
  .banner-title { font-size: 22px; margin-bottom: 14px; }
}
@media (max-width: 480px) {
  .banner-showcase-grid { width: 100%; max-width: 260px; }
  .banner-showcase-card { padding: 8px; border-radius: 10px; }
}
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; border-left: 4px solid var(--primary); }
.info-card h3 { font-size: 14px; font-weight: 600; }
.info-card p { font-size: 13px; color: var(--gray-400); }
.section { margin-bottom: 32px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-title { font-size: 24px; font-weight: 600; color: var(--gray-500); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; cursor: pointer; color: inherit; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--gray-200); }
.product-card-body { padding: 12px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.product-discount { font-size: 12px; color: var(--accent); font-weight: 600; }
.product-price { font-size: 24px; margin-bottom: 2px; color: var(--gray-500); }
.product-price-original { font-size: 13px; color: var(--gray-300); text-decoration: line-through; }
.product-installments { font-size: 13px; color: var(--success); margin-bottom: 8px; }
.product-shipping { font-size: 13px; color: var(--success); font-weight: 600; }
.product-name { font-size: 14px; color: var(--gray-400); margin-top: auto; line-height: 1.3; }
.categories-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin-bottom: 32px; }
.category-chip { background: #fff; border-radius: var(--radius); padding: 16px 8px; text-align: center; box-shadow: var(--shadow); cursor: pointer; color: var(--gray-500); }
.category-chip:hover { box-shadow: var(--shadow-lg); color: var(--primary); border: 1px solid var(--primary-light); }
.category-chip-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.category-chip-name { font-size: 12px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail-img { width: 100%; border-radius: var(--radius); object-fit: contain; background: var(--gray-100); }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-main { background: var(--gray-100); border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.product-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.product-gallery-thumb { border: 2px solid transparent; border-radius: 6px; padding: 0; background: #fff; cursor: pointer; width: 64px; height: 64px; overflow: hidden; flex-shrink: 0; }
.product-gallery-thumb.active { border-color: var(--primary); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-info h1 { font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.product-detail-price { font-size: 36px; margin-bottom: 4px; color: var(--primary); }
.product-detail-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.qty-selector { display: flex; align-items: center; gap: 8px; }
.qty-selector button { width: 36px; height: 36px; border: 1px solid var(--gray-200); background: #fff; border-radius: 4px; cursor: pointer; font-size: 18px; }
.qty-selector input { width: 50px; text-align: center; border: 1px solid var(--gray-200); border-radius: 4px; padding: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: rgba(15,118,110,.1); color: var(--primary); }
.btn-secondary:hover { background: rgba(15,118,110,.18); }
.btn-full { width: 100%; }
.btn-green { background: var(--success); color: #fff; }
.btn-green:hover { background: #047857; color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.form-page { max-width: 480px; margin: 32px auto; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-page h1 { font-size: 24px; font-weight: 600; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 16px; font-family: inherit; outline: none; }
.form-group input:focus { border-color: var(--primary); }
.form-group select:focus { border-color: var(--primary); outline: none; }
.form-footer { text-align: center; margin-top: 16px; font-size: 14px; color: var(--gray-400); }
.form-error { color: var(--danger); font-size: 14px; margin-bottom: 12px; text-align: center; }
.form-success { color: var(--success); font-size: 14px; margin-bottom: 12px; text-align: center; }
.legal-content { max-width: 720px; margin: 0 auto; line-height: 1.7; color: #444; }
.legal-content h2 { font-size: 18px; margin: 24px 0 8px; color: #222; }
.legal-content p { margin-bottom: 12px; }
.reviews-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.review-card { background: var(--gray-100); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.review-stars { color: #f5a623; letter-spacing: 1px; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input { flex: 1; }
.cart-page, .checkout-page { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
@media (max-width: 768px) { .cart-page, .checkout-page { grid-template-columns: 1fr; } }
.cart-items, .cart-summary, .checkout-section, .account-content { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-item { display: flex; gap: 16px; padding: 16px; border-bottom: 1px solid var(--gray-200); align-items: center; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.cart-item-info { flex: 1; }
.cart-item-price { font-size: 18px; font-weight: 600; }
.cart-summary { padding: 24px; height: fit-content; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.summary-total { font-size: 20px; font-weight: 600; border-top: 1px solid var(--gray-200); padding-top: 12px; margin-top: 12px; }
.cart-empty { text-align: center; padding: 64px; background: #fff; border-radius: var(--radius); }
.checkout-section { padding: 24px; margin-bottom: 16px; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); cursor: pointer; margin-bottom: 8px; }
.payment-option.selected { border-color: var(--primary); background: rgba(15,118,110,.05); }
.account-page { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
@media (max-width: 768px) { .account-page { grid-template-columns: 1fr; } }
.account-sidebar { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); height: fit-content; }
.account-sidebar a { display: block; padding: 10px 12px; border-radius: 4px; color: var(--gray-500); font-size: 14px; }
.account-sidebar a.active { background: var(--gray-100); color: var(--primary); }
.account-content { padding: 24px; }
.order-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.order-status { font-weight: 600; }
.order-status.paid, .order-status.delivered { color: var(--success); }
.order-status.pending { color: #b45309; }
.order-status.preparing { color: #2563eb; }
.order-status.shipped { color: #4f46e5; }
.order-status.cancelled { color: var(--danger); }
.breadcrumb { font-size: 14px; color: var(--gray-400); margin-bottom: 16px; }
.page-title { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.footer { background: var(--gray-500); color: #fff; padding: 48px 0 24px; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.footer-col a:hover { color: var(--accent); }
.footer-logo { border-radius: 50%; display: block; }
.footer-brand p { color: rgba(255,255,255,.75); font-size: 13px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.payment-icons img { height: 32px; width: auto; max-width: 60px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px 6px; }
.ship-icon { background: rgba(255,255,255,.15); padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; display: inline-block; margin: 2px; }
.payment-option img { height: 24px; width: auto; object-fit: contain; }
.newsletter-form { display: flex; gap: 4px; }
.newsletter-form input { flex: 1; padding: 8px; border: none; border-radius: 4px; }
.newsletter-form button { background: var(--accent); color: #fff; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--gray-500); color: #fff; padding: 12px 24px; border-radius: 8px; z-index: 1000; transition: transform .3s; }
.toast.show { transform: translateX(-50%) translateY(0); }
.catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
@media (max-width: 768px) { .catalog-layout { grid-template-columns: 1fr; } }
.filters-sidebar { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); height: fit-content; }
.filter-option { display: block; padding: 6px 0; font-size: 14px; color: var(--gray-400); cursor: pointer; }
.filter-option.active { color: var(--primary); font-weight: 600; }
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
