/*
Theme Name: DR Cell
Description: Replica exacta de DR CELL.
Version: 2.0.0
Author: Leo
Text Domain: drcell
*/
:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --surface: #1c2128;
  --card: #21262d;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --blue: #58a6ff;
  --blue-light: #79c0ff;
  --green: #3fb950;
  --red: #f85149;
  --grad: linear-gradient(135deg, #58a6ff, #79c0ff);
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: min(1100px, 92%); margin: 0 auto; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #ffffff; box-shadow: 0 4px 16px rgba(37, 99, 235, .3); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(37, 99, 235, .4); }
.btn-wa { background: #1ebe5d; color: #fff; box-shadow: 0 4px 16px rgba(30, 190, 93, .3); }
.btn-wa:hover { background: #17a350; box-shadow: 0 8px 24px rgba(30, 190, 93, .4); }
.wa-icon { width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; }
.btn-ghost { background: transparent; color: var(--blue); border: 1px solid rgba(37, 99, 235, .4); }
.btn-ghost:hover { background: rgba(37, 99, 235, .08); border-color: var(--blue); }
.btn-danger { background: rgba(239, 68, 68, .08); color: #dc2626; border: 1px solid rgba(239, 68, 68, .3); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--text); }
.brand-name::first-letter { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active-link { color: var(--blue); }
.nav-links .nav-cta { color: #fff; margin-left: 6px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 23, .95) 0%, rgba(13, 17, 23, .8) 38%, rgba(13, 17, 23, .5) 62%, rgba(13, 17, 23, .1) 100%),
    url('assets/img/hero-phone.jpg') center 30% / cover no-repeat;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 85% -10%, rgba(88, 166, 255, .08), transparent 60%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(88, 166, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 166, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.hero-tag {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  background: rgba(88, 166, 255, .1); border: 1px solid rgba(88, 166, 255, .25);
  color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .4px;
  margin-bottom: 16px;
}
.hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(26px, 4.5vw, 48px); line-height: 1.12; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.hero p { color: var(--muted); font-size: 15px; max-width: 500px; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-title { font-family: 'Sora', sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; color: var(--text); }
.section-sub { color: var(--muted); font-size: 14px; }

/* ---------- Shop page ---------- */
.shop-hero {
  padding: 110px 0 30px;
  background:
    radial-gradient(800px 380px at 70% -20%, rgba(88, 166, 255, .06), transparent 60%),
    radial-gradient(600px 300px at 10% 120%, rgba(121, 192, 255, .04), transparent 60%);
  text-align: center;
}
.shop-title { font-family: 'Sora', sans-serif; font-size: clamp(24px, 4vw, 38px); font-weight: 800; margin-bottom: 10px; color: var(--text); }
.shop-sub { color: var(--muted); font-size: 14px; max-width: 500px; margin: 0 auto; }
.shop-section { padding-top: 24px; }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.dest-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: transform .25s, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-3px); border-color: rgba(88, 166, 255, .4); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--border);
  margin-bottom: 10px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.service-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-family: 'Sora', sans-serif; font-size: 14px; margin-bottom: 4px; color: var(--text); }
.service-card p { color: var(--muted); font-size: 12px; }

/* ---------- Products ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s;
}
.pill:hover { color: var(--text); border-color: rgba(88, 166, 255, .4); }
.pill.active { background: var(--grad); color: #ffffff; border-color: transparent; }
.search-box input {
  width: 220px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); font-size: 13px; outline: none; transition: border-color .2s;
}
.search-box input:focus { border-color: var(--blue); }

.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow);
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(88, 166, 255, .4); box-shadow: var(--shadow-lg); }
.product-img-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 100px;
  background: var(--grad); color: #ffffff; font-size: 10px; font-weight: 800;
}
.product-body { padding: 10px; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.product-cat { font-size: 10px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .6px; }
.stock { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.stock.ok { background: rgba(63, 185, 80, .1); color: #3fb950; }
.stock.low { background: rgba(250, 204, 21, .1); color: #d29922; }
.stock.out { background: rgba(248, 81, 73, .1); color: #f85149; }
.product-name { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.product-brand { color: var(--muted); font-size: 10px; margin-bottom: 6px; }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.product-body .btn-wa { margin-top: 8px; }
.product-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 13px; color: var(--blue); }
.product-price small { font-size: 10px; color: var(--muted); font-weight: 600; }
@media (min-width: 1400px) {
  .products-grid { grid-template-columns: repeat(6, 1fr); }
}
.empty-catalog { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 24px; border: 1px dashed var(--border); border-radius: var(--radius); }

/* ---------- Contact Form ---------- */
.contact-form-section { background: var(--bg-2); }
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, .1);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b949e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option { background: var(--bg); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-wa-form {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: 12px;
  position: relative;
}
.btn-loading {
  pointer-events: none;
  opacity: 0.85;
}
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; transition: transform .25s, border-color .25s;
  box-shadow: var(--shadow);
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(88, 166, 255, .4); }
.contact-icon {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
  background: rgba(88, 166, 255, .1); border: 1px solid rgba(88, 166, 255, .15);
  display: grid; place-items: center; font-size: 20px;
}
.contact-card h3 { font-family: 'Sora', sans-serif; font-size: 15px; margin-bottom: 6px; color: var(--text); }
.contact-card p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }

/* ---------- Open Status ---------- */
.open-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.status-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.status-open {
  background: rgba(63, 185, 80, .1);
  color: #3fb950;
  border: 1px solid rgba(63, 185, 80, .25);
}
.status-open::before {
  background: #3fb950;
  animation: blink 1.5s infinite;
}
.status-closed {
  background: rgba(248, 81, 73, .1);
  color: #f85149;
  border: 1px solid rgba(248, 81, 73, .25);
}
.status-closed::before {
  background: #f85149;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 32px 0 22px; background: var(--bg-2); }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.footer-text { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { color: var(--muted); font-size: 12px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 18px; right: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: #1ebe5d; color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(30, 190, 93, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: rgba(30, 190, 93, .3); z-index: -1;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Volver arriba ---------- */
.top-float {
  position: fixed; bottom: 18px; left: 18px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--card); color: var(--blue); border: 1px solid rgba(88, 166, 255, .4);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.top-float.show { opacity: 1; pointer-events: auto; transform: none; }
.top-float:hover { border-color: var(--blue); transform: translateY(-2px); }
.top-float svg { width: 22px; height: 22px; }

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

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 16px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  width: min(680px, 100%); max-height: 90vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); position: relative; animation: modalIn .25s ease;
}
@keyframes modalIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--card); color: var(--text); font-size: 18px; cursor: pointer;
}
.modal-close:hover { border-color: var(--blue); color: var(--blue); }
.modal-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.modal-img-wrap { background: var(--bg); }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.modal-body { padding: 24px; display: flex; flex-direction: column; }
.badge {
  align-self: flex-start; padding: 4px 10px; border-radius: 100px;
  background: rgba(88, 166, 255, .1); border: 1px solid rgba(88, 166, 255, .2);
  color: var(--blue); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 12px;
}
.modal-title { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.modal-brand { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.modal-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.modal-price { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: var(--blue); }
.stock-badge { font-size: 12px; }
.modal-details { color: var(--muted); font-size: 14px; margin-bottom: 20px; white-space: pre-line; }
.modal-details:empty { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 60px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(13, 17, 23, .98); padding: 14px 5%;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .3s;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 10px 0; font-size: 15px; border-bottom: 1px solid rgba(48, 54, 61, .6); }
  .nav-links .nav-cta { margin: 8px 0 0; justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img-wrap img { min-height: 180px; max-height: 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
}
@media (max-width: 520px) {
  .hero { padding: 90px 0 50px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 44px 0; }
  .section-title { font-size: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-body { padding: 8px; }
  .product-name { font-size: 12px; }
  .product-brand { font-size: 10px; margin-bottom: 6px; }
  .product-price { font-size: 13px; }
  .product-foot .btn { padding: 5px 10px; font-size: 12px; }
  .product-body .btn-wa { font-size: 12px; padding: 7px 8px; }
  .product-tag { font-size: 9px; }
  .search-box input { width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .shop-hero { padding: 90px 0 20px; }
  .shop-title { font-size: 22px; }
  .contact-form { padding: 18px 14px; }
  .btn-wa-form { padding: 12px; font-size: 14px; }
  .modal-body { padding: 18px; }
  .modal-title { font-size: 18px; }
  .modal-price { font-size: 22px; }
  .footer { padding: 24px 0 16px; }
}

/* ---------- Posts ---------- */
.post-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.post-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-featured-img { min-height: 240px; overflow: hidden; }
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.post-featured-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.post-featured-title { font-family: 'Sora', sans-serif; font-size: 20px; margin-bottom: 12px; color: var(--text); line-height: 1.3; }
.post-featured-text { color: var(--muted); font-size: 14px; line-height: 1.7; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.post-date-badge {
  display: inline-block; background: rgba(88, 166, 255, .1); color: var(--blue);
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px;
}
.post-pin { font-size: 11px; font-weight: 600; color: #d29922; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow);
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(88, 166, 255, .4); box-shadow: var(--shadow-lg); }
.post-img { width: 100%; height: 150px; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 16px; }
.post-title { font-family: 'Sora', sans-serif; font-size: 14px; margin-bottom: 8px; color: var(--text); line-height: 1.3; }
.post-text { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.post-wa-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: #25d366; color: #fff;
  transition: transform .2s, box-shadow .2s; flex-shrink: 0;
}
.post-wa-btn svg { width: 18px; height: 18px; }
.post-wa-btn:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(37, 211, 102, .4); }
.post-featured .post-wa-btn { position: absolute; bottom: 16px; right: 16px; width: 42px; height: 42px; }
.post-featured .post-wa-btn svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-img { min-height: 180px; }
  .posts-grid { grid-template-columns: 1fr; }
}

/* ---------- Brands ---------- */
.brands-section { padding: 20px 0; border-bottom: 1px solid var(--border); overflow: hidden; }
.brands-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.brands-track { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.brands-logos { display: flex; gap: 32px; animation: scroll-brands 25s linear infinite; width: max-content; }
.brand-item { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--muted); opacity: .5; white-space: nowrap; transition: opacity .3s; flex-shrink: 0; }
.brand-item:hover { opacity: 1; }
@keyframes scroll-brands { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 660px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: rgba(88, 166, 255, .4); }
.faq-q { padding: 14px 18px; cursor: pointer; font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 18px; color: var(--muted); transition: transform .25s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 18px 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-a a { color: var(--blue); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ---------- Precio CUP (pantallas) ---------- */
.cup-price { font-size: 11px; color: var(--muted); font-weight: 600; }

/* ---------- Tienda por marcas ---------- */
.cat-group { margin-bottom: 36px; scroll-margin-top: 70px; }
.cat-title {
  font-family: 'Sora', sans-serif; font-size: clamp(20px, 3vw, 26px); font-weight: 800;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border);
  color: var(--text);
}
.brand-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.brand-chip {
  padding: 6px 12px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); font-size: 12px; font-weight: 600;
  transition: .2s;
}
.brand-chip:hover { color: #fff; border-color: var(--blue); }
.brand-group { margin-bottom: 28px; scroll-margin-top: 70px; }
.brand-title {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Sora', sans-serif; font-size: clamp(21px, 3vw, 28px); font-weight: 800;
  letter-spacing: .5px; margin-bottom: 16px;
}
.brand-title span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(88, 166, 255, .25));
}
.brand-title::after {
  content: ''; flex: 1; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(88, 166, 255, .55), rgba(121, 192, 255, .12) 60%, transparent);
}
.brand-title em {
  order: 3; flex-shrink: 0;
  font-style: normal; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .4px; color: #fff;
  background: linear-gradient(135deg, rgba(88, 166, 255, .25), rgba(121, 192, 255, .12));
  border: 1px solid rgba(88, 166, 255, .35);
  padding: 3px 11px; border-radius: 100px; white-space: nowrap;
}

/* ===== FIX movil: barra de categorias con scroll propio (no mueve la pagina) ===== */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
.filter-bar, .search-box, .filter-pills { min-width: 0; max-width: 100%; }
.filter-pills {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.filter-pills::-webkit-scrollbar { height: 6px; }
.filter-pills::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.pill { flex: 0 0 auto; white-space: nowrap; }
.search-box input { max-width: 100%; box-sizing: border-box; }
.brand-chips { max-width: 100%; }
@media (max-width: 520px) {
  .filter-bar { overflow: hidden; }
  .filter-pills { flex-wrap: nowrap; margin: 0 -2px; padding: 2px 2px 8px; }
}
