/* ========================================
   GOOGLE FONT IMPORT
======================================== */

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

@import url('https://fonts.googleapis.com/css2?family=Rubik+Spray+Paint&display=swap');


/* ========================================
   ROOT VARIABLES
======================================== */

:root {

    --cream: #f6eedc;
    --white: #ffffff;
    --black: #111111;
    --gray: #6b6b6b;

    /*
       Temporary accent color.
       We can change this once we lock in
       the actual 7Bill brand palette.
    */
    --accent: #44c216;

    --font-heading: "League Spartan", sans-serif;
    --font-body: "DM Sans", sans-serif;

    --container-width: 1240px;
}


/* ========================================
   RESET
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

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

button {
    font: inherit;
}


/* ========================================
   CONTAINER
======================================== */

.container {
    width: min(92%, var(--container-width));
    margin-inline: auto;
}

/* ========================================
   PRELOADER
======================================== */

.preloader {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000000;

    z-index: 9999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}


.preloader.loaded {
    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}


/* ========================================
   OVEN LOADER
======================================== */

.oven-loader {
    width: 280px;

    perspective: 900px;
}


.oven {
    position: relative;

    width: 280px;
    height: 300px;

    background: #3B2D21;

    border: 4px solid #E28918;

    border-radius: 18px;

    box-shadow:
        0 0 0 2px rgba(234, 192, 103, 0.15);
}


/* ========================================
   OVEN TOP
======================================== */

.oven-top {
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    border-bottom:
        3px solid rgba(250, 244, 214, 0.18);
}


.oven-knob {
    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: #000000;

    border: 3px solid #EAC067;
}


/* ========================================
   OVEN CAVITY
======================================== */

.oven-cavity {
    position: absolute;

    left: 22px;
    right: 22px;

    top: 88px;

    height: 165px;

    overflow: hidden;

    background: #080808;

    border-radius: 8px;

    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.9);
}


/* GLOW INSIDE */

.oven-glow {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 70%,
            rgba(234, 192, 103, 0.95) 0%,
            rgba(226, 137, 24, 0.75) 25%,
            rgba(216, 99, 9, 0.35) 50%,
            transparent 75%
        );

    opacity: 0;

    filter: blur(10px);

    animation:
        ovenGlow 1.4s ease 0.6s forwards;
}


/* RACK */

.oven-rack {
    position: absolute;

    left: 18px;
    right: 18px;

    bottom: 46px;

    height: 3px;

    background:
        rgba(250, 244, 214, 0.35);

    box-shadow:
        0 12px 0 rgba(250, 244, 214, 0.18);
}


/* LITTLE CAKE */

.oven-cake {
    position: absolute;

    left: 50%;
    bottom: 50px;

    width: 90px;
    height: 42px;

    transform:
        translateX(-50%)
        scale(0.8);

    border-radius:
        12px 12px 5px 5px;

    background:
        linear-gradient(
            to bottom,
            #FAF4D6 0 25%,
            #FAF4D6 25% 58%,
            #FAF4D6 58% 100%
        );

    opacity: 0;

    animation:
        cakeReveal 0.7s ease 1.1s forwards;
}


/* ========================================
   OVEN DOOR
======================================== */

.oven-door {
    position: absolute;

    left: 18px;
    right: 18px;

    top: 82px;

    height: 178px;

    background: #111111;

    border:
        4px solid #3B2D21;

    border-radius: 10px;

    transform-origin: bottom center;

    transform: rotateX(0deg);

    z-index: 4;

    animation:
        ovenDoorOpen 1s
        cubic-bezier(.7, 0, .25, 1)
        0.35s forwards;
}


/* WINDOW */

.oven-window {
    position: absolute;

    left: 24px;
    right: 24px;

    top: 32px;
    bottom: 28px;

    background:
        linear-gradient(
            145deg,
            #080808,
            #1a1a1a
        );

    border:
        3px solid #000000;

    border-radius: 6px;
}


/* HANDLE */

.oven-handle {
    position: absolute;

    width: 165px;
    height: 12px;

    left: 50%;
    top: 12px;

    transform:
        translateX(-50%);

    border-radius: 20px;

    background: #EAC067;
}


/* ========================================
   ANIMATIONS
======================================== */

@keyframes ovenDoorOpen {

    0% {
        transform:
            rotateX(0deg);
    }

    70% {
        transform:
            rotateX(-72deg);
    }

    100% {
        transform:
            rotateX(-68deg);
    }

}


@keyframes ovenGlow {

    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    55% {
        opacity: 1;
        transform: scale(1.08);
    }

    100% {
        opacity: 0.9;
        transform: scale(1);
    }

}


@keyframes cakeReveal {

    from {
        opacity: 0;

        transform:
            translateX(-50%)
            scale(0.75);
    }

    to {
        opacity: 1;

        transform:
            translateX(-50%)
            scale(1);
    }

}

/* ========================================
   HEADER
======================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    padding: 24px 0;

    background: var(--black);

    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* LOGO */

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;

    color: var(--white);
    letter-spacing: -1px;
}

.site-logo span {
    font-weight: 500;
}


/* NAV */

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;

    margin-left: auto;
}

.main-nav a {
    color: var(--white);

    font-size: 0.9rem;
    font-weight: 600;

    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    opacity: 0.65;
}


/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 28px;

    border-radius: 100px;

    font-size: 0.88rem;
    font-weight: 700;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}


/* HEADER BUTTON */

.btn-header {
    background: var(--white);
    color: var(--black);
}

.btn-header:hover {
    background: var(--accent);
}


/* PRIMARY */

.btn-primary {
    background: var(--accent);
    color: var(--black);
}

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


/* SECONDARY */

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.7);

    color: var(--white);

    background: transparent;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}


/* ========================================
   MOBILE MENU BUTTON
======================================== */

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--white);
}

/* ========================================
   7BILL NAV LOGO
======================================== */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #ffffff;
    text-decoration: none;

    line-height: 1;
}


.logo-7bill,
.logo-cakes {
    font-family: "Anton", sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}


/* ========================================
   FLAMING I
======================================== */

.flame-i {
    position: relative;

    display: inline-block;

    /* gives the flame room above the I */
    margin-top: 0;
}


/* Main flame */

.mini-flame {
    position: absolute;

    width: 10px;
    height: 14px;

    left: 50%;

    /*
       IMPORTANT:
       More negative = flame moves upward.
       This creates the visible separation.
    */
    top: -17px;

    transform:
        translateX(-50%);

    background: #D86309;

    border-radius: 50% 50% 45% 45%;

    box-shadow:
        0 0 6px rgba(216, 99, 9, 0.85),
        0 0 11px rgba(226, 137, 24, 0.55);

    transform-origin: center bottom;

    animation:
        flameFlicker 0.55s
        ease-in-out
        infinite alternate;
}


/* Golden inner flame */

.mini-flame::before {
    content: "";

    position: absolute;

    width: 7px;
    height: 9px;

      left: 50%;
    bottom: 2px;

    transform: translateX(-50%);

    background: #E28918;

   border-radius: 50% 50% 45% 45%;
}


/* Cream hot center */

.mini-flame::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 6px;

 left: 50%;
    bottom: 2px;

    transform: translateX(-50%);

    background: #FAF4D6;

    border-radius: 50%;
}


/* ========================================
   FLAME ANIMATION
======================================== */

@keyframes flameFlicker {

    0% {
        transform:
            translateX(-50%)
            scaleX(1)
            scaleY(1);
    }

    30% {
        transform:
            translateX(-50%)
            translateX(-1px)
            scaleX(0.9)
            scaleY(1.08);
    }

    60% {
        transform:
            translateX(-50%)
            translateX(1px)
            scaleX(1.05)
            scaleY(0.96);
    }

    100% {
        transform:
            translateX(-50%)
            scaleX(0.94)
            scaleY(1.1);
    }
}

/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    min-height: 760px;
    height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--black);
}


/* HERO IMAGE */

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img,
.hero-image video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* HERO OVERLAY */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.52) 45%,
            rgba(0, 0, 0, 0.15) 100%
        );
}


/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 100px;
}

.hero-eyebrow {
    margin-bottom: 20px;

    color: var(--accent);

    font-size: 1.1rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 800px;

    color: var(--white);

    font-family: var(--font-heading);

    font-size: clamp(4rem, 7.5vw, 7.5rem);
    font-weight: 800;

    line-height: 0.88;
    letter-spacing: -5px;

    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero-description {
    max-width: 540px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1.08rem;
    line-height: 1.75;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    gap: 14px;

    margin-top: 35px;
}


/* SCROLL INDICATOR */

.hero-scroll {
    position: absolute;

    right: 4%;
    bottom: 40px;

    z-index: 2;

    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--white);

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}


/* ========================================
   PLACEHOLDER SECTIONS
======================================== */

.section-placeholder {
    min-height: 500px;

    display: flex;
    align-items: center;

    padding: 80px 0;
}

.section-placeholder h2 {
    font-family: var(--font-heading);

    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;

    letter-spacing: -3px;
    text-transform: uppercase;
}

.section-eyebrow {
    margin-bottom: 15px;

    color: var(--accent);

    font-size: 1.1rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* DARK SECTIONS */

.section-dark {
    background: var(--black);
    color: var(--white);
}

/* ========================================
   HOMEPAGE SECTION CONTENT
======================================== */

.section-placeholder {
    display: block;
}

.section-intro {
    max-width: 650px;

    margin-top: 25px;

    font-size: 1.05rem;
    line-height: 1.8;
}

/* ========================================
   FEATURED CAKES
======================================== */

#cakes {
    padding-top: 35px !important;
    padding-bottom: 50px !important;
}


.cake-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    margin-top: 60px;
}


/*
   Empty image areas for now.

   When you're ready to add photos,
   put an <img> inside .cake-image-slot.
*/

.cake-image-slot {
    width: 100%;
    height: 380px;

    border-radius: 18px;

    overflow: hidden;
}


.cake-image-slot img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ========================================
   TEXT LINKS
======================================== */

.text-link {
    display: inline-block;

    margin-top: 35px;
    padding-bottom: 4px;

    font-weight: 700;

    border-bottom: 1px solid currentColor;
}


/* ========================================
   MENU + PRICING
======================================== */

.menu-preview-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    margin-top: 60px;
}


.menu-preview-card {
    min-height: 300px;

    padding: 40px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    border: 1px solid currentColor;
    border-radius: 22px;
}


.menu-number {
    display: block;

    margin-bottom: 55px;

    font-family: var(--font-heading);

    font-size: 1rem;
    font-weight: 800;
}


.menu-preview-card h3 {
    margin-bottom: 18px;

    font-family: var(--font-heading);

    font-size: 1.6rem;
    font-weight: 700;

    text-transform: uppercase;
}


.menu-preview-card p {
    line-height: 1.7;
}


/* SECTION BUTTON */

.btn-section {
    margin-top: 40px;

    background: var(--white);
    color: var(--black);
}


/* ========================================
   ORDER PROCESS
======================================== */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 65px;

    border-top: 1px solid currentColor;
}


.process-step {
    min-height: 270px;

    padding: 40px 30px 20px 0;
}


.process-step:not(:last-child) {
    border-right: 1px solid currentColor;
}


.process-step + .process-step {
    padding-left: 30px;
}


.process-number {
    display: block;

    margin-bottom: 35px;

    color: var(--accent);

    font-family: var(--font-heading);

    font-size: 1.4rem;

    font-weight: 800;
}


.process-step h3 {
    margin-bottom: 18px;

    font-family: var(--font-heading);

    font-size: 1.6rem;
    font-weight: 700;

    text-transform: uppercase;
}


.process-step p {
    line-height: 1.7;
}


/* ========================================
   ORDER POLICIES
======================================== */

.policy-section {
    padding: 140px 0;
}

.policy-layout {
    width: min(92%, var(--container-width));
    margin-inline: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;
}


.policy-list {
    border-top: 1px solid currentColor;
}


.policy-item {
    padding: 30px 0;

    border-bottom: 1px solid currentColor;
}


.policy-item h3 {
    margin-bottom: 12px;

    font-family: var(--font-heading);

    font-size: 1.5rem;

    text-transform: uppercase;
}


.policy-item p {
    line-height: 1.7;
}

.policy-heading .text-link {
    margin-top: 35px;
}

.policy-section {
    padding: 100px 0 80px;
}


/* ========================================
   INSTAGRAM
======================================== */

.instagram-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin-top: 60px;
}


/*
   Empty Instagram image areas.
*/

.instagram-image-slot {
    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;
}


.instagram-image-slot img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ========================================
   FINAL CTA
======================================== */

.final-cta {
    text-align: center;
}


.final-cta-content {
    display: flex;

    flex-direction: column;
    align-items: center;
}


.final-cta-content h2 {
    max-width: 900px;
}


.final-cta-description {
    max-width: 600px;

    margin-top: 30px;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

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


    .menu-preview-grid {
        grid-template-columns: 1fr;
    }


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


    .process-step {
        border-right: none !important;
    }


    .process-step + .process-step {
        padding-left: 0;
    }


    .policy-layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }


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

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

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


    .cake-image-slot {
        height: 400px;
    }


    .menu-preview-card {
        min-height: auto;

        padding: 30px;
    }


    .menu-number {
        margin-bottom: 30px;
    }


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


    .process-step {
        min-height: auto;

        padding:
            35px 0;
    }


    .process-step:not(:last-child) {
        border-bottom:
            1px solid currentColor;
    }


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

}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding: 35px 0;

    background: var(--black);
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.85rem;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .main-nav {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 720px;
    }

    .hero h1 {
        max-width: 650px;

        letter-spacing: -3px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .site-header {
        padding: 20px 0;
    }

    .site-logo {
        font-size: 1.5rem;
    }


    /* HERO */

    .hero {
        min-height: 720px;
        height: auto;

        padding: 150px 0 100px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.88) 0%,
                rgba(0, 0, 0, 0.58) 60%,
                rgba(0, 0, 0, 0.30) 100%
            );
    }

    .hero-content {
        padding-top: 0;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 15vw, 5rem);

        line-height: 0.9;
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }


    /* PLACEHOLDERS */

    .section-placeholder {
        min-height: 400px;

        padding: 80px 0;
    }

    .section-placeholder h2 {
        letter-spacing: -2px;
    }

}

/* ========================================
   BIO PAGE
======================================== */

.bio-page {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 160px 0 100px;
}


.bio-layout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}


.bio-image {
    width: 100%;
    min-height: 650px;

    overflow: hidden;

    border-radius: 18px;
}


.bio-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.bio-content h1 {
    max-width: 600px;

    font-family: var(--font-heading);

    font-size: clamp(3.5rem, 7vw, 6.5rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -4px;

    text-transform: uppercase;
}


.bio-copy {
    max-width: 600px;

    margin-top: 35px;

    font-size: 1.05rem;

    line-height: 1.9;
}


.bio-copy p + p {
    margin-top: 20px;
}


/* ========================================
   BIO CTA
======================================== */

.bio-cta {
    padding: 100px 0;

    background: var(--black);

    color: var(--white);

    text-align: center;
}


.bio-cta .container {
    display: flex;

    flex-direction: column;
    align-items: center;
}


.bio-cta h2 {
    max-width: 800px;

    font-family: var(--font-heading);

    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 0.9;

    letter-spacing: -3px;

    text-transform: uppercase;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .bio-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .bio-image {
        min-height: 550px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .bio-page {
        padding: 130px 0 80px;
    }

    .bio-image {
        min-height: 420px;
    }

    .bio-content h1 {
        letter-spacing: -2px;
    }

}

/* ========================================
   CAKEFOLIO PAGE
======================================== */

.portfolio-page {
    padding: 160px 0 110px;

    background: var(--cream);
}


/* ========================================
   CAKEFOLIO HEADING
======================================== */

.portfolio-heading {
    margin-bottom: 70px;
}


.portfolio-heading h1 {
    max-width: 900px;

    font-family: var(--font-heading);

    font-size: clamp(3.8rem, 8vw, 7rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -4px;

    text-transform: uppercase;
}


/* ========================================
   PORTFOLIO GALLERY
======================================== */

.portfolio-gallery {
    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    grid-auto-rows: 90px;

    gap: 18px;
}


/* ========================================
   PORTFOLIO ITEM
======================================== */

.portfolio-item {
    position: relative;

    grid-column: span 4;
    grid-row: span 4;

    overflow: hidden;

    border-radius: 18px;

    background: var(--black);
}


/* TALL ITEM */

.portfolio-item.portfolio-tall {
    grid-column: span 4;
    grid-row: span 6;
}


/* WIDE ITEM */

.portfolio-item.portfolio-wide {
    grid-column: span 8;
    grid-row: span 4;
}


/* ========================================
   PORTFOLIO IMAGES + VIDEOS
======================================== */

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    transition:
        transform 0.45s ease;
}

.portfolio-item.portfolio-wide video {
    object-fit: contain;
    background: var(--black);
}

.portfolio-item:hover img {
    transform: scale(1.04);
}


/* ========================================
   VIDEO
======================================== */

.portfolio-item video {
    background: var(--black);
}


/* ========================================
   CAKEFOLIO CTA
======================================== */

.portfolio-cta {
    padding: 110px 0;

    background: var(--black);

    color: var(--white);

    text-align: center;
}


.portfolio-cta-content {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.portfolio-cta h2 {
    max-width: 850px;

    font-family: var(--font-heading);

    font-size: clamp(3.5rem, 7vw, 6rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -3px;

    text-transform: uppercase;
}


.portfolio-cta .btn {
    margin-top: 35px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .portfolio-page {
        padding: 140px 0 90px;
    }


    .portfolio-gallery {
        grid-template-columns:
            repeat(2, 1fr);

        grid-auto-rows: auto;

        gap: 16px;
    }


    .portfolio-item,
    .portfolio-item.portfolio-tall,
    .portfolio-item.portfolio-wide {
        grid-column: auto;
        grid-row: auto;
    }


    .portfolio-item {
        aspect-ratio: 1 / 1;
    }


    .portfolio-item.portfolio-tall {
        aspect-ratio: 4 / 5;
    }


    .portfolio-item.portfolio-wide {
        grid-column: span 2;

        aspect-ratio: 16 / 8;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .portfolio-page {
        padding: 130px 0 75px;
    }


    .portfolio-heading {
        margin-bottom: 45px;
    }


    .portfolio-heading h1 {
        letter-spacing: -2px;
    }


    .portfolio-gallery {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .portfolio-item,
    .portfolio-item.portfolio-tall,
    .portfolio-item.portfolio-wide {
        grid-column: auto;

        width: 100%;
    }


    .portfolio-item {
        aspect-ratio: 1 / 1;
    }


    .portfolio-item.portfolio-tall {
        aspect-ratio: 4 / 5;
    }


    .portfolio-item.portfolio-wide {
        aspect-ratio: 16 / 10;
    }


    .portfolio-cta {
        padding: 80px 0;
    }


    .portfolio-cta h2 {
        letter-spacing: -2px;
    }

}

/* ========================================
   CONTACT PAGE
======================================== */

.contact-page {
    padding: 160px 0 110px;

    background: var(--cream);
}


.contact-layout {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    align-items: start;
}


/* ========================================
   CONTACT INTRO
======================================== */

.contact-intro h1 {
    max-width: 600px;

    font-family: var(--font-heading);

    font-size:
        clamp(4rem, 8vw, 7rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -4px;

    text-transform: uppercase;
}


.contact-description {
    max-width: 540px;

    margin-top: 30px;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* ========================================
   CONTACT DETAILS
======================================== */

.contact-details {
    margin-top: 55px;
}


.contact-detail {
    padding: 22px 0;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.18);
}


.contact-detail:last-child {
    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.18);
}


.contact-label {
    display: block;

    margin-bottom: 6px;

    color: var(--accent);

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.contact-detail a,
.contact-detail p {
    font-size: 1rem;
    font-weight: 600;
}


/* ========================================
   CONTACT FORM
======================================== */

.contact-form-wrap {
    padding: 45px;

    background: var(--black);

    color: var(--white);

    border-radius: 22px;
}


.contact-form {
    display: flex;

    flex-direction: column;

    gap: 24px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.form-group label {
    font-size: 1rem;
    font-weight: 700;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px 16px;

    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 10px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.06);

    color: var(--white);

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        rgba(255, 255, 255, 0.45);
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);

    background:
        rgba(255, 255, 255, 0.1);
}


.form-group textarea {
    resize: vertical;
}

.contact-submit {
    align-self: flex-start;

    border: 0;

    cursor: pointer;
}

/* Form submission message */

.form-status {
    margin-top: 5px;

    font-size: 0.95rem;
    font-weight: 600;

    line-height: 1.5;

    text-align: left;
}


/* ========================================
   CONTACT ORDER CTA
======================================== */

.contact-order-cta {
    padding: 110px 0;

    background: var(--black);

    color: var(--white);

    text-align: center;
}


.contact-order-content {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.contact-order-content h2 {
    max-width: 850px;

    font-family: var(--font-heading);

    font-size:
        clamp(3.5rem, 7vw, 6rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -3px;

    text-transform: uppercase;
}


.contact-order-content p:not(.section-eyebrow) {
    max-width: 560px;

    margin-top: 25px;

    color:
        rgba(255, 255, 255, 0.72);

    line-height: 1.8;
}


.contact-order-content .btn {
    margin-top: 35px;
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

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

        gap: 60px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .contact-page {
        padding: 130px 0 80px;
    }


    .contact-intro h1 {
        letter-spacing: -2px;
    }


    .contact-form-wrap {
        padding: 30px 22px;
    }


    .contact-submit {
        width: 100%;
    }


    .contact-order-cta {
        padding: 80px 0;
    }


    .contact-order-content h2 {
        letter-spacing: -2px;
    }

}

/* ========================================
   MODERN MENU PAGE
======================================== */

.menu-modern {
    padding: 170px 0 120px;

    background: var(--cream);
}


/* ========================================
   MENU HEADING
======================================== */

.menu-modern-heading {
    max-width: 850px;

    margin-bottom: 90px;
}


.menu-modern-heading h1 {
    font-family: var(--font-heading);

    font-size:
        clamp(4rem, 9vw, 8rem);

    font-weight: 800;

    line-height: 0.85;

    letter-spacing: -5px;

    text-transform: uppercase;
}


.menu-modern-heading > p:last-child {
    max-width: 580px;

    margin-top: 30px;

    font-size: 1.15rem;

    line-height: 1.8;
}



/* ========================================
   MAIN MENU ACCORDION
======================================== */

.menu-accordion {
    border-top:
        1px solid
        rgba(0, 0, 0, 0.22);
}


.menu-dropdown {
    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.22);
}


/* REMOVE DEFAULT ARROW */

.menu-dropdown summary {
    list-style: none;
}


.menu-dropdown summary::-webkit-details-marker {
    display: none;
}


/* DROPDOWN HEADER */

.menu-dropdown > summary {
    min-height: 150px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 35px 0;

    cursor: pointer;
}


.dropdown-category {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.menu-dropdown > summary h2 {
    font-family: var(--font-heading);

    font-size:
        clamp(2.1rem, 5vw, 4rem);

    font-weight: 700;

    line-height: 1;

    letter-spacing: -2px;

    text-transform: uppercase;
}


.dropdown-icon {
    flex-shrink: 0;

    font-size: 2.2rem;

    font-weight: 300;

    line-height: 1;

    transition:
        transform 0.3s ease;
}


.menu-dropdown[open]
> summary
.dropdown-icon {
    transform: rotate(45deg);
}



/* ========================================
   DROPDOWN CONTENT
======================================== */

.dropdown-content {
    padding:
        10px 0
        60px;
}


.dropdown-content h3 {
    margin-bottom: 20px;

    font-family: var(--font-heading);

    font-size: 1.3rem;

    text-transform: uppercase;
}


.dropdown-content ul {
    list-style: none;
}


.dropdown-content li {
    padding: 8px 0;

    font-size: 1rem;
}



/* ========================================
   CAKE SIZE COLUMNS
======================================== */

.dropdown-columns {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 70px;
}
.dropdown-columns + .dropdown-note {
    margin-top: 15px;
    padding-top: 5;
    border-top: none;
}


/* ========================================
   DROPDOWN NOTES
======================================== */

.dropdown-note {
    max-width: 700px;

    margin-top: 45px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.15);

    color: var(--black);

    font-size: 1.1rem;

    line-height: 1.7;
}



/* ========================================
   OTHER PRODUCTS
======================================== */

.product-list {
    border-top:
        1px solid
        rgba(0, 0, 0, 0.15);
}


.product-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    padding: 25px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.15);
}


.product-row h3 {
    margin: 0;
}


.product-row p {
    color: var(--black);

    line-height: 1.7;
}



/* ========================================
   FLAVORS
======================================== */

.flavor-dropdown-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;
}


.clean-menu-list {
    border-top:
        1px solid
        rgba(0, 0, 0, 0.15);
}


.clean-menu-list li {
    padding: 14px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.15);
}



/* ========================================
   ICING
======================================== */

.icing-base-list {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 30px;

    margin-bottom: 10px;
}


.icing-base-list > div {
    padding: 25px 0;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.2);

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.2);
}


.icing-base-label {
    display: block;

    margin-bottom: 10px;

    color: var(--accent);

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}
.icing-base-label-no {
    color: #c62828;
}


.icing-base-list h3 {
    margin: 0;

    font-size: 1.7rem;
}


.icing-flavor-list {
    max-width: 700px;
}


.icing-flavor-list h3 {
    margin-bottom: 18px;
}

.icing-flavor-list ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
.icing-flavor-list + .dropdown-note {
    margin-top: 15px;
    padding-top: 5;
    border-top: none;
}

.icing-flavor-list + .dropdown-note {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

/* ========================================
   ADD-ONS
======================================== */

.addon-list {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    column-gap: 80px;
}


.addon-list span {
    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.15);

    font-weight: 600;
}

.addon-list + .dropdown-note {
  margin-top: 15px;
    padding-top: 5;
    border-top: none;
}



/* ========================================
   PRICING SECTION
======================================== */

.menu-pricing {
    padding: 110px 0;

    background: var(--accent);

    color: var(--black);
}


.menu-pricing-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;
}


.menu-pricing h2 {
    max-width: 700px;

    font-family: var(--font-heading);

    font-size:
        clamp(3rem, 6vw, 5.5rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -3px;

    text-transform: uppercase;
}


.menu-pricing-copy {
    max-width: 600px;

    font-size: 1.05rem;

    line-height: 1.8;
}


.menu-pricing-copy p + p {
    margin-top: 20px;
}



/* ========================================
   ORDER CTA
======================================== */

.menu-modern-cta {
    padding: 110px 0;

    background: var(--black);

    color: var(--white);

    text-align: center;
}


.menu-modern-cta .container {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.menu-modern-cta h2 {
    max-width: 850px;

    font-family: var(--font-heading);

    font-size:
        clamp(3.5rem, 7vw, 6rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -3px;

    text-transform: uppercase;
}


.menu-modern-cta .btn {
    margin-top: 35px;
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .dropdown-columns {
        gap: 35px;
    }


    .flavor-dropdown-grid {
        gap: 50px;
    }


    .menu-pricing-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .menu-modern {
        padding:
            140px 0
            80px;
    }


    .menu-modern-heading {
        margin-bottom: 60px;
    }


    .menu-modern-heading h1 {
        letter-spacing: -3px;
    }


    .menu-dropdown > summary {
        min-height: 115px;

        padding: 28px 0;
    }


    .menu-dropdown > summary h2 {
        letter-spacing: -1.5px;
    }


    .dropdown-icon {
        font-size: 1.8rem;
    }


    .dropdown-columns {
        grid-template-columns: 1fr;

        gap: 40px;
    }


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

        gap: 5px;
    }


    .flavor-dropdown-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .icing-dropdown-grid {
        grid-template-columns: 1fr;
    }


    .addon-list {
        grid-template-columns: 1fr;
    }


    .menu-pricing {
        padding: 80px 0;
    }


    .menu-pricing h2 {
        letter-spacing: -2px;
    }


    .menu-modern-cta {
        padding: 80px 0;
    }


    .menu-modern-cta h2 {
        letter-spacing: -2px;
    }

}
/* ========================================
   POLICIES PAGE
======================================== */

.policies-page {
    padding: 170px 0 120px;

    background: var(--cream);
}


/* ========================================
   POLICIES HEADING
======================================== */

.policies-heading {
    max-width: 950px;

    margin-bottom: 90px;
}


.policies-heading h1 {
    font-family: var(--font-heading);

    font-size:
        clamp(4rem, 9vw, 8rem);

    font-weight: 800;

    line-height: 0.85;

    letter-spacing: -5px;

    text-transform: uppercase;
}


.policies-intro {
    max-width: 620px;

    margin-top: 30px;

    font-size: 1.1rem;

    line-height: 1.8;
}



/* ========================================
   POLICY ACCORDION
======================================== */

.policies-accordion {
    border-top:
        1px solid
        rgba(0, 0, 0, 0.22);
}


.policy-dropdown {
    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.22);
}


.policy-dropdown summary {
    list-style: none;
}


.policy-dropdown summary::-webkit-details-marker {
    display: none;
}



/* ========================================
   POLICY ACCORDION HEADER
======================================== */

.policy-dropdown > summary {
    min-height: 150px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 35px 0;

    cursor: pointer;
}


.policy-category {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.policy-dropdown > summary h2 {
    font-family: var(--font-heading);

    font-size:
        clamp(2.1rem, 5vw, 4rem);

    font-weight: 700;

    line-height: 1;

    letter-spacing: -2px;

    text-transform: uppercase;
}


.policy-icon {
    flex-shrink: 0;

    font-size: 2.2rem;

    font-weight: 300;

    line-height: 1;

    transition:
        transform 0.3s ease;
}


.policy-dropdown[open]
> summary
.policy-icon {
    transform: rotate(45deg);
}



/* ========================================
   POLICY CONTENT
======================================== */

.policy-content {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 0 70px;

    padding:
        10px 0
        65px;
}



/* ========================================
   POLICY BLOCK
======================================== */

.policy-block {
    padding: 30px 0;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.15);
}


.policy-block h3 {
    margin-bottom: 20px;

    font-family: var(--font-heading);

    font-size: 1.4rem;

    font-weight: 700;

    text-transform: uppercase;
}


.policy-block p {
    max-width: 600px;

    margin-bottom: 12px;

    color: var(--black);

    font-size: 1rem;

    line-height: 1.7;
}



/* ========================================
   SMALL POLICY HEADING
======================================== */

.policy-small-heading {
    margin-top: 20px;

    color: var(--black) !important;

    font-weight: 700;
}



/* ========================================
   POLICY LISTS
======================================== */

.policy-list {
    list-style: none;

    margin: 15px 0 0;

    padding: 0;
}


.policy-list li {
    padding: 10px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.12);

    font-weight: 600;
}



/* ========================================
   IMPORTANT POLICY
======================================== */

.policy-important {
    padding: 28px;

    border: none;

    background: var(--black);

    color: var(--white);

    border-radius: 14px;
}


.policy-important span {
    display: block;

    margin-bottom: 12px;

    color: var(--accent);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.policy-important p {
    margin: 0;

    color: var(--white);

    font-weight: 600;
}



/* ========================================
   POLICY AGREEMENT
======================================== */

.policy-agreement {
    padding: 110px 0;

    background: var(--black);

    color: var(--white);
}


.policy-agreement-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}


.policy-agreement h2 {
    max-width: 700px;

    font-family: var(--font-heading);

    font-size:
        clamp(3.5rem, 7vw, 6rem);

    font-weight: 800;

    line-height: 0.9;

    letter-spacing: -3px;

    text-transform: uppercase;
}


.policy-agreement-copy {
    max-width: 600px;
}


.policy-agreement-copy p {
    color:
        rgba(255, 255, 255, 0.75);

    font-size: 1.05rem;

    line-height: 1.8;
}


.policy-agreement-copy .btn {
    margin-top: 30px;
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .policy-content {
        gap: 0 40px;
    }


    .policy-agreement-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .policies-page {
        padding:
            140px 0
            80px;
    }


    .policies-heading {
        margin-bottom: 60px;
    }


    .policies-heading h1 {
        letter-spacing: -3px;
    }


    .policy-dropdown > summary {
        min-height: 115px;

        padding: 28px 0;
    }


    .policy-dropdown > summary h2 {
        letter-spacing: -1.5px;
    }


    .policy-icon {
        font-size: 1.8rem;
    }


    .policy-content {
        grid-template-columns: 1fr;

        gap: 0;

        padding-bottom: 45px;
    }


    .policy-block {
        padding: 25px 0;
    }


    .policy-important {
        padding: 24px;

        margin-top: 10px;
    }


    .policy-agreement {
        padding: 80px 0;
    }


    .policy-agreement h2 {
        letter-spacing: -2px;
    }

}

/* ========================================
   ORDER PAGE
======================================== */

.order-page {
    padding: 170px 0 120px;

    background: var(--cream);
}


/* ========================================
   PAGE HEADING
======================================== */

.order-heading {
    max-width: 900px;

    margin-bottom: 90px;
}


.order-heading h1 {
    font-family: var(--font-heading);

    font-size:
        clamp(4rem, 9vw, 8rem);

    font-weight: 800;

    line-height: 0.85;

    letter-spacing: -5px;

    text-transform: uppercase;
}


.order-intro {
    max-width: 620px;

    margin-top: 30px;

    font-size: 1.1rem;

    line-height: 1.8;
}



/* ========================================
   FORM
======================================== */

.cake-order-form {
    border-top:
        1px solid
        rgba(0, 0, 0, 0.2);
}



/* ========================================
   FORM SECTIONS
======================================== */

.order-form-section {
    padding: 80px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.2);
}


.order-section-heading {
    display: grid;

    grid-template-columns:
        80px 1fr;

    gap: 25px;

    margin-bottom: 55px;
}


.order-section-number {
    color: var(--accent);

    font-family: var(--font-heading);

    font-size: 1.8rem;

    font-weight: 800;
}


.order-section-label {
    margin-bottom: 8px;

    color: var(--accent);

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.order-section-heading h2,
.order-estimate-section h2 {
    font-family: var(--font-heading);

    font-size:
        clamp(2.6rem, 5vw, 4.5rem);

    font-weight: 800;

    line-height: 0.95;

    letter-spacing: -2px;

    text-transform: uppercase;
}



/* ========================================
   FORM FIELD LAYOUT
======================================== */

.order-fields {
    display: grid;

    grid-template-columns: 1fr;

    gap: 28px;
}


.order-fields.two-column {
    grid-template-columns:
        repeat(2, 1fr);
}

.order-fields.three-column {
    grid-template-columns:
        repeat(3, 1fr);
}

.nested-fields {
    gap: 28px;
}


.full-width {
    grid-column: 1 / -1;
}

/* ========================================
   TASTING BUNDLE
======================================== */

.tasting-cake {
    margin-top: 35px;
}


.tasting-cake h3 {
    margin-bottom: 20px;

    font-size: 1.1rem;
    font-weight: 700;
}

/* ========================================
   FORM FIELDS
======================================== */

.order-field {
    min-width: 0;
}


.order-field label,
.order-fieldset legend {
    display: block;

    margin-bottom: 10px;

    font-size: 0.85rem;

    font-weight: 700;
}


.order-field input,
.order-field select,
.order-field textarea {
    width: 100%;

    padding: 16px 0;

    border: none;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.3);

    border-radius: 0;

    outline: none;

    background: transparent;

    color: var(--black);

    font-size: 1rem;
}


.order-field select {
    cursor: pointer;
}


.order-field textarea {
    resize: vertical;
}


.order-field input:focus,
.order-field select:focus,
.order-field textarea:focus {
    border-bottom-color:
        var(--accent);
}



/* ========================================
   FILE INPUT
======================================== */

.order-field input[type="file"] {
    padding: 15px 0;
}


.field-help,
.field-message {
    margin-top: 9px;

    color: var(--gray);

    font-size: 0.85rem;

    line-height: 1.6;
}


.field-message.active {
    color: #c62828;

    font-weight: 700;
}



/* ========================================
   FIELDSETS
======================================== */

.order-fieldset {
    margin: 0;

    padding: 0;

    border: 0;
}



/* ========================================
   CHECKBOXES
======================================== */

.checkbox-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    border-top:
        1px solid
        rgba(0, 0, 0, 0.18);
}


.checkbox-option {
    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 60px;

    padding: 15px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.18);

    cursor: pointer;
}


.checkbox-option:nth-child(odd) {
    padding-right: 25px;
}


.checkbox-option:nth-child(even) {
    padding-left: 25px;

    border-left:
        1px solid
        rgba(0, 0, 0, 0.18);
}


.checkbox-option input {
    width: 18px;
    height: 18px;

    accent-color: var(--accent);
}



/* ========================================
   RADIO OPTIONS
======================================== */

.radio-options,
.fulfillment-options {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.radio-option {
    min-height: 52px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 22px;

    border:
        1px solid
        rgba(0, 0, 0, 0.25);

    border-radius: 100px;

    cursor: pointer;
}


.radio-option input {
    accent-color: var(--accent);
}



/* ========================================
   CONDITIONAL FIELDS
======================================== */

.conditional-field {
    display: none;
}


.conditional-field.active {
    display: block;
}


.fulfillment-details {
    margin-top: 35px;
}


.allergy-field {
    margin-top: 30px;
}

/* ========================================
   ADD ANOTHER CAKE
======================================== */

.additional-cakes-section {
    padding: 50px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.2);
}


.add-cake-button {
    margin-top: 20px;

    border: 0;

    cursor: pointer;
}


.saved-cake {
    margin-bottom: 20px;

    padding: 22px;

    border:
        1px solid
        rgba(0, 0, 0, 0.18);

    border-radius: 14px;
}


.saved-cake h3 {
    margin-bottom: 8px;

    font-weight: 700;
}


.saved-cake p {
    color: var(--gray);

    line-height: 1.6;
}

/* ========================================
   ESTIMATE
======================================== */

.order-estimate-section {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    padding: 90px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.2);
}


.estimate-box {
    border-top:
        1px solid
        rgba(0, 0, 0, 0.25);
}


.estimate-row {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.15);
}


.estimate-row span {
    color: var(--gray);
}


.estimate-row strong {
    text-align: right;
}


.estimate-total {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding: 28px 0;

    font-family: var(--font-heading);

    font-size: 1.5rem;

    font-weight: 800;

    text-transform: uppercase;
}


.estimate-total strong {
    color: var(--accent);

    text-align: right;
}


.estimate-disclaimer {
    color: var(--gray);

    font-size: 0.85rem;

    line-height: 1.6;
}



/* ========================================
   AGREEMENTS
======================================== */

.agreement-list {
    max-width: 850px;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.18);
}


.agreement-option {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 20px 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.18);

    cursor: pointer;
}


.agreement-option input {
    flex-shrink: 0;

    width: 18px;
    height: 18px;

    margin-top: 4px;

    accent-color: var(--accent);
}


.agreement-option span {
    line-height: 1.7;
}


.agreement-option a {
    font-weight: 700;

    text-decoration: underline;
}



/* ========================================
   SUBMIT
======================================== */

.order-submit {
    margin-top: 40px;

    border: 0;

    cursor: pointer;
}


.form-status {
    margin-top: 20px;

    font-weight: 600;
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .order-estimate-section {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .order-page {
        padding:
            140px 0
            80px;
    }


    .order-heading {
        margin-bottom: 60px;
    }


    .order-heading h1 {
        letter-spacing: -3px;
    }


    .order-form-section {
        padding: 60px 0;
    }


    .order-section-heading {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-bottom: 40px;
    }


    .order-section-number {
        font-size: 1.5rem;
    }


    .order-fields.two-column {
        grid-template-columns: 1fr;
    }


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


    .checkbox-option:nth-child(odd),
    .checkbox-option:nth-child(even) {
        padding-left: 0;
        padding-right: 0;

        border-left: 0;
    }


    .radio-options,
    .fulfillment-options {
        flex-direction: column;
    }


    .radio-option {
        width: 100%;
    }


    .order-estimate-section {
        padding: 65px 0;
    }


    .order-section-heading h2,
    .order-estimate-section h2 {
        letter-spacing: -1.5px;
    }


    .estimate-row,
    .estimate-total {
        gap: 15px;
    }


    .order-submit {
        width: 100%;
    }

}