@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import 'variables.css';

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

/* ─── LAYOUT ─────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  height: var(--header-height);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.site-header .container { display: flex; align-items: center; gap: 32px; height: 100%; }

.header-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-logo img { height: 44px; width: auto; }
.header-logo-text { display: flex; flex-direction: column; }
.header-logo-text .brand-name { font-size: 1.1rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.3px; }
.header-logo-text .brand-slogan { font-size: .65rem; color: var(--gold-300); letter-spacing: .5px; text-transform: uppercase; font-weight: 500; margin-top: 2px; }

.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search input {
  width: 100%; padding: 10px 48px 10px 18px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-full); color: #fff; font-size: .92rem;
  transition: var(--transition);
}
.header-search input::placeholder { color: rgba(255,255,255,.45); }
.header-search input:focus { outline: none; background: rgba(255,255,255,.14); border-color: var(--cyan-500); }
.header-search button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: var(--cyan-500); border: none; border-radius: var(--radius-full);
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: var(--transition);
}
.header-search button:hover { background: var(--cyan-400); }

.header-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-nav a {
  color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius); transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.header-nav a:hover, .header-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.header-nav .btn-whatsapp {
  background: #25d366; color: #fff; padding: 8px 16px;
  border-radius: var(--radius-full); font-weight: 600;
}
.header-nav .btn-whatsapp:hover { background: #1fba57; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 50%, #0d2d5e 100%);
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(6,182,212,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(245,158,11,.08) 0%, transparent 50%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(6,182,212,.15); border: 1px solid rgba(6,182,212,.3); color: var(--cyan-400); padding: 6px 14px; border-radius: var(--radius-full); font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 20px; }
.hero h1 span { color: var(--gold-300); }
.hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 36px; max-width: 440px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); max-height: 380px; object-fit: cover; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat .number { font-size: 1.8rem; font-weight: 800; color: var(--gold-300); line-height: 1; }
.hero-stat .label { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .9rem;
  transition: var(--transition); border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-500); transform: translateY(-1px); box-shadow: 0 12px 40px rgba(30,58,138,.4); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--cyan-400); transform: translateY(-1px); }
.btn-gold { background: var(--gold-400); color: var(--blue-900); font-weight: 700; }
.btn-gold:hover { background: var(--gold-300); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn-outline-blue { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline-blue:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .82rem; }
.btn-icon { padding: 10px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn-whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25d366; color: #fff; border-radius: var(--radius-full);
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.4); transition: var(--transition); font-size: 1.6rem;
}
.btn-whatsapp-float:hover { transform: scale(1.1); }

/* ─── CATEGORY TABS ──────────────────────────────── */
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.category-tab {
  padding: 8px 20px; border-radius: var(--radius-full); font-size: .88rem; font-weight: 600;
  border: 2px solid var(--border); color: var(--text-secondary); background: var(--bg-card);
  cursor: pointer; transition: var(--transition);
}
.category-tab:hover { border-color: var(--primary); color: var(--primary); }
.category-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ─── SCROLL REVEAL ──────────────────────────────── */
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── PRODUCT GRID ───────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }

/* ─── PRODUCT CARD ───────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30,58,138,.14), 0 4px 12px rgba(0,0,0,.08);
  border-color: var(--primary);
}
.product-card.out-of-stock { opacity: .6; }

/* Image container — position:relative so absolute img fills it reliably */
.product-img {
  aspect-ratio: 1;
  position: relative;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--chrome-100);
}
.product-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .4s ease;
  box-sizing: border-box;
  display: block;
}
/* Hover overlay with quick-action buttons */
.product-img-overlay {
  position: absolute; inset: 0;
  background: rgba(30,58,138,.72);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: opacity .25s ease;
  backdrop-filter: blur(2px);
}
.product-card:hover .product-img-overlay { opacity: 1; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img .no-image { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--chrome-400); font-size: 3rem; }

.product-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 9px; border-radius: var(--radius-full); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-kit { background: linear-gradient(135deg, var(--gold-400), var(--gold-300)); color: var(--blue-900); }
.badge-out { background: var(--error); color: #fff; }
.badge-new { background: var(--accent); color: #fff; }

.product-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.product-sku { font-size: .7rem; color: var(--text-muted); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 5px; }
.product-name {
  font-size: .88rem; font-weight: 600; color: var(--text-primary);
  line-height: 1.35; flex: 1; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-compat { font-size: .76rem; color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--blue-600); margin-bottom: 4px; letter-spacing: -.3px; }
.product-price small { font-size: .76rem; font-weight: 400; color: var(--text-muted); }
.product-installment { font-size: .76rem; color: var(--text-muted); margin-bottom: 12px; }

.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; justify-content: center; padding: 9px 8px; font-size: .8rem; font-weight: 700; }

.out-of-stock-label { text-align: center; color: var(--error); font-size: .78rem; font-weight: 600; padding: 7px 0; border-top: 1px solid var(--border); margin-top: auto; }

/* ─── SECTION HEADERS ────────────────────────────── */
.section-header { margin-bottom: 40px; }
.section-label { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-primary); letter-spacing: -.3px; }
.section-title span { color: var(--primary); }
.section-desc { color: var(--text-secondary); font-size: 1rem; margin-top: 10px; max-width: 560px; }

/* ─── FEATURES ───────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 16px; }
.feature-title { font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: .88rem; color: var(--text-secondary); }

/* ─── DARK SECTION ───────────────────────────────── */
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,.65); }

/* ─── BREADCRUMB ─────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); padding: 16px 0; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--chrome-400); }

/* ─── PAGINATION ─────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 48px; }
.pagination button {
  width: 38px; height: 38px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-secondary); font-size: .88rem; font-weight: 600;
  transition: var(--transition);
}
.pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ─── TOAST ──────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--bg-dark); color: #fff; padding: 12px 24px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); border-left: 4px solid var(--accent);
  animation: slideUp .3s ease; min-width: 260px; text-align: center; pointer-events: all;
}
.toast.error { border-color: var(--error); }
.toast.success { border-color: var(--success); }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer { background: var(--blue-950); color: rgba(255,255,255,.65); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .brand-name { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.footer-brand .brand-slogan { color: var(--gold-300); font-size: .8rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-weight: 700; font-size: .92rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: .88rem; transition: var(--transition); }
.footer-col li a:hover { color: var(--cyan-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; }
.footer-bottom a { color: var(--cyan-400); }

/* ─── PRODUCT PAGE ───────────────────────────────── */
.product-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-height) + 24px); }

/* Gallery main — position:absolute for reliable image sizing */
.gallery-main {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; aspect-ratio: 1;
  position: relative;
  margin-bottom: 12px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.gallery-main img,
.gallery-main picture img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  display: block;
  transition: transform .4s ease;
}
.gallery-main:hover img { transform: scale(1.04); }
.gallery-main picture { display: block; width: 100%; height: 100%; }

.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 68px;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: var(--transition); background: #fff;
  border: 2px solid var(--border); position: relative;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(30,58,138,.15); }
.gallery-thumb img,
.gallery-thumb picture img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  display: block;
}
.gallery-thumb picture { display: block; width: 100%; height: 100%; }

.product-info-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.product-info-sku { color: var(--text-muted); font-size: .85rem; margin-bottom: 16px; }
.product-info-price { font-size: 2.2rem; font-weight: 900; color: var(--blue-600); margin-bottom: 4px; }
.product-info-installment { color: var(--text-secondary); font-size: .9rem; margin-bottom: 24px; }
.product-info-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.product-info-stock.in-stock { color: var(--success); }
.product-info-stock.out-stock { color: var(--error); }
.product-buy-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.product-buy-actions .btn { flex: 1; min-width: 160px; justify-content: center; font-size: 1rem; padding: 15px 24px; }
.product-meta-list { border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.product-meta-item { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.product-meta-item .label { color: var(--text-muted); font-weight: 500; }
.product-meta-item .value { font-weight: 600; text-align: right; }

/* ─── CHECKOUT ───────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.checkout-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: var(--text-primary); }
.checkout-box h3 .step-num { width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .92rem; color: var(--text-primary); background: var(--bg-card); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,58,138,.1);
}
.form-group.full { grid-column: 1 / -1; }
.order-summary { position: sticky; top: calc(var(--header-height) + 20px); }
.summary-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.summary-item-img { width: 56px; height: 56px; border-radius: var(--radius); background: var(--chrome-100); overflow: hidden; flex-shrink: 0; }
.summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.summary-item-name { flex: 1; font-size: .88rem; font-weight: 600; }
.summary-item-qty { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }
.summary-item-price { font-weight: 700; color: var(--blue-600); white-space: nowrap; }
.summary-totals { padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.summary-line { display: flex; justify-content: space-between; font-size: .9rem; }
.summary-line.total { font-size: 1.1rem; font-weight: 800; color: var(--blue-600); border-top: 2px solid var(--border); padding-top: 12px; margin-top: 4px; }
.summary-line.free-shipping { color: var(--success); font-weight: 600; }

/* ─── ORDER TRACKING ─────────────────────────────── */
.order-status-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; max-width: 680px; margin: 0 auto; }
.order-number-display { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.status-timeline { margin-top: 32px; position: relative; }
.status-timeline::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-step { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; position: relative; }
.timeline-dot { width: 38px; height: 38px; border-radius: var(--radius-full); border: 3px solid var(--border); background: var(--bg-card); display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; font-size: 1rem; }
.timeline-step.done .timeline-dot { background: var(--success); border-color: var(--success); color: #fff; }
.timeline-step.current .timeline-dot { background: var(--primary); border-color: var(--primary); color: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(30,58,138,.4)} 50%{box-shadow:0 0 0 8px rgba(30,58,138,0)} }
.timeline-content .title { font-weight: 700; font-size: .95rem; }
.timeline-content .desc { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }

/* ─── LOADING ─────────────────────────────────────── */
.loading { display: flex; align-items: center; justify-content: center; padding: 80px 20px; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── EMPTY STATE ────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .icon { font-size: 4rem; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: .9rem; }

/* ─── SKELETON LOADING ───────────────────────────── */
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skeleton {
  background: linear-gradient(90deg, var(--chrome-100) 25%, var(--chrome-200) 50%, var(--chrome-100) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius);
  display: block;
}
.skeleton-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); }
.skeleton-img { aspect-ratio: 1; border-radius: 0; }
.skeleton-body { padding: 14px 16px; }
.skeleton-line { height: 11px; margin-bottom: 8px; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.h16 { height: 16px; }
.skeleton-line.h20 { height: 20px; margin-bottom: 12px; }

/* ─── TRUST BADGES ───────────────────────────────── */
.trust-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: var(--radius-full);
  font-size: .74rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
  border: 1px solid transparent;
}
.trust-badge-green { background: rgba(22,163,74,.09); color: #15803d; border-color: rgba(22,163,74,.18); }
.trust-badge-blue  { background: rgba(30,58,138,.08); color: var(--blue-600); border-color: rgba(30,58,138,.15); }
.trust-badge-gold  { background: rgba(245,158,11,.1); color: var(--gold-500); border-color: rgba(245,158,11,.2); }

/* ─── CHECKOUT TRUST ─────────────────────────────── */
.checkout-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .76rem; color: var(--text-muted); margin-top: 10px; flex-wrap: wrap;
}
.checkout-secure span { display: flex; align-items: center; gap: 4px; }
.checkout-secure span + span::before { content: '·'; margin: 0 4px; color: var(--chrome-300); }

/* ─── PRODUCT INSTALLMENT HIGHLIGHT ─────────────── */
.pix-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(22,163,74,.1); color: #15803d;
  border: 1px solid rgba(22,163,74,.18); border-radius: var(--radius-full);
  font-size: .78rem; font-weight: 700; padding: 4px 10px; margin-top: 4px;
}

/* ─── MOBILE SIDEBAR TOGGLE ──────────────────────────── */
.mobile-filter-toggle {
  display: none;
  width: 100%; padding: 11px 16px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); font-size: .88rem; font-weight: 700;
  color: var(--text-primary); cursor: pointer;
  align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 12px; transition: border-color .2s;
}
.mobile-filter-toggle:hover { border-color: var(--primary); }
.mobile-filter-toggle .toggle-icon { transition: transform .22s ease; font-size: .75rem; opacity: .6; }
.mobile-filter-toggle.open .toggle-icon { transform: rotate(180deg); }

/* ─── MOBILE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .product-page-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
}
@media (max-width: 900px) {
  .mobile-filter-toggle { display: flex; }
  .sidebar-filters { display: none; margin-bottom: 16px; }
  .sidebar-filters.open { display: block; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .header-search { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.cols-3 { grid-template-columns: 1fr; }
  /* 2 colunas fixas — mais previsível que auto-fill em telas estreitas */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img-overlay { display: none; }
  .product-page-grid { gap: 28px; }
  .product-info-price { font-size: 1.9rem; }
  .product-buy-actions .btn { padding: 14px 20px; font-size: .95rem; }
  .order-status-card { padding: 24px 20px; }
  .gallery-thumb { width: 58px; height: 58px; }
  .checkout-box { padding: 20px; }
  .btn-whatsapp-float { bottom: 18px; right: 18px; width: 54px; height: 54px; font-size: 1.4rem; }
  /* resultados + ordenação em coluna no mobile */
  .results-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sort-select { width: 100%; font-size: .85rem; padding: 8px 12px; }
}
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero { padding: 60px 0 48px; }
  .hero-stats { gap: 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* card compacto */
  .product-body { padding: 8px 10px 10px; }
  .product-sku { display: none; }
  .product-name { font-size: .81rem; -webkit-line-clamp: 2; }
  .product-compat { display: none; }
  .product-price { font-size: 1.05rem; margin-bottom: 5px; letter-spacing: -.2px; }
  .product-installment { display: none; }
  /* apenas botão Comprar, full-width */
  .product-actions { display: block; }
  .product-actions .btn:last-child { display: none; }
  .product-actions .btn:first-child { width: 100%; justify-content: center; padding: 9px 6px; font-size: .77rem; }
  .trust-badges { gap: 5px; }
  .trust-badge { font-size: .68rem; padding: 4px 7px; }
  .product-info-title { font-size: 1.3rem; }
  .product-info-price { font-size: 1.7rem; }
  .header-nav a:not(.btn-whatsapp) { display: none; }
  .btn-whatsapp-float { bottom: 14px; right: 14px; width: 50px; height: 50px; font-size: 1.3rem; }
}
@media (max-width: 360px) {
  .container { padding: 0 10px; }
  .products-grid { gap: 6px; }
  .product-body { padding: 7px 8px 9px; }
  .product-name { font-size: .78rem; }
  .product-price { font-size: .98rem; }
  .product-actions .btn:first-child { padding: 8px 4px; font-size: .73rem; }
}
