.custom-blog-page {
    background: #fff;
    padding-bottom: 60px;
    font-family: 'Open Sans', sans-serif;
}

.custom-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.blog-header {
    text-align: center;
    padding: 40px 0 30px 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.blog-header h1 {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 15px;
    color: #777;
    line-height: 1.6;
    font-weight: 300;
}

.blog-banner {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
}

.blog-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-facts {
    width: 100%;
    max-width: 100%;
    margin: 0 0 50px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.blog-facts p {
    margin-bottom: 20px;
    text-align: justify;
}

.facts-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.facts-list li {
    position: relative;
    padding-left: 20px;
    font-style: italic;
    color: #555;
    border-left: 4px solid #e74c3c;
}

.blog-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}


.blog-full-page {
    background: #fff;
    padding: 20px 0 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.blog-full__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.blog-full__meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.blog-full__meta span {
    margin-right: 20px;
}

.blog-full__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.blog-full__gallery img,
.blog-full__gallery a,
.blog-full__gallery li {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.blog-full__gallery ul {
    display: contents !important;
}

.blog-full__hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-full__content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.blog-full__content p {
    margin-bottom: 20px;
}

.blog-back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f4f4f4;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    font-weight: 600;
}

.blog-back-btn:hover {
    background: #e74c3c;
    color: #fff;
}


.blog__list .pagination {
    grid-column: 1 / -1;
    width: 100%;
    flex-basis: 100%;
    margin-top: 30px;
}

.full-post {
    background: #fff;
    border-radius: 8px;
}

.full-post__header {
    margin-bottom: 25px;
}

.full-post__title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
    color: #333;
}

.full-post__meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.full-post__media {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.full-post__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.full-post__text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
}

.full-post__text p {
    margin-bottom: 15px;
}

.full-post__text h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.full-post__text ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style: disc;
}


.main_blog {
    background-color: #f9f9f9;
    width: 100%;
}


/* === ПАГИНАЦИЯ === */
.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.pagination__list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.pagination__item.prev-arrow a,
.pagination__item.next-arrow a,
.pagination__item.prev-arrow span.disabled,
.pagination__item.next-arrow span.disabled {
    display: block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #eee;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.pagination__item.prev-arrow a,
.pagination__item.prev-arrow span.disabled {
    background-image: url('../img/icons/arrow-left.svg');
}

.pagination__item.next-arrow a,
.pagination__item.next-arrow span.disabled {
    background-image: url('../img/icons/arrow-right.svg');
}

.pagination__item span.disabled {
    opacity: 0.5;
    cursor: default;
    background-color: #f9f9f9;
}

.pagination__item.dle-pages {
    display: flex;
    gap: 8px;
}

.pagination__item.dle-pages a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.pagination__item.dle-pages a:hover {
    background-color: #f5f5f5;
    border-color: #ddd;
}

.pagination__item.dle-pages span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

.load-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.load-more:hover {
    background-color: #000;
    color: #fff;
}

.gallery-isolation-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.main-image-area {
    width: 100%;
    height: 350px;
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-track-wrapper {
    width: 100%;
    position: relative;
}

.thumbs-track {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    padding: 0;
    justify-content: flex-start;
}

.thumbs-track img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.2s;
    display: block;
}

.thumbs-track img.active {
    opacity: 1;
    border-color: #d88e9b;
}

@media (max-width: 768px) {
    .main-image-area {
        height: 250px;
    }

    .thumbs-track img {
        width: 18%;
        height: auto;
        aspect-ratio: 1/1;
    }
}

.blog-pagination-box {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    clear: both;
}

.pagination__list {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog-pagination-box .pagination__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
}

.blog-pagination-box .pagination__list > a,
.blog-pagination-box .pagination__list > span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.blog-pagination-box .pagination__list > a:hover {
    border-color: #FA6E86;
    color: #FA6E86;
}

.blog-pagination-box .pagination__list > span {
    background-color: #FA6E86;
    border-color: #FA6E86;
    color: #fff;
}

.blog-pagination-box .pagination__list > span:has(.pagination__link--prev),
.blog-pagination-box .pagination__list > span:has(.pagination__link--next) {
    background-color: #fff !important;
    border-color: #E5E5E5 !important;
    opacity: 0.5;
    cursor: default;
}

.blog-pagination-box .pagination__list > a:hover .pagination__link--prev,
.blog-pagination-box .pagination__list > a:hover .pagination__link--next {
    border-color: #FA6E86;
}

.success-icon-wrap.pending-icon {
    color: #ffb700 !important;
}

.footer-total-label.status-pending {
    color: #feb700;
}

.success-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.success-body {
    padding: 40px;
    text-align: center;
}

.success-icon-wrap {
    color: #28a745;
    margin-bottom: 20px;
}

.success-icon-wrap svg {
    width: 64px;
    height: 64px;
}

.success-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
}

.success-subtitle {
    font-size: 15px;
    color: #777;
    margin-bottom: 35px;
    line-height: 1.5;
}

.success-footer.footer-paid {
    justify-content: space-between;
}

.status-badge {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-badge.status-success {
    background-color: #e6fffa;
    color: #00a86b;
    border: 1px solid #b7ebd6;
}

.status-badge.status-info {
    background-color: #f0f7ff;
    color: #0066cc;
    border: 1px solid #cce5ff;
}

@media (max-width: 768px) {
    .status-badge {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .success-footer.footer-paid {
        flex-direction: column-reverse;
    }
}

.order-details {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    text-align: left;
}

.order-details-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.order-row:last-child {
    border-bottom: none;
}

.order-item-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #222;
}

.order-item-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-item-count {
    font-size: 14px;
    color: #999;
}

.order-item-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #000;
    white-space: nowrap;
}

.order-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-group {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 5px;
}

.info-label {
    color: #666;
}

.info-value {
    font-weight: 600;
    color: #333;
}

.success-footer {
    background-color: #dcdee259;
    border-top: 1px solid #eee;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.success-footer .btn-clean-back,
.success-footer .btn-brand-pay {
    padding: 12px 50px !important;
    min-width: 200px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.success-footer .btn-clean-back {
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
}

.success-footer .btn-brand-pay {
    background-color: #f07171 !important;
    color: #fff !important;
    border: none !important;
    text-decoration: none;
}

.success-footer .btn-clean-back:hover { background: #f9f9f9 !important; border-color: #ccc !important; }
.success-footer .btn-brand-pay:hover { opacity: 0.9 !important; }

@media screen and (max-width: 768px) {
    .success-footer {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 15px;
        height: auto !important;
    }

    .success-footer .btn-clean-back,
    .success-footer .btn-brand-pay {
        width: 100% !important;
        min-width: 0;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .footer-total-label {
        order: -1;
        margin-bottom: 5px;
    }
}

.btn-clean-back {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 15px;
}

.btn-clean-back:hover {
    border-color: #bbb;
    background: #fdfdfd;
    color: #000;
}

.footer-total-label {
    font-weight: 700;
    font-size: 18px;
    color: #222;
}

.btn-brand-pay {
    background-color: #e76565;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(231, 101, 101, 0.3);
    transition: all 0.2s;
}

.btn-brand-pay:hover {
    background-color: #d15050;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .success-body {
        padding: 20px 15px;
    }

    .success-footer {
        flex-direction: column-reverse;
        gap: 15px;
        padding: 20px;
    }

    .btn-clean-back, .btn-brand-pay {
        width: 100%;
        text-align: center;
        display: block;
    }

    .footer-total-label {
        display: none;
    }

    .order-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .order-item-right {
        width: 100%;
        justify-content: space-between;
    }

    .product_right_column {
        order: 2;
    }
}

.footer__content .wrapper {
    -ms-grid-columns: 1fr 80px 1fr 80px 1fr 80px 1fr 80px 1fr 80px 1fr 80px 1fr;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 30px;
}

@media screen and (max-width: 900px) {
    .footer__content .wrapper {
        grid-gap: 30px;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header__buttons-dropdown {
        min-width: auto !important;
        width: 320px !important;
        right: -10px !important;
        left: auto !important;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
    }

    .cart-preview__list {
        max-height: 50vh;
        overflow-y: auto;
    }

    .cart-preview__item {
        display: grid !important;
        grid-template-columns: 60px 1fr 20px;
        grid-template-rows: auto auto;
        grid-template-areas:
            "img title del"
            "img price price";
        gap: 0 12px;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
        align-items: start;
    }

    .cart-preview__item-img {
        grid-area: img;
        width: 60px !important;
        height: 60px !important;
        margin: 0 !important;
        display: block !important;
        border-radius: 6px;
        overflow: hidden;
    }

    .cart-preview__item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .cart-preview__item-title {
        grid-area: title;
        font-size: 13px !important;
        line-height: 1.3;
        font-weight: 500;
        white-space: normal !important;
        margin-bottom: 5px;
        color: #333;
        text-decoration: none;
    }

    .cart-preview__item-price {
        grid-area: price;
        font-size: 15px !important;
        font-weight: bold;
        color: #000;
        text-align: left;
        margin-top: auto;
    }

    .cart-preview__item-price .sale-0 {
        display: none;
    }

    .cart-preview__item-del {
        grid-area: del;
        position: static !important;
        opacity: 0.4;
        cursor: pointer;
    }

    .cart-preview__bottom {
        display: flex !important;
        flex-direction: column;
        padding: 15px !important;
        background: #f8f9fa;
    }

    .cart-preview__total {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #e9ecef;
    }

    .cart-preview__total-label {
        font-size: 14px;
        color: #666;
    }

    .cart-preview__total-summ {
        font-size: 18px;
        font-weight: 800;
        color: #333;
    }

    .cart-preview__total-summ::after {
        content: " руб.";
        font-size: 14px;
        font-weight: normal;
        color: #666;
    }

    .cart-preview__bottom .btn {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 48px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
        margin: 0 !important;
        text-transform: none;
    }
}

@media (max-width: 768px) {
    #catalog_navigation .pagination__list {
        display: flex !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 0 !important;
        margin: 20px 0 !important;
        flex-wrap: nowrap !important;
    }

    .pagination__link {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;

        border: 1px solid #E5E5E5 !important;
        border-radius: 6px !important;
        font-size: 16px !important;
        background-color: #fff !important;
        color: #333 !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
    }

    .pagination__item.active .pagination__link,
    .pagination__link.active {
        background-color: #FA6E86 !important;
        border: 1px solid #FA6E86 !important;
        color: #fff !important;
        font-weight: 700 !important;
    }

    .pagination__item.prev-arrow,
    .pagination__item.next-arrow {
        display: none !important;
    }
}


.product__info-item {
    display: flex;
    align-items: center;
}

.product__info-item--img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    line-height: 0;
}

.product__info-item--img i {
    color: #999;
    font-size: 1.3rem;
    line-height: 1;
    display: block;
    transform: translateY(1px);
}

.product__info-item--text {
    color: #333;
    font-size: 15px;
    line-height: 1.2;
}


.product__price-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 5px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product__price-value-wrapper {
    line-height: 1;
    transform-origin: left bottom;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product__price-value-wrapper .price-current-value,
.product__price-value-wrapper .currency {
    font-size: 32px;
    font-weight: bold;
}

.product__price-hint {
    font-size: 11px;
    font-weight: 300;
    color: #999;
    margin-top: 0;
    opacity: 0;
    max-height: 0;
    transform: translateY(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product__price-container.is-multiple .product__price-value-wrapper {
    transform: scale(0.80) translateY(-2px);
}

.product__price-container.is-multiple .product__price-hint {
    opacity: 1;
    max-height: 20px;
    margin-top: 2px;
    transform: translateY(0);
}


.cart-preview__empty {
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cart-preview__empty-icon {
    font-size: 40px;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.cart-preview__empty-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.cart-preview__empty-text {
    font-size: 13px;
    color: #999;
}

.product__slider--articul {
    position: absolute;
    bottom: 6px;
    right: 6px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);

    color: #333333;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.03em;

    padding: 6px 10px;
    border-radius: 6px;

    display: inline-block;
    box-shadow: none;
    border: none;
    pointer-events: auto !important;
    cursor: pointer;
    user-select: none;
}

.product__slider--articul span {
    color: #666666;
    font-weight: 300;
}

.product__slider--articul strong {
    color: #000000b5;
    font-weight: 600;
    transition: color 0.2s ease;
}

.product__slider--articul.is-copied strong {
    color: #f9919c !important;
}

body .card__articul {
    position: absolute !important;
    bottom: 6px !important;
    right: 6px !important;
    z-index: 6 !important;
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 5px !important;

    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
}

body .card__articul span {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 300 !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    margin-top: 1px !important;
}

body .card__articul strong {
    color: #000000b5 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    margin-left: 3px !important;
    line-height: 1.1 !important;
    margin-top: 1px !important;
    transition: color 0.2s ease;
}

body .card__articul.is-copied strong {
    color: #f9919c !important;
}

.cart__item-photo {
    position: relative !important;
    display: inline-block;
}

body .cart__item-photo--articul {
    position: absolute !important;
    bottom: 5px !important;
    right: 5px !important;
    z-index: 10 !important;

    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 4px !important;
    border: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 3px 6px !important;
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 400 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
}

body .cart__item-photo--articul:hover {
    background: rgba(255, 255, 255, 0.65) !important;
}

body .cart__item-photo--articul b,
body .cart__item-photo--articul strong {
    color: #000000b5 !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    margin-left: 3px !important;

    position: relative !important;
    top: 0px !important;

    transition: color 0.2s ease;
}

body .cart__item-photo--articul.is-copied b,
body .cart__item-photo--articul.is-copied strong {
    color: #f9919c !important;
}

.product_category_tags {
    margin: 15px 0 15px;
}

.product_category_tags .checkbox-tagged {
    width: fit-content;
    float: left;
}

.product_category_tags {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.35;
}

.product_category_tags .checkbox-tagged {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    display: inline-flex;
    align-items: center;
}

.product_category_tags .checkbox__label {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    background: none !important;
    border: none !important;
    padding: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.product_category_tags .checkbox__label:hover {
    color: #d14d64;
    text-decoration: underline;
}

.product_category_tags .checkbox-tagged::after {
    content: "/";
    color: #ccc;
    margin: 0 4px;
    font-size: 11px;
}

.product_category_tags .checkbox-tagged:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .tags-scroll-overlay {
        position: relative;
        margin: 0 -15px;
    }

    .product_category_tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 5px;
        padding-left: 15px;
        padding-right: 15px;
        line-height: 1.5;
    }

    .product_category_tags::-webkit-scrollbar {
        display: none;
    }

    .tags-scroll-overlay::before,
    .tags-scroll-overlay::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 30px;
        z-index: 2;
        pointer-events: none;
    }

    .tags-scroll-overlay::before {
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }

    .tags-scroll-overlay::after {
        right: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }
}

.product__slider--sizes {
    position: absolute;
    left: 6px !important;
    bottom: 6px !important;
    top: auto !important;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 5;
    pointer-events: none;
    user-select: none;
    border: none !important;
}

.product__slider--sizes span {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0 !important;
}

.product__slider--sizes span::before {
    content: '';
    display: block;
    background-color: #d14d64;
    margin-right: 5px;
}

.product__slider--sizes span.width::before {
    width: 13px;
    height: 7px;
    clip-path: polygon(0 50%, 25% 0, 25% 25%, 75% 25%, 75% 0, 100% 50%, 75% 100%, 75% 75%, 25% 75%, 25% 100%);
}

.product__slider--sizes span.height::before {
    width: 7px;
    height: 13px;
    clip-path: polygon(50% 0, 100% 25%, 75% 25%, 75% 75%, 100% 75%, 50% 100%, 0 75%, 25% 75%, 25% 25%, 0 25%);
}

.header__flowers-item {
    max-width: unset;
    width: 25%;
}

.header__flowers-item--name {
    position: relative;
}

.header__flowers-item--name .cat__tag {
    position: absolute;
    top: -4px;
    right: -69px;
    z-index: -1;
}

.header__flowers-item--name .cat__tag,
.main-list__submenu-title .cat__tag {
    margin-left: 10px;
    background-color: #f04954 !important;
    border-radius: 20px;
    padding: 2px 6px;
    color: #fff;
    font-size: 10px;
    line-height: 1.4;
    will-change: transform;
    text-wrap-mode: nowrap;
}

/* Стили для белой кнопки с розовой обводкой */
.ac-custom-calc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    color: #f04755 !important;
    border: 2px solid #f04755;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ac-custom-calc-btn:hover {
    background-color: #f04755;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(240, 71, 85, 0.2);
}

.ac-custom-calc-btn:active {
    background-color: #e03e4a;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.tg-contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 40px;
    border-top: 1px solid #f2f2f2;
    background-color: #359dd905;
}
.tg-icon-box { line-height: 0; flex-shrink: 0; }
.tg-line-text { font-size: 13.5px; color: #666; }
.tg-bold { font-weight: 600; color: #333; }
.tg-accent-link { color: #359dd9; text-decoration: none; font-weight: 600; }
.tg-accent-link:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .tg-contact-line {
        padding: 15px 20px;
        align-items: flex-start;
    }

    .tg-line-text {
        font-size: 13px;
    }
}


.modern-delivery-page {
    font-family: inherit;
    color: #333;
}

.modern-section {
    margin-bottom: 50px;
}

.modern-section__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    border-bottom: 2px solid #f2f2f2;
    padding-bottom: 10px;
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.pay-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pay-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(240, 73, 84, 0.15);
}

.pay-item__icon {
    font-size: 40px;
    margin-bottom: 15px;
    background: linear-gradient(127.34deg, #f04954 5.92%, #fa939f 101.29%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pay-item__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.pay-item__desc {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.pickup-block {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pickup-block__content {
    flex: 1;
    padding: 30px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pickup-block__content h3 {
    margin-top: 0;
    font-size: 20px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pickup-block__content h3 i {
    background: linear-gradient(127.34deg, #f04954 5.92%, #fa939f 101.29%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pickup-block__map {
    flex: 1;
    min-width: 300px;
}

.pickup-block__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid #f04954;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(240, 73, 84, 0.12);
}

.feature-box__icon {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(127.34deg, #f04954 5.92%, #fa939f 101.29%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-box h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.feature-box p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.table-title {
    font-size: 20px;
    margin: 40px 0 20px 0;
    color: #222;
}

.custom-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    font-size: 14px;
}

.custom-table th {
    background: #fdfdfd;
    padding: 10px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
}

.custom-table td {
    padding: 8px 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:hover td {
    background: #fafafa;
}

.info-note {
    font-size: 13px;
    color: #777;
    margin-top: 15px;
    font-style: italic;
}

.delivery-map-block {
    margin: 30px 0 50px 0;
}

.mb-15 {
    margin-bottom: 15px;
}

.rounded-img {
    border-radius: 12px;
}

.border-img {
    border: 1px solid #eaeaea;
    max-width: 100%;
    height: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.bottom-disclaimer {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.bottom-disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(127.34deg, #f04954 5.92%, #fa939f 101.29%);
    border-radius: 12px 12px 0 0;
}

.disclaimer-icon {
    font-size: 32px;
    margin-top: 5px;
    background: linear-gradient(127.34deg, #f04954 5.92%, #fa939f 101.29%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.disclaimer-text p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.disclaimer-text p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    font-weight: 700;
    color: #f04954;
    margin-top: 15px !important;
}

@media (max-width: 768px) {
    .bottom-disclaimer {
        flex-direction: column;
        gap: 15px;
    }
    .pickup-block__content, .pickup-block__map {
        min-width: 100%;
    }
}

/* --- СТИЛИ БЛОКА --- */
.pickup-block {
    display: flex;
    align-items: center; /* Центрируем текст и карту по вертикали */
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* Аккуратная тень */
    gap: 40px; /* Отступ между текстом и картой */
    margin-bottom: 40px;
}

.pickup-block__content {
    flex: 0 0 40%; /* Текст занимает 40% ширины */
}

.pickup-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pickup-title i {
    color: #f04954; /* Фирменный розовый */
    font-size: 22px;
}

.pickup-text {
    font-size: 15px;
    color: #444;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.pickup-block__map {
    flex: 1; /* Карта занимает оставшиеся 60% */
    position: relative;
    cursor: zoom-in;
    border-radius: 12px;
    overflow: hidden;
}

.pickup-block__map img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.pickup-block__map:hover img {
    transform: scale(1.02); /* Легкий зум при наведении мыши */
}

/* Подсказка для увеличения */
.map-zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pickup-block__map:hover .map-zoom-hint {
    opacity: 1;
}

/* --- ВСПЛЫВАЮЩЕЕ ОКНО (МОДАЛКА) --- */
.pickup-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.pickup-modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    animation: zoomInPopup 0.3s ease;
}

.pickup-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.pickup-modal-close:hover {
    color: #f04954;
}

@keyframes zoomInPopup {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- АДАПТИВ (МОБИЛЬНАЯ ВЕРСИЯ) --- */
@media (max-width: 767px) {
    .pickup-block {
        flex-direction: column; /* Ставим в колонку */
        padding: 20px;
        gap: 20px;
    }

    .pickup-block__content {
        flex: auto;
        width: 100%;
    }

    .pickup-block__map {
        order: -1; /* ПОДНИМАЕМ КАРТУ НАВЕРХ */
        width: 100%;
    }
}
