.product-page {
    --product-line: #ded9ce;
    --product-surface: #fff;
    --product-muted: #595c51;
    padding-block: clamp(22px, 3.3vw, 52px) 48px;
}
.product-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--product-muted); margin-bottom: 18px; }
.product-crumbs a, .product-order-links a, .product-section-heading > a { text-decoration: underline; text-underline-offset: .25em; }
.product-top {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    grid-template-areas: "media heading" "media buy";
    grid-template-rows: auto 1fr;
    gap: 20px clamp(20px, 4vw, 58px);
    align-items: start;
}
.product-heading { grid-area: heading; }
.product-heading p { color: #813925; font-weight: 650; margin: 0 0 7px; }
.product-heading h1 {
    max-width: 35ch;
    margin: 0;
    font: 650 clamp(26px, 2.7vw, 43px)/1.09 "Golos Text", sans-serif;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.product-media { grid-area: media; min-width: 0; }
.product-photo {
    display: grid;
    position: relative;
    place-items: center;
    background: #efebe3;
    border: 1px solid var(--product-line);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1.32;
}
.product-photo img { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.product-zoom-label {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #fff;
    color: #272920;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 12px;
}
.product-thumbnails { display: flex; gap: 8px; padding: 4px 4px 9px; margin: 8px -4px 0; overflow-x: auto; }
.product-thumbnails a { flex: 0 0 auto; display: block; border: 2px solid var(--product-line); border-radius: 7px; overflow: hidden; background: #fff; }
.product-thumbnails a[aria-current] { border-color: #8e3d29; }
.product-thumbnails img { display: block; object-fit: contain; }
.product-photo-dialog {
    width: min(1000px, calc(100% - 24px));
    height: min(780px, calc(100% - 28px));
    border: 0;
    border-radius: 10px;
    padding: 48px 12px 12px;
    background: #f8f6f0;
}
.product-photo-dialog::backdrop { background: rgb(27 25 21 / 82%); }
.product-photo-dialog form { position: absolute; top: 4px; right: 8px; }
.product-photo-dialog button { width: 44px; height: 44px; background: #fff; border: 1px solid var(--product-line); border-radius: 6px; color: #272920; font-size: 23px; cursor: pointer; }
.product-photo-dialog img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-buybox { grid-area: buy; padding: clamp(16px, 2.15vw, 28px); border: 1px solid var(--product-line); border-radius: 12px; background: var(--product-surface); }
.product-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; }
.product-highlights div { min-width: 0; padding: 9px 10px; border-radius: 7px; background: #f4f1eb; overflow-wrap: anywhere; }
.product-highlights dt, .product-specs dt { color: var(--product-muted); font-size: 13px; }
.product-highlights dd, .product-specs dd { margin: 4px 0 0; font-weight: 590; }
.product-formats { margin-bottom: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.product-formats p { width: 100%; margin: 0 0 2px; font-size: 14px; }
.product-formats > a, .product-formats > span { padding: 7px 9px; border-radius: 5px; border: 1px solid var(--product-line); font-size: 13px; }
.product-formats > span { background: #eaf0e9; border-color: #97a89d; }
.product-price { scroll-margin-top: 24px; }
.product-price strong { font-size: clamp(25px, 2.6vw, 39px); line-height: 1.1; letter-spacing: -.03em; }
.product-price span, .product-price p, .product-order-note { color: var(--product-muted); font-size: 14px; }
.product-price p, .product-order-note { margin: 7px 0 0; }
.product-buy { align-items: flex-end; margin-top: 13px; }
.product-buy input { display: block; min-height: 46px; }
.product-buy .primary, .product-quote { min-height: 46px; }
.product-quote { margin-top: 14px; }
.product-calculator { margin-top: 14px; padding-top: 9px; border-top: 1px solid var(--product-line); }
.product-calculator summary { display: list-item; padding: 6px 0; cursor: pointer; color: #84432b; }
.product-calculator .area {
    display: grid;
    gap: 10px;
    margin: 5px 0 0;
    padding: 14px;
    border-color: var(--product-line);
    border-radius: 8px;
    background: #f7f5ef;
}
.product-calculator-field { display: grid; gap: 7px; justify-items: start; }
.product-calculator-field label { font-size: 14px; font-weight: 600; }
.product-calculator .area input {
    width: min(100%, 180px);
    min-height: 44px;
    border-radius: 5px;
    background: #fff;
}
.product-calculator .area input:focus-visible { outline: 2px solid #944a33; outline-offset: 2px; }
.product-calculator .area p { margin: 0; color: var(--product-muted); font-size: 13px; }
.product-calculator-result { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.product-calculator-result:has(output:empty) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.product-calculator .area output { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.product-calculator .area button {
    min-height: 44px;
    border: 1px solid #a88a78;
    border-radius: 5px;
    background: #fff;
    color: #783d2a;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}
.product-calculator .area button:hover { background: #f4eae0; }
.product-order-links { display: flex; gap: 4px 16px; flex-wrap: wrap; margin-top: 15px; font-size: 13px; }
.product-jumps { display: flex; gap: 6px 20px; flex-wrap: wrap; padding-block: 12px; margin-top: 25px; border-bottom: 1px solid var(--product-line); font-size: 14px; }
.product-jumps a { display: flex; align-items: center; min-height: 44px; color: #78412c; }
.product-section { margin-top: 28px; scroll-margin-top: 20px; }
.product-section h2 { margin: 0 0 14px; font: 650 clamp(23px, 2.6vw, 35px)/1.16 "Golos Text", sans-serif; letter-spacing: -.025em; }
.product-copy { max-width: 85ch; overflow-x: auto; overflow-wrap: anywhere; }
.product-copy img { max-width: 100%; height: auto; }
.product-copy table { width: 100%; }
.product-specs { margin: 0; padding: 0 clamp(12px, 2vw, 26px); border: 1px solid var(--product-line); border-radius: 9px; background: var(--product-surface); }
.product-specs div { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; overflow-wrap: anywhere; }
.product-specs div + div { border-top: 1px solid #eae7df; }
.product-specs dd { margin: 0; }
.product-services-layout { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 12px; }
.product-service-support {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(16px, 2vw, 25px);
    border-radius: 12px;
    background: #243d33;
    color: #fff;
}
.product-service-support h3 { margin: 0; color: inherit; font-size: clamp(19px, 1.65vw, 25px); font-weight: 620; line-height: 1.2; letter-spacing: -.02em; }
.product-service-support p { margin: 8px 0 16px; color: #dae6de; font-size: 14px; line-height: 1.45; }
.product-service-support a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-top: auto;
    padding: 7px 12px;
    border-radius: 6px;
    background: #f5eddd;
    color: #263c32;
    font-size: 14px;
    font-weight: 650;
}
.product-service-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.product-service-list li { grid-column: span 2; min-width: 0; }
.product-service-list li:nth-last-child(-n + 2) { grid-column: span 3; }
.product-service-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon copy arrow";
    align-items: center;
    gap: 10px;
    height: 100%;
    min-height: 56px;
    padding: clamp(10px, 1.25vw, 17px);
    border: 1px solid var(--product-line);
    border-radius: 9px;
    background: var(--product-surface);
}
.product-service-icon {
    grid-area: icon;
    display: grid;
    place-items: center;
    justify-self: start;
    width: 40px;
    height: 40px;
    border: 1px solid #eadbcf;
    border-radius: 10px;
    background: #f5ece4;
    color: #813b28;
}
.product-service-icon svg { display: block; width: 23px; height: 23px; }
.product-service-copy { grid-area: copy; min-width: 0; overflow-wrap: anywhere; }
.product-service-list strong { display: block; font-weight: 620; font-size: 15px; line-height: 1.25; }
.product-service-list small { display: block; margin-top: 5px; color: var(--product-muted); font-size: 13px; line-height: 1.35; }
.product-service-arrow { grid-area: arrow; justify-self: end; color: #85482f; line-height: 1.2; }
.product-service-list a:hover, .product-service-list a:focus-visible { border-color: #9c806c; background: #faf7f0; text-decoration: none; }
.product-service-list a:hover strong, .product-service-list a:focus-visible strong { text-decoration: underline; text-underline-offset: .2em; }
.product-service-support a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.product-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.product-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; }
.product-mobile-action { display: none; }
@media (max-width: 960px) {
    .product-services-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .product-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-service-list li:nth-child(n) { grid-column: auto; }
    .product-service-list li:last-child { grid-column: 1 / -1; }
    .product-service-list li:not(:last-child) a {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "icon arrow" "copy copy";
        align-content: start;
        gap: 7px;
    }
    .product-service-icon { width: 34px; height: 34px; border-radius: 8px; }
    .product-service-icon svg { width: 20px; height: 20px; }
}
@media (max-width: 760px) {
    .product-page { padding-block: 18px 36px; }
    .product-top { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "heading" "media" "buy"; gap: 14px; }
    .product-crumbs { margin-bottom: 12px; }
    .product-photo { max-height: 320px; }
    .product-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body:has(.product-mobile-action) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    .product-mobile-action {
        display: flex;
        position: fixed;
        z-index: 5;
        inset: auto 0 0;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--product-line);
        background: #fff;
        font-size: 14px;
        font-weight: 650;
    }
    .product-mobile-action .primary { min-height: 44px; text-align: center; }
}
@media (max-width: 350px) {
    .product-service-list { grid-template-columns: minmax(0, 1fr); }
    .product-service-list li:not(:last-child) a {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "icon copy arrow";
    }
}
.alternative-reason { margin: 0 0 .55rem; font-size: .9rem; line-height: 1.4; color: #344d43; }
