/* =========================================================
   GLAD ALICE BAKERY - SHARED
   Page shell, hero, category navigation, common sections
   ========================================================= */

body.bakery-page {
    margin: 0;
    padding: 0;
    background: var(--innacup-teal);
    color: var(--text-dark);
    font-family: "Nunito", Arial, sans-serif;
}

.bakery-main {
    width: 100%;
}

.bakery-section-divider {
    width: 88%;
    height: 3px;
    margin: 18px auto 12px;
    background: #765044;
    border-radius: 2px;
}


/* =========================================================
   GLAD ALICE HERO
   ========================================================= */

.bakery-hero {
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;

    width: 94%;
    margin: 0 auto;
    padding: 22px 3% 20px;

    background: #fff3f5;
}

.bakery-hero-photo {
    width: 100%;
    height: 320px;
    overflow: hidden;

    border-radius: 14px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.bakery-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bakery-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-left: 6%;
    padding: 20px 8%;

    border: 5px solid #765044;
    border-radius: 14px;

    background: var(--innacup-cream);

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);

    text-align: center;
}

.bakery-page-logo {
    display: block;

    width: 260px;
    max-width: 100%;
    height: auto;

    margin: 0 auto 5px;
}

.bakery-page-divider {
    display: flex;
    align-items: center;

    gap: 8px;

    width: 100%;
    max-width: 260px;

    margin: 7px auto 12px;
}

.bakery-page-divider span:not(.bakery-heart) {
    flex: 1;
    height: 2px;
    background: #e65f7a;
}

.bakery-heart {
    color: #e65f7a;
    font-size: 15px;
    line-height: 1;
}

.bakery-hero-content p {
    max-width: 390px;
    margin: 0;

    color: var(--text-dark);

    font-size: 15px;
    line-height: 1.4;

    text-align: center;
}


/* =========================================================
   CATEGORY NAVIGATION
   ========================================================= */

.bakery-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 9px;

    width: 94%;
    margin: 0 auto;
    padding: 12px 4%;

    border-top: 4px solid #222222;
    border-bottom: 4px solid #222222;

    background: var(--innacup-cream);
}

.bakery-category-nav-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 9px;

    width: 94%;
    margin: 0 auto;
    padding: 12px 4%;

    /*  border-top: 2px solid #222222;
    border-bottom: 4px solid #222222; */

    background: var(--innacup-cream);
}

.bakery-category-nav a {
    display: inline-block;

    padding: 8px 12px;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 7px;

    background: #ffffff;
    color: var(--text-dark);

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        color 0.15s ease;
}

.bakery-category-nav-bottom a {
    display: inline-block;

    padding: 8px 12px;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 7px;

    background: #ffffff;
    color: var(--text-dark);

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        color 0.15s ease;
}
.bakery-category-nav a:hover {
    transform: translateY(-1px);
    color: #d94463;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

.bakery-category-nav-bottom a:hover {
    transform: translateY(-1px);
    color: #d94463;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   COMMON PRODUCT SECTIONS
   ========================================================= */

.bakery-product-section {
    width: 94%;
    min-height: 0;

    margin: 0 auto;
    padding: 24px 5% 28px;

    background: var(--innacup-cream);
}

.bakery-product-section-alt {
    background: #fff8f3;
}

.bakery-section-heading {
    text-align: center;
}

.bakery-section-script {
    margin: 0 0 3px;

    font-family: "Patrick Hand", cursive;
    font-size: 23px;
    line-height: 1;

    color: #e65f7a;
}

.bakery-section-heading h2 {
    margin: 0;

    font-family: "Oswald", Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;

    text-transform: uppercase;

    color: #765044;
}

.bakery-section-heading::after {
    content: "";

    display: block;

    width: 100px;
    height: 3px;

    margin: 10px auto 0;

    border-radius: 2px;

    background: #d94463;
}

.bakery-section-body {
    width: 100%;
    min-height: 0;
    margin-top: 18px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .bakery-hero {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 24px 5%;
    }

    .bakery-hero-photo {
        max-width: 850px;
        height: 320px;
        margin: 0 auto;
    }

    .bakery-hero-content {
        width: min(92%, 700px);
        margin: 20px auto 0;
        padding: 20px 6%;
    }

    .bakery-category-nav,
    .bakery-product-section {
        width: 100%;
    }

    .bakery-product-section {
        padding-left: 7%;
        padding-right: 7%;
    }
}

@media (max-width: 700px) {

    .bakery-hero {
        padding: 20px 5%;
    }

    .bakery-hero-photo {
        height: 270px;
        border-radius: 12px;
    }

    .bakery-hero-content {
        width: 100%;
        margin: 16px auto 0;
        padding: 18px 5%;
        border-width: 4px;
        border-radius: 12px;
    }

    .bakery-page-logo {
        width: 235px;
    }

    .bakery-hero-content p {
        font-size: 14px;
    }

    .bakery-category-nav {
        gap: 7px;
        padding: 10px 5%;
    }

    .bakery-category-nav a {
        padding: 7px 9px;
        font-size: 11px;
    }

    .bakery-product-section {
        padding: 22px 6% 24px;
    }

    .bakery-section-script {
        font-size: 21px;
    }

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