.catalog-hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: linear-gradient(115deg,#06418b,#06478f 63%,#04b6e7);
    border-bottom-right-radius: 7vw;
    color: white;
}
.catalog-hero::before {
    content: ""; position: absolute; z-index: -1; inset: 0 0 0 42%;
    background: url(catalog.png) 100% 5.71% / 172.41% 600% no-repeat;
    mask-image: linear-gradient(90deg, transparent, black 28%);
}
.catalog-hero-inner { width: min(90%, 1180px); min-height: 255px; margin: auto; padding: 37px 0 25px }
.catalog-hero h1 { font-size: clamp(37px, 5.4vw, 62px); letter-spacing: -.045em; margin: 0 0 8px }
.catalog-hero p { font-size: clamp(14px, 1.8vw, 20px); line-height: 1.45; margin: 0 0 19px; max-width: min(44%, 460px) }
.catalog-wrap { width: min(97%, 1240px); margin: 18px auto 24px }
.catalog-wrap .categories { margin: 0 0 23px }
.catalog-layout { display: grid; grid-template-columns: clamp(175px, 22%, 245px) minmax(0, 1fr); gap: 19px }
.catalog-filters { align-self: start; padding: 16px; border: 1px solid #e2eaf4; border-radius: 18px; background: #fdfdff; box-shadow: var(--shadow) }
.catalog-filters summary { font-weight: 800; cursor: pointer }
.catalog-filters fieldset { margin: 18px 0 15px; padding: 0 0 12px; border: 0; border-bottom: 1px solid #e2eaf4 }
.catalog-filters legend { font-weight: 750; margin-bottom: 6px; padding: 0 }
.catalog-filters fieldset label { display: flex; align-items: center; gap: 6px; padding: 5px 0; font-size: 14px; cursor: pointer }
.catalog-filters fieldset span { margin-left: auto; color: #4e617a }
.catalog-filters input[type=checkbox] { accent-color: var(--orange); width: 16px; height: 16px; margin: 0 }
.search-label { font-weight: 750 }
.search-label input { display: block; width: 100%; margin: 7px 0 14px; padding: 8px; border: 1px solid #d5e0ef; border-radius: 8px }
.catalog-filters [data-reset-filters] { width: 100%; padding: 8px 4px; border: 1px solid var(--orange); border-radius: 8px; background: transparent; color: #a63c00; font-weight: 700 }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px }
.catalog-toolbar h2 { margin: 0 0 3px; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.03em }
.catalog-toolbar p { margin: 0; font-size: 14px }
.catalog-tools, .view-choice { display: flex; align-items: center; gap: 8px }
.catalog-tools select, .view-choice { padding: 5px; border: 1px solid #d9e3ef; border-radius: 30px; background: #fbfcff }
.catalog-tools select { padding: 8px; font-size: 13px }
.view-choice button { padding: 4px 9px; border: 0; border-radius: 30px; background: transparent; font-size: 19px }
.view-choice button[aria-pressed=true] { color: white; background: #ed5400 }
.catalog-results .products { gap: 16px }
.catalog-empty { grid-column: 1/-1 }
.products.product-list { grid-template-columns: 1fr }
.product-list .product { flex-direction: row }
.product-list .photo { width: 30%; min-width: 100px }
.product-list .favorite { right: auto; left: 6px }
.catalog-delivery {
    position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; grid-template-columns: 32% 1fr auto;
    gap: 16px; margin-top: 32px; padding: 20px; border-radius: 18px; background: linear-gradient(100deg,#063375,#064286); color: white;
}
.delivery-picture { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 33%; background: url(catalog.png) 2.34% 98.13% / 310.3% 1097.14% no-repeat; mask-image: linear-gradient(90deg,#000 86%,transparent) }
.catalog-delivery > div:nth-child(2) { grid-column: 2 }
.catalog-delivery h2 { margin: 0 0 6px; font-size: clamp(18px, 2.4vw, 28px) }
.catalog-delivery p { margin: 0; line-height: 1.4 }
.catalog-delivery .orange { border-radius: 32px }

@media (max-width: 760px) {
    .catalog-hero-inner { min-height: 205px; padding-top: 22px }
    .catalog-hero p { max-width: 50% }
    .catalog-hero::before { inset-inline-start: 35% }
    .catalog-wrap { width: 94% }
    .catalog-wrap .categories { margin-bottom: 11px }
    .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 12px }
    .catalog-filters { padding: 9px 12px }
    .catalog-filters fieldset { display: flex; flex-wrap: wrap; column-gap: 12px; margin: 8px 0 }
    .catalog-filters fieldset label { font-size: 12px }
    .catalog-filters fieldset span { margin-left: 0 }
    .catalog-toolbar { flex-wrap: wrap }
    .catalog-results .products { gap: 10px }
    .catalog-delivery { grid-template-columns: 1fr; gap: 8px; padding: 15px 12px 15px 35% }
    .catalog-delivery > div:nth-child(2) { grid-column: 1 }
    .catalog-delivery p { font-size: 13px }
    .catalog-delivery .orange { justify-self: start; font-size: 12px }
}
.product-list .product-media-link { width: 30%; min-width: 100px }
.product-list .product-media-link .photo { width: 100% }
.product-detail { margin-block: 23px 36px }
.product-detail .breadcrumb { margin-bottom: 15px; background: #e8f0fb; flex-wrap: wrap }
.detail-panel {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(15px, 3vw, 35px);
    padding: clamp(13px, 2vw, 25px); border: 1px solid #e0e9f4; border-radius: 20px;
    background: #fff; box-shadow: var(--shadow);
}
.detail-panel:not(:has(.detail-photo)) { grid-template-columns: 1fr }
.detail-photo { width: 100%; max-height: 510px; object-fit: contain; background: #eef3fa; border-radius: 13px }
.detail-copy h1 { margin: 0 0 15px; font-size: clamp(29px, 4vw, 46px); letter-spacing: -.035em }
.detail-copy h2 { font-size: 18px; margin: 13px 0 6px }
.detail-copy p,.detail-copy ul { margin: 0 0 13px; line-height: 1.5 }
.detail-copy ul { padding-left: 21px }
@media (max-width: 760px) { .detail-panel { grid-template-columns: 1fr } }
.product-detail-layout { display: grid; grid-template-columns: minmax(0,1.32fr) minmax(0,1fr) minmax(0,.92fr); gap: 18px; align-items: start }
.detail-gallery,.detail-copy,.detail-order { min-width: 0 }
.detail-stage { position: relative; border-radius: 13px; overflow: hidden; background: #eff3f8 }
.detail-stage .detail-photo { display: block; aspect-ratio: 1.55; object-fit: contain }
.detail-stage button,.detail-expand { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: white; box-shadow: var(--shadow); font-size: 23px }
.detail-prev { top: 50%; left: 8px; transform: translateY(-50%) }
.detail-next { top: 50%; right: 8px; transform: translateY(-50%) }
.detail-expand { top: 8px; right: 8px; font-size: 20px }
.detail-thumbnails { display: flex; gap: 7px; overflow: auto; padding-block: 8px 2px }
.detail-thumbnails a { flex: 0 0 calc((100% - 21px) / 4); min-width: 50px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #edf3fa }
.detail-thumbnails a[aria-current] { border-color: #ff6700 }
.detail-thumbnails img { display: block; width: 100%; aspect-ratio: 1.75; object-fit: cover }
.detail-highlights { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none }
.detail-highlights li { display: flex; gap: 6px; line-height: 1.35 }
.detail-highlights .las { color: #df5500; font-size: 19px }
.detail-design { color: #094886; font-weight: 750 }
.detail-order { display: grid; gap: 9px; border: 1px solid #e6edf6; background: white; border-radius: 14px; padding: 12px; box-shadow: var(--shadow) }
.detail-contact,.detail-order-note { display: flex; align-items: center; gap: 7px; border-radius: 9px; padding: 9px; line-height: 1.32 }
.detail-contact { color: #08792c; background: #effbf3; border: 1px solid #28a650; font-weight: 750 }
.detail-contact > span:last-child { margin-left: auto }
.detail-contact i,.detail-order-note i { font-size: 24px }
.detail-order-note { background: #e9f3fd; font-size: 14px }
.detail-tabs { grid-column: 1/-1 }
.detail-tab-links { display: flex; overflow-x: auto; gap: 4px }
.detail-tab-links a { display: flex; align-items: center; gap: 5px; padding: 9px 12px; white-space: nowrap; font-weight: 750; font-size: 14px; background: #edf4fc; border-radius: 8px 8px 0 0 }
.detail-tab-links a[aria-current] { background: #ef5700; color: white }
.detail-tab-panel { margin-bottom: 6px; padding: 12px; border: 1px solid #e0eaf5; border-radius: 0 9px 9px 9px; background: white; box-shadow: var(--shadow) }
.detail-tab-panel p { margin: 3px 0; line-height: 1.4 }
.detail-tab-panel a { color: #084986; text-decoration: underline }
@media(max-width:900px) { .product-detail-layout { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) } .detail-order { grid-column: 1/-1 } }
@media(max-width:600px) { .product-detail-layout { grid-template-columns: minmax(0,1fr); gap: 12px } }

.detail-photo-link { display: block; cursor: zoom-in }
.detail-lightbox {
    width: min(95vw, 1100px);
    max-width: none;
    max-height: 94dvh;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: white;
    overflow: visible;
}
.detail-lightbox::backdrop { background: #06162ee8 }
.detail-lightbox-body { position: relative; padding: 8px 46px 28px; text-align: center }
.detail-lightbox-photo { display: block; width: 100%; max-height: 79dvh; object-fit: contain }
.detail-lightbox button {
    position: absolute; display: grid; place-items: center; width: 41px; height: 41px; padding: 0;
    border: 1px solid #ffffff55; border-radius: 50%; background: #132c50; color: white;
    line-height: 1; font-size: 28px; cursor: pointer;
}
.detail-lightbox button:focus-visible { outline: 2px solid #ff8b31; outline-offset: 3px }
.detail-lightbox-close { top: 0; right: 0 }
.detail-lightbox-prev,.detail-lightbox-next { top: 50%; transform: translateY(-50%) }
.detail-lightbox-prev { left: 0 }
.detail-lightbox-next { right: 0 }
.detail-lightbox-count { position: absolute; inset: auto 0 0; font-size: 14px }
@media(max-width:600px) {
    .detail-lightbox-body { padding: 43px 3px 47px }
    .detail-lightbox-prev,.detail-lightbox-next { top: auto; bottom: 0; transform: none }
    .detail-lightbox-count { bottom: 11px; inset-inline: 44px; pointer-events: none }
}
