﻿.product-detail-page {
    padding: 32px 0 68px;
    background: #f7f7f7;
    color: #25282d;
}

.product-detail-shell {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.product-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #7b8189;
    font-size: 14px;
}

.product-detail-breadcrumb a {
    color: #555c65;
}

.product-detail-breadcrumb a:hover {
    color: #d71920;
}

.product-detail-card,
.product-detail-empty {
    border: 1px solid #e4e7eb;
    border-radius: 6px;
    background: #fff;
}

.product-detail-card {
    overflow: hidden;
}

.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 52px;
    padding: 42px 48px;
}

.product-detail-main-image {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    border: 1px solid #eceef1;
    border-radius: 5px;
    background: #f5f6f7;
}

.product-detail-main-image img {
    display: block;
    max-width: calc(100% - 32px);
    max-height: 288px;
    object-fit: contain;
}

.product-detail-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.product-detail-thumbnails a {
    width: 104px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 3px;
    background: #fff;
}

.product-detail-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #d71920;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.product-detail-summary h1 {
    margin: 0;
    color: #20242a;
}

.product-detail-subtitle {
    margin: 16px 0 0;
    color: #626972;
    font-size: 17px;
    line-height: 1.75;
}


.product-detail-commerce {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid #f0d9a4;
    border-radius: 4px;
    background: #fffbed;
}

.product-detail-commerce > div {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

.product-detail-commerce span {
    color: #777d85;
    font-size: 13px;
}

.product-detail-commerce strong {
    color: #d71920;
    font-size: 17px;
}

.product-detail-commerce small {
    color: #666d76;
    font-size: 12px;
}

.product-detail-ship-note {
    margin-top: 14px;
    color: #626972;
    font-size: 13px;
    line-height: 1.7;
}

.product-detail-categories {
    margin-top: 24px;
}

.product-detail-categories strong {
    display: block;
    margin-bottom: 10px;
}

.product-detail-categories > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-detail-categories a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 3px;
    background: #fff1f2;
    color: #b31219;
    font-size: 13px;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.product-detail-intro,
.product-detail-solutions,
.product-detail-content,
.product-detail-keywords {
    margin: 0 48px;
    padding: 34px 0;
    border-top: 1px solid #eceef0;
}

.product-detail-intro h2,
.product-detail-solutions h2,
.product-detail-content h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.product-detail-intro p,
.product-detail-solutions p {
    margin: 0;
    color: #4f5660;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-line;
}

.product-detail-content__body {
    color: #363b42;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.product-detail-content__body img {
    max-width: 100%;
    height: auto;
}

.product-detail-content__body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.product-detail-keywords {
    color: #747b84;
}

.product-detail-empty {
    padding: 80px 24px;
    text-align: center;
}

.product-detail-empty h1 {
    margin: 0 0 12px;
}

.product-detail-empty p {
    margin: 0 0 24px;
    color: #747b84;
}

.product-detail-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 4px;
    background: #d71920;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 900px) {
    .product-detail-hero {
        grid-template-columns: 1fr;
        padding: 34px 28px;
    }

    .product-detail-gallery {
        max-width: 520px;
        margin-right: auto;
        margin-left: auto;
    }

    .product-detail-main-image {
        height: 320px;
    }

    .product-detail-intro,
    .product-detail-solutions,
    .product-detail-content,
    .product-detail-keywords {
        margin-right: 28px;
        margin-left: 28px;
    }
}

@media (max-width: 640px) {
    .product-detail-page {
        padding-top: 20px;
    }

    .product-detail-shell {
        width: calc(100% - 32px);
    }

    .product-detail-hero {
        padding: 24px 18px;
    }

    .product-detail-main-image {
        height: 240px;
    }

    .product-detail-main-image img {
        max-height: 212px;
    }

    .product-detail-commerce {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-detail-intro,
    .product-detail-solutions,
    .product-detail-content,
    .product-detail-keywords {
        margin-right: 18px;
        margin-left: 18px;
    }
}
