@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Exo+2:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Onest:wght@100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');



body {
    background: #FFFBEB;
    font-family: Inter, sans-serif;
    color: #3A1EA0;
}

a {
    text-decoration: none;
    color: #3A1EA0;
}

.site-header {
    height: 100px;
    background: #3A1EA0;
    color: #fff;
}

.site-header a {
    color: #fff;
    text-decoration: none;
}

.section {
    padding: 60px 0;
}

.rounded-16 {
    border-radius: 16px;
}

/* Assortment */
.assort-card {
    position: relative;
}

.assort-card img {
    border-radius: 16px;
    width: 100%;
}

h1.my-4,
h2.mb-4 {
    font-weight: bold;
    font-family: "Exo 2", sans-serif;
    text-transform: uppercase;
}

.assort-card span {
    position: absolute;
    bottom: 30px;
    right: 0px;
    background: #fff;
    padding: 6px 10px;
    font-weight: bold;
}

/* Переконайся, що картки не обрізаються */
.carousel-item {
    overflow: visible;
}

/* Забезпечуємо, щоб збільшення не обрізалось */
.carousel-item,
.row.slideefekt,
.col-12.col-md-4 {
    overflow: visible !important;
}

/* Базовий стиль картки */
.assort-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* плавне збільшення і прозорість */
    display: block;
    opacity: 1;
}

/* Hover ефект: збільшуємо всю картку разом із текстом */
.assort-card:hover {
    transform: scale(0.95);
    /* збільшення на 10% */
    opacity: 0.9;
    /* трохи прозоріше */
}

/* Картинка всередині картки (опціонально додатково) */
.assort-card img {
    width: 100%;
    height: auto;
    display: block;
}


/* WHY US */
.grid-why {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.grid-why img,
.text-box {
    border-radius: 16px;
}

.text-box {
    border: 1px solid #3A1EA0;
    padding: 24px;
}

.why-right {
    border: 1px solid #3A1EA0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    padding-right: 90px;
}

/* WHO */
.who-wrapper {
    background: #3A1EA0;
    border-radius: 16px;
    padding: 24px;
    height: 700px;
}

.who-box {
    color: #fff;
    text-align: center;
    font-size: 24px;
    line-height: 30px;
}
.btn-primary:hover{
    background: none!important;
  color: #3a1ea0!important;
  border: 2px solid #3a1ea0;
}
/* ТІЛЬКИ placeholder */
input::placeholder,
textarea::placeholder {
    color: #9c8ecf !important;
    opacity: 1;
}

/* Firefox */
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #9c8ecf !important;
    opacity: 1;
}

/* Старий Edge / IE */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #9c8ecf !important;
}
input[type="radio"] {
    accent-color: #3a1ea0;  
}
.product-archive-nav li a{
    background: none;
    color: #3a1ea0!important; 
}
.product-archive-nav li a:hover, .product-archive-nav li.active a, button.green-box:hover{
    background: none;
    color: #9c8ecf!important; 
}

.btn-light:hover{
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 50px;
}
.who-box span {
    font-size: 124px;
    font-family: "Exo 2", sans-serif;
    font-weight: bold;
    line-height: 150px;
}

.btn-light {
    border-radius: 32px;
    margin-right: 100px;
    padding: 12px 51px;
    font-size: 18px;
    color: #3A1EA0;
    font-weight: 700;

}

.who-bg {
    position: relative;
    background: url("assets/images/whois.png") top/contain no-repeat;
    border-radius: 16px;
}

/* FOOTER */
.footer-line {
    height: 2px;
    background: #3A1EA0;
}

.footer-bottom {
    background: #3A1EA0;
    color: #fff;
    padding: 22px 0;
}

footer a {
    text-decoration: none;
    color: inherit;
}

.site-header {
    height: 100px;
    background: #3A1EA0;
    color: #fff;
}

.site-header a {
    color: #fff;
    text-decoration: none;
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

/* Burger icon white */
.navbar-toggler-icon {
    filter: invert(1);
}

/* Offcanvas */
.offcanvas {
    background: #FFFBEB;
}

.offcanvas a {
    text-decoration: none;
    color: #3A1EA0;
    font-weight: 500;
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.imgprod {
    width: 100%;
    aspect-ratio: 1 / 1; /* квадрат */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
}
/* квадратний контейнер */
.product-carousel .carousel-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px; /* заміна rounded-16 */
}

/* зображення */
.product-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* як background-size: cover */
    object-position: center;
    display: block;
}




.carousel-control-prev-icon {
    background-image: url("assets/images/arrow2.svg") !important;
}

.carousel-control-next-icon {
    background-image: url("assets/images/arrow.svg") !important;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.btn-primary {

    height: 56px;
    padding: 16px 32px 20px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border: 1px solid #3A1EA0;
    background: #3A1EA0;
}

.titleh {
    color: #3A1EA0;
    font-size: 48px;
    font-style: normal;
    line-height: normal;
    font-family: "Exo 2", sans-serif;
    padding: 0 0 56px 0;
    font-weight: bold;
}

.assort-card span {
    background: url(assets/images/bg-slide.png) no-repeat;
    display: flex;
    align-items: center;
    /* вертикально */
    justify-content: center;
    /* горизонтально */
    text-align: center;
    width: 315px;
    height: 63px;
    font-size: 24px;
    padding: auto;
    color: #3a1ea0;
    text-transform: uppercase;
}

.container {
    width: 1240px;
}

.w-60 {
    width: 60%;
}

.breadcrumb {
    padding: 30px 0;
}

.why p,
.product-card p,
p.star,
.coop-row p {
    color: #3a1ea0;
    padding-left: 28px;
    font-size: 15px;
    line-height: 22px;
}

.star b,
.coop-row p b {
    display: block;
    font-size: 20px;
    line-height: 20px;
    padding-bottom: 16px;
}

.why p:before,
.product-card p:before,
p.star:before,
.coop-row p:before {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    content: '';
    background: url(assets/images/star.svg) no-repeat;
    margin-left: -30px;
}

.form-control {
    margin-bottom: 15px;
}

.wpcf7-list-item {
    flex: 0 0 auto;
    width: 46%;
    margin-bottom: 10px;
}

.why .btn-primary {
    width: 185px;
    font-size: 18px;
    padding: 12px 40px;
    height: auto;
}

.sweet-cookies {
    display: block;
    position: absolute;
    right: 0px;
    margin-top: -550px;
}

.wrap {
    padding: 40px 0;
}
input[type="radio"] {
    accent-color: #3A1EA0;
}
input{
    color: #3a1ea0;
}
footer {
    color: #3a1ea0;
    margin-top: 20px;
}
.form-control:focus {
    border-color: #3A1EA0; 
    outline: none;          
}
.sweet-cookies-tea {
    display: block;
    position: absolute;
    margin: -100px 0 0 690px;
}
.btn:hover{
    background-color: #3A1EA0;
}
li {
    list-style: none;
}

.menu-footer {
    padding: 0;
}

.menu-footer li {
    display: inline-block;
    padding: 0 24px;
}

.contact {
    padding-left: 80px;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: left;
    background-color: #fff;
    border-radius: 16px;
}

.product-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '>';
}

.product-card p {
    margin-top: 10px;
    font-weight: 500;
    margin-left: 15px;
}

.page-link {
    color: #333;
    border-radius: 8px;
}

.page-item.active .page-link {
    background-color: #000;
    border-color: #000;
}

.pagination li {
    padding: 3px;
}

.product-slider-wrapper {
    position: relative;
}

.product-slider {
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
}

.slider-item {
    flex: 0 0 100%;
    border-radius: 16px;
    display: block;
}

/* Стрілки */
.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    z-index: 10;
}

.product-item h1 {
    font-size: 32px;
    font-weight: 600;
}

.product-item h1 span {
    font-size: 24px;
    font-weight: normal;
    display: block;
}

.rounded-16 {
    border-radius: 16px;
}

/* Всі тексти по верхньому краю */
.sertificat .row>.col-md-6.d-flex {
    align-items: flex-start;
}

/* Слайдер сертифікатів: 3 фото одночасно */
.sertificat .carousel-multi-item {
    flex: 0 0 30%;
    max-width: 33%;
}

/* Маленький gap між картинками */
.sertificat .carousel-inner .d-flex {
    gap: 16px;
    justify-content: center;
}

.team h2,
.h2 {
    font-size: 48px;
    font-weight: bold;
    padding-bottom: 40px;
    font-family: "Exo 2", sans-serif;
}

.rounded-16 {
    border-radius: 16px;
}

/* Розділюючі лінії у блоці "Співпраця" */
.coop-row {
    padding: 25px 0;
    border-bottom: 1px solid #3A1EA0;
}
.menu-item a:hover, .current-menu-item{
    text-decoration: underline;
}

/* Стиль інпутів */
.form-control {
    border-radius: 8px;
    border: 1px solid #3A1EA0;
    color: rgba(58, 30, 160, 0.48);
}

h5 {
    font-size: 28px;
}

.form-check {
    padding-left: 2.4em;
}

/* Контейнер форми */
.form-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

/* Кнопка внизу справа */
.submit-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.product-sort-bar,
.product-meta,
.catalog-header,
.category10 {
    display: none;
}

#breadcrumbs {
    padding: 15px 0;
}

.breadcrumb span {
    color: rgba(58, 30, 160, 0.48);
    font-size: 18px;
    padding: 0 5px 0 10px;
}

.breadcrumb span a {
    color: rgba(58, 30, 160, 0.48);
    font-size: 18px;
}

.breadcrumb span:first-child {
    padding-left: 0 !important;
}

.catalog-title {
    text-transform: uppercase;
    font-family: "Exo 2", sans-serif;
}

.why {
    position: relative;
    overflow: hidden;
}

.why::after {
    content: "";
    position: absolute;
    bottom: 200px;
    right: -400px; /* старт за екраном */
    width: 320px;
    height: 320px;
    background-image: url("assets/images/beautiful-sweet-cookies.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    transition: right 0.8s ease;
    z-index: 1;
}

/* Коли активна */
.why.show-bg::after {
    right: -5px;
}

/* адаптив */
@media (max-width: 992px) {
    .why::after {
        width: 200px;
        height: 200px;
        right: -250px;
    }

    .why.show-bg::after {
        right: 20px;
    }
}




/* Мобільні: свайп та часткова картинка праворуч */
@media (max-width: 767px) {
    .product-slider-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .slider-item {
        flex: 0 0 80%;
        /* видима одна картинка, наступна злегка праворуч */
        scroll-snap-align: start;
    }
}


/* Зображення */
.assort-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 575px) {
    .slideefekt>.col-12.col-md-4:first-of-type {
        display: none !important;
    }

    .slideefekt>.col-12.col-md-4:last-of-type {
        display: none !important;
    }

    .bestseler>.col-12.col-md-4:first-of-type {
        display: none !important;
    }

    .bestseler>.col-12.col-md-4:last-of-type {
        display: none !important;
    }








    .menu-footer li {
        padding: 0 0 16px 0;
        display: block;
    }

    .logo-footer {
        margin: 30px 0;
    }

    .contact {
        padding-left: 0px;
    }

    contact p {
        padding-bottom: 10px;
    }

    .sweet-cookies,
    .sweet-cookies-tea {
        display: none;
    }

    .container {
        width: 100%;
    }

    .section .d-flex {
        overflow-x: auto;
        /* горизонтальний скрол */
        scroll-snap-type: x mandatory;
        /* "прилипання" при скролі */
        -webkit-overflow-scrolling: touch;
        /* плавний скрол на iOS */
    }

    .section .d-flex a {
        flex: 0 0 auto;
        /* елемент не стискається */
        scroll-snap-align: start;
        /* прилипання кожної картинки */
        width: 70%;
        /* ширина картинок на мобільних (регулюй) */
    }

    .w-60 {
        width: 100%;
    }

    .w-40 {
        width: 100%;
        margin: 24px 0 10px 0;
    }

    .blockb {
        display: block !important;
        text-align: center;
    }

    .dnonem {
        display: none;
    }

    .section {
        padding: 20px 0;
    }

    .titleh {
        font-size: 28px;
        padding: 0 0 32px 0;
    }

    .grid-why img.img-fluid {
        display: none;
    }

    .grid-why {
        grid-template-columns: auto;
    }

    .why-right,
    .text-box {
        padding: 16px 8px;
    }

    .mobcentr {
        text-align: center !important;
    }

    .who-box {
        font-size: 16px;
    }

    .who-box span {
        font-size: 64px;
        font-family: "Exo 2", sans-serif;
        font-weight: bold;
        line-height: 80px;
    }

    .who-bg {
        background: none;
        text-align: center;
    }

    .who-bg a.btn {
        position: initial !important;
    }

    .who-wrapper {
        height: auto;
    }

    footer .col-md-2 {
        text-align: center;
    }

    footer .justify-content-center {
        justify-content: left !important;
    }

    .footer-bottom {
        font-size: 14px;
    }

    .social {
        margin: 15px 0 15px 0;
        display: inline-block;
    }

}

/* Мобільні екрани */
@media (max-width: 575px) {

    /* Ряд всередині слайду робимо вертикальним */
    #assortmentCarousel .carousel-item .d-flex {
        justify-content: center;
    }

    /* Ховаємо всі картки крім першої в кожному слайді */
    #assortmentCarousel .assort-card {
        display: none;
    }

    #assortmentCarousel .assort-card:first-child {
        display: block;
    }

    /* Робимо картку на всю ширину */
    #assortmentCarousel .assort-card {
        width: 100%;
    }

    #assortmentCarousel .assort-card img {
        width: 100%;
        height: auto;
    }
}

/* Базовий вигляд (десктоп) уже є через d-flex */

@media (max-width: 575px) {

    .section .d-flex {
        overflow-x: auto;
        /* горизонтальний скрол */
        scroll-snap-type: x mandatory;
        /* ефект слайдера */
        -webkit-overflow-scrolling: touch;
    }

    .section .d-flex a {
        flex: 0 0 100%;
        /* по 1 картинці */
        scroll-snap-align: start;
    }

    .section .d-flex img {
        width: 100%;
        height: auto;
    }
}


.assort-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}


@media (min-width: 768px) {
    .carousel-item .flex-fill {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

}