.product-page {
    padding: 34px 0 72px;
    background:
        radial-gradient(circle at 12% 4%, rgba(5, 103, 232, .055), transparent 24%),
        #f4f7fb;
}

.product-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    margin-bottom: 18px;
    color: #718198;
    font-size: 12px;
    white-space: nowrap;
}

.product-breadcrumbs a {
    color: #59708e;
    text-decoration: none;
}

.product-breadcrumbs strong {
    overflow: hidden;
    color: #10213a;
    text-overflow: ellipsis;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(340px, 1.08fr) minmax(245px, .72fr);
    gap: 20px;
    align-items: start;
}

.product-gallery,
.product-info,
.purchase-card,
.technical-section,
.cross-alternatives-section,
.compatible-vehicles-section {
    border: 1px solid #dfe8f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 13px 38px rgba(20, 45, 75, .07);
}

.product-gallery,
.product-info,
.purchase-card {
    padding: 22px;
}

.product-main-image-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #f5f8fb;
    cursor: zoom-in;
}

.product-main-image-button > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #fff;
    background: rgba(7, 21, 44, .76);
    font-size: 11px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.product-main-image-button:hover > span,
.product-main-image-button:focus-visible > span {
    opacity: 1;
    transform: translateY(0);
}

.main-product-image,
.product-image-placeholder {
    aspect-ratio: 1;
    background:
        radial-gradient(circle at 50% 40%, #fff, #eef3f8);
}

.main-product-image {
    display: block;
    padding: 12px;
    transition: transform .28s ease;
}

.product-main-image-button:hover .main-product-image {
    transform: scale(1.035);
}

.product-image-placeholder {
    display: grid;
    gap: 12px;
    place-content: center;
    color: #718198;
}

.product-image-placeholder img {
    width: min(190px, 48%);
    aspect-ratio: 1;
    margin: 0 auto;
    border: 1px solid #d6e3f0;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 18px 38px rgba(7, 21, 44, .14);
}

.product-image-placeholder span {
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.product-thumbnails {
    gap: 8px;
    margin-top: 10px;
}

.product-thumbnail {
    border: 1px solid #dce6f0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #0567e8;
    box-shadow: 0 0 0 3px rgba(5, 103, 232, .1);
}

.product-kicker {
    display: block;
    margin-bottom: 12px;
    color: #718198;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.product-info .product-brand {
    font-size: 12px;
    letter-spacing: .09em;
}

.product-info h1 {
    margin: 10px 0 12px;
    color: #10213a;
    font-size: clamp(25px, 2.5vw, 35px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.product-category {
    margin: 0;
    color: #718198;
    font-size: 13px;
}

.product-category strong {
    color: #40536d;
}

.product-codes-title {
    margin: 24px 0 2px;
    color: #10213a;
    font-size: 14px;
}

.product-data div {
    padding: 12px 0;
}

.product-data dt {
    color: #718198;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-data dd {
    color: #10213a;
    font-weight: 750;
}

.product-code-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-code-chips span {
    padding: 6px 8px;
    border: 1px solid #dfe8f2;
    border-radius: 7px;
    color: #2d4665;
    background: #f5f8fb;
    font-size: 12px;
    font-weight: 700;
}

.purchase-card {
    position: sticky;
    top: 92px;
    gap: 13px;
}

.product-price {
    color: #0567e8;
    font-size: 30px;
    letter-spacing: -.03em;
}

.product-total-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f1f6fb;
    font-size: 12px;
}

.product-total-stock > span {
    color: #62758e;
}

.purchase-card h2 {
    margin: 6px 0 0;
    color: #10213a;
    font-size: 13px;
}

.warehouse-stock div {
    padding: 10px 0;
    font-size: 12px;
}

.warehouse-stock span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.warehouse-stock i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}

.warehouse-stock i.stock-dot-active {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .11);
}

.add-to-cart-form {
    margin-top: 4px;
}

.add-to-cart-form label {
    color: #62758e;
    font-size: 12px;
    font-weight: 700;
}

.add-to-cart-form > div {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px;
    margin-top: 7px;
}

.add-to-cart-form input {
    width: 100%;
    min-width: 0;
    padding: 11px 8px;
    border: 1px solid #cad8e7;
    border-radius: 9px;
    text-align: center;
}

.add-to-cart-form button,
.mobile-purchase-bar button {
    min-height: 42px;
    padding: 10px 14px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: #0567e8;
    box-shadow: 0 9px 22px rgba(5, 103, 232, .19);
    font-weight: 850;
    cursor: pointer;
}

.technical-section,
.cross-alternatives-section,
.compatible-vehicles-section {
    margin-top: 20px;
    padding: 26px;
}

.product-section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}

.product-section-icon {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 10px;
    color: #0567e8;
    background: #edf5ff;
    font-size: 11px;
    font-weight: 900;
}

.product-section-heading h2 {
    margin: 0;
    color: #10213a;
    font-size: 22px;
}

.product-section-heading p {
    margin: 4px 0 0;
    color: #718198;
    font-size: 12px;
}

.technical-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
}

.technical-table div {
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 14px;
    padding: 12px 0;
}

.technical-table dt {
    color: #657890;
    font-size: 13px;
}

.technical-table dd {
    color: #10213a;
    font-size: 13px;
}

.cross-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cross-alternative-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 13px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #dfe8f2;
    border-radius: 12px;
    background: #f8fafc;
}

.cross-alternative-image {
    display: grid;
    width: 88px;
    height: 88px;
    overflow: hidden;
    place-items: center;
    border: 1px solid #e0e9f3;
    border-radius: 10px;
    background: #fff;
}

.cross-alternative-image > img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

.cross-alternative-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.cross-alternative-placeholder img {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    object-fit: cover;
}

.cross-alternative-content {
    min-width: 0;
}

.cross-alternative-content .product-brand {
    font-size: 10px;
    letter-spacing: .08em;
}

.cross-alternative-content h3 {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.3;
}

.cross-alternative-content h3 a {
    color: #10213a;
    text-decoration: none;
}

.cross-alternative-content p {
    overflow: hidden;
    margin: 0;
    color: #718198;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cross-alternative-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
}

.cross-alternative-bottom strong {
    color: #0567e8;
    font-size: 14px;
}

.cross-alternative-bottom span {
    font-size: 10px;
    font-weight: 800;
}

.cross-alternative-bottom .in-stock {
    color: #237443;
}

.cross-alternative-bottom .out-of-stock {
    color: #b02f3d;
}

.cross-alternative-link {
    display: inline-block;
    margin-top: 7px;
    color: #0567e8;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.compatible-vehicle-list {
    gap: 10px;
}

.compatible-vehicle-card {
    padding: 16px;
    border-color: #dfe8f2;
    border-radius: 11px;
    background: #f7f9fc;
}

.compatible-vehicle-card h3 {
    color: #10213a;
    font-size: 16px;
}

.mobile-purchase-bar {
    display: none;
}

.product-lightbox[hidden] {
    display: none;
}

.product-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    padding: 48px;
    place-items: center;
    background: rgba(3, 12, 28, .88);
    backdrop-filter: blur(9px);
}

.product-lightbox img {
    width: min(920px, 90vw);
    max-height: 86vh;
    padding: 20px;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.product-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    font-size: 28px;
    cursor: pointer;
}

.product-main-image-button:focus-visible,
.product-thumbnail:focus-visible,
.add-to-cart-form button:focus-visible,
.mobile-purchase-bar button:focus-visible,
.product-lightbox-close:focus-visible {
    outline: 3px solid rgba(46, 197, 255, .55);
    outline-offset: 3px;
}

body.product-lightbox-open {
    overflow: hidden;
}

.disc-side-summary,
.paired-disc-card {
    margin-top: 14px;
    border: 1px solid #cfdef1;
    border-radius: 12px;
    background: #f5f9ff;
}

.disc-side-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
}

.disc-side-summary span,
.paired-disc-card span,
.paired-disc-card small {
    color: #62748e;
}

.paired-disc-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
}

.paired-disc-card div {
    display: grid;
    gap: 4px;
}

.paired-disc-card a {
    flex: 0 0 auto;
    color: #075fc8;
    font-weight: 800;
    text-decoration: none;
}

.disc-pair-notice {
    margin: 14px 0 0;
    padding: 11px 12px;
    border-radius: 10px;
    background: #eaf3ff;
    color: #0a4f9f;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.disc-pair-notice-error {
    background: #fff0f0;
    color: #a51f2b;
}

.add-both-discs-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d8e2ef;
}

.add-both-discs-form span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #53657d;
    font-size: 13px;
}

.add-both-discs-form button {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: #082c59;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 1050px) {
    .product-detail {
        grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
    }

    .purchase-card {
        position: static;
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .purchase-card .warehouse-stock {
        grid-column: 1;
    }

    .purchase-card .add-to-cart-form {
        grid-column: 2;
        grid-row: 2 / span 2;
    }

    .cross-alternatives-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .paired-disc-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-page {
        padding: 24px 0 104px;
    }

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

    .product-gallery,
    .product-info,
    .purchase-card {
        padding: 18px;
    }

    .purchase-card {
        display: grid;
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .purchase-card .warehouse-stock,
    .purchase-card .add-to-cart-form {
        grid-column: auto;
        grid-row: auto;
    }

    .technical-section,
    .cross-alternatives-section,
    .compatible-vehicles-section {
        padding: 20px 18px;
    }

    .technical-table {
        grid-template-columns: 1fr;
    }

    .cross-alternatives-grid {
        grid-template-columns: 1fr;
    }

    .mobile-purchase-bar {
        position: fixed;
        z-index: 120;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
        padding: 12px 5%;
        border-top: 1px solid #d8e3ef;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -12px 32px rgba(7, 21, 44, .12);
        backdrop-filter: blur(14px);
    }

    .mobile-purchase-bar strong {
        color: #0567e8;
        font-size: 20px;
    }

    .mobile-purchase-bar form {
        margin: 0;
    }

    .product-lightbox {
        padding: 22px;
    }
}

@media (max-width: 420px) {
    .product-breadcrumbs {
        display: none;
    }

    .product-info h1 {
        font-size: 25px;
    }

    .technical-table div {
        grid-template-columns: 1fr auto;
    }
}
