/* =========================================================
   PASTEL'S GOURMANDISES
   One-page website
   ========================================================= */


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #333333;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}

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

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


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eeeeee;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-link {
    display: block;
}

.site-logo {
    width: 150px;
    height: auto;
}

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

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.main-nav a {
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: #333333;

    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   GENERAL
   ========================================================= */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 30px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 12px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #777777;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-weight: normal;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.section-heading p {
    margin-bottom: 0;
    color: #666666;
    
}


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

.button {
    display: inline-block;

    padding: 13px 25px;

    border: 1px solid #333333;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.button-primary {
    background: #333333;
    color: #ffffff;
}

.button-primary:hover {
    background: #555555;
}

.button-secondary {
    background: #ffffff;
    color: #333333;
}

.button-secondary:hover {
    background: #f5f5f5;
}


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

.hero {
    max-width: 1200px;
    margin: 0 auto;

    min-height: 720px;
    padding: 70px 30px 100px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;

    scroll-margin-top: 160px;

}

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

.hero h1 {
    margin-bottom: 25px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
}

.hero h1 span {
    display: block;
}

.hero-text {
    margin-bottom: 12px;

    font-size: 20px;
    color: #555555;
}

.hero-flavours {
    margin-bottom: 35px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #666666;
}

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

.hero-image img {
    width: 135%;
    height: auto;
    max-height: none;
    object-fit: contain;
}


/* =========================================================
   ICE CREAMS
   ========================================================= */
#ice-creams {
    scroll-margin-top: 140px;
}

.ice-creams-section {
    border-top: 1px solid #eeeeee;
}

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

.flavour-card {
    border: 1px solid #eeeeee;
    background: #ffffff;
}

.flavour-card > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.flavour-content {
    padding: 30px 25px 28px;
}

.flavour-content h3 {
    margin-bottom: 12px;
    font-size: 29px;
}

.flavour-description {
    min-height: 95px;
    margin-bottom: 25px;

    font-size: 14px;
    color: #666666;
}

.prices {
    border-top: 1px solid #eeeeee;
    padding-top: 18px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    font-family: Arial, Helvetica, sans-serif;
}

.prices div {
    text-align: center;
}

.prices span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: normal;
    color: #777777;
    letter-spacing: 0.08em;
}

.prices strong {
    display: block;
    font-size: 20px;
    font-weight: normal;
    color: #333333;;
    color: #333333;
}

.featured-price {
    font-weight: normal;
}

.availability-note {
    margin: 35px auto 0;

    max-width: 600px;

    text-align: center;

    font-size: 13px;
    font-style: italic;
    color: #777777;
}


/* =========================================================
   ABOUT / WHY PASTEL'S
   ========================================================= */

.about-section {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;

    text-align: center;
    scroll-margin-top: 160px;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
}

.about-content > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto;

    
    color: #666666;
}

.values-grid {
    margin-top: 60px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.values-grid h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.values-grid p {
    margin: 0;

    font-size: 14px;
    color: #666666;
}


/* =========================================================
   EVENTS & SPECIAL ORDERS
========================================================= */

.events-section {
    text-align: center;
    border-top: 1px solid #eeeeee;
}

.events-section .section-heading {
    max-width: 720px;
    margin: 0 auto;
}

.events-content {
    max-width: 650px;
    margin: 35px auto 0;
    text-align: center;
}

.events-content p {
    margin-bottom: 30px;
    color: #666666;
}

.events-content .button {
    display: inline-block;
}

/* =========================================================
  CUSTOMER REVIEWS
   ========================================================= */

.reviews-section {
    padding: 90px 40px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-header {
    text-align: center;
    margin-bottom: 55px;
}

.reviews-eyebrow {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #555;
    margin: 0 0 16px;
}

.reviews-stars {
    font-family: Georgia, serif;
    font-size: 28px;
    letter-spacing: 5px;
    color: #333;
    margin-bottom: 10px;
}

.reviews-summary {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

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

.review {
    text-align: center;
}

.review-text {
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 22px;
}

.review-author {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
    margin: 0;
}

.reviews-google {
    text-align: center;
    margin-top: 55px;
}

.reviews-google a {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

@media (max-width: 800px) {

    .reviews-section {
        padding: 65px 25px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .review-text {
        font-size: 16px;
    }
}


/* =========================================================
   HOW TO ORDER
   ========================================================= */

.order-section {
    text-align: center;
    scroll-margin-top: 160px;
}

.order-intro {
    max-width: 700px;
    margin: 20px auto 0;

    font-size: 18px;
    line-height: 1.6;
    color: #777777;
}

.order-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;

    max-width: 1000px;
    margin: 0 auto;
}

.order-step {
    position: relative;
}

.step-number {
    display: block;

    margin-bottom: 15px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #999999;
}

.order-step h3 {
    margin-bottom: 10px;
    font-size: 28px;
}

.order-step p {
    margin: 0 auto 12px;

    max-width: 260px;

    font-size: 16px;
    color: #555555;
}

.order-deadline {
    font-weight: 600;
    color: #444444 !important;
}

.order-cta {
    margin-top: 50px;
}


/* =========================================================
   MADELEINES
   ========================================================= */

.madeleines-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;

    border-top: 1px solid #eeeeee;
}

.madeleines-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.madeleines-content {
    max-width: 500px;
}

.madeleines-content h2 {
    margin-bottom: 25px;
}

.madeleines-content p {
    color: #666666;
}

.madeleines-content .coming-soon {
    margin-top: 25px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #444444;
}


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

.contact-section {
    border-top: 1px solid #eeeeee;
    text-align: center;
    scroll-margin-top: 150px;
    
}

.contact-links {
    max-width: 700px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-links a {
    padding: 25px;

    border: 1px solid #eeeeee;

    font-size: 20px;

    transition: background-color 0.25s ease;
}

.contact-links a:hover {
    background: #fafafa;
}

.contact-links span {
    display: block;

    margin-top: 6px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #777777;
}

.location-note {
    margin-top: 35px;

    font-size: 14px;
    color: #777777;
}


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

.site-footer {
    padding: 55px 30px 115px;

    border-top: 1px solid #eeeeee;

    text-align: center;
}

.site-footer img {
    width: 125px;
    margin: 0 auto 18px;
}

.site-footer p {
    margin: 7px 0;

    font-size: 13px;
    color: #777777;
}


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

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;
        min-height: auto;
        padding-top: 60px;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .flavour-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: 0 auto;
    }

    .flavour-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .flavour-card > img {
        height: 100%;
        aspect-ratio: auto;
    }

    .values-grid,
    .order-steps {
        gap: 30px;
    }

    .madeleines-section {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .madeleines-content {
        max-width: 700px;
        text-align: center;
        margin: 0 auto;
    }
}


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

@media (max-width: 650px) {

    .header-inner {
        padding: 15px 18px;
        flex-direction: column;
        gap: 12px;
    }

    .site-logo {
        width: 110px;
    }

    .main-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;

        font-size: 11px;
    }

    .section {
        padding: 70px 20px;
    }

    .hero {
        padding: 50px 20px 60px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.05;
        margin-bottom: 10px;
    }

    .hero-title-main {
        display: block;
        white-space: normal;
        font-size: 34px;
    }

    .hero-text {
        font-size: 18px;
        margin-bottom: 5px;
    }

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

    .hero-buttons .button {
        text-align: center;
    }

    .hero-image {
    width: 100%;
    margin-top: 0px;
    }

    .hero-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    }

    .flavour-card {
        display: block;
    }

    .flavour-card > img {
        width: 100%;
        height: 280px;
        object-fit: contain;
    }

    .flavour-content {
    padding: 25px 20px 20px;
    }

    .flavour-content h3 {
    margin-bottom: 12px;
    }

    .flavour-description {
    margin-bottom: 25px;
    }

    .flavour-description {
        min-height: auto;
    }

    .prices {
        gap: 5px;
    }

    .prices strong {
        font-size: 14px;
    }

    .values-grid,
    .order-steps,
    .contact-links {
        grid-template-columns: 1fr;
    }

    .values-grid {
        gap: 40px;
        margin-top: 45px;
    }

    .order-steps {
        gap: 45px;
    }

    .madeleines-section {
        gap: 35px;
        
    }

    .contact-links {
        max-width: 450px;
    }

    .site-footer {
        padding: 45px 20px;
    }

    #contact {
        padding-top: 50px;
        padding-bottom: 50px;
        scroll-margin-top: 150px;
    }

      .events-section {
        padding: 60px 20px;
    }

    .events-content {
        margin-top: 30px;
    }

        /* Homepage hero buttons */
    .hero-buttons {
        margin-left: 18px;
        margin-right: 18px;
    }

      /* Homepage hero headline */
    .hero h1 {
        font-size: 38px;
        line-height: 1.1;
    }
}

/* =========================================================
   ONLINE ORDER FORM
   ========================================================= */

.order-form-wrapper {
    max-width: 900px;
    margin: 80px auto 0;
}

.order-form-heading {
    text-align: center;
    margin-bottom: 45px;
}

.order-form-heading h3 {
    margin-bottom: 14px;
    font-size: 30px;
}

.order-form-heading p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: #666666;
}


/* ---------------------------------------------------------
   FORM SECTIONS
   --------------------------------------------------------- */

.order-form-section {
    padding: 35px 0;
    border-top: 1px solid #eeeeee;
}

.order-form-section h4 {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: normal;
    text-align: left;
}

.form-instruction {
    margin: -10px 0 25px;
    color: #777777;
    font-size: 15px;
}


/* ---------------------------------------------------------
   CUSTOMER DETAILS
   --------------------------------------------------------- */

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

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555555;
}

.form-field label span {
    color: #888888;
    font-style: italic;
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 13px;

    border: 1px solid #dddddd;
    background: #ffffff;

    font-family: inherit;
    font-size: 16px;
    color: #333333;

    border-radius: 0;
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #999999;
}


/* ---------------------------------------------------------
   ORDER TABLE
   --------------------------------------------------------- */

.order-table-wrapper {
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.order-table th,
.order-table td {
    padding: 18px 12px;
    border-bottom: 1px solid #eeeeee;
    text-align: center;
    vertical-align: middle;
}

.order-table thead th {
    font-size: 14px;
    font-weight: normal;
    color: #777777;
    letter-spacing: 0.05em;
}

.order-table tbody th {
    width: 30%;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    color: #333333;
}

.order-table td {
    width: 23.333%;
}


/* ---------------------------------------------------------
   PRICE + QUANTITY
   --------------------------------------------------------- */

.quantity-label {
    display: block;
    margin-bottom: 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #777777;
}

.quantity-input {
    width: 65px;
    box-sizing: border-box;

    padding: 9px 6px;

    border: 1px solid #dddddd;
    background: #ffffff;

    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #333333;

    border-radius: 0;
}

.quantity-input:focus {
    outline: none;
    border-color: #999999;
}


/* Remove number-spinner arrows */

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input {
    -moz-appearance: textfield;
    appearance: textfield;
    
}


/* ---------------------------------------------------------
   ORDER TOTAL
   --------------------------------------------------------- */

.order-total {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 18px;

    padding-top: 25px;
}

.order-total span {
    font-size: 15px;
    color: #666666;
}

.order-total strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: normal;
    color: #333333;
}


/* ---------------------------------------------------------
   SUBMIT
   --------------------------------------------------------- */

.order-submit {
    padding: 35px 0;
    text-align: center;
}

.order-submit button {
    cursor: pointer;
}

.order-submit p {
    max-width: 600px;
    margin: 18px auto 0;

    font-size: 13px;
    font-style: italic;
    color: #777777;
}


/* ---------------------------------------------------------
   INSTAGRAM ALTERNATIVE
   --------------------------------------------------------- */

.instagram-order-option {
    margin: 55px auto 0;
    padding-top: 35px;

    max-width: 600px;

    border-top: 1px solid #eeeeee;

    text-align: center;
}

.instagram-order-option p {
    margin-bottom: 20px;
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}

.instagram-order-option strong {
    color: #444444;
    font-weight: normal;
}


/* ---------------------------------------------------------
   HONEYPOT
   --------------------------------------------------------- */

.form-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}


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

@media (max-width: 700px) {

    .flavour-name {
        font-size: 15px;
        gap: 7px;
        white-space: nowrap;
    }
    
    .order-form-wrapper {
        margin-top: 60px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    /* -----------------------------------------------------
   MOBILE ORDER TABLE
   ----------------------------------------------------- */

.order-table-wrapper {
    margin: 0;
    padding: 0;
    overflow-x: visible;
}

.order-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.order-table th,
.order-table td {
    padding: 14px 3px;
}

.order-table thead th {
    font-size: 12px;
}

/* Give the flavour column enough room */
.order-table tbody th {
    width: 40%;
    font-size: 13px;
    padding-right: 6px;
}

/* Three size columns */
.order-table td {
    width: 20%;
}


/* -----------------------------------------------------
   FLAVOUR NAME + PHOTO
   ----------------------------------------------------- */

.flavour-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}

.order-flavour-image {
    width: auto;
    height: 70px;
    max-width: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.flavour-name span {
    display: block;
    width: 100%;
    overflow-wrap: break-word;
}


    /* -----------------------------------------------------
       QUANTITY BOXES
       ----------------------------------------------------- */

    .quantity-input {
        width: 46px;
        padding: 8px 2px;
        font-size: 14px;
    }


    /* -----------------------------------------------------
       ORDER TOTAL
       ----------------------------------------------------- */

    .order-total {
        justify-content: space-between;
    }


    /* -----------------------------------------------------
       ORDER FORM
       ----------------------------------------------------- */

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

    .order-form-heading h3 {
        font-size: 24px;
    }

    .order-form-heading p {
        font-size: 15px;
        line-height: 1.5;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

}

/* ---------------------------------------------------------
   ORDER FORM FLAVOUR IMAGES
   --------------------------------------------------------- */

.flavour-name {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.order-flavour-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}