.standard-product-card {
    --standard-green: #16a239;
    --standard-border: #e1e8e3;
    --standard-soft: #f7faf8;
    --standard-muted: #6f746f;
    margin-bottom: 16px;
}

.standard-product-card > .main-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
}

.standard-product-card #telo.standard-product-card__layout {
    display: grid !important;
    grid-template-columns: minmax(250px, 300px) minmax(320px, 1fr) minmax(260px, 300px);
    grid-template-areas: "gallery details buy";
    column-gap: 40px;
    row-gap: 26px;
    align-items: start;
    margin: 0;
}

.standard-product-card #telo.standard-product-card__layout::before,
.standard-product-card #telo.standard-product-card__layout::after {
    display: none;
}

.standard-product-card .standard-product-card__layout > .left,
.standard-product-card .standard-product-card__layout > .center,
.standard-product-card .standard-product-card__layout > .right {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.standard-product-card .standard-product-card__layout > .left {
    grid-area: gallery;
    position: sticky;
    top: 16px;
    align-self: start;
}

.standard-product-card .standard-product-card__layout > .center {
    grid-area: details;
    position: sticky;
    top: 16px;
    align-self: start;
}

.standard-product-card .standard-product-card__layout > .right {
    grid-area: buy;
    position: sticky;
    top: 16px;
    align-self: start;
}

.standard-product-card #poz_fixed_img {
    position: static !important;
    padding: 18px !important;
    border: 1px solid var(--standard-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.standard-product-card .product-image {
    width: 100% !important;
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.standard-product-card .product-image #dmi {
    width: 100%;
    overflow: hidden;
}

.standard-product-card .product-image:has(.offer-wrap-3d) {
    min-height: 420px;
    align-items: stretch;
}

.standard-product-card .product-image:has(.offer-wrap-3d) #dmi {
    min-height: 405px;
    flex-shrink: 0;
}

.standard-product-card .offer-wrap-3d {
    width: 100%;
    min-height: 330px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.standard-product-card .product-image #main-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 330px;
    margin: 0 auto;
    object-fit: contain;
}

.standard-product-card .owl-carousel.single-product {
    clear: both;
    margin-top: 14px;
    padding: 0 !important;
}

.standard-product-card .owl-carousel.single-product .owl-item img {
    max-height: 72px;
    object-fit: contain;
}

.standard-product-card .owl-carousel.single-product .owl-nav.disabled {
    display: none !important;
}

.standard-product-card .owl-carousel.single-product .owl-nav button {
    top: 50% !important;
    width: 32px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #16a239 !important;
    transform: translateY(-50%);
    z-index: 3;
}

.standard-product-card .owl-carousel.single-product .owl-nav .owl-prev {
    left: 2px !important;
    right: auto !important;
}

.standard-product-card .owl-carousel.single-product .owl-nav .owl-next {
    right: 2px !important;
    left: auto !important;
}

.standard-product-card .owl-carousel.single-product .owl-nav button.disabled {
    visibility: hidden;
}

.standard-product-card .tovar__info {
    padding: 4px 0;
}

.standard-product-card .tovar__info > ul {
    margin: 0;
}

.standard-product-card .tovar__info > ul > li {
    display: grid;
    grid-template-columns: minmax(105px, 34%) minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dotted #cfd5d0;
    line-height: 1.35;
}

.standard-product-card .tovarGroup {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
}

.standard-product-card .tovarGroup::before {
    content: "Другие варианты";
    flex: 0 0 100%;
    color: #6f746f;
    font-size: 13px;
    line-height: 18px;
}

.standard-product-card .tovarGroup .divItem {
    width: 72px;
    height: 76px;
    margin: 0;
    border-width: 1px;
}

.standard-product-card .tovarGroup .groupItem {
    width: 58px;
    height: 58px;
    margin: 6px;
}

.standard-product-card .tovar__info > ul > li::first-letter {
    text-transform: uppercase;
}

.standard-product-card .tovar__info > ul > li > span {
    color: #222;
    overflow-wrap: anywhere;
}

.standard-product-card .tovar__info a {
    color: #07972e;
}

.standard-product-card .product-document-status__value > div,
.standard-product-card .product-document-status__value .actuality {
    display: inline;
}

.standard-product-card .product-document-status__value .actuality > span {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 18px;
    margin: 0;
    padding: 0;
    background: none !important;
    font: inherit;
    text-align: left;
}

.standard-product-card .product-document-status__value .actuality > span::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.standard-product-card .product-document-status__value .actuality > .info-title::before {
    color: #16a239;
    -webkit-mask-image: url(../icon/checkmark-circle-2.svg);
    mask-image: url(../icon/checkmark-circle-2.svg);
}

.standard-product-card .product-document-status__value .actuality > .znak-title::before {
    color: #dc3545;
    -webkit-mask-image: url(../icon/close.svg);
    mask-image: url(../icon/close.svg);
}

.standard-product-card .product-document-status__value .inform {
    margin-left: 5px;
    font-size: 12px;
}

.standard-product-card .product-right-sidebar {
    position: static !important;
    width: 100%;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--standard-border);
    border-radius: 10px;
    background: var(--standard-soft);
    box-shadow: none;
}

.standard-product-card .product-right-sidebar > div:first-child .actuality span {
    width: 100px;
    margin: 0 auto 2px;
    padding-top: 44px;
}

.standard-product-card .product-right-sidebar .product-info {
    line-height: 1.25;
    text-align: center;
}

.standard-product-card .product-right-sidebar .product-status {
    height: auto;
    margin: 3px auto 5px;
    padding: 3px 12px 3px 30px;
    font-size: 13px;
    line-height: 16px;
    text-align: center;
    background-position: 8px center;
    background-size: 14px 14px;
}

.standard-product-card .product-right-sidebar .smallText {
    font-size: 13px;
    line-height: 16px;
}

.standard-product-card .product-right-sidebar #printOldCena_ h4 {
    margin: 2px 0 0 !important;
    font-size: 19px;
    line-height: 22px;
}

.standard-product-card .product-right-sidebar .product-info > span[style*="color: red"] {
    font-size: 12px;
    line-height: 16px;
}

.standard-product-card .product-right-sidebar .product-info h3 {
    margin: 3px 0 2px !important;
    line-height: 36px;
}

.standard-product-card .product-right-sidebar #kcena {
    font-size: 34px;
    line-height: 36px;
}

.standard-product-card .product-right-sidebar #ItogoOther {
    display: block;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 18px;
    text-align: center;
}

.standard-product-card .product-right-sidebar #skidka:empty {
    display: none;
}

.standard-product-card .product-right-sidebar > hr {
    margin: 10px 0;
}

.standard-product-card .product-right-sidebar .badge.badge-danger {
    margin: 3px 0 !important;
}

.standard-product-card .product-right-sidebar .podel {
    position: static !important;
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 13px;
    line-height: 17px;
    text-align: center;
}

.standard-product-card .product-right-sidebar #delivery-block {
    margin-top: 0;
}

.standard-product-card .product-right-sidebar .delivery-card__list {
    gap: 4px;
}

.standard-product-card .product-right-sidebar .delivery-actions > * {
    min-height: 36px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.standard-product-card .product-right-sidebar .delivery-calc-btn {
    min-height: 28px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.standard-product-card .product-right-sidebar .product-info {
    width: 100%;
}

.standard-product-card .product-right-sidebar input,
.standard-product-card .product-right-sidebar select,
.standard-product-card .product-right-sidebar button {
    max-width: 100%;
}

.standard-product-card #delivery-block {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1040px) {
    .standard-product-card > .main-container {
        padding: 0 16px;
    }

    .standard-product-card #telo.standard-product-card__layout {
        grid-template-columns: minmax(220px, 250px) minmax(270px, 1fr) minmax(245px, 275px);
        gap: 18px;
    }

    .standard-product-card .product-image {
        min-height: 290px;
    }

    .standard-product-card .product-image #main-image {
        max-height: 290px;
    }
}

@media (max-width: 820px) {
    .standard-product-card #telo.standard-product-card__layout {
        grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
        grid-template-areas:
            "gallery details"
            "buy buy";
    }

    .standard-product-card .product-right-sidebar {
        position: static;
    }

    .standard-product-card .standard-product-card__layout > .left,
    .standard-product-card .standard-product-card__layout > .center,
    .standard-product-card .standard-product-card__layout > .right {
        position: static;
    }
}

@media (max-width: 600px) {
    .standard-product-card > .main-container {
        padding: 0 10px;
    }

    .standard-product-card #telo.standard-product-card__layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "gallery"
            "details"
            "buy";
        gap: 16px;
    }

    .standard-product-card #poz_fixed_img {
        padding: 12px !important;
    }

    .standard-product-card .product-image {
        min-height: 280px;
    }

    .standard-product-card .product-image #main-image {
        max-height: 280px;
    }

    .standard-product-card .tovar__info > ul > li {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
    }
}
