:root {
  --rp-red: #c8102e;
  --rp-red-dark: #a40d25;
  --rp-black: #161616;
  --rp-dark: #303030;
  --rp-gray: #666;
  --rp-line: #ddd;
  --rp-soft: #f3f3f3;
  --rp-white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.client-page {
  margin: 0;
  padding-top: 82px;
  background: #fff;
  color: var(--rp-black);
  font-family: "Inter", sans-serif;
}
.rico-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rp-line);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
.rico-nav-wrapper {
  max-width: 1500px;
  margin: auto;
  min-height: 82px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.rico-logo {
  display: flex;
  align-items: center;
}
.rico-logo img {
  height: 52px;
  width: auto;
}
.rico-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}
.rico-menu a,
.rico-actions a {
  text-decoration: none;
}
sl-button.nav-btn::part(base) {
  background: transparent;
  border: 1px solid transparent;
  color: #333;
  border-radius: 10px;
  font-weight: 600;
  padding: 8px 12px;
}
sl-button.nav-btn::part(base):hover {
  background: #f3f3f3;
  border-color: #ddd;
  color: #111;
}
sl-button.nav-btn.active::part(base) {
  background: rgba(200, 16, 46, 0.09);
  border-color: rgba(200, 16, 46, 0.24);
  color: var(--rp-red);
}
.rico-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 385px;
  justify-content: flex-end;
}
.search-form {
  width: 220px;
}
sl-input.search-box::part(base) {
  height: 45px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 11px;
}
sl-input.search-box::part(input) {
  color: #222;
}
sl-button.wsp-btn::part(base) {
  height: 45px;
  background: #303030;
  border-color: #303030;
  color: #fff;
  border-radius: 11px;
  font-weight: 700;
}
.client-container {
  width: min(1500px, calc(100% - 48px));
  margin-inline: auto;
}
.client-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--rp-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.client-heading {
  margin: 0;
  color: #161616;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}
.client-subheading {
  max-width: 760px;
  margin: 12px 0 0;
  color: #5b5b5b;
  line-height: 1.7;
}
.client-section {
  padding: 66px 0;
}
.client-section.soft {
  background: #f3f3f3;
}
.client-section.dark {
  background: #303030;
  color: #fff;
}
.client-section.dark .client-heading {
  color: #fff;
}
.client-section.dark .client-subheading {
  color: #ddd;
}
.client-section-head {
  margin-bottom: 30px;
}
.client-grid {
  display: grid;
  gap: 20px;
}
.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.client-category {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 24px;
  background: #f3f3f3;
  color: #222;
  text-decoration: none;
  border-top: 4px solid #393939;
  transition: 0.2s;
}
.client-category:hover {
  transform: translateY(-4px);
  border-top-color: var(--rp-red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.client-category i {
  margin-bottom: auto;
  color: var(--rp-red);
  font-size: 28px;
}
.client-category h3 {
  margin: 20px 0 5px;
}
.client-category p {
  margin: 0;
  color: #686868;
}
.home-hero {
  position: relative;
  height: min(760px, calc(100vh - 82px));
  min-height: 570px;
  overflow: hidden;
  background: #222;
}
.home-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.76),
    rgba(0, 0, 0, 0.28) 60%,
    rgba(0, 0, 0, 0.08)
  );
}
.home-hero-content {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100% - 1452px) / 2));
  top: 50%;
  transform: translateY(-50%);
  max-width: 720px;
  color: #fff;
}
.home-hero-content h1 {
  margin: 10px 0 18px;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.home-hero-content p {
  max-width: 620px;
  color: #e5e5e5;
  font-size: 18px;
  line-height: 1.7;
}.home-scroll-cue { position:absolute; z-index:3; left:50%; bottom:18px; display:flex; flex-direction:column; align-items:center; gap:5px; color:#fff; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; transform:translateX(-50%); }
.home-scroll-cue:hover { color:var(--rp-red); }
.home-scroll-cue i { animation:home-scroll-bounce 1.6s ease-in-out infinite; }
@keyframes home-scroll-bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(6px); } }
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.hero-actions-brands {
  align-items: stretch;
}
.hero-actions-divider {
  width: 1px;
  margin: 4px 2px;
  background: rgba(255,255,255,.35);
}
.hero-brand-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  min-height: 48px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-brand-action:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}
.hero-brand-action img {
  display: block;
  width: 100%;
  height: 29px;
  object-fit: contain;
}
@media (max-width: 560px) {
  .hero-actions-brands { gap: 8px; }
  .hero-actions-divider { display: none; }
  .hero-brand-action {
    width: 105px;
    min-height: 45px;
    padding: 8px 12px;
  }
  .hero-brand-action img { height: 25px; }
}
sl-button.red-action::part(base) {
  background: var(--rp-red);
  border-color: var(--rp-red);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
sl-button.red-action::part(base):hover {
  background: var(--rp-red-dark);
  border-color: var(--rp-red-dark);
}
sl-button.light-action::part(base) {
  background: #fff;
  border-color: #fff;
  color: #222;
  border-radius: 10px;
  font-weight: 700;
}
sl-button.whatsapp-action::part(base) {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
sl-button.whatsapp-action::part(base):hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}
.promo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.promo-card-client {
  display: grid;
  grid-template-rows: 310px auto;
  background: #fff;
  border-bottom: 4px solid #333;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.promo-image-client {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f5f5f5;
  overflow: hidden;
}
.promo-image-client img {
  max-width: 100%;
  max-height: 285px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.promo-copy-client {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 23px;
}
.promo-copy-client .client-eyebrow {
  min-height: 18px;
}
.promo-copy-client h3 {
  margin: 7px 0;
  font-size: 25px;
  min-height: 60px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.promo-copy-client p {
  min-height: 74px;
  margin-bottom: 14px;
  color: #626262;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.promo-price-client { display:grid; grid-template-columns:1fr; min-height:64px; margin:14px 0; color:var(--rp-red); }
.promo-price-client.has-installments { grid-template-columns:repeat(2,minmax(0,1fr)); }
.promo-price-option { display:flex; flex-direction:column; justify-content:flex-start; gap:4px; min-width:0; }
.promo-price-option + .promo-price-option { margin-left:14px; padding-left:14px; border-left:1px solid #dedede; }
.promo-price-option span { color:#666; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.promo-price-option strong { display:block; max-width:100%; font-size:clamp(16px,1.45vw,21px); line-height:1.15; letter-spacing:-.025em; white-space:nowrap; font-variant-numeric:tabular-nums; }
.promo-price-notes { grid-column:1/-1; display:grid; grid-template-columns:1fr; margin-top:8px; }
.promo-price-client.has-installments .promo-price-notes { grid-template-columns:repeat(2,minmax(0,1fr)); }
.promo-tax-note, .promo-installment-note { color:#696969; font-size:11px; font-weight:600; line-height:1.3; }
.promo-installment-note { padding-left:28px; }
.promo-price-empty { visibility:hidden; }
.promo-copy-client .card-action { margin-top: auto; }
.screen-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.screen-callout img {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
}
.screen-callout-copy {
  padding: 20px 0;
}
.screen-callout-copy h2 {
  margin: 8px 0 15px;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.045em;
}
.catalog-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.35) 18%, rgba(255, 255, 255, 0.35) 82%, #fff 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 35%, rgba(255, 255, 255, 0.22) 67%, rgba(255, 255, 255, 0.72) 100%),
    #fff url("images/pantallas-fondo-geometrico.png") center / cover no-repeat;
}
body:has(img[alt="Insumos Ricoh"]) .catalog-hero {
  background: #fff;
}
body:has(img[alt="Insumos Ricoh"]) .catalog-hero img {
  mix-blend-mode: multiply;
  border-radius: 0;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.catalog-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}
.catalog-hero h1 {
  margin: 10px 0;
  font-size: clamp(45px, 6vw, 76px);
  letter-spacing: -0.055em;
}
.catalog-hero p {
  max-width: 650px;
  color: #555;
  line-height: 1.7;
}
.catalog-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 18px 28px rgba(20, 43, 56, 0.18));
}
.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 35px;
}
#catalogo {
  scroll-margin-top: 16px;
}
.filter-panel {
  align-self: start;
  padding: 24px;
  background: #303030;
  color: #fff;
  border-top: 5px solid var(--rp-red);
}
.filter-panel h3 {
  margin-top: 0;
}
.filter-panel a {
  display: block;
  padding: 9px 0;
  color: #e8e8e8;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.filter-panel a:hover,
.filter-panel a.active {
  color: #fff;
  padding-left: 5px;
}
.filter-panel a.active {
  border-bottom-color: var(--rp-red);
}
.filter-clear {
  margin-top: 20px;
}
.products-grid-client {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card-client {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f3f3f3;
  border-bottom: 4px solid #383838;
  transition: 0.22s;
}
.product-card-client:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--rp-red);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}
.product-image-client {
  height: 300px;
  display: grid;
  place-items: center;
  padding: 17px;
  background: #fff;
}
.product-image-client img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-copy-client {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px;
}
.product-copy-client h3 {
  margin: 6px 0;
  font-size: 24px;
  min-height: 58px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-copy-client p {
  min-height: 64px;
  margin: 0 0 15px;
  color: #606060;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 48px;
  align-content: flex-start;
  margin-bottom: 18px;
}
.product-card-specs span {
  padding: 7px 9px;
  background: #dedede;
  color: #333;
  font-size: 12px;
}
.product-card-client .card-action {
  margin-top: auto;
}
.featured-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  padding: 6px 9px;
  background: var(--rp-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.models-grid-client {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.model-card-client {
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  border-bottom: 5px solid #333;
  overflow: hidden;
}
.model-card-client.featured {
  border-bottom-color: var(--rp-red);
}
.model-image-client {
  width: 100%;
  height: auto;
  aspect-ratio: 1132 / 1390;
  display: block;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.model-image-client img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}
.model-copy-client {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.model-copy-client h3 {
  margin: 6px 0;
  font-size: 28px;
}
.model-copy-client p {
  color: #5c5c5c;
  line-height: 1.6;
}
.empty-client {
  padding: 35px;
  background: #f3f3f3;
  color: #555;
  border-left: 5px solid var(--rp-red);
}
.supply-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 35px;
}
.supply-list-client {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.supply-list-client [hidden] {
  display: none !important;
}
.supply-row-client {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  background: #f3f3f3;
  border-left: 4px solid var(--rp-red);
  border-bottom: 1px solid #d9d9d9;
}
.supply-code-client {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.supply-code-client span {
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.supply-code-client strong {
  color: #242424;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.supply-row-client .supply-copy-client {
  padding: 0;
}
.supply-row-client .supply-copy-client h3 {
  margin: 4px 0 6px;
}
.supply-row-client .supply-copy-client p {
  margin: 0 0 8px;
}
.supply-action-client {
  justify-self: end;
}
.supply-card-client {
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  border-bottom: 4px solid #333;
}
.supply-image-client {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.supply-image-client img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}
.supply-copy-client {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px;
}
.supply-copy-client span {
  color: var(--rp-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.supply-copy-client h3 {
  margin: 6px 0;
}
.supply-copy-client p {
  color: #5d5d5d;
  line-height: 1.5;
}
.supply-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.supply-search {
  display: flex;
  width: min(390px, 100%);
  height: 48px;
  border: 1px solid #d4d4d8;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(0,0,0,.05);
}
.supply-search input[type="search"] {
  min-width: 0;
  flex: 1;
  padding: 0 15px;
  border: 0;
  outline: 0;
  color: #222;
  font: 500 14px/1 "Inter",sans-serif;
}
.supply-search:focus-within {
  border-color: rgba(200,16,46,.55);
  box-shadow: 0 0 0 3px rgba(200,16,46,.09);
}
.supply-search button {
  width: 50px;
  border: 0;
  background: var(--rp-red);
  color: #fff;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 700px) {
  .supply-section-head { align-items: stretch; flex-direction: column; }
  .supply-search { width: 100%; }
  .supply-row-client {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }
  .supply-action-client {
    justify-self: stretch;
  }
  .supply-action-client sl-button {
    width: 100%;
  }
}
.screen-hero-client {
  padding: 90px 0;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,.72) 13%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.72) 87%, #fff 100%),
    #fff url("images/pantallas-fondo-geometrico.png") center / cover no-repeat;
  color: #111;
}
.screen-hero-client .catalog-hero-grid {
  min-height: 380px;
}
.screen-hero-client h1 {
  margin: 10px 0;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.screen-hero-client p {
  max-width: 650px;
  color: #222;
  line-height: 1.7;
}
.screen-hero-client img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}
.client-page #myFooter {
  margin-top: 0;
}
@media (max-width: 1180px) {
  .rico-menu {
    display: none;
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .products-grid-client,
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rico-actions {
    min-width: 0;
  }
}
@media (max-width: 820px) {
  body.client-page {
    padding-top: 72px;
  }
  .rico-nav-wrapper {
    min-height: 72px;
    padding: 10px 15px;
  }
  .rico-logo img {
    height: 43px;
  }
  .search-form {
    display: none;
  }
  .client-container {
    width: min(100% - 32px, 1500px);
  }
  .home-hero {
    height: 680px;
  }
  .catalog-hero-grid,
  .screen-callout,
  .supply-layout,
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-hero-grid > img {
    order: -1;
  }
  .filter-panel {
    position: static;
  }
  .category-grid,
  .models-grid-client {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .category-grid,
  .products-grid-client,
  .models-grid-client,
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .home-hero-content {
    left: 20px;
    right: 20px;
  }
  .home-hero-content h1 {
    font-size: 48px;
  }
  .client-section {
    padding: 48px 0;
  }
  .rico-actions sl-button.wsp-btn::part(label) {
    font-size: 0;
  }
  .rico-actions sl-button.wsp-btn i {
    font-size: 17px;
  }
}
.brand-section {
  background: #f6f6f7;
}
.brand-grid-client {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.brand-card-client {
  min-height: 145px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #e3e3e5;
  border-bottom: 4px solid #333;
  color: #222;
  text-decoration: none;
  transition: 0.22s ease;
}
.brand-card-client:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--rp-red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.brand-card-client img {
  width: 100%;
  height: 56px;
  object-fit: contain;
}
.brand-card-client strong {
  font-size: 24px;
}
.brand-card-client span {
  color: #707078;
  font-size: 12px;
  font-weight: 700;
}
.filter-brand-divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.18);
}
.filter-brand-link {
  display: flex !important;
  align-items: center;
  gap: 9px;
}
.filter-brand-link img {
  width: 47px;
  height: 24px;
  padding: 3px;
  background: #fff;
  border-radius: 4px;
  object-fit: contain;
}
.filter-brand-link span {
  flex: 1;
}
.filter-brand-link small {
  color: #aaa;
}
.filter-brand-link.active small {
  color: #fff;
}
@media (max-width: 980px) {
  .brand-grid-client {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .brand-grid-client {
    grid-template-columns: 1fr;
  }
}

/* Header nativo: conserva el diseño aunque Shoelace o su CDN no carguen. */
.rico-menu > a.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 8px 15px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #333;
  font:
    600 14px/1 "Inter",
    sans-serif;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.rico-menu > a.nav-btn:hover {
  background: #f3f3f3;
  border-color: #ddd;
  color: #111;
}
.rico-menu > a.nav-btn.active {
  background: rgba(200, 16, 46, 0.09);
  border-color: rgba(200, 16, 46, 0.24);
  color: var(--rp-red);
}
.search-form {
  position: relative;
  height: 45px;
}
.search-form > i {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 14px;
  pointer-events: none;
}
.search-form > input.search-box {
  display: block;
  width: 100%;
  height: 45px;
  padding: 0 13px 0 38px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 11px;
  outline: none;
  color: #222;
  font:
    400 14px/1 "Inter",
    sans-serif;
}
.search-form > input.search-box:focus {
  background: #fff;
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.rico-actions > a.wsp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 45px;
  padding: 0 16px;
  background: #25d366;
  border: 1px solid #25d366;
  border-radius: 11px;
  color: #fff;
  font:
    700 14px/1 "Inter",
    sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.rico-actions > a.wsp-btn:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}
@media (max-width: 560px) {
  .rico-actions > a.wsp-btn {
    width: 45px;
    padding: 0;
  }
  .rico-actions > a.wsp-btn span {
    display: none;
  }
}
/* Ajustes visuales del catálogo público */
.rico-logo img {
  height: 58px;
  max-width: 230px;
  object-fit: contain;
}

@media (min-width: 821px) {
  .filter-panel {
    position: sticky;
    top: 102px;
    max-height: calc(100vh - 122px);
    overflow-y: auto;
  }
}

@media (max-width: 820px) {
  .rico-logo img {
    height: 52px;
    max-width: 190px;
  }
}

.product-image-client {
  display: block;
  padding: 0;
  overflow: hidden;
}

.product-image-client img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
}

/* Iconos diferenciados para las categorías de la portada. */
.client-category > i {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 54px;
  margin-bottom: auto;
  border: 1px solid #dedee2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  color: #303036;
  font-size: 30px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.client-category:hover > i {
  transform: translateY(-2px);
  border-color: rgba(200, 16, 46, 0.28);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.09);
}

/* Multifunción: cuerpo de impresora con tapa de escáner, dibujado en línea. */
.client-category > i.category-icon-multifunction::before {
  content: "";
  width: 39px;
  height: 35px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 44'%3E%3Cg fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13V5h24l7 5v10'/%3E%3Cpath d='M13 5h21l7 5H20'/%3E%3Cpath d='M9 18h30a5 5 0 0 1 5 5v12a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V23a5 5 0 0 1 5-5Z'/%3E%3Cpath d='M13 29h22v11H13zM14 24h16'/%3E%3C/g%3E%3Ccircle cx='37' cy='24' r='2' fill='%23000'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 44'%3E%3Cg fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13V5h24l7 5v10'/%3E%3Cpath d='M13 5h21l7 5H20'/%3E%3Cpath d='M9 18h30a5 5 0 0 1 5 5v12a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V23a5 5 0 0 1 5-5Z'/%3E%3Cpath d='M13 29h22v11H13zM14 24h16'/%3E%3C/g%3E%3Ccircle cx='37' cy='24' r='2' fill='%23000'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.client-category > i.category-icon-color::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00a7d8;
  box-shadow:
    -8px 0 #e4007d,
    -16px 0 #ffd400,
    -24px 0 #222;
}

.client-category > i.category-icon-mono::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 24px;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1f1f22 0 50%, #9b9ba1 50%);
}

.client-category > i.category-icon-scanner {
  color: #2878b8;
  background: linear-gradient(180deg, #fff, #edf6fc);
}

.client-category > i.category-icon-scanner::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 3px;
  border-radius: 3px;
  background: #2e9de0;
  box-shadow: 0 -5px 10px rgba(46, 157, 224, 0.28);
}

.client-category > i.category-icon-display {
  color: #6356b8;
  background: linear-gradient(180deg, #fff, #f1effb);
}

.client-category > i.category-icon-planera {
  color: #9a5d22;
  background: linear-gradient(180deg, #fff, #fbf2e9);
}

.rico-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid #d7d7da;
  border-radius: 11px;
  background: #fff;
  color: #29292d;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .rico-nav-wrapper {
    position: relative;
  }
  .rico-menu-toggle {
    display: inline-flex;
    flex: 0 0 45px;
  }
  .rico-navbar .rico-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #dedee2;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
  }
  .rico-navbar.menu-open .rico-menu {
    display: flex;
  }
  .rico-navbar .rico-menu > a.nav-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
  }
}

@media (max-width: 560px) {
  .rico-navbar .rico-menu {
    left: 10px;
    right: 10px;
  }
  .rico-nav-wrapper {
    gap: 9px;
  }
  .home-hero {
    height: auto;
    min-height: 0;
    background: #171717;
  }
  .home-hero video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4398/1884;
    object-fit: contain;
    object-position: center;
    background: #171717;
  }
  .home-hero::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0 24%,
      rgba(0, 0, 0, 0.82) 48%,
      #171717 100%
    );
  }
  .home-hero-content {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    max-width: none;
    padding: 32px 20px 76px;
  }
  .home-scroll-cue {
    bottom: 10px;
  }
  .home-hero-content h1 {
    margin-top: 8px;
    font-size: 43px;
  }
  .home-hero-content p {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* Escala visual compacta para escritorio: equivalente aproximado al 90 %. */
@media (min-width: 821px) {
  body.client-page {
    padding-top: 74px;
  }
  .rico-nav-wrapper {
    min-height: 74px;
    padding: 9px 22px;
    max-width: 1380px;
  }
  .rico-logo img {
    height: 56px;
    max-width: 250px;
  }
  .rico-menu > a.nav-btn {
    min-height: 41px;
    padding: 7px 13px;
    font-size: 13px;
  }
  .rico-actions {
    min-width: 350px;
  }
  .search-form {
    width: 205px;
  }
  .search-form .search-box,
  .rico-actions > a.wsp-btn {
    height: 41px;
  }
  .client-container {
    width: min(1380px, calc(100% - 44px));
  }
  .client-section {
    padding: 56px 0;
  }
  .client-section-head {
    margin-bottom: 25px;
  }
  .client-heading {
    font-size: clamp(28px, 3.6vw, 43px);
  }
  .client-subheading {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.62;
  }
  .home-hero {
    height: min(690px, calc(100vh - 74px));
    min-height: 525px;
  }
  .home-hero-content {
    left: max(22px, calc((100% - 1336px) / 2));
    max-width: 660px;
  }
  .home-hero-content h1 {
    font-size: clamp(44px, 6.2vw, 80px);
  }
  .home-hero-content p {
    max-width: 580px;
    font-size: 16px;
    line-height: 1.62;
  }
  .client-category {
    min-height: 160px;
    padding: 21px;
  }
  .client-category h3 {
    margin-top: 17px;
    font-size: 17px;
  }
  .promo-card-client {
    grid-template-rows: 280px auto;
  }
  .promo-image-client img {
    max-height: 255px;
  }
  .promo-copy-client {
    padding: 20px;
  }
  .promo-copy-client h3 {
    font-size: 22px;
  }
  .promo-price-client {
    font-size: 23px;
  }
  .catalog-hero {
    padding: 58px 0;
  }
  .catalog-hero h1 {
    font-size: clamp(41px, 5.4vw, 68px);
  }
  .catalog-hero img {
    max-height: 380px;
  }
  .catalog-layout,
  .supply-layout {
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 30px;
  }
  .filter-panel {
    padding: 21px;
  }
  .products-grid-client {
    gap: 18px;
  }
  .product-image-client {
    height: 270px;
    padding: 15px;
  }
  .product-image-client img {
    max-height: 250px;
  }
  .product-copy-client {
    padding: 19px;
  }
  .product-copy-client h3 {
    font-size: 22px;
  }
  .model-image-client {
    height: auto;
  }
  .model-copy-client {
    padding: 21px;
  }
  .model-copy-client h3 {
    font-size: 25px;
  }
  .supply-image-client {
    height: auto;
  }
  .supply-copy-client {
    padding: 19px;
  }
  .screen-hero-client {
    padding: 76px 0;
  }
  .screen-hero-client h1 {
    font-size: clamp(44px, 6.2vw, 74px);
  }
}

/* Imágenes a sangre en tarjetas de productos y promociones. */
.product-image-client,
.promo-image-client {
  display: block;
  padding: 0;
  overflow: hidden;
}

.product-image-client img,
.promo-image-client img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
}

/* Promociones: cubrir todo el ancho; el recorte queda limitado a la parte inferior. */
.promo-card-client {
  grid-template-rows: clamp(300px, 38vw, 485px) 1fr;
}
.promo-image-client {
  height: 100%;
  background: #fff;
}
.promo-image-client img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* En móvil, las promociones muestran el equipo completo sin recorte. */
@media (max-width: 560px) {
  .promo-card-client {
    grid-template-rows: auto 1fr;
  }
  .promo-image-client {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .promo-image-client img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* Productos: ancho completo, proporción natural y textos más compactos. */
.product-image-client {
  height: auto;
  min-height: 0;
  aspect-ratio: 1132/1390;
  background: #fff;
}
.product-image-client img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-copy-client {
  font-size: 14px;
}
.product-copy-client h3 {
  font-size: 20px;
}
.product-copy-client p {
  font-size: 14px;
  line-height: 1.5;
}
.product-card-specs span {
  font-size: 11px;
}

/* Orden visual del inicio: video, promociones, marcas, categorias y pantallas. */
body.home-page main {
  display: flex;
  flex-direction: column;
}
body.home-page main > .home-hero {
  order: 1;
}

/* Portada de escritorio: mensaje y video en columnas independientes. */
@media (min-width: 821px) {
  body.home-page .home-hero {
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(24px, 4vw, 72px);
    box-sizing: border-box;
    height: auto;
    min-height: min(640px, calc(100vh - 74px));
    padding: 64px max(28px, calc((100vw - 1336px) / 2));
    background: url("images/hero-geometric.svg") right top / min(72vw, 900px) auto no-repeat,
      linear-gradient(120deg, #fff 0%, #f8fbfd 60%, #f2f7fa 100%);
  }
  body.home-page .home-hero::after {
    content: none;
  }
  body.home-page .home-scroll-cue { color:#324d5d; }
  body.home-page .home-hero-content {
    position: static;
    grid-column: 1;
    grid-row: 1;
    transform: none;
    width: 100%;
    max-width: none;
    color: #182b3a;
  }
  body.home-page .home-hero-content h1 {
    font-size: clamp(42px, 4.5vw, 68px);
    line-height: 1.04;
  }
  body.home-page .home-hero-content p {
    color: #4b5e69;
  }
  body.home-page .home-hero video {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1466 / 628;
    object-fit: contain;
    border-radius: 16px;
    background: #101010;
    box-shadow: 0 24px 60px rgba(24, 55, 73, 0.19);
  }
}
body.home-page main > .client-section.soft {
  order: 2;
}
body.home-page main > .brand-section {
  order: 3;
}
body.home-page
  main
  > .client-section:not(.soft):not(.brand-section):not(.dark) {
  order: 4;
}
body.home-page main > .client-section.dark {
  order: 5;
  background:
    linear-gradient(90deg, #303030 0%, rgba(48, 48, 48, 0.94) 26%, rgba(48, 48, 48, 0.48) 48%, transparent 76%),
    linear-gradient(180deg, #303030 0%, transparent 24%, transparent 76%, #303030 100%),
    #303030 url("images/pantallas-fondo-geometrico.png") center / cover no-repeat;
}
@media (max-width: 820px) {
  body.home-page main > .client-section.dark {
    background:
      linear-gradient(180deg, #303030 0%, #303030 42%, rgba(48, 48, 48, 0.55) 70%, #303030 100%),
      #303030 url("images/pantallas-fondo-geometrico.png") center / cover no-repeat;
  }
}

/* Logos de cabecera y pie con la misma altura visual. */
.brand-card-client {
  min-height: 170px;
  padding: 20px;
  gap: 0;
}
.brand-card-client img {
  height: 95px;
  max-width: 90%;
  object-fit: contain;
}
.client-page .rico-navbar .rico-logo img,
.client-page #myFooter .footer-logo {
  height: 56px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
}
.client-page #myFooter .footer-logo {
  transform: none;
  transform-origin: left center;
}
.client-page #myFooter .footer-logo:hover {
  transform: scale(1.03);
}

/* Footer un poco mas compacto sin modificar su estructura. */
.client-page #myFooter {
  margin-top: 0;
}
.client-page #myFooter .footer-main {
  padding: 6px 22px 5px;
  gap: 10px;
}
.client-page #myFooter .footer-center {
  gap: 6px;
}
.client-page #myFooter .footer-link {
  padding: 7px 14px;
  border-radius: 12px;
}
.client-page #myFooter .btn-whatsapp {
  padding: 8px 15px !important;
}
.client-page #myFooter .container-bottom {
  padding: 6px 22px;
}
@media (max-width: 991px) {
  .client-page .rico-navbar .rico-logo img,
  .client-page #myFooter .footer-logo {
    height: 52px;
    max-width: 190px;
    transform: none;
    transform-origin: center;
  }
  .client-page #myFooter .footer-logo:hover {
    transform: scale(1.03);
  }
  .client-page #myFooter .footer-main {
    padding: 10px 18px 7px;
  }
}

/* Filtros contraíbles del catálogo. */
.filter-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 700;
}
.filter-section {
  border-top: 1px solid rgba(255,255,255,.16);
}
.filter-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  user-select: none;
}
.filter-section summary::-webkit-details-marker { display: none; }
.filter-section summary i { transition: transform .2s ease; }
.filter-section[open] summary i { transform: rotate(180deg); }
.filter-options { padding: 0 0 12px; }
.filter-options a { font-size: .92rem; }
.filter-subtitle {
  display: block;
  margin: 13px 0 3px;
  color: #aaa;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.filter-subtitle:first-child { margin-top: 0; }
.filter-features a i { width: 18px; }
