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

:root {
  --bg: #050505;
  --bg-2: #090909;
  --panel: #0b0b0b;
  --panel-2: #111;
  --text: #f5f5f5;
  --muted: #9d9d9d;
  --line: #242424;
  --accent: #e8e8e8;
  --danger: #ff4b4b;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.container {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
}

.site-header {
  background: rgba(0,0,0,.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-link {
  display: flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(145px, 13vw, 220px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.logo-text {
  font-size: clamp(42px, 4vw, 66px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  color: #fff;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  white-space: nowrap;
}

.main-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #b7b7b7;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active { color: #fff; }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: #fff;
  opacity: .75;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
}

.lang-switch button {
  border: 0;
  padding: 13px 17px;
  background: transparent;
  color: #aaa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.lang-switch button.active {
  background: #e8e8e8;
  color: #000;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  font-size: 24px;
  padding: 7px 12px;
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e2e2e2;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.4px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  line-height: 1;
}

.btn {
  min-height: 46px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #343434;
  cursor: pointer;
  transition: .18s;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #e8e8e8; color: #000; }
.btn-outline { background: transparent; color: #d5d5d5; }

/* HOME */
.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.72) 44%, rgba(0,0,0,.28) 100%),
    radial-gradient(circle at 72% 30%, rgba(255,255,255,.14), transparent 20%),
    radial-gradient(circle at 86% 70%, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(135deg, #050505 0%, #171717 50%, #050505 100%);
}

.hero.has-image {
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: .7;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: 9vh;
  width: min(54vw, 720px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,0)),
    radial-gradient(circle at 52% 48%, rgba(255,255,255,.08), transparent 38%);
  transform: rotate(-12deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 86px 0;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 104px);
  line-height: .94;
  letter-spacing: -3px;
}

.hero-text {
  max-width: 660px;
  color: #cfcfcf;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 28px 0 34px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  max-width: 620px;
  background: #242424;
  border: 1px solid #242424;
}

.stat { background: rgba(8,8,8,.92); padding: 18px; }
.stat strong { display: block; font-size: 22px; letter-spacing: -1px; }
.stat span {
  color: #9d9d9d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.section {
  padding: 76px 0;
  border-top: 1px solid #151515;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.link-arrow {
  color: #e6e6e6;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}

.category-grid, .cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card, .info-card {
  min-height: 260px;
  border: 1px solid #242424;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), transparent 42%),
    #0b0b0b;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .2s;
}

.info-card { min-height: 210px; }
.category-card:hover, .info-card:hover { transform: translateY(-4px); border-color: #777; }
.category-card .number { color: #858585; font-size: 12px; letter-spacing: 1.4px; font-weight: 900; }
.category-card h3 { font-size: 34px; margin-bottom: 12px; }
.category-card p, .info-card p { color: #9d9d9d; line-height: 1.55; margin: 0; }

.featured-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.featured-main {
  min-height: 440px;
  border: 1px solid #242424;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.2)),
    radial-gradient(circle at 72% 40%, rgba(255,255,255,.12), transparent 28%),
    #101010;
  background-size: cover;
  background-position: center;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
}

.featured-main::after {
  content: "JAHRO";
  position: absolute;
  right: -10px;
  top: 34px;
  color: rgba(255,255,255,.035);
  font-size: 122px;
  font-weight: 900;
  letter-spacing: -8px;
}

.featured-main h3 {
  font-size: clamp(32px, 4vw, 62px);
  line-height: .98;
  position: relative;
  z-index: 2;
}

.featured-main p {
  color: #bdbdbd;
  max-width: 560px;
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

.mini-products { display: grid; gap: 18px; }
.mini-product {
  border: 1px solid #242424;
  background: #0b0b0b;
  padding: 22px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
}

.mini-img {
  width: 86px;
  height: 86px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 54%), #151515;
  display: grid;
  place-items: center;
  color: #333;
  font-weight: 900;
  font-size: 13px;
  overflow: hidden;
}

.mini-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.mini-product h4 { margin: 0 0 5px; font-size: 20px; letter-spacing: -.5px; }
.mini-product p { margin: 0; color: #9d9d9d; font-size: 13px; line-height: 1.45; }

.cta-band {
  padding: 68px 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(210,210,210,.9)), #e8e8e8;
  color: #000;
}

.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 34px; }
.cta-inner h2 { color: #000; max-width: 760px; }
.cta-inner p { color: #202020; max-width: 690px; line-height: 1.55; }
.cta-band .btn-primary { background: #000; color: #fff; border-color: #000; min-width: 210px; }

/* PAGE HERO */
.page-main { min-height: 70vh; }
.page-hero {
  min-height: 178px;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.48), rgba(0,0,0,.82)),
    radial-gradient(circle at 78% 28%, rgba(255,255,255,.16), transparent 18%),
    radial-gradient(circle at 68% 65%, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(135deg, #090909 0%, #171717 45%, #050505 100%);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(255,255,255,.08) 45%, transparent 47%),
    linear-gradient(110deg, transparent 0 63%, rgba(255,255,255,.05) 64%, transparent 67%);
  opacity: .55;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4vw, 54px); max-width: 760px; letter-spacing: -1.4px; }
.page-hero p:not(.eyebrow) { color: #d0d0d0; font-size: 15px; margin-top: 10px; max-width: 620px; }

/* CATALOG */
.catalog-section { padding-top: 48px; }
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 38px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 106px;
  border: 1px solid #202020;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.005));
  padding: 22px;
  height: fit-content;
}

.catalog-sidebar h3 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: #9c9c9c;
  text-transform: uppercase;
}

.category-buttons { display: flex; flex-direction: column; gap: 14px; }
.category-group { display: flex; flex-direction: column; gap: 6px; }

.category-button, .category-parent {
  min-height: 46px;
  width: 100%;
  background: #0c0c0c;
  border: 1px solid #242424;
  padding: 0 16px;
  color: #f1f1f1;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-button::after, .category-parent::after { content: "›"; color: #777; font-size: 16px; }
.category-parent::after { content: "⌄"; font-size: 13px; }

.category-button.active, .category-button:hover, .category-parent:hover {
  border-color: #f2f2f2;
  color: #000;
  background: #f2f2f2;
}

.subcategory-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 12px;
  border-left: 1px solid #2a2a2a;
  margin-left: 8px;
}

.subcategory-button {
  min-height: 34px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0 8px;
  color: #9c9c9c;
  font-size: 11px;
  letter-spacing: .7px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}

.subcategory-button:hover, .subcategory-button.active { color: #fff; background: rgba(255,255,255,.045); }

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-bottom: 24px;
  align-items: center;
}

.search-input {
  height: 48px;
  padding: 0 18px;
  background: #0b0b0b;
  border: 1px solid #242424;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.product-count { color: #cfcfcf; font-size: 14px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  background: #0b0b0b;
  border: 1px solid #242424;
  overflow: hidden;
  transition: .2s;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.08), transparent 32%);
  opacity: .35;
}

.product-card:hover { transform: translateY(-4px); border-color: #777; }

.product-image {
  height: 295px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.08), transparent 34%), #111;
  border-bottom: 1px solid #1f1f1f;
  display: grid;
  place-items: center;
  color: #2c2c2c;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 1px;
}

.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-body { padding: 24px 24px 26px; }
.product-category {
  color: #bdbdbd;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.product-model { font-size: 28px; font-weight: 900; letter-spacing: -1px; color: #fff; margin-bottom: 8px; }
.product-name { font-size: 15px; font-weight: 800; color: #f1f1f1; margin-bottom: 10px; }
.product-desc { color: #9d9d9d; font-size: 14px; min-height: 46px; line-height: 1.5; }
.product-actions { border-top: 1px solid #202020; padding-top: 16px; margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.product-actions .btn { min-height: 38px; padding: 0 14px; font-size: 11px; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 100; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.modal-panel {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  margin: 5vh auto;
  background: #080808;
  border: 1px solid var(--line);
}
.modal-close {
  position: sticky; top: 0; margin-left: auto; display: block;
  background: #e8e8e8; color: #000; border: 0; font-size: 34px;
  width: 54px; height: 54px; cursor: pointer; z-index: 4;
}
.modal-product { display: grid; grid-template-columns: 1fr 1fr; }
.modal-product-image { background: #111; min-height: 520px; display:grid; place-items:center; }
.modal-product-image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.modal-product-info { padding: 42px; }
.modal-product-info p { color: var(--muted); line-height: 1.6; }

/* GENERAL PAGES */
.text-page { max-width: 980px; }
.text-page p { color: #bdbdbd; font-size: 18px; line-height: 1.65; }
.news-grid, .video-grid, .catalog-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card, .video-card, .download-card {
  border: 1px solid #242424;
  background: #0b0b0b;
  overflow: hidden;
}
.news-img, .video-img {
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 44%), #111;
  display: grid;
  place-items: center;
  color: #333;
  font-weight: 900;
  font-size: 38px;
}
.news-img img, .video-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body, .video-body, .download-card { padding: 24px; }
.news-date { color: #888; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form, .contact-info {
  border: 1px solid var(--line);
  padding: 32px;
  background: #090909;
}
.contact-form label {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-size: 13px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: #040404;
  color: #fff;
  border: 1px solid var(--line);
  outline: none;
}
.contact-form textarea { min-height: 160px; resize: vertical; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  background: #070707;
  padding: 60px 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-logo { font-size: 44px; }
.site-footer h4 { margin: 0 0 16px; color: #e8e8e8; text-transform: uppercase; }
.site-footer a, .site-footer p { display: block; color: #bdbdbd; margin: 8px 0; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.social-row a:hover { border-color: #e8e8e8; color: #fff; }

/* ADMIN */
.admin-body { background: #f2f2f2; color: #111; font-family: Arial, Helvetica, sans-serif; }
.admin-wrap { width: min(1200px, calc(100% - 32px)); margin: 32px auto; }
.admin-panel { background: #fff; border: 1px solid #ddd; padding: 24px; border-radius: 8px; margin-bottom: 18px; }
.admin-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-nav a { background: #111; color: #fff; padding: 10px 14px; border-radius: 6px; }
.admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form label { font-weight: 700; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%; padding: 10px; border: 1px solid #bbb; border-radius: 4px; margin-top: 5px;
}
.admin-form textarea { min-height: 120px; }
.admin-form .full { grid-column: 1 / -1; }
.admin-btn { background: #111; color: #fff; border: 0; padding: 12px 16px; border-radius: 6px; cursor: pointer; font-weight: 900; }
.admin-btn.light { background:#e8e8e8; color:#000; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { border-bottom: 1px solid #ddd; padding: 10px; text-align: left; vertical-align: top; }
.admin-thumb { width: 70px; height: 50px; object-fit: cover; background: #eee; }
.alert { padding: 12px 14px; margin-bottom: 16px; border-radius: 6px; background: #e8fff0; border: 1px solid #95e4aa; }
.alert.error { background: #fff0f0; border-color: #f0aaaa; }
.editor-note { color:#666; font-size:13px; margin-top:5px; }
pre.help { background:#f4f4f4; padding:12px; overflow:auto; }
.admin-product-picker {
  max-height: 360px;
  overflow: auto;
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 10px;
  margin-top: 8px;
}
.admin-product-option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 8px;
  border-bottom: 1px solid #e5e5e5;
  text-transform: none !important;
  font-size: 13px !important;
}
.admin-product-search {
  margin-top: 8px;
}
.admin-product-option input {
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 1180px) {
  .brand-logo { width: 155px; max-height: 52px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 11px; letter-spacing: 1px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 82px;
    background: #000;
    border-bottom: 1px solid var(--line);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a.active::after { display: none; }
  .lang-switch { display: none; }

  .hero { min-height: auto; }
  .hero::after { opacity: .35; }
  .hero-stats, .category-grid, .cards-3, .featured-layout, .footer-grid,
  .catalog-layout, .contact-layout, .modal-product, .news-grid, .video-grid, .catalog-download-grid {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar { position: static; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .admin-form { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, var(--max)); }
  .brand-logo { width: 138px; max-height: 48px; }
  .logo-text { font-size: 42px; }
  .hero h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-content { padding: 68px 0; }
  .section { padding: 54px 0; }
  .section-title-row { flex-direction: column; align-items: flex-start; }
  .featured-main { min-height: 360px; padding: 24px; }
  .mini-product { grid-template-columns: 1fr; }
  .page-hero { min-height: 150px; padding: 22px 0; }
  .page-hero h1 { font-size: 34px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 245px; }
}


/* =========================================================
   FIX CATEGORIAS CON SUBCATEGORIAS
   Si se ve como boton blanco del navegador, este bloque fuerza el estilo.
   ========================================================= */

.catalog-sidebar .category-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.catalog-sidebar .category-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.catalog-sidebar button.category-button,
.catalog-sidebar button.category-parent {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-height: 46px !important;
  width: 100% !important;
  background: #0c0c0c !important;
  border: 1px solid #242424 !important;
  padding: 0 16px !important;
  color: #f1f1f1 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-radius: 0 !important;
  line-height: 1 !important;
}

.catalog-sidebar button.category-button::after,
.catalog-sidebar button.category-parent::after {
  content: "›" !important;
  color: #777 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.catalog-sidebar button.category-parent::after {
  content: "⌄" !important;
  font-size: 13px !important;
}

.catalog-sidebar button.category-button.active,
.catalog-sidebar button.category-button:hover,
.catalog-sidebar button.category-parent.active,
.catalog-sidebar button.category-parent:hover {
  border-color: #f2f2f2 !important;
  color: #000 !important;
  background: #f2f2f2 !important;
}

.catalog-sidebar button.category-button.active::after,
.catalog-sidebar button.category-button:hover::after,
.catalog-sidebar button.category-parent.active::after,
.catalog-sidebar button.category-parent:hover::after {
  color: #000 !important;
}

.catalog-sidebar .subcategory-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding-left: 12px !important;
  border-left: 1px solid #2a2a2a !important;
  margin-left: 8px !important;
}

.catalog-sidebar button.subcategory-button {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-height: 34px !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  padding: 0 8px !important;
  color: #9c9c9c !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  letter-spacing: .7px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-align: left !important;
  border-radius: 0 !important;
  line-height: 1 !important;
}

.catalog-sidebar button.subcategory-button:hover,
.catalog-sidebar button.subcategory-button.active {
  color: #fff !important;
  background: rgba(255,255,255,.045) !important;
}


/* =========================================================
   FIX FINAL SUBCATEGORIAS
   Todos los botones de categorías usan la misma base .category-button.
   ========================================================= */

.catalog-sidebar .category-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.catalog-sidebar .category-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

.catalog-sidebar .subcategory-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding-left: 12px !important;
  margin-left: 8px !important;
  border-left: 1px solid #2b2b2b !important;
}

.catalog-sidebar .category-button,
.catalog-sidebar button.category-button,
.catalog-sidebar .cat-main,
.catalog-sidebar .cat-sub {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  border-radius: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
  outline: none !important;
}

.catalog-sidebar .category-button.cat-main,
.catalog-sidebar button.category-button.cat-main {
  min-height: 46px !important;
  background: #0c0c0c !important;
  border: 1px solid #242424 !important;
  padding: 0 16px !important;
  color: #f1f1f1 !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  font-weight: 900 !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.catalog-sidebar .category-button.cat-main::after {
  content: "›" !important;
  color: #777 !important;
  font-size: 16px !important;
}

.catalog-sidebar .category-button.cat-sub,
.catalog-sidebar button.category-button.cat-sub {
  min-height: 34px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  padding: 0 8px !important;
  color: #a8a8a8 !important;
  font-size: 11px !important;
  letter-spacing: .65px !important;
  font-weight: 700 !important;
  text-align: left !important;
  display: block !important;
}

.catalog-sidebar .category-button.cat-sub::after {
  content: "" !important;
  display: none !important;
}

.catalog-sidebar .category-button.cat-main:hover,
.catalog-sidebar .category-button.cat-main.active {
  background: #f2f2f2 !important;
  border-color: #f2f2f2 !important;
  color: #000 !important;
}

.catalog-sidebar .category-button.cat-main:hover::after,
.catalog-sidebar .category-button.cat-main.active::after {
  color: #000 !important;
}

.catalog-sidebar .category-button.cat-sub:hover,
.catalog-sidebar .category-button.cat-sub.active {
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
}

/* Achica un poco el banner de productos para que no coma tanta pantalla */
.page-hero {
  min-height: 150px !important;
  padding: 18px 0 20px !important;
}

.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 74px) !important;
}


/* =========================================================
   HOME V2 - Hero más compacto + editor de secciones
   ========================================================= */

.hero {
  min-height: 620px !important;
}

.hero.hero-compact {
  min-height: 460px !important;
}

.hero.hero-medium {
  min-height: 560px !important;
}

.hero.hero-full {
  min-height: calc(100vh - 82px) !important;
}

.hero-content {
  padding: 58px 0 !important;
  max-width: 720px !important;
}

.hero h1 {
  font-size: clamp(38px, 5.8vw, 78px) !important;
  line-height: .96 !important;
  letter-spacing: -2.4px !important;
}

.hero-text {
  font-size: clamp(15px, 1.25vw, 18px) !important;
  margin: 22px 0 28px !important;
  max-width: 620px !important;
}

.hero-stats {
  margin-top: 34px !important;
}

.admin-repeat-list {
  display: grid;
  gap: 12px;
}

.admin-repeat-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr auto;
  gap: 10px;
  align-items: end;
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
}

.admin-repeat-row.three {
  grid-template-columns: 1fr 1.5fr auto;
}

.admin-repeat-row label {
  margin: 0;
}

.admin-small-btn {
  border: 0;
  background: #222;
  color: white;
  padding: 10px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
}

.admin-small-btn.danger {
  background: #b00020;
}

@media (max-width: 1020px) {
  .hero,
  .hero.hero-compact,
  .hero.hero-medium,
  .hero.hero-full {
    min-height: auto !important;
  }

  .admin-repeat-row,
  .admin-repeat-row.three {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   HOME SLIDER ONLY
   Inicio: header + slider horizontal full width + footer
   ========================================================= */

.home-slider {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  background: #050505;
}

#slidesWrap {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.45), rgba(0,0,0,.72)),
    radial-gradient(circle at 74% 30%, rgba(255,255,255,.15), transparent 22%),
    linear-gradient(135deg, #090909, #181818 45%, #050505);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 90px 90px;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 80px 0;
}

.slide-content h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(42px, 6vw, 88px);
  line-height: .95;
  letter-spacing: -3px;
  text-transform: uppercase;
  font-weight: 900;
}

.slide-content p:not(.eyebrow) {
  max-width: 620px;
  color: #d4d4d4;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
  margin: 24px 0 32px;
}

.slider-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 3px;
  border: 0;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
}

.dot.active {
  background: #fff;
}

.slider-arrows {
  position: absolute;
  z-index: 5;
  right: 32px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.arrow-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.arrow-btn:hover {
  background: rgba(255,255,255,.12);
}

@media (max-width: 1020px) {
  .home-slider {
    min-height: 640px;
  }
}

@media (max-width: 620px) {
  .home-slider {
    min-height: 560px;
  }

  .slide-content {
    padding: 52px 0;
  }

  .slide-content h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .slider-arrows {
    display: none;
  }
}


/* =========================================================
   FIX FINAL SLIDER HOME
   Fuerza que los slides se superpongan y no aparezcan uno debajo del otro.
   ========================================================= */

main {
  display: block !important;
}

.home-slider {
  position: relative !important;
  width: 100% !important;
  height: calc(100vh - 82px) !important;
  min-height: 620px !important;
  max-height: 920px !important;
  overflow: hidden !important;
  background: #050505 !important;
}

.home-slider #slidesWrap,
#homeSlider #slidesWrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.home-slider .slide,
#homeSlider .slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1 !important;
  transition: opacity .65s ease, visibility .65s ease !important;
  display: flex !important;
  align-items: center !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.home-slider .slide.active,
#homeSlider .slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
}

.home-slider .slide .container,
#homeSlider .slide .container {
  position: relative !important;
  z-index: 3 !important;
}

.home-slider .slide-content,
#homeSlider .slide-content {
  position: relative !important;
  z-index: 4 !important;
  max-width: 760px !important;
  padding: 72px 0 !important;
}

.home-slider .slide-content h1,
#homeSlider .slide-content h1 {
  font-size: clamp(40px, 5.5vw, 82px) !important;
  line-height: .95 !important;
  letter-spacing: -2.5px !important;
  margin: 0 !important;
}

.home-slider .slider-controls,
#homeSlider .slider-controls {
  position: absolute !important;
  z-index: 10 !important;
  left: 50% !important;
  bottom: 28px !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.home-slider .dot,
#homeSlider .dot {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 42px !important;
  height: 3px !important;
  min-height: 0 !important;
  border: 0 !important;
  background: rgba(255,255,255,.25) !important;
  cursor: pointer !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.home-slider .dot.active,
#homeSlider .dot.active {
  background: #fff !important;
}

.home-slider .slider-arrows,
#homeSlider .slider-arrows {
  position: absolute !important;
  z-index: 10 !important;
  right: 32px !important;
  bottom: 24px !important;
  display: flex !important;
  gap: 8px !important;
}

.home-slider .arrow-btn,
#homeSlider .arrow-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 0 !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  background: rgba(0,0,0,.35) !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 20px !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1020px) {
  .home-slider {
    height: 640px !important;
    min-height: 640px !important;
  }
}

@media (max-width: 620px) {
  .home-slider {
    height: 560px !important;
    min-height: 560px !important;
  }

  .home-slider .slide-content h1,
  #homeSlider .slide-content h1 {
    font-size: 42px !important;
    letter-spacing: -2px !important;
  }

  .home-slider .slider-arrows,
  #homeSlider .slider-arrows {
    display: none !important;
  }
}


/* =========================================================
   FIX SLIDER CON IMAGEN REAL
   Usa <img object-fit: cover> en vez de background-image.
   Esto evita fondos cortados/raros con imágenes 1200x800.
   ========================================================= */

.home-slider {
  height: clamp(520px, 72vh, 760px) !important;
  min-height: 520px !important;
  max-height: 760px !important;
  background: #050505 !important;
}

#slidesWrap {
  position: absolute !important;
  inset: 0 !important;
}

.home-slider .slide,
#homeSlider .slide {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  background: #050505 !important;
}

.slide-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  filter: saturate(.95) contrast(1.02);
}

.slide-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.52) 46%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.55));
}

.home-slider .slide::after,
#homeSlider .slide::after {
  z-index: 2 !important;
}

.home-slider .slide .container,
#homeSlider .slide .container {
  position: relative !important;
  z-index: 3 !important;
}

.home-slider .slide-content,
#homeSlider .slide-content {
  position: relative !important;
  z-index: 4 !important;
  max-width: 760px !important;
  padding: 60px 0 !important;
}

.home-slider .slide-content h1,
#homeSlider .slide-content h1 {
  font-size: clamp(38px, 5vw, 76px) !important;
  line-height: .96 !important;
}

.home-slider .slide-content p:not(.eyebrow),
#homeSlider .slide-content p:not(.eyebrow) {
  max-width: 620px !important;
}

@media (max-width: 1020px) {
  .home-slider {
    height: 620px !important;
    min-height: 620px !important;
  }
}

@media (max-width: 620px) {
  .home-slider {
    height: 540px !important;
    min-height: 540px !important;
  }

  .slide-bg {
    object-position: center center !important;
  }

  .home-slider .slide-content,
  #homeSlider .slide-content {
    padding: 44px 0 !important;
  }
}


/* Admin slider button destination UI */
.slide-admin-item {
  border-left: 5px solid #111;
}

.slide-admin-item h3 {
  margin-bottom: 14px;
}

.link-type-select,
.target-category-select,
.target-subcategory-combo {
  background: #fff;
}


/* =========================================================
   FIX DEFINITIVO HOME SLIDER
   Evita que la imagen quede arriba y el texto abajo.
   ========================================================= */

#homeSlider.home-slider,
.home-slider {
  position: relative !important;
  width: 100% !important;
  height: clamp(520px, 72vh, 760px) !important;
  min-height: 520px !important;
  max-height: 760px !important;
  overflow: hidden !important;
  background: #050505 !important;
}

#slidesWrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

#homeSlider .slide,
.home-slider .slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  background: #050505 !important;
}

#homeSlider .slide > img,
.home-slider .slide > img,
.slide-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  z-index: 0 !important;
}

#homeSlider .slide .container,
.home-slider .slide .container {
  position: relative !important;
  z-index: 3 !important;
}

#homeSlider .slide-content,
.home-slider .slide-content {
  position: relative !important;
  z-index: 4 !important;
  max-width: 760px !important;
  padding: 60px 0 !important;
}

#homeSlider .slide-content h1,
.home-slider .slide-content h1 {
  font-size: clamp(38px, 5vw, 76px) !important;
  line-height: .96 !important;
  letter-spacing: -2.2px !important;
  margin: 0 !important;
}

#homeSlider .slide-content p:not(.eyebrow),
.home-slider .slide-content p:not(.eyebrow) {
  max-width: 620px !important;
  color: #f1f1f1 !important;
  font-size: clamp(15px, 1.35vw, 19px) !important;
  line-height: 1.55 !important;
  margin: 22px 0 30px !important;
}

#homeSlider .slider-controls,
.home-slider .slider-controls {
  position: absolute !important;
  z-index: 10 !important;
  left: 50% !important;
  bottom: 28px !important;
  transform: translateX(-50%) !important;
}

#homeSlider .slider-arrows,
.home-slider .slider-arrows {
  position: absolute !important;
  z-index: 10 !important;
  right: 32px !important;
  bottom: 24px !important;
}

@media (max-width: 620px) {
  #homeSlider.home-slider,
  .home-slider {
    height: 540px !important;
    min-height: 540px !important;
  }
}


/* =========================================================
   ESTETICA PREMIUM SLIDER JAHRO
   Tipografía más limpia, mejor contraste y colores más cuidados.
   ========================================================= */

:root {
  --jahro-accent: #e9e9e9;
  --jahro-cyan-soft: #f08a2a;
}

/* Header más fino */
.site-header {
  background: rgba(0,0,0,.96) !important;
}

.main-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.35px !important;
  color: #b9b9b9 !important;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff !important;
}

.main-nav a.active::after {
  background: #ffffff !important;
  opacity: .8 !important;
}

/* Slider: menos rojo empastado, más escenario/premium */
.slide-overlay,
#homeSlider .slide-overlay,
.home-slider .slide-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.48) 42%, rgba(0,0,0,.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.48)) !important;
}

/* Si el overlay viene inline desde JS, reforzamos con pseudo oscuro más sutil */
#homeSlider .slide::before,
.home-slider .slide::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 25% 42%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(90deg, rgba(0,0,0,.20), transparent 55%) !important;
}

/* Texto del slider */
#homeSlider .slide-content,
.home-slider .slide-content {
  max-width: 720px !important;
  padding: 56px 0 !important;
}

#homeSlider .eyebrow,
.home-slider .eyebrow {
  font-family: 'Oswald', Arial, Helvetica, sans-serif !important;
  color: var(--jahro-cyan-soft) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.6px !important;
  margin-bottom: 14px !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.6) !important;
}

#homeSlider .slide-content h1,
.home-slider .slide-content h1 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(42px, 5.4vw, 88px) !important;
  line-height: .98 !important;
  letter-spacing: -1.6px !important;
  color: #ffffff !important;
  text-shadow: 0 8px 28px rgba(0,0,0,.62) !important;
  max-width: 820px !important;
}

#homeSlider .slide-content p:not(.eyebrow),
.home-slider .slide-content p:not(.eyebrow) {
  font-family: Arial, Helvetica, sans-serif !important;
  color: #f2f2f2 !important;
  font-size: clamp(15px, 1.2vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  max-width: 650px !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.72) !important;
}

/* Botón más sobrio */
#homeSlider .btn,
.home-slider .btn,
#homeSlider .btn-primary,
.home-slider .btn-primary {
  font-family: 'Oswald', Arial, Helvetica, sans-serif !important;
  min-height: 48px !important;
  padding: 0 26px !important;
  background: #f1f1f1 !important;
  color: #050505 !important;
  border: 1px solid #f1f1f1 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.1px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.28) !important;
}

#homeSlider .btn:hover,
.home-slider .btn:hover {
  transform: translateY(-2px) !important;
  background: #ffffff !important;
}

/* Flechas y puntos más prolijos */
#homeSlider .dot,
.home-slider .dot {
  width: 46px !important;
  height: 3px !important;
  background: rgba(255,255,255,.28) !important;
}

#homeSlider .dot.active,
.home-slider .dot.active {
  background: #ffffff !important;
}

#homeSlider .arrow-btn,
.home-slider .arrow-btn {
  background: rgba(0,0,0,.45) !important;
  border-color: rgba(255,255,255,.32) !important;
  color: #ffffff !important;
}

#homeSlider .arrow-btn:hover,
.home-slider .arrow-btn:hover {
  background: rgba(255,255,255,.14) !important;
}

/* Ajuste de altura para que no quede gigante */
#homeSlider.home-slider,
.home-slider {
  height: clamp(540px, 76vh, 780px) !important;
  min-height: 540px !important;
  max-height: 780px !important;
}

/* Footer más coherente con la estética */
.site-footer h4 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif !important;
  letter-spacing: 1px !important;
}

.footer-logo {
  font-family: 'Oswald', Arial, Helvetica, sans-serif !important;
  letter-spacing: -1px !important;
}

@media (max-width: 620px) {
  #homeSlider .slide-content h1,
  .home-slider .slide-content h1 {
    font-size: 42px !important;
    letter-spacing: -1px !important;
  }

  #homeSlider.home-slider,
  .home-slider {
    height: 560px !important;
    min-height: 560px !important;
  }
}


/* =========================================================
   FOOTER PREMIUM
   Mismo logo del header + iconos sociales a color.
   ========================================================= */

.footer-brand {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
  margin-bottom: 10px !important;
}

.footer-brand-logo {
  display: block !important;
  width: clamp(135px, 12vw, 190px) !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.footer-logo {
  font-family: 'Oswald', Arial, Helvetica, sans-serif !important;
  font-size: clamp(34px, 3vw, 46px) !important;
  font-weight: 700 !important;
  letter-spacing: -1px !important;
  line-height: 1 !important;
}

.social-row.social-color {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
}

.social-row.social-color .social-icon {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  margin: 0 !important;
  transition: transform .18s ease, filter .18s ease !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.25) !important;
}

.social-row.social-color .social-icon:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08) saturate(1.1) !important;
}

.social-row.social-color .social-icon span {
  display: block !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #fff !important;
}

.social-row.social-color .instagram {
  background:
    radial-gradient(circle at 30% 110%, #fdf497 0 18%, transparent 19%),
    radial-gradient(circle at 15% 85%, #fd5949 0 28%, transparent 29%),
    linear-gradient(135deg, #405de6, #833ab4 38%, #c13584 62%, #fd1d1d 84%, #fcb045) !important;
}

.social-row.social-color .facebook {
  background: #1877f2 !important;
}

.social-row.social-color .facebook span {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 25px !important;
}

.social-row.social-color .x-twitter {
  background: #2f3842 !important;
}

.social-row.social-color .linkedin {
  background: #0a86c9 !important;
}

.social-row.social-color .youtube {
  background: #ff0000 !important;
}

.social-row.social-color .youtube span {
  font-size: 18px !important;
  transform: translateX(1px);
}

.social-row.social-color .tiktok {
  background: linear-gradient(135deg, #25f4ee 0 18%, #111 19% 72%, #fe2c55 73% 100%) !important;
}

.social-row.social-color .tiktok span {
  font-size: 24px !important;
}

@media (max-width: 620px) {
  .footer-brand-logo {
    width: 145px !important;
  }

  .social-row.social-color .social-icon {
    width: 42px !important;
    height: 42px !important;
  }
}


/* =========================================================
   AJUSTES FOOTER + CONTADOR COMERCIAL
   ========================================================= */

/* Logo del footer más chico */
.footer-brand-logo {
  width: clamp(105px, 8vw, 145px) !important;
  max-height: 42px !important;
}

.footer-logo {
  font-size: clamp(28px, 2.4vw, 38px) !important;
}

/* Iconos subidos desde admin */
.social-row.social-color .social-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: inherit !important;
}

.contact-socials {
  margin-top: 14px !important;
}

/* Contador comercial */
.counter-section {
  padding: 72px 0;
  background: #0a0a0a;
  border-top: 1px solid #1d1d1d;
}

.counter-title-row {
  margin-bottom: 30px;
}

.counter-title-row h2 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 3.8vw, 54px);
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #222;
  border: 1px solid #222;
}

.counter-card {
  background: #111;
  padding: 34px 28px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.counter-value {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 4vw, 64px);
  line-height: .95;
  color: #f08a2a;
  font-weight: 700;
  letter-spacing: -1px;
}

.counter-label {
  margin-top: 12px;
  color: #9a9a9a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 700;
}

.admin-repeat-row {
  grid-template-columns: 1fr 1fr 1.7fr .8fr auto auto !important;
}

@media (max-width: 1020px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-repeat-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 620px) {
  .counter-grid {
    grid-template-columns: 1fr;
  }

  .counter-card {
    min-height: 125px;
    padding: 26px 22px;
  }
}


/* =========================================================
   MENU PREMIUM SIN SELECTOR ES/EN
   ========================================================= */

.header-inner {
  min-height: 82px !important;
  gap: 34px !important;
}

.brand-logo {
  width: clamp(150px, 13vw, 220px) !important;
  max-height: 58px !important;
}

.main-nav {
  margin-left: auto !important;
  gap: clamp(24px, 2.15vw, 38px) !important;
}

.main-nav a {
  font-family: "Arial Narrow", "Oswald", "Roboto Condensed", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  line-height: 1 !important;
  color: #b9b9b9 !important;
  opacity: .92 !important;
  text-transform: uppercase !important;
  transition: color .18s ease, opacity .18s ease, transform .18s ease !important;
}

.main-nav a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-1px) !important;
}

.main-nav a.active {
  color: #ffffff !important;
  opacity: 1 !important;
}

.main-nav a.active::after {
  bottom: -13px !important;
  height: 2px !important;
  background: #ffffff !important;
  opacity: .85 !important;
}

/* Oculta selector de idioma aunque algún HTML viejo lo conserve */
.lang-switch {
  display: none !important;
}

/* Al no estar ES/EN, el menú respira mejor */
@media (max-width: 1180px) {
  .main-nav {
    gap: 18px !important;
  }

  .main-nav a {
    font-size: 12px !important;
    letter-spacing: 1.3px !important;
  }
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 18px !important;
  }
}


/* =========================================================
   PRODUCTO: PDF + CARRUSEL DE HASTA 3 FOTOS
   ========================================================= */

.modal-product-image.product-gallery {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.08), transparent 34%),
    #111 !important;
}

.modal-placeholder {
  width: 100%;
  min-height: 520px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: 1px;
}

.product-gallery #modalProductImage {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  object-fit: contain !important;
  padding: 24px !important;
  background: #111 !important;
}

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.product-gallery-arrow:hover {
  background: rgba(255,255,255,.14);
}

.product-gallery-arrow.prev {
  left: 14px;
}

.product-gallery-arrow.next {
  right: 14px;
}

.product-thumbs {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.product-thumb {
  width: 70px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(0,0,0,.55);
  cursor: pointer;
  opacity: .72;
  overflow: hidden;
}

.product-thumb.active,
.product-thumb:hover {
  opacity: 1;
  border-color: #fff;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.product-actions .btn[href$=".pdf"],
.product-actions .btn[href*=".pdf"] {
  border-color: #e8e8e8;
}

@media (max-width: 1020px) {
  .product-gallery #modalProductImage,
  .modal-placeholder {
    min-height: 360px !important;
  }

  .product-thumbs {
    position: static;
    padding: 12px;
    background: #090909;
  }
}

@media (max-width: 620px) {
  .product-thumb {
    width: 62px;
    height: 48px;
  }
}


/* =========================================================
   CATALOGO: SCROLL INDEPENDIENTE + CATEGORIA A PRIMERA SUB
   ========================================================= */

@media (min-width: 1021px) {
  .catalog-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .catalog-layout {
    height: calc(100vh - 104px) !important;
    min-height: 580px !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  .catalog-sidebar {
    position: relative !important;
    top: auto !important;
    height: calc(100vh - 140px) !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #555 #111;
  }

  .catalog-content {
    height: calc(100vh - 140px) !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 12px !important;
    scrollbar-width: thin;
    scrollbar-color: #555 #111;
  }

  .catalog-sidebar::-webkit-scrollbar,
  .catalog-content::-webkit-scrollbar {
    width: 8px;
  }

  .catalog-sidebar::-webkit-scrollbar-track,
  .catalog-content::-webkit-scrollbar-track {
    background: #111;
  }

  .catalog-sidebar::-webkit-scrollbar-thumb,
  .catalog-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 8px;
  }

  .catalog-toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #050505;
    padding-top: 22px;
    padding-bottom: 18px;
  }
}

/* Si una categoría tiene muchas subcategorías, no se corta */
.catalog-sidebar .category-group.open .subcategory-list {
  max-height: 2200px !important;
  overflow: visible !important;
}


/* =========================================================
   FIX FINAL CATALOGO
   - Inicio del catálogo en TODOS
   - Categorías colapsables
   - Animaciones restauradas
   - Scroll independiente cómodo
   ========================================================= */

/* Subcategorías cerradas por defecto */
.catalog-sidebar .subcategory-list {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transition:
    max-height .32s ease,
    opacity .22s ease,
    padding .22s ease,
    margin .22s ease !important;
}

/* Solo la categoría abierta muestra subcategorías */
.catalog-sidebar .category-group.open .subcategory-list {
  max-height: 2200px !important;
  overflow: visible !important;
  opacity: 1 !important;
  padding-top: 9px !important;
  padding-bottom: 7px !important;
  margin-top: 6px !important;
  margin-bottom: 10px !important;
}

.catalog-sidebar .category-button.cat-main::after {
  transition: transform .22s ease, color .22s ease !important;
}

.catalog-sidebar .category-group.open > .category-button.cat-main::after {
  transform: rotate(90deg) !important;
}

/* Animaciones restauradas */
@keyframes jahroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jahroSoftFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-card {
  opacity: 0;
  transform: translateY(12px);
}

.product-card.is-visible {
  animation: jahroFadeUp .36s ease both;
  animation-delay: calc(var(--anim-order, 0) * 38ms);
}

.product-card:hover {
  transform: translateY(-5px) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

.modal {
  animation: jahroSoftFade .22s ease both;
}

.modal-panel {
  animation: jahroFadeUp .28s ease both;
}

.btn,
.category-button,
.arrow-btn,
.dot,
.product-thumb {
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    opacity .18s ease,
    color .18s ease !important;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Scroll independiente en desktop */
@media (min-width: 1021px) {
  .catalog-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .catalog-layout {
    height: calc(100vh - 104px) !important;
    min-height: 580px !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  .catalog-sidebar {
    position: relative !important;
    top: auto !important;
    height: calc(100vh - 140px) !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #555 #111;
  }

  .catalog-content {
    height: calc(100vh - 140px) !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 12px !important;
    scrollbar-width: thin;
    scrollbar-color: #555 #111;
  }

  .catalog-sidebar::-webkit-scrollbar,
  .catalog-content::-webkit-scrollbar {
    width: 8px;
  }

  .catalog-sidebar::-webkit-scrollbar-track,
  .catalog-content::-webkit-scrollbar-track {
    background: #111;
  }

  .catalog-sidebar::-webkit-scrollbar-thumb,
  .catalog-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 8px;
  }

  .catalog-toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #050505;
    padding-top: 22px;
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   JAHRO - TEMA CLARO FINAL
   PEGAR AL FINAL DE css/styles.css
   Mantiene el ajuste de luz del slider desde admin.
   ========================================================= */

:root {
  --bg: #f4f2ed !important;
  --bg-2: #ebe7de !important;
  --panel: #ffffff !important;
  --panel-2: #f8f6f1 !important;
  --text: #151515 !important;
  --muted: #625d56 !important;
  --line: #d9d3c8 !important;
  --accent: #111111 !important;
  --max: 1180px !important;
}

html,
body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

body {
  background-color: var(--bg) !important;
  background-image:
    linear-gradient(rgba(0,0,0,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.018) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
}

.container {
  width: min(var(--max), calc(100% - 40px)) !important;
}

/* HEADER CLARO */
.site-header,
header.site-header {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.045) !important;
}

.header-inner {
  min-height: 70px !important;
}

.brand-logo {
  width: clamp(145px, 11vw, 205px) !important;
  max-height: 50px !important;
}

.logo-text,
.brand,
.site-logo,
.footer-logo {
  color: #111 !important;
}

.main-nav a {
  color: #57524d !important;
}

.main-nav a:hover,
.main-nav a.active {
  color: #111 !important;
}

.main-nav a.active::after {
  background: #111 !important;
}

/* SLIDER: SOLO fondo de sección claro, NO se pisa overlay configurable */
.home-slider,
#homeSlider.home-slider {
  background: #f4f2ed !important;
}

/* Mantiene texto del slider blanco para fotos oscuras o con overlay */
#homeSlider .slide-content h1,
.home-slider .slide-content h1,
#homeSlider .slide-content p:not(.eyebrow),
.home-slider .slide-content p:not(.eyebrow) {
  color: #ffffff !important;
}

#homeSlider .eyebrow,
.home-slider .eyebrow,
.eyebrow {
  color: #168aad !important;
}

/* CONTADORES CLAROS */
.counter-section {
  background: #f7f3ec !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  color: #111 !important;
}

.counter-title-row h2,
.counter-section h2,
.counter-section h3 {
  color: #111 !important;
}

.counter-grid {
  background: var(--line) !important;
  border-color: var(--line) !important;
}

.counter-card {
  background: #fff !important;
  color: #111 !important;
  border-color: var(--line) !important;
}

.counter-value {
  color: #168aad !important;
}

.counter-label {
  color: #69625b !important;
}

/* HERO PÁGINAS INTERNAS */
.page-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.82), rgba(255,255,255,.94)),
    radial-gradient(circle at 78% 28%, rgba(0,0,0,.035), transparent 18%),
    radial-gradient(circle at 68% 65%, rgba(0,0,0,.025), transparent 22%),
    linear-gradient(135deg, #fbfaf7 0%, #efebe3 45%, #f7f4ef 100%) !important;
  border-bottom: 1px solid var(--line) !important;
}

.page-hero::before {
  opacity: .45 !important;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(0,0,0,.026) 45%, transparent 47%),
    linear-gradient(110deg, transparent 0 63%, rgba(0,0,0,.018) 64%, transparent 67%) !important;
}

.page-hero h1 {
  color: #111 !important;
}

.page-hero p:not(.eyebrow) {
  color: #4e4943 !important;
}

/* BOTONES */
.btn {
  border-color: #d5cec2 !important;
}

.btn-primary {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.btn-outline {
  background: #fff !important;
  color: #111 !important;
  border-color: #d5cec2 !important;
}

.btn-outline:hover {
  background: #f2eee7 !important;
}

/* CATÁLOGO CLARO */
.catalog-section,
.catalog-content,
.catalog-layout,
.products-section {
  background: transparent !important;
  color: #111 !important;
}

.catalog-sidebar {
  background: rgba(255,255,255,.94) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.055) !important;
  color: #111 !important;
}

.catalog-sidebar h3 {
  color: #706b64 !important;
}

.catalog-toolbar {
  background: rgba(244,242,237,.96) !important;
  border: 0 !important;
}

.search-input {
  background: #fff !important;
  border: 1px solid #d8d1c6 !important;
  color: #111 !important;
}

.search-input::placeholder {
  color: #827a72 !important;
}

.product-count {
  color: #4f4943 !important;
}

/* Categorías */
.category-button,
.category-parent {
  background: #fff !important;
  border: 1px solid #d8d1c6 !important;
  color: #111 !important;
}

.category-button::after,
.category-parent::after {
  color: #766f66 !important;
}

.category-button.cat-main.active,
.category-button.cat-main:hover,
.category-parent:hover,
.catalog-sidebar [data-action="all"].active {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

.category-button.cat-main.active::after,
.category-button.cat-main:hover::after,
.category-parent:hover::after,
.catalog-sidebar [data-action="all"].active::after {
  color: #fff !important;
}

/* Subcategorías */
.catalog-sidebar .subcategory-list,
.catalog-sidebar .category-group.open .subcategory-list {
  background: transparent !important;
}

.catalog-sidebar .category-button.cat-sub,
.catalog-sidebar button.category-button.cat-sub,
.catalog-sidebar .subcategory-list .category-button,
.catalog-sidebar .subcategory-list button {
  background: transparent !important;
  color: #4f4a43 !important;
  border: 0 !important;
  border-bottom: 1px solid #e2dbcf !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.catalog-sidebar .category-button.cat-sub:hover,
.catalog-sidebar .category-button.cat-sub.active,
.catalog-sidebar button.category-button.cat-sub:hover,
.catalog-sidebar button.category-button.cat-sub.active,
.catalog-sidebar .subcategory-list .category-button:hover,
.catalog-sidebar .subcategory-list .category-button.active,
.catalog-sidebar .subcategory-list button:hover,
.catalog-sidebar .subcategory-list button.active {
  background: #e9e3d8 !important;
  color: #111111 !important;
  border-bottom-color: #d2c8ba !important;
  opacity: 1 !important;
}

/* CARDS DE PRODUCTO */
.product-card {
  background: #fff !important;
  border: 1px solid #d8d1c6 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.045) !important;
  color: #111 !important;
}

.product-card::before {
  background: linear-gradient(145deg, rgba(0,0,0,.03), transparent 32%) !important;
  opacity: .5 !important;
}

.product-card:hover {
  border-color: #beb5a8 !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.08) !important;
}

.product-image {
  background: #f8f6f1 !important;
  border-bottom: 1px solid #e7e1d7 !important;
  color: #bbb3a7 !important;
}

.product-image img {
  background: transparent !important;
  object-fit: contain !important;
}

.product-category {
  color: #777067 !important;
}

.product-model {
  color: #111 !important;
}

.product-name {
  color: #1c1c1c !important;
}

.product-desc {
  color: #5d5750 !important;
}

/* MODAL */
.modal {
  background: rgba(35,30,24,.52) !important;
}

.modal-panel {
  background: #fbfaf7 !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.18) !important;
  color: #111 !important;
}

.modal-close {
  background: #111 !important;
  color: #fff !important;
}

.modal-product-info {
  background: #fbfaf7 !important;
}

.modal-product-info h2,
.modal-product-info h3 {
  color: #111 !important;
}

.modal-product-info p {
  color: #5d5750 !important;
}

.modal-product-image,
.modal-product-image.product-gallery,
.product-gallery,
.modal-placeholder {
  background: #f7f4ee !important;
}

.modal-product-image.product-gallery::before,
.product-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7f4ee !important;
  z-index: 0;
  pointer-events: none;
}

.modal-product-image.product-gallery > img,
.product-gallery #modalProductImage,
#modalProductImage {
  position: relative !important;
  z-index: 1 !important;
  background: #f7f4ee !important;
  object-fit: contain !important;
}

.product-gallery-arrow,
.product-thumbs {
  z-index: 5 !important;
}

/* CONTACTO / NOVEDADES / VIDEOS / PANELES */
.contact-card,
.contact-form,
.contact-info,
.form-card,
.info-card,
.news-card,
.video-card,
.catalog-card,
.download-card,
.content-card,
.panel,
.card {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  color: #111 !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.055) !important;
}

.contact-card h2,
.contact-card h3,
.contact-form h2,
.contact-form h3,
.contact-info h2,
.contact-info h3,
.form-card h2,
.form-card h3,
.info-card h2,
.info-card h3,
.news-card h3,
.video-card h3 {
  color: #111 !important;
}

.contact-card p,
.contact-form p,
.contact-info p,
.form-card p,
.info-card p,
.news-card p,
.video-card p,
.catalog-card p,
.download-card p,
.content-card p {
  color: #5d5750 !important;
}

.contact-form input,
.contact-form textarea,
.form-card input,
.form-card textarea,
.contact-section input,
.contact-section textarea {
  background: #fff !important;
  border: 1px solid #d8d1c6 !important;
  color: #111 !important;
}

/* FOOTER */
.site-footer {
  background: #eee9df !important;
  border-top: 1px solid var(--line) !important;
  color: #111 !important;
}

.site-footer h4 {
  color: #111 !important;
}

.site-footer a,
.site-footer p {
  color: #4f4943 !important;
}

/* Scroll claro */
@media (min-width: 1021px) {
  .catalog-sidebar,
  .catalog-content {
    scrollbar-color: #b9b0a3 #eee9df !important;
  }

  .catalog-sidebar::-webkit-scrollbar-track,
  .catalog-content::-webkit-scrollbar-track {
    background: #eee9df !important;
  }

  .catalog-sidebar::-webkit-scrollbar-thumb,
  .catalog-content::-webkit-scrollbar-thumb {
    background: #b9b0a3 !important;
  }
}

/* =========================================================
   FIX MOBILE FINAL: SLIDER + MENU + FOTOS PRODUCTO
   Pegar AL FINAL de css/styles.css
   ========================================================= */

/* ---------------------------------------------------------
   1) Botón hamburguesa visible
   --------------------------------------------------------- */
.menu-toggle {
  position: relative !important;
  width: 46px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  margin-left: auto !important;
  border: 1px solid #d6d0c6 !important;
  background: #ffffff !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

.menu-toggle::before {
  content: "☰" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #111111 !important;
  font-size: 25px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.menu-toggle.open::before,
.site-header.menu-open .menu-toggle::before,
body.menu-open .menu-toggle::before {
  content: "×" !important;
  font-size: 31px !important;
}

/* ---------------------------------------------------------
   2) Header y menú desplegable mobile claro
   --------------------------------------------------------- */
@media (max-width: 1020px) {
  .site-header {
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid #d9d3c8 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.08) !important;
  }

  .header-inner {
    min-height: 64px !important;
    gap: 14px !important;
  }

  .brand-logo {
    width: 150px !important;
    max-height: 42px !important;
  }

  .logo-text {
    color: #111111 !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .main-nav {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 64px !important;
    z-index: 100 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px 18px 14px !important;
    background: rgba(255,255,255,.985) !important;
    border-top: 1px solid #eee8dd !important;
    border-bottom: 1px solid #d9d3c8 !important;
    box-shadow: 0 18px 36px rgba(0,0,0,.12) !important;
  }

  .main-nav.open {
    display: flex !important;
  }

  .main-nav a {
    width: 100% !important;
    padding: 13px 6px !important;
    border-bottom: 1px solid #eee8dd !important;
    color: #202020 !important;
    background: transparent !important;
    font-size: 12px !important;
    letter-spacing: 1.35px !important;
    opacity: 1 !important;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #000000 !important;
    background: #f3efe7 !important;
    padding-left: 12px !important;
  }

  .main-nav a.active::after {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   3) Slider mobile: menos recorte
   --------------------------------------------------------- */
@media (max-width: 1020px) {
  #homeSlider.home-slider,
  .home-slider {
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
    overflow: hidden !important;
    background: #111111 !important;
  }

  #homeSlider .slide,
  .home-slider .slide {
    align-items: flex-end !important;
  }

  #homeSlider .slide > img,
  .home-slider .slide > img,
  #homeSlider .slide-bg,
  .home-slider .slide-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 58% center !important;
  }

  #homeSlider .slide-content,
  .home-slider .slide-content {
    max-width: 100% !important;
    padding: 0 0 56px !important;
  }

  #homeSlider .slide-content h1,
  .home-slider .slide-content h1 {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: .98 !important;
    letter-spacing: -1.2px !important;
    max-width: 92vw !important;
  }

  #homeSlider .slide-content p:not(.eyebrow),
  .home-slider .slide-content p:not(.eyebrow) {
    font-size: 14px !important;
    line-height: 1.45 !important;
    max-width: 92vw !important;
    margin: 14px 0 22px !important;
  }

  #homeSlider .eyebrow,
  .home-slider .eyebrow {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }

  #homeSlider .btn,
  .home-slider .btn {
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 10px !important;
  }

  #homeSlider .slider-controls,
  .home-slider .slider-controls {
    bottom: 18px !important;
  }

  #homeSlider .slider-arrows,
  .home-slider .slider-arrows {
    right: 14px !important;
    bottom: 20px !important;
    display: flex !important;
  }

  #homeSlider .arrow-btn,
  .home-slider .arrow-btn {
    width: 38px !important;
    height: 38px !important;
  }
}

/* Celular angosto: prioriza que se vea más imagen completa */
@media (max-width: 620px) {
  #homeSlider.home-slider,
  .home-slider {
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
  }

  #homeSlider .slide > img,
  .home-slider .slide > img,
  #homeSlider .slide-bg,
  .home-slider .slide-bg {
    object-position: 62% center !important;
  }

  #homeSlider .slide-content,
  .home-slider .slide-content {
    padding-bottom: 62px !important;
  }

  #homeSlider .slide-content h1,
  .home-slider .slide-content h1 {
    font-size: 34px !important;
    max-width: 94vw !important;
  }

  #homeSlider .slider-arrows,
  .home-slider .slider-arrows {
    display: flex !important;
  }
}

/* Si preferís ver la imagen completa en mobile, cambiá cover por contain acá.
   Deja franjas si la proporción no coincide, pero no corta casi nada. */
/*
@media (max-width: 620px) {
  #homeSlider .slide > img,
  .home-slider .slide > img,
  #homeSlider .slide-bg,
  .home-slider .slide-bg {
    object-fit: contain !important;
    background: #111 !important;
  }
}
*/

/* ---------------------------------------------------------
   4) Producto: evitar que la foto pise el texto
   --------------------------------------------------------- */
.product-card {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-image {
  position: relative !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 245px !important;
  min-height: 245px !important;
  max-height: 245px !important;
  background: #f8f6f1 !important;
}

.product-image img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 14px !important;
  transform: none !important;
}

.product-body {
  position: relative !important;
  z-index: 2 !important;
  background: #ffffff !important;
  flex: 1 1 auto !important;
}

/* En tamaños intermedios, dos columnas pero con fotos controladas */
@media (max-width: 1020px) {
  .product-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .product-image {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }

  .product-image img {
    padding: 12px !important;
  }
}

/* En ventana angosta, una columna evita que la foto y texto se amontonen */
@media (max-width: 760px) {
  .product-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .product-image {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
  }

  .product-body {
    padding-top: 20px !important;
  }
}

/* Mobile real */
@media (max-width: 620px) {
  .catalog-layout {
    gap: 24px !important;
  }

  .catalog-sidebar {
    padding: 18px !important;
  }

  .catalog-toolbar {
    gap: 12px !important;
  }

  .product-image {
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
  }
}

/* =========================================================
   FIX FINAL CONSOLIDADO JAHRO
   Catálogo visible + compatibilidad notebooks + mobile estable
   Este bloque debe quedar al FINAL del CSS
   ========================================================= */

/* ---------------------------------------------------------
   1) Evita productos invisibles por mezcla de caché CSS/JS
   --------------------------------------------------------- */
.product-grid .product-card,
.products-grid .product-card,
#productsGrid .product-card,
.product-card.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
}

#productsGrid,
.product-grid,
.products-grid {
  min-height: 120px !important;
}

/* ---------------------------------------------------------
   2) En notebooks / ventanas medianas evita que el catálogo
      quede dentro de un scroll raro que oculte las cards.
   --------------------------------------------------------- */
@media (max-width: 1500px), (max-height: 850px) {
  .catalog-layout {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  .catalog-content {
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  .catalog-sidebar {
    position: relative !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* ---------------------------------------------------------
   3) Productos: imagen contenida, nunca pisa el texto
   --------------------------------------------------------- */
.product-card {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-image {
  position: relative !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 245px !important;
  min-height: 245px !important;
  max-height: 245px !important;
  background: #f8f6f1 !important;
}

.product-image img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 14px !important;
  transform: none !important;
  background: transparent !important;
}

.product-body {
  position: relative !important;
  z-index: 2 !important;
  background: #ffffff !important;
  flex: 1 1 auto !important;
}

/* ---------------------------------------------------------
   4) Mobile: botón hamburguesa visible y menú claro
   --------------------------------------------------------- */
.menu-toggle {
  position: relative !important;
  width: 46px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  margin-left: auto !important;
  border: 1px solid #d6d0c6 !important;
  background: #ffffff !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

.menu-toggle::before {
  content: "☰" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #111111 !important;
  font-size: 25px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.menu-toggle.open::before,
.site-header.menu-open .menu-toggle::before,
body.menu-open .menu-toggle::before {
  content: "×" !important;
  font-size: 31px !important;
}

@media (max-width: 1020px) {
  .site-header {
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid #d9d3c8 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.08) !important;
  }

  .header-inner {
    min-height: 64px !important;
    gap: 14px !important;
  }

  .brand-logo {
    width: 150px !important;
    max-height: 42px !important;
  }

  .logo-text {
    color: #111111 !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .main-nav {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 64px !important;
    z-index: 100 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px 18px 14px !important;
    background: rgba(255,255,255,.985) !important;
    border-top: 1px solid #eee8dd !important;
    border-bottom: 1px solid #d9d3c8 !important;
    box-shadow: 0 18px 36px rgba(0,0,0,.12) !important;
  }

  .main-nav.open {
    display: flex !important;
  }

  .main-nav a {
    width: 100% !important;
    padding: 13px 6px !important;
    border-bottom: 1px solid #eee8dd !important;
    color: #202020 !important;
    background: transparent !important;
    font-size: 12px !important;
    letter-spacing: 1.35px !important;
    opacity: 1 !important;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #000000 !important;
    background: #f3efe7 !important;
    padding-left: 12px !important;
  }

  .main-nav a.active::after {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   5) Mobile slider: menos alto y más proporcional
   --------------------------------------------------------- */
@media (max-width: 1020px) {
  #homeSlider.home-slider,
  .home-slider {
    height: clamp(400px, 58vw, 480px) !important;
    min-height: 400px !important;
    max-height: 480px !important;
    overflow: hidden !important;
  }

  #homeSlider .slide,
  .home-slider .slide {
    align-items: flex-end !important;
  }

  #homeSlider .slide > img,
  .home-slider .slide > img,
  #homeSlider .slide-bg,
  .home-slider .slide-bg,
  .slide-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 60% center !important;
  }

  #homeSlider .slide-content,
  .home-slider .slide-content {
    max-width: 94vw !important;
    padding: 0 0 40px !important;
  }

  #homeSlider .eyebrow,
  .home-slider .eyebrow {
    font-size: 10px !important;
    line-height: 1.1 !important;
    margin-bottom: 8px !important;
  }

  #homeSlider .slide-content h1,
  .home-slider .slide-content h1 {
    font-size: clamp(28px, 7.2vw, 40px) !important;
    line-height: .98 !important;
    letter-spacing: -.8px !important;
    max-width: 94vw !important;
  }

  #homeSlider .slide-content p:not(.eyebrow),
  .home-slider .slide-content p:not(.eyebrow) {
    font-size: 12.5px !important;
    line-height: 1.34 !important;
    max-width: 90vw !important;
    margin: 10px 0 14px !important;
  }

  #homeSlider .btn,
  .home-slider .btn {
    min-height: 36px !important;
    padding: 0 15px !important;
    font-size: 9px !important;
  }

  #homeSlider .slider-controls,
  .home-slider .slider-controls {
    bottom: 12px !important;
  }

  #homeSlider .dot,
  .home-slider .dot {
    width: 34px !important;
    height: 3px !important;
  }

  #homeSlider .slider-arrows,
  .home-slider .slider-arrows {
    right: 10px !important;
    bottom: 12px !important;
    display: flex !important;
  }

  #homeSlider .arrow-btn,
  .home-slider .arrow-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 620px) {
  #homeSlider.home-slider,
  .home-slider {
    height: clamp(380px, 86vw, 440px) !important;
    min-height: 380px !important;
    max-height: 440px !important;
  }

  #homeSlider .slide > img,
  .home-slider .slide > img,
  #homeSlider .slide-bg,
  .home-slider .slide-bg,
  .slide-bg {
    object-position: 61% center !important;
  }

  #homeSlider .slide-content,
  .home-slider .slide-content {
    padding-bottom: 38px !important;
  }

  #homeSlider .slide-content h1,
  .home-slider .slide-content h1 {
    font-size: clamp(27px, 7.8vw, 36px) !important;
    line-height: .98 !important;
    max-width: 94vw !important;
  }

  #homeSlider .slide-content p:not(.eyebrow),
  .home-slider .slide-content p:not(.eyebrow) {
    font-size: 12px !important;
    line-height: 1.32 !important;
    margin: 9px 0 13px !important;
  }
}

@media (max-width: 430px), (max-height: 720px) and (max-width: 1020px) {
  #homeSlider.home-slider,
  .home-slider {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
  }

  #homeSlider .slide-content,
  .home-slider .slide-content {
    padding-bottom: 34px !important;
  }

  #homeSlider .slide-content h1,
  .home-slider .slide-content h1 {
    font-size: clamp(25px, 7.5vw, 32px) !important;
  }

  #homeSlider .slide-content p:not(.eyebrow),
  .home-slider .slide-content p:not(.eyebrow) {
    font-size: 11.5px !important;
  }

  #homeSlider .btn,
  .home-slider .btn {
    min-height: 34px !important;
  }
}

/* ---------------------------------------------------------
   6) Producto responsive
   --------------------------------------------------------- */
@media (max-width: 1020px) {
  .product-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .product-image {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }

  .product-image img {
    padding: 12px !important;
  }
}

@media (max-width: 760px) {
  .product-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .product-image {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
  }

  .product-body {
    padding-top: 20px !important;
  }
}

@media (max-width: 620px) {
  .catalog-layout {
    gap: 24px !important;
  }

  .catalog-sidebar {
    padding: 18px !important;
  }

  .catalog-toolbar {
    gap: 12px !important;
  }

  .product-image {
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
  }
}

/* =========================================================
   FIX FINAL CARDS PRODUCTO
   Botones alineados en todas las píldoras
   Pegar AL FINAL de css/styles.css
   ========================================================= */

/* El grid estira todas las cards de la misma fila */
.product-grid,
.products-grid,
#productsGrid {
  align-items: stretch !important;
}

/* Cada tarjeta trabaja en columna */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* La imagen no invade el contenido */
.product-image {
  flex: 0 0 auto !important;
  overflow: hidden !important;
}

.product-image img {
  object-fit: contain !important;
  object-position: center center !important;
}

/* El cuerpo ocupa todo el espacio disponible */
.product-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  background: #ffffff !important;
}

/* Reservas suaves para que los bloques no empujen diferente */
.product-category {
  min-height: 34px !important;
  margin-bottom: 10px !important;
}

.product-model {
  min-height: 42px !important;
  margin-bottom: 8px !important;
}

.product-name {
  min-height: 52px !important;
  margin-bottom: 12px !important;
}

/* La descripción ocupa el espacio flexible y empuja botones abajo */
.product-desc {
  flex: 1 1 auto !important;
  min-height: 126px !important;
  margin-bottom: 18px !important;
  overflow: hidden !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
}

/* Botonera siempre al fondo */
.product-actions {
  margin-top: auto !important;
  padding-top: 16px !important;
  border-top: 1px solid #d8d1c6 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

/* Botones uno al lado del otro */
.product-actions .btn,
.product-actions a.btn,
.product-actions button.btn,
.product-actions .btn-outline,
.product-actions .btn-primary,
.product-actions a,
.product-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 110px !important;
  min-height: 40px !important;
  height: 40px !important;

  padding: 0 16px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

/* Notebooks / ventanas medianas */
@media (max-width: 1500px) {
  .product-desc {
    min-height: 118px !important;
  }

  .product-actions {
    gap: 8px !important;
  }

  .product-actions .btn,
  .product-actions a.btn,
  .product-actions button.btn,
  .product-actions .btn-outline,
  .product-actions .btn-primary,
  .product-actions a,
  .product-actions button {
    min-width: 96px !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 13px !important;
    font-size: 10px !important;
  }
}

/* Tablet */
@media (max-width: 1020px) {
  .product-category,
  .product-model,
  .product-name {
    min-height: 0 !important;
  }

  .product-desc {
    min-height: 105px !important;
    -webkit-line-clamp: 5 !important;
  }
}

/* Mobile de una columna: no forzar alturas gigantes */
@media (max-width: 760px) {
  .product-body {
    height: auto !important;
  }

  .product-desc {
    min-height: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  .product-actions {
    margin-top: 18px !important;
    flex-wrap: nowrap !important;
  }
}

/* Celulares muy angostos: permite que bajen para no romper */
@media (max-width: 430px) {
  .product-actions {
    flex-wrap: wrap !important;
  }

  .product-actions .btn,
  .product-actions a.btn,
  .product-actions button.btn,
  .product-actions .btn-outline,
  .product-actions .btn-primary,
  .product-actions a,
  .product-actions button {
    flex: 1 1 auto !important;
  }
}

/* =========================================================
   VIDEO MODAL / LIGHTBOX JAHRO
   Pegar al final de css/styles.css
   ========================================================= */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 12, 12, .72);
  backdrop-filter: blur(6px);
}

.video-modal.open {
  display: flex;
}

.video-modal-panel {
  width: min(980px, 94vw);
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
  position: relative;
  animation: videoModalIn .18s ease both;
}

@keyframes videoModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  background: #ffffff;
  color: #111111;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.video-modal-close:hover {
  background: #f0e9dd;
}

.video-modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-modal.is-short .video-modal-panel {
  width: min(430px, 92vw);
}

.video-modal.is-short .video-modal-frame {
  aspect-ratio: 9 / 16;
  max-height: min(76vh, 820px);
}

.video-modal-frame iframe,
.video-modal-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.video-modal-title {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: #111;
}

/* Mobile */
@media (max-width: 620px) {
  .video-modal {
    padding: 14px;
  }

  .video-modal-panel {
    width: 100%;
  }

  .video-modal-close {
    top: -44px;
    right: 0;
  }

  .video-modal-title {
    font-size: 13px;
  }
}

/* =========================================================
   FIX HERO CATALOGO CHICO - CSS ACTUAL
   Pegar AL FINAL de css/styles.css
   ========================================================= */

.page-hero {
  min-height: 72px !important;
  padding: 12px 0 12px !important;
  border-bottom: 1px solid #d9d3c8 !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97), rgba(248,244,236,.92), rgba(255,255,255,.97)) !important;
}

.page-hero::before,
.page-hero::after {
  display: none !important;
}

.page-hero .container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.page-hero .eyebrow {
  margin: 0 0 5px !important;
  font-size: 9px !important;
  line-height: 1 !important;
  letter-spacing: 2.2px !important;
  color: #d66a1f !important;
}

.page-hero h1 {
  font-size: clamp(24px, 2.1vw, 34px) !important;
  line-height: 1 !important;
  letter-spacing: -0.5px !important;
  margin: 0 !important;
  max-width: none !important;
  color: #111111 !important;
}

.page-hero p:not(.eyebrow) {
  display: none !important;
}

.catalog-section,
.section {
  padding-top: 18px !important;
}

@media (min-width: 1200px) {
  .page-hero {
    min-height: 78px !important;
    padding: 13px 0 !important;
  }

  .page-hero h1 {
    font-size: clamp(28px, 2.2vw, 38px) !important;
  }
}

@media (max-width: 1500px) {
  .page-hero {
    min-height: 66px !important;
    padding: 10px 0 !important;
  }

  .page-hero h1 {
    font-size: clamp(24px, 2vw, 32px) !important;
  }

  .catalog-section,
  .section {
    padding-top: 14px !important;
  }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: 58px !important;
    padding: 10px 0 !important;
  }

  .page-hero .eyebrow {
    font-size: 8px !important;
    margin-bottom: 4px !important;
  }

  .page-hero h1 {
    font-size: 24px !important;
  }

  .catalog-section,
  .section {
    padding-top: 12px !important;
  }
}

/* OPCIONAL: si querés ocultar todo el bloque superior, descomentá:
.page-hero { display: none !important; }
.catalog-section, .section { padding-top: 22px !important; }
*/

/* =========================================================
   JAHRO - CARDS PRODUCTO LOOK RETAIL PREMIUM
   Pegar AL FINAL de css/styles.css
   ========================================================= */

/*
  Objetivo:
  - Más presencia de producto.
  - Menos aire muerto.
  - Tarjetas más tipo catálogo retail premium.
  - Botones alineados y elegantes.
  - No agranda la tipografía general.
*/

/* ===== Cards premium desktop / notebook ===== */
@media (min-width: 1100px) {

  .product-grid,
  .products-grid,
  #productsGrid {
    gap: 22px !important;
    align-items: stretch !important;
  }

  .product-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;

    background: #fffdfa !important;
    border: 1px solid #d8d1c6 !important;
    box-shadow: 0 14px 32px rgba(26, 22, 18, .055) !important;

    transition:
      transform .22s ease,
      box-shadow .22s ease,
      border-color .22s ease !important;
  }

  .product-card:hover {
    transform: translateY(-4px) !important;
    border-color: #bfb4a5 !important;
    box-shadow: 0 22px 46px rgba(26, 22, 18, .105) !important;
  }

  .product-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    border: 1px solid rgba(255, 255, 255, .65) !important;
    z-index: 2 !important;
  }

  /* Más protagonismo a la imagen */
  .product-image {
    height: 305px !important;
    min-height: 305px !important;
    max-height: 305px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;

    background:
      radial-gradient(circle at 50% 38%, rgba(0,0,0,.035), transparent 38%),
      linear-gradient(180deg, #fbfaf7 0%, #f2eee6 100%) !important;

    border-bottom: 1px solid #ded5c8 !important;
  }

  .product-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    padding: 12px !important;
    filter: drop-shadow(0 10px 12px rgba(0,0,0,.12)) !important;

    transition: transform .22s ease, filter .22s ease !important;
  }

  .product-card:hover .product-image img {
    transform: scale(1.035) !important;
    filter: drop-shadow(0 14px 16px rgba(0,0,0,.16)) !important;
  }

  /* Cuerpo más compacto */
  .product-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;

    padding: 17px 18px 16px !important;

    background:
      linear-gradient(180deg, #ffffff 0%, #fffdfa 100%) !important;
  }

  .product-category {
    margin: 0 0 8px !important;

    color: #6d655d !important;
    font-size: 10px !important;
    line-height: 1.22 !important;
    letter-spacing: 1.35px !important;
    font-weight: 900 !important;

    min-height: 26px !important;
    max-height: 32px !important;
    overflow: hidden !important;
  }

  .product-model {
    margin: 0 0 6px !important;

    color: #090909 !important;
    line-height: .98 !important;

    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
  }

  .product-name {
    margin: 0 0 10px !important;

    color: #111111 !important;
    line-height: 1.18 !important;

    min-height: 38px !important;
    max-height: 44px !important;

    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .product-desc {
    flex: 1 1 auto !important;

    margin: 0 0 10px !important;

    color: #4f4841 !important;
    line-height: 1.34 !important;

    min-height: 64px !important;
    max-height: 78px !important;

    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
  }

  /* Línea fina antes de botones */
  .product-actions {
    margin-top: auto !important;
    padding-top: 12px !important;

    border-top: 1px solid #d8d1c6 !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .product-actions .btn,
  .product-actions a,
  .product-actions button {
    min-width: 96px !important;
    width: auto !important;

    min-height: 38px !important;
    height: 38px !important;

    padding: 0 14px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important;
    flex: 0 0 auto !important;

    font-size: 10px !important;
    letter-spacing: .9px !important;

    transition:
      background-color .18s ease,
      color .18s ease,
      border-color .18s ease,
      transform .18s ease !important;
  }

  .product-actions .btn:hover,
  .product-actions a:hover,
  .product-actions button:hover {
    transform: translateY(-1px) !important;
  }

  .product-actions .btn-outline,
  .product-actions button.btn-outline,
  .product-actions a.btn-outline {
    background: #fffdfa !important;
    border: 1px solid #cfc5b7 !important;
    color: #111111 !important;
  }

  .product-actions .btn-outline:hover,
  .product-actions button.btn-outline:hover,
  .product-actions a.btn-outline:hover {
    background: #eee6d8 !important;
    border-color: #b7aa98 !important;
  }

  .product-actions .btn-primary,
  .product-actions a.btn-primary,
  .product-actions button.btn-primary {
    background: #101010 !important;
    border: 1px solid #101010 !important;
    color: #ffffff !important;
  }

  .product-actions .btn-primary:hover,
  .product-actions a.btn-primary:hover,
  .product-actions button.btn-primary:hover {
    background: #d66a1f !important;
    border-color: #d66a1f !important;
  }
}

/* ===== Notebooks con poca altura: mismo look, más compacto ===== */
@media (min-width: 1100px) and (max-height: 820px) {

  .product-grid,
  .products-grid,
  #productsGrid {
    gap: 18px !important;
  }

  .product-image {
    height: 235px !important;
    min-height: 235px !important;
    max-height: 235px !important;
  }

  .product-image img {
    padding: 10px !important;
  }

  .product-body {
    padding: 14px 15px 13px !important;
  }

  .product-category {
    margin-bottom: 6px !important;
    font-size: 8.8px !important;
    line-height: 1.16 !important;
    min-height: 22px !important;
    max-height: 28px !important;
  }

  .product-model {
    margin-bottom: 5px !important;
    min-height: 30px !important;
  }

  .product-name {
    margin-bottom: 7px !important;
    min-height: 32px !important;
    max-height: 38px !important;
  }

  .product-desc {
    margin-bottom: 8px !important;
    min-height: 50px !important;
    max-height: 62px !important;
    line-height: 1.28 !important;
    -webkit-line-clamp: 3 !important;
  }

  .product-actions {
    padding-top: 9px !important;
    gap: 7px !important;
  }

  .product-actions .btn,
  .product-actions a,
  .product-actions button {
    min-width: 84px !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 10px !important;
    font-size: 8.8px !important;
  }
}

/* ===== Refuerzo extra para altura muy justa ===== */
@media (min-width: 1300px) and (max-width: 1700px) and (max-height: 760px) {

  .product-image {
    height: 215px !important;
    min-height: 215px !important;
    max-height: 215px !important;
  }

  .product-body {
    padding: 13px 14px 12px !important;
  }

  .product-desc {
    min-height: 42px !important;
    max-height: 54px !important;
    -webkit-line-clamp: 3 !important;
  }
}

/* ===== Mobile: mantiene comportamiento natural ===== */
@media (max-width: 760px) {

  .product-card {
    overflow: hidden !important;
  }

  .product-image {
    min-height: 260px !important;
    background: #f8f4ec !important;
  }

  .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 14px !important;
  }

  .product-body {
    padding: 18px !important;
  }

  .product-desc {
    display: block !important;
    overflow: visible !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .product-actions {
    margin-top: 18px !important;
    display: flex !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 430px) {
  .product-actions {
    flex-wrap: wrap !important;
  }

  .product-actions .btn,
  .product-actions a,
  .product-actions button {
    flex: 1 1 auto !important;
  }
}
/* =========================================================
   CATÁLOGOS - TARJETAS CON IMAGEN + CENTRADO AUTOMÁTICO
   Pegar al final de css/styles.css
   ========================================================= */

.catalogos-download-section {
  min-height: calc(100vh - 230px) !important;
  display: flex !important;
  align-items: center !important;
  padding-top: 28px !important;
  padding-bottom: 56px !important;
}

.catalog-download-grid-premium,
.catalog-download-grid {
  width: 100% !important;
  min-height: 360px !important;

  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px)) !important;
  justify-content: center !important;
  align-content: center !important;
  align-items: stretch !important;

  gap: 28px !important;
}

.catalog-download-card-premium,
.catalog-download-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;

  background: #fffdfa !important;
  border: 1px solid #d8d1c6 !important;
  box-shadow: 0 16px 34px rgba(26, 22, 18, .065) !important;

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.catalog-download-card-premium:hover,
.catalog-download-card:hover {
  transform: translateY(-4px) !important;
  border-color: #bfb4a5 !important;
  box-shadow: 0 24px 48px rgba(26, 22, 18, .11) !important;
}

.catalog-download-image {
  height: 230px !important;
  min-height: 230px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background:
    radial-gradient(circle at 50% 40%, rgba(0,0,0,.04), transparent 42%),
    linear-gradient(180deg, #fbfaf7 0%, #f2eee6 100%) !important;

  border-bottom: 1px solid #ded5c8 !important;
}

.catalog-download-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 18px !important;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)) !important;
}

.catalog-placeholder {
  font-size: 42px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  color: #c1b8aa !important;
}

.catalog-download-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 22px !important;
}

.catalog-download-body h3,
.catalog-download-card h3 {
  margin: 0 0 12px !important;
  color: #111111 !important;
  font-size: 19px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
}

.catalog-download-body p,
.catalog-download-card p {
  flex: 1 1 auto !important;
  margin: 0 0 18px !important;
  color: #4f4841 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.catalog-download-actions {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid #d8d1c6 !important;
}

.catalog-no-file {
  display: inline-flex !important;
  min-height: 38px !important;
  align-items: center !important;
  color: #777 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* Si hay pocos catálogos, quedan centrados y no tirados a la izquierda */
.catalog-download-grid-premium:has(.catalog-download-card-premium:only-child),
.catalog-download-grid:has(.catalog-download-card:only-child) {
  grid-template-columns: minmax(280px, 360px) !important;
}

/* Mobile */
@media (max-width: 760px) {
  .catalogos-download-section {
    min-height: auto !important;
    align-items: flex-start !important;
    padding-top: 22px !important;
    padding-bottom: 36px !important;
  }

  .catalog-download-grid-premium,
  .catalog-download-grid {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .catalog-download-image {
    height: 210px !important;
    min-height: 210px !important;
  }
}

/* =========================================================
   JAHRO - PALETA CLARA PROFESIONAL / RETAIL TÉCNICO
   Pegar AL FINAL de css/styles.css
   ========================================================= */

/*
  Paleta recomendada:
  - Fondo general cálido técnico, no blanco puro.
  - Cards blancas premium.
  - Negro para lectura y botones.
  - Cian petróleo como acento JAHRO.
*/

:root {
  --bg: #f4f1ea !important;
  --bg-2: #ebe6dc !important;
  --panel: #fffdfa !important;
  --panel-2: #f7f3ec !important;
  --text: #111111 !important;
  --muted: #5f5a54 !important;
  --line: #d6cec0 !important;
  --accent: #d66a1f !important;
  --accent-2: #f08a2a !important;

  --jahro-bg: #f4f1ea !important;
  --jahro-bg-soft: #ebe6dc !important;
  --jahro-card: #fffdfa !important;
  --jahro-card-soft: #f7f3ec !important;
  --jahro-text: #111111 !important;
  --jahro-muted: #5f5a54 !important;
  --jahro-line: #d6cec0 !important;
  --jahro-accent: #d66a1f !important;
  --jahro-accent-light: #f08a2a !important;
}

/* Fondo general */
html,
body {
  background-color: #f4f1ea !important;
  color: #111111 !important;
}

/* Fondo con grilla más sutil y profesional */
body {
  background:
    linear-gradient(rgba(17,17,17,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.026) 1px, transparent 1px),
    #f4f1ea !important;
  background-size: 72px 72px !important;
}

/* Header claro, limpio */
.site-header {
  background: rgba(255,253,250,.96) !important;
  border-bottom: 1px solid #d6cec0 !important;
  box-shadow: 0 10px 28px rgba(26, 22, 18, .045) !important;
}

.site-header.is-scrolled,
.site-header.scrolled {
  background: rgba(255,253,250,.98) !important;
  box-shadow: 0 12px 32px rgba(26, 22, 18, .07) !important;
}

/* Menú */
.main-nav a,
.site-header a,
.nav-link {
  color: #34312d !important;
}

.main-nav a:hover,
.main-nav a.active,
.nav-link:hover,
.nav-link.active {
  color: #111111 !important;
}

.main-nav a.active::after,
.nav-link.active::after {
  background: #111111 !important;
}

.main-nav a:hover::after,
.nav-link:hover::after {
  background: #d66a1f !important;
}

/* Logo oscuro en header claro */
.brand,
.brand-logo,
.site-logo {
  color: #2b2b2b !important;
}

/* Heroes / títulos de página */
.page-hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(214,106,31,.06), transparent 28%),
    linear-gradient(100deg, #fffdfa 0%, #f7f3ec 45%, #f4f1ea 100%) !important;
  border-bottom: 1px solid #d6cec0 !important;
  color: #111111 !important;
}

.page-hero .eyebrow,
.eyebrow,
.section-eyebrow {
  color: #d66a1f !important;
}

.page-hero h1,
.page-title,
.section-title,
h1, h2, h3 {
  color: #111111 !important;
}

.page-hero p:not(.eyebrow),
.section-lead,
.lead {
  color: #5f5a54 !important;
}

/* Secciones */
.section,
.catalog-section,
.catalogos-download-section,
.products-section,
.content-section {
  background-color: transparent !important;
}

/* Cards generales */
.card,
.product-card,
.catalog-download-card,
.catalog-download-card-premium,
.download-card,
.video-card,
.news-card,
.feature-card,
.stat-card {
  background: #fffdfa !important;
  border-color: #d6cec0 !important;
  color: #111111 !important;
  box-shadow: 0 14px 34px rgba(26, 22, 18, .055) !important;
}

.card:hover,
.product-card:hover,
.catalog-download-card:hover,
.catalog-download-card-premium:hover,
.download-card:hover,
.video-card:hover,
.news-card:hover,
.feature-card:hover {
  border-color: #bfb4a5 !important;
  box-shadow: 0 24px 50px rgba(26, 22, 18, .105) !important;
}

/* Fondos internos de imágenes */
.product-image,
.catalog-download-image,
.video-thumb,
.card-image,
.news-image {
  background:
    radial-gradient(circle at 50% 40%, rgba(0,0,0,.035), transparent 40%),
    linear-gradient(180deg, #fbfaf7 0%, #f1ece3 100%) !important;
  border-color: #ded5c8 !important;
}

/* Textos de producto/card */
.product-category,
.catalog-download-body p,
.product-desc,
.card p,
.news-card p,
.video-card p {
  color: #5f5a54 !important;
}

.product-model,
.product-name,
.catalog-download-body h3,
.card h3,
.news-card h3,
.video-card h3 {
  color: #111111 !important;
}

/* Sidebar categorías */
.catalog-sidebar {
  background: rgba(255,253,250,.72) !important;
  border-color: #d6cec0 !important;
  box-shadow: 0 14px 34px rgba(26, 22, 18, .045) !important;
}

.catalog-sidebar h3 {
  color: #6d655d !important;
}

.category-button,
.category-parent,
.catalog-sidebar .category-button.cat-main,
.catalog-sidebar button.category-button.cat-main {
  background: #101010 !important;
  color: #ffffff !important;
  border-color: #101010 !important;
}

.category-button:hover,
.category-parent:hover,
.catalog-sidebar .category-button.cat-main:hover,
.catalog-sidebar button.category-button.cat-main:hover {
  background: #d66a1f !important;
  border-color: #d66a1f !important;
  color: #ffffff !important;
}

.category-button.active,
.category-parent.active,
.catalog-sidebar .category-button.cat-main.active,
.catalog-sidebar button.category-button.cat-main.active {
  background: #f0ece4 !important;
  border-color: #d6cec0 !important;
  color: #111111 !important;
}

.category-button.active:hover,
.category-parent.active:hover {
  background: #e8e1d6 !important;
  color: #111111 !important;
}

/* Subcategorías */
.subcategory-list,
.subcategory-panel {
  border-color: #d6cec0 !important;
}

.subcategory-button,
.catalog-sidebar .category-button.cat-sub,
.catalog-sidebar button.category-button.cat-sub {
  color: #6d655d !important;
  background: transparent !important;
}

.subcategory-button:hover,
.catalog-sidebar .category-button.cat-sub:hover,
.catalog-sidebar button.category-button.cat-sub:hover,
.subcategory-button.active,
.catalog-sidebar .category-button.cat-sub.active,
.catalog-sidebar button.category-button.cat-sub.active {
  background: #e8e1d6 !important;
  color: #111111 !important;
}

/* Buscadores / formularios */
input,
textarea,
select,
.search-input {
  background: #fffdfa !important;
  color: #111111 !important;
  border: 1px solid #d6cec0 !important;
}

input::placeholder,
textarea::placeholder,
.search-input::placeholder {
  color: #8b847c !important;
}

input:focus,
textarea:focus,
select:focus,
.search-input:focus {
  border-color: #d66a1f !important;
  box-shadow: 0 0 0 3px rgba(214,106,31,.14) !important;
  outline: none !important;
}

/* Botones */
.btn,
button,
.btn-outline,
.btn-primary,
.product-actions .btn,
.catalog-download-actions .btn,
.catalog-download-actions a,
.product-actions a,
.product-actions button {
  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease !important;
}

.btn-primary,
a.btn-primary,
button.btn-primary,
.product-actions .btn-primary,
.catalog-download-actions .btn,
.catalog-download-actions a,
.catalog-download-actions a.btn {
  background: #101010 !important;
  border-color: #101010 !important;
  color: #ffffff !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.product-actions .btn-primary:hover,
.catalog-download-actions .btn:hover,
.catalog-download-actions a:hover,
.catalog-download-actions a.btn:hover {
  background: #d66a1f !important;
  border-color: #d66a1f !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.btn-outline,
a.btn-outline,
button.btn-outline,
.product-actions .btn-outline {
  background: #fffdfa !important;
  border-color: #cfc5b7 !important;
  color: #111111 !important;
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover,
.product-actions .btn-outline:hover {
  background: #e8e1d6 !important;
  border-color: #b7aa98 !important;
  color: #111111 !important;
}

/* Líneas divisorias */
hr,
.product-actions,
.catalog-download-actions,
.card-actions {
  border-color: #d6cec0 !important;
}

/* Footer */
.site-footer {
  background: #ece6dc !important;
  color: #111111 !important;
  border-top: 1px solid #d6cec0 !important;
}

.site-footer h3,
.site-footer h4,
.site-footer .footer-title {
  color: #111111 !important;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #5f5a54 !important;
}

.site-footer a:hover {
  color: #d66a1f !important;
}

/* Bloque de números del inicio */
.stats-section,
.numbers-section {
  background: #f4f1ea !important;
}

.stat-card {
  background: #fffdfa !important;
  border-color: #d6cec0 !important;
}

.stat-number,
.stat-value {
  color: #d66a1f !important;
}

.stat-label {
  color: #5f5a54 !important;
}

/* Modales */
.modal,
.product-modal,
.modal-content {
  background: #fffdfa !important;
  color: #111111 !important;
}

.modal-backdrop,
.modal-overlay {
  background: rgba(17,17,17,.72) !important;
}

.modal-close,
.close-modal {
  background: #101010 !important;
  color: #ffffff !important;
}

.modal-close:hover,
.close-modal:hover {
  background: #d66a1f !important;
}

/* Scrollbar más elegante */
* {
  scrollbar-color: #bfb4a5 #f4f1ea;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #f4f1ea;
}

::-webkit-scrollbar-thumb {
  background: #c9beae;
  border: 3px solid #f4f1ea;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d66a1f;
}

/* Mobile */
@media (max-width: 760px) {
  .site-header {
    background: #fffdfa !important;
  }

  .mobile-menu,
  .nav-drawer,
  .main-nav.is-open {
    background: #fffdfa !important;
    border-color: #d6cec0 !important;
  }

  .mobile-menu a,
  .nav-drawer a,
  .main-nav.is-open a {
    color: #111111 !important;
  }

  .mobile-menu a:hover,
  .nav-drawer a:hover,
  .main-nav.is-open a:hover {
    color: #d66a1f !important;
  }

  .menu-toggle,
  .hamburger {
    background-color: #fffdfa !important;
    background-image:
      linear-gradient(#111111, #111111),
      linear-gradient(#111111, #111111),
      linear-gradient(#111111, #111111) !important;
    background-repeat: no-repeat !important;
    background-size: 22px 2px, 22px 2px, 22px 2px !important;
    background-position: center calc(50% - 8px), center 50%, center calc(50% + 8px) !important;
    border: 1px solid #d6cec0 !important;
    color: #111111 !important;
  }

  .menu-toggle span,
  .hamburger span {
    background: #111111 !important;
  }
}

/* =========================================================
   JAHRO - LOOK CLARO MODERNO / PREMIUM
   Versión 2026 - pegar AL FINAL de styles.css
   ========================================================= */

/*
  Idea visual:
  - Fondo claro moderno, más limpio que el beige anterior.
  - Paneles blanco cálido.
  - Bordes suaves.
  - Negro grafito para identidad fuerte.
  - Azul petróleo / cian apagado solo como acento.
*/

:root {
  --bg: #f6f5f1 !important;
  --bg-2: #eeebe4 !important;
  --panel: #ffffff !important;
  --panel-2: #faf8f3 !important;
  --text: #121212 !important;
  --muted: #66615a !important;
  --line: #ddd6ca !important;
  --accent: #d66a1f !important;
  --accent-2: #f08a2a !important;
}

/* Base general */
html,
body,
.page-main,
main {
  background-color: #f6f5f1 !important;
  color: #121212 !important;
}

body {
  background:
    linear-gradient(rgba(18,18,18,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,18,18,.022) 1px, transparent 1px),
    radial-gradient(circle at 72% 12%, rgba(214,106,31,.06), transparent 26%),
    #f6f5f1 !important;
  background-size: 74px 74px, 74px 74px, auto, auto !important;
}

/* Header claro premium */
.site-header,
#siteHeader,
header.site-header {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid #ddd6ca !important;
  box-shadow: 0 8px 28px rgba(22, 18, 14, .045) !important;
  backdrop-filter: blur(10px) !important;
}

.header-inner {
  min-height: 78px !important;
}

.brand-logo {
  filter: none !important;
}

/* Menú */
.main-nav a,
.site-header nav a,
#siteHeader nav a {
  color: #56524c !important;
  font-family: "Arial Narrow", "Oswald", "Roboto Condensed", Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.75px !important;
}

.main-nav a:hover,
.site-header nav a:hover,
#siteHeader nav a:hover,
.main-nav a.active,
.site-header nav a.active,
#siteHeader nav a.active {
  color: #111111 !important;
}

.main-nav a.active::after,
.site-header nav a.active::after,
#siteHeader nav a.active::after {
  background: #111111 !important;
  height: 2px !important;
  opacity: .9 !important;
}

.main-nav a:hover::after {
  background: #d66a1f !important;
}

/* Hero de páginas: menos pesado, más editorial */
.page-hero,
#pageHero {
  min-height: 128px !important;
  padding: 18px 0 18px !important;
  background:
    radial-gradient(circle at 76% 0%, rgba(214,106,31,.08), transparent 28%),
    linear-gradient(100deg, #ffffff 0%, #fbf9f4 44%, #f1eee7 100%) !important;
  border-bottom: 1px solid #1b1b1b !important;
  color: #121212 !important;
}

.page-hero::before,
.page-hero::after {
  opacity: .04 !important;
}

.page-hero .eyebrow,
.eyebrow,
.section-eyebrow {
  color: #d66a1f !important;
  letter-spacing: 2.4px !important;
  font-weight: 900 !important;
}

.page-hero h1,
.page-title {
  color: #111111 !important;
  font-size: clamp(30px, 3.5vw, 48px) !important;
  letter-spacing: -1px !important;
}

.page-hero p:not(.eyebrow) {
  color: #66615a !important;
}

/* Secciones */
.section,
.catalog-section,
.products-section,
.catalogos-download-section,
.content-section {
  background: transparent !important;
}

/* Layout productos más limpio */
.catalog-section {
  padding-top: 24px !important;
}

.catalog-layout {
  gap: 34px !important;
}

/* Sidebar categorías */
.catalog-sidebar {
  background: rgba(255,255,255,.72) !important;
  border: 1px solid #ddd6ca !important;
  box-shadow: 0 18px 45px rgba(22, 18, 14, .045) !important;
}

.catalog-sidebar h3 {
  color: #6f6960 !important;
  letter-spacing: 2px !important;
}

/* Botones categorías */
.catalog-sidebar .category-button.cat-main,
.catalog-sidebar button.category-button.cat-main,
.category-button,
.category-parent {
  background: #171717 !important;
  border-color: #171717 !important;
  color: #ffffff !important;
}

.catalog-sidebar .category-button.cat-main:hover,
.catalog-sidebar button.category-button.cat-main:hover,
.category-button:hover,
.category-parent:hover {
  background: #d66a1f !important;
  border-color: #d66a1f !important;
  color: #ffffff !important;
}

.catalog-sidebar .category-button.cat-main.active,
.catalog-sidebar button.category-button.cat-main.active,
.category-button.active,
.category-parent.active {
  background: #ffffff !important;
  border-color: #d3cabc !important;
  color: #121212 !important;
  box-shadow: inset 4px 0 0 #d66a1f !important;
}

.catalog-sidebar .category-button.cat-main.active::after,
.catalog-sidebar button.category-button.cat-main.active::after,
.category-button.active::after,
.category-parent.active::after {
  color: #d66a1f !important;
}

/* Subcategorías */
.catalog-sidebar .subcategory-list,
.subcategory-list {
  border-left-color: #d3cabc !important;
}

.catalog-sidebar .category-button.cat-sub,
.catalog-sidebar button.category-button.cat-sub,
.subcategory-button {
  color: #746d63 !important;
  border-bottom-color: rgba(35, 31, 27, .09) !important;
  background: transparent !important;
}

.catalog-sidebar .category-button.cat-sub:hover,
.catalog-sidebar button.category-button.cat-sub:hover,
.catalog-sidebar .category-button.cat-sub.active,
.catalog-sidebar button.category-button.cat-sub.active,
.subcategory-button:hover,
.subcategory-button.active {
  color: #111111 !important;
  background: #eee9df !important;
}

/* Toolbar */
.catalog-toolbar {
  background: transparent !important;
}

.search-input,
input,
textarea,
select {
  background: #ffffff !important;
  border: 1px solid #d7cec0 !important;
  color: #121212 !important;
  box-shadow: 0 10px 24px rgba(22, 18, 14, .035) !important;
}

.search-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: #8a8379 !important;
}

.search-input:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: #d66a1f !important;
  box-shadow: 0 0 0 3px rgba(214,106,31,.14), 0 10px 24px rgba(22, 18, 14, .045) !important;
  outline: none !important;
}

.product-count {
  color: #5d574f !important;
}

/* Cards producto: retail premium moderno */
.product-card {
  background: #ffffff !important;
  border: 1px solid #d8d0c3 !important;
  box-shadow: 0 16px 38px rgba(22, 18, 14, .055) !important;
}

.product-card::before {
  background: linear-gradient(145deg, rgba(255,255,255,.7), transparent 35%) !important;
  opacity: .42 !important;
}

.product-card:hover {
  border-color: #bfb4a5 !important;
  box-shadow: 0 24px 52px rgba(22, 18, 14, .11) !important;
  transform: translateY(-4px) !important;
}

.product-image {
  background:
    radial-gradient(circle at 50% 42%, rgba(214,106,31,.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3efe8 100%) !important;
  border-bottom: 1px solid #ddd6ca !important;
}

.product-image img {
  filter: drop-shadow(0 13px 16px rgba(0,0,0,.12)) !important;
}

.product-body {
  background: #ffffff !important;
}

.product-category {
  color: #6b645c !important;
}

.product-model {
  color: #111111 !important;
}

.product-name {
  color: #161616 !important;
}

.product-desc {
  color: #504a43 !important;
}

.product-actions {
  border-top-color: #d8d0c3 !important;
}

/* Botones */
.btn,
button,
a.btn,
.product-actions .btn,
.product-actions a,
.catalog-download-actions .btn,
.catalog-download-actions a {
  border-radius: 0 !important;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease,
    box-shadow .18s ease !important;
}

.btn-primary,
a.btn-primary,
button.btn-primary,
.product-actions .btn-primary,
.product-actions a.btn-primary,
.catalog-download-actions .btn,
.catalog-download-actions a,
.admin-btn {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.product-actions .btn-primary:hover,
.product-actions a.btn-primary:hover,
.catalog-download-actions .btn:hover,
.catalog-download-actions a:hover,
.admin-btn:hover {
  background: #d66a1f !important;
  border-color: #d66a1f !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.btn-outline,
a.btn-outline,
button.btn-outline,
.product-actions .btn-outline,
.product-actions a.btn-outline {
  background: #ffffff !important;
  border-color: #cfc5b7 !important;
  color: #111111 !important;
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover,
.product-actions .btn-outline:hover,
.product-actions a.btn-outline:hover {
  background: #eee9df !important;
  border-color: #b7aa98 !important;
  color: #111111 !important;
}

/* Cards generales / novedades / videos / catálogos */
.card,
.news-card,
.video-card,
.download-card,
.catalog-download-card,
.catalog-download-card-premium,
.info-card,
.stat-card,
.feature-card {
  background: #ffffff !important;
  border-color: #d8d0c3 !important;
  color: #111111 !important;
  box-shadow: 0 16px 38px rgba(22, 18, 14, .055) !important;
}

.card:hover,
.news-card:hover,
.video-card:hover,
.download-card:hover,
.catalog-download-card:hover,
.catalog-download-card-premium:hover,
.info-card:hover,
.feature-card:hover {
  border-color: #bfb4a5 !important;
  box-shadow: 0 24px 52px rgba(22, 18, 14, .105) !important;
}

.card p,
.news-card p,
.video-card p,
.download-card p,
.catalog-download-body p,
.info-card p {
  color: #504a43 !important;
}

.card h3,
.news-card h3,
.video-card h3,
.download-card h3,
.catalog-download-body h3,
.info-card h3 {
  color: #111111 !important;
}

/* Catálogos */
.catalog-download-image {
  background:
    radial-gradient(circle at 50% 40%, rgba(214,106,31,.06), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f3efe8 100%) !important;
  border-bottom-color: #ddd6ca !important;
}

.catalog-placeholder {
  color: #c0b6a8 !important;
}

/* Contacto */
.contact-form,
.contact-info {
  background: #ffffff !important;
  border-color: #d8d0c3 !important;
  color: #111111 !important;
  box-shadow: 0 16px 38px rgba(22, 18, 14, .055) !important;
}

.contact-form label {
  color: #5f5a54 !important;
}

/* Footer */
.site-footer,
#siteFooter {
  background: #ebe6dc !important;
  color: #111111 !important;
  border-top: 1px solid #d8d0c3 !important;
}

.site-footer h4,
#siteFooter h4,
.site-footer .footer-title,
#siteFooter .footer-title {
  color: #111111 !important;
}

.site-footer a,
.site-footer p,
#siteFooter a,
#siteFooter p {
  color: #5f5a54 !important;
}

.site-footer a:hover,
#siteFooter a:hover {
  color: #d66a1f !important;
}

/* Home counters */
.counter-section,
.stats-section,
.numbers-section {
  background: #f6f5f1 !important;
  border-top-color: #d8d0c3 !important;
}

.counter-card,
.stat-card {
  background: #ffffff !important;
  border-color: #d8d0c3 !important;
}

.counter-value,
.stat-number,
.stat-value {
  color: #d66a1f !important;
}

.counter-label,
.stat-label {
  color: #5f5a54 !important;
}

/* Modales */
.modal-panel,
.modal-content,
.product-modal-content {
  background: #ffffff !important;
  border-color: #d8d0c3 !important;
  color: #111111 !important;
}

.modal-product-image,
.modal-product-image.product-gallery {
  background:
    radial-gradient(circle at 50% 42%, rgba(214,106,31,.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3efe8 100%) !important;
}

.modal-product-info p {
  color: #504a43 !important;
}

.modal-close,
.close-modal {
  background: #111111 !important;
  color: #ffffff !important;
}

.modal-close:hover,
.close-modal:hover {
  background: #d66a1f !important;
}

/* Scrollbar elegante */
* {
  scrollbar-color: #b8ad9e #f6f5f1 !important;
}

::-webkit-scrollbar {
  width: 11px !important;
  height: 11px !important;
}

::-webkit-scrollbar-track {
  background: #f6f5f1 !important;
}

::-webkit-scrollbar-thumb {
  background: #c9beae !important;
  border: 3px solid #f6f5f1 !important;
  border-radius: 999px !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #d66a1f !important;
}

/* Mobile */
@media (max-width: 1020px) {
  .main-nav,
  .main-nav.open,
  .main-nav.is-open {
    background: #ffffff !important;
    border-bottom: 1px solid #d8d0c3 !important;
  }

  .main-nav a {
    color: #111111 !important;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #d66a1f !important;
  }

  .menu-toggle,
  .hamburger {
    background: #ffffff !important;
    border-color: #d8d0c3 !important;
    color: #111111 !important;
  }

  .menu-toggle span,
  .hamburger span,
  .menu-toggle::before,
  .menu-toggle::after,
  .hamburger::before,
  .hamburger::after {
    background: #111111 !important;
  }

  .menu-toggle.open {
    background-image: none !important;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 54px 54px, 54px 54px, auto, auto !important;
  }

  .page-hero {
    min-height: 112px !important;
  }

  .page-hero h1 {
    font-size: 30px !important;
  }
}

.about-content-title {
  max-width: 760px;
  margin-bottom: 22px;
  color: #111111 !important;
  font-size: clamp(30px, 3.2vw, 46px) !important;
  line-height: 1.04;
  letter-spacing: -.8px;
  text-wrap: balance;
}

@media (max-width: 620px) {
  .about-content-title {
    font-size: 29px !important;
    line-height: 1.08;
  }
}

/* Videos / Shorts */
.videos-hero {
  border-bottom-color: #242424 !important;
}

.videos-section {
  background: #0f0f0f !important;
  color: #ffffff !important;
  border-top: 0 !important;
  padding-top: 28px !important;
}

.shorts-grid,
.video-grid.shorts-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 30px 8px !important;
  align-items: start;
}

.short-card,
.video-card.short-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  color: #ffffff !important;
}

.short-card:hover,
.video-card.short-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.short-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 7px;
  background: #1b1b1b;
}

.short-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}

.short-thumb span:not(.short-play) {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: #777777;
  font-size: 13px;
  font-weight: 900;
}

.short-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 58%, rgba(0,0,0,.42) 100%);
  opacity: .8;
  pointer-events: none;
}

.short-card:hover .short-thumb img {
  filter: brightness(.9);
  transform: scale(1.035);
}

.short-play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(6px);
}

.short-play::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #ffffff;
}

.short-body,
.video-card .short-body {
  padding: 9px 0 0 !important;
  background: transparent !important;
}

.short-body h3,
.video-card .short-body h3 {
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important;
  text-transform: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-body p,
.video-card .short-body p {
  margin: 4px 0 0;
  color: #aaaaaa !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

@media (max-width: 1180px) {
  .shorts-grid,
  .video-grid.shorts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px 10px !important;
  }
}

@media (max-width: 760px) {
  .videos-section {
    padding-top: 18px !important;
  }

  .shorts-grid,
  .video-grid.shorts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 10px !important;
  }

  .short-body h3,
  .video-card .short-body h3 {
    font-size: 14px !important;
  }

  .short-body p,
  .video-card .short-body p {
    font-size: 13px !important;
  }
}

.product-actions .video-link,
.product-actions a.video-link,
.product-actions .btn.video-link {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

.product-actions .video-link:hover,
.product-actions a.video-link:hover,
.product-actions .btn.video-link:hover {
  background: #d66a1f !important;
  border-color: #d66a1f !important;
  color: #ffffff !important;
}

.news-product-card {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  min-height: 0 !important;
}

.news-product-img,
.news-card .news-product-img {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(214,106,31,.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3efe8 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.news-product-img img,
.news-card .news-product-img img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
}

.news-product-card .news-body {
  display: grid !important;
  grid-template-rows: auto minmax(58px, auto) minmax(96px, 1fr) auto !important;
  gap: 10px !important;
  min-height: 310px;
}

.news-product-card .news-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-product-card .news-body p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-product-card .product-actions {
  align-self: end !important;
  margin-top: 0 !important;
  min-height: 62px !important;
}

@media (max-width: 720px) {
  .news-product-img,
  .news-card .news-product-img {
    aspect-ratio: 1 / 1 !important;
  }
}

/* Mobile menu button */
@media (max-width: 1020px) {
  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin-left: auto !important;
    background: #fffdfa !important;
    border: 1px solid #d6cec0 !important;
    color: #111111 !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
  }

  .menu-toggle span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    min-height: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #111111 !important;
    border-radius: 0 !important;
    transition: transform .18s ease, opacity .18s ease !important;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0 !important;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }
}

/* Productos: grilla fluida inspirada en videos, sin cambiar colores */
.catalog-content {
  min-width: 0 !important;
}

#productsGrid.product-grid,
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  justify-content: start !important;
}

#productsGrid.product-grid > .product-card:only-child,
.product-grid > .product-card:only-child {
  width: min(100%, 330px) !important;
}

.product-card {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  height: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.product-image {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.product-image img {
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
}

.product-body {
  display: grid !important;
  grid-template-rows: auto auto minmax(38px, auto) minmax(112px, 1fr) auto !important;
  gap: 9px !important;
  padding: 18px !important;
  min-height: 320px !important;
}

.product-category,
.product-model,
.product-name,
.product-desc {
  min-width: 0 !important;
}

.product-category {
  margin: 0 !important;
}

.product-model {
  margin: 0 !important;
  font-size: clamp(25px, 2vw, 34px) !important;
  line-height: .92 !important;
}

.product-name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
  line-height: 1.05 !important;
}

.product-desc {
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.product-actions {
  align-self: end !important;
  display: flex !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  margin-top: 0 !important;
}

.product-actions .btn,
.product-actions a,
.product-actions button {
  min-width: 0 !important;
  white-space: nowrap !important;
}

@media (min-width: 1180px) and (max-width: 1500px) {
  #productsGrid.product-grid,
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 18px !important;
  }

  .product-body {
    padding: 15px !important;
    min-height: 300px !important;
  }

  .product-model {
    font-size: 28px !important;
  }

  .product-actions .btn,
  .product-actions a,
  .product-actions button {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 11px !important;
    font-size: 9px !important;
  }

  .product-desc {
    -webkit-line-clamp: 5 !important;
  }
}

@media (max-width: 1020px) {
  .catalog-layout {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .catalog-sidebar {
    position: static !important;
  }

  #productsGrid.product-grid,
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 620px) {
  .catalog-section {
    padding-top: 26px !important;
  }

  #productsGrid.product-grid,
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .product-body {
    min-height: 0 !important;
    padding: 18px !important;
    grid-template-rows: auto auto auto auto auto !important;
  }

  .product-desc {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .product-actions {
    flex-wrap: wrap !important;
  }

  .product-actions .btn,
  .product-actions a,
  .product-actions button {
    flex: 1 1 132px !important;
  }
}

/* Productos: pulido visual moderno manteniendo la paleta */
.catalog-section {
  padding-top: clamp(30px, 4vw, 58px) !important;
}

.catalog-layout {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) !important;
  gap: clamp(24px, 3vw, 44px) !important;
  align-items: start !important;
}

.catalog-sidebar {
  top: 106px !important;
  padding: 24px !important;
}

.catalog-sidebar h3 {
  margin-bottom: 18px !important;
  font-size: 13px !important;
}

.category-buttons {
  display: grid !important;
  gap: 10px !important;
}

.catalog-sidebar .category-button.cat-main,
.catalog-sidebar button.category-button.cat-main,
.category-button,
.category-parent {
  min-height: 52px !important;
  padding: 0 18px !important;
  letter-spacing: 1.2px !important;
}

.catalog-sidebar .subcategory-list,
.subcategory-list {
  margin: 8px 0 12px 10px !important;
  padding: 6px 0 6px 14px !important;
}

.catalog-sidebar .category-button.cat-sub,
.catalog-sidebar button.category-button.cat-sub,
.subcategory-button {
  min-height: 38px !important;
  padding: 0 12px !important;
}

.catalog-toolbar {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 28px !important;
}

.search-input {
  min-height: 58px !important;
  padding: 0 22px !important;
  font-size: 15px !important;
  box-shadow: 0 16px 34px rgba(22, 18, 14, .045) !important;
}

.product-count {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid #d8d0c3 !important;
  background: rgba(255,255,255,.62) !important;
  white-space: nowrap !important;
}

#productsGrid.product-grid,
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)) !important;
  gap: clamp(18px, 1.8vw, 28px) !important;
}

.product-card {
  isolation: isolate !important;
}

.product-card::before {
  z-index: 0 !important;
}

.product-image,
.product-body {
  position: relative !important;
  z-index: 1 !important;
}

.product-image {
  aspect-ratio: 1 / .92 !important;
}

.product-image img {
  max-width: 84% !important;
  max-height: 84% !important;
  transition: transform .22s ease, filter .22s ease !important;
}

.product-card:hover .product-image img {
  transform: scale(1.025) !important;
}

.product-body {
  grid-template-rows: auto auto minmax(36px, auto) minmax(118px, 1fr) auto !important;
  gap: 10px !important;
  padding: 19px 20px 20px !important;
  min-height: 330px !important;
}

.product-category {
  font-size: 10px !important;
  letter-spacing: 1.6px !important;
}

.product-model {
  font-size: clamp(26px, 1.85vw, 36px) !important;
}

.product-name {
  font-size: 16px !important;
}

.product-desc {
  line-height: 1.42 !important;
}

.product-actions {
  padding-top: 14px !important;
  min-height: 56px !important;
}

.product-actions .btn,
.product-actions a,
.product-actions button {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px !important;
}

@media (min-width: 1280px) {
  #productsGrid.product-grid,
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)) !important;
  }
}

@media (min-width: 1180px) and (max-width: 1500px) {
  .catalog-layout {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 26px !important;
  }

  #productsGrid.product-grid,
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  }

  .product-body {
    min-height: 306px !important;
    padding: 16px !important;
  }
}

@media (max-width: 1020px) {
  .catalog-sidebar {
    padding: 18px !important;
  }

  .category-buttons {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    scroll-snap-type: x proximity !important;
  }

  .category-group,
  .category-buttons > .category-button {
    flex: 0 0 min(270px, 82vw) !important;
    scroll-snap-align: start !important;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .product-count {
    justify-content: flex-start !important;
    width: fit-content !important;
  }
}

@media (max-width: 620px) {
  .catalog-sidebar h3 {
    margin-bottom: 12px !important;
  }

  .product-image {
    aspect-ratio: 1 / .82 !important;
  }

  .product-body {
    gap: 9px !important;
    min-height: 0 !important;
  }

  .product-model {
    font-size: 31px !important;
  }

  .product-actions .btn,
  .product-actions a,
  .product-actions button {
    height: 42px !important;
    min-height: 42px !important;
  }
}

/* Productos: restaurar densidad del panel de categorías */
.catalog-section {
  padding-top: 24px !important;
}

.catalog-layout {
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 34px !important;
}

.catalog-sidebar {
  padding: 28px !important;
}

.catalog-sidebar h3 {
  margin: 0 0 14px !important;
  font-size: 11px !important;
}

.category-buttons,
.catalog-sidebar .category-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.category-group,
.catalog-sidebar .category-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.catalog-sidebar .category-button.cat-main,
.catalog-sidebar button.category-button.cat-main,
.category-button,
.category-parent {
  min-height: 46px !important;
  padding: 0 16px !important;
}

.catalog-sidebar .subcategory-list,
.subcategory-list {
  margin: 0 !important;
  padding: 0 0 0 12px !important;
}

.catalog-sidebar .category-group.open .subcategory-list {
  margin: 4px 0 0 !important;
  padding: 6px 0 0 12px !important;
}

.catalog-sidebar .category-button.cat-sub,
.catalog-sidebar button.category-button.cat-sub,
.subcategory-button {
  min-height: 34px !important;
  padding: 0 10px !important;
}

@media (max-width: 1020px) {
  .catalog-layout {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .catalog-sidebar {
    padding: 18px !important;
  }

  .category-buttons,
  .catalog-sidebar .category-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .category-group,
  .category-buttons > .category-button {
    flex: initial !important;
  }
}

/* Productos: alinear categorías con el buscador */
@media (min-width: 1021px) {
  .catalog-layout {
    align-items: start !important;
  }

  .catalog-sidebar {
    align-self: start !important;
    margin-top: 0 !important;
    transform: translateY(-105px) !important;
  }

  .catalog-content {
    align-self: start !important;
  }
}

/* Productos: cards más compactas */
@media (min-width: 621px) {
  .product-image {
    aspect-ratio: 1 / .78 !important;
  }

  .product-image img {
    max-width: 80% !important;
    max-height: 80% !important;
  }

  .product-body {
    grid-template-rows: auto auto minmax(32px, auto) minmax(86px, 1fr) auto !important;
    min-height: 260px !important;
    padding: 16px 18px 18px !important;
    gap: 8px !important;
  }

  .product-model {
    font-size: clamp(25px, 1.75vw, 33px) !important;
  }

  .product-desc {
    -webkit-line-clamp: 4 !important;
    line-height: 1.36 !important;
  }

  .product-actions {
    min-height: 50px !important;
    padding-top: 12px !important;
  }
}

@media (min-width: 1180px) and (max-width: 1500px) {
  .product-body {
    min-height: 246px !important;
    padding: 14px 15px 15px !important;
  }
}

/* Productos: ajuste fino de buscador */
@media (min-width: 1021px) {
  .catalog-toolbar {
    transform: translateY(-10px) !important;
  }
}
