.catalog-hero {
    background: #192a34;
    color: #fff;
    padding: clamp(5.5rem, 9vw, 7.5rem) 0 clamp(1.75rem, 4vw, 3.5rem);
}
.catalog-hero .site-breadcrumbs { margin: 0 0 clamp(1rem, 2.5vw, 2rem); }
.catalog-hero .site-lead { color: #dae3e6; line-height: 1.55; margin: .7rem 0 0; }
.catalog-intro, .product-stage, .product-details { display: grid; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.catalog-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.catalog-search-label { display: block; margin: 1.35rem 0 .45rem; color: #f7f7f3; font-size: .93rem; font-weight: 650; }
#catalog-search {
    width: 100%; min-height: 48px; border: 1px solid #c7d3d9; border-radius: 8px;
    padding: .75rem 1rem; font: inherit; color: #182a34; background: #fff;
}
.catalog-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.catalog-tile {
    display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .45rem .8rem .45rem .45rem;
    text-decoration: none; color: #f8fafb; background: #243741; border: 1px solid #53636b;
    border-radius: 10px; font-size: .95rem; font-weight: 650; line-height: 1.28;
}
.catalog-tile:hover { color: #fff; background: #35454b; border-color: #e6a17f; }
.catalog-tile[aria-current] { color: #202d33; background: #fff1e6; border-color: #ffbb95; box-shadow: inset 3px 0 #b94722; }
.catalog-tile:focus-visible, .product-spec-link:focus-visible { outline: 3px solid #ffbb95; outline-offset: 3px; }
.catalog-tile img { width: 3.35rem; height: 2.9rem; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; flex: none; }
.catalog-tile span { overflow-wrap: anywhere; }
.catalog-results, .product-content { background: #faf8f4; padding: clamp(1.6rem, 4vw, 3.5rem) 0; }
#catalog-models, #catalog-category-title, #specs { scroll-margin-top: 6rem; }
.catalog-results-head, .catalog-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; }
.catalog-results-head h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.25; }
#catalog-count { margin: 0; color: #53646c; font-size: .95rem; }
#catalog-reset { margin-left: auto; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.75rem, 2vw, 1.3rem); margin-top: 1.15rem; }
.catalog-card {
    display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d6dcda; border-radius: 15px;
    background: #fff; color: #192d38;
}
.catalog-card[hidden], .catalog-results [hidden], .catalog-cartbar [hidden] { display: none !important; }
.catalog-picture { display: grid; place-items: center; height: clamp(155px,16vw,195px); padding: 14px; border-bottom: 1px solid #e6e9e7; }
.catalog-picture img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.catalog-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 2vw, 1.4rem); }
.catalog-card .catalog-card-name { color: #192d38; font-size: clamp(1.06rem,1.55vw,1.25rem); line-height: 1.3; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.catalog-card-name a { color: inherit; text-decoration: none; }
.catalog-card-name a:hover { text-decoration: underline; }
.catalog-sku { font-size: .9rem; line-height: 1.45; color: #52646e; margin: .35rem 0 1rem; overflow-wrap: anywhere; }
.catalog-price { display: grid; gap: .2rem; }
.catalog-price strong { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; }
.catalog-price span { color: #52646e; font-size: .85rem; line-height: 1.45; }
.catalog-card .catalog-price { margin-top: auto; padding-top: .3rem; }
.catalog-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.05rem; margin-top: 1rem; }
.catalog-card-actions .btn { min-height: 44px; padding: .7rem 1rem; white-space: normal; text-align: center; line-height: 1.3; }
.catalog-text-link, .catalog-solution, .product-details aside a { color: #8b3e1f; text-decoration: underline; text-underline-offset: .18em; font-weight: 650; }
.catalog-text-link { display: inline-flex; align-items: center; min-height: 44px; }
.catalog-foot { justify-content: space-between; margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid #cfd9d8; }
.catalog-notice { color: #52646e; margin: 0; font-size: .95rem; line-height: 1.55; }
#catalog-empty { margin: 1rem 0; background: #fff; border: 1px solid #d6dcda; border-radius: 12px; padding: 1.2rem; }
.product-stage { grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr); grid-template-areas: "photo title" "photo buy"; row-gap: 1.25rem; }
.product-heading { grid-area: title; align-self: end; }
.product-spec-link { display: inline-flex; min-height: 44px; align-items: center; color: #ffbb95; font-size: .94rem; font-weight: 650; text-underline-offset: .22em; }
.product-spec-link:hover { color: #fff; }
.product-heading .site-eyebrow { margin: 0 0 .6rem; }
.product-stage h1 { overflow-wrap: anywhere; }
.product-photo { grid-area: photo; display: grid; align-items: center; justify-items: center; height: clamp(245px,26vw,360px); padding: 1.2rem; border-radius: 16px; background: white; }
.product-photo img { width: 100%; max-width: 340px; height: 100%; min-height: 0; object-fit: contain; }
.product-buy { grid-area: buy; align-self: start; }
.product-buy .catalog-price strong { color: #fff; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.product-buy .catalog-price span, .product-buy .catalog-notice { color: #c6d4db; }
.product-buy .catalog-notice { margin-top: .75rem; font-size: .88rem; }
.product-details { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: start; }
.product-details h2 { font-size: clamp(1.25rem, 2.3vw, 1.65rem); line-height: 1.3; margin-bottom: 1rem; }
.product-details dl { margin: 0; }
.product-details dl>div { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #d6dcd9; line-height: 1.5; }
.product-details dt { color: #52646e; }
.product-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.product-details aside { padding: clamp(1rem, 3vw, 1.75rem); background: #fff; border: 1px solid #d6dcd9; border-radius: 14px; }
.product-details ul { padding-left: 1.3rem; }
.product-details li, .product-details p { line-height: 1.55; margin-bottom: .7rem; }
.product-details aside p { color: #52646e; font-size: .91rem; }
.catalog-no-photo { color: #52646e; }
.catalog-cartbar {
    position: fixed; z-index: 45; inset: auto auto 18px 20px; width: auto; max-width: min(680px,80vw);
    display: flex; align-items: center; gap: .9rem; padding: .45rem .5rem .45rem .95rem; margin: 0;
    background: #fff; border: 1px solid #c7d2d7; border-radius: 12px; box-shadow: 0 6px 24px #15273226;
}
.catalog-cartbar:has(strong[hidden]):has(p:empty) { display: none; }
.catalog-cartbar p { font-size: .93rem; }
.catalog-cartbar p:empty { display: none; }
.catalog-cartbar strong { font-variant-numeric: tabular-nums; color: #1c323d; }
.catalog-cartbar .btn { min-height: 44px; padding: .65rem 1rem; white-space: nowrap; }
.catalog-cartbar:not(:has(strong[hidden])) #catalog-feedback:not([data-warning]) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 870px) {
    .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .catalog-intro { grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr); gap: 1.2rem; }
    .catalog-tile { font-size: .87rem; }
    .catalog-tile img { width: 2.6rem; height: 2.5rem; }
}
@media (max-width: 700px) {
    .catalog-intro, .product-details { grid-template-columns: minmax(0,1fr); gap: 1.2rem; }
    .catalog-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .4rem; }
    .catalog-tile { gap: .45rem; min-height: 44px; padding: .35rem .45rem; }
    .catalog-tile img { width: 2rem; height: 2rem; }
    .catalog-results-head { gap: .2rem .8rem; }
    .product-stage { grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "photo" "buy"; gap: 1rem; }
    .product-photo { height: clamp(145px,25vh,210px); padding: .7rem; }
    .product-stage h1 { font-size: clamp(1.55rem, 7vw, 2.05rem); }
    .product-buy .catalog-card-actions { margin-top: .7rem; }
    body:has(#catalog-cart-total:not([hidden])) { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
    body:has(#catalog-cart-total:not([hidden])) .floating-wa { bottom: calc(80px + env(safe-area-inset-bottom)); }
    .catalog-cartbar { inset: auto 0 0; width: 100%; max-width: none; border-radius: 0; border-width: 1px 0 0; justify-content: space-between; flex-wrap: wrap; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); gap: .25rem .5rem; }
    .catalog-cartbar p[data-warning] { width: 100%; }
}
@media (max-width: 500px) {
    .catalog-grid { grid-template-columns: minmax(0,1fr); }
    .catalog-card { display: grid; grid-template-columns: minmax(70px,.38fr) minmax(0,1fr); }
    .catalog-picture { height: auto; min-width: 0; padding: .4rem; border: 0; align-self: start; margin-top: 1rem; }
    .catalog-picture img { height: 88px; }
    .catalog-card-body { padding: .95rem .85rem .95rem .2rem; }
    .catalog-card-actions { gap: .1rem .6rem; margin-top: .5rem; }
    .catalog-card-actions .btn { font-size: .94rem; }
    .catalog-sku { margin-bottom: .6rem; }
    .catalog-foot { align-items: flex-start; }
}

.catalog-quantity { display:inline-flex; align-items:center; gap:.2rem; max-width:100%; }
.catalog-quantity [hidden] { display:none; }
.catalog-quantity:has(.catalog-decrease:not([hidden])) {
    color:#143d37; background:#e9f2ef; border:1px solid #99b9b0; border-radius:.65rem;
}
.catalog-quantity:has(.catalog-decrease:not([hidden])) :is(button, a) {
    display:inline-grid; place-items:center; width:44px; min-height:44px; padding:0; margin:0;
    border:0; border-radius:.55rem; color:inherit; background:transparent; font:inherit;
    font-size:1.35rem; font-weight:650; text-decoration:none; cursor:pointer;
}
.catalog-quantity:has(.catalog-decrease:not([hidden])) :is(button, a):hover { background:#d4e7de; }
.catalog-quantity a[aria-disabled="true"] { opacity:.55; }
.catalog-quantity-value { min-width:3rem; text-align:center; font-size:.95rem; font-weight:700; font-variant-numeric:tabular-nums; }
@media (prefers-reduced-motion:no-preference) {
    .catalog-quantity-value:not([hidden]) { animation:cart-quantity-in .15s ease-out; }
    @keyframes cart-quantity-in { from {opacity:.25;transform:translateY(2px)} to {opacity:1;transform:none} }
}

.catalog-cartbar:has(#catalog-cart-total[hidden]):has(#catalog-feedback:not([data-warning])) {
    position:absolute; width:1px; min-width:0; height:1px; padding:0; overflow:hidden;
    border:0; clip-path:inset(50%); box-shadow:none;
}
.catalog-cartbar:has(#catalog-cart-total[hidden]):has(#catalog-feedback:not([data-warning])) a {display:none;}
