.article-detail-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-detail-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 45px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-detail-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-detail-content > *:first-child {
    margin-top: 0;
}

.article-detail-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-detail-content ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-detail-content li {
    margin-bottom: 5px;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
}

.article-images-double-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto;
}

.article-images-double-row a,
.article-images-double-row .img-wrap {
    flex: 0 0 calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .article-images-double-row {
        flex-direction: column;
    }
    .article-images-double-row a,
    .article-images-double-row .img-wrap {
        flex: 0 0 100%;
    }
}

.article-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

.article-detail-content th,
.article-detail-content td {
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    vertical-align: top;
    text-align: left;
}

.article-detail-content th {
    font-weight: bold;
    background: #f5f5f5;
}

.article-detail-content tr:nth-child(even) {
    background-color: #fafafa;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.article-products-block {
    margin: 35px 0 45px 0;
    position: relative;
    clear: both;
}

.article-products-heading {
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #23232b;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-products-heading::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: #ff5500;
    border-radius: 2px;
}

.article-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 100%;
}

@media (min-width: 992px) {
    .article-products-grid[data-count="1"] {
        grid-template-columns: minmax(260px, 320px);
    }
    .article-products-grid[data-count="2"] {
        grid-template-columns: repeat(2, minmax(260px, 340px));
    }
    .article-products-grid[data-count="3"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-products-items.js-article-products-slider {
    position: relative;
    margin: 0 -8px;
}

.article-products-items.js-article-products-slider:not(.slick-initialized) {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.article-products-items.js-article-products-slider:not(.slick-initialized) .article-product-card {
    flex: 0 0 240px;
}

.article-products-items.js-article-products-slider .slick-list {
    overflow: hidden;
    padding: 6px 0;
}

.article-products-items.js-article-products-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.article-products-items.js-article-products-slider .slick-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.article-products-items.js-article-products-slider .article-product-card {
    padding: 0 8px;
    height: 100%;
    box-sizing: border-box;
}

.article-product-card,
.article-product-card *,
.article-product-card *::before,
.article-product-card *::after {
    box-sizing: border-box;
}

.article-product-card {
    display: flex;
    flex-direction: column;
}

.article-product-card .card-inner {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-product-card .card-inner:hover {
    border-color: #d1d1d1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.article-product-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 22px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.article-product-card .card-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.article-product-card .card-badges .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    border-radius: 2px;
    text-transform: uppercase;
}

.article-product-card .card-badges .badge-sale {
    background-color: #ff5500;
    color: #ffffff;
}

.article-product-card .card-badges .badge-hit {
    background-color: #23232b;
    color: #ffffff;
}

.article-product-card .favorite-btn {
    margin-left: auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.article-product-card .favorite-btn svg {
    stroke: #999999;
    fill: none;
    transition: stroke 0.2s ease, fill 0.2s ease;
}

.article-product-card .favorite-btn:hover svg,
.article-product-card .favorite-btn.active svg {
    stroke: #ff5500;
    fill: #ff5500;
}

.article-product-card .card-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    width: 100%;
    margin: 4px 0 10px 0;
    text-decoration: none;
    overflow: hidden;
}

.article-product-card .card-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.article-product-card .card-inner:hover .card-img-wrap img {
    transform: scale(1.04);
}

.article-product-card .card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.article-product-card .card-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #23232b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.article-product-card .card-title:hover {
    color: #ff5500;
}

.article-product-card .card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    min-width: 0;
}

.article-product-card .card-price-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
}

.article-product-card .card-old-price {
    font-size: 12px;
    color: #8c8c8c;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.article-product-card .card-price {
    font-size: 16px;
    font-weight: 700;
    color: #23232b;
}

.article-product-card .card-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    background-color: #ff5500;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    max-width: 100%;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.article-product-card .card-buy-btn:hover {
    background-color: #e04b00;
    color: #ffffff;
}

.article-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #23232b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    padding: 0;
}

.article-slider-btn:hover {
    background-color: #ff5500;
    border-color: #ff5500;
    color: #ffffff;
}

.article-slider-prev {
    left: -16px;
}

.article-slider-next {
    right: -16px;
}

.article-slider-btn.slick-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (min-width: 992px) {
    .article-products-items.js-article-products-slider[data-count="3"] .article-slider-btn {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .article-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .article-product-card .card-inner {
        padding: 10px;
    }
    .article-product-card .card-img-wrap {
        height: 130px;
    }
    .article-product-card .card-title {
        font-size: 12px;
        height: 32px;
        margin-bottom: 8px;
    }
    .article-product-card .card-price-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .article-product-card .card-price {
        font-size: 14px;
    }
    .article-product-card .card-old-price {
        font-size: 11px;
    }
    .article-product-card .card-buy-btn {
        height: 32px;
        width: 100%;
        padding: 0 8px;
        font-size: 11px;
    }
    .article-slider-prev {
        left: -8px;
    }
    .article-slider-next {
        right: -8px;
    }
}

@media (max-width: 480px) {
    .article-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .article-product-card .card-inner {
        padding: 8px;
    }
    .article-product-card .card-img-wrap {
        height: 115px;
    }
    .article-product-card .card-price-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .article-product-card .card-buy-btn {
        height: 30px;
        width: 100%;
        padding: 0 6px;
        font-size: 11px;
    }
    .article-slider-btn {
        width: 30px;
        height: 30px;
    }
}
