body {
    margin: 40px 80px;
}

body::-webkit-scrollbar {
    width: 8px
}

body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px
}

body::-webkit-scrollbar-thumb {
    background: var(--gray-monochromatic-200);
    border-radius: 4px
}

div, img {
    box-sizing: border-box;
}

.main-block {
    margin: 40px 80px;
}

footer {
    background-color: white;
    position: relative;
}

.main-block::-webkit-scrollbar {
    width: 8px
}

.main-block::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px
}

.main-block::-webkit-scrollbar-thumb {
    background: var(--gray-monochromatic-200);
    border-radius: 4px
}

.d-none {
    display: none !important;
}

.show-768 {
    display: none;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px;
    z-index: 1;
    position: relative;
}

.line-divider {
    height: 1px;
    width: 100%;
    background: var(--gray-monochromatic-100);
    flex-shrink: 0;
}
.product-gallery-placeholder {
    width: 400px;
    flex-shrink: 0;
}


.product-gallery {
    display: flex;
    flex-direction: column;
    width: 400px;
    align-items: flex-start;
    gap: 8px;
    position: fixed;
}

.product-gallery-main {
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: var(--radius-radi-5, 10px);
    overflow: hidden;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-previews {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-5);
    width: 100%;
    flex-wrap: wrap;
}

.product-gallery-previews img {
    width: 94px;
    height: 94px;
    object-fit: contain;
    border-radius: var(--radius-radi-5);
    border: 1px solid var(--gray-monochromatic-100);
    cursor: pointer;
}

img.product-gallery-preview-selected {
    border-color: var(--gray-monochromatic-900);
}

.product-info {
    flex-basis: 100vw;
    flex-shrink: 10;
}

.wox-toast {
    display: flex;
    padding: var(--space-4, 6px) var(--space-9);
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-3, 4px);
    align-self: stretch;
    border-radius: var(--radius-radi-6);
    backdrop-filter: blur(24px);
}

.heavy-items-warning {
    background: var(--yellow-neutral-500);
    margin-bottom: var(--space-4);
}

.core-charge-warning {
    background: #F3F3F3;
}

.heavy-items-warning-icon {
    height: 20px;
    width: 20px;
    background-image: url("../img/icons/exclamation-solid.svg");
    background-position: center;
    background-repeat: no-repeat;
}

.heavy-items-warning-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--gray-monochromatic-900, #FFF);
}

.heavy-items-warning-text span {
    text-decoration: underline;
    cursor: pointer;
}

.core-charge-warning-text {
    color: var(--gray-monochromatic-900, #FFF);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.product-header {
    color: var(--gray-neutral-900, #1A1A1A);
    font-size: 30px;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: var(--space-16);
}

.product-block-header {
    color: var(--gray-neutral-900, #1A1A1A);
    font-size: 20px;
    font-weight: 600;
    line-height: 34px;
    margin-bottom: var(--space-9);
}

.product-blocks {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-13)
}

.product-block {
 position: relative;
}

.product-block-button {
    position: absolute !important;
    right: 0;
    top: 0;
}

.product-price-block {
    width: fit-content;
}

.product-price-block .product-price-header {
    height: 26px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-3);
    color: var(--gray-monochromatic-600, rgba(12, 12, 12, 0.60));
    font-size: 12px;
    font-weight: 500;
}

.product-price-header svg {
    display: none;
}

.product-price-block .product-price-price {
    color: var(--gray-neutral-900, #212121);
    font-size: 30px;
    font-weight: 600;
    line-height: 48px;
}

.product-block-options::-webkit-scrollbar {
    width: 4px
}

.product-block-options::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px
}

.product-block-options::-webkit-scrollbar-thumb {
    background: var(--gray-monochromatic-100);
    border-radius: 2px
}

.product-block-options table {
    width: 100%;
    color: var(--gray-neutral-900, #1A1A1A);
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    border-collapse: collapse;
}

.product-block-options table td {
    padding: 0;
    width: 25%;
    background: var(--fixed-white);
}
.product-block-options table tr:not(:first-child) {
    height: 60px;
    border-top: 1px solid var(--gray-monochromatic-50);
}

.product-block-options table tr:first-child {
    color: var(--gray-monochromatic-600, rgba(26, 26, 26, 0.60));
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    position: sticky;
    top: 0;
    background: white;
    height: 36px;
}

.product-specs,
.product-oem-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-prop-line ,
.product-oem-line {
    padding: var(--space-3, 4px) var(--radius-radi-1, 0px);
}

.product-prop-name,
.product-oem-name {
    margin-right: var(--space-2, 2px);
}

.product-prop-name,
.product-prop-value {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;

    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: var(--gray-monochromatic-600);
}

.product-prop-value {
    font-weight: 600;
    color: var(--gray-neutral-900);
}

.product-oem-name,
.product-oem-value {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;

    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: var(--gray-neutral-900);
}

.product-oem-value {
    font-weight: 600;
    color: var(--primary-500);
    text-decoration: underline;
    cursor: pointer;
}

.product-analogues {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-7);
}

.product-analogues > div {
    width: 24.176% !important;

}

.product-description .product-block-body {
    color: var(--gray-monochromatic-600, rgba(26, 26, 26, 0.60));
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.compatibility-table {
    overflow: hidden;
}

.compatibility-table-tread-flex-wrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.compatibility-table-rows-wrap {
    flex-basis: 100%;
    flex-shrink: 10;
}

.compatibility-table-row {
    border-radius: var(--radius-radi-1, 0px);
    border-bottom: 1px solid var(--gray-monochromatic-50, rgba(26, 26, 26, 0.05));
    color: var(--gray-neutral-900, #1A1A1A);
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    height: 56px;
}

.compatibility-table-tread {
    margin: 20px;
    width: 2px;
    background: var(--gray-monochromatic-100);
}

.compatibility-table-row span {
    color: var(--gray-monochromatic-600, rgba(26, 26, 26, 0.60));
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

.compatibility-table.compatibility-opened {

}

.compatibility-table.compatibility-opened .compatibility-table-title {

}

.compatibility-opened > div > .compatibility-table-button > .wox-button-icon {
    background-image: url("../img/icons/minus-solid.svg") !important;
}

.compatibility-table-title,
.compatibility-table-group-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}


.compatibility-table-tread-flex-wrap > div {
    display: none;
}

.compatibility-opened > .compatibility-table-tread-flex-wrap > div {
    display: block;
}

.compatibility-table.compatibility-opened .compatibility-table-group {
    display: block;
}

.compatibility-table-group-element {
    display: none;
}

.compatibility-table-group.compatibility-opened .compatibility-table-group-element {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/*hidden part*/
.hidden-part-wrapper {
    overflow: hidden;
    transition: height 0.3s ease-out;
    margin-bottom: 26px;
}

.product-block-body .show-more-btn {
    color: #0000EE;
    font-weight: 500;
    position: absolute;
    cursor: pointer;
    bottom: -20px;
    font-size: 12px;
}

.product-block-body .show-more-btn:not(.opened) span:last-child {
    display: none;
}
.product-block-body .show-more-btn.opened span:first-child {
    display: none;
}


.product-block-body .show-more-btn:hover {
    text-decoration: underline;
}

.hidden-part-body.product-analogues {
    padding-top: var(--space-7);
    flex-wrap: wrap;
}

/*hidden part*/

.product-payment {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-4);
}

.product-payment img:last-child {
    border-radius: 6px;
    border: 1px solid var(--gray-monochromatic-50, rgba(12, 12, 12, 0.05));;
}

.product-delivery {
    color: var(--gray-monochromatic-600, rgba(26, 26, 26, 0.60));
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.product-delivery p {
    color: var(--gray-neutral-900, #1A1A1A);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

footer {
    padding-top: 40px;
}

footer,
.find-banner {
    position: relative;
    z-index: 1;
}

footer .row,
.find-banner-content .row {
    margin: 0 !important;
}

.breadcrumb {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 1rem 1rem;
    list-style: none;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1rem;
    margin-top:0;
}
@media (min-width: 1200px) {
    .breadcrumb {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
}
.breadcrumb-item {
    font-size: 1rem;
}
.breadcrumb-item a {
    color: #000;
}
.breadcrumb-item + .breadcrumb-item {
    padding-left: 1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.7rem;
    color: #000;
    content: "|";
}
.breadcrumb-item + .breadcrumb-item:hover::before {
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #565f68;
}

@media (max-width: 960px) {
    body {
        margin: 40px;
        width: unset !important;
    }

    .product-gallery {
        display: flex;
        flex-direction: row;
        width: 100%;
        padding: 0;
        gap: 6px;
        position: relative;
    }

    .product-gallery-placeholder {
        display: none;
    }

    .product-gallery-previews {
        flex-basis: 100vw;
        flex-shrink: 10;
    }

    .product-gallery-previews img {
        height: 80px;
        width: 80px;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: stretch;
    }



}

@media (max-width: 768px) {
    body {
        margin: 16px;
    }

    .main-block {
        margin: 50px 16px 16px;
    }

    .hide-768 {
        display: none;
    }

    .show-768 {
        display: block;
    }

    .product-gallery {
        flex-direction: column;
        padding: 0;
        align-items: stretch;
        position: relative;
    }

    .product-analogues > div {
        width: 100% !important;
    }

    .product-gallery-main {
        width: unset;
    }

    .product-gallery-previews {
        justify-content: center;
        flex-basis: unset;
    }

    .product-analogues {
        flex-direction: column;
    }

    .product-specs,
    .product-oem-numbers {
        grid-template-columns: 1fr;
    }

    .wox-part-card-specs {
        display: flex !important;
        flex-direction: column;
        gap: var(--space-7, 12px);
    }

    .wox-part-card-specs-viewport {
            height: 160px;
    }
    .wox-part-card.compact {
        min-height: unset !important;
    }
}