/* ===== VARIABLES ===== */
:root {
    --gold: #C8963E;
    --gold-light: #E8C47A;
    --gold-dark: #A67A2E;
    --cream: #FDF6EC;
    --cream-dark: #F5EBDA;
    --brown: #3D2E1C;
    --brown-light: #5A4530;
    --text: #2D2017;
    --text-light: #6B5B4E;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(61, 46, 28, 0.08);
    --shadow-hover: 0 8px 32px rgba(61, 46, 28, 0.14);
    --radius: 12px;
    --transition: 0.3s ease;
}

/* ===== MAINTENANCE OVERLAY ===== */
.maintenance {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(160deg, #FDF6EC 0%, #F3E6CE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}
.maintenance__lang {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.7);
    border-radius: 30px;
    padding: 4px;
}
.maintenance__lang .lang-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brown);
}
.maintenance__lang .lang-btn.active {
    background: var(--gold);
    color: #fff;
}
.maintenance__card {
    max-width: 480px;
}
.maintenance__logo { margin-bottom: 8px; }
.maintenance__brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 18px;
}
.maintenance__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--brown);
    margin-bottom: 14px;
}
.maintenance__text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 28px;
    white-space: pre-wrap;
}
.maintenance__socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}
.maintenance__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    transition: var(--transition);
}
.maintenance__social:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn--primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn--primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn--outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    padding: 16px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 150, 62, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(61, 46, 28, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Home header: phone left, logo centre, controls right, nav as 2nd row */
.header__inner--home {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
        "phone logo right"
        "nav nav nav";
    align-items: center;
    height: auto;
    row-gap: 2px;
    padding-top: 10px;
    padding-bottom: 4px;
}
.header__phone { grid-area: phone; justify-self: start; }
.header__inner--home .logo { grid-area: logo; justify-self: center; text-align: center; }
.header__inner--home .header__right { grid-area: right; justify-self: end; }
.header__inner--home .nav {
    grid-area: nav;
    justify-self: center;
    border-top: 1px solid rgba(200, 150, 62, 0.14);
    margin-top: 6px;
    padding-top: 10px;
}

.header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brown);
    transition: var(--transition);
}
.header__phone svg { color: var(--gold); flex-shrink: 0; }
.header__phone:hover { color: var(--gold); }

/* Header cart */
.header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--brown);
    transition: var(--transition);
}
.header__cart:hover { color: var(--gold); }
.header__cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--gold);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

/* ===== CATALOGUE (storefront) ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.catalog-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.catalog-card__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--cream);
}
.catalog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.catalog-card:hover .catalog-card__img img { transform: scale(1.05); }
.catalog-card__noimg { width: 100%; height: 100%; background: var(--cream); }
.catalog-card__body { padding: 16px 18px; text-align: center; }
.catalog-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--brown);
    margin-bottom: 6px;
}
.catalog-card__price { color: var(--gold-dark); font-weight: 600; }
.catalog-empty { text-align: center; color: var(--text-light); padding: 30px; }
.gallery__cat-noimg { width: 100%; height: 100%; min-height: 200px; background: var(--cream); }
.gallery__cat-card { cursor: pointer; }

/* Custom cake CTA */
.custom-cta {
    margin-top: 50px;
    text-align: center;
    background: var(--white);
    border: 1px dashed var(--gold);
    border-radius: var(--radius);
    padding: 36px 24px;
}
.custom-cta__title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--brown); margin-bottom: 10px; }
.custom-cta__text { color: var(--text-light); max-width: 560px; margin: 0 auto 22px; line-height: 1.6; }

/* ===== PRODUCT PAGE ===== */
.container--narrow { max-width: 1000px; }
.back-link {
    display: inline-block;
    margin: 90px 0 10px;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.9rem;
}
.back-link:hover { color: var(--gold); }
.product.section { padding-top: 20px; }
.product-missing { padding: 80px 0; text-align: center; color: var(--text-light); }

.product__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.product__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--cream);
}
.product__media img { width: 100%; display: block; }
.product__name { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--brown); margin-bottom: 6px; }
.product__loc { color: #2E8B57; font-weight: 600; margin-bottom: 14px; }
.product__price { font-size: 1.8rem; font-weight: 700; color: var(--brown); margin-bottom: 14px; }
.product__desc { color: var(--text-light); line-height: 1.6; margin-bottom: 18px; }

.product__opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
.product__opt label,
.product__field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 6px;
}
.product__opt select,
.product__opt input,
.product__field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--cream-dark);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    background: var(--white);
}
.product__opt select:focus,
.product__opt input:focus,
.product__field textarea:focus { border-color: var(--gold); }
.product__field { margin-bottom: 18px; }
.product__gift {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--brown);
    cursor: pointer;
}
.product__gift input { width: 18px; height: 18px; accent-color: var(--gold); }
.product__notice { margin-top: 10px; font-size: 0.85rem; color: var(--text-light); }

.product__details {
    margin-top: 50px;
    border-top: 1px solid var(--cream-dark);
    padding-top: 30px;
}
.product__details h3 { font-family: 'Playfair Display', serif; color: var(--brown); margin-bottom: 16px; font-size: 1.3rem; }
.sizes-table { width: 100%; max-width: 520px; border-collapse: collapse; margin-bottom: 20px; }
.sizes-table th, .sizes-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--cream-dark); font-size: 0.9rem; }
.sizes-table th { color: var(--gold-dark); font-weight: 600; }
.product__allergy-info { color: var(--text-light); font-size: 0.82rem; line-height: 1.6; max-width: 640px; }

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--brown);
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 3000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== CART PAGE ===== */
.cart__title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--brown); margin: 6px 0 24px; }
.cart__empty { text-align: center; padding: 40px 0; }
.cart__empty p { color: var(--text-light); margin-bottom: 18px; }
.cart-item {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
    margin-bottom: 14px;
}
.cart-item__img { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--cream); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 600; color: var(--brown); margin-bottom: 4px; }
.cart-item__meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.cart-item__extras { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.cart-item__controls { display: flex; align-items: center; gap: 14px; }
.qty-box { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--cream-dark); border-radius: 50px; padding: 4px 10px; }
.qty-btn { background: none; border: none; font-size: 1.1rem; color: var(--gold-dark); cursor: pointer; line-height: 1; }
.cart-item__remove { background: none; border: none; color: var(--red, #D94F4F); font-size: 0.82rem; cursor: pointer; }
.cart-item__remove:hover { text-decoration: underline; }
.cart-item__price { font-weight: 700; color: var(--brown); white-space: nowrap; }
.cart__total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brown);
    padding: 16px 4px;
    border-top: 2px solid var(--cream-dark);
    margin-top: 6px;
}
.cart__total { color: var(--gold-dark); }
.cart__checkout { margin-top: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.cart__checkout h3 { font-family: 'Playfair Display', serif; color: var(--brown); margin-bottom: 16px; }
.cart__note { margin-top: 12px; font-size: 0.82rem; color: var(--text-light); text-align: center; }

/* ===== MY ORDERS ===== */
.myorders__sub { color: var(--text-light); margin-bottom: 20px; }
.myorders__add { display: flex; gap: 10px; margin-bottom: 8px; }
.myorders__add input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--cream-dark);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
}
.myorders__add input:focus { border-color: var(--gold); }
.myorders__list { margin-top: 18px; }
.myorders__empty { text-align: center; padding: 30px 0; }
.myorders__empty p { color: var(--text-light); margin-bottom: 16px; }
.mo-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    margin-bottom: 14px;
}
.mo-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mo-card__code { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold-dark); letter-spacing: 1px; }
.mo-card__status { padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.mo-card__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-light); font-size: 0.88rem; margin-bottom: 12px; }
.mo-card__actions { display: flex; align-items: center; gap: 14px; }
.mo-card__actions .btn { padding: 8px 18px; font-size: 0.85rem; }
.mo-card__remove { background: none; border: none; color: var(--text-light); font-size: 0.82rem; cursor: pointer; }
.mo-card__remove:hover { color: #D94F4F; text-decoration: underline; }

@media (max-width: 768px) {
    .product__grid { grid-template-columns: 1fr; gap: 24px; }
    .product__opts { grid-template-columns: 1fr; }
    .back-link { margin-top: 80px; }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo__icon {
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo__tagline {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--gold);
}

.nav__link--cta {
    background: var(--gold);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

/* Header Right */
.header__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--cream);
    border-radius: 50px;
    padding: 3px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 50px;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    color: var(--gold);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brown);
    transition: var(--transition);
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 80px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero__curve {
    position: absolute;
    top: 0;
    left: -10%;
    width: 55%;
    height: 100%;
    background: var(--gold);
    border-radius: 0 0 50% 0;
    opacity: 0.07;
    z-index: 0;
}

.hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero__content {
    flex: 1;
    max-width: 560px;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--brown);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image {
    flex-shrink: 0;
}

.hero__image-placeholder {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SECTIONS ===== */
.section {
    padding: 90px 0;
}

.section--alt {
    background: var(--cream);
}

.section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--brown);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ===== ABOUT ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.about__text p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature__icon {
    flex-shrink: 0;
}

.feature__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 4px;
}

.feature__text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CAKES ===== */
.cakes__sizes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.size-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.size-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.size-card__icon {
    margin-bottom: 16px;
}

.size-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 8px;
}

.size-card__serves {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.size-card__price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

/* Flavours */
.cakes__flavours {
    text-align: center;
    margin-bottom: 40px;
}

.cakes__flavours-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--brown);
    margin-bottom: 20px;
}

.flavour-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.flavour-tag {
    background: var(--white);
    border: 1.5px solid var(--gold-light);
    color: var(--brown);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.flavour-tag:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.cakes__note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.cakes__cta {
    text-align: center;
}

/* ===== CAKE SHED ===== */
.cakeshed__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.cakeshed__desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.cakeshed__schedule {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.schedule-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    padding: 16px 24px;
    border-radius: var(--radius);
    border: 1.5px solid var(--gold-light);
}

.schedule-day__name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brown);
}

.schedule-day__dot {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

.schedule-day__time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}

.cakeshed__address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.cakeshed__address svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.cakeshed__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px;
    border: 2px dashed var(--gold-light);
}

/* ===== GALLERY ===== */
.gallery__categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery__cat-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: var(--shadow);
}

.gallery__cat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.gallery__cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery__cat-card:hover img {
    transform: scale(1.08);
}

.gallery__cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(61, 46, 28, 0.85));
    color: var(--white);
    transition: padding 0.3s ease;
}

.gallery__cat-card:hover .gallery__cat-overlay {
    padding-bottom: 24px;
}

.gallery__cat-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery__cat-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

.gallery__more-wrap {
    text-align: center;
    margin: 28px 0;
}

.gallery__extra-cats {
    animation: fadeUp 0.35s ease;
    margin-top: 8px;
}

/* Expanded category view */
.gallery__expanded {
    animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gallery__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 8px 0;
    transition: var(--transition);
}

.gallery__back:hover {
    color: var(--gold-dark);
    transform: translateX(-4px);
}

.gallery__cat-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 24px;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.gallery__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gold-light);
    border-radius: var(--radius);
}

.gallery__placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold-light);
    font-weight: 600;
}

/* ===== REVIEWS ===== */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.review-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.review-card__stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-card__text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-card__author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brown);
}

.review-card--deletable {
    position: relative;
}

.review-card__delete {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(217, 79, 79, 0.1);
    color: #D94F4F;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card--deletable:hover .review-card__delete {
    opacity: 1;
}

.review-card__delete:hover {
    background: #D94F4F;
    color: #fff;
}

/* Show all / Write review */
.reviews__more-wrap,
.reviews__write {
    text-align: center;
    margin-top: 32px;
}

.reviews__write {
    margin-top: 16px;
}

.reviews__all {
    margin-top: 32px;
    animation: fadeUp 0.35s ease;
}

.reviews__all-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Review Form */
.reviews__form-wrap {
    max-width: 600px;
    margin: 32px auto 0;
    animation: fadeUp 0.35s ease;
}

.review-form {
    background: var(--cream);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.review-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 20px;
    text-align: center;
}

/* Star Picker */
.star-picker {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.star-pick {
    font-size: 1.8rem;
    color: var(--cream-dark);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1;
}

.star-pick.active {
    color: var(--gold);
    transform: scale(1.1);
}

.star-pick:hover {
    transform: scale(1.2);
}

.review-form__success {
    text-align: center;
    padding: 32px;
    background: var(--cream);
    border-radius: var(--radius);
}

.review-form__success p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 1rem;
}

/* ===== ORDER FORM ===== */
.order__form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

.form-group input[type="file"] {
    padding: 10px;
    background: var(--cream);
    cursor: pointer;
}

.date-picker-row {
    display: flex;
    gap: 10px;
}

/* ===== FLAVOUR PICKER ===== */
.flavour-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: 8px;
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.flavour-select-btn:hover {
    border-color: var(--gold);
}

.flavour-select-btn.has-value {
    color: var(--text);
    font-weight: 500;
}

.flavour-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flavour-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 46, 28, 0.55);
    animation: fadeIn 0.25s ease;
}

.flavour-modal__card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 50px rgba(61, 46, 28, 0.25);
    animation: fadeUp 0.3s ease;
}

.flavour-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--cream-dark);
}

.flavour-modal__header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--brown);
}

.flavour-modal__close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.flavour-modal__close:hover {
    color: var(--gold-dark);
}

.flavour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px 28px;
    overflow-y: auto;
}

.flavour-card {
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.flavour-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.flavour-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.2);
}

/* ===== CERTIFICATES ===== */
.certificates__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.certificates__item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 3/4;
}

.certificates__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.certificates__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
    padding: 6px;
}

.certificates__item {
    position: relative;
}

.certificates__badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: var(--gold);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 50px;
}

.cert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(61, 46, 28, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: zoom-out;
    animation: fadeIn 0.2s ease;
}

.cert-lightbox__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 92%;
    max-height: 92%;
    cursor: default;
}

.cert-lightbox__inner img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 8px;
    box-shadow: 0 12px 50px rgba(0,0,0,0.4);
    background: #fff;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.cert-lightbox__inner img.cert-flipping {
    opacity: 0;
    transform: rotateY(90deg);
}

.cert-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--brown);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cert-lightbox__close:hover {
    background: var(--gold);
    color: #fff;
}

.cert-lightbox__flip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    background: var(--gold);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cert-lightbox__flip:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .certificates__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .certificates__grid { grid-template-columns: 1fr; }
}

/* ===== ORDER TOTAL ===== */
.order-total {
    background: var(--cream);
    border: 1.5px solid var(--gold-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.order-total__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-total__label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown);
}

.order-total__value {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.order-total__note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 6px;
    font-style: italic;
}

.flavour-grid--showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0;
    margin-top: 10px;
}

.flavour-grid--showcase .flavour-card {
    cursor: default;
}

@media (max-width: 700px) {
    .flavour-grid--showcase {
        grid-template-columns: 1fr;
    }
}

.flavour-card__imgwrap {
    position: relative;
}

.flavour-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--cream);
    display: block;
}

.flavour-card__placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
}

.flavour-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 12px 10px;
    background: linear-gradient(transparent, rgba(61, 46, 28, 0.82));
}

.flavour-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.flavour-card__price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-top: 2px;
}

.flavour-card__desc {
    padding: 10px 14px 12px;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

@media (max-width: 700px) {
    .flavour-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 18px;
    }
}

@media (max-width: 440px) {
    .flavour-grid {
        grid-template-columns: 1fr;
    }
}

.date-picker-row select {
    flex: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.order__success {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
}

.order__success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown);
    margin: 16px 0 12px;
}

.order__success p {
    color: var(--text-light);
    font-size: 1rem;
}

.order__success-contacts {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--cream-dark);
}

.order__success-or {
    font-size: 0.9rem !important;
    color: var(--brown) !important;
    font-weight: 600;
    margin-bottom: 16px;
}

.success-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.success-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid var(--gold-light);
    border-radius: 50px;
    color: var(--brown);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.success-contact:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--brown);
    color: var(--cream);
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.logo--footer {
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 0.85rem;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer__social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(232, 196, 122, 0.4);
    color: var(--gold-light);
    transition: var(--transition);
}

.footer__social:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.footer h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--cream-dark);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: var(--transition);
    line-height: 1.5;
}

.footer__link:hover {
    color: var(--gold-light);
}

.footer__link svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__hours p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer__pickup {
    font-size: 0.85rem !important;
    color: var(--gold-light);
    font-style: italic;
}

.footer__bottom {
    border-top: 1px solid rgba(232, 196, 122, 0.15);
    padding: 20px 0;
}

.footer__bottom p {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== ALLERGY CHIPS ===== */
.allergy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.allergy-chip {
    padding: 8px 18px;
    border: 1.5px solid var(--gold-light);
    border-radius: 50px;
    background: var(--white);
    color: var(--brown);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.allergy-chip:hover {
    border-color: var(--gold);
    background: var(--cream);
}

.allergy-chip.selected {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 2px 8px rgba(200, 150, 62, 0.25);
    transform: scale(1.04);
}

.allergy-chip--other {
    border-style: dashed;
}

.allergy-chip--other.selected {
    border-style: solid;
}

.allergy-other-input {
    padding: 10px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    width: 100%;
    animation: slideDown 0.3s ease;
}

.allergy-other-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); max-height: 0; }
    to   { opacity: 1; transform: translateY(0);    max-height: 60px; }
}

/* ===== LANGUAGE SWITCH ANIMATION ===== */
[data-i18n] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lang-fade-out [data-i18n] {
    opacity: 0;
    transform: translateY(6px);
}

.lang-fade-in [data-i18n] {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav.open {
        transform: translateY(0);
    }

    /* Home header collapses to a single row on mobile */
    .header__inner--home {
        padding-top: 0;
        padding-bottom: 0;
        row-gap: 0;
    }
    .header__inner--home .nav {
        border-top: none;
        margin-top: 0;
        padding-top: 24px;
    }
    .header__phone span { display: none; }

    .burger {
        display: flex;
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cakes__sizes {
        grid-template-columns: repeat(2, 1fr);
    }

    .cakeshed__inner {
        grid-template-columns: 1fr;
    }

    .gallery__categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews__grid,
    .reviews__all-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 110px 0 50px;
    }

    .hero__title {
        font-size: 1.9rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__image-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero__image-placeholder svg {
        width: 200px;
        height: 200px;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .cakes__sizes {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .reviews__grid,
    .reviews__all-grid {
        grid-template-columns: 1fr;
    }

    .review-form {
        padding: 20px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order__form {
        padding: 24px 20px;
    }

    .cakeshed__schedule {
        flex-direction: column;
        align-items: stretch;
    }

    .schedule-day {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo__name {
        font-size: 1.2rem;
    }

    .logo__tagline {
        font-size: 0.45rem;
    }
}
