:root {
  --BLACK-999: #161616;
  --GRAY-900: #101e28;
  --GRAY-700: #344754;
  --GRAY-500: #667885;
  --GRAY-400: #98a8b3;
  --GRAY-300: #d0d7dd;
  --GRAY-200: #dfe7ed;
  --GRAY-100: #f2f5f7;
  --GRAY-50: #f9fafb;
  --WHITE-1: #fcfcfc;

  --BLUE-900: #092336;
  --BLUE-700: #0d3551;
  --BLUE-500: #165079;
  --BLUE-300: #2180c2;
  --BLUE-50: #adbfcc;

  --PINK-700: #a4266f;
  --PINK-500: #cb348c;
  --PINK-50: #ccadbf;

  --RED-500: #ff4545;
  --RED-300: #ff9797;

  /* FOR MANUAL USE */
  --SHADOW-LG: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  --SHADOW-SM: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  --SHADOW-BLUE: 0px 0px 0px 4px #eef4f8;
  --SHADOW-PINK: 0px 0px 0px 4px #f4ebff;
  --SHADOW-RED: 0px 0px 0px 4px #ffebeb;

  --GRADIENT-BLUE: linear-gradient(
    180deg,
    rgba(3, 59, 99, 0),
    rgba(3, 59, 99, 1)
  );

  --MAX-CONTENT: 80rem;
  --SIDE-MARGIN: auto;
  --Z-BOTTOM: -10000;
  --Z-TOP: 10000;
}

/* html,
body {
  overflow-x: hidden;
} */

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  background-color: var(--WHITE-1);
  position: relative;
  color: var(--BLACK-999);
  overflow-x: hidden;
  /*temp*/
  /* height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 1rem; */
}

.test-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 1rem;
}

/***** TYPOGRAPHY *****/

/* inter-regular - latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/inter-v13-latin-ext-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/inter-v13-latin-ext-500.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/inter-v13-latin-ext-600.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/inter-v13-latin-ext-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ClashDisplay-500 */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/ClashDisplay-Medium.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ClashDisplay-600 */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/ClashDisplay-Semibold.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ClashDisplay-700 */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/ClashDisplay-Bold.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Clash Display", sans-serif;
}

.heading-primary {
  font-size: clamp(2.625rem, 2.4167rem + 0.9259vw, 3.25rem);
  /* 42px - 52px */
  font-weight: 600;
  line-height: clamp(2.75rem, 2.5rem + 1.1111vw, 3.5rem);
  /* 44px - 56px */
  color: var(--GRAY-900);
  /* Pasigalvoti ir gal isskirti i atskira klase */
}

.heading-secondary {
  font-size: clamp(2.375rem, 2.1667rem + 0.9259vw, 3rem);
  /* 38px - 48px */
  font-weight: 500;
  line-height: clamp(2.75rem, 2.625rem + 0.5556vw, 3.125rem);
  /* 44px - 50px */
  letter-spacing: 0.02em;
  color: var(--GRAY-900);
  /* Pasigalvoti ir gal isskirti i atskira klase */
}

.heading-tertiary {
  font-size: clamp(2.125rem, 2.0833rem + 0.1852vw, 2.25rem);
  /* 34px - 36px */
  font-weight: 500;
  line-height: clamp(2.625rem, 2.5833rem + 0.1852vw, 2.75rem);
  /* 42px - 44px */
  letter-spacing: 0.02em;
  color: var(--GRAY-900);
  /* Pasigalvoti ir gal isskirti i atskira klase */
}

.heading-tertiary-semibold {
  font-size: clamp(2.125rem, 2.0833rem + 0.1852vw, 2.25rem);
  /* 34px - 36px */
  font-weight: 600;
  line-height: clamp(2.625rem, 2.5833rem + 0.1852vw, 2.75rem);
  /* 42px - 44px */
  letter-spacing: 0.02em;
  color: var(--GRAY-900);
  /* Pasigalvoti ir gal isskirti i atskira klase */
}

.heading-quaternary {
  font-size: clamp(1.625rem, 1.5417rem + 0.3704vw, 1.875rem);
  /* 26px - 30px */
  font-weight: 500;
  line-height: clamp(1.875rem, 1.7708rem + 0.463vw, 2.1875rem);
  /* 30px - 35px */
  letter-spacing: 0.02em;
  color: var(--GRAY-900);
  /* Pasigalvoti ir gal isskirti i atskira klase */
}

.heading-quinary {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: 0.02em;
  color: var(--GRAY-900);
  /* Pasigalvoti ir gal isskirti i atskira klase */
}

.heading-quinary-semibold {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: 0.02em;
  color: var(--GRAY-900);
  width: 270px;
  /* Pasigalvoti ir gal isskirti i atskira klase */
}

.body-xl-bold {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.body-xl-semibold {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
}

.body-xl-medium {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
}

.body-l-semibold {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.body-l-medium,
.body-l-medium-like {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.body-l-medium {
  min-height: 3.5rem;
}

.body-l-regular {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
}

.body-m-semibold {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.body-m-medium {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}

.body-m-regular {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
}

.body-s-semibold {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

.body-s-medium {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.body-s-regular {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-align-fs {
  align-items: flex-start;
}

.flex-align-c {
  align-items: center;
}

.flex-align-fe {
  align-items: flex-end !important;
}

.flex-justify-fs {
  justify-content: flex-start;
}

.flex-justify-sb {
  justify-content: space-between;
}

.flex-justify-c {
  justify-content: center;
}

.gap-02 {
  gap: 0.2rem;
}

.gap-05 {
  gap: 0.5rem;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-4-percent {
  gap: 4%;
}

.mt-1 {
  margin-top: 1rem !important;
}

.mt-2 {
  margin-top: 2rem !important;
}

.white {
  color: var(--WHITE-1);
}

.black {
  color: var(--BLACK-999);
}

.gray-900 {
  color: var(--GRAY-900);
}

.gray-700 {
  color: var(--GRAY-700);
}

.gray-500 {
  color: var(--GRAY-500);
}

.gray-400 {
  color: var(--GRAY-400);
}

.bg-gray-100 {
  background-color: var(--GRAY-100);
}

.bg-gray-50 {
  background-color: var(--GRAY-50);
}

.blue-300 {
  color: var(--BLUE-300);
}

.red-500 {
  color: var(--RED-500);
}

.hidden {
  display: none !important;
}

/***** BUTTONS *****/

/***** Button primary *****/

.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  background-color: var(--PINK-500);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--WHITE-1);
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 2rem;
  height: 2.75rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.btn-primary:hover {
  background-color: var(--PINK-700);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0px 0px 0px 4px #f4ebff;
}

.btn-primary:disabled {
  background-color: var(--PINK-50);
  cursor: not-allowed;
}

/***** Button secondary medium *****/

.btn-secondary-m {
  display: inline-flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
  background-color: var(--BLUE-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--WHITE-1);
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  height: 2.5rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-secondary-m:hover {
  background-color: var(--BLUE-700);
}

.btn-secondary-m:focus {
  outline: none;
  box-shadow: 0px 0px 0px 4px #eef4f8;
}

.btn-secondary-m:disabled {
  background-color: var(--BLUE-50);
  cursor: not-allowed;
}

.btn-secondary-m--leading {
  width: 10.5rem;
}

/***** Button secondary large *****/

.btn-secondary-l {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  background-color: var(--BLUE-500);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--WHITE-1);
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 2rem;
  height: 2.75rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
}

.btn-secondary-l:hover {
  background-color: var(--BLUE-700);
}

.btn-secondary-l:focus {
  outline: none;
  box-shadow: 0px 0px 0px 4px #eef4f8;
}

.btn-secondary-l:disabled {
  background-color: var(--BLUE-50);
  cursor: not-allowed;
}

/***** Button scroll navigation *****/

.btn-scroll,
.btn-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  background-color: var(--GRAY-200);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: var(--GRAY-900);
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  height: 2rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  text-decoration: none;
}

.btn-scroll:hover,
.btn-badge:hover {
  background-color: var(--GRAY-300);
  color: var(--GRAY-900);
  text-decoration: none; 
}

.btn-scroll:focus,
.btn-badge:focus {
  outline: none;
  background-color: var(--BLUE-300);
  color: var(--WHITE-1);
}

.btn-scroll:disabled,
.btn-badge:disabled {
  background-color: var(--BLUE-50);
  cursor: not-allowed;
}

/***** Button navigation *****/

.btn-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  background-color: var(--WHITE-1);
  border: 1px solid var(--GRAY-400);
  border-radius: 5px;
  height: 2.75rem;
  width: 2.75rem;
  cursor: pointer;
  transition: color 0.3s, box-shadow 0.3s;
}

.btn-nav-left svg {
  transform: rotate(90deg);
}

.btn-nav-right svg {
  transform: rotate(270deg);
}

.btn-nav path {
  stroke: var(--GRAY-700);
  transition: stroke 0.3s;
}

.btn-nav:hover path {
  stroke: var(--GRAY-900);
}

.btn-nav:focus {
  outline: none;
  box-shadow: 0px 0px 0px 4px #eef4f8;
}

.btn-nav:disabled {
  cursor: not-allowed;
}

.btn-nav:disabled path {
  stroke: var(--GRAY-400);
}

/***** LINKS *****/

/***** Link medium *****/

.link-m {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--BLUE-500);
  transition: color 0.3s;
}

.link-m.c-stroke path {
  stroke: var(--BLUE-500);
  transition: stroke 0.3s;
}

.link-m.c-fill path {
  fill: var(--BLUE-500);
  transition: fill 0.3s;
}

.link-m:hover {
  color: var(--BLUE-700);
}

.link-m.c-stroke:hover,
.link-m.c-stroke:hover path {
  stroke: var(--BLUE-700);
}

.link-m.c-fill:hover,
.link-m.c-fill:hover path {
  fill: var(--BLUE-700);
}

.link-m[disabled] {
  color: var(--BLUE-50);
  cursor: not-allowed;
  pointer-events: none;
  /* Additionaly use tabindex="-1" to disable link from tabbing */
}

.link-m[disabled] path {
  stroke: var(--BLUE-50);
}

.link-m--btn {
  background: none;
  border: none;
  cursor: pointer;
}

/***** Link large *****/

.link-l {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--BLUE-500);
  transition: color 0.3s;
}

.link-l path {
  stroke: var(--BLUE-500);
  transition: stroke 0.3s;
}

.link-l:hover,
.link-l:hover path {
  color: var(--BLUE-700);
  stroke: var(--BLUE-700);
}

.link-l[disabled] {
  color: var(--BLUE-50);
  cursor: not-allowed;
  pointer-events: none;
  /* Additionaly use tabindex="-1" to disable link from tabbing */
}

.link-l[disabled] path {
  stroke: var(--BLUE-50);
}

/***** PROGRESS *****/

.progress-step {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: var(--BLUE-500);
  width: 8.75rem;
}

.progress-step__icon {
  min-width: 2.5rem;
  min-height: 2.5rem;
  background-color: var(--BLUE-300);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--WHITE-1);
}

.progress-step__icon path {
  stroke: var(--WHITE-1);
}

.progress-step.finished .progress-step__icon {
  background-color: var(--BLUE-500);
}

.progress-step.disabled {
  color: var(--GRAY-400);
}

.progress-step.disabled .progress-step__icon {
  background-color: var(--GRAY-50);
  border: 1px solid var(--GRAY-400);
  color: var(--GRAY-400);
}

/***** FORMS *****/

/***** Select *****/

.input-select::part(combobox) {
  border-radius: 0.5rem;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  padding: 0.625rem 0.875rem;
  height: 2.75rem;
  /* width: 20rem; */
}

.input-select::part(form-control-label) {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--GRAY-700);
  margin-bottom: 0.375rem;
}

.input-prefix .input-prefix-icon {
  margin-inline-end: 0.5rem;
}

.input-select::part(display-input) {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
}

.input-select::part(display-input)::placeholder {
  color: var(--GRAY-500);
}

.input-select::part(listbox),
.link-select::part(listbox) {
  border-radius: 0.5rem;
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
    0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  margin: 0.5rem 0;
  background-color: var(--WHITE-1);
  border: 1px solid var(--GRAY-100);
  padding: 0.25rem 0;
}

.input-select[open]::part(combobox),
.input-select:focus::part(combobox) {
  border: 1px solid var(--BLUE-300);
  box-shadow: 0px 0px 0px 4px #eef4f8;
}

.input-select::part(expand-icon) {
  font-size: 1.25rem;
  color: var(--GRAY-500);
}

.select-small {
  max-width: 8.5rem;
}

sl-option::part(base) {
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  color: var(--GRAY-900);
  flex-direction: row-reverse;
  background-color: var(--WHITE-1);
}

sl-option[aria-selected="true"]::part(base) {
  background-color: var(--GRAY-50);
}

sl-option::part(checked-icon) {
  padding-inline-end: 0;
}

/***** Select as Link with label *****/

.link-select::part(combobox) {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0.625rem 0.875rem;
  height: 2.75rem;
  width: 15rem;
}

.link-select::part(prefix) {
  display: flex;
  color: var(--BLUE-500);
  font-weight: 600;
  margin-right: 5px;
}

#sort-prefix-span {
  display: flex;
  flex-direction: row;
  gap: 0.2rem;
  align-items: center;
}

#sort-prefix-svg {
  width: 14px;
}

.link-select::part(display-input) {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  color: var(--BLUE-500);
  width: 9rem;
}

.link-select::part(display-input)::placeholder {
  color: var(--GRAY-500);
}

.link-select::part(listbox) {
  border-radius: 0.5rem;
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
    0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  margin: 0.5rem 0;
  background-color: var(--WHITE-1);
  border: 1px solid var(--GRAY-100);
  padding: 0.25rem 0;
}

.link-select::part(expand-icon) {
  display: none;
}

/***** Input *****/

/* .input-default::part(form-control) { */
/* No size as it is controlled by the parent limits */
/* If certain fixed size is needed add additional selectors parent > input for particular input */
/* The size commented here is for testing purposes only */
/* width: 20rem; */
/* } */

.input-default::part(form-control-label) {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--GRAY-700);
  margin-bottom: 0.375rem;
}

.input-default::part(base) {
  border-radius: 0.5rem;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  padding: 0 0.875rem;
  height: 2.75rem;
}

.input-default:focus::part(base) {
  border: 1px solid var(--BLUE-300);
  box-shadow: 0px 0px 0px 4px #eef4f8;
}

.input-default::part(input) {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  width: 0;
  padding: 0;
  height: 100%;
  color: var(--GRAY-900);
}

.input-default::part(input)::placeholder {
  color: var(--GRAY-500);
}

.input-default[data-user-invalid]::part(base) {
  border: 1px solid var(--RED-300);
  /* box-shadow: 0px 0px 0px 4px #ffebeb; */
}

.input-default[data-user-invalid]:focus::part(base) {
  border: 1px solid var(--RED-300);
  box-shadow: 0px 0px 0px 4px #ffebeb;
}

.input-default::part(form-control-help-text) {
  color: var(--RED-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
}

.input-default sl-icon[name="alert"] {
  display: none;
}

.input-default[data-user-invalid] sl-icon[name="alert"] {
  display: inline-flex;
}

/***** TEXT AREA *****/

.textarea-default::part(form-control-label) {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--GRAY-700);
  margin-bottom: 0.375rem;
}

.textarea-default::part(base) {
  border-radius: 0.5rem;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.textarea-default::part(textarea) {
  padding: 0.5rem 0.875rem;
  min-height: 2.75rem;
}

.textarea-default:focus::part(base) {
  border: 1px solid var(--BLUE-300);
  box-shadow: 0px 0px 0px 4px #eef4f8;
}

.textarea-default::part(input) {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  width: 0;
  padding: 0;
  height: 100%;
  color: var(--GRAY-900);
}

.textarea-default::part(textarea)::placeholder {
  color: var(--GRAY-500);
}

.textarea-default[data-user-invalid]::part(base) {
  border: 1px solid var(--RED-300);
  /* box-shadow: 0px 0px 0px 4px #ffebeb; */
}

.textarea-default[data-user-invalid]:focus::part(base) {
  border: 1px solid var(--RED-300);
  box-shadow: 0px 0px 0px 4px #ffebeb;
}

.textarea-default::part(form-control-help-text) {
  color: var(--RED-500);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
}

.textarea-default sl-icon[name="alert"] {
  display: none;
}

.textarea-default[data-user-invalid] sl-icon[name="alert"] {
  display: inline-flex;
}

/***** Search input : extends default input *****/

.input-search sl-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--GRAY-500);
}

/***** Double input *****/

.double-with-label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.double-input-container {
  display: flex;
  align-items: flex-end;
}

.input-double {
  flex: 1;
}

.input-double:nth-child(2n-1) {
  margin-right: -1px;
}

.input-double:nth-child(2n-1)::part(base) {
  border-radius: 0;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  margin-right: -1px;
}

.input-double:nth-child(2n)::part(base) {
  border-radius: 0;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/***** Search *****/

.search-box {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: 0;
  left: 0;
}

/***** SECTIONS *****/

section {
  position: relative;
}

.container {
  max-width: var(--MAX-CONTENT);
  margin: 0 var(--SIDE-MARGIN);
}

/***** PICTURE *****/

picture.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

picture.bg-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

picture {
  overflow: hidden;
}

picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/***** HEADER NAVIGATION *****/

.header-navigation {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 970;
}

.upper-menu-container {
  border-bottom: 1px solid var(--GRAY-300);
}

.upper-menu {
  display: flex;
  justify-content: space-between;
  /* width: 100%; */
  padding: 0.75rem 0;
}

.lower-menu-container {
  background: var(--BLUE-500);
  position: relative;
}

.lower-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 100%; */
  padding: 0.75rem 0;
}

.menu-list {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.menu-list > li {
  position: relative;
}

.menu-list li a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.menu-list li a svg {
  transition: transform 0.3s;
}

.menu-list li a svg path {
  transition: stroke 0.3s;
}

.menu-list li a.active {
  font-weight: 600;
}

.lower-menu .menu-list li a:hover {
  color: var(--GRAY-100);
}

.upper-menu .menu-list li a:hover {
  color: var(--GRAY-900);
}

.upper-menu .menu-list li a:hover svg {
  transform: scaleY(-1);
}

.upper-menu .menu-list li a:hover svg path {
  stroke: var(--GRAY-900);
}

.menu-list-drop {
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--WHITE-1);
  border-radius: 0.5rem;
  list-style: none;
  z-index: 10;
  border: 1px solid var(--GRAY-300);
  transition: transform 0.3s, opacity 0.2s;
  transform-origin: 50% 0;
  transform: scaleY(0);
  opacity: 0;
  padding: 0.25rem 0;
}
.menu-list-drop-general {
  width: calc(15.375rem + 1px);
}
.menu-list-drop-short {
  width: calc(3.875rem + 1px);
}
.menu-list-drop li a {
  color: var(--BLUE-500);
  transition: color 0.3s;
}
.menu-list-drop-general li a {
  padding: 0.6255rem 0.875rem;
}
.menu-list-drop-short li {
  text-align: center;
}
.menu-list-drop-short li a {
  padding: 0.6255rem 0;
}

.menu-list-drop li:not(:last-child) {
  border-bottom: 1px solid var(--GRAY-300);
}

.menu-list > li:hover .menu-list-drop {
  transform: scale(1);
  opacity: 1;
}

.info-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 5px;
}

.info-badge--full {
  background-color: var(--BLUE-300);
  color: var(--WHITE-1);
}

/***** Search Nav *****/

.input-search--nav {
  display: flex;
  border-radius: 0.5rem;
  overflow: hidden;
  background: none;
  border: 1px solid var(--GRAY-400);
  padding: 0.5rem 0.825rem;
  height: 2.25rem;
  gap: 1rem;
  color: var(--GRAY-400);
  width: 245px;
}

.input-search--nav input {
  height: 100%;
  width: min-content;
  border: none;
  background: none;
  color: inherit;
}

.input-search--nav input::placeholder {
  color: var(--GRAY-400);
}

.input-search--nav input:focus {
  outline: none;
}

.input-search--nav svg path {
  stroke: var(--GRAY-400);
}

.search_container {
  position: absolute;
  right: 0;
  top: 60px;
  width: 400px;
  height: 25px;
  max-width: 100%;
  z-index: 991;
}

.search_results {
  z-index: 991;
  position: relative;
  background: var(--GRAY-50);
  padding: 0 5px 5px 5px;
  border: 1px solid var(--GRAY-300);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.search_results a {
  text-decoration: none;
  color: var(--GRAY-900);
}

.search_results .search_result_row {
  border-bottom: 1px solid #d4d4d4;
  padding: 5px 0;
  line-height: 14px;
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
  font-size: 0.8rem;
}

.search_result_row img {
  flex: 1;
}

.search_result_row .result_info {
  flex: 4;
}

.search_result_row .prices {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
}

.search_result_row .result_info .row.last {
  margin-top: 5px;
}

.search_result_row .price.main {
  font-size: 15px;
}

/***** Search Nav Mobile *****/

.input-search-mobile--nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.685rem 0.875rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--GRAY-300);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.input-search-mobile--nav input {
  height: 100%;
  width: 16em;
  border: none;
  background: none;
  color: var(--GRAY-300);
}

.input-search-mobile--nav input::placeholder {
  color: var(--GRAY-400);
}

.input-search-mobile--nav input:focus {
  outline: none;
}

.input-search-mobile--nav svg path {
  stroke: var(--GRAY-300);
}

.hidden-desktop-section {
  display: none !important;
}

/***** Advanced search modal *****/

html:has(#advancedSearch[open]) {
  overflow: hidden;
}

#advancedSearch {
  left: auto;
  height: 100dvh;
  max-height: 100dvh;
  width: 27.5rem;
  max-width: 100%;
  animation: move-out 0.3s ease-out;
  border: none;
  background-color: var(--WHITE-1);
}

#advancedSearch[open] {
  animation: move-in 0.3s ease-out;
}

#advancedSearch::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

@keyframes move-in {
  0% {
    transform: translateX(100%);
    display: none;
  }
  100% {
    transform: translateX(0);
    display: block;
  }
}

@keyframes move-out {
  0% {
    transform: translateX(0);
    display: block;
  }
  100% {
    transform: translateX(100%);
    display: none;
  }
}

.sort-value {
  font-weight: 400;
}

.advancedSearch-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.advancedSearch-text-search {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advancedSearch-text-search div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.advancedSearch-filters {
  overflow-y: scroll;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem 1.5rem 1.5rem;
  gap: 0.75rem;
}

.advancedSearch-filters .filter-row {
  display: flex;
  gap: 1rem;
}

.advancedSearch-filters .filter-row .double-input-container {
  flex: 1;
}

.advancedSearch-submit {
  border-top: 1px solid var(--GRAY-300);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.advancedSearch-submit div {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.advancedSearch-submit .btn-primary {
  width: 100%;
}

/***** FOOTER *****/

footer {
  border-top: 1px solid var(--GRAY-300);
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  padding: 4rem 5rem 3rem 5rem;
}

.footer-newsletter-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-newsletter-container h2 {
  margin-bottom: 0.5rem;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-form sl-input {
  width: 18.75rem;
  max-width: 100%;
}

.footer-menu-container {
  display: flex;
  justify-content: space-between;
}

.footer-info-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-info-container a {
  color: var(--BLUE-500);
  text-decoration: none;
  font-family: "Clash Display", sans-serif;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  list-style: none;
}

.footer-menu ul {
  list-style: none;
}

.footer-menu > li:nth-child(2),
.footer-menu > li:nth-child(3) {
  display: none;
}

.footer-menu-heading {
  margin-bottom: 1rem;
}

.footer-menu-item {
  max-width: 9.75rem;
}

.footer-single-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-copyright-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/**** CHIPS ****/

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  display: flex;
  align-items: center;
  height: 2.75rem;
  background-color: var(--GRAY-50);
  padding: 0.625rem 1.25rem;
  color: var(--BLUE-300);
  width: fit-content;
  cursor: pointer;
  border: 1px solid var(--BLUE-300);
  border-radius: 0.5rem;
  transition: border 0.2s, color 0.2s, background-color 0.2s, box-shadow 0.2s;
  text-wrap: nowrap;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
  border: 1px solid var(--BLUE-700);
  color: var(--BLUE-700);
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input:checked ~ .checkmark {
  background-color: var(--BLUE-700);
  border: 1px solid var(--BLUE-700);
  color: var(--WHITE-1);
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--BLUE-300);
  color: var(--WHITE-1);
}

.checkbox-container input:focus ~ .checkmark {
  box-shadow: 0px 0px 0px 4px #eef4f8;
}

.checkbox-container input:disabled ~ .checkmark {
  border: 1px solid var(--BLUE-50);
  color: var(--BLUE-50);
  cursor: not-allowed;
}

.common-checkbox {
  accent-color: var(--BLUE-300);
  color: var(--WHITE-1);
  cursor: pointer;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.checkbox-label {
  color: var(--sl-input-label-color);
  cursor: pointer;
  font-size: var(--sl-input-font-size-medium);
  font-family: var(--sl-input-font-family);
  font-weight: var(--sl-input-font-weight);
  line-height: var(--sl-toggle-size-medium);
  margin-inline-start: 0.25em;
  vertical-align: middle;
  user-select: none;
  -webkit-user-select: none;
}

.file-upload-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
  background-color: var(--GRAY-50);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--BLUE-50);
  border: 3px dashed var(--BLUE-50);
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  height: 2.5rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  width: 100%;
  height: 140px;
}
/*

/* Create the checkmark/indicator (hidden when not checked) */
/*.checkmark:after {
  display: none;
}

/* Show the checkmark when checked */
/*.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
/*.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
*/

main {
  overflow-x: hidden;
}

.no-text-decoration {
  text-decoration: none;
}

.nostyle {
  text-decoration: none;
  color: var(--GRAY-900);
}

/***  RESPONSIVE MOBILE STYLES ***/

.nav-wrapper {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0.685rem 2.5rem;
  border: 1px solid #d1d5db;
  background-color: #fafafa;
}

.logo,
.logo-footer {
  height: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  display: flex;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--WHITE-1);
  cursor: pointer;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 0;
}

.nav-link span {
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--WHITE-1);
}

.mobile-menu {
  display: flex;
  background-color: var(--BLUE-500);
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
  padding-top: 1rem;
  position: absolute;
  right: -720px;
  transition: right 0.5s ease-in-out;
  -webkit-transition: right 0.5s ease-in-out;
  height: 100dvh;
  max-height: 100dvh;
  width: 360px;
  z-index: 990;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
  overflow-y: auto;
  width: 100%;
  padding-bottom: 50px;
}

.in {
  right: 0;
}

#mobile-overlay.in {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 980 !important;
  -webkit-animation: fade 0.5s;
  animation: fade 0.5s;
  background-color: rgba(0, 0, 0, 0.6);
}

.menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 0 1.25rem;
  width: 100%;
}

.close-menu-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.main-navigation,
.bottom-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.main-navigation {
  background-color: var(--BLUE-500);
  padding: 0 1.25rem;
}

.main-navigation a {
  text-decoration: none;
}

.bottom-section {
  background-color: var(--WHITE-1);
  padding: 2.5rem 1.25rem;
}

.count-badge {
  padding: 0.125rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: var(--BLUE-300);
  border-radius: 0.375rem;
  color: var(--GRAY-50);
}

.services-toggle,
.language-toggle {
  display: flex;
  gap: 0.125rem;
  justify-content: left;
  align-items: center;
  padding: 0.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--GRAY-700);
}

.services-menu,
.language-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0 2.5rem;
  -webkit-transition: right 0.8s ease-in-out;
  transition: right 0.8s ease-in-out;
}

.menu-link {
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--BLUE-500);
  text-decoration: none;
}

.menu-link.active {
  font-weight: 600;
}

/* Hover states */
.nav-link:hover {
  opacity: 0.8;
}

.menu-link:hover,
.services-toggle:hover,
.language-toggle:hover {
  color: var(--GRAY-900);
}

.services-toggle:hover svg path {
  stroke: var(--GRAY-900);
}

.close-menu-button:hover {
  opacity: 0.7;
}

.white-link {
  color: var(--WHITE-1);
  text-underline-offset: 4px;
}
