/* RESET CSS */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

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

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

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
  }

ol, ul {
	list-style: none;
}


/* Variable */
:root {
    --white: #FFFFFF;
	--grey200: #BFBFBF;
	--black: #000000;
    --off-white: #DDD4CC;
    --light-brown: #B29275;
	--brick: #CB7424;
    --dark-brown: #331D09;
    --num-items: 9;
} 
  
  /* Custom fonts */
  @font-face {
    font-family: 'Bon Vivant Serif Bold';
    src: url(./fonts/BonVivantSerifBold.otf) format('opentype');
    font-display: swap;
  }
  @font-face {
    font-family: 'Bon Vivant Serif';
    src: url(./fonts/BonVivantSerif.otf) format('opentype');
    font-display: swap;
  }
  @font-face {
    font-family: 'Bon Vivant Script';
    src: url(./fonts/BonVivantScript.otf) format('opentype');
    font-display: swap;
  }
  @font-face {
    font-family: 'Open Sans Regular';
    src: url(./fonts/OpenSans-Regular.ttf) format('truetype');
    font-display: swap;
  }
  @font-face {
    font-family: 'Open Sans Light';
    src: url(./fonts/OpenSans-Light.ttf) format('truetype');
    font-display: swap;
  }

  /* General rules */
html{
    background-color: var(--white);
    color-scheme: light;
}

body{
    background-color: var(--white);
    font-size: 16px;
    color: var(--black);
    font-weight: 400;
}

section{
    width: 100%;
    padding-left: clamp(1.2rem, 6.25vw + -0.8rem, 8.2rem);
    padding-right: clamp(1.2rem, 6.25vw + -0.8rem, 8.2rem);
}

.container{
    width: 100%;
    /* margin-top: 7.2vmax;
    margin-bottom: 7.2vmax; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1{
    font-family: 'Bon Vivant Serif Bold', serif;
    font-size: clamp(3.98rem, 4.518vw + 2.534rem, 9.04rem);
    line-height: clamp(3.98rem, 4.518vw + 2.534rem, 9.04rem);
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 4vmax;
    letter-spacing: -0.02em;
}

h2{
    font-family: 'Bon Vivant Serif Bold', serif;
    font-size: clamp(3.32rem, 2.75vw + 2.44rem, 6.4rem);
    line-height: clamp(3.32rem, 4.179vw + 1.983rem, 8rem);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8vh;
    display: inline-block;
    letter-spacing: -0.01em;
}

h3{
    font-family: 'Bon Vivant Serif', serif;
    font-size: clamp(2.76rem, 1.571vw + 2.257rem, 4.52rem);
    line-height: clamp(3.2rem, 2.143vw + 2.514rem, 5.6rem);
    text-transform: uppercase;
    margin-bottom: 3vh;
}

h4{
    font-family: 'Bon Vivant Serif', serif;
    font-size: clamp(2.4rem, 0.714vw + 2.171rem, 3.2rem);
    line-height: clamp(2.8rem, 1.071vw + 2.457rem, 4rem);
}

a{
    font-family: 'Bon Vivant Script', sans-serif;
    font-size: clamp(2.4rem, 0.714vw + 2.171rem, 3.2rem);
    line-height: clamp(2.8rem, 1.071vw + 2.457rem, 4rem);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease-in-out;
}

.flavor_nos-mochis{
    font-family: 'Open Sans Regular', sans-serif;
    font-size: clamp(1.13rem, 1.239vw + 0.387rem, 2.26rem);
    line-height: clamp(1.6rem, 1.754vw + 0.547rem, 3.2rem);
    text-align: center;
}

p{
    font-family: 'Open Sans Regular', sans-serif;
    font-size: clamp(1.2rem, 0.336vw + 1.093rem, 1.6rem);
    line-height: clamp(2rem, 1.071vw + 1.657rem, 3.2rem);
    margin-top: 1vmax;
}

/* Data hidden */

[data-hidden] {
    opacity: 0;

}

               
 /* Header */

 header {
    width: 100%;
    padding-left: clamp(1.2rem, 6.25vw + -0.8rem, 8.2rem);
    padding-right: clamp(1.2rem, 6.25vw + -0.8rem, 8.2rem);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    height: 13.6vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
 .header-container img {
    object-fit: scale-down;
    object-position: center center;

 }

 /* Section Hero */

 #hero {
    height: 100vh;
    height: 100svh;
    min-height: 64rem;
    width: 100%;
    overflow: hidden;
    background: url("./img/hero_langing.jpg") no-repeat center center;
    background-size: cover;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 8% 57% 40%;
    grid-template-rows: 53% 22% 25%;
 }

 .linear {
    background: linear-gradient(to bottom, rgba(51, 29, 9, 0.8),rgba(51, 29, 9, 0.6),rgba(51, 29, 9, 0.4), rgba(51, 29, 9, 0.1),rgba(51, 29, 9, 0.4), rgba(51, 29, 9, 0.6), rgba(51, 29, 9, 0.8)) no-repeat center center ;
    background-size: cover;
    position: relative;
    z-index: 1;
    grid-area: 1 / 1 / -1 / -1;
    opacity: 1;
    transition: all 0.3s ease-in-out;
 }

 #hero:hover .linear {
    opacity: 0;
 }
    
.click-and-collect_hero {
    grid-area: 1 / 3 / 3 / -1;
    width: 47.6vmax;
    height: 47.6vmax;
    justify-self: center;
    align-self: center;
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    grid-template-rows: 32% 36% 32%;
 }

 
 .click-and-collect_hero > img {
    grid-area: 1 / 1 / 4 / 4;
    object-fit: contain;
    object-position: center center;
    position: absolute;
    opacity: 0.4;
 }
 .wrapper_click-and-collect {
    grid-area: 2 / 2 / 3 / 3 ;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: var(--white);
    z-index: 3;
 }

 .wrapper_click-and-collect img {
    width: 3.7vmax;
    height: 3.7vmax;
    object-fit: contain;
    object-position: center center;
    align-self: center;
 }

 .wrapper_click-and-collect a:hover {
    color: var(--grey200);
    text-decoration: underline;
    text-underline-offset: 2rem;
    text-decoration-color: var(--grey200);
    cursor: pointer;
 }

 .client_hero {
    grid-area: 2 / 2 / 3 / 3 ;
    position: relative;
    z-index: 2;
    object-fit: scale-down;
    object-position: center center;
    justify-self: start;
    align-self: end;
    width: fit-content;
    height: fit-content;
 }

h1 {
    grid-area: 3 / 1 / 4 / 4;
    justify-self: start;
    align-self: start;
    position: relative;
    z-index: 2;
    padding-left: clamp(1.6rem, 6.25vw + -0.8rem, 8.2rem);
    padding-right: clamp(1.6rem, 6.25vw + -0.8rem, 8.2rem);
}
.review-line {
    display: block;
}
.review-line .word {
    display: inline-block;
    white-space: nowrap;
}
.review-line .char {
    display: inline-block;
}

/* Section Nos concepts */

.container_nos-concepts {
    margin-top:  20vh;
}
.wrapper_nos-concepts {
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(3, clamp(16.8rem, 26.754vw + 0.747rem, 41.2rem));
    grid-template-rows: repeat(2, clamp(16.8rem, 26.754vw + 0.747rem, 41.2rem));
    gap: 2vmax;
    padding-left: 0;
    padding-right: 0;
}
.box_text {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-items: center;
}
.box_text p {
    margin-top: clamp(1.6rem, 2vw, 3.2rem);
    text-align: center;
    align-items: center;

}

.wrapper_nos-concepts img {
    /* width: clamp(16.8rem, 26.754vw + 0.747rem, 41.2rem);
    height: clamp(16.8rem, 26.754vw + 0.747rem, 41.2rem); */
    justify-self: center;
    align-self: start;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}
.vegetal {
    grid-area: 1/1/2/2;
    z-index: 1;
}
.sans-gluten{
    grid-area: 1/2/2/3;
    z-index: 1;
}
.fait-maison{
    grid-area: 1/3/2/4;
    z-index: 1;
}
.vegetal-default {
    grid-area: 1/1/2/2;
    z-index: 0;
}
.sans-gluten-default {
    grid-area: 1/2/2/3;
    z-index: 0;
}
.fait-maison-default {
    grid-area: 1/3/2/4;
}
.one {
    grid-area: 2/1/3/2;
}
.two {
    grid-area: 2/2/3/3;
}
.three {
    grid-area: 2/3/3/4;
}

.vegetal:hover, .sans-gluten:hover, .fait-maison:hover {
    opacity: 0;
    cursor: pointer;
}

/* Footer links */

#footer-links {
    position: sticky;
    bottom: 2.4vh;
    z-index: 5;
    padding-left: clamp(1.2rem, 6.25vw + -0.8rem, 8.2rem);
    padding-right: clamp(1.2rem, 6.25vw + -0.8rem, 8.2rem);
    pointer-events: none;
}

.container_footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.4rem;
    width: fit-content;
    margin-left: auto;
    padding: 0.6rem 2.4rem;
    border-radius: 99rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.4rem 2rem rgba(51, 29, 9, 0.15);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: auto;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
#footer-links.is-hidden .container_footer-links {
    opacity: 0;
    transform: translateY(1.6rem);
    pointer-events: none;
}

.links-wrapper_footer-links {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    justify-content: flex-end;
}

.links-wrapper_footer-links > a {
    color: var(--dark-brown);
    font-family: 'Open Sans Regular', sans-serif;
    font-size: clamp(1.4rem, 0.4vw + 1.2rem, 1.8rem);
    line-height: 1.4;
}
.links-wrapper_footer-links > a:hover {
    color: var(--brick);
}
.btn_footer-links:hover {
    color: var(--brick);
    cursor: pointer;
 }


.btn_footer-links {
    color: var(--dark-brown);
    transition: all 0.3s ease-in-out;
}


/* Section Nos mochis */

#nos-mochis .container {
    margin-top: 14vh;
}

.hover-img_nos-mochis{
    z-index: 0;
    transition: all 0.3s ease-in-out;
}


.box-container_nos-mochis {
    width: fit-content;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(4, clamp(12.5rem, 19.627vw + 0.724rem, 30.4rem));
    grid-template-rows: clamp(12.5rem, 19.627vw + 0.724rem, 30.4rem) clamp(1.6rem, 1.754vw + 0.547rem, 3.2rem)
    clamp(12.5rem, 19.627vw + 0.724rem, 30.4rem) clamp(1.6rem, 1.754vw + 0.547rem, 3.2rem);
    gap:clamp(1.2rem, 0.714vw + 0.971rem, 2rem);
    align-items: center;
    justify-items: center;
}

 

.flavor_nos-mochis {
    display: inline-block;
    text-align: center;
    justify-self: center;
    align-self: end;
}

.matcha, .sesame, .caramel, .kinako, .ananas, .framboise, .hojicha, .harico{
    width: clamp(14.5rem, 19.627vw + 2.724rem, 32.4rem);
    height: clamp(14.5rem, 19.627vw + 2.724rem, 32.4rem);
    justify-self: center;
    align-self: center;
    z-index: 1;
    opacity: 1;
    transition: all 0.3s ease-in-out;
    
}
.matcha-decoupe, .sesame-decoupe,.caramel-decoupe,.kinako-decoupe,
.ananas-decoupe, .framboise-decoupe,.hojicha-decoupe,.harico-decoupe {
    width: clamp(12.5rem, 19.627vw + 0.724rem, 30.4rem);
    height: clamp(12.5rem, 19.627vw + 0.724rem, 30.4rem);


}

.matcha-decoupe, .matcha {
    grid-area: 1/1/2/2;
}
.sesame-decoupe, .sesame {
    grid-area: 1/2/2/3;
}
.caramel-decoupe, .caramel {
    grid-area: 1/3/2/4;
}
.kinako-decoupe, .kinako {
    grid-area: 1/4/2/5;
}
.ananas-decoupe, .ananas{
    grid-area: 3/1/4/2;
}
.framboise-decoupe, .framboise{
    grid-area: 3/2/4/3;
}
.hojicha-decoupe, .hojicha{
    grid-area: 3/3/4/4;
}
.harico-decoupe, .harico{
    grid-area: 3/4/4/5;
}

.matcha:hover, .sesame:hover, .caramel:hover, .kinako:hover, 
.ananas:hover, .framboise:hover, .hojicha:hover, .harico:hover {
    opacity: 0;
}


/* Section Anecdote */

#anecdote {
    padding-top: 16vh;
    padding-bottom: 6vh;
}

.grid-container {
    height: fit-content;
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(2, clamp(26.2rem, 40.132vw + 2.121rem, 62.8rem));
    grid-template-rows: repeat(2, minmax(clamp(26.2rem, 40.132vw + 2.121rem, 62.8rem), auto));
    gap:clamp(1.2rem, 0.714vw + 0.971rem, 2rem);
    margin-right: auto;
    margin-left: auto;
    justify-items: center;
    align-items: center;

}

.grid-container > img {
    height: clamp(26.2rem, 40.132vw + 2.121rem, 62.8rem);
    width:  clamp(26.2rem, 40.132vw + 2.121rem, 62.8rem);
    justify-self: center;
    align-self: center;
}

.histoire-default, .tradition-default {
    z-index: 0;
}
.histoire-default, .histoire {
    grid-area: 1 / 2 / 2 / 3;
}
.tradition-default, .tradition {
    grid-area: 2 / 1 / 3 / 2;
}
.text-wrapper > p {
    display: inline-block;
}

.histoire, .tradition {
    z-index: 1;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.histoire:hover, .tradition:hover {
    opacity: 0;
} 


/* Section Question */

#foires-aux-questions {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#foires-aux-questions .container {
    margin-top: 16vh;
    margin-bottom: 10vh;
    width: 90vw;
    overflow: hidden;
}

#foires-aux-questions h2 {
    text-align: center;
}

.slide-wrapper {
    width: 100%;
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.slide-track {
    display: flex;
    flex-shrink: 0;
    gap: 2.4rem;
    padding-right: 2.4rem;
    animation: scrollLeft 60s linear infinite;
}

.slide-wrapper:hover .slide-track,
.slide-wrapper:focus-within .slide-track {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    to {
      transform: translateX(-100%);
    }
}

.item {
    width: clamp(22rem, 15vw + 16rem, 29.6rem);
    flex-shrink: 0;
}

.item img {
    width: 100%;
    height: auto;
    aspect-ratio: 296 / 402;
    object-fit: cover;
}

/* Vidéo */

#video {
    padding-top: 6vh;
}
#video h2 {
    text-align: center;
}
.video-container {
    position: relative; 
    width: 100%;
    padding-bottom: 56.25%; 
    margin-bottom: 9.6vh;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  

/* Footer */

footer{
    margin-top: 10vh;
    width: 100%;
    height: clamp(40rem, 20.134vw + 33.557rem, 64rem);
    background: url("./img/map-footer.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 
    clamp(1.2rem, 5.872vw + -0.679rem, 8.2rem) clamp(4rem, 2.685vw + 3.141rem, 7.2rem)
    clamp(8rem, 39.597vw + -4.671rem, 55.2rem) clamp(5.6rem, 3.691vw + 4.419rem, 10rem)
    clamp(13.2rem, 48.154vw + -2.209rem, 70.6rem); 
    grid-template-rows: 
    clamp(17.2rem, 8.221vw + 14.569rem, 27rem) clamp(5.6rem, 3.691vw + 4.419rem, 10rem)
    clamp(9.2rem, 2.013vw + 8.556rem, 11.6rem) clamp(4rem, 2.685vw + 3.141rem, 7.2rem)
    clamp(4rem, 3.523vw + 2.872rem, 8.2rem);

}
footer svg {
    width: 100%;
    height: 100%;
    object-position: center center;
    cursor: pointer;
    fill: var(--black);
    z-index: 1;
    transition: all 0.3s ease;
}
.icon-scroll-up {
    height: clamp(4rem, 2.685vw + 3.141rem, 7.2rem);
    width: clamp(4rem, 2.685vw + 3.141rem, 7.2rem);
    grid-area: 4 / 2 / 5 / 3;
}

.icon-localisation {
    height: clamp(5.6rem, 3.691vw + 4.419rem, 10rem);
    width: clamp(5.6rem, 3.691vw + 4.419rem, 10rem);
    grid-area: 2 / 4 / 3 / 5;
}

.icon-localisation:hover > svg, 
.icon-scroll-up:hover > svg{
    fill: var(--brick);
}

/* Keyboard focus */
a:focus-visible {
    outline: 2px solid var(--brick);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Hover-only images: on touch screens there is no hover, keep the default photo */
@media (hover: none) {
    .vegetal:hover, .sans-gluten:hover, .fait-maison:hover,
    .histoire:hover, .tradition:hover {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slide-track { animation: none; }
    .slide-wrapper { overflow-x: auto; }
    .slide-track[aria-hidden="true"] { display: none; }
}

/* Click & Collect order window */
.order {
    width: min(92vw, 76rem);
    max-height: 90vh;
    max-height: 90dvh;
    margin: auto;
    padding: 0;
    border: 0;
    background: var(--dark-brown);
    color: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.order::backdrop {
    background: rgba(0, 0, 0, 0.6);
}
.order[open] {
    animation: order-in 0.35s ease-out;
}
@keyframes order-in {
    from { opacity: 0; transform: translateY(2rem); }
}
.order__form {
    position: relative;
    padding: clamp(2.4rem, 4vw, 4.8rem);
    display: grid;
    gap: 2.4rem;
    font-family: 'Open Sans Regular', sans-serif;
    font-size: 1.5rem;
}
.order__close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 4.4rem;
    height: 4.4rem;
    border: 0;
    background: none;
    color: var(--white);
    font-size: 3.2rem;
    line-height: 1;
    cursor: pointer;
}
.order__close:hover { color: var(--brick); }
.order__title {
    margin: 0;
    text-align: center;
    color: var(--white);
    font-family: 'Bon Vivant Script', serif;
    text-transform: none;
    font-weight: 400;
    font-size: clamp(3.6rem, 3vw + 2rem, 5.2rem);
    line-height: 1.2;
}
.order__hint {
    margin: -1.2rem 0 0;
    text-align: center;
    color: var(--off-white);
    font-size: 1.4rem;
    line-height: 2.2rem;
}
.order fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.order legend {
    font-family: 'Bon Vivant Serif', serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.order__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 2.4rem;
}
.order__item {
    display: grid;
    grid-template-columns: 4.8rem 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.order__item img {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    object-fit: cover;
}
.order__flavor { line-height: 1.3; }
.order__qty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.order__step {
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.order__step:hover { background: var(--brick); border-color: var(--brick); }
.order__qty input {
    width: 3.6rem;
    text-align: center;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    -moz-appearance: textfield;
}
.order__qty input::-webkit-outer-spin-button,
.order__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order__total {
    margin-top: 1.2rem;
    text-align: right;
    font-size: 1.5rem;
}
.order__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem 2.4rem;
}
.order__details legend { grid-column: 1 / -1; }
.order__details label {
    display: grid;
    gap: 0.4rem;
    font-size: 1.3rem;
    color: var(--off-white);
}
.order__details .is-wide { grid-column: 1 / -1; }
.order input:not([type="number"]),
.order select,
.order textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: var(--white);
    font: 1.6rem/2.4rem 'Open Sans Regular', sans-serif;
    padding: 0.6rem 0;
    border-radius: 0;
    color-scheme: dark;
}
.order select option, .order select optgroup { color: var(--black); }
.order input:focus, .order select:focus, .order textarea:focus {
    outline: none;
    border-bottom-color: var(--brick);
}
.order__step:focus-visible, .order__submit:focus-visible, .order__close:focus-visible {
    outline: 2px solid var(--brick);
    outline-offset: 3px;
}
.order [aria-invalid="true"] { border-bottom-color: #f7a978 !important; }
.order__error {
    margin: 0;
    min-height: 2rem;
    text-align: center;
    color: #f7c9a5;
    font-size: 1.4rem;
}
.order__submit {
    justify-self: center;
    min-height: 4.8rem;
    padding: 0 3.2rem;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
    font: 1.6rem 'Open Sans Regular', sans-serif;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.order__submit:hover { background: var(--brick); border-color: var(--brick); }
.order__note {
    margin: -1.2rem 0 0;
    text-align: center;
    color: var(--off-white);
    font-size: 1.3rem;
    line-height: 2rem;
}
.order__note.is-success { color: var(--white); font-size: 1.5rem; }
.nowrap { white-space: nowrap; }

@media (max-width: 600px) {
    .order { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; }
    .order__list, .order__details { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .order[open] { animation: none; }
}
