@font-face {
  font-family: "Aeonik";
  src: url("../assets/fonts/aeonik/Aeonik-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Aeonik";
  src: url("../assets/fonts/aeonik/Aeonik-Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "Aeonik";
  src: url("../assets/fonts/aeonik/Aeonik-Bold.ttf");
  font-weight: 700;
}

@font-face {
  font-family: "Big Caslon";
  src: url("../assets/fonts/big-caslon/Big Caslon CC Italic.ttf");
  font-weight: 400;
}

:root {
  --ff-sans: "Aeonik", sans-serif;
  --ff-serif: "Big Caslon", serif;

  --container-columns: 12;
  --container-gap: 1rem;
  --container-column-width: 5.625rem;
  --container-x-padding: 1.875rem;

  --c-black: #020b1a;
  --c-accent-raw: 41 135 242;
  --c-accent: rgba(var(--c-accent-raw) / 1);
  --c-accent-light: #dfedff;
  --c-white-raw: 255 255 255;
  --c-white: rgba(var(--c-white-raw) / 1);
  --c-gray: #7c7c7c;
  --c-dark-gray: #505050;
  --c-beige: #f8f6f5;
  --c-danger: #ff4c4c;

  --offer-filters-offset: -7.90625rem;
  --header-height: 7.4375rem;
}

@media only screen and (max-width: 768px) {
  :root {
    --container-x-padding: 1.2rem;
    --offer-filters-offset: -8.375rem;
  }
}

.text-gray {
  color: var(--c-gray);
}

.text-dark-gray {
  color: var(--c-dark-gray);
}

.text-white {
  color: var(--c-white);
}

.text-accent {
  color: var(--c-accent);
}

.text-black {
  color: var(--c-black);
}

.bg-accent {
  background-color: var(--c-accent);
}

.bg-beige {
  background-color: var(--c-beige);
}

.ff-sans {
  font-family: var(--ff-sans);
}

.ff-serif {
  font-family: var(--ff-serif);
}

.fw-700 {
  font-weight: 700;
}

.fw-500 {
  font-weight: 500;
}

.fw-400 {
  font-weight: 400;
}

.fs-64 {
  font-size: 4rem;
  line-height: 1;
}

.fs-50 {
  font-size: 3.125rem;
  line-height: 1;
}

.fs-48 {
  font-size: 3rem;
  line-height: 1.041667;
}

.fs-36 {
  font-size: 2.25rem;
  line-height: 1.166667;
}

.fs-32 {
  font-size: 2rem;
  line-height: 1.3125;
}

.fs-28 {
  font-size: 1.75rem;
  line-height: 1.142857;
}

.fs-24 {
  font-size: 1.5rem;
  line-height: 1.208333;
}

.fs-22 {
  font-size: 1.375rem;
  line-height: 1.181818;
}

.fs-20-30 {
  font-size: 1.25rem;
  line-height: 1.5;
}

.fs-20-22 {
  font-size: 1.25rem;
  line-height: 1.1;
}

.fs-20 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.fs-18 {
  font-size: 1.125rem;
  line-height: 1.333333;
}

.fs-14 {
  font-size: 0.875rem;
  line-height: 1.214286;
}

@media only screen and (max-width: 768px) {
  .sm\:fs-40 {
    font-size: 2.5rem;
    line-height: 1;
  }

  .sm\:fs-36 {
    font-size: 2.25rem;
    line-height: 1.277778;
  }

  .sm\:fs-24 {
    font-size: 1.5rem;
    line-height: 1.333333;
  }

  .sm\:fs-20 {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .sm\:fs-18 {
    font-size: 1.125rem;
    line-height: 1.222222;
  }

  .sm\:fs-16 {
    font-size: 1rem;
    line-height: 1.625;
  }

  .sm\:fs-15 {
    font-size: 0.9375rem;
    line-height: 1.2;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  line-height: 1.375;
  font-family: var(--ff-sans);
  color: var(--c-black);
}

em,
i {
  font-family: var(--ff-serif);
}

.container {
  width: 100%;
  max-width: calc((var(--container-x-padding) * 2) + ((var(--container-columns) - 1) * var(--container-gap)) + (var(--container-columns) * var(--container-column-width)));
  margin-inline: auto;
  padding-inline: var(--container-x-padding);
}
.container.container-10 {
  --container-columns: 10;
}
.container.container-8 {
  --container-columns: 8;
}
.container.container-6 {
  --container-columns: 6;
}
.container.container-4 {
  --container-columns: 4;
}

.layers {
  display: grid;
}

.layers > .layer {
  grid-column: -1/1;
  grid-row: -1/1;
}

.layers > .layer.layer-bg {
  position: relative;
}

.layers > .layer.layer-bg::after {
  content: "";
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.layers > .layer.layer-fg {
  position: relative;
  z-index: 1;
}

.img-wrapper.img-wrapper-ratio > picture,
.img-wrapper.img-wrapper-ratio {
  overflow: hidden;
  position: relative;
  height: 0;
}

.img-wrapper.img-wrapper-ratio > picture {
  height: 100%;
  display: block;
}

.img-wrapper.img-wrapper-ratio > picture > img,
.img-wrapper.img-wrapper-ratio > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  inset: 0;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
input[type="submit"],
.btn,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
.btn.woocommerce-Button.button.woocommerce-button {
  --btn-bg: transparent;
  --btn-fg: transparent;
  --btn-oc: transparent;
  --btn-oo: 0px;
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  outline: 1px solid var(--btn-oc);
  outline-offset: var(--btn-oo);
  justify-content: center;
  text-align: center;
  --btn-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.214286;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.84375rem;
  align-items: center;
  padding-top: 0.9375rem;
  padding-bottom: 1rem;
  padding-inline: 2rem;
  border-radius: var(--btn-radius);
  position: relative;
  transition-duration: 0.15s;
  transition-behavior: ease;
  transition-property: color, background-color, outline;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:active,
input[type="submit"]:active,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:active,
.btn.woocommerce-Button.button.woocommerce-button:active,
.btn:active {
  transition: none;
}

.btn .btn-icon {
  line-height: 0;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
input[type="submit"],
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
.btn.woocommerce-Button.button.woocommerce-button,
.btn.btn-full {
  --btn-oo: 2px;
  --btn-fg: var(--c-white);
  --btn-bg: var(--c-accent);
}

.btn.btn-outline {
  --btn-fg: var(--c-accent);
  --btn-oc: rgba(var(--c-accent-raw) / 0.4);
}

.btn.btn-outline.text-white {
  --btn-fg: var(--c-white);
  --btn-oc: rgba(var(--c-white-raw) / 0.4);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
input[type="submit"]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover,
.btn.woocommerce-Button.button.woocommerce-button:hover,
.btn.btn-full:hover {
  background-color: hsl(from var(--btn-bg) h s calc(l - 5));
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover {
  color: var(--btn-fg);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:active,
.btn.woocommerce-Button.button.woocommerce-button:active,
.btn.btn-full:active {
  background-color: hsl(from var(--btn-bg) h s calc(l - 10));
}

.btn.btn-outline:hover {
  background-color: rgba(var(--c-accent-raw) / 0.1);
}
.btn.btn-outline:active {
  background-color: rgba(var(--c-accent-raw) / 0.2);
}

.btn.btn-outline.text-white:hover {
  background-color: rgba(var(--c-white-raw) / 0.1);
}
.btn.btn-outline.text-white:active {
  background-color: rgba(var(--c-white-raw) / 0.2);
}

.bg-checker {
  background-color: white;
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.pill {
  font-size: 0.875rem;
  line-height: 1.214286;
  font-weight: 500;
  padding: 0.5625rem 1.1875rem 0.5rem;
  color: var(--c-white);
  background-color: var(--c-accent);
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.53125rem;
  text-transform: uppercase;
}

.pill.pill-ghost {
  color: var(--c-accent);
  background-color: #dfedff;
}

.pill.pill-outline {
  color: var(--c-accent);
  background-color: transparent;
  outline: 1px solid var(--c-accent);
  outline-offset: -1px;
}

.rich-text p:not(:last-child) {
  margin-bottom: 1.2lh;
}

.rich-text ol {
  list-style-type: numeric;
}

.rich-text ol,
.rich-text ul {
  padding-left: 1em;
}

.rich-text ul li {
  position: relative;
}

.rich-text ul li::before {
  content: "";
  height: 0.625rem;
  width: 0.625rem;
  background-color: var(--c-accent);
  border-radius: 99px;
  position: absolute;
  top: 1ex;
  left: -1em;
}

.rich-text li:not(:last-child) ol,
.rich-text li:not(:last-child) ul {
  margin-bottom: 0.5lh;
}

.rich-text > ol:not(:last-child),
.rich-text > ul:not(:last-child) {
  margin-bottom: 1.2lh;
}

.rich-text a {
  font-weight: 700;
  color: var(--c-accent);
  text-decoration: underline;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  border-radius: 0.5rem;
  padding: 0.75rem 2.875rem 0.8125rem 1rem;
  border: 1px solid #eaeaea;
  background-color: white;
  font-size: 1rem;
  line-height: 1.1875rem;
  appearance: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5LjIwNCIgaGVpZ2h0PSI1LjYwMiIgdmlld0JveD0iMCAwIDkuMjA0IDUuNjAyIj4KICA8cGF0aCBpZD0iVHJhY2NpYXRvXzE2IiBkYXRhLW5hbWU9IlRyYWNjaWF0byAxNiIgZD0iTTI0MzguNzUzLDYyNC41NjVsMy4xODgsMy4xODgsMy4xODgtMy4xODgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yNDM3LjMzOSAtNjIzLjE1MSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZlNmU2ZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiLz4KPC9zdmc+Cg==");
  background-repeat: no-repeat;
  background-position: calc(100% - 1.375rem) 50%;
}

input[type="radio"] {
  appearance: none;
  height: 1rem;
  width: 1rem;
  border: 1px solid black;
  border-radius: 50%;
  flex-shrink: 0;
}

input[type="radio"]:checked {
  background: black;
  box-shadow: inset 0 0 0 2px white;
}

textarea {
  field-sizing: content;
  min-height: 9rem;
  width: 100%;
  resize: vertical;
}

textarea,
.woocommerce-cart table.cart td.actions .coupon .input-text,
input[type="date"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="text"] {
  font-size: 1rem;
  line-height: 1.1875;
  padding: 0.875rem 1.25rem 0.9375rem;
  outline: 1px solid #eaeaea;
  border: none;
  border-radius: 0.5rem;
}

input[type="checkbox"] {
  line-height: 0;
  appearance: none;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 0.25rem;
  outline: 1px solid #eaeaea;
}

input[type="checkbox"]:checked {
  background-color: var(--c-accent) !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1jaGVjayI+PHBhdGggZD0iTTIwIDYgOSAxN2wtNS01Ii8+PC9zdmc+Cg==") !important;
  background-size: 70%;
  background-position: 54% 55%;
  background-repeat: no-repeat;
}

.woocommerce-cart table.cart td.actions .coupon .input-text[aria-invalid="true"],
textarea[aria-invalid="true"],
input[type="date"][aria-invalid="true"],
input[type="tel"][aria-invalid="true"],
input[type="search"][aria-invalid="true"],
input[type="number"][aria-invalid="true"],
input[type="email"][aria-invalid="true"],
input[type="password"][aria-invalid="true"],
input[type="text"][aria-invalid="true"],
.woocommerce-cart table.cart td.actions .coupon .input-text:user-invalid,
textarea:user-invalid,
input[type="date"]:user-invalid,
input[type="tel"]:user-invalid,
input[type="search"]:user-invalid,
input[type="number"]:user-invalid,
input[type="email"]:user-invalid,
input[type="password"]:user-invalid,
input[type="text"]:user-invalid {
  outline: 1px solid #dc3232 !important;
}

.woocommerce-cart table.cart td.actions .coupon .input-text::placeholder,
select:has(option:first-child:checked),
textarea::placeholder,
input[type="date"]::placeholder,
input[type="tel"]::placeholder,
input[type="password"]::placeholder,
input[type="search"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="text"]::placeholder {
  color: var(--c-gray);
}

.select-wrapper svg:first-child {
  max-width: 0.875rem;
  max-height: 1.125rem;
  color: var(--c-accent);
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.select-wrapper svg + select {
  padding-left: 2.625rem;
}

.invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

article.card.card-inclusive:focus-within,
article.card.card-location:focus-within,
section.offer-filters .offer-filters-container .zones .zone-transport .transports .transport input:focus-visible + label,
:focus-visible {
  --focus-visible-ring: var(--c-accent);
  outline: var(--focus-visible-ring) solid 3px !important;
}

.bg-accent :focus-visible {
  --focus-visible-ring: var(--c-white);
}

svg {
  line-height: 0;
}

::selection {
  background-color: rgba(var(--c-accent-raw) / 0.9);
  color: var(--c-white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

dialog:focus-visible {
  outline: none !important;
}

@media (max-width: 767px) {
  article.card.card-inclusive:focus-within,
  article.card.card-location:focus-within,
  section.offer-filters .offer-filters-container .zones .zone-transport .transports .transport input:focus-visible + label,
  :focus-visible {
    --focus-visible-ring: var(--c-accent);
    outline: var(--focus-visible-ring) solid 1px !important;
  }
}

@supports (overlay: auto) and (transition-behavior: allow-discrete) {
  dialog {
    transition: display 150ms allow-discrete, overlay 150ms allow-discrete, opacity 150ms ease, scale 150ms ease;
    opacity: 0;
    scale: 0.95;
  }

  dialog::backdrop {
    transition: opacity 150ms ease;
    opacity: 0;
  }

  dialog[open] {
    opacity: 1;
    scale: 1;
  }

  dialog[open]::backdrop {
    opacity: 1;
  }

  @starting-style {
    dialog[open] {
      opacity: 0;
      scale: 0.95;
    }

    dialog[open]::backdrop {
      opacity: 0;
    }
  }
}
