:root {
    --brand-strong: #37517e;
    --accent: #e8b015;
    --accent-dark: #e8a015;
}

.promo-gift {
    position: fixed;
    top: 100px;
    right: 15px;
    width: 50px;
    height: 50px;
    color: var(--brand-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    font-size: 22px;
    flex-direction: column;
}

#promo-timer {
    font-size: 10px;
    margin-top: -5px;
}

.promo-toast {
    position: fixed;
    top: 30px;
    right: 80px;

    background: #28a745;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
    font-family: Arial;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: 0.3s ease;
    z-index: 10000;
}

.promo-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.promo-toast .check {
    font-weight: bold;
}

.priority-brand {
    border-radius: 20px;
    border-top: 2px solid var(--brand-strong);
}

.priority-brand .product-card-title {
    font-size: 15px;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.table-custom th {
    background: var(--brand-strong);
    color: #fff;
    padding: 14px;
    text-align: left;
    font-weight: 600;
}

.table-custom td {
    padding: 12px 14px;
    border-bottom: 1px solid #e9ecef;
}

.table-custom tr:nth-child(even) {
    background: #f8f9fa;
}

.table-custom tr:hover {
    background: #eef4ff;
    transition: .2s;
}

.table-custom td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--brand-strong);
}

.table-custom td:last-child {
    color: #444;
}

@media (max-width: 768px) {
    .table-custom {
        font-size: 14px;
    }

    .table-custom th,
    .table-custom td {
        padding: 10px;
    }
}

/* blog */
/* Базовий селектор для контенту (замініть .content-zone на ваш клас) */
.content-zone table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    display: table; /* Гарантує коректне відображення радіусу */
}

.content-zone th {
    background: var(--brand-strong);
    color: #fff;
    padding: 14px;
    text-align: left;
    font-weight: 600;
}

.content-zone td {
    padding: 12px 14px;
    border-bottom: 1px solid #e9ecef;
}

.content-zone tr:nth-child(even) {
    background: #f8f9fa;
}

.content-zone tr:hover {
    background: #eef4ff;
    transition: .2s;
}

.content-zone td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--brand-strong);
}

.content-zone td:last-child {
    color: #444;
}

/* Мобільна адаптивність для таблиць */
@media (max-width: 768px) {
    .content-zone table {
        font-size: 14px;
        display: block;
        overflow-x: auto; /* Додає горизонтальний скрол на мобільних */
        white-space: nowrap;
    }

    .content-zone th,
    .content-zone td {
        padding: 10px;
    }
}

/* Маркований список (ul) */
.content-zone ul {
    list-style: none;
    padding-left: 5px;
    margin: 15px 0;
}

.content-zone ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

/* Кастомний маркер-точка в колір бренду */
.content-zone ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--brand-strong);
    border-radius: 50%;
}

/* Нумерований список (ol) */
.content-zone ol {
    counter-reset: my-counter;
    list-style: none;
    padding-left: 5px;
    margin: 15px 0;
}

.content-zone ol li {
    counter-increment: my-counter;
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

/* Кастомна цифра брендового кольору */
.content-zone ol li::before {
    content: counter(my-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--brand-strong);
}

/* Базовий стиль для всіх посилань у тексті */
.content-zone a {
    color: var(--brand-strong);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--brand-strong);
    transition: all 0.2s ease;
}

/* Ефект при наведенні */
.content-zone a:hover {
    color: #000; /* або інший темний колір */
    border-bottom: 1px solid #000;
    background: rgba(0, 0, 0, 0.02);
}

/* Автоматична іконка для зовнішніх посилань (які мають target="_blank") */
.content-zone a[target="_blank"]::after {
    content: " ↗";
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    vertical-align: super;
    opacity: 0.7;
    transition: transform 0.2s;
}

.content-zone a[target="_blank"]:hover::after {
    transform: translate(2px, -2px); /* Ефект вилітання стрілочки */
    opacity: 1;
}

.content-zone strong {
    font-weight: 700;
    color: var(--brand-strong);
    letter-spacing: 0.2px;
}



.list-custom {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    background: #fff;
}

.list-custom li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    transition: background .2s ease;
}

.list-custom li:last-child {
    border-bottom: none;
}

.list-custom li:nth-child(even) {
    background: #f8f9fa;
}

.list-custom li:hover {
    background: #eef4ff;
}

.list-custom li i {
    color: var(--brand-strong);
    font-size: 18px;
    flex-shrink: 0;
}

.list-custom li strong {
    color: var(--brand-strong);
}

.list-custom li span {
    color: #444;
}

@media (max-width: 768px) {
    .list-custom li {
        padding: 10px 12px;
        font-size: 14px;
    }
}
.product-badge{
    position: absolute;
    top: 10px;
    right: 10px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;

    z-index: 10;
}

.badge-new,
.badge-sale,
.badge-top{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px 8px;
    border-radius: 20px;

    color: #fff;
    font-size: 12px;
    font-weight: 600;

    backdrop-filter: blur(10px);
    white-space: nowrap;

    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.badge-new{
    background: rgba(34, 197, 94, .85);
}

.badge-sale{
    background: rgba(255, 77, 77, .85);
}

.badge-top{
    background: rgba(255, 165, 0, .85);
}


/*основні стилі*/
.form-evahub {
    width: 100%;
    margin-top: 15px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    outline: none;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.form-evahub:focus {
    background: #fff;
    border-color: #ffc107;
    box-shadow: 0 8px 25px rgba(253, 192, 7, .15);
}

#form-evahub::placeholder {
    color: #94a3b8;
}
.form-button {

    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid #ffc107;

    color: #ffc107;
    font-size: 16px;
    font-weight: 500;
    font-family: "Jost", sans-serif;

    transition: 0.3s;
    cursor: pointer;
}

.form-button:hover {
    background: #ffc107;
    color: #fff;
}

/*base.html*/

.clients a {
    width: 100px;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    padding: 15px 0;
}

.advantages {
    border-radius: 20px;
}

.logo-light {
    border: 1px solid rgb(255, 193, 7);
    background: rgb(255, 193, 7);
    z-index: 1;
    box-shadow: 0 0 20px rgb(255, 193, 7);
}

.menu-btn {
    padding: 10px 15px 10px 15px;
    font-family: "Jost", sans-serif;
}

.menu-btn:hover {
    border-bottom: 1px solid rgb(255, 193, 7);
    transition: all 0.5s ease;
    transform-origin: left;
}

.custom-btn {
    color: #000;
    padding: 10px 25px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}


.btn-1 {
    border: none;
    background-color: rgb(255, 193, 7);
    box-shadow: 0 0 20px rgb(255, 193, 7);
}

.btn-1:hover {
    box-shadow: 0 0 20px rgb(255, 220, 7), 0 0 25px rgb(255, 220, 7), 0 0 25px rgb(255, 220, 7) inset;
}

.btn-15 {
    color: rgb(255, 193, 7);
    border: 1px solid rgb(255, 193, 7);
    box-shadow: 0 0 5px rgb(255, 193, 7), 0 0 5px rgb(255, 193, 7) inset;
    z-index: 1;
}

.btn-15:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background: rgb(255, 193, 7);
    box-shadow: 0 0 20px rgb(255, 193, 7);
    transition: all 0.3s ease;
}

.btn-15:hover {
    color: #000;
}

.btn-15:hover:after {
    left: 0;
    width: 100%;
}

.btn-15:active {
    top: 2px;
}

.btn-6 {
    width: 130px;
    height: 40px;
    /*padding: 10px 25px;*/
    background: rgb(255, 193, 7);
    line-height: 40px;
    padding: 0;
    border: none;
    box-shadow: 0 0 5px rgb(255, 193, 7);
}

.btn-6 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btn-6:hover {
    background: transparent;
}

.btn-6:before,
.btn-6:after {
    position: absolute;
    content: "";
    height: 0;
    width: 2px;
    background: rgb(255, 140, 7);
    box-shadow: 0 0 5px rgb(255, 140, 7);
}

.btn-6:before {
    right: 0;
    top: 0;
    transition: all 500ms ease;
}

.btn-6:after {
    left: 0;
    bottom: 0;
    transition: all 500ms ease;
}

.btn-6:hover:before {
    transition: all 500ms ease;
    height: 100%;
}

.btn-6:hover:after {
    transition: all 500ms ease;
    height: 100%;
}

.btn-6 span:before,
.btn-6 span:after {
    position: absolute;
    content: "";
    background: rgb(255, 193, 7);
    box-shadow: 0 0 5px rgb(255, 193, 7);
}

.btn-6 span:before {
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    transition: all 500ms ease;
}

.btn-6 span:after {
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    transition: all 500ms ease;
}

.btn-6 span:hover:before {
    width: 100%;
}

.btn-6 span:hover:after {
    width: 100%;
}

.block {
    position: fixed; /* зафіксований */
    top: 0; /* зверху сторінки */
    left: 0;
    width: 100%;
    height: 16px;
    background: #fff; /* білий фон */
    z-index: 1000; /* над усім іншим */
    display: flex;
    align-items: center;
    justify-content: center;
}

.block p {
    margin: 0;
    color: #000; /* текст чорний або за потреби */
    text-align: center;
    font-size: 11px;
}

@keyframes widgetPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.18);
    }
    100% {
        transform: scale(1);
    }
}

.widget-btn {
    position: relative;
    display: inline-block;
    transform: scale(.85);
    transition: transform .3s;
    margin-top: 12px;
}

.widget-heart {
    position: absolute;
    top: -8px;
    left: -8px;
    height: 82px;
    width: calc(100% + 16px);
    border-radius: 100px;
    opacity: .2;
}

.widget-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: widgetPulse infinite 1.5s;
}

.widget-icon-wrap {
    position: relative;
    display: flex;
    height: 66px;
    width: 66px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

#news-slider {
    margin-top: 80px;
}

.post-slide {
    background: #fff;
    margin: 20px 15px 20px;
    border-radius: 15px;
    padding-top: 1px;
    box-shadow: 0 14px 22px -9px #bbcbd8;
}

.post-slide .post-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: -12px 15px 8px 15px;
    margin-left: -10px;
}

.post-slide .post-img img {
    width: 100%;
    height: auto;
    transform: scale(1, 1);
    transition: transform 0.2s linear;
}

.post-slide:hover .post-img img {
    transform: scale(1.1, 1.1);
}

.post-slide .over-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: linear-gradient(-45deg, rgba(6, 190, 244, 0.75) 0%, rgba(45, 112, 253, 0.6) 100%);
    transition: all 0.50s linear;
}

.post-slide:hover .over-layer {
    opacity: 1;
    text-decoration: none;
}

.post-slide .over-layer i {
    position: relative;
    top: 45%;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 25px;
}

.post-slide .post-content {
    background: #fff;
    padding: 2px 20px 40px;
    border-radius: 15px;
}

.post-slide .post-title a {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.post-slide .post-title a:hover {
    text-decoration: none;
    color: #3498db;
}

.post-slide .post-description {
    line-height: 24px;
    color: #808080;
    margin-bottom: 25px;
}

.post-slide .post-date {
    color: #a9a9a9;
    font-size: 14px;
}

.post-slide .post-date i {
    font-size: 20px;
    margin-right: 8px;
    color: #CFDACE;
}

.post-slide .read-more {
    padding: 7px 20px;
    float: right;
    font-size: 12px;
    background: #2196F3;
    color: #ffffff;
    box-shadow: 0 10px 20px -10px #1376c5;
    border-radius: 25px;
    text-transform: uppercase;
}

.post-slide .read-more:hover {
    background: #3498db;
    text-decoration: none;
    color: #fff;
}

.owl-controls .owl-buttons {
    text-align: center;
    margin-top: 20px;
}

.owl-controls .owl-buttons .owl-prev {
    background: #fff;
    position: absolute;
    top: -13%;
    left: 15px;
    padding: 0 18px 0 15px;
    border-radius: 50px;
    box-shadow: 3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-next {
    background: #fff;
    position: absolute;
    top: -13%;
    right: 15px;
    padding: 0 15px 0 18px;
    border-radius: 50px;
    box-shadow: -3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-prev:after,
.owl-controls .owl-buttons .owl-next:after {
    content: "\f104";
    font-family: FontAwesome;
    color: #333;
    font-size: 30px;
}

.owl-controls .owl-buttons .owl-next:after {
    content: "\f105";
}

@media only screen and (max-width: 1280px) {
    .post-slide .post-content {
        padding: 0 15px 25px 15px;
    }
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
}

.owl-next {
    left: 100%;
    position: absolute;
}

.owl-next .owl-prev {
    font-family: FontAwesome;
    color: #333;
    background: #fff;
    font-size: 30px;
    padding: 0 15px 0 18px;
    border-radius: 50px;
    box-shadow: -3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

@media only screen and (max-device-width: 768px) {
    .slide-img {
        height: 200px;
    }
}

.product-offer {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.product-offer .offer-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(61, 70, 77, 0.5);
    z-index: 1;
}

.heart {
    font-size: 150px;
    color: #e00;
    animation: beat .50s infinite alternate;
    transform-origin: center;
}

@keyframes beat {
    to {
        transform: scale(1.4);
    }
}

#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */

    max-width: 300px; /* Set a default minimum width */
    margin: auto; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 10000; /* Add a z-index if needed */
    /* Center the snackbar */
    left: 10%;
    bottom: 30px; /* 30px from the bottom */
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

.field {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.scroll {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    animation: down 1.5s infinite;
    -webkit-animation: down 1.5s infinite;
}

.scroll::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 9px;
    width: 18px;
    height: 18px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

@keyframes down {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translateY(15px);
    }
    40% {
        transform: translate(0);
    }
}

@-webkit-keyframes down {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translateY(15px);
    }
    40% {
        transform: translate(0);
    }
}

.main .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    justify-content: center;
    align-items: center;
}

.main .card {
    color: #252a32;
    border-radius: 2px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
}

.main .card-image {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 70%;
    background: #ffffff;
}

.main .card-image img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 600px) {
    .main .container {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }
}

@keyframes phone {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(21deg);
    }
}

b, strong {
    color: var(--brand-strong);
}

p {
    font-family: 'Jura', Arial, sans-serif;
}

.rounded-circle-edge-color {
    width: 40px; /* поддерживаются любые единицы, в том числе проценты */
    margin: 1em auto;
    background: silver;
    border-radius: 50%;
}

.rounded-circle-edge-color::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    padding-top: 100%;
}

#constructor .btn-get-started {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px 11px 28px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px 0 0 0;
    color: #fff;
    background: #47b2e4;
}

#constructor .btn-get-started:hover {
    background: #209dd8;
}

.cta_c {
    background: linear-gradient(rgba(40, 58, 90, 0.7), rgba(40, 58, 90, 0.2)), url(/media/evahub/img/bg_kupit_eva_kovriki_ukraine_evasota.jpg) fixed center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 120px 0;
    color: #fff;
}

@media (max-width: 1024px) {
    .cta_c {
        background-attachment: scroll;
    }
}


/* Brands.html */
/*.field {*/
/*          display: flex;*/
/*          align-items: center;*/
/*          justify-content: space-around;*/
/*          width: 100%;*/
/*        }*/
/*        .scroll {*/
/*          width: 40px;*/
/*          height: 40px;*/
/*          border: 2px solid #fff;*/
/*          border-radius: 50%;*/
/*          position: relative;*/
/*          animation: down 1.5s infinite;*/
/*          -webkit-animation: down 1.5s infinite;*/
/*        }*/
/*        .scroll::before {*/
/*          content: "";*/
/*          position: absolute;*/
/*          top: 6px;*/
/*          left: 9px;*/
/*          width: 18px;*/
/*          height: 18px;*/
/*          border-left: 2px solid #fff;*/
/*          border-bottom: 2px solid #fff;*/
/*          transform: rotate(-45deg);*/
/*        }*/

/*        @keyframes down {*/
/*          0% {*/
/*            transform: translate(0);*/
/*          }*/
/*          20% {*/
/*            transform: translateY(15px);*/
/*          }*/
/*          40% {*/
/*            transform: translate(0);*/
/*          }*/
/*        }*/
/*        @-webkit-keyframes down {*/
/*          0% {*/
/*            transform: translate(0);*/
/*          }*/
/*          20% {*/
/*            transform: translateY(15px);*/
/*          }*/
/*          40% {*/
/*            transform: translate(0);*/
/*          }*/
/*        }*/
/*        .main .container {*/
/*          display: grid;*/
/*          grid-template-columns: repeat(3, 1fr);*/
/*          grid-gap: 1rem;*/
/*          justify-content: center;*/
/*          align-items: center;*/
/*        }*/
/*        .main .card {*/
/*          color: #252a32;*/
/*          border-radius: 2px;*/
/*          background: #ffffff;*/
/*          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);*/
/*        }*/
/*        .main .card-image {*/
/*          position: relative;*/
/*          display: block;*/
/*          width: 100%;*/
/*          padding-top: 70%;*/
/*          background: #ffffff;*/
/*        }*/
/*        .main .card-image img {*/
/*          display: block;*/
/*          position: absolute;*/
/*          top: 0;*/
/*          left: 0;*/
/*          width: 100%;*/
/*          height: 100%;*/
/*          object-fit: cover;*/
/*        }*/

/*        @media only screen and (max-width: 600px) {*/
/*          .main .container {*/
/*            display: grid;*/
/*            grid-template-columns: 1fr;*/
/*            grid-gap: 1rem;*/
/*          }*/
/*        }*/


/*       .bread_nav {*/
/*            display: flex;*/
/*            overflow-x: auto;*/
/*            white-space: nowrap;*/
/*            font-family: "Jost", sans-serif;*/
/*            scrollbar-width: none;*/
/*        }*/

/*        .bread_nav::-webkit-scrollbar {*/
/*            display: none;*/
/*        }*/

/*        .bread_nav span + span::before {*/
/*            content: "→";*/
/*            color: #999;*/
/*            margin: 0 8px;*/
/*        }*/

.col-margin {
    padding: 5px;
}

.brand-card {
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    transition: transform .2s ease;
}

.brand-card:hover {
    transform: translateY(-2px);
}

.brand-card a {
    display: block;
    text-decoration: none;
}

.brand-card-logo {
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-card-img {
    display: block;
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.brand-card-title {
    margin: 0;
    padding: 8px;
    text-align: center;
    color: var(--brand-strong);
    line-height: 1.4;
    font-weight: 600;
    font-family: "Jost", sans-serif;
    font-size: 1em;
}

/* brands_detail.html */
/*.field {*/
/*          display: flex;*/
/*          align-items: center;*/
/*          justify-content: space-around;*/
/*          width: 100%;*/
/*        }*/
/*        .scroll {*/
/*          width: 40px;*/
/*          height: 40px;*/
/*          border: 2px solid #fff;*/
/*          border-radius: 50%;*/
/*          position: relative;*/
/*          animation: down 1.5s infinite;*/
/*          -webkit-animation: down 1.5s infinite;*/
/*        }*/
/*        .scroll::before {*/
/*          content: "";*/
/*          position: absolute;*/
/*          top: 6px;*/
/*          left: 9px;*/
/*          width: 18px;*/
/*          height: 18px;*/
/*          border-left: 2px solid #fff;*/
/*          border-bottom: 2px solid #fff;*/
/*          transform: rotate(-45deg);*/
/*        }*/

/*        @keyframes down {*/
/*          0% {*/
/*            transform: translate(0);*/
/*          }*/
/*          20% {*/
/*            transform: translateY(15px);*/
/*          }*/
/*          40% {*/
/*            transform: translate(0);*/
/*          }*/
/*        }*/
/*        @-webkit-keyframes down {*/
/*          0% {*/
/*            transform: translate(0);*/
/*          }*/
/*          20% {*/
/*            transform: translateY(15px);*/
/*          }*/
/*          40% {*/
/*            transform: translate(0);*/
/*          }*/
/*        }*/
/*        .main .container {*/
/*          display: grid;*/
/*          grid-template-columns: repeat(3, 1fr);*/
/*          grid-gap: 1rem;*/
/*          justify-content: center;*/
/*          align-items: center;*/
/*        }*/
/*        .main .card {*/
/*          color: #252a32;*/
/*          border-radius: 2px;*/
/*          background: #ffffff;*/
/*          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);*/
/*        }*/
/*        .main .card-image {*/
/*          position: relative;*/
/*          display: block;*/
/*          width: 100%;*/
/*          padding-top: 70%;*/
/*          background: #ffffff;*/
/*        }*/
/*        .main .card-image img {*/
/*          display: block;*/
/*          position: absolute;*/
/*          top: 0;*/
/*          left: 0;*/
/*          width: 100%;*/
/*          height: 100%;*/
/*          object-fit: cover;*/
/*        }*/

/*        @media only screen and (max-width: 600px) {*/
/*          .main .container {*/
/*            display: grid;*/
/*            grid-template-columns: 1fr;*/
/*            grid-gap: 1rem;*/
/*          }*/
/*        }*/

/*       .bread_nav {*/
/*            display: flex;*/
/*            overflow-x: auto;*/
/*            white-space: nowrap;*/
/*            font-family: "Jost", sans-serif;*/
/*            scrollbar-width: none;*/
/*        }*/

/*        .bread_nav::-webkit-scrollbar {*/
/*            display: none;*/
/*        }*/

/*        .bread_nav span + span::before {*/
/*            content: "→";*/
/*            color: #999;*/
/*            margin: 0 8px;*/
/*        }*/


.product-card {
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    transition: transform .2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-card a {
    display: block;
    text-decoration: none;
}

.product-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 250 / 150;
    object-fit: cover;
}

.product-card-title {
    margin: 0;
    padding: 12px;
    text-align: center;
    color: var(--brand-strong);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    font-family: "Jost", sans-serif;
}

/* detail.html */
.control-order-element {
    margin-bottom: 30px;
    width: 100%;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
}

/* Базові властивості кружечків */
.select-cover {
    width: 45px;
    height: 45px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0; /* Захист від деформації форми */

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Внутрішній текст із назвою кольору — тепер ЧИСТО БІЛИЙ за замовчуванням */
.select-cover span {
    color: #ffffff !important; /* Строго білий колір */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 14px;

    /* ВИД АЛ ЕНО: mix-blend-mode більше не використовується */
}

/* АКТИВНИЙ СТАН: перетворення круга на широку преміум-капсулу */
.select-cover.active-color {
    width: 165px;

    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 5px var(--brand-strong),
        0 6px 15px rgba(0, 123, 255, 0.35) !important;
}

/* Відображення тексту всередині активної капсули */
.select-cover.active-color span {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.08s;
}

/* =========================================================================
   СПЕЦІАЛЬНІ НАЛАШТУВАННЯ ДЛЯ СВІТЛИХ КОЛЬОРІВ (Щоб текст читався ідеально)
   ========================================================================= */

/* Для Слонової кістки, Сахари та Міланського золота робимо текст темно-графітовим */
.select-cover[data-color*="кістка"] span,
.select-cover[data-color*="Сахара"] span,
.select-cover[data-color*="золото"] span {
    color: #212529 !important; /* Контрастний темний колір */
}
/* Базові властивості для кружечків покриття та канту */
.select-cover, .select-cant {
    width: 45px;
    height: 45px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Налаштування тексту для обох блоків */
.select-cover span, .select-cant span {
    color: #ffffff !important; /* Строго щільний білий колір */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 14px;
}

/* АКТИВНИЙ СТАН: Плавне розширення круга в овал під дією класу .active-color */
.select-cover.active-color, .select-cant.active-color {
    width: 165px;

    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 5px var(--brand-strong),
        0 6px 15px rgba(0, 123, 255, 0.35) !important;
}

/* Проявлення тексту всередині активних овалів */
.select-cover.active-color span, .select-cant.active-color span {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.08s;
}

/* =========================================================================
   АВТО-КОНТРАСТ: ТЕМНИЙ ТЕКСТ НА СВІТЛИХ ЕЛЕМЕНТАХ (ДЛЯ ОБВОДОК І ПОКРИТТІВ)
   ========================================================================= */
.select-cover[data-color*="кістка"] span,
.select-cover[data-color*="Сахара"] span,
.select-cover[data-color*="золото"] span,
.select-cant[data-color*="кістка"] span,
.select-cant[data-color*="Сахара"] span,
.select-cant[data-color*="золото"] span {
    color: #212529 !important; /* Темно-графітовий напис */
}



.bread_nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    font-family: "Jost", sans-serif;
    scrollbar-width: none;
}

.bread_nav::-webkit-scrollbar {
    display: none;
}

.bread_nav span + span::before {
    content: "→";
    color: #999;
    margin: 0 8px;
}

.tooltip-wrap {
    position: relative;
}

.tooltip-text {
    position: absolute;
    width: max-content;
    max-width: 250px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    z-index: 999;
    white-space: normal;
}

.tooltip-wrap:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}