* {padding: 0; margin: 0;  border: 0; box-sizing: border-box;}
*::before, *::after { box-sizing: border-box; }
html {font-size: clamp(16px, 1.39vw, 24px); scroll-behavior: smooth; overscroll-behavior: none;  }
body {font-size: var(--font-size-body); color: var(--main-color); font-family: var(--primary-font); font-weight: var(--font-regular); background: var(--background-color); line-height: var(--line-height-regular);  -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-transform: uppercase;} 
a {text-decoration: none; color: inherit; }
p a:hover {text-decoration: underline;}
ul {list-style-type: none;}
p {margin-bottom: 1.4em;}
p:last-of-type { margin-bottom: 0;}
br {margin:0; height: 0;}
strong, em { font-style: normal; font-weight: var(--font-regular); }
p strong { font-weight: var(--font-bold); }
p em { font-style: italic;}
p img[src$='/logo.svg'] { display: inline-block; width: auto; height: .84em; transform: translateY(0.01em);}
fieldset legend { display: none;}
address { font-style: normal;}

:root {
    /* Fonts */
    --primary-font: "Gotham XNarrow", system-ui, sans-serif;
    --header-font: "Dazzle Unicase", system-ui, sans-serif;

    /* Font weights */
    --font-light: 300; 
    --font-regular: 400; 
    --font-medium: 500; 
    --font-bold: 700; 

    /* Font sizes */
    --font-size-h1: 3.6rem;     /* 74px */
    --font-size-h2: 2.4rem;     /* 48px */
    --font-size-h3: 1.8rem;     /* 36px */
    --font-size-h4: 1.4rem;     /* 28px */
    --font-size-h5: 1.2rem;     /* 24px */
    --font-size-h6: 1rem;       /* 20px */
    --font-size-body: 1rem;     /* 20px */
    --font-size-small: .7rem;   /* 14px */


    /* Colors */  
    --main-color: var(--my-blue);
    --background-color: var(--my-faded-blue);

    --my-white: #FFF; 
    --my-blue: #22468A; 
    --my-faded-blue: #F1F4F7; 
    
    --my-apple-kiwi-green: #5FCF5F;
    --my-blueberry-acai-blue: #00B5E1;
    --my-cherry-red: #FF3F73;
    --my-lemon-yellow: #F3D03F;
    --my-rhubarb-strawberry-pink: #E24685;
    --my-peach-yuzu-orange: #F78F25;
    --my-lemon-lime-green: #7FC060;
    --my-grape-gojiberry-pink: #F65276;
    --my-berries-purple: #A57FB2;  
    
    --my-water: radial-gradient(62.54% 64.54% at 59.84% 25.85%, #E5EBF2 2.05%, #D8E1EB 22.02%, #BDCCDF 43.21%, #B0C2D9 54.31%, #94ADCB 75.41%, #86A1C4 87.42%, #7695BC 100%);
    --my-inverted-water: radial-gradient(62.54% 64.54% at 59.84% 25.85%, #7695BC 2.05%, #86A1C4 22.02%, #94ADCB 43.21%, #B0C2D9 54.31%, #BDCCDF 75.41%, #D8E1EB 87.42%, #E5EBF2 100%);

    --odf-pink: #EAA0A5;
    --odf-creme: #F9F4EE;

    /* Line heights */
    --line-height-small: 1;
    --line-height-regular: 1.2;
    --line-height-large: 1.6; 

    /* Widths */
    --gutter-side: 1rem;
    --gutter-top: 1rem;
    --max-width: 80rem;
    --max-width-ultra-wide: 150rem;
    --max-width-narrow: 35rem;
    --width: calc(100% - calc(var(--gutter-side) * 2));
    --gap: 4rem; 

    /* Margins */
    --margin: var(--margin-y) auto;
    --margin-y: 5rem; 
    --padding-top: 0rem;
    --btn-padding: 0.95em 1.75em;

    /* Transitions */
    --my-ease-out: cubic-bezier(.17,.84,.44,1); 

    /* Shadows */
    --drop-shadow: 0px 3px 6px 0 rgba(0,0,0,0.16);
    --blur-shadow: 10px 10px 30px 0 rgba(0,0,0,0.16);

    /* Borders */
    --border-radius: 1.25rem; 
    --large-border-radius: calc(var(--border-radius) * 2);
    --half-border-radius: calc(var(--border-radius) / 2);
    --btn-border-radius: 1em; 

    /* Logos */
    --logo-width: 5rem; 
}

/* --------------- HEADERS --------------- */
h1,.h1 ,h2,.h2 ,h3,.h3, h4,.h4, h5, .h5, h6, .h6  {font-weight: var(--font-light); font-family: var(--header-font);  line-height: var(--line-height-regular); margin-bottom: 0.25em; }
h1, .h1 {font-size: var(--font-size-h1); } 
h2, .h2 {font-size: var(--font-size-h2); }
h3, .h3 {font-size: var(--font-size-h3);  }
h4, .h4 {font-size: var(--font-size-h4); } 
h5, .h5 {font-size: var(--font-size-h5); } 
h6, .h6 {font-size: var(--font-size-h6); } 
.p { font-size: var(--font-size-body);}
.small { font-size: var(--font-size-small);}
:is(h1,.h1 ,h2,.h2 ,h3,.h3, h4,.h4, h5, .h5, h6, .h6) strong  {font-weight: var(--font-bold); }

/* --------------- GENERAL --------------- */
body { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
section:first-of-type .container {  margin-top: 2rem; }
header, main, footer { max-width: var(--max-width-ultra-wide); width: 100%; margin: 0 auto; position: relative; }
nav#desktop, footer > .nav, .container {max-width: var(--max-width); width: var(--width); margin: var(--margin); position: relative; }
section { margin: 0 auto; position: relative; }
section.ultrawide { max-width: var(--max-width-ultra-wide); width: 100%; }
section.narrow { max-width: var(--max-width-narrow); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: rect(0 0 0 0); }
body:not(.touch) .visually-hidden-mouse { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: rect(0 0 0 0); }


/* IMAGES */
figure, picture { position: relative;}
picture.abs img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
picture { display: flex; }
img, video { width: 100%; height: auto; user-select: none;}

/* SELECTION */
*::selection { background: var(--main-color); color: var(--background-color); }

/* NO VISIBLE SCROLLBAR */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; } .no-scrollbar::-webkit-scrollbar { display: none; }

/* BUTTONS */
button { all: unset; box-sizing: border-box; margin: 0; padding: 0; border: 0; touch-action: manipulation;  text-align: center; }
button,label { cursor: pointer;  user-select: none; }
.btn { background: var(--main-color); color: var(--background-color); padding: var(--btn-padding); border-radius: var(--btnborder-radius); text-align: center;  }

/* WATER */
.waterbox { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; max-width: calc(var(--max-width) + 20rem); margin: 0 auto; right: 0;   z-index: -1; }
.water {  --water-width: 20rem; --water-height: 20rem; width: var(--water-width); height: var(--water-height); position: absolute;   border-radius: 64% 36% 31% 69% / 43% 30% 70% 57%;  animation: morph var(--time, 60s) var(--delay, 0s) ease-in-out infinite alternate;  will-change: border-radius;   box-shadow: 0px 0px 0 .25rem #CBD7E6; filter: blur(.075rem);   }
.water > div {  position: absolute; width: 100%; height: 100%;  border-radius: 64% 36% 31% 69% / 43% 30% 70% 57%;  animation: morph var(--time, 60s) var(--delay, 0s) ease-in-out infinite alternate;  will-change: border-radius; overflow: hidden;  display: grid; place-items: center; }
.water > div > span { width: calc(max(var(--water-height), var(--water-width)) + 3rem); height: calc(max(var(--water-height), var(--water-width)) + 3rem); display: block; background: var(--own-water, var(--my-water));  animation: spin 50s ease-in-out infinite alternate;  position: absolute; }

/* TAG */
.tag { background: var(--main-color); color: var(--my-white); padding: var(--btn-padding); max-width: max-content; border-radius: 100vmin; font-weight: var(--font-medium); }

@media only screen and (min-width: 2400px) {
    .waterbox { max-width: calc(var(--max-width) + 7.5rem); overflow: visible;}
}


/* --------------- HEADER --------------- */
header { position: sticky;  z-index: 2;  --link-padding: .6em; left: 0; right: 0; margin: 0 auto;  top: 0; }
header img, header svg { width: 100%; transition: 500ms var(--my-ease-out); transform-origin: top; will-change: transform;  }
body.loading header svg, body.loading nav#desktop > h1 { transition: 0s;}
nav#mobile, .burger, .mobile { display: none;  }
#skiplink { position: fixed;  left: 50%; top: -40rem; transform: translate(-50%, -50%);  text-transform: none; font-size: 1rem; background: var(--my-white);  opacity: 0; pointer-events: none; text-align: center; padding: 0.5rem;  z-index: 99;}
#skiplink:focus { top: 4rem; opacity: 1; pointer-events: all; }

/* DESKTOP NAV */
nav#desktop { margin: 0 auto; padding: var(--gutter-top) 0 0; transition: padding-top 250ms ease; } 
nav#desktop > h1 { transform-origin: top; transition: transform 750ms ease; margin: 0; display: flex; }
nav#desktop > h1 a { display: flex; width: 100%;  }
nav#desktop > ul { display: flex; justify-content: flex-end; align-items: center;}
nav#desktop > ul li {position: relative; display: flex; }
nav#desktop > ul li a { display: flex; }
nav#desktop > ul li:is(.active, :hover) > a { text-decoration: underline;}
nav#desktop > ul > li:first-of-type {margin-right: auto; max-width: var(--logo-width); }
nav#desktop > ul > li:not(:first-of-type) {margin-left: 1.5rem; }
nav#desktop > ul > li:not(:first-of-type) > a { padding: var(--link-padding); }
nav#desktop > ul > li:last-of-type > a {padding-right: 0;}

/* MOBILE NAV */
nav#mobile { position: fixed; top: 0; transform: translateX(-100%); transition: 500ms ease; height: 100vh; height: 100dvh; width: 100%; display: flex; flex-direction: column; align-items: center; background: var(--background-color); }
nav#mobile > ul { display: flex;flex-direction: column; height: 100%; margin-top: var(--padding-top); padding: 0 2em; }
nav#mobile > ul > li { display: flex; transition: 500ms ease; }
nav#mobile > ul > li > a { padding: 0.5rem;  }

/* Burger */
input.burger { display: none; }
label.burger { position: absolute; right: var(--gutter-side); top: var(--gutter-top);  width: 1.2rem; height: calc(0.8rem + 3px); transition: 500ms ease;  z-index: 99;  display: none; align-items: center;  }
label.burger::before { content: ""; position: absolute; --_excess: -.25rem;   top: var(--_excess); left: var(--_excess); width: calc(100% + var(--_excess) * -2); height: calc(100% + var(--_excess) * -2);}
label.burger > span { width: 1.2rem; height: 3px; position: absolute; background: var(--main-color); transition: 500ms ease; }
label.burger > span:nth-of-type(2) { transform: translateY(-.4rem); }
label.burger > span:nth-of-type(1) { transform: none }
label.burger > span:nth-of-type(3) { transform: translateY(.4rem); }

/* Burger checked */
input.burger:checked ~ header label.burger { transform: rotate(-180deg)  }
input.burger:checked ~ header label.burger span:nth-of-type(1) { transform: rotate(45deg);}
input.burger:checked ~ header label.burger span:nth-of-type(2) { transform: scaleX(0);}
input.burger:checked ~ header label.burger span:nth-of-type(3) { transform: rotate(-45deg);}
input.burger:checked ~ header nav#mobile { transform: none;  }


/* --------------- FOOTER --------------- */
footer { background: var(--my-blue); border-radius: var(--large-border-radius) var(--large-border-radius) 0 0;  color: var(--my-white);  overflow: hidden;  isolation: isolate;}
footer .nav { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 1.6rem 8rem; margin-bottom: 2.4rem; z-index: 2; }
footer .nav > div { max-width: 22.5rem; font-size: var(--font-size-h4);} 
footer .nav > div > a { display: flex; margin-bottom: 1.6rem;}
footer .nav > div > a ~ * { max-width: 18rem;}
footer .nav address { display: flex; flex-direction: column; gap: 1.2rem;}
footer .nav address a:hover {text-decoration: underline; }

footer .nav > p  { font-size: 0.7rem; margin-top: 5rem; }
footer .nav > p a { padding: .5em .75em; border-radius: 100vmin; }
footer .nav > p a:hover  { color: var(--odf-creme); background: var(--odf-pink);  text-decoration: none;}

footer .waterbox { z-index: -2; }
footer .water:nth-of-type(1) { right: -2rem; --water-width: 25rem;  bottom: -5rem; --delay: 20s; --time: 80s; --own-water: var(--my-inverted-water);  }
footer .water:nth-of-type(2) { left: -2.5rem; --water-width: 15rem; --water-height: 10rem;  bottom: -2.5rem; --time: 40s; }
footer .water:nth-of-type(3) {  left: 50%; top: 50%; transform: translate(-55%, -50%) rotate(90deg); --water-width: 8rem; --water-height: 8rem;  filter: blur(.25rem);}

/* footer > nav > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); grid-gap: 1rem;  } */

ul.socials { display: flex; align-items: center; gap: 0.2rem; --icon-size: 1.8rem;  }
ul.socials li { position: relative; display: flex; justify-content: center; align-items: center;  }
ul.socials li a {width: var(--icon-size); height: var(--icon-size); display: flex; justify-content: flex-start; align-items: center; }
ul.socials li svg { width: var(--icon-size); height: var(--icon-size); }


@media only screen and (max-width: 1024px) {
    footer .water:nth-of-type(1) { display: none; }
    footer .water:nth-of-type(3) {  right: 0; left: unset; }
}


@media only screen and (max-width: 768px) {
    footer .nav { grid-gap: 1.6rem; grid-template-columns: 1fr; }
    footer .water:nth-of-type(3) {  transform: translate(0); top: -5rem;}

}

/* --------------- SECTIONS --------------- */
/* =========================================================== */
/* ========================= LANDING ========================= */
/* =========================================================== */
section.landing .container { height: clamp(22rem, 60vh, 29rem); margin-bottom: 0;  }
section.landing .h2 { font-weight: var(--font-medium); }
section.landing .md { font-size: var(--font-size-h4); max-width: 12em;}
section.landing .bottles { position: absolute; --y-overflow: 5rem;  top: calc(var(--y-overflow) * -2); left: 0; width: 100%; height: calc(100% + var(--y-overflow) * 4.5); text-align: center; display: flex; align-items: center; justify-content: center; overflow-x: clip;  mask-image: linear-gradient(-15deg, transparent 5%, black 15%);  z-index: 3;  }
section.landing .bottles .inner {  position: relative; max-width: var(--max-width); width: var(--width); margin: 0 auto;   display: flex; align-items: center; justify-content: center;  height: 100%;  }
section.landing .bottles ul { width: 100%; aspect-ratio: 1/1; position: absolute;  display: flex; justify-content: center;   align-items: center;  border-radius: 50%;  transform: translate(25%, 45%); animation: spinWheel 180s linear infinite; }
section.landing .bottles li { position: absolute;  width: 11%;  transform: rotate(calc(-90deg + var(--i, 0) * 22.5deg)) translateY(-80%) scale(0) rotate(-35deg); z-index: 1;  transition: transform 4000ms var(--my-ease-out);  }
section.landing .bottles li img { animation: bounce 3s ease-in-out 00ms infinite alternate; }
section.landing .bottles li:nth-of-type(3n+1) img { animation: bounce 3s ease-in-out 1500ms infinite alternate; }
section.landing .bottles li:nth-of-type(3n+2) img { animation: bounce 3s ease-in-out 3000ms infinite alternate; }

section.landing:not(.loading) .bottles li { transform: rotate(calc(-40deg + var(--i, 0) * 22.5deg)) translateY(-120%); }

/* WATER */
section.landing .water:first-of-type { bottom: 1rem; left: calc(var(--water-width) * -.15); --water-height: 25rem;  --delay: -25s }
section.landing .water:last-of-type { right: calc(var(--water-width) * -.25); bottom: calc(var(--water-height) / 2 );  --water-height: 30rem;  transform: rotate(-10deg); }
section.landing .waterbox { top: -10rem;  height: calc(100% + 20rem); }  

/* MIN */
@media only screen and (min-width: 768px) {
    section.landing .bottles { clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 100%, 70% calc(100% - 12.5rem), 0 calc(100% - 12.5rem));}
}

/* MAX */
@media only screen and (max-width: 1024px) {
    section.landing .bottles { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12.5rem), 0 calc(100% - 12.5rem));}
    section.landing .bottles ul { width: 120%;}
    section.landing:not(.loading) .bottles li { transform: rotate(calc(-40deg + var(--i, 0) * 22.5deg)) translateY(-115%); }
    

    section.landing .water:first-of-type { bottom: 1rem; --water-height: 18rem;   }
    section.landing .water:last-of-type { --water-height: 22rem; top: 25%; bottom: unset;   }
}

@media only screen and (max-width: 768px) {    
    section.landing .bottles {  mask-image: none;}
    section.landing .bottles ul { width: 55rem;}


    section.landing .water:first-of-type { --water-width: 30vw; --water-height: 30vw; }
    section.landing .water:last-of-type { --water-width: 30vw; --water-height: 35vw;}
    
}

@media only screen and (max-width: 550px) {    
    section.landing .container { height: 24rem;  margin-top: .5rem; }
    section.landing .bottles ul { width: 40rem;  animation: spinWheel 70s linear infinite; right: -7rem;  bottom: 2%; }
    section.landing .bottles li { transform: rotate(calc(-10deg + var(--i, 0) * 22.5deg)) translateY(-80%) scale(0) rotate(15deg); }
    section.landing:not(.loading) .bottles li { transform: rotate(calc(-40deg + var(--i, 0) * 22.5deg)) translateY(-110%); }
}

/* =========================================================== */
/* ========================== ABOUT ========================== */
/* =========================================================== */
section.about .container { background: var(--my-white); border-radius: var(--border-radius); padding: 4.5rem 3rem; margin-top: 0; grid-template-columns: 1fr 1.25fr;display: grid; grid-gap: 5rem 4rem;  overflow: hidden;}
section.about .tag { grid-column: -1/1;}
section.about .h2 { line-height: var(--line-height-regular); max-width: 11.5em; }
section.about p.sub { margin-top: 2rem; max-width: 20rem;}
section.about figure { width: calc(100% + 4rem); margin-top: -3rem; border-radius: 49% 51% 31% 69% / 42% 23% 10% 58%;  animation: morphSubtle 40s ease-in-out infinite; overflow: hidden; align-self: center;}
section.about figure::after { content:  "";  box-shadow: inset 1rem -1rem 0.5rem var(--my-white); position: absolute; top: 0; left: 0; width: 100%; height: 100%;  border-radius: 49% 51% 31% 69% / 42% 23% 10% 58%;  animation: morphSubtle 40s ease-in-out alternate infinite;  opacity: .37;}


@media only screen and (max-width: 1024px) {
    section.about .container { grid-template-columns: 1.2fr 1fr; padding: 2rem 1rem; grid-gap: 2rem; }
    section.about figure { grid-column: 2; margin: 0; }
}

@media only screen and (max-width: 768px) {
    section.about article { grid-column: -1/1;}
    section.about article .h2 { font-size: var(--font-size-h3);}
    section.about figure { grid-column: -1/1; max-width: 35rem; margin: 0 -3rem 0 auto; width: calc(100% - 0rem); }
}

/* =========================================================== */
/* ======================= TEXT SLIDER ======================= */
/* =========================================================== */
section:has(+section.slider) .container { margin-bottom: 0; padding-bottom: 13rem;  border-radius: var(--border-radius) var(--border-radius) 0 0; }
section.slider {  overflow: hidden;  z-index: 2; margin-top: -9.675rem; max-width: 100vw;  pointer-events: none;}
section.slider .container { width: 100%; display: flex; justify-content: center;  margin: 0 auto;  }
section.slider svg  { width: 250%; flex-shrink: 0; height: auto;  transform: translateX(5%); }
section.slider svg path { stroke: var(--my-blue); }
section.slider text { color: var(--my-white); transform: translateY(6%);  fill: var(--my-white);   font-weight: var(--font-bold); font-family: var(--header-font);}

section.slider + section { margin-top: calc(var(--margin-y) * -1 - 9.675rem); }


@media only screen and (max-width: 1100px) {
    section.slider svg { transform: translate(5, 5%); }
    section:has(+ section.slider) .container { padding-bottom: 12rem;  }
    section.slider { margin-top: -7.5rem; }
}

@media only screen and (max-width: 950px) {
    section:has(+ section.slider) { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);}
    section:has(+ section.slider) .container { padding-bottom: 8rem;  }
    section.slider { margin-top: -6rem; }
    section.slider + section { margin-top: calc(var(--margin-y) * -1 - 4rem);}
}

@media only screen and (max-width: 500px) {
    section.slider + section { margin-top: calc(var(--margin-y) * -1 - 2rem);}
    section:has(+ section.slider) { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 95%); }
}


/* =========================================================== */
/* ========================== TITLE ========================== */
/* =========================================================== */
section.title .container { display: flex; flex-direction: column; align-items: center; }
section.title .h2 { max-width: 18em; text-align: center;}

section.title .waterbox { top: -10rem; height: calc(100% + 20rem);}
section.title .water { right: calc(var(--water-width) / -2.5);  top: 5rem; opacity: 0.3; }


@media only screen and (max-width: 768px) {
    section.title .h2 { max-width: 10em; font-size: var(--font-size-h3); }
    section.title .water { top: 10vw; --water-width: clamp(5rem, 50vw, 20rem); --water-height: clamp(5rem, 50vw, 20rem); }
}



/* =========================================================== */
/* ======================== PRODUCTS ========================= */
/* =========================================================== */
section.products .h3 { font-weight: var(--font-bold); padding: 1.8rem 1.8rem 0; max-width: 11.5em; z-index: 2;}
section.products .list { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 1.5rem;} 
section.products .list > li { background: var(--my-white); border-radius: var(--border-radius); display: flex; flex-direction: column; overflow: hidden; }

section.products .grid { padding: 0 1.8rem 0rem;  display: grid; grid-template-columns: 1fr 6rem; margin-top: auto;  }
section.products .grid .h2 { font-family: var(--primary-font); margin-bottom: 0; line-height: var(--line-height-small); color: var(--own-color); } 
section.products .grid .h2 span:first-of-type { font-size: var(--font-size-h1);  display: block; margin-bottom: -.1em;  font-weight: var(--font-bold) ;}

section.products .variants .titles {  margin-top: 3.2rem; position: relative; }
section.products .variants .pictures {  margin-top: -3rem; grid-row: span 2;  position: relative;  }
section.products .grid picture { isolation: isolate;}
section.products .grid picture::before { content: ""; width: 60%; height: 40%; background: radial-gradient(circle, #000, transparent); content: ""; border-radius: 50%; position: absolute; bottom: 3%; transform-origin: bottom; left:40%; transform: translate(-60%, 0) rotate(40deg); opacity: .2; filter: blur(1rem); z-index: -1;}

section.products .bottom {  background: var(--my-blue); color: var(--my-white); border-radius: 0 0 var(--border-radius) var(--border-radius); font-size: var(--font-size-h4); position: relative; margin-top: 1.6rem; }
section.products .bottom p { display: flex; align-items: center; justify-content: space-between; margin: 0;  padding: 1.6rem 1.8rem 1.5rem;  width: 100%; }
section.products .bottom p span { width: calc(100% / 3); }
section.products .bottom p span + span { text-align: center;}
section.products .bottom p span:last-of-type { text-align: right;}

section.products .buttons {  display: flex; gap: .6rem; align-items: center; margin-bottom: .5rem; }
section.products .buttons button { width: 2.6rem; height: 2.6rem; border-radius: 50%; padding: 0; display: grid; place-items: center; transition: background 250ms;}
section.products .buttons button svg { width: 20%; margin-left: .25em; transition: transform 250ms;}
section.products .buttons button:not(.scroll):hover { background: var(--own-color);}
section.products .buttons button:hover svg { transform: translateX(.1em); }
section.products .buttons button:first-of-type { transform: scale(-1);}

section.products [data-active] { transition: opacity 500ms, transform 500ms; }
section.products .h2[data-active] {  transform: translateX(-.15rem); }
section.products .h2[data-active=true] { transform: none }
section.products [data-active=false] { opacity: 0; pointer-events: none; transition-delay: 125ms;}

section.products .variants > div:not(.buttons) > *:not(:first-child),
section.products .bottom  > *:not(:first-child) { position: absolute; top: 0; }

body.touch section.products .list > li > :is(.variants, .bottom) { display: none; }

/* Touch */
section.products .slider { display: flex; overflow: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;  margin-top: -5rem; padding-top: 8rem;   z-index: 3; position: relative; }
section.products .products-array {  position: relative;   flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
section.products .products-array .buttons { position: absolute; left: 1.8rem; bottom: 7.75rem; z-index: 3;}
section.products .products-array .buttons button { transition: opacity 500ms ease,  background 500ms; background: var(--own-color); will-change: opacity;}
section.products .products-array.left .buttons button:first-of-type,
section.products .products-array.right .buttons button:last-of-type { opacity: 0.5; }
section.products .products-array::before { position: absolute; bottom: 0; left: 0; height: 4.75rem; content:""; background: var(--my-blue); width: 100%; }
section.products .productcard  { width: 100%; flex-shrink: 0; scroll-snap-align: center;   padding-inline: 1.8rem; margin-top: -6rem; overflow: hidden; padding-top: 3rem;}

section.products .productcard .h2 { margin-top: 3.2rem; }
section.products .productcard .bottom { grid-column: -1/1; background: none;}
section.products .productcard .bottom p {padding-inline: 0;}

@media only screen and (min-width: 1150px)  {
    section.products .grid .h2 span.lil { font-size: var(--font-size-h2); }
}

@media only screen and (max-width: 1150px) {
    section.products .list { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}


@media only screen and (max-width: 500px)  {
    section.products .grid {  grid-template-columns: 1fr 5rem; }
    section.products .grid .h2 span.lil { font-size: var(--font-size-h2); }
    section.products .variants .pictures,
    section.products .productcard picture { margin-top: -2rem; }
    section.products .products-array .buttons {bottom: 7rem; }
}




/* --------------- PROSE CONTENT --------------- */
.prose > * + * { margin: 1.5em 0 0;}
.prose img,  .prose iframe { width: 100%; } 
.prose ul, .prose ul ul ul { list-style: disc;}
.prose ul ul,.prose ul ul ul ul { list-style: circle; }
.prose :is(ol,ul)  { padding-left: 1em;}
.prose :is(ol,ul) :is(ol,ul) { margin: .5em 0; }
.prose blockquote { position: relative; font-style: italic; font-size: 1.5rem; padding-left: .8em; border-left: .25rem solid var(--main-color);}
.prose > * strong { --font-weight: var(--font-bold); }
.prose > * em { font-style: italic; }
.prose a:not(.btn) { text-decoration: underline; }
.prose code { font-family: monospace; background: #ddd; padding: .2rem; }
.prose :is(h1,h2,h3,h4) + :is(h1,h2,h3,h4) { margin-top: .2em;}


/* --------------- 404 PAGE --------------- */
section.not-found .container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }


/* --------------- COOKIE BANNER COLORS --------------- */
section.odf__cookies.odf__cookies { 
    --odf_main_color: black;
    --odf_background_color: white; 
    --odf_highlight_color: maroon; 
}


/* --------------- MEDIA QUERIES --------------- */
/* MIN */
@media only screen and (min-width: 1024px) {
    header.sticked nav#desktop > h1 { transform: translateY(1rem) scale(.15);  }
}

/* MAX */
@media only screen and (max-width: 768px) {
    :root { 
        --logo-width: 2.5rem; 
        --gutter-top: 1rem; 
        --gutter-side: 1rem; 
    }
    nav#mobile, .mobile { display: block; }
    header { z-index: 5; }
    header svg { transition: 0s; position: relative; }
    body.ios-safari  header svg { margin-top: -.8rem;}
    /* label.burger { display: flex; } */
    nav#desktop li:not(:first-of-type) { display: none; }
}

@media only screen and (max-width: 350px) {
    html { font-size: 4.575vw;}
}

/* --------------- REDUCED MOTION --------------- */
@media (prefers-reduced-motion) { }
  

/* --------------- ANIMATIONS --------------- */
@keyframes morph {
    0% {border-radius: 64% 36% 31% 69% / 46% 54% 46% 54%;}
    20% {border-radius: 47% 53% 40% 60% / 46% 54% 46% 54%;}
    40% {border-radius: 37% 63% 40% 60% / 66% 74% 26% 34%;}
    60% {border-radius: 67% 33% 74% 26% / 65% 63% 37% 35%;}
    70% {border-radius: 64% 36% 74% 26% / 55% 75% 25% 45%;}
    90% {border-radius: 64% 36% 31% 69% / 43% 60% 40% 57%;}
    100% {border-radius: 67% 33% 40% 60% / 33% 63% 37% 67%;}
}
@keyframes morphSubtle {
    0% {border-radius: 49% 51% 31% 69% / 42% 23% 10% 58%;}
    33% {border-radius: 59% 41% 25% 75% / 50% 18% 5% 68%;}
    66% {border-radius: 56% 44% 27% 73% / 48% 33% 7% 70%;}
    100% {border-radius: 49% 51% 31% 69% / 42% 23% 10% 58%;}
}
@keyframes spin {
    0% { transform: rotate(.0turn); }
    20% { transform: rotate(.2turn); }
    40% { transform: rotate(.25turn); }
    60% { transform: rotate(.3turn); }
    70% { transform: rotate(.35turn); }
    90% { transform: rotate(.3turn); }
    100% { transform: rotate(.1turn); }
}

@keyframes bounce { 
    0% { transform: translateY(0)}
    100% { transform: translateY(-3%)}
}

@keyframes spinWheel { 
    0%{ transform: translate(25%, 45%) rotate(0turn);}
    100%{ transform: translate(25%, 45%) rotate(1turn);}
}