/*  CONST */

:root {
    --color-primary: #10afff; /* колір заголовків, меню - синій */
    --color-price: #f70b85; /* колір ціни  - червоний */
    --color-product-header: #070b85; /* колір заголовків h4 - темно синій */
    --color-button-add: #2ecc71; /* колір кнопки додавання до корзини */
    --color-button-add-shadow: #239b56; /* колір кнопки додавання до корзини тінь */
    --font-footer: 0.8rem; /* розмір шрифта у футері */
    --footer-line-height: 1.5rem;
    --font-copyright: 1rem; /* розмір шрифта напису копірайта */
    --color-footer: #15067a; /* колір футера */
    --fontsize-price-new: 1.8em; /* розмір шрифта ціні */
    --fontsize-h4: 1.2em; /* розмір заголовків у картці товара */
    --color-price-tax: #10afff;
    --font-size-price-tax: 1em;
    --color-vertical-line: #eee;
    --color-submenu: #070b85;
}

*,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote {
    text-wrap: balance;
}

.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Определение шрифта */
@font-face {
    font-family: "Josefin Sans";
    src: /*url('fonts/josefin/JosefinSans-Regular.woff2') format('woff2'),
    url('fonts/josefin/JosefinSans-Regular.woff') format('woff'), */ url("fonts/josefin/JosefinSans-Regular.ttf")
        format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Для оптимизации загрузки */
}

@font-face {
    font-family: "Sansation";
    src: /*url('fonts/josefin/JosefinSans-Regular.woff2') format('woff2'),
    url('fonts/josefin/JosefinSans-Regular.woff') format('woff'), */ url("/catalog/view/stylesheet/fonts/Sansation/Sansation-Regular.ttf")
        format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Для оптимизации загрузки */
}

body {
    font-size: 1rem;
    line-height: 1.65rem;
    font-family: "Sansation";
}


.container nav#menu {
    align: center;
}

.ve-label, .ve-input span *, .ve-field, .ve-radio,
#clover-form div label {
    font-size:17.5px;
}


#card-number, #CARD_NAME_ID, #CARD_DATE_ID, #CARD_CVV_ID, #card-postal {
    max-height: 40px;
    height: 40px;
}

/* Применение к классу .logo_text */
.logo_text {
    font-family: "Josefin Sans";
    font-weight: normal; /* Если нужен жирный — укажите 700 */
    font-size: 59px;
    color: #fff;
}

.logo_img {
    width: 200%;
    height: auto;
}

#logo img {
    max-width: 100%;
}

/*
// Заміна кольору
// 23a1d1 --> 070b85
//
//
*/

h4,
h4 a,
.price-new {
    font-family: "Josefin Sans";
    font-size: var(--fontsize-h4);
    font-weight: 700;
    color: var(--color-product-header);
}

h4.product {
    border-bottom: 1px dashed var(--color-primary);
    font-size: calc(2 * var(--fontsize-h4));
}

.price-new {
    text-align: right;
    font-size: var(--fontsize-price-new);
    color: var(--color-price);
}

.for1pc {
    /* */
    font-size: 0.5em;
    font-weight: normal;
    color: #202020;
    vertical-align: super;
    font-size: smaller;
    text-align: right;
    /*     line-height: 4em; */
    vertical-align: super;
    font-size: 0.7em; /* Уменьшает размер текста */
    line-height: 1; /* Корректирует высоту строки */
    margin-left: 0.1em; /* Добавляет небольшой отступ слева */
    margin-right: 0.1em; /* Добавляет небольшой отступ справа */
}

.price-tax {
    text-align: right;
    font-size: var(--fontsize-price-tax);
    color: var(--color-price-tax);
}

.wf_category_home {
    font-size: 2rem; /* Размер шрифта */
    background-color: rgba(200, 200, 200, 0.2); /* Полупрозрачный фон */
    border-radius: 4px; /* Скругление углов */
    padding: 0.25rem 0.5rem !important; /* Отступы внутри */
    text-transform: uppercase;
}

.category-image {
    opacity: 0.5;
    transition: all 0.3s ease; /* Анимируем все свойства */
    filter: grayscale(30%); /* Легкий черно-белый эффект */
}

.category-image:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.02); /* Легкое увеличение */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Тень */
}

/* Дополнительные стили для корректного отображения */
.carousel-inner {
    position: relative;
}
.carousel-item {
    transition: transform 0.6s ease;
}
.object-fit-cover {
    object-fit: cover;
    object-position: center;
}

.carousel-inner {
    width: 100%; /* Забезпечує повну ширину */
    overflow: hidden; /* Обрізає зайве */
}

.carousel-item img {
    width: 100%; /* Розтягує зображення на всю ширину */
    height: auto; /* Зберігає пропорції */
    object-fit: cover; /* Обрізає зображення, заповнюючи блок */
    min-height: 300px; /* Фіксована висота (можна змінити) */
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 10; /* Робить стрілки видимими поверх зображення */
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 120px;
}

#input-quantity {
    width: 50px;
    text-align: center;
    margin: 0 5px;
    padding: 6px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.quantity-btn:hover {
    background: #e8e8e8;
}

.quantity-btn:active {
    background: #fff;
}



/* button style */

.add2cart {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 2em;
    font-weight: bold;
    box-shadow: 0 4px 0 #27ae60;
    transition: all 0.1s;
    position: relative;
}

.add2cart:hover {
    background: linear-gradient(
        to bottom,
        #2ecc71,
        #239b56
    ); /* Вертикальный градиент */
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1e8449; /* Усиленная тень */
}

.add2cart:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #1e8449;
    background: #239b56; /* Упрощаем градиент при клике */
}

.add2cart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.add2cart:hover::before {
    opacity: 1;
}

#carousel-inner {
    height: 400px;
    overflow: hidden;
}

.nav-link {
    text-transform: uppercase;
}

header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff; /* Цвет фона */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); /* Тень для эффекта "отделения" */
    transition: all 0.3s;
}

.mmenu {
    top: 7em;
    position: sticky;
    background: #eee;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* carousel */
.fullwidth-banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: auto;
    padding-bottom: 25%; /* Соотношение 800x200 = 25% (200/800*100) */
}

.fullwidth-banner {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}





.pagination {
    justify-content: center;

}

/* html body main div#product-category.container div.row div#content.col div.row div.col-sm-12.text-start.text-center  */
ul.pagination li.page-item.active span.page-link,
ul.pagination li.page-item span.page-link,
ul.pagination li.page-item a.page-link

{
    font-size: 1.2em;
    fo-nt-weight: bold;
}




/* ============================== MOBILE DEVICE ===============================*/





@media (max-width: 768px) {
    .fullwidth-banner-container {
        padding-bottom: 40%; /* Увеличиваем высоту на мобильных */
    }
    .mmenu {
        top: 11.5rem;
        position: sticky;
    }

    .top_menu {
        margin: 1rem 0;
    }

    .top_menu a {
        font-size: 0.5em !important;
    }
}
/************/

.top_menu {
    display: flex;
    flex-wrap: wrap;
}

.top_menu a {
    font-size: 1rem;
}

li.prod .nav-link {
    font-size: 1.8rem;
}

.navbar-nav .nav-item {
    ffont-size: 0.95rem;
    font-size: 0.75cqw;
}

div.top_menu.menu-item {
    font-size: 0.65rem;
}

#menu,
.bg-primary {
    background-color: #fff;
    background: #fff;
    background: none;
    border: none;
}

#menu .navbar-nav > li > a {
    color: var(--color-submenu);
}

ul.navbar-nav {
	justify-content: center;
}


.design-css {
    background-color: var(--color-primary);
    background-image: linear-gradient(to top, #444444, var(--color-primary));
}

footer {
    background: var(--color-footer);
}

footer li a,
footer li {
    font-size: var(--font-footer);
    line-height: var(--footer-line-height);
}

footer p.copyright {
    font-size: var(--font-copyright);
    font-weight: bold;
}

.contact-footer,
footer ul li a {
    font-size: calc(var(--font-footer) * 1.5);
    line-height: calc(var(--footer-line-height) / 1.5);
}

footer h5 {
    font-size: 2rem;
}

.product-thumb {
    overflow: hidden;
    padding: 0 !important; /* Убираем отступы */
    border: none !important; /* Убираем границы */
}

.product-thumb .content .description a {
    display: block;
    height: 5rem;
}

.product-thumb .image {
    padding: 0;
    margin: 0;
    width: 100% !important;
    height: auto;
    min-height: 100%;
    overflow: hidden;
}

/* */

.product-thumb .image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 200px; */ /* Фиксированная высота */
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполнение без искажений */
    object-position: center;
    border-radius: 0 !important; /* Убираем скругления */
}

/* Убираем отступы у блока с описанием */
.product-thumb .caption {
    padding: 10px 0;
}

.button-group button > * {
    color: var(--color-button-add);
}

.button-group button:hover > * {
    color: var(--color-button-add-shadow);
}

.review-texts {
    display: block;
    background: #f0f0f0;
    border-radius: 1em;
    margin: 1em 0;
    padding: 2em 0;
    
}

.carousel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0px;
    bottom: 0;
}

.carousel-indicators {
    bottom: 1rem;
}

h3.module_heading,
legend {
    color: var(--color-product-header);
    background-color: var(--color-primary);
    display: block;
    padding: 1rem;
    font-weight: bold;
    border-radius: 0.5rem;
}

/* LENS in product */

.img-zoom-container {
    position: relative;
}

.fa-2x {
    font-size: 5em !important;
}

.social-footer a i.fa-2x {
    font-size: 3em !important;
}

.banner_title {
    position: relative;
    top: -200px;
    color: #101010;
    z-index: 1000;
    font-size: 2em;
}

/* Social in Contact page */
.content-top {
    padding: 20px 0;
    background-color: #f8f9fa; /* Светлый фон для блока */

    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon {
    display: inline-flex; /* Используем flexbox для горизонтального расположения иконок */
    gap: 2em; /* Расстояние между иконками */
}

.social-icon a {
    display: inline-block; /* Делаем ссылку блочным элементом */
    transition: transform 0.3s ease; /* Плавное изменение размера при наведении */
}

.social-icon a:hover {
    transform: scale(1.2); /* Увеличиваем иконку при наведении */
}

.social-icon i {
    font-size: 2rem; /* Размер иконок */
    transition: color 0.3s ease; /* Плавное изменение цвета при наведении */
}

.social-icon a:hover i.fa-envelope {
    color: #d45200 !important; /* Цвет иконки письма при наведении */
}

.social-icon a:hover i.fa-facebook {
    color: #0056b3 !important; /* Цвет иконки Facebook при наведении */
}

.social-icon a:hover i.fa-instagram {
    color: #c13584 !important; /* Цвет иконки Instagram при наведении */
}

.product_descripton {
    border-top: 1px solid #000;
    padding: 2em 0 0 0;
    font-size: 1.2em;
}

.tab-margin {
    margin: 0 0 5em 0;
}

.text-attention {
    font-size: 1.4em;
}

.tab-style {
    font-size: 1.4em;
    color: #ff2200;
    margin: 0 2em;
}

.tab-style:hover {
    color: #fff;
    background: #d11c49;
}

span.plus,
i.fa-plus {
    font-size: 4rem;
    color: var(--color-product-header);
}

h6.card-title {
    font-size: 1em;
    font-weight: bold;
    color: var(--color-product-header);
}

.set_price {
    color: var(--color-price);
}

p.desc {
    display: block;
    height: 5em;
    overflow: hidden;
}

/* Вертикальные разделители */
.row {
    position: relative;
}

/* Вертикальні роздільники між колонками */
.col.mb-3:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    background-color: var(--color-vertical-line);

    
}

/* Сховати роздільник у останнього елемента в рядку */
.col.mb-3:nth-child(4n)::after {
    display: none;
}

/* Стилі для поля вибору дати */
#delivery_date {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

/* Стилі для повідомлення про помилку */
#date-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* Стилі для календаря flatpickr */
.flatpickr-calendar {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: none;
}

.flatpickr-day {
    border-radius: 4px;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    background-color: #e9ecef;
}

.flatpickr-day.selected {
    background-color: #007bff;
    border-color: #007bff;
}

.required input,
.required select,
.flatpickr-input,
#delivery_date,
.required .flatpickr-input {
    backgroung: red;
    border: 1px solid var(--color-primary);
}

label.form-label *,
label.form-label {
    font-size: 1.2rem;
    font-weight: bold;
}
