/* Pages inside the public store use the same masthead, width and color palette as its cover. */
.inner-shell {
  padding-block: 1.1rem clamp(3rem, 7vw, 6rem);
  color: var(--ink, #172738);
}
.inner-shell *, .inner-shell *::before, .inner-shell *::after { box-sizing: border-box; }
.inner-shell [hidden] { display: none !important; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 clamp(1.5rem, 4vw, 3.25rem); color: #526171; font-size: .9rem; }
.crumbs > * + *::before { content: "/"; display: inline-block; margin-right: .6rem; color: #738192; }
.crumbs a, .dept-link { color: #244c8b; text-decoration: underline; text-underline-offset: .22em; }
.inner-shell h1 { font-size: clamp(2.3rem, 5vw, 4.65rem); letter-spacing: -.06em; line-height: 1.03; margin: 0; }
.inner-shell h2 { letter-spacing: -.035em; line-height: 1.12; }
.inner-shell p, .inner-shell address { line-height: 1.55; }
.catalog-head, .inner-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.4rem; }
.print-link { color: #344861; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: .25em; }
.catalog-search { display: grid; gap: .45rem; margin-bottom: 2rem; font-size: .93rem; font-weight: 650; color: #26384b; }
.catalog-search input, .contact-form :is(select,textarea) {
  font: inherit; color: #182737; border: 1px solid #9da8b4; border-radius: .4rem;
  padding: .85rem 1rem; min-height: 3rem; width: 100%; background: white;
}
.catalog-search input { font-size: 1.05rem; font-weight: 450; max-width: 52rem; border-left: .25rem solid var(--cobalt,#214fa9); }
.inner-shell :focus-visible { outline: 3px solid #245cb7; outline-offset: 3px; }
.catalog-body { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr); gap: clamp(1.6rem,4vw,4rem); padding-top: 1.25rem; border-top: 1px solid var(--line,#dadde0); }
.catalog-families h2, #count { margin: 0 0 1rem; font-size: 1rem; line-height: 1.5; }
#count { color: #48586a; }
.catalog-families #filters { display: grid; gap: .35rem; }
#filters button { text-align: left; border: 1px solid transparent; min-height: 2.75rem; border-radius: .35rem; background: transparent; padding: .6rem .8rem; font: 550 .95rem/1.25 system-ui,sans-serif; color: #37485a; cursor: pointer; }
#filters button:hover { background: #e9edf1; }
#filters button[aria-pressed=true] { background: #e6ecf6; color: #173f83; border-color: #bdcbe1; }
#products { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(15rem,100%),1fr)); gap: .8rem; }
#products .card, #products .card:has(.cot-add) { display: flex; flex-direction: column; background: white; border: 1px solid #d5dce1; border-radius: .6rem; overflow: hidden; min-width: 0; }
#products .product-art { display: none; }
#products .product-art:has(img) { display: grid; height: 10rem; background: white; }
#products .product-art img { width: 100%; height: 100%; object-fit: contain; }
#products .details { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem; align-items: flex-start; flex-grow: 1; }
#products .details small, .section-label { color: #715039; font-size: .87rem; font-weight: 650; }
#products h3 { margin: 0 0 .4rem; font-size: 1.18rem; letter-spacing: -.025em; line-height: 1.25; }
#products h3 a { color: var(--ink,#172738); text-decoration: none; }
#products h3 a:hover, .related-list a:hover { text-decoration: underline; text-underline-offset: .18em; }
#products .card .cot-add { align-self: flex-start; margin: auto 1.1rem 1.1rem; min-height: 2.65rem; }
#more { margin-top: 1.5rem; }
.inner-primary, .inner-secondary { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 2.8rem; border-radius: .35rem; padding: .55rem 1rem; text-decoration: none; cursor: pointer; font: 650 1rem/1.3 system-ui,sans-serif; }
.inner-primary { background: #234e98; color: #fff; border: 1px solid #234e98; }
.inner-primary:hover { background: #183e80; }
.inner-secondary { background: white; border: 1px solid #a1afbb; color: #263c52; }
.inner-secondary:hover { background: #f0f3f6; }
.brand-directory, .visit-grid, .contact-grid, .item-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: clamp(1.2rem, 4vw, 4rem); }
.brand-directory { gap: 1.2rem; }
.brand-directory article { border: 1px solid #d4dae0; background: white; display: grid; grid-template-columns: minmax(5rem,.65fr) 1fr; border-radius: .65rem; overflow: hidden; }
.brand-directory img { width: 100%; height: 100%; object-fit: cover; }
.brand-directory article > div { padding: clamp(1rem,2vw,2rem); }
.brand-directory h2 { font-size: 2rem; margin: .35rem 0 1rem; }
.brand-directory ul, .contact-links { padding-left: 0; list-style: none; }
.brand-directory li { margin: .5rem 0; }
.brand-directory li a, .contact-links a { color: #234e88; text-underline-offset: .2em; }
.visit-grid, .item-layout { align-items: center; }
.visit-grid figure, .item-figure { margin: 0; }
.visit-grid img, .item-figure img { display: block; width: 100%; object-fit: cover; border-radius: .65rem; }
.visit-grid img { height: clamp(16rem,30vw,27rem); }
.item-figure img { height: clamp(12rem,24vw,22rem); object-fit: contain; background: #f1f2ef; }
.item-figure figcaption { color: #526171; font-size: .88rem; margin: .5rem 0; }
.item-content h1 { margin: 1rem 0 1.6rem; }
.item-content .inner-secondary { margin: .6rem .4rem; }
.inner-related { margin-top: 3rem; border-top: 1px solid var(--line,#d7dce0); padding-top: .75rem; }
.related-list { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit,minmax(min(12rem,100%),1fr)); }
.related-list a { background: white; border: 1px solid #cdd5df; border-radius: .4rem; padding: .85rem; color: #243c5a; }
.visit-grid address { margin: 1rem 0; font-style: normal; }
.schedule { margin-block: 1rem; }
.schedule > div { display: flex; flex-wrap: wrap; gap: .5rem 1rem; border-top: 1px solid var(--line,#dadee1); padding-block: .5rem; justify-content: space-between; }
.schedule dd { margin: 0; font-variant-numeric: tabular-nums; }
.action-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.contact-links li { margin-bottom: .75rem; overflow-wrap: anywhere; }
.contact-form { background: #eef1f4; padding: clamp(1.1rem,3vw,2.2rem); border-radius: .6rem; display: grid; gap: .65rem; }
.contact-form label { font-weight: 650; }
.contact-form small { color: #44566a; }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.print-columns { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(16rem,100%),1fr)); gap: 1rem 2rem; }
.print-catalog ul { padding-left: 1.25em; line-height: 1.65; }
@media (max-width: 740px) {
  .catalog-body, .visit-grid, .contact-grid, .item-layout, .brand-directory { grid-template-columns: 1fr; }
  .catalog-families #filters { display: flex; flex-wrap: wrap; }
  #filters button { border-color: #d2d9de; }
  .item-content .inner-secondary { margin-left: 0; }
  .brand-directory img { max-height: 15rem; }
}
@media (prefers-reduced-motion: no-preference) {
  #products .enter { animation: shelf-in .2s ease-out both; }
  @keyframes shelf-in { from { transform: translateY(.2rem); opacity: .65; } to { transform: none; opacity: 1; } }
}
@media print {
  body:has(.print-catalog) :is(body > header, footer, .crumbs, .skip, dialog, #imprimir-lista) { display: none !important; }
  .inner-shell:has(.print-catalog) { width: 100%; padding: 0; color: black; }
  .print-columns { display: block; columns: 2; }
  .print-catalog section { break-inside: auto; }
  .print-catalog h2 { break-after: avoid; }
  .print-catalog li { break-inside: avoid; }
  .print-catalog h1 { font-size: 23pt; }
}
.public-price,.item-price { color:#203a51; font-variant-numeric:tabular-nums; font-weight:700; }
.public-price { display:block; margin-top:.65rem; }
.item-price { font-size:1.45rem; margin:.5rem 0 1.2rem; }
.item-layout.sin-foto,#catalog-brands article { grid-template-columns:1fr; }
#brand-status:empty { display:none; }
