@charset "UTF-8";
@font-face {
  font-family: "Zetkin";
  src: url("../src/fonts/Zetkin-Wide.woff2") format("woff2"), url("../src/fonts/Zetkin-Wide.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zetkin";
  src: url("../src/fonts/Zetkin-WideOblique.woff2") format("woff2"), url("../src/fonts/Zetkin-WideOblique.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "AtlantiqueMiami";
  src: url("../src/fonts/AtlantiqueMiami-Medium.woff2") format("woff2"), url("../src/fonts/AtlantiqueMiami-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AtlantiqueMiami";
  src: url("../src/fonts/AtlantiqueMiami-MediumItalic.woff2") format("woff2"), url("../src/fonts/AtlantiqueMiami-MediumItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Dyade";
  src: url("../src/fonts/Dyade-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(230, 230, 230, 0.5);
}

html {
  font-family: "Zetkin";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding-bottom: 36px;
  overflow-x: hidden;
}

header {
  width: 100%;
  padding: 10px 40px 0 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  grid-template-areas: "logo menu menu menu menu menu menu menu menu menu menu dot";
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 20;
}
header h1 {
  grid-area: logo;
  font-family: "Dyade";
  font-weight: normal;
  font-size: 20px;
  line-height: 17px;
  letter-spacing: 0.05em;
  transform: translateY(-7px);
}
header h1 a {
  color: black;
  text-decoration: none;
}
header nav {
  grid-area: menu;
}

#menu-shadowwrapper {
  width: 100%;
  height: 100%;
}

#menu-innerwrapper {
  max-width: 1100px;
  margin: 0 auto;
}

#menu {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
#menu li.menu_item {
  display: block;
  width: 20%;
  max-width: 174px;
  height: 28px;
  list-style: none;
  font-family: "Zetkin";
  font-size: 11px;
  line-height: 26px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
  border-radius: 14px;
  border: 1px solid black;
  background-color: white;
  transition: all 250ms ease-in-out;
  cursor: pointer !important;
}
#menu li.menu_item a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
#menu li.menu_item.current, #menu li.menu_item:hover {
  color: white;
  background-color: black;
  transition: all 250ms ease-in-out;
}
#menu li.menu_item.current a, #menu li.menu_item:hover a {
  color: inherit;
}

#asterisk {
  border: none;
  background: none;
  width: 1.8vw;
  height: 1.8vw;
  display: none;
}
#asterisk img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

#shop-buttons {
  grid-area: dot;
  justify-self: end;
}

#custom-select {
  display: none;
  width: 45px;
  height: 28px;
  position: relative;
  font-family: "Zetkin";
  font-size: 11px;
  letter-spacing: 0.05em;
}

.select-hidden {
  display: none;
  visibility: hidden;
}

.select-styled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 7px 9px 0 0;
  text-align: right;
}
.select-styled:hover {
  cursor: pointer;
}
.select-styled svg {
  position: absolute;
  top: 42%;
  right: 0;
  width: 7px;
  fill: black;
}

.select-options {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.select-options.hidden {
  display: none;
}
.select-options li {
  margin: 0;
  padding: 0 9px 0 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}

#cart-preview {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: none;
  font-family: "Zetkin";
  text-align: center;
  color: white;
  background-color: black;
  position: sticky;
  cursor: pointer;
}
#cart-preview.hidden {
  display: none;
}
#cart-preview .snipcart-items-count {
  opacity: 1;
  color: white;
}
#cart-preview .snipcart-items-count.hide {
  opacity: 0;
  color: black;
}

main.grid {
  width: 100%;
  padding: 0 40px 40px 40px;
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 0 10px;
  overflow-x: hidden;
}

h2 {
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 52px;
}
h2:first-of-type {
  grid-column: 2/6;
  grid-row: 1/2;
}

h6 {
  font-family: "Zetkin";
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: normal;
}

.mentions#mentions_legales {
  grid-column: 1/6;
  grid-row: 2/3;
}
.mentions#mentions_cgv {
  grid-column: 7/12;
  grid-row: 2/3;
}
.mentions h6 {
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: normal;
}
.mentions p {
  font-family: "AtlantiqueMiami";
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 26px;
}
.mentions p:last-of-type {
  margin-bottom: 0;
}
.mentions ul {
  font-family: "AtlantiqueMiami";
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 26px;
}
.mentions li {
  list-style: none;
  padding-left: 1em;
  position: relative;
}
.mentions li::before {
  content: "•";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (orientation: portrait) and (max-width: 1149px) {
  header {
    width: 100%;
    padding: 10px 10px 0 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "logo logo dot dot";
    gap: 10px;
  }
  header h1 {
    grid-area: logo;
    font-size: 23px;
    line-height: 19px;
    letter-spacing: 0.05rem;
    transform: translateY(-5px);
  }
  header nav {
    position: fixed;
    left: 9px;
    right: 9px;
    bottom: 10px;
    height: 40px;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  #menu-wrapper {
    grid-column: 1/-1;
    grid-row: 1/-1;
    width: calc(100vw - 20px);
    justify-self: end;
    align-self: center;
    opacity: 0;
    background-color: black;
    -webkit-clip-path: inset(0% 0% 0% 0% round 20px);
            clip-path: inset(0% 0% 0% 0% round 20px);
    position: relative;
    height: 100%;
  }
  #menu-wrapper.initial {
    display: block;
    width: calc(100vw - 20px);
    height: 40px;
    color: white;
    opacity: 1;
    position: relative;
  }
  #menu-wrapper.notvisible {
    position: relative;
    display: block;
    animation-name: closewrapper;
    animation-duration: 200ms;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    pointer-events: none;
  }
  #menu-wrapper.visible {
    display: block;
    width: calc(100vw - 20px);
    animation-name: openwrapper;
    animation-duration: 200ms;
    animation-delay: 200ms;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
  }
  @keyframes openwrapper {
    0% {
      margin-right: 100px;
      transform-origin: center right;
      transform: scale(0, 0);
      color: black;
      opacity: 0;
    }
    5% {
      margin-right: 100px;
      border-radius: 5px;
      transform-origin: center right;
      transform: scale(0.01, 0.3);
      color: black;
      opacity: 1;
    }
    65% {
      color: white;
    }
    100% {
      margin-right: 0;
      border-radius: 20px;
      transform-origin: center right;
      transform: scale(1, 1);
      color: white;
      opacity: 1;
    }
  }
  @keyframes closewrapper {
    0% {
      margin-right: 0;
      border-radius: 20px;
      transform-origin: center right;
      transform: scale(1, 1);
      color: white;
      opacity: 1;
    }
    35% {
      color: black;
    }
    95% {
      margin-right: 100px;
      border-radius: 5px;
      transform-origin: center right;
      transform: scale(0.01, 0.3);
      color: black;
      opacity: 1;
    }
    100% {
      margin-right: 100px;
      transform-origin: center right;
      transform: scale(0, 0);
      color: black;
      opacity: 0;
    }
  }
  #menu-shadowwrapper {
    width: calc(100vw - 20px);
    height: 100%;
  }
  #menu-shadowwrapper::before {
    content: "";
    width: calc(100vw - 20px);
    height: 100%;
    position: absolute;
    z-index: 2;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    pointer-events: none;
    box-shadow: inset -60px 0px 15px -50px black, inset 60px 0px 15px -50px black;
    border-radius: 22px;
  }
  #menu-innerwrapper {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  #menu-innerwrapper::-webkit-scrollbar {
    display: none; /* Webkit */
  }
  #menu {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 20px;
    width: -moz-fit-content;
    width: fit-content;
    height: 100%;
    padding: 0 18px;
    display: block;
    width: -moz-max-content;
    width: max-content;
  }
  #menu li.menu_item {
    display: block;
    width: -moz-max-content;
    width: max-content;
    height: 100%;
    flex-grow: 0;
    flex-shrink: 1;
    font-size: 12px;
    line-height: 39px;
    text-align: center;
    border-radius: 0;
    border: none;
    color: inherit;
    background-color: transparent;
    float: left;
    margin-right: 20px;
    -webkit-tap-highlight-color: transparent;
  }
  #menu li.menu_item:last-of-type {
    margin-right: 0;
  }
  #menu a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
  }
  #asterisk {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 10;
    border: none;
    background: none;
    width: 41px;
    height: 41px;
    cursor: pointer;
    display: block;
    opacity: 1;
    padding: 0;
    transition-delay: 500ms;
    transition-property: all;
    transition: all 400ms ease-in-out;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
  }
  #asterisk.hidden {
    opacity: 0;
    transform-origin: center center;
    transform: rotate(-90deg);
    pointer-events: none;
    transition-delay: 100ms;
    transition-property: all;
    transition: all 400ms ease-in-out;
    padding: 15px;
  }
  #asterisk:active {
    opacity: 0.9;
  }
  #shop-buttons {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 20;
  }
  #custom-select {
    width: 45px;
    height: 28px;
    position: relative;
    font-family: "Zetkin";
    font-size: 12px;
    letter-spacing: 0em;
  }
  .select-hidden {
    display: none;
    visibility: hidden;
  }
  .select-styled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 7px 9px 0 0;
    text-align: right;
  }
  .select-styled:hover {
    cursor: pointer;
  }
  .select-styled svg {
    position: absolute;
    top: 42%;
    right: 0;
    width: 7px;
    fill: black;
  }
  .select-options {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
  }
  .select-options.hidden {
    display: none;
  }
  .select-options li {
    margin: 0;
    padding: 0 9px 0 0;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    cursor: pointer;
  }
  main.grid {
    width: 100%;
    padding: 0 10px 10px 10px;
    margin-top: 58px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 0 10px;
  }
  body {
    min-height: 0;
    padding-bottom: 50px;
  }
  h2 {
    font-size: 24px;
    line-height: 29px;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 29px;
  }
  h2:first-of-type {
    grid-column: 1/-1;
    grid-row: 1/2;
  }
  .mentions#mentions_legales {
    grid-column: 1/-1;
    grid-row: 2/3;
  }
  .mentions#mentions_cgv {
    grid-column: 1/-1;
    grid-row: 4/5;
  }
  .mentions h6 {
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    font-weight: normal;
  }
  .mentions p {
    font-family: "AtlantiqueMiami";
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 26px;
  }
  .mentions ul {
    font-family: "AtlantiqueMiami";
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 26px;
  }
  #support-plans {
    position: fixed;
    width: auto;
    left: 2vw;
    right: 2vw;
    bottom: calc(10px + 50px);
    margin: 0;
    padding: 4vw 3vw;
    background-color: black;
    border-radius: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .support-plans_plan {
    flex-grow: 1;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr 100px;
    grid-template-rows: 16px auto;
    gap: 0 10px;
    font-size: 12px;
    line-height: 16px;
    color: white;
    padding-bottom: 0;
    border-bottom: none;
  }
  .support-plans_plan figure {
    display: none;
    grid-column: 1/-1;
    grid-row: 1/2;
    width: 100%;
    height: 340px;
    border-bottom: 1px solid black;
  }
  .support-plans_plan figure img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .support-plans_plan ul {
    grid-column: 2/4;
    grid-row: 1/3;
    display: block;
    list-style: none;
  }
  .support-plans_plan ul li {
    display: block;
    margin-bottom: 0;
  }
  .support-plans_plan ul li::before {
    content: none;
  }
  .support-plans_plan .price_chf {
    grid-column: 4/5;
    grid-row: 1/2;
    min-width: 70px;
    justify-self: start;
  }
  .support-plans_plan .price_eur {
    grid-column: 4/5;
    grid-row: 2/3;
    min-width: 70px;
    justify-self: start;
  }
  .support-plans_plan button.add {
    grid-column: 1/2;
    grid-row: 1/-1;
    justify-self: center;
    align-self: center;
    width: 40px;
    height: 40px;
  }
  .support-plans_plan button.add svg {
    display: block;
    width: 100%;
  }
  .support-plans_plan button.add svg circle {
    fill: black;
    stroke: white;
    stroke-miterlimit: 10;
    stroke-width: 6px;
  }
  .support-plans_plan button.add svg line {
    stroke: white;
    stroke-miterlimit: 10;
    stroke-width: 6px;
  }
  .support-plans_plan button.add svg:active circle {
    fill: white;
  }
  .support-plans_plan button.add span {
    display: none;
  }
}