@font-face {
    font-family: "sublima";
    font-weight: 300;
    src:
        url("fonts/sublima/Sublima-ExtraLight.otf") format("opentype"),
        url("fonts/sublima/Sublima-ExtraLight.ttf") format("truetype");
}
@font-face {
    font-family: "sublima";
    font-weight: 600;
    src:
        url("fonts/sublima/Sublima-ExtraBold.otf") format("opentype"),
        url("fonts/sublima/Sublima-ExtraBold.otf") format("truetype");
}
@font-face {
    font-family: "lt_superior";
    src: url("fonts/lt_superior/LTSuperior-Light.otf") format("opentype");
    font-weight: 300;
}
@font-face {
    font-family: "lt_superior";
    src: url("fonts/lt_superior/LTSuperior-Bold.otf") format("opentype");
    font-weight: 700;
}
* {
    font-family: "sublima";
}

:root {
    --violet: #4a4a71;
    --mauve: #d2d1e2;
    --superlight-mauve: #f9f9fc;
    --gris: #b9b9bd;
    --black: #000000;

    --silent:  #f9f9fc;
    --medium: #9898B3;
    --accent:  #4a4a71;

    --dark: #000;
    --light: #fff;
    --gray: #b9b9bd;

    --huge-gap-width: 8vw;
    --medium-gap-width: 5vw;
    --tiny-gap-width: 1vw;

    --huge-gap-height: 8vh;
    --medium-gap-height: 5vh;
    --tiny-gap-height: 1vh;

    --radius: 3px;

}

body {
    /* background-color: var(--silent); */
    padding: var(--medium-gap-height) 0;
    margin:0;
}
body > * {
    padding:  var(--tiny-gap-height) var(--huge-gap-width);
}

h1, h2, h3 {
    display: block;
    font-family: "lt_superior";
    font-weight: 300;
    padding: 0;
    margin: 0;
}
h1 {
    line-height: 0.9em;
    padding-bottom: 0.2em;
}
h2 {
    line-height: 1.1em;
}

img {
    width:100%;
    border-radius: 3px;
}
a {
    color:var(--black);
    text-decoration: none;
}
ul {
    padding: 0;
	list-style: none;
}
section, nav {
    margin: 5vh 0;
}
nav a {
    padding: 1em 2em 1em 0;
    color:var(--violet);
    text-transform: uppercase;
    letter-spacing: .5em;
}
#shop {
    display:flex;
}
#shop article {
    width: 28%;
    margin-right: 6%;

}
#shop article img {
    margin-bottom: 1em;
}
#shop article:hover *{
    color: var(--violet);
}

#shop article h1, #shop article h2{
    max-width: 80%;
    float:left;
}

#shop article h2{
    font-size: 1.1em;
}
#shop article h3{
    font-family: "sublima";
    font-size: 1.8em;
    font-weight: 600;
    text-align:right;
}

#shop article h3.from-price:before {
    content: "A partir de";
      position:absolute;
      font-size: 0.36em;
      font-weight: 300;
      line-height: 0.7em;
    text-transform: uppercase;
    transform: translateY(-0.7em);
}
#shop article.coming-soon::before {
    content: "coming soon";
      position: absolute;
      background: black;
      color: white;
      padding: 1em 4em 1em 2em;
      border-radius: 0 0 100px 0;
}

#product {
    display:flex;
    flex-wrap: wrap;
    gap: var(--medium-gap-width);
}
#product header {
    width: 100%;
}
#product article {
    flex: 3;
}
#product aside{
    flex: 2;
    max-width: 340px;
}
#roadmap {
    padding-left:1em;
    border-left: 2px solid var(--black);
}
#roadmap .done::before {
  content: "";
  display: inline-block;
  width: 0.65em;
  height: 0.35em;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-50deg);
  margin-right: 0.3em;
  vertical-align: 0.2em;
}

.thank-you {
    text-align: center;
    margin: 15vh auto;
}

.thank-you h1 {
    margin-bottom: 1em;
}

.thank-you p {
    margin-bottom: 2em;
}

.thank-you a {
    color: var(--violet);
    text-decoration: underline;
}

.product-gallery {
    min-width: 0;
}
#product img.big {

    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;

}
.images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.images .thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 1px solid transparent;
    box-sizing: border-box;
}
.images .thumbnail:hover,
.images .thumbnail.active {
    opacity: 1;
    border: 1px solid var(--violet);
}

/* Tablettes */
@media screen and (max-width: 900px) {


    #shop article {
        width: 45%;
        margin-right: 5%;
    }

    #product section:first-child {
        width: 55%;
    }

    #product section:last-child {
        width: 45%;
    }
}

/* Mobiles */
@media screen and (max-width: 600px) {
    body > nav {
        padding:  0;
    }
    nav {
        background-color: var(--black);
        width: 100vw;
        position: fixed;
        bottom: 0;
        height: 10vh;
        margin: 0;
        padding: 0;
        display:flex;
        justify-content: center;
    }

    nav a {
        color:var(--superlight-mauve);
        padding-right: 1em;
        letter-spacing: 0.2em;
    }

    #shop {
        flex-direction: column;
    }

    #shop article {
        width: 100%;
        margin: 0 0 3em 0;
    }

    #shop article h1{
        font-size: 1.5em;
        width:100%
    }
    #shop article h2 {
        font-size: 0.9em;
    }

    #product {
        flex-direction: column;
    }

    #product article,
    #product aside {
        flex: none;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
}



/*********/
