@media (max-width: 549px) {
    .single-product .related-products-wrapper {
        --nsj-related-ink: var(--nsj-theme-heading, #503830);
        border-top: 1px solid #e9e2dc;
        margin-top: 16px;
        padding-block: 12px 8px;
    }

    .related-products-wrapper > .product-section-title-related {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin-bottom: 8px;
        padding: 0;
        color: var(--nsj-related-ink);
        font-size: 19px;
        font-weight: 600;
        letter-spacing: 0;
    }

    .related-products-wrapper .product-small .box-image {
        border-radius: 8px;
        background: #f7f4f0;
    }

    .related-products-wrapper .box-image a {
        display: block;
        aspect-ratio: 1;
    }

    .related-products-wrapper .box-image a img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .related-products-wrapper .box-text-products {
        padding-block: 9px 0;
    }

    .related-products-wrapper .box-text-products .product-cat {
        color: #756d65;
        font-size: 11px;
        letter-spacing: 0;
    }

    .related-products-wrapper .box-text-products .product-title {
        min-height: 0;
        margin-block: 3px 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .related-products-wrapper .product-title a {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: var(--nsj-related-ink);
        font-weight: 600;
    }

    .related-products-wrapper .box-text-products .price-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 3px;
        margin-top: 3px;
        line-height: 1.3;
    }

    .related-products-wrapper .price-wrapper .star-rating {
        height: 1em;
        margin: 0;
        font-size: 11px;
    }

    .related-products-wrapper .price-wrapper .review-count {
        color: #756d65;
        font-size: 11px;
    }

    .related-products-wrapper .price-wrapper .price {
        display: block;
        flex-basis: 100%;
        margin-top: 0;
        font-size: 14px;
    }

    body.single-product #main .related-products-wrapper > .row-slider .product-small.col {
        padding-bottom: 8px;
        padding-inline: 5px;
    }
}

@media (max-width: 849px) {
    body.single-product #tab-description {
        font-size: 15px;
        line-height: 1.65;
    }

    body.single-product #tab-description :is(p, li, blockquote, dt, dd, figcaption, h3, h4, h5, h6) {
        font-size: 15px !important;
        line-height: 1.65;
    }

    body.single-product #tab-description :is(h1, h2) {
        font-size: 17px !important;
        line-height: 1.5;
    }

    body.single-product #tab-description :is(h1, h2, h3, h4, h5, h6, p, blockquote, figcaption):not(:is(blockquote, li) *):not(:has(img, video, iframe)) {
        padding-inline: 15px;
    }

    body.single-product #tab-description :is(span, strong, em, font)[style*="font-size"] {
        font-size: inherit !important;
    }
}

body.single-product :focus {
    outline: none !important;
    box-shadow: none !important;
}

@media (max-width: 849px) {
    body.single-product :is(a, button, input, select, textarea, summary, [role="button"], [tabindex]) {
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 849px) {
    body.single-product #header .header-wrapper.stuck #masthead,
    body.single-product #header .header-wrapper.stuck #masthead .header-inner {
        min-height: 0 !important;
        height: 52px !important;
        background: #fff;
    }
}
