
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --orange: #c66b25;
    --orange-dark: #984919;
    --cream: #fff9ef;
    --white: #ffffff;
    --brown: #39271e;
    --muted: #786c63;
    --border: #eee2d4;
    --green: #526d46;
    --shadow: 0 12px 35px rgba(57,39,30,.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--brown);
    line-height: 1.6;
}

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

button, input, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.announcement-bar {
    background: var(--brown);
    color: white;
    text-align: center;
    padding: 9px 15px;
    font-size: 12px;
    letter-spacing: .5px;
}

.site-header {
    background: rgba(255,249,239,.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-container {
    max-width: 1200px;
    min-height: 78px;
    margin: auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    white-space: nowrap;
}

.logo strong {
    color: var(--orange);
}

.logo-icon {
    color: var(--orange);
    font-size: 27px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
}

.nav-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.cart-link {
    background: var(--orange);
    color: white;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

#cart-count {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 21px;
    height: 21px;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 20px;
    background: white;
    color: var(--orange-dark);
}

.hero {
    max-width: 1200px;
    margin: 35px auto;
    padding: 50px 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content {
    max-width: 530px;
}

.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1,
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.13;
    margin-bottom: 20px;
}

.hero h1 span,
.page-hero h1 span {
    color: var(--orange);
}

.hero-content > p,
.page-hero p {
    color: var(--muted);
    font-size: 16px;
    max-width: 470px;
    margin-bottom: 28px;
}

.hero-image img {
    height: 410px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 13px 22px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

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

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--brown);
    background: white;
}

.btn-light {
    background: white;
    color: var(--orange-dark);
}

.benefits {
    max-width: 1150px;
    margin: 15px auto 65px;
    padding: 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-item > span {
    font-size: 30px;
}

.benefit-item h3 {
    font-size: 14px;
    margin-bottom: 3px;
}

.benefit-item p {
    font-size: 12px;
    color: var(--muted);
}

.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 25px 75px;
}

.sweets-preview {
    max-width: none;
    background: #f8efe2;
}

.sweets-preview > * {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2,
.contact-preview h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.section-heading p,
.contact-preview p {
    color: var(--muted);
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.product-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(57,39,30,.04);
    transition: transform .2s, box-shadow .2s;
}

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

.product-card img {
    height: 225px;
    background: #eee2d4;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    margin: 7px 0;
}

.product-info p {
    min-height: 43px;
    color: var(--muted);
    font-size: 12px;
}

.product-bottom {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-bottom strong {
    font-size: 19px;
}

.add-button {
    border: 0;
    border-radius: 5px;
    padding: 10px 13px;
    color: white;
    background: var(--orange);
    font-size: 12px;
    font-weight: 700;
}

.add-button:hover {
    background: var(--orange-dark);
}

.section-action {
    text-align: center;
    margin-top: 35px;
}

.story-banner {
    max-width: 1150px;
    margin: 55px auto;
    padding: 65px 55px;
    border-radius: 15px;
    color: white;
    background: linear-gradient(100deg, rgba(57,39,30,.95), rgba(57,39,30,.72)),
                url('https://images.unsplash.com/photo-1547592180-85f173990554?w=1400') center/cover;
}

.story-banner > div {
    max-width: 550px;
}

.story-banner .eyebrow {
    color: #ffd19a;
}

.story-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 12px;
}

.story-banner p {
    color: #f1e6d9;
    margin-bottom: 22px;
    font-size: 14px;
}

.contact-preview {
    text-align: center;
    padding: 65px 20px 80px;
}

.contact-preview p {
    margin-bottom: 22px;
}

.page-hero {
    padding: 90px 25px;
    text-align: center;
    background: linear-gradient(120deg, #f6e7d3, #fff9ef);
}

.page-hero-content {
    max-width: 760px;
    margin: auto;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 53px);
}

.page-hero p {
    max-width: 650px;
    margin: 0 auto 25px;
}

.page-hero .btn {
    margin-top: 4px;
}

.page-hero + .benefits {
    margin-top: 35px;
}

.content-section {
    max-width: 1000px;
    margin: 55px auto;
    padding: 0 25px;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-bottom: 15px;
}

.content-section p {
    color: var(--muted);
    margin-bottom: 15px;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-layout img {
    height: 350px;
    border-radius: 12px;
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 35px;
    align-items: start;
}

.contact-card,
.cart-panel,
.contact-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 15px 0 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fffdf9;
    padding: 12px;
    border-radius: 6px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-message {
    margin-top: 15px;
    color: var(--green);
    font-size: 13px;
}

.cart-page {
    max-width: 1000px;
    margin: 55px auto 80px;
    padding: 0 25px;
}

.cart-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 25px;
}

.cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.cart-row h3 {
    font-size: 15px;
}

.cart-row p {
    font-size: 12px;
    color: var(--muted);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button,
.remove-button {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 5px 10px;
    background: white;
}

.remove-button {
    color: #a13d2c;
    font-size: 12px;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    font-size: 19px;
    font-weight: 700;
}

.empty-cart {
    text-align: center;
    padding: 45px 15px;
    color: var(--muted);
}

.empty-cart h2 {
    color: var(--brown);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.empty-cart .btn {
    margin-top: 20px;
}

.checkout-message {
    margin-top: 20px;
    color: var(--green);
    font-size: 14px;
}

.site-footer {
    background: var(--brown);
    color: white;
    padding: 45px 25px 20px;
}

.footer-content {
    max-width: 1150px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 35px;
}

.footer-content h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 8px;
}

.footer-content p {
    color: #d8c7b8;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-content: start;
}

.footer-links a {
    color: #f0dfcf;
    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1150px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    color: #d8c7b8;
    font-size: 11px;
}

@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero {
        gap: 25px;
    }

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

@media (max-width: 600px) {
    .header-container {
        padding: 14px;
        gap: 13px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-links {
        gap: 10px 14px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero {
        margin: 10px auto;
        padding: 35px 20px;
        grid-template-columns: 1fr;
    }

    .hero-image img {
        height: 250px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .benefits {
        margin: 15px 15px 35px;
        grid-template-columns: 1fr;
    }

    .products-section {
        padding: 40px 16px 50px;
    }

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

    .product-card img {
        height: 230px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .story-banner {
        margin: 30px 15px;
        padding: 40px 25px;
    }

    .story-banner h2 {
        font-size: 30px;
    }

    .page-hero {
        padding: 60px 20px;
    }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .cart-row > strong {
        grid-column: 1;
    }

    .footer-content {
        flex-direction: column;
    }

    .cart-summary {
        font-size: 16px;
    }
}
