.product-title-band {
    padding: 34px 28px 24px;
    background: #f8f8f6;
    border-top: 1px solid #e8e5e0;
    border-bottom: 1px solid #d8d5cf;
    color: #070707;
}

.product-layout {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 58px 58px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(480px, .92fr);
    gap: 72px;
    align-items: start;
}

.product-media,
.product-detail {
    min-width: 0;
}

.product-image-stage {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-layout .product-main-img {
    width: 100%;
    max-height: 430px;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-layout .product-sketch-grid {
    margin-top: 58px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-bottom: 2px solid #555;
}

.product-layout .product-sketch-grid figure {
    margin: 0;
    min-height: 138px;
    padding: 0;
    border-right: 1px solid #777;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-layout .product-sketch-grid figure.is-active {
    background: #f4f4f1;
}

.sketch-option {
    width: 100%;
    min-height: 138px;
    padding: 18px 18px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sketch-option:hover,
.sketch-option:focus {
    outline: 0;
    background: #f7f7f4;
}

.product-layout .product-sketch-grid figure.is-active .sketch-option {
    box-shadow: inset 0 -3px 0 #444;
}

.product-layout .product-sketch-grid figure:nth-child(4n) {
    border-right: 0;
}

.product-layout .product-sketch-grid img {
    width: 100%;
    height: 72px;
    object-fit: contain;
    border: 0;
}

.product-layout .product-sketch-grid figcaption,
.product-layout .product-sketch-grid .sketch-caption {
    margin-top: 9px;
    color: #555;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
}

.product-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 28px;
    align-items: end;
    border-bottom: 2px solid #565656;
    padding-bottom: 8px;
}

.product-detail-head h1 {
    margin: 0;
    color: #4c4747;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 800;
}

.product-detail-head p {
    margin: 3px 0 0;
    color: #504d4d;
    font-size: 14px;
}

.product-mini-sketch {
    width: 145px;
    height: 82px;
    object-fit: contain;
    justify-self: end;
}

.product-detail .section-line {
    margin: 0;
    padding: 0;
    border-top: 0;
}

.product-detail h2 {
    margin: 20px 0 72px;
    color: #4b4747;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 800;
}

.price-section {
    border-bottom: 2px solid #565656;
    padding-bottom: 12px;
}

.product-detail .prices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 2px solid #565656;
    border-bottom: 2px solid #565656;
}

.product-detail .pricebox {
    min-height: 100px;
    padding: 16px 16px 13px;
    border-right: 1px solid #565656;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail .pricebox:last-child {
    border-right: 0;
}

.product-detail .pricebox small {
    color: #4e4a4a;
    font-size: 13px;
    line-height: 1.08;
    font-weight: 700;
    text-transform: none;
}

.product-detail .pricebox small span {
    text-transform: uppercase;
}

.product-detail .pricebox strong {
    margin-top: 18px;
    color: #4d4949;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.product-detail .pricebox em {
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.price-note {
    margin: 8px 0 0;
    color: #6a6563;
    font-size: 12px;
}

.materials-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px dashed #777;
}

.materials-section h2 {
    margin: 0;
    padding-bottom: 13px;
    border-bottom: 2px solid #565656;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 20px;
    max-height: 520px;
    overflow: auto;
    padding: 34px 8px 8px;
}

.material-swatch {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid #e6e2dc;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.material-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.material-swatch.is-active {
    outline: 3px solid #4d4949;
    outline-offset: 6px;
}

.material-swatch span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.selected-material-name {
    margin: 16px 16px 0;
    color: #5b5656;
    font-size: 13px;
    font-weight: 700;
}

.description-section {
    padding-top: 64px;
}

.description-section h2,
.product-files h2 {
    margin: 0;
    padding-bottom: 13px;
    border-bottom: 2px solid #565656;
}

.description-section p {
    margin: 34px 0 52px;
    max-width: 720px;
    color: #4f4a4a;
    font-size: 18px;
    line-height: 1.28;
}

.product-files {
    display: flex;
    align-items: center;
    gap: 26px;
    border-bottom: 2px solid #565656;
    padding-bottom: 13px;
}

.product-files h2 {
    flex: 0 0 auto;
    border-bottom: 0;
    padding-bottom: 0;
}

.pdf-link {
    width: 58px;
    height: 34px;
    border: 1px solid #777;
    border-radius: 3px;
    color: #4d4949;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
}

@media (max-width: 1100px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 34px 22px 20px;
    }

    .product-detail-head {
        grid-template-columns: 1fr 110px;
    }

    .product-mini-sketch {
        width: 110px;
    }
}

@media (max-width: 700px) {
    .product-title-band {
        font-size: 38px;
        padding: 26px 20px 18px;
    }

    .product-image-stage {
        min-height: 260px;
    }

    .product-layout .product-main-img {
        max-height: 300px;
    }

    .product-layout .product-sketch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 28px;
    }

    .product-layout .product-sketch-grid figure:nth-child(4n) {
        border-right: 1px solid #777;
    }

    .product-layout .product-sketch-grid figure:nth-child(2n) {
        border-right: 0;
    }

    .product-detail-head {
        grid-template-columns: 1fr;
    }

    .product-mini-sketch {
        justify-self: start;
    }

    .product-detail h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .product-detail .prices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail .pricebox:nth-child(2n) {
        border-right: 0;
    }

    .product-detail .pricebox {
        border-bottom: 1px solid #777;
    }

    .description-section p {
        font-size: 16px;
        margin-top: 24px;
    }

    .materials-grid {
        grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
        gap: 14px;
        padding-left: 6px;
        padding-right: 6px;
    }
}
