/* sweetalert */

.swal2-popup {
    font-size: 14px !important;
}
.swal2-container {
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 9999;
}

label sup {
    top: 0;
}

.swal2-popup.swal2-toast .swal2-title {
    margin: 0 !important;
    padding: 0;
    font-size: 14px;
    text-align: initial;
}

/* content fix  */
.seo-content {
    max-width: 1200px;      
    margin: 0 auto 42px;   
    padding: 0 30px;
}

/* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸ */
.seo-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 1.2em 0 0.6em;
    font-weight: 600;
    color: var(--text);
}

.seo-content h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 1.1em 0 0.5em;
    font-weight: 600;
    color: var(--text);
}

.seo-content h4 {
    font-size: 18px;
    line-height: 1.45;
    margin: 1em 0 0.5em;
    font-weight: 600;
    color: var(--text);
}

.seo-content h5 {
    font-size: 16px;
    line-height: 1.5;
    margin: 1em 0 0.4em;
    font-weight: 600;
    color: var(--text);
}

.seo-content h6 {
    font-size: 14px;
    line-height: 1.55;
    margin: 0.9em 0 0.4em;
    font-weight: 600;
    color: var(--text);
}

/* ÐÐ±Ð·Ð°Ñ†Ñ‹ */
.seo-content p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 1em;
    color: var(--text);
}

/* Ð¡Ð¿Ð¸ÑÐºÐ¸ */
.seo-content ul,
.seo-content ol {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 1.2em;
    padding-left: 1.5em; /* Ð¾ÑÐ½Ð¾Ð²Ð½Ð¾Ð¹ Ð»ÐµÐ²Ñ‹Ð¹ Ð¾Ñ‚ÑÑ‚ÑƒÐ¿ */
    color: var(--text);
}

.seo-content li {
    margin-bottom: 0.5em;
}

/* ÐœÐ°Ñ€ÐºÐµÑ€Ñ‹ */
.seo-content ul li {
    list-style-type: disc;
}

.seo-content ol li {
    list-style-type: decimal;
}

/* Ð’Ð»Ð¾Ð¶ÐµÐ½Ð½Ñ‹Ðµ ÑÐ¿Ð¸ÑÐºÐ¸ */
.seo-content li ul,
.seo-content li ol {
    margin-top: 0.5em;
    margin-bottom: 0;
    padding-left: 1.2em; /* Ñ‡ÑƒÑ‚ÑŒ ÐºÐ¾Ð¼Ð¿Ð°ÐºÑ‚Ð½ÐµÐµ, Ñ‡ÐµÐ¼ Ð¾ÑÐ½Ð¾Ð²Ð½Ð¾Ð¹ */
}


.flat-wrap-media-product .tf-product-media-main .item img {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
}


.card-product .card-product-wrapper img {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
}


.brand-item {
    background-color: #f1f9fb;
    margin: 5px;
}

img.tp-brand-slider-img {
    padding: 10px 15px;
    height: 80px;
    width: 220px;
}


/* ÐšÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ ÑÐ¿Ð¸ÑÐºÐ° */
.filter-group-check {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Ð¡Ñ‚Ñ€Ð¾ÐºÐ° */
.filter-group-check .list-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* padding: 2px; */
    margin: 5px;
}

/* Ð§ÐµÐºÐ±Ð¾ÐºÑ */
.filter-group-check input[type="checkbox"] {
    flex-shrink: 0;
}

/* Ð›ÐµÐ¹Ð±Ð» */
.filter-group-check .label {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;          /* â† Ñ‚ÐµÐ¿ÐµÑ€ÑŒ Ð±ÐµÐ¹Ð´Ð¶ ÑÐ½Ð¸Ð·Ñƒ */
    gap: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
    color: #1f2937;
    word-break: break-word;
}

/* Ð‘ÐµÐ¹Ð´Ð¶-ÑÑ‡Ñ‘Ñ‚Ñ‡Ð¸Ðº */
.filter-group-check .label sup {
    font-size: 11px;
    color: #6b7280;
    background: #f1f3f5;
    padding: 4px 8px;
    border-radius: 10px;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

/* Hover â€” Ð¢ÐžÐ›Ð¬ÐšÐž Ð±ÐµÐ¹Ð´Ð¶ */
.filter-group-check .list-item:hover .label sup {
    background: #e5e7eb;
    color: #111827;
}

/* ÐÐºÑ‚Ð¸Ð²Ð½Ñ‹Ð¹ Ñ‡ÐµÐºÐ±Ð¾ÐºÑ â€” Ð¿Ð¾Ð´ÑÐ²ÐµÑ‡Ð¸Ð²Ð°ÐµÐ¼ Ð±ÐµÐ¹Ð´Ð¶ */
.filter-group-check input:checked + .label sup {
    background: #0d6efd;
    color: #fff;
    display: none;
}

/* Disabled */
.filter-group-check input:disabled + .label {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Ð¡ÐºÑ€Ð¾Ð»Ð» */
.filter-group-check::-webkit-scrollbar {
    width: 6px;
}
.filter-group-check::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

/* ===== SEO BOX ОБОЛОЧКА ===== */
.seo-box {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

/* Контент */
.seo-box__content {
    padding: 20px;
    max-height: 140px;           
    overflow: hidden;
    transition: max-height .4s ease;
}

/* Градиент снизу */
.seo-box__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70px; 
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.7) 45%,
        rgba(255,255,255,1) 100%
    );
    pointer-events: none;
    transition: opacity .25s ease;
}

/* Подвал с кнопкой */
.seo-box__footer {
    padding: 14px 20px 18px;
    display: flex;
    justify-content: center;
    background: #ffffff;
}

/* Кнопка */
.seo-box__toggle {
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

.seo-box__toggle:hover {
    background: #111111;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,.45);
}

/* Когда раскрыто */
.seo-box.open .seo-box__fade {
    opacity: 0;
}


/* ===== ТИПОГРАФИКА ВНУТРИ SEO-ТЕКСТА ===== */

.sf_content {
    font-size: 16px;
    line-height: 1.7;
    color: #1f2937;
}

/* Абзацы */
.sf_content p {
    margin: 0 0 1.1em;
    margin-top: 20px !important;
}

/* Заголовки */
.sf_content h2,
.sf_content h3,
.sf_content h4,
.sf_content h5 {
    margin: 1.4em 0 0.6em;
    font-weight: 600;
    line-height: 1.3;
    color: #0f172a;
}

/* УМЕНЬШЕННЫЕ размеры заголовков */
.sf_content h2 { font-size: 22px; }
.sf_content h3 { font-size: 19px; }
.sf_content h4 { font-size: 17px; }
.sf_content h5 { font-size: 15px; }

/* Первый заголовок без большого отступа */
.sf_content h2:first-child,
.sf_content h3:first-child {
    margin-top: 0;
}

/* Списки */
.sf_content ul,
.sf_content ol {
    margin: 0 0 1.1em 1.2em;
    padding: 0;
}

/* Элементы списка */
.sf_content li {
    margin: 0.35em 0;
    padding-left: 0.2em;
}

/* Маркеры */
.sf_content ul li::marker {
    color: #000000;
}

/* Ссылки */
.sf_content a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,.25);
}

.sf_content a:hover {
    border-bottom-color: #000000;
}

/* chat */
:root {
    --chat-accent-color: #246b64;
    --chat-accent-color-light: #bbe4e0;
    --chat-text-color: white;
    --chat-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --chat-box-shadow-glow: 0 0 0 0 rgba(255, 255, 255, 0.4);
}

#feedbackForm .mb-2{
    margin-bottom: 0.5rem !important;
}

select.form-select.form-select-sm.rounded.w-50 {
    padding: 0.75rem 1.125rem 0.6rem;
    padding-right: 2.025rem;
    background-position: right 0.5625rem center;
}

input#cName, input#cPhone {
    height:40px;
    padding: 10px 15px;
}

.feedback-tooltip {
    position: fixed;
    bottom: 160px;
    left: 20px;
    z-index: 100;
}

.tooltip-bubble {
    background-color: var(--chat-accent-color-light);
    color: #333;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 260px;
    font-family: sans-serif;
    line-height: 1.4em;
}

.tooltip-bubble::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--chat-accent-color-light);
}

.feedback-collapsed {
    position: fixed;
    bottom: 70px;
    left: 20px;
    background-color: var(--chat-accent-color);
    color: var(--chat-text-color);
    padding: 12px;
    border-radius: 14px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 280px;
    font-family: sans-serif;
    box-shadow: var(--chat-shadow);
    animation: lively-bounce 1.5s ease-in-out infinite, blink-opacity 3s ease-in-out infinite;
}

@keyframes lively-bounce {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-1px);
    }
}

@keyframes blink-opacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.feedback-form {
    position: fixed;
    bottom: -700px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding: 16px;
    transition: bottom 0.4s ease;
    z-index: 999;
    font-family: sans-serif;
    /* border-top: 8px solid var(--chat-accent-color); */
}

.feedback-form.open {
    bottom: 70px;
}

.feedback-header {
    background-color: var(--chat-accent-color);
    padding: 10px;
    border-radius: 8px 8px 0 0;
    color: var(--chat-text-color);
    margin: -16px -16px 16px -16px;
}

.feedback-form input,
.feedback-form textarea {
    font-size: 14px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: var(--chat-accent-color);
    box-shadow: 0 0 0 0.15rem rgba(208, 103, 47, 0.25);
}

.rotate-swap {
    animation: rotateY 0.6s ease-in-out;
}

@keyframes rotateY {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(90deg);
        opacity: 0.3;
    }

    100% {
        transform: rotateY(0deg);
        opacity: 1;
    }
}