/* V22: grouped collections, complete product photos and technical galleries. */
#productos, #sanitarios, #otros-productos { scroll-margin-top: 105px; }
.other-products-section { background: #fff; border-block: 1px solid var(--line); }
.other-products-section .section-head { align-items: center; }
.other-products-empty {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 38px; border-radius: 24px; border: 1px solid #dce3cc;
  background: linear-gradient(115deg, #f2f5e9, #fbfcf7);
}
.other-products-icon { width: 88px; height: 88px; border-radius: 22px; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.other-products-icon svg { width: 54px; height: 54px; }
.other-products-empty h3 { font-family: Manrope, sans-serif; font-size: 1.45rem; line-height: 1.3; margin: 0 0 12px; letter-spacing: -.025em; }
.other-products-empty p { color: #53604e; max-width: 500px; margin: 0; }
.other-products-empty .btn { background: var(--ink); color: #fff; white-space: nowrap; }
.other-products-empty .btn:hover { background: #2b3829; }
.other-products-grid[hidden], .other-products-empty[hidden] { display: none; }
.other-product-image { background: #f3f5ef; }
.other-product-image img { object-fit: contain; padding: 22px; object-position: center; }
.other-product-picture { width: 100%; height: 100%; }
.sanitary-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
.sanitary-products-section { background: #f8faf2; }
.sanitary-products-empty { grid-template-columns: 1fr auto; }
.other-product-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.other-photo-button { width: 58px; height: 58px; padding: 3px; background: #fff; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.other-photo-button[aria-pressed="true"] { border-color: #738000; box-shadow: 0 0 0 2px var(--lime); }
.other-photo-button img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.other-technical-photo { width: 92px; height: 82px; }
.other-technical-photo img { height: 48px; }
.other-technical-label { display: block; font-size: .7rem; line-height: 1.2; margin-top: 4px; color: var(--ink); }
.technical-photo-selected .product-label { display: none; }
.faucet-products-section .technical-photo-selected .other-product-image img { padding: 0; }
.other-products-section .technical-photo-selected .other-product-image img { padding: 0; transform: none; }
.other-products-section .technical-photo-selected .other-product-image::after { display: none; }
.other-image-open { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 12px; color: var(--ink); font-size: .8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.other-product-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #77845c; }
.other-product-placeholder svg { width: 96px; height: 96px; }
.other-product-description { overflow-wrap: anywhere; }
.other-product h3 { overflow-wrap: anywhere; }
.other-product .other-product-name { margin: 0 0 10px; font-family: Manrope, sans-serif; font-size: 1.25rem; line-height: 1.35; min-height: 2.7em; overflow-wrap: anywhere; }
.other-product .product-meta { gap: 16px; }
.other-product-unit { display: block; color: var(--muted); font-size: .8125rem; margin-top: 6px; }
.faucet-products-section .other-product-image img { padding: 0; }
.faucet-products-section .other-product-image::after { display: none; }
.faucet-products-section .other-product-column .other-product-image img { padding: 12px; }
.other-product .add-btn { display: inline-flex; align-items: center; justify-content: center; }
.other-product-inquiry-price { font-size: 1.05rem; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.catalog-filters[hidden] { display: none; }
.catalog-filters button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 11px 18px; min-height: 44px; cursor: pointer; font-size: .9rem; font-weight: 600; }
.catalog-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog-filters button:hover { border-color: var(--ink); }
.catalog-category-groups { display: grid; gap: 48px; }
.catalog-category { min-width: 0; }
.catalog-category-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.catalog-category-head h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 1.4rem; line-height: 1.35; letter-spacing: -.025em; }
.catalog-category-head > span { flex: 0 0 auto; font-size: .8125rem; color: #53604e; background: #f2f5e9; border-radius: 999px; padding: 6px 12px; }
.catalog-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-category[data-category="Columnas de ducha"] .catalog-category-grid,
.catalog-category[data-category="Grifos higiénicos"] .catalog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-category .other-product-column .other-product-image { aspect-ratio: 1.35; }
.other-product-gallery { min-height: 82px; align-items: center; margin-bottom: 12px; }
.other-product .other-image-open { align-self: flex-start; }
.other-product .price { color: var(--ink); }
.other-product .add-btn { flex: 0 0 auto; }
.header:not(.legal-header) .nav { gap: 20px; }
.header:not(.legal-header) .profile-button { max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.other-products-section a:focus-visible, .other-products-section button:focus-visible { outline: 3px solid #647300; outline-offset: 4px; }
@media (max-width: 1200px) {
  .header:not(.legal-header) { height: 72px; }
  .header:not(.legal-header) .menu-toggle { display: block; }
  .header:not(.legal-header) .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 20px; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); gap: 14px; }
  .header:not(.legal-header) .nav.open { display: flex; }
  .header:not(.legal-header) .nav a { min-height: 44px; display: flex; align-items: center; }
  .header:not(.legal-header) .profile-button { max-width: none; }
  .other-products-empty { grid-template-columns: auto 1fr; gap: 24px; }
  .other-products-empty .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 1050px) {
  .catalog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .sanitary-product-grid { grid-template-columns: 1fr; }
  .catalog-category .catalog-category-grid,
  .catalog-category[data-category] .catalog-category-grid { grid-template-columns: 1fr; }
  .catalog-category .other-product-column .other-product-image { aspect-ratio: .95; }
}
@media (max-width: 650px) {
  .other-products-section { padding-top: 48px; padding-bottom: 56px; }
  .other-products-empty { grid-template-columns: 1fr; padding: 26px; gap: 22px; }
  .other-products-icon { width: 64px; height: 64px; border-radius: 18px; }
  .other-products-icon svg { width: 40px; height: 40px; }
  .other-products-empty h3 { font-size: 1.3rem; }
  .other-products-empty .btn { grid-column: 1; width: 100%; white-space: normal; }
  .other-product .product-meta { flex-wrap: wrap; }
  .catalog-category-groups { gap: 36px; }
  .catalog-category-head { gap: 12px; }
  .catalog-category-head h3 { font-size: 1.2rem; }
  .other-product .other-product-name { min-height: 0; }
}
