/* NOTE: DEFAULT LOOK of the site. Promo looks (styles/<theme>.css, e.g. black-friday.css) are loaded after this file
   while a promo runs and only add to it: keep promo rules out of here.
   Order: colors, elements, layout, media queries of the layout, gallery, then the components (header and menu,
   accordion, model, specs, confirmation). */

:root {
  --main-header-height: 8rem;
  --grey-ud: #191919;
  --grey-d: #424242;
  --grey-r: #666;
  --grey-l: #ccc;
  --grey-ul: #d5d5d5;
  --white: #fff;
  --white-b5: #ffffffb5;
  --white-90: #ffffff90;
  --white-60: #ffffff60;
  --white-30: #ffffff30;
  --white-10: #ffffff10;
  --black: #000;
  --black-b5: #000000b5;
  --black-90: #00000090;
  --black-60: #00000060;
  --black-30: #00000030;
  --black-10: #00000030;
  --brown-l: #b9b6ac;
  --brown-ul: #c6c0a9;
  --brown-d: #726956;
  --brown-r: #917a5c;
  --brown-r-60: #917a5c60;
  --main-bg-color: var(--black);
  --main-fg-color: var(--white);
  --second-bg-color: var(--white);
  --second-fg-color: var(--black);
  --nav-a-color: var(--white);
  --nav-a-hv-color: var(--white-b5);
  --nav-shadow-color: var(--white-30);
  --a-color: var(--white);
  --a-semitransp-color: var(--white-60);
  --hero-headings-color-mob: var(--black);
  --hero-headings-color-dsk: var(--white);
  --main-cta-bg-color: var(--white);
  --main-cta-hv-bg-color: var(--black);
  --sec-cta-bg-color: var(--white-90);
  --sec-cta-hv-bg-color: var(--white-90);
  --main-cta-border-color: var(--white);
  --main-cta-hv-border-color: var(--black);
  --sec-cta-border-color: var(--white-90);
  --sec-cta-hv-border-color: var(--white);
  --main-cta-fg-color: var(--black);
  --main-cta-hv-fg-color: var(--white);
  --sec-cta-fg-color: var(--white);
  --sec-cta-hv-fg-color: var(--black);
  --heading-color: var(--white);
  --p-normal-color: var(--grey-ul);
  --p-details-color: var(--grey-ul);
  --input-fg-color: var(--white);
  --input-brd-color: var(--grey-l);
  --input-bg-color: var(--grey-d);
  --input-hv-fg-color: var(--white);
  --input-hv-brd-color: var(--white);
  --input-hv-bg-color: var(--grey-ud);
  --input-fcs-fg-color: var(--white);
  --input-fcs-brd-color: var(--white);
  --input-fcs-bg-color: var(--grey-ud);
  --footer-a-color: var(--grey-l);
  --footer-a-hv-color: var(--white);
  --divider-color: var(--grey-l);
  --mob-menu-divider-color: var(--white-10);
  --arrows-fg-color: var(--white-90);
  --arrows-bg-color: var(--white-30);
  --arrow-shadow-color: var(--white-30);
  --arrows-hv-fg-color: var(--white);
  --arrows-hv-bg-color: var(--white-60);
  --arrow-hv-shadow-color: var(--white-b5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-weight: 500;
  font-size: 1.6rem;
  min-height: 100vh;
  height: 100%;
  font-family: "Open Sans", Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
  background-color: var(--main-bg-color);
}

body.hidden-scrolling {
  overflow-y: hidden;
}

main {
  width: 100%;
}

section {
  margin-bottom: 2rem;
  position: relative;
}

.margin-bottom {
  margin-bottom: 2rem;
}

.target-id {
  position: absolute;
  top: -10rem;
}

.generic-container {
  padding: 1rem;
}

a,
img,
svg,
span,
input,
select,
button,
textarea {
  display: block;
}

textarea {
  resize: vertical;
  min-height: 10rem;
  transition: 0s height ease !important;
}

h1,
h2,
h3,
h4 {
  color: var(--heading-color);
}

h1 {
  font-size: 3rem;
  font-weight: 400;
  font-family: Merriweather, "Raleway", "Open Sans", Arial, sans-serif;
}

.strongest {
  font-weight: 900;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.6rem;
  font-weight: 400;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--p-normal-color);
  line-height: 1.5;
  font-weight: 400;
}

a {
  color: var(--a-color);
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

button {
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style-type: none;
}

hr {
  border: 0;
  border-bottom: 0.1rem solid var(--divider-color);
  margin-bottom: 1rem;
}

h3 > .strongest,
h2 > .strongest {
  font-family: Merriweather, "Raleway", "Open Sans", Arial, sans-serif;
  font-size: 3.5rem;
}

h3 > .strongest.chair-name,
h2 > .strongest.chair-name {
  font-size: inherit;
}

h2 > .number {
  font-size: 6rem;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title,
.row-title {
  padding-block: 3rem 2rem;
}

.line {
  width: 3rem;
  height: 0.3rem;
  background-color: var(--main-fg-color);
  transition: transform 0.15s ease, opacity 0.15s ease 0.15s;
}

.wide-banner {
  width: 100%;
  position: relative;
  z-index: -1;
}

.banner-content,
.product-banner-content {
  padding: 1rem;
}

.banner-content .banner-subtitle {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.2;
}

#content {
  position: relative;
  padding-top: var(--main-header-height);
  min-height: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.top-cta-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.top-cta-group a {
  text-decoration: none;
}

.experience .one-col-left {
  flex-direction: column-reverse;
}

.top-cta-button,
.optional-cta-button {
  letter-spacing: 0.2rem;
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-transform: uppercase;
  text-align: center;
  padding: 1.2rem;
  min-width: 28rem;
  font-size: 1.8rem;
  font-family: "Open Sans", Arial, sans-serif;
  text-transform: capitalize;
}

form .top-cta-button,
form .optional-cta-button {
  text-transform: lowercase;
}

.top-cta-button {
  color: var(--main-cta-fg-color) !important;
  background-color: var(--main-cta-bg-color);
  border: 0.1rem solid var(--main-cta-bg-color);
}

.top-cta-button:hover {
  color: var(--main-cta-hv-fg-color) !important;
  border: 0.1rem solid var(--main-cta-hv-fg-color);
  background-color: var(--main-cta-hv-bg-color);
  box-shadow: 0 0.5rem 1.5rem -0.5rem var(--main-cta-hv-fg-color);
}

.optional-cta-button {
  color: var(--second-cta-fg-color);
  border: 0.1rem solid var(--sec-cta-bg-color);
  background-color: var(--sec-cta-bg-color);
}

.optional-cta-button:hover {
  color: var(--sec-cta-hv-fg-color);
  border: 0.1rem solid var(--sec-cta-hv-fg-color);
  background-color: var(--sec-cta-hv-bg-color);
  box-shadow: 0 0.5rem 1.5rem -0.5rem var(--sec-cta-hv-fg-color);
}

.sticky-cta-button {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-cta-button.visible {
  opacity: 1;
  visibility: visible;
}

#cookiescript_badge {
  bottom: 60px !important;
}

.banner-content,
.product-banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wide-banner {
  width: 100%;
  height: 30vh;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 1rem;
  background-position: right;
  overflow: hidden;
}

.main-banner {
  background-image: url(../images/banners/slider.webp);
}

.main-banner,
.product-banner {
  background-position: center;
  width: 100%;
}

/* wider screens crop the hero from the bottom, the top of the photo stays */
.hero .wide-banner {
  background-position: center top;
}

#main-video-bg {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: auto;
  transform: translate(-50%);
}

.product-wide-container {
  position: relative;
}

.two-col-img-txt {
  padding: 1rem;
}

.two-col-img-txt,
.one-col-left {
  display: flex;
}

.two-col-img-txt,
.one-col-left {
  flex-direction: column;
}

.two-col-img-txt {
  flex-direction: column-reverse;
}

.two-col-img-txt div,
.two-col-img-txt img,
.one-col-left div,
.one-col-left img {
  width: 100%;
}

.two-col-img-txt img,
.centered-img img {
  width: 100%;
  display: block;
}

.one-col-left p,
.two-col-img-txt .text-section-flex p,
.product-banner-content p {
  text-align: justify;
}

.two-col-img-txt,
.centered-img,
.feature-cols-even,
.showrooms-two-cols-even,
.showrooms-three-cols-even,
.feature-two-cols-even,
.feature-three-cols-even,
.text-section-flex p:last-of-type,
.one-col-left p:last-of-type,
.feature-col p:last-of-type {
  margin-bottom: 1rem;
}

.feature-cols-even {
  display: flex;
  flex-direction: column;
}

.feature-two-cols-even,
.feature-three-cols-even,
.showrooms-two-cols-even,
.showrooms-three-cols-even {
  display: grid;
}

.feature-col {
  border-bottom: 0.1rem solid var(--divider-color);
}

.product-features {
  margin-bottom: 2rem;
}

.product-features h3 {
  margin-bottom: 1.5rem;
}

.features-list,
.particular-features-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  gap: 2rem;
}

.particular-features-list {
  justify-content: flex-start;
}

.features-list {
  justify-content: flex-start;
}

.features-list p,
.particular-features-list p {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-family: Merriweather, "Raleway", "Open Sans", Arial, sans-serif;
  color: var(--p-details-color);
}

.features-list p > .strongest {
  font-size: 5rem;
  color: var(--main-fg-color);
}

.particular-features-list p > .strongest {
  font-size: 3rem;
  color: var(--main-fg-color);
}

.homepage-form {
  margin-bottom: 2rem;
}

.inputs-section {
  margin-bottom: 1rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.inputs-section,
.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label span {
  display: inline;
}

.input-group label {
  font-weight: 400;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: var(--main-fg-color);
}

.input-group input,
.input-group textarea,
.input-group select {
  padding: 1rem 1.5rem;
  border: 0.1rem solid var(--input-brd-color);
  width: 100%;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--input-fg-color);
  font-size: 1.6rem;
  transition: 0.15s all ease-in;
  background-color: var(--input-bg-color);
}

.input-group input:hover,
.input-group input:focus,
.input-group textarea:hover,
.input-group textarea:focus,
.input-group select:hover,
.input-group select:focus {
  border-color: var(--input-hv-brd-color);
  background-color: var(--input-hv-bg-color);
}

.homepage-form input[type="submit"] {
  width: 100%;
}

.submit-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

input[type="submit"] {
  position: relative;
  display: inline-block;
  z-index: 2;
}

input[type="submit"]:disabled {
  background-color: #bfbfbf !important;
  color: #fff !important;
  border-color: #bfbfbf !important;
  cursor: default;
  pointer-events: none;
  opacity: 0.9;
}

.spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -0.8rem;
  margin-left: -0.8rem;
  border: 0.2rem solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  z-index: 3;
}

input[type="submit"]:disabled + .spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.showroom-col {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--grey-r);
  padding-bottom: 2rem;
}

.showroom-info-section {
  margin-bottom: 1rem;
}

.showroom-info-section p > a {
  display: inline;
}

.footer {
  overflow: hidden;
  box-shadow: 0.1rem 0 0.4rem var(--nav-shadow-color);
  margin-top: auto;
}

.footer-bottom {
  padding-block: 2rem;
}

.footer-cols {
  display: flex;
  flex-direction: column;
  padding-block: 1rem;
  margin-bottom: 2rem;
}

.footer-col a:hover {
  color: var(--footer-a-hv-color);
  text-decoration: underline;
  text-decoration-color: var(--footer-a-hv-color);
}

.footer-col a {
  display: block;
  color: var(--footer-a-color);
  padding-block: 1rem;
  transition: 0.15s ease;
  text-decoration: none;
}

.back-top-btn {
  position: fixed;
  bottom: 1rem;
  right: 2rem;
  background-color: var(--arrows-bg-color);
  color: var(--arrows-fg-color);
  padding: 1.5rem;
  box-shadow: 0 0.1rem 0.4rem var(--arrow-shadow-color);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: 0.15s ease;
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-1rem);
}

.back-top-btn:hover {
  background-color: var(--arrows-hv-bg-color);
  color: var(--arrows-hv-fg-color);
}

.arrow-to-top {
  border: solid var(--arrows-fg-color);
  position: relative;
  top: 0.5rem;
  width: 2rem;
  height: 2rem;
  border-width: 0.3rem 0 0 0.3rem;
  display: block;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.model-3d-container {
  overflow: hidden;
  position: relative;
  padding-top: 100%;
}

.model-3d {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.gg-play-button-r {
  box-sizing: border-box;
  position: absolute;
  display: inline-block;
  width: 6rem;
  height: 6rem;
  border: 0.2rem solid var(--white);
  opacity: 0.7;
  top: 50%;
  left: 50%;
  transition: opacity 0.15s ease;
  max-width: 20rem;
  transform: translate(-50%, -50%);
}

.gg-play-button-r::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 0;
  height: 4rem;
  border-top: 2rem solid transparent;
  border-bottom: 2rem solid transparent;
  border-left: 3.5rem solid var(--white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gg-play-button-r:hover {
  opacity: 1;
}

@media screen and (min-width: 468px) {
  .wide-banner {
    height: 40vh;
  }
}

@media screen and (min-width: 768px) {
  .section-padding-vertical {
    padding-block: 3rem 4rem;
  }

  h1 {
    font-size: 4rem;
    font-weight: 400;
    text-transform: uppercase;
  }

  h2 {
    font-size: 3.2rem;
    text-transform: uppercase;
  }

  h3 {
    font-size: 2.2rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  h2 > .strongest {
    font-family: Merriweather, "Raleway", "Open Sans", Arial, sans-serif;
    font-size: 4rem;
  }

  h2 > .number {
    font-size: 7rem;
  }

  .experience {
    margin-bottom: 5rem;
  }

  .experience p.two-col-p {
    column-count: 2;
    column-gap: 7rem;
    text-align: justify;
  }

  .experience .one-col-left {
    flex-direction: column;
  }

  .one-col-left p.two-col-p {
    text-align: justify;
    column-count: 2;
    column-gap: 7rem;
  }

  .two-col-img-txt div.image-section-flex {
    width: 40%;
  }

  .two-col-img-txt div.text-section-flex {
    width: 60%;
  }

  .two-col-img-txt {
    padding: 1rem 0;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 10rem;
  }

  .one-col-left {
    text-align: left;
  }

  .two-col-img-txt:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .two-col-img-txt:nth-child(even) {
    flex-direction: row;
  }

  .two-col-img-txt:nth-child(odd) .text-section-flex {
    padding-inline-end: 3rem;
    padding-inline-start: 5vw;
  }

  .two-col-img-txt:nth-child(even) .text-section-flex {
    padding-inline-start: 3rem;
    padding-inline-end: 5vw;
  }

  .top-cta-group {
    flex-direction: row;
    gap: 3rem;
  }

  .top-cta-button,
  .optional-cta-button {
    font-size: 2rem;
    padding: 1.5rem;
    max-width: 50rem;
  }

  .feature-cols-even {
    flex-flow: row wrap;
    align-items: stretch;
    gap: 5rem;
  }

  .showrooms-two-cols-even,
  .feature-two-cols-even,
  .feature-three-cols-even {
    gap: 2rem;
  }

  .showrooms-two-cols-even,
  .feature-two-cols-even {
    grid-template-columns: repeat(2, 1fr);
  }

  .showrooms-three-cols-even,
  .feature-three-cols-even {
    grid-template-columns: repeat(3, 1fr);
  }

  .showrooms-two-cols-even,
  .showrooms-three-cols-even,
  .feature-col {
    border: none;
  }

  .feature-col {
    width: 100%;
  }

  .benefits,
  .automatic-programs {
    margin-bottom: 5rem;
  }

  .benefits .feature-col,
  .automatic-programs .feature-col {
    max-width: 20rem;
  }

  .showrooms-three-cols-even img {
    max-width: 30rem;
  }

  .showrooms-two-cols-even img,
  .feature-two-cols-even img,
  .feature-three-cols-even img {
;
  }

  .features-list,
  .particular-features-list {
    flex-direction: row;
    margin-left: 0;
    align-items: flex-start;
    gap: 10rem;
  }

  .wide-banner {
    height: 60vh;
  }

  .input-group input,
  .input-group textarea,
  .input-group select {
    max-width: 50rem;
  }

  .features-list p {
    margin-block: 3rem 4rem;
    padding-inline: 3rem;
    border-left: 0.1rem solid var(--divider-color);
  }

  .features-list p > .strongest {
    font-size: 7rem;
  }

  .particular-features-list p > .strongest {
    font-size: 5rem;
  }

  .sticky-cta-button {
    bottom: 2rem;
    left: 3rem;
  }

  #cookiescript_badge {
    bottom: 80px !important;
  }

  .back-top-btn {
    bottom: 2rem;
    right: 3rem;
  }

  .footer-cols {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5rem;
  }

  .footer-cols:first-child {
    margin-bottom: 0;
  }

  /* pages: a grid whose columns are as wide as their longest name, which stays on one line */
  .footer-pages {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0 5rem;
  }

  .footer-pages .footer-col a {
    white-space: nowrap;
  }

  .gg-play-button-r {
    width: 15rem;
    height: 15rem;
  }

  .gg-play-button-r::before {
    height: 10rem;
    border-top: 5rem solid transparent;
    border-bottom: 5rem solid transparent;
    border-left: 8rem solid var(--white);
  }
}

@media screen and (min-width: 1024px) {
  .banner-overlay {
    width: inherit;
    height: inherit;
    background: #000000b3;
    background: -webkit-gradient( linear, left top, right top, from(#000000ca), color-stop(25%, #000000b3), color-stop(50%, #00000000) );
    background: linear-gradient( to right, #000000b3 0, #000000b3 15%, #00000000 50% );
    position: absolute;
    z-index: 10;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  h3 {
    font-size: 2.2rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  h2 > .strongest {
    font-family: Merriweather, "Raleway", "Open Sans", Arial, sans-serif;
    font-size: 5rem;
  }

  h2 > .number {
    font-size: 10rem;
  }

  .main-banner-container {
;
  }

  .generic-container {
    max-width: 128rem;
  }

  .main-banner-container,
  .generic-container {
    width: 100%;
    margin-inline: auto;
  }

  .main-banner-container {
    position: relative;
  }

  .product-wide-container {
    left: 20%;
    width: 80%;
  }

  .main-banner-container * {
    color: var(--hero-headings-color-dsk);
  }

  .banner-content {
    max-width: 70rem;
    top: 25%;
    left: 5%;
    color: var(--hero-headings-color-dsk);
  }

  .banner-content,
  .product-banner-content {
    width: 100%;
    padding: 2rem;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: 0.25s ease;
  }

  .banner-content .banner-subtitle {
    font-size: 2.2rem;
  }

  .product-banner-content {
    max-width: 65rem;
    background: var(--main-bg-color);
    top: 50%;
    left: -20%;
    transform: translate(0, -50%);
    min-height: 80%;
    padding-inline: 3rem;
    justify-content: center;
  }

  .banner-content a,
  .product-banner-content a {
    margin-top: 2rem;
  }

  .product-banner {
    height: 70vh;
  }
}

.gallery-container {
  margin: 0 auto;
  display: grid;
  grid-row-gap: 3px;
}

.gallery-container > * {
  overflow: hidden;
  width: 100%;
}

.gallery-container a {
  display: initial;
}

.gallery-container img {
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

@media screen and (orientation: portrait) {
  @media screen and (min-width: 600px) {
    .gallery-container {
      max-height: 600px;
      grid-column-gap: 3px;
      grid-template-columns: repeat(5, 1fr);
      grid-template-rows: repeat(3, 1fr);
    }

    .gallery-pic-1 {
      grid-area: 1 / 3 / 3 / 5;
    }

    .gallery-pic-2 {
      grid-area: 1 / 1 / 2 / 2;
    }

    .gallery-pic-3 {
      grid-area: 1 / 2 / 2 / 3;
    }

    .gallery-pic-4 {
      grid-area: 2 / 1 / 3 / 3;
    }

    .gallery-pic-5 {
      grid-area: 1 / 5 / 2 / 6;
    }

    .gallery-pic-6 {
      grid-area: 2 / 5 / 3 / 6;
    }

    .gallery-pic-7 {
      grid-area: 3 / 1 / 4 / 2;
    }

    .gallery-pic-8 {
      grid-area: 3 / 2 / 4 / 4;
    }

    .gallery-pic-9 {
      grid-area: 3 / 4 / 4 / 5;
    }

    .gallery-pic-10 {
      grid-area: 3 / 5 / 4 / 6;
    }
  }
}

@media screen and (orientation: landscape) {
  @media screen and (min-height: 469px) {
    .gallery-container {
      max-height: 600px;
      grid-column-gap: 3px;
      grid-template-columns: repeat(5, 1fr);
      grid-template-rows: repeat(3, 1fr);
    }

    .gallery-pic-1 {
      grid-area: 1 / 3 / 3 / 5;
    }

    .gallery-pic-2 {
      grid-area: 1 / 1 / 2 / 2;
    }

    .gallery-pic-3 {
      grid-area: 1 / 2 / 2 / 3;
    }

    .gallery-pic-4 {
      grid-area: 2 / 1 / 3 / 3;
    }

    .gallery-pic-5 {
      grid-area: 1 / 5 / 2 / 6;
    }

    .gallery-pic-6 {
      grid-area: 2 / 5 / 3 / 6;
    }

    .gallery-pic-7 {
      grid-area: 3 / 1 / 4 / 2;
    }

    .gallery-pic-8 {
      grid-area: 3 / 2 / 4 / 4;
    }

    .gallery-pic-9 {
      grid-area: 3 / 4 / 4 / 5;
    }

    .gallery-pic-10 {
      grid-area: 3 / 5 / 4 / 6;
    }
  }

  @media screen and (min-height: 769px) {
    .gallery-container {
      max-height: 900px;
    }
  }

  @media screen and (min-height: 1081px) {
    .gallery-container {
      max-height: 1200px;
    }
  }

  @media screen and (min-height: 1441px) {
    .gallery-container {
      max-height: 1800px;
    }
  }
}

/* NOTE: HEADER AND MENU */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--main-header-height);
  box-shadow: 0 0.3rem 0.5rem var(--nav-shadow-color);
  z-index: 20;
  background-color: var(--main-bg-color);
  color: var(--main-fg-color);
}

.header.active {
  position: fixed;
  top: 0;
  box-shadow: 0 0.1rem 0.4rem var(--nav-shadow-color);
  animation: header-in 0.2s ease-out;
}

@keyframes header-in {
  from {
    transform: translateY(-100%);
  }
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-inline: 2rem;
}

.logo img {
  width: 14rem;
}

.logo-desktop {
  display: none;
}

.nav-toggle-btn {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
}

.line {
  width: 3rem;
  height: 0.3rem;
  background-color: var(--main-fg-color);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-toggle-btn.active .line:first-child {
  transform: translateY(0.8rem) rotate(45deg);
}

.nav-toggle-btn.active .line:nth-child(2) {
  opacity: 0;
}

.nav-toggle-btn.active .line:nth-child(3) {
  transform: translateY(-0.8rem) rotate(-45deg);
}

.navbar-link,
.submenu-link,
.submenu-chair-name {
  font-family: Merriweather, "Open Sans", Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.navbar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.4rem 1.5rem;
  font-size: 1.8rem;
  color: var(--nav-a-color);
}

.navbar-link span {
  display: inline-block;
}

.navbar-lang-code {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--white-b5);
}

.navbar-link:hover,
.has-submenu.active > .navbar-link {
  color: var(--nav-a-hv-color);
  text-decoration: none;
}

.menu-arrow-down {
  width: 0.8rem;
  height: 0.8rem;
  border: solid currentColor;
  border-width: 0 0.2rem 0.2rem 0;
  transform: translateY(-0.2rem) rotate(45deg);
  transition: transform 0.15s ease;
}

.has-submenu.active .menu-arrow-down {
  transform: translateY(0.2rem) rotate(225deg);
}

.submenu {
  display: none;
}

.has-submenu.active .submenu {
  display: block;
}

.submenu-chairs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem 2rem 2rem;
}

.submenu-chair {
  position: relative;
  padding: 1rem;
  border: 0.1rem solid var(--white-10);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.submenu-chair:hover,
.submenu-chair.is-current {
  border-color: var(--white-60);
  text-decoration: none;
}

.submenu-chair img {
  width: 100%;
  max-width: 16rem;
  margin: 0 auto 1rem;
}

.submenu-chair-name {
  font-size: 1.5rem;
  line-height: 1.3;
}

.submenu-languages {
  padding-bottom: 1rem;
}

.submenu-link {
  padding: 1rem 2rem;
  font-size: 1.6rem;
  text-align: center;
  color: var(--white-b5);
}

.submenu-link:hover,
.submenu-link.is-current {
  color: var(--main-fg-color);
}

@media screen and (max-width: 1023px) {
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--main-header-height) - var(--header-offset, 0rem));
    height: calc(100dvh - var(--main-header-height) - var(--header-offset, 0rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    background-color: var(--main-bg-color);
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .navbar.active {
    visibility: visible;
    opacity: 1;
  }

  .nav-item {
    border-bottom: 0.1rem solid var(--mob-menu-divider-color);
  }
}

@media screen and (min-width: 1024px) {
  .footer-pages {
    grid-template-columns: repeat(4, max-content);
  }

  .menu-container {
    max-width: 136rem;
    margin-inline: auto;
  }

  .logo-mobile,
  .nav-toggle-btn {
    display: none;
  }

  .navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    height: 100%;
  }

  .logo-desktop {
    display: block;
  }

  .logo img {
    width: 16rem;
  }

  .navbar-list {
    display: flex;
    justify-content: space-evenly;
    height: 100%;
  }

  .nav-item {
    position: relative;
    height: 100%;
  }

  .navbar-link {
    height: 100%;
    padding: 0 1rem;
    font-size: 1.7rem;
    white-space: nowrap;
    border-block: 0.3rem solid transparent;
  }

  .navbar-link:hover,
  .has-submenu.active > .navbar-link {
    border-bottom-color: var(--nav-a-hv-color);
  }

  .submenu {
    position: absolute;
    top: 100%;
    background-color: var(--black);
    box-shadow: 0 1rem 2rem -0.5rem var(--nav-shadow-color);
  }

  .nav-item:has(.submenu-chairs) {
    position: static;
  }

  .submenu-chairs {
    left: 0;
    width: 100%;
  }

  .submenu-chairs-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 136rem;
    margin-inline: auto;
    padding: 2rem;
  }

  .submenu-chair {
    border-color: transparent;
  }

  .submenu-chair img {
    max-width: 20rem;
  }

  .submenu-languages {
    right: 0;
    min-width: 100%;
    padding-block: 1rem;
  }
}

/* NOTE: BUTTONS AND CARDS */

.top-cta-button,
.optional-cta-button {
  text-decoration: none;
}

.optional-cta-button {
  margin-top: 1rem;
  color: var(--white);
  background-color: transparent;
  border: 0.1rem solid var(--white-60);
}

.optional-cta-button:hover {
  color: var(--black);
  background-color: var(--white);
  border-color: var(--white);
  text-decoration: none;
}

.sticky-cta-button .top-cta-button {
  min-width: auto;
  max-width: none;
  padding: 1rem 1.5rem;
  font-size: 1.4rem;
}

.video-link {
  position: relative;
}

.text-list {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  list-style: disc;
}

.text-list li {
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--p-normal-color);
}

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

.feature-four-cols-even {
  display: grid;
  gap: 2rem;
  margin-bottom: 1rem;
}

.feature-three-cols-even img,
.feature-four-cols-even img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.key-features .feature-col {
  padding: 1.5rem 0;
  border-top: 0.1rem solid var(--white-30);
  border-bottom: 0;
}

.key-features .feature-col p {
  margin: 0;
}

.block-models .product-banner-content {
  z-index: 1;
  transition: none;
}

.block-models .wide-banner {
  z-index: 0;
}

.block-models hr {
  margin-top: 4rem;
}

.mail-check {
  display: none;
}

@media screen and (min-width: 768px) {
  .feature-four-cols-even {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col-img-txt.no-image .text-section-flex {
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  .feature-four-cols-even {
    grid-template-columns: repeat(4, 1fr);
  }

  .block-models .product-wide-container {
    margin-bottom: 6rem;
  }
}

/* NOTE: ACCORDION */

.accordion-content {
  margin-bottom: 1rem;
  background: var(--grey-ud);
}

.accordion-content .title {
  margin: 0;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: 1.5rem 2rem;
  font: inherit;
  text-align: left;
  color: var(--white);
}

.accordion-content .description {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  padding-inline: 2rem;
  transition: height 0.2s ease, visibility 0.2s ease;
}

.accordion-content.open .description {
  visibility: visible;
}

.accordion-content .description p {
  margin: 0;
  padding-bottom: 1.5rem;
}

.expand-btn {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
}

.expand-btn .line {
  position: absolute;
  top: 0.65rem;
  width: 1.5rem;
  height: 0.2rem;
}

.expand-btn .line:nth-child(2) {
  transform: rotate(90deg);
}

.accordion-content.open .expand-btn .line:nth-child(2) {
  opacity: 0;
}

/* NOTE: 3D MODEL, SPECIFICATIONS, CONFIRMATION */

.model-3d-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  z-index: 1;
}

.model-3d-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.specs-list {
  margin-bottom: 4rem;
  border-top: 0.1rem solid var(--white-30);
}

.specs-row {
  display: grid;
  gap: 0.4rem 3rem;
  padding: 1.2rem 0;
  font-size: 1.6rem;
  line-height: 1.5;
  border-bottom: 0.1rem solid var(--white-30);
}

.specs-row dt {
  font-weight: 700;
  color: var(--white);
}

.specs-row dd {
  color: var(--p-normal-color);
}

@media screen and (min-width: 768px) {
  .specs-row {
    grid-template-columns: 1fr 2fr;
  }
}

#confirmation-message {
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: fixed;
  top: 15rem;
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: calc(100% - 4rem);
  min-width: 30rem;
  padding: 1.5rem 2rem;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  border-radius: 0.3rem;
  transition: 0.15s ease;
}

#confirmation-message.active {
  opacity: 1;
  visibility: visible;
}

#confirmation-message p {
  margin: 0;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--black);
}

#close-confirmation-popup {
  padding-inline: 0.5rem;
  font-size: 2.4rem;
  color: var(--grey-r);
}

:focus-visible {
  outline: 0.2rem solid var(--white);
  outline-offset: 0.2rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
