table.table.table-striped.table-bordered {
}

table.table.table-striped.table-bordered thead tr th {
    background: #2563eb;
    color: white;
    border: 0px;
}

table.table.table-striped.table-bordered tbody tr {
    background: #ffffff;
    border: 0px;
}
.ajax_delivery {
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #2d3748;
    padding: 15px;
    border-radius: 12px;
    background: #f9fafb;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Дорога */
.delivery-loader-ui .road {
    position: relative;
    height: 50px;
    margin-bottom: 15px;
    background: linear-gradient(to right, #edf2f7, #e2e8f0);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    overflow: hidden;
}

/* Машина скрыта */
.delivery-loader-ui .car {
    display: none !important;
}

/* Прогресс бар */
.delivery-loader-ui .progress {
    height: 16px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    width: 100%;
}

.delivery-loader-ui .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 16px;
    border-radius: 8px;
    transition: width 0.6s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Шаги доставки */
.delivery-loader-ui .delivery-steps {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

/* Адаптив */
@media (max-width: 600px) {
    .delivery-loader-ui .road {
        font-size: 14px;
        height: 44px;
        padding: 0 8px;
    }
    .delivery-loader-ui .progress-bar {
        font-size: 11px;
    }
    .delivery-loader-ui .delivery-steps {
        font-size: 14px;
    }
}

/* Корневой контейнер */
.delivery-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Заголовок */
.delivery-card .delivery-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.delivery-card .delivery-header i {
    font-size: 22px;
    color: #2563eb;
}
.delivery-card .delivery-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

/* Форма */
.delivery-card .delivery-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}
.delivery-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.delivery-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.delivery-card .input-icon {
    position: relative;
}
.delivery-card .input-icon input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 36px 10px 12px;
    font-size: 14px;
    background: #fff;
    transition: 0.2s;
}
.delivery-card .input-icon input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.delivery-card .input-icon i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 16px;
}
.delivery-card input[readonly] {
    background: #f3f4f6;
    cursor: not-allowed;
}

/* Кнопка */
.delivery-card .btn-wrap {
    align-self: flex-end;
}
.delivery-card .btn-wrap button {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}
.delivery-card .btn-wrap button:hover {
    background: #1e4fc9;
}

/* Лоадер */
.delivery-card .delivery-loader {
    text-align: center;
    margin: 20px 0 10px;
}
.delivery-card .loader-text {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}
.delivery-card .loader-bar {
    height: 6px;
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb);
    background-size: 200% 100%;
    animation: delivery-bar-move 1.2s infinite linear;
}
@keyframes delivery-bar-move {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 200%;
    }
}

.product-badges {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.product-badges .badge {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 10px;
    text-align: left;
}

.product-badges .badge i {
    font-size: 18px;
    color: #2563eb;
    margin-right: 10px;
    flex-shrink: 0;
}

.product-badges .badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 10px;
    flex-shrink: 0;
}

.product-badges .badge span {
    font-size: 12px;
    color: #111827;
    line-height: 1.3;
}

.product-badges .badge:hover {
    background: #eef5ff;
    border-color: #c7dfff;
}

/* === Адаптивность === */
@media (max-width: 480px) {
    .delivery-box {
        margin-bottom: 10px;
    }

    .delivery-row {
        display: flow !important;
    }

    .product-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-badges .badge {
        padding: 8px;
    }
    .product-badges .badge span {
        font-size: 12px;
    }
    #mob-hsd {
        padding: 0px;
    }
    .mikrofib.row {
        display: none;
    }
}

/* === Специально для блока дилера === */
/* На моб — в одну строку */
.product-badges .dealer-badge .dealer-text {
    white-space: nowrap;
}

/* На ПК и планшетах — бренд с новой строки */
@media (min-width: 769px) {
    .product-badges .dealer-badge .dealer-text {
        white-space: normal;
        display: inline-block;
    }
    .product-badges .dealer-badge .dealer-text a {
        display: block;
        margin-top: 2px;
    }
}
.styled-tabs {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    border-bottom: none;
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

.styled-tabs > li {
    margin-bottom: 0;
}

.styled-tabs > li > a {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    color: #111827;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.styled-tabs > li > a i {
    font-size: 16px;
    color: #2563eb;
    margin-right: 8px;
}

.styled-tabs > li.active > a,
.styled-tabs > li > a:hover {
    background: #eef5ff;
    border-color: #c7dfff;
    color: #111827;
}

@media (max-width: 480px) {
    .styled-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .styled-tabs > li > a {
        font-size: 13px;
        padding: 8px;
    }
}
.styled-tabs > li:after {
    content: none !important;
    display: none !important;
} /* Убираем конфликт bootstrap для наших карточек */
.styled-tabs > li.active > a,
.styled-tabs > li.active > a:focus,
.styled-tabs > li.active > a:hover {
    background: #eef5ff !important;
    border: 1px solid #c7dfff !important;
    color: #111827 !important;
    border-bottom-color: #c7dfff !important;
    box-shadow: 0 0 0 1px #c7dfff inset;
} /* Карточка общий контейнер */
.delivery-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.delivery-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.delivery-header i {
    font-size: 24px;
    color: #2563eb;
}
.delivery-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

/* Блоки 4 в ряд */
.delivery-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}
.delivery-box {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: 0.25s;
}
.delivery-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.delivery-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.delivery-head i {
    font-size: 18px;
    color: #2563eb;
}
.delivery-head h5 {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
    color: #111827;
}
.delivery-box p {
    font-size: 13px;
    margin: 0;
    color: #4b5563;
}
.delivery-box a {
    color: #2563eb;
    text-decoration: none;
}
.delivery-box a:hover {
    text-decoration: underline;
}

/* Extra info */
.delivery-extra p {
    margin: 8px 0;
    font-size: 14px;
    color: #1f2937;
}
.tag {
    background: #e5edff;
    color: #2563eb;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 12px;
    margin-left: 5px;
}

/* Форма */
.delivery-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.delivery-form input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    transition: 0.2s;
}
.delivery-form input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.delivery-form button {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}
.delivery-form button:hover {
    background: #1e4fc9;
}

/* Loader */
.delivery-loader {
    text-align: center;
    margin: 15px 0;
}
.loader-text {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}
.loader-bar {
    height: 6px;
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb);
    background-size: 200% 100%;
    animation: move 1.2s infinite linear;
}
@keyframes move {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 200%;
    }
}
.download-offer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb; /* синий акцент */
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 18px;
    transition: background 0.25s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.download-offer i {
    font-size: 16px;
    color: white;
}

.download-offer:hover {
    background: #1e4edc;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

@media (max-width: 480px) {
    .download-offer {
        font-size: 14px;
        padding: 9px 14px;
        width: 100%;
        justify-content: center;
    }
}
div#mix009 {
    display: block;
}
.rating i,
.rating sup a {
    color: #65b4e0;
}
.fa-star:before {
    content: "\f005";
    color: #ffd02edb;
    box-sizing: 2px solid;
}
.rating i {
    font-size: 17px;
}
.benefits-block {
    padding: 10px 10px;
}
.benefit-icon i {
    color: white;
}
.benefits-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 45px;
    color: #1e293b;
}

.benefit {
    margin-bottom: 25px;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.benefit-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}

.benefit-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
}

.benefit-card p {
    font-size: 14px;
    line-height: 1.4em;
    color: #475569;
    margin: 0;
}

/* Мобильная адаптация — 2 карточки в строке */
@media (max-width: 767px) {
    .benefit {
        padding: 0 8px;
    }
    .benefit-card {
        padding: 20px 15px;
    }
    .benefit-top {
        gap: 10px;
    }
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .benefit-card h3 {
        font-size: 15px;
    }
    .benefit-card p {
        font-size: 13px;
    }
}
.analog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.analog-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.analog-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.analog-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #fafafa;
    padding: 10px;
}
.analog-card .analog-name {
    padding: 10px 12px 0 12px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    height: 42px;
    overflow: hidden;
}
.analog-card .analog-attrs {
    flex-grow: 1;
    padding: 8px 12px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #555;
    max-height: 70px;
    overflow: hidden;
}
.analog-card .analog-attrs div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}
.analog-card .analog-price {
    padding: 10px 12px 14px 12px;
    font-weight: 700;
    font-size: 16px;
    color: #e53935;
    text-align: center;
}
.list {
    display: flex;
    -webkit-box-flex: 1;
    flex: 1 1 100%;
    flex-wrap: wrap;
    -webkit-box-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    justify-content: flex-start;
}
span.link {
    color: #3cb4e0;
    cursor: pointer;
}

span.link:hover {
    text-decoration: underline;
}

a.tags:hover {
    color: #d60000;
}
a.tags:hover {
    color: #3cbde8;
}
a.tags {
    color: #666;
    margin-bottom: 5px;
}

span.list_tag:hover {
    color: #d60000;
    border-color: #d60000;
    background: #fff;
}
span.list_tag {
    display: block;
    padding: 3px 5px 3px;
    margin: 0px 0 0px 6px;
    font-size: 13px;
    line-height: 13px;
    color: #666;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #f4f4f4;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#rutube-videos {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 768px) {
    #rutube-videos {
        grid-template-columns: 1fr !important;
    }
}
.rutube-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.rutube-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.rutube-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.rutube-card:hover .play-icon {
    background: rgba(255, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}
.rutube-title {
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* Само меню */
.modern-fly-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    transform: translateY(-100%) !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 100% !important;
}

.modern-fly-menu.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.modern-fly-menu .menu-container {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 1px 0 !important;
    width: 100% !important;
    height: 50px !important;
}

.modern-fly-menu .container {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

/* Общий ряд */
.modern-product-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    width: 100% !important;
    padding-top: 5px;
}

/* Фото */
.row-photo {
    flex: 0 0 55px !important;
}
.row-photo img {
    margin-top: 1px;
    width: 55px !important;
    height: 36px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

/* Название растягивается */
.row-name {
    flex: 1 1 auto !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #333 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* --- Правая часть более компактно --- */
.row-badge,
.row-whatsapp,
.row-phone,
.row-price,
.row-buy {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* В наличии */
.row-badge {
    color: #10b981 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* WhatsApp */
.row-whatsapp a {
    font-size: 18px !important;
    color: #25d366 !important;
}

/* Телефон */
.row-phone a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #002f6e !important;
    text-decoration: none !important;
}

/* Цена */
.row-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    white-space: nowrap !important;
}

/* Кнопка */
.row-buy .buy-btn {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.row-buy .buy-btn:hover {
    background: #1d4ed8 !important;
}

.mob-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.mob-slider-track {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    user-select: none;
    position: relative;
}

.mob-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    user-select: none;
}

.mob-dots {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    gap: 6px;
}

.mob-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
    cursor: pointer;
}
.mob-dots .dot.active {
    background: #4d8fc3;
}

.slide-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    z-index: 10;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mob-slider:hover .slide-zone {
    pointer-events: auto;
    opacity: 1;
}

.slide-zone .zone-icon {
    color: #fff;
    font-size: 40px;
    opacity: 0;
    transform: scale(0.7);
    transition: 0.2s;
}
.slide-zone:hover .zone-icon {
    opacity: 0.9;
    transform: scale(1);
}

.left-zone {
    left: 0;
    background: radial-gradient(circle at 30% center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}
.right-zone {
    right: 0;
    background: radial-gradient(circle at 70% center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-header {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10000;
}
.lightbox-header button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-header button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-images {
    display: flex;
    overflow: hidden;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    position: relative;
}
.lightbox-images img {
    flex: 0 0 100%;
    object-fit: contain;
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}
.lightbox-nav button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 40px;
    padding: 5px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}
.lightbox-nav button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.lightbox-actions a {
    background: #4caf50;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}

.lightbox-actions button {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}
.lightbox-actions a:hover,
.lightbox-actions button:hover {
    background: #1b4fb5;
}

/* Круглый таймер */
.lightbox-timer {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    animation: spin 10s linear infinite;
    pointer-events: none;
    opacity: 0.7;
}
@keyframes spin {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

.slide-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* по умолчанию невидима и некликабельна */
    z-index: 10;
}
.left-zone {
    left: 0;
    background: radial-gradient(circle at 30% center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}
.right-zone {
    right: 0;
    background: radial-gradient(circle at 70% center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}
/* показываем только активную */
.slide-zone.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (max-width: 1024px) {
    .slide-zone {
        display: none !important;
    }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none; /* чтоб не мешали клику вне */
    z-index: 100;
}

.lightbox-nav button {
    pointer-events: auto; /* активируем клик */
    background: #2563eb; /* ярко-синий */
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* круглые */
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
    user-select: none;
}

.lightbox-nav button:hover {
    background: #1e4fcc; /* немного темнее при наведении */
    transform: scale(1.1);
}

.lightbox-nav button:active {
    transform: scale(0.95);
}

.auto-progress {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    z-index: 15;
    opacity: 0.95;
}
.auto-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.auto-progress .pg-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.2);
    stroke-width: 3;
}
.auto-progress .pg-fg {
    fill: none;
    stroke: #2563eb;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.02s linear;
}
.lightbox-images {
    display: flex;
    overflow: hidden;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    position: relative;
}
.lb-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-images img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    transform-origin: center center;
    transition: transform 0.2s, width 0.2s, height 0.2s;
}

.installment-info {
    background: #f0f4f8;
    color: #2563eb;
    font-size: 0.85em;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-block;
}

/* На мобильных — разнести на 2 строки */
@media (max-width: 767px) {
    .installment-info {
        white-space: normal;
        text-align: right;
        line-height: 1.3em;
    }
    .installment-info strong {
        display: block;
        font-size: 1.1em;
        margin-top: 2px;
        color: #111;
    }
}

div#fr43:hover div {
    color: #2f88e0;
    text-decoration: underline;
}
.etSep:nth-child(3) {
    background: #4d8fc3;
    display: none !important;
}
@media screen and (max-width: 800px) {
    .eTimer {
        margin-left: -53px !important;
    }

    .mini_cart {
        margin-top: -15px;
    }

    .mini_cart.fp2d {
        margin-block: 0px;
    }
}
