@import "../fonts/Gilroy/stylesheet.css";
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@font-face {
    font-family: 'Photograph Signature';
    src: url('../fonts/Photograph-Signature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Against Regular';
    src: url('../fonts/against-regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&family=Inter:wght@400;600&display=swap");

* {
    padding: 0px;
    margin: 0px;
    border: none;
}

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

/* Links */
a, a:link, a:visited {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

/* Common */
aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    height: auto;
}

address {
    font-style: normal;
}

/* Form */
input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

    input::-ms-clear {
        display: none;
    }

    button, input[type=submit] {
        display: inline-block;
        box-shadow: none;
        background-color: transparent;
        background: none;
        cursor: pointer;
    }

        input:focus, input:active,
        button:focus, button:active {
            outline: none;
        }

        button::-moz-focus-inner {
            padding: 0;
            border: 0;
        }

label {
    cursor: pointer;
}

legend {
    display: block;
}

:root {
    --text-color: #1e1e1e;
    --text-muted: #8d8d8d;
    --text-card-dark-blue: #0d1b39;
    --accent: #e58411;
    --header-text-color: #ffffff;
    --footer-accent: #f6973f;
    --footer-bg: #bf9469;
    --footer-text-color: rgba(255, 255, 255, 0.8);
    --ui-orange: #e58411;
    --ui-biruza: #00d6c9;
    --ui-gray: #7c7c7c;
    --ui-dark-blue: #0d1b39;
    --font-main: "Gilroy", sans-serif;
    --font-cards: "Inter", sans-serif;
    --font-footer-accent: "DM Sans", sans-serif;
}

html,
body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #e8cba8;
    overflow: hidden;
}

.container {
    max-width: 1310px;
    padding: 0 15px;
    margin: 0 auto;
}

.container--small {
    max-width: 1094px;
}

.none {
    display: none !important;
}

.title-2 {
    font-weight: 700;
    font-size: clamp(32px, 1.702rem + 1.49vw, 42px);
}

.header {
    position: relative;
    padding-top: 40px;
    background-color: var(--footer-bg);
    background-size: cover;
    height: 120px;
    width: auto;
    color: var(--header-text-color);
}

    .header a {
        color: var(--header-text-color);
    }


.header__nav {
    margin-bottom: clamp(20px, 0.071rem + 5.89vw, 86px);
}

.header__content {
    text-align: center;
}

.header__title {
    margin-bottom: 14px;
    font-weight: 700;
    font-size: clamp(28px, 0.821rem + 4.64vw, 80px);
    text-wrap: balance;
    line-height: 130%; /* 104px */
    letter-spacing: -0.8px;
    text-transform: capitalize;
}

.header__content p {
    margin: 0 auto;
    max-width: 606px;
    opacity: 0.8;
    font-size: clamp(16px, 0.857rem + 0.71vw, 24px);
    line-height: 160%; /* 38.4px */
    text-wrap: balance;
}


.nav__logo {
    display: flex;
    align-items: center; /* Вирівнює логотип і текст по центру */
    gap: 8px; /* Проміжок між логотипом і текстом */
}

.logo {
    display: flex;
    align-items: center; /* Гарантує, що зображення не зникає */
}

.logo img {
    height: clamp(40px, 5vw, 50px); /* Висота адаптивна */
    width: auto; /* Зберігає пропорції */
    max-width: 180px; /* Запобігає розтягуванню */
    display: block; /* Усунення проблем із відображенням */
}
.logo {
    font-family: 'Against Regular', cursive !important;
    font-weight: 700;
    font-size: clamp(18px, 0.946rem + 0.89vw, 28px);
    letter-spacing: 0.28px;
    text-transform: capitalize;
    color: #fff !important;
    
  }
.logo__text {
    font-family: 'Photograph Signature', cursive !important;
    font-size: 24px;
    font-weight: normal;
    color: white;
    display: none; /* Ховає на ПК */
}

@media (max-width: 450px) { /* Відображати лише на телефонах */
    .logo__text {
        display: inline-block; /* Показує текст в одному рядку з логотипом */
        font-size: 30px;
        font-weight: 400;
        color: white;
        margin-left: 8px; /* Відступ між логотипом і текстом */
        white-space: nowrap; /* Запобігає переносу тексту */
    }
}
@media (max-width: 430px) { /* Відображати лише на телефонах */
    .logo__text {
        padding-left: 18px;
        display: inline-block; /* Показує текст в одному рядку з логотипом */
        font-size: 30px;
        font-weight: 400;
        color: white;
        margin-left: 8px; /* Відступ між логотипом і текстом */
        white-space: nowrap; /* Запобігає переносу тексту */
    }
}
@media (max-width: 390px) { /* Відображати лише на телефонах */
    .logo__text {
        padding-left: 0px;
        display: inline-block; /* Показує текст в одному рядку з логотипом */
        font-size: 30px;
        font-weight: 400;
        color: white;
        margin-left: 8px; /* Відступ між логотипом і текстом */
        white-space: nowrap; /* Запобігає переносу тексту */
    }
}




.nav {
    display: grid;
    grid-template-columns: 2fr 8fr 2fr;
    gap: 20px;
}

.nav__btn {
    display: none;
}
@media (max-width: 767px) {
    .nav__btn img {
        max-width: fit-content;
        display: block;
    }
}
@media (max-width: 767px) {
    .nav__btn {
        display: block;
    }
}

@media (max-width: 992px) {
    .nav__btn {
        display: block;
    }
}

.nav-list {
    align-self: center;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 65px;
    font-weight: 500;
    font-size: 18px;
}

@media (max-width: 992px) {
    .nav-list {
        display: none;
    }
}

.nav-list__item {
    position: relative;
    padding: 10px 0;
}

.nav-list__link {
    transition: opacity 0.1s ease-in;
}

    .nav-list__link:hover {
        opacity: 0.7;
    }

.nav-list__link--dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .nav-list__link--dropdown::after {
        content: url("../img/icons/arrow-down.svg");
        height: 18px;
    }

.nav-list__sub-nav {
    opacity: 0;
    width: 160px;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 100%;
    transform: translate(0%, 10%);
    transition: all 0.2s ease-in;
}

.nav-list__item:hover .nav-list__sub-nav {
    pointer-events: all;
    opacity: 1;
    transform: translate(0%, 0%);
}

.sub-nav {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
    font-size: 16px;
}

    .sub-nav a {
        color: var(--footer-text-color);
        transition: color 0.1s ease-in;
    }

        .sub-nav a:hover {
            color: var(--accent);
        }

.cart {
    align-self: center;
    justify-self: end;
    position: relative;
}

.cart__count {
    position: absolute;
    top: 3px;
    right: -6px;
    display: inline-block;
    height: 25px;
    padding: 0 6px;
    border-radius: 40px;
    background-color: var(--accent);
    font-weight: 700;
    line-height: 25px;
    font-family: var(--font-cards);
    font-size: 16px;
}



.footer {
    padding: clamp(60px, 2.024rem + 8.63vw, 118px) 0 56px;
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
}

    .footer a {
        color: var(--footer-text-color);
        transition: opacity 0.1s ease-in;
    }

        .footer a:hover {
            opacity: 0.6;
        }

.footer__grid {
    margin-bottom: clamp(60px, 2.024rem + 8.63vw, 118px);
    display: grid;
    grid-template-columns: 3fr 1fr 2fr 2fr 2fr;
    gap: 60px 20px;
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 4fr 1fr 3fr 3fr;
    }
}

@media (max-width: 629px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.footer__desc p + p {
    margin-top: 1em;
}

@media (max-width: 629px) {
    .footer__desc {
        grid-column: 1/3;
    }
}

.footer__logo {
    margin-bottom: 29px;
}

.footer__nav--services {
    grid-column-start: 3;
}

@media (max-width: 629px) {
    .footer__nav--services {
        grid-column-start: auto;
    }
}

.footer__nav-title {
    margin-bottom: 20px;
    color: var(--footer-accent);
    font-family: var(--font-footer-accent);
    font-size: 17px;
    letter-spacing: -0.232px;
}

.footer__list {
    display: grid;
    gap: 16px;
}

.footer__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 629px) {
    .footer__row {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
    }
}

.footer__copyright {
    font-family: var(--font-footer-accent);
    font-size: 15px;
    letter-spacing: -0.205px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

@media (max-width: 629px) {
    .footer__links {
        gap: 20px;
    }
}

.mobile-nav-wrapper {
    display: none;
    position: absolute;
    z-index: 9;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    padding: 30px 30px;
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
}

    .mobile-nav-wrapper a {
        color: var(--footer-text-color);
        transition: color 0.1s ease-in;
    }

        .mobile-nav-wrapper a:hover {
            color: #fff;
        }

.mobile-nav-wrapper--open {
    display: block;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-cart {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 22px;
    font-weight: 500;
}

/* Nav */
.mobile-nav {
    display: grid;
    gap: 20px;
    font-size: 22px;
}

/* Sub nav */
.mobile-sub-nav {
    padding: 20px 0 0 20px;
    display: grid;
    gap: 14px;
    font-size: 16px;
}
/*# sourceMappingURL=main.css.map */
:root {
    --primary-color: #010712;
    --secondary-color: #818386;
    --bg-color: #FCFDFD;
    --button-color: #3B3636;
    --h1-color: #3F444C;
}

[data-theme="dark"] {
    --primary-color: #FCFDFD;
    --secondary-color: #818386;
    --bg-color: #010712;
    --button-color: #818386;
    --h1-color: #FCFDFD;
}

.form {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 20px;
    align-items: center; 
}


.form_text {
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    text-align: left;
    height: 100%; 
    width: 100%;
    padding-inline:40px;
}
.form_text h1{
    padding-left: 100px;
    font-weight: 700;
    padding-bottom: 20px;
    font-size: 50px;

}
.form_text p1, p2, p3{
    padding-left: 100px;
    padding-bottom: 20px;
    font-size: 20px;
}
.product{
    display: flex;
    height: 1008px;
    justify-content: center;
    padding-top: 30px;
}
.product img{

    height: 80%;
    max-width: 700px;
}
@media (max-width: 1024px) {
    .product{
        height: auto;
    }
    .form {
        grid-template-columns: 1fr; 
    }
    .form_text{
        padding-top: 50px;
        padding-bottom: 0px;
    }
    .product img {
        max-height: 600px; 
    }
    .section1 {
    height: 100dvh;              /* вся висота екрана */
    overflow-y: auto;            /* тільки ця секція скролиться */
    -webkit-overflow-scrolling: touch; /* плавний скрол на iOS */
    display: flex;
    flex-direction: column;
    }
    .product img {
        margin-top: 30px;
        max-height: 580px;
        object-fit: contain;
    }
    .form_text{
        order:2;
        padding-bottom: 0px;
    }
    .form_text p1, p2, p3{
        font-size: 28px;
    }
    .btn{
        padding: .90rem 1.90rem ;
        margin-left: 400px;
        font-size: 1.3rem ;
    }
}
@media (max-width: 820px) {
    .form {
        grid-template-columns: 1fr; 
    }
    .form_text{
        padding-bottom: 0px;
    }
    .product img {
        margin-top: 30px;
        max-height: 480px; 
        object-fit: contain;
    }
    .section1 {
    height: 100dvh;              /* вся висота екрана */
    overflow-y: auto;            /* тільки ця секція скролиться */
    -webkit-overflow-scrolling: touch; /* плавний скрол на iOS */
    display: flex;
    flex-direction: column;
    }
    .form_text{
        order:2;
        padding-bottom: 20px;
    }

}

@media (max-width: 480px) {
    .product{
        padding-top: 25px;
        order: 1;
        padding-inline: 40px;
    }
    body{
        overflow: auto;
    }
    .product img {
        max-height: 380px;
        object-fit: contain;
    }
    .form_text{
        order:2;
        padding-bottom: 0px;
    }
    .form_text h1{
        font-size: 38px;
        padding-left: 0px;
    }
    .form_text p1, p2, p3{
        padding-left: 0px;
        font-size: 18px;
    }
    body {
        height: 100vh;
        overflow: hidden;
    }
    .section1 {
    height: 100dvh;              /* вся висота екрана */
    overflow-y: auto;            /* тільки ця секція скролиться */
    -webkit-overflow-scrolling: touch; /* плавний скрол на iOS */
    display: flex;
    flex-direction: column;
    }
    .btn{
    margin-bottom: 20px;
    }
}
@media (max-width: 400px) {
    .btn{
    margin-left: 80px !important;
    }
}

.btn {
    margin-left: 100px;
    background-color: #9f5125;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none #000000 solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: fit-content;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}


.btn:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.btn:hover:after {
  bottom: 2px;
  left: 2px;
}

@media (min-width: 768px) {
  .button-53 {
    padding: .75rem 3rem;
    font-size: 1.25rem;
  }
}


/* Стилі для контейнера */
/* Стилі для контейнера */
.email-container {
    display: flex;
    flex-direction: column;
    width: 35%;; /* Трохи ширше */
    font-family: Arial, sans-serif;
    background-color: #e8cba8;
    padding: 10px;
    align-items: left;
}

/* Стилі для текстового поля */
.email-container label {
    font-size: 40px; /* Збільшений розмір шрифту */
    margin-bottom: 20px;
}

.email-container input {
    width: 100%;
    padding: 12px;
    font-size: 24px; /* Збільшений розмір шрифту */
    border: none;
    border-bottom: 2px solid #000000;
    background-color: transparent;
    outline: none;
    color: #000000;
}

/* Контейнер для кнопки та тексту */
.submit-container {
    display: flex;
    align-items: center;
    margin-top: 20px; 
}

/* Збільшена кнопка */
.submit-btn {
    margin-right: 10px;
    background-color: #9f5125;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.75rem;
    padding: 0.75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none #000000 solid;
    text-decoration-thickness: auto;
    width: 150px;
    max-width: none;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
}
.submit-btn:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.submit-btn:hover:after {
  bottom: 2px;
  left: 2px;
}
.back-btn {
    margin-right: 10px;
    background-color: #9f5125;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.75rem;
    padding: 0.75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none #000000 solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 70px;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}


.back-btn:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.back-btn:hover:after {
  bottom: 2px;
  left: 2px;
}
/* Стилі для "press Enter ⏎" */
.enter-text {
    font-size: 16px; /* Трохи більший розмір */
    color: #777;
    margin-left: 12px;
}
.section2,
.section3,
.section4,
.section5,
.section6,
.section7,
.section8,
.section9, 
.section10,
.section11{
    background-color: #e8cba8;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #ccc;
    position: relative; 
}


.section2 .section-text,
.section3 .section-text,
.section4 .section-text,
.section5 .section-text,
.section6 .section-text,
.section7 .section-text,
.section8 .section-text,
.section9 .section-text, 
.section10 .section-text,
.section11 .section-text {
    position: absolute;
    top: 10px; 
    left: 10px; 
    margin: 0;
    padding: 5px 10px;
    font-size: 80px;
    font-weight: bold;
    
}
.error-message {
    display: flex;
    align-items: center;
    background-color: #f8d7da; /* Червоний фон */
    color: #721c24; /* Темно-червоний текст */
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #f5c6cb;
}
@media (max-width: 768px) {
    .email-container {
        width: 80%; /* Повна ширина на мобільних пристроях */
    }
    .email-container label {
        font-size: 24px; /* Зменшений розмір шрифту для мобільних */
    }
    .email-container input {
        font-size: 18px; /* Зменшений розмір шрифту для мобільних */
    }
    .submit-btn {
        width: 120px; /* Менша ширина кнопки на мобільних */
        font-size: 14px; /* Зменшений розмір шрифту для мобільних */
        padding: 0.5rem 1rem; /* Менший паддінг для мобільних */
    }
    .enter-text {
        font-size: 12px; /* Зменшений розмір тексту для мобільних */
    }
    
}
.hidden {
    display: none;
}
label {
    display: block;
    margin-bottom: 8px;
}
#phone {
    width: 300px;
    padding: 8px;
    font-size: 24px;
}
/* Контейнер опції */
/* Контейнер опції */
.cake-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8e0db;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease-in-out;
    position: relative;
    border: 2px solid transparent;
}

/* Ховаємо стандартний radio */
.cake-option input {
    display: none;
}

/* Текст опції */
.option-text {
    flex-grow: 1;
}

/* Галочка (спочатку прихована) */
.checkmark2 {
    font-size: 22px;
    color: transparent; /* Невидима за замовчуванням */
    transition: color 0.2s ease-in-out;
}

/* При виборі варіанту галочка стає видимою */
.cake-option input:checked ~ .checkmark2 {
    color: black;
}

/* Виділення вибраного варіанту */
.cake-option input:checked ~ .option-text {
    font-weight: bold;
}
.cake-form h2{
    font-size: 40px; /* Збільшений розмір шрифту */
    margin-bottom: 20px;
}
.cake-form p{
    font-size: 20px; /* Збільшений розмір шрифту */
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .cake-form p{
        text-align: center;
    }

}

/* Ефект наведення */
.cake-selection {
    width: 1000px;
    margin: auto;
    text-align: center;
    background: #e8cba8;
    padding: 20px;
}

.tabs {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.tab-bar {
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 100%;
    background-color: #e8cba8;  
    border-radius: 8px;
    padding: 5px;
    overflow: hidden;
}
.tab-link {
    position: relative;
    flex: 1;
    text-align: center;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 0;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    z-index: 2;
}
.bar-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background: #683611;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}
.tab-link.active {
    color: #F6E8B8;
}
.tab-content {
    display: none;
    padding: 30px;
}
.tab-content.active {
    display: block;
}   
.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.filling-select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    font-size: 16px;
    background: #fff;
    margin-top: 10px;
}
.tab-content h3{
    font-size: 30px;
    padding-bottom: 10px;
}
.section6 .submit-container{
    justify-content: center;
}
@media (max-width: 1024px) {
    .cake-selection {
        max-width: 90%;
        padding: 15px;
    }
    .filling-select {
        font-size: 25px;
    }
    .tab-link {
        font-size: 20px;
        width: 100%;
        padding: 8px 0;
    }
    .submit-container{
        display: flex;
        justify-content: center;
    }
    .cake-form h2{
        font-size: 30px; /* Збільшений розмір шрифту */
        text-align: center;
    }
}

@media (max-width: 900px) {
    .section6 .section-text{
        width: 100%;
        font-size: 40px;
        display: flex;
        padding-right: 40px;
    }
    .cake-form h2{
        font-size: 30px; /* Збільшений розмір шрифту */
        text-align: center;
    }
    .filling-select {
        width: 80%;
        font-size: 18px;
    }
    .tab-bar {
        flex-direction: column;
        align-items: center;
    }

    .tab-link {
        width: 100%;
        font-size: 14px;
        padding: 10px;
    }

    .bar-outer {
        width: 100%;
        height: 25%;
        transition: transform 0.3s ease-in-out;
    }
}
@media (max-height:740px) {
    .section6 .section-text,
    .section5 .section-text{
        font-size: 45px;
    }
    .section6 {
        max-width: 100%;
        padding: 10px;
        overflow: hidden;
    }

    .cake-form h2{
        font-size: 14px; /* Збільшений розмір шрифту */
        text-align: center;
    }   
}
@media (min-height:1024px) {
    .section6 .section-text{
        padding-top: 100px;
        width: 100%;
        display: flex;
        text-align: center;
        justify-content: left;
        font-size: 80px ;
        
    }
    .cake-form h2{
        font-size: 30px; /* Збільшений розмір шрифту */
        text-align: center;
    }   
}
@media (max-width: 480px) {
    .filling-select {
        width: 50%;
        font-size: 16px;
    }
    .cake-form h2 {
        font-size: 17px;
        font-weight: bold;
    }
}
.added-to-cart-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    z-index: 1001;
}

/* Анімація появи */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Стиль галочки */
.checkmark2 {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* Кнопки */
.cart-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cart-buttons button {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#continueShoppingFromPopup {
    background: #007bff;
    color: white;
}

#goCart {
    background: #28a745;
    color: white;
}

#continueShoppingFromPopup:hover {
    background: #0056b3;
}

#goCart:hover {
    background: #218838;
}
/* Затемнення фону при відкритті модального вікна */
/* Затемнення фону */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Блокуємо прокрутку сторінки, коли відкрите вікно */
.modal-open {
    overflow: hidden;
}

/* Стилі модального вікна */
.added-to-cart-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    padding-left: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    text-align: center;
    width: 600px;
}

.success-animation {
    margin: 20px auto;
}

/* Анімація зеленого чекмарку */
.checkmark3 {

    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    margin: 0 auto;
}

.checkmark__circle3 {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check3 {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}

/* Кнопки у вікні */
.cart-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-buttons button {
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

#continueShoppingFromPopup {
    background: #007bff;
    color: #fff;
}

#goCart {
    background: #28a745;
    color: #fff;
}
/* Контент модального вікна */

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Таблиця стилів */
table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background: #f4f4f4;
}

/* Кнопки */
button {
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#checkout {
    background: #fbc02d;
    color: white;
}
/* Обмежуємо висоту кошика і додаємо прокрутку */
/* Збільшуємо розмір модального вікна */
/* Збільшуємо розмір модального вікна */
.modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 95%; /* Було 90%, тепер ще ширше */
    max-width: 1000px; /* Було 800px */
    text-align: center;
    position: relative;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

/* Блокуємо прокрутку фону при відкритому кошику */
body.modal-open {
    overflow: hidden;
}

/* Додаємо прокрутку для таблиці */
.cart-table-container {
    max-height: 500px; /* Збільшуємо висоту */
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 10px;
}

/* Покращуємо таблицю */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 20px; /* Збільшуємо текст */
}

th, td {
    border-bottom: 1px solid #ddd;
    padding: 15px; /* Більший відступ */
    text-align: center;
}

th {
    background: #f8f8f8;
    font-size: 22px; /* Більший заголовок */
    font-weight: bold;
}

/* Збільшуємо зображення товару */
td img {
    width: 100px; /* Було 80px */
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

/* Кнопки + / - */
.quantity-btn {
    font-size: 20px;
    padding: 8px 15px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    cursor: pointer;
    border-radius: 5px;
}

.quantity-btn:hover {
    background: #ddd;
}

/* Кнопка Видалити */
.remove-btn {
    font-size: 20px;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
}

.remove-btn:hover {
    color: darkred;
}

/* Кнопки оформлення замовлення */
.cart-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.cart-buttons button {
    padding: 14px 25px;
    font-size: 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#continueShopping {
    margin-right: 10px;
    background: #7a4318;
    color: white;
}

#continueShopping:hover {
    background: #5e3212;
}

#checkout:hover {
    background:  #c9a600;
}
/* Стилі для анімаційного сповіщення */
.added-to-cart-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    z-index: 1001;
}

/* Анімація появи */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Стиль галочки */
.checkmark {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* Кнопки */
.cart-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cart-buttons button {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#continueShoppingFromPopup {
    background: #007bff;
    color: white;
}

#goToCart {
    background: #28a745;
    color: white;
}

#continueShoppingFromPopup:hover {
    background: #0056b3;
}

#goToCart:hover {
    background: #218838;
}
/* Затемнення фону при відкритті модального вікна */
/* Затемнення фону */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Блокуємо прокрутку сторінки, коли відкрите вікно */
.modal-open {
    overflow: hidden;
}

/* Стилі модального вікна */
.added-to-cart-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    padding-left: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    text-align: center;
    width: 500px;
}

.success-animation {
    margin: 20px auto;
}

/* Анімація зеленого чекмарку */
.checkmark {

    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    margin: 0 auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}

/* Модальне вікно */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  overflow: auto;
  flex-direction: column; /* ⬅ це потрібно */
}

/* Контейнер всередині модального вікна */
.modal-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 95%;
  max-width: 1300px;
  text-align: left;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 95vh;
  overflow-y: auto;
}

/* Закрити */
.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
}

/* Основна структура — дві колонки */
.cart-wrapper {
  display: flex;
  flex-direction: row;
  gap: 60px;
}

/* Ліва частина: товари */
.cart-left {
  flex: 2;
  overflow-y: auto;
  max-height: 75vh;
}

/* Права частина: підсумок */
.cart-summary {
  flex: 1;
  background: #b57638;
  color: white;
  padding: 30px;
  border-radius: 16px;
  font-size: 18px;
}

.cart-summary h3 {
  margin-bottom: 25px;
  font-size: 24px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.summary-line.total {
  font-weight: bold;
  font-size: 20px;
  border-top: 1px solid #fff;
  padding-top: 10px;
}

.cart-summary input[type="text"] {
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid white;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 15px;
  width: 100%;
  margin-top: 6px;
  outline: none;
  transition: border 0.3s ease, background 0.3s ease;
}

.cart-summary input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cart-summary input[type="text"]:focus {
  border-color: #ffe082;
  background-color: rgba(255, 255, 255, 0.25);
}

/* Кнопки в summary */
.cart-summary button {
  margin-top: 18px;
  background: #fdd835;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

/* Заголовок колонок */
.cart-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ddd;
}

/* Товари в кошику */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Кількість */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1e4d1;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 5px;
}

.quantity-controls button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Ціна товару */
.item-price {
  padding-top: 35px;
  font-weight: bold;
  font-size: 18px;
}
/* Початкова тонка лінія */
.modal-line {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 4px;
  background-color: #b57638;
  animation: none;
  margin-bottom: 20px;
}

.modal-content.modal-animate {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center center;
  animation: none;
  margin-top: 0;
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 65vw; }
}

@keyframes expandModal {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}
.item-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* ⬅ відсуває вправо */
  gap: 70px;
  margin-top: 10px;
}


.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9f0e2;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
  min-width: 100px;
}

.quantity-controls:hover {
  background: #f2e6d7;
}

.quantity-controls button {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
}

.quantity-controls button:hover {
  color: #000;
}

.quantity-controls span {
  min-width: 14px;
  text-align: center;
}


.remove-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #b30000;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.2s, transform 0.2s;
}

.remove-btn:hover {
  color: #ff0000;
  transform: scale(1.2);
}
.product-description {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1.4;
}
.product-description span {
  display: block;
}
.item-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.info-and-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
}

.item-description {
  color: #555;
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 70px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8eedd;
  padding: 10px 14px;
  border-radius: 8px;
}

.remove-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #b30000;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.remove-btn:hover {
  color: #ff0000;
  transform: scale(1.2);
}





.flatpickr-calendar {
  background: #fff8f2;
  border: 1px solid #e0cfc1;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* Заголовок місяця */
.flatpickr-months .flatpickr-month {
  background: #fff0e6;
  color: #5e3f31;
  font-weight: bold;
}

.flatpickr-current-month input.cur-year {
  font-weight: bold;
  color: #5e3f31;
}

/* Дні тижня */
.flatpickr-weekdays {
  background: #fff0e6;
  color: #a87b5b;
  font-weight: 500;
}

.flatpickr-weekday {
  font-size: 13px;
}

/* Звичайні дні */
.flatpickr-day {
  color: #4a3a2c;
  border-radius: 50%;
  transition: background 0.3s, transform 0.2s;
}

.flatpickr-day:hover {
  background: #f3ded2;
  transform: scale(1.1);
}

/* Сьогодні */
.flatpickr-day.today {
  border: 2px solid #a87b5b;
  font-weight: bold;
}

/* Обраний */
.flatpickr-day.selected {
  background: #a87b5b !important;
  color: white;
  font-weight: bold;
}

/* Заблоковані */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #d5c4b6;
  background: transparent;
  cursor: not-allowed;
}

/* Підсвітка доступних (твоє кастомне правило) */
.flatpickr-day.available-green {
  background: #c9eac9 !important;
  border-radius: 50%;
  color: #2f3d2f;
  font-weight: bold;
}


.photo-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #683611;
    border-radius: 12px;
    background-color: #fffaf5;
    padding: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    max-width: 600px;
}

.photo-upload-box:hover {
    background-color: #f3e2d3;
}

.photo-upload-icon {
    font-size: 40px;
    font-weight: bold;
    color: #9f5125;
    margin-bottom: 10px;
}

.photo-upload-text {
    font-size: 18px;
    color: #9f5125;
    font-weight: 600;
}
.photo-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.photo-action-btn {
  background-color: #9f5125;
  color: #fff;
  font-weight: 600;
  padding: 2px 10px;
  font-size: 12px;
  border: 1px solid #000;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 2px 2px 0 #000;
  transform: rotate(-2deg);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.photo-action-btn:hover {
  background-color: #b55f2d;
}

.photo-buttons {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.upload-another {
  font-size: 25px !important;
}




.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

.photo-item {
  position: relative;
  max-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.photo-item {
  position: relative;
  max-width: 180px;
  margin: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: inline-block;
}

.photo-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.remove-photo-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  color: red;
  border: none;
}


.free-ship {
  margin: 15px 0;
  font-size: 14px;
  color: #fff; /* текст білий, щоб контрастував із коричневим фоном */
}

.free-ship-text {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

.free-ship-amount {
  color: #ffcc33; /* золотистий акцент під стиль кнопки */
  font-weight: bold;
}

.free-ship-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.25); /* світлий напівпрозорий фон */
  border-radius: 5px;
  overflow: hidden;
}

.free-ship-fill {
  height: 100%;
  width: 0%;
  background: #ffcc33; /* золотий заповнювач */
  border-radius: 5px;
  transition: width 0.3s ease-in-out;
}




