@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: #182026;
  background: #f7f7f5;
}
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }

.ticker {
  background:#183b3f; color:#fff; overflow:hidden; white-space:nowrap;
}
.ticker-track {
  display:inline-flex; padding:9px 0; animation: ticker-scroll 22s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  padding:0 28px; font-size:12.5px; font-weight:700; letter-spacing:.04em;
  border-right:1px solid rgba(255,255,255,.2);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; }
}

.header {
  background: #fff;
  border-bottom: 1px solid #e8e8e4;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; justify-self: center; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; display: block; }
.logo strong { display:block; font-size: 16px; }
.logo span { display:block; font-size: 12px; color:#7c8588; margin-top: 2px; }

.nav-burger {
  justify-self: start; display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border:none; background:transparent; cursor:pointer; padding:0;
}
.nav-burger span { display:block; width:20px; height:2px; background:#182026; }
.nav-actions { justify-self: end; display:flex; align-items:center; gap:6px; }
.nav-icon-btn {
  display:grid; place-items:center; width:38px; height:38px; border-radius:8px;
  border:1px solid transparent; background:transparent; color:#183b3f; cursor:pointer;
  text-decoration:none;
}
.nav-icon-btn:hover { background:#f2f4f2; }

.drawer-overlay {
  position:fixed; inset:0; background:rgba(24,32,38,.5); z-index:30;
}
.drawer-overlay[hidden] { display:none; }
.drawer {
  position:fixed; top:0; left:0; bottom:0; z-index:31; width:min(320px, 86vw);
  background:#fff; box-shadow:0 0 40px rgba(0,0,0,.18);
  display:flex; flex-direction:column; overflow-y:auto;
}
.drawer[hidden] { display:none; }
.drawer-head { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid #eef0ed; }
.drawer-title { font-weight:700; font-size:15px; }
.drawer-close {
  width:32px; height:32px; border-radius:8px; border:none; background:transparent;
  font-size:15px; cursor:pointer; color:#5c6568;
}
.drawer-close:hover { background:#f2f4f2; }
.drawer-links { display:flex; flex-direction:column; padding:8px 0; }
.drawer-link {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 20px; text-decoration:none; color:#182026; font-size:15px; font-weight:600;
  border:none; background:transparent; width:100%; text-align:left; cursor:pointer; font-family:inherit;
}
.drawer-link:hover { background:#f7f7f5; }
.drawer-arrow { transition:transform .15s ease; color:#7c8588; }
.drawer-expand.is-open .drawer-arrow { transform:rotate(90deg); }
.drawer-submenu { display:flex; flex-direction:column; background:#f7f7f5; }
.drawer-submenu[hidden] { display:none; }
.drawer-sublink {
  display:block; width:100%; text-align:left; padding:11px 20px 11px 34px;
  border:none; background:transparent; font:inherit; font-size:14px; color:#445052; cursor:pointer;
}
.drawer-sublink:hover, .drawer-sublink.active { color:#183b3f; font-weight:700; }

.nav-cart-btn { position:relative; }
.cart-count:not([hidden]) {
  position:absolute; top:2px; right:2px; min-width:16px; height:16px; padding:0 3px;
  border-radius:999px; background:#b23b3b; color:#fff; font-size:10px; font-weight:700;
  display:grid; place-items:center; line-height:1;
}

.cart-drawer {
  position:fixed; top:0; right:0; bottom:0; z-index:31; width:min(380px, 92vw);
  background:#fff; box-shadow:0 0 40px rgba(0,0,0,.18);
  display:flex; flex-direction:column; overflow-y:auto;
}
.cart-drawer[hidden] { display:none; }
.cart-items:not([hidden]) { display:flex; flex-direction:column; padding:8px 20px; gap:14px; }
.cart-item { display:flex; gap:12px; align-items:flex-start; }
.cart-item img { width:56px; height:56px; object-fit:contain; background:#eef0ed; border-radius:8px; flex:none; }
.cart-item-body { flex:1; display:flex; flex-direction:column; gap:4px; min-width:0; }
.cart-item-name { font-size:13.5px; font-weight:600; line-height:1.3; }
.cart-item-price { display:flex; align-items:baseline; gap:6px; font-size:12.5px; }
.cart-item-price-old { color:#a3acae; text-decoration:line-through; }
.cart-item-price-new { color:#183b3f; font-weight:700; }
.cart-item-qty { display:flex; align-items:center; gap:10px; margin-top:2px; }
.qty-btn {
  width:24px; height:24px; border-radius:6px; border:1px solid #d9ddda; background:#fff;
  display:grid; place-items:center; cursor:pointer; color:#183b3f;
}
.qty-btn:hover { background:#f2f4f2; }
.cart-item-qty span { font-size:13px; font-weight:700; min-width:14px; text-align:center; }
.cart-item-remove {
  border:none; background:transparent; color:#a3acae; cursor:pointer; font-size:13px;
  width:24px; height:24px; border-radius:6px; flex:none;
}
.cart-item-remove:hover { background:#f2f4f2; color:#b23b3b; }
.cart-empty { padding:20px; text-align:center; display:flex; flex-direction:column; gap:14px; align-items:center; }
.cart-empty p { margin:0; color:#5c6568; font-size:14px; }
.cart-empty[hidden] { display:none; }
.cart-footer { padding:16px 20px 20px; border-top:1px solid #eef0ed; margin-top:auto; }
.cart-footer[hidden] { display:none; }
.cart-discount-note {
  margin:0 0 12px; padding:8px 10px; background:#eef8f0; border-radius:6px;
  font-size:12.5px; color:#1f6b39; line-height:1.4;
}
.cart-total { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; font-size:15px; }
.cart-total strong { font-size:19px; }
.cart-checkout { display:block; width:100%; text-align:center; box-sizing:border-box; border:none; cursor:pointer; font:inherit; }
.cart-clear {
  display:block; width:100%; text-align:center; margin-top:10px; padding:10px;
  border:none; background:transparent; color:#5c6568; font:inherit; font-size:13px; cursor:pointer;
}
.cart-clear:hover { color:#b23b3b; }

.cart-add:not([hidden]) {
  flex:1; display:flex; align-items:center; justify-content:center; gap:6px;
  padding:11px 8px; border-radius:8px; border:none; cursor:pointer; font:inherit;
  background:#183b3f; color:#fff; font-size:13px; font-weight:700;
}
.cart-add:hover { background:#0f2b2e; }

.cart-checkout-form:not([hidden]) { display:flex; flex-direction:column; padding:8px 20px 20px; gap:14px; }
.cart-form-back {
  align-self:flex-start; border:none; background:transparent; color:#5c6568;
  font:inherit; font-size:13px; cursor:pointer; padding:4px 0;
}
.cart-form-back:hover { color:#183b3f; }
.cart-form-intro { margin:0; font-size:13px; color:#5c6568; line-height:1.5; }
.cart-form-summary {
  display:flex; justify-content:space-between; align-items:center;
  background:#f7f7f5; border-radius:8px; padding:10px 12px; font-size:13px;
}
.cart-form-summary strong { font-size:15px; }
.cart-form-field {
  display:flex; flex-direction:column; gap:6px; font-size:12.5px; font-weight:600; color:#445052;
}
.cart-form-field input, .cart-form-field select {
  padding:11px 12px; border:1px solid #d9ddda; border-radius:8px; background:#fff;
  font:inherit; font-size:14px; font-weight:400; color:#182026; outline:none;
}
.cart-form-field input:focus, .cart-form-field select:focus { border-color:#183b3f; }
.cart-checkout-form .cart-checkout { margin-top:4px; }

#checkoutDireccionFields:not([hidden]) { display:flex; flex-direction:column; gap:14px; }
.cart-form-toggle { display:flex; gap:8px; }
.cart-form-toggle-option {
  position:relative; flex:1; display:flex; align-items:center; justify-content:center;
  padding:10px 8px; border:1px solid #d9ddda; border-radius:8px; cursor:pointer;
  font-size:13px; font-weight:600; color:#445052; text-align:center;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.cart-form-toggle-option input {
  position:absolute; opacity:0; width:0; height:0; pointer-events:none;
}
.cart-form-toggle-option:has(input:checked) { background:#183b3f; color:#fff; border-color:#183b3f; }

.hero {
  background: linear-gradient(160deg, #eef6f1 0%, #dfeee5 55%, #d3e9dd 100%);
  padding: 48px 0 44px;
}
.hero-inner { max-width: none; }
.hero-copy { max-width: 640px; }
h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing:-0.01em; margin: 0 0 12px; text-wrap: balance; }
.hero p { max-width: 520px; color:#596366; font-size:16px; line-height:1.6; margin: 0 0 22px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hero-btn {
  display:inline-flex; align-items:center; gap:8px; padding:13px 20px; border-radius:8px;
  background:transparent; color:#183b3f; text-decoration:none; font-weight:700; font-size:14.5px;
  border:1.5px solid #183b3f; transition:background .15s ease, color .15s ease;
  white-space:nowrap;
}
.hero-btn:hover { background:#183b3f; color:#fff; }
.hero-btn svg { flex:none; }

.primary-btn {
  display:inline-block; padding:13px 22px; border-radius:8px;
  background:#183b3f; color:#fff; text-decoration:none; font-weight:700;
}
.secondary-btn {
  display:inline-block; padding:13px 22px; border-radius:8px;
  background:transparent; color:#183b3f; text-decoration:none; font-weight:700;
  border:1.5px solid #183b3f; transition:background .15s ease, color .15s ease;
}
.secondary-btn:hover { background:#183b3f; color:#fff; }

.hc-icon {
  flex:none; width:38px; height:38px; border-radius:10px;
  display:grid; place-items:center; font-size:17px;
  background:#e9efec; color:#183b3f;
}
.hc-icon--wa { background:#e5f8ec; color:#22ab4c; }

.catalog { padding: 48px 0 64px; }
.section-top { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; }
h2 { font-size:28px; letter-spacing:-0.5px; margin:0; }
.search-wrap input {
  width: 280px; padding:11px 14px; border:1px solid #d9ddda; border-radius:8px;
  background:#fff; font:inherit; outline:none;
}
.search-wrap input:focus { border-color:#183b3f; }

.product-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:14px; }
.product {
  background:#fff; border:1px solid #e5e7e4; border-radius:10px; overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.product:hover { border-color:#c7d0cc; box-shadow:0 8px 20px rgba(24,59,63,.08); }
.product-thumb { position:relative; }
.product-img { aspect-ratio:1/1; width:100%; object-fit:contain; background:#eef0ed; display:block; }
.product.sin-stock .product-img { opacity:.55; }
.stock-badge {
  position:absolute; top:12px; left:12px; z-index:1;
  background:#b23b3b; color:#fff; font-size:11px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; padding:5px 10px; border-radius:999px;
}
.stock-badge--inline:not([hidden]) { position:static; display:inline-block; margin:6px 0 0; }
.product-body { padding:14px; }
.product-category { font-size:10px; letter-spacing:.12em; color:#7d8789; text-transform:uppercase; }
.product h3 { font-size:15px; margin:6px 0 9px; line-height:1.3; }
.price { font-size:19px; font-weight:700; margin-bottom:12px; }
.product-actions { display:flex; gap:8px; }
.buy {
  flex:1; text-align:center; padding:11px 8px; border-radius:8px; text-decoration:none;
  background:#183b3f; color:#fff; font-size:13px; font-weight:700;
}
.consult {
  width:42px; display:grid; place-items:center; border:1px solid #d8ddda; border-radius:8px;
  text-decoration:none; font-size:17px; color:#22ab4c;
}
.buy-ml {
  width:42px; display:grid; place-items:center; border:1px solid #d8ddda; border-radius:8px;
  text-decoration:none; color:#183b3f;
}
.buy-ml:hover { background:#f2f4f2; }
.ml-logo { display:block; flex:none; object-fit:contain; }
.empty { text-align:center; padding:50px; color:#5c6568; }
.loading-msg { grid-column:1/-1; text-align:center; padding:50px; color:#5c6568; }
.load-more-wrap { text-align:center; margin-top:32px; }
.load-more-btn {
  padding:13px 30px; border-radius:10px; border:1.5px solid #183b3f;
  background:#fff; color:#183b3f; font:inherit; font-weight:700; cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.load-more-btn:hover { background:#183b3f; color:#fff; }

.product { cursor: pointer; }

.destacados { padding: 0 0 56px; }
.clips { padding: 0 0 64px; }
.clips-tabs { display:flex; gap:9px; flex-wrap:wrap; margin-bottom:18px; }
.clips-tab {
  border:1px solid #d7dcda; background:#fff; padding:8px 14px; border-radius:999px;
  cursor:pointer; font:inherit; font-size:13.5px; color:#445052;
}
.clips-tab.active, .clips-tab:hover { background:#183b3f; color:#fff; border-color:#183b3f; }

.clips-feature {
  display:grid; grid-template-columns:1fr 1fr; gap:0;
  background:#fff; border:1px solid #e5e7e4; border-radius:12px; overflow:hidden;
  margin-bottom:16px;
}
.clips-feature-media { background:#101615; }
.clips-feature-media img, .clips-feature-media video { width:100%; height:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.clips-feature-media a { display:block; height:100%; }
.clips-feature-body { padding:32px; display:flex; flex-direction:column; justify-content:center; gap:12px; }
.clips-feature-hook { font-size:11.5px; font-weight:700; letter-spacing:.06em; color:#597276; margin-bottom:-6px; }
.clips-feature-body h3 { font-size:24px; margin:0; letter-spacing:-0.3px; }
.clips-feature-body p { margin:0; color:#5c6568; font-size:15px; line-height:1.55; }
.clips-feature-body .secondary-btn { align-self:flex-start; }

.clips-rail { display:flex; gap:12px; overflow-x:auto; padding-bottom:4px; }
.clips-thumb {
  flex:none; width:130px; border:1px solid #e5e7e4; border-radius:10px; overflow:hidden;
  background:#fff; cursor:pointer; padding:0; text-align:left;
}
.clips-thumb.active { border-color:#183b3f; box-shadow:0 0 0 1px #183b3f; }
.clips-thumb img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; background:#eef0ed; }
.clips-thumb span { display:block; padding:8px 10px; font-size:12px; font-weight:600; line-height:1.3; }

.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay {
  position: absolute; inset: 0; background: rgba(24,32,38,.6);
}
.modal[hidden] { display: none; }
.modal-content {
  position: relative; background: #fff; border-radius: 14px; overflow: hidden;
  width: min(880px, 100%); max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); font-size: 16px; cursor: pointer;
}
.modal-gallery { position: relative; background: #eef0ed; }
.modal-gallery img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: contain; display: block; }
.modal-arrows button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); font-size: 22px; cursor: pointer; line-height: 1;
}
#modalPrev { left: 12px; }
#modalNext { right: 12px; }
.modal-dots:not([hidden]) {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 7px;
}
.modal-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,.6); cursor: pointer;
}
.modal-dots .dot.active { background: #fff; }
.modal-info { padding: 30px; }
.modal-info h3 { font-size: 22px; margin: 8px 0 12px; line-height: 1.3; }
.modal-desc { color: #4b5457; line-height: 1.6; margin-bottom: 20px; white-space: pre-line; }
.consult#modalConsultar { color:#22ab4c; }

@media (max-width: 700px) {
  .modal-content { grid-template-columns: 1fr; }
}

.whatsapp {
  position:fixed; right:22px; bottom:22px; width:54px; height:54px; border-radius:50%;
  display:grid; place-items:center; background:#25d366; color:#fff; text-decoration:none;
  box-shadow:0 8px 25px rgba(0,0,0,.18); z-index:20;
}
.info { padding: 44px 0 60px; }
.info h2 { font-size:24px; margin-bottom:20px; }
.info-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.info-item {
  display:flex; gap:13px; align-items:flex-start;
  background:#fff; border:1px solid #e5e7e4; border-radius:10px; padding:16px 18px;
  text-decoration:none; color:inherit;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.info-item:hover { border-color:#c7d0cc; box-shadow:0 8px 20px rgba(24,59,63,.08); }
.info-item b { display:block; font-size:14px; margin-bottom:3px; line-height:1.3; }
.info-item small { color:#5c6568; font-size:12.5px; line-height:1.45; }

footer { background:#183b3f; color:#fff; padding:44px 0 0; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:32px; padding-bottom:32px; }
.footer-brand p { margin:8px 0 0; color:#c7d1d0; font-size:13px; max-width:280px; line-height:1.5; }
.footer-col-title {
  display:block; font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:#8fa6a4; margin-bottom:12px; font-weight:700;
}
.footer-col { display:flex; flex-direction:column; gap:9px; }
.footer-col a, .footer-brand strong { color:#fff; }
.footer-col a { text-decoration:none; font-size:13.5px; color:#dbe6e4; }
.footer-col a:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.12); padding:16px 0;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-size:12.5px; color:#9fb2b0;
}

@media (max-width: 900px) {
  .info-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px) {
  .container { width:min(100% - 24px, 1180px); }
  .nav { min-height:64px; }
  .logo strong { font-size:14px; }
  .logo span { display:none; }
  .hero { padding:36px 0 32px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-btn { justify-content:center; }
  .section-top { align-items:stretch; flex-direction:column; }
  .search-wrap input { width:100%; }
  .product-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .product-body { padding:12px; }
  .product h3 { font-size:14px; }
  .price { font-size:18px; }
  .info-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:22px; }
  .footer-bottom { flex-direction:column; gap:6px; }
  .clips-feature { grid-template-columns:1fr; }
  .clips-feature-body { padding:20px; }
  .clips-feature-body h3 { font-size:20px; }
  .cart-drawer { width:100%; }
}
