@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700);
:root {
    --ar-button-scale: 1;
    --poster-color: transparent;
    --progress-bar-height: 0;
}


select {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    box-sizing: border-box;
    padding: 0.5em 2em 0.5em 0.5em;
    border: 1px solid #a7a7a7;
    border-radius: 0px;
    line-height: inherit;
    width: 100px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-color: white;
    background-position: right 15px top 1em, right 10px top 1em;
    background-size: 5px 5px, 5px 5px;
}

.webar-view {
    display: grid;
    position: absolute;
    grid-template-rows: min-content 1fr;
    grid-template-columns: repeat(2, 50%);

    width: 100%;
    top: 0px;

    z-index: 2;
}
.webar-head {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    position: relative;
    z-index: 2;
}

.webar-head h1 {
    margin: 0;
    padding: 48px 0 0 24px;
    white-space: nowrap;
    color: #4a4a4a;
}

.webar-qr {
    position: relative;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    position: relative;
    z-index: 2;
    display: none;
}

.webar-qr-img {
    display: block;
    position: absolute;
    top: 32px;
    right: 16px;
    width: 80%;
    max-width: 100px;
    max-height: 100px;
    padding: 1px;
    background: white;
    border-radius: 8px;
    border: 1px solid #eeeeee;
    -webkit-box-shadow: 1px 0px 4px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 1px 0px 4px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 1px 0px 4px 0px rgba(34, 60, 80, 0.2);
}

.webar-qr-img img {
    display: block;
    width: 100%;
    height: auto;
}

.webar-body {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
    position: relative;
    z-index: 1;
    
    display: none;
}

model-viewer#model {
    width: 0px;
    height: 0px;
}

@media only screen and (min-width: 1024px) {
    .desktop .webar-qr {
        display: block;
    }

    .webar-head h1 {
        padding-left: 32px;
    }
    .webar-qr-img  {
        right: 32px;
    }

    #controls {
        left: 32px;
    }
}

.iframe-mode .webar-view,
.iframe-mode model-viewer#model {
    position: absolute;
    width: 100%;
    height: 100%;
}


#button_ar_get_qrcode.is-ar-loading {
    opacity: 0.55;
    cursor: progress;
}
#button_ar_get_qrcode.is-ar-loading .tbl-window-logo-icon {
    animation: ar-pulse 0.9s ease-in-out infinite;
}
@keyframes ar-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

#ar-button {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);

    position: absolute;
    top: 48px;
    right: 24px;

    border: 0 none;
    outline: 0 none;

    display: none;
    height: 48px;
    width: 48px;

    background: white url('https://s3.eu-central-1.amazonaws.com/marevo.vision/RelevantProjects/webAR/img/gotoar.jpg') 50% 50% / contain no-repeat;
}

@media screen and (min-width: 560px) {
    #ar-button {
        right: 32px;
    }
}

#ar-prompt {
    position: absolute;
    left: 50%;
    bottom: 60px;
    animation: 2s ease-in-out 0s infinite alternate none running elongate;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: elongate;
    display: none;
}

@keyframes elongate {
    from {
        transform: translateX(100px);
    }

    to {
        transform: translateX(-100px);
    }
}

@keyframes circle {
    from {
        transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

#ar-prompt > img {
    animation: circle 4s linear infinite;
}


:root {
  --colorDark: #1E3240;
  --colorGreen: #AFC53F;
  --colorWhite: #FFFFFF;
  --colorGrey: #D9D9D9;
  --colorGreyText: #B9B9B9;

  --heightMobMenu: 300px;

  --header-height: 84px;
  --app-height: calc(100dvh - var(--header-height));
}

@font-face {
  font-family: 'BebasNeueBold';
  src: url('./public/fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BebasNeue';

  src: url('./public/fonts/BebasNeue.woff2') format('woff2'),
    url('./public/fonts/BebasNeueRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  ascent-override: 85%;
  descent-override: 15%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'BebasNeue Fallback';
  src: local('Arial Narrow');
  size-adjust: 91.60%;
  ascent-override: 92.80%;
  descent-override: 16.38%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'BebasNeue Fallback Mobile';
  src: local('Roboto'), local('Helvetica Neue');
  size-adjust: 74.88%;
  ascent-override: 113.51%;
  descent-override: 20.03%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Roboto';
  src: url('./public/fonts/Roboto-VariableFont_wdth%2Cwght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.temp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: var(--header-height);
  object-fit: cover;
  object-position: top left;
  pointer-events: none;
  user-select: none;
  z-index: 9999;
}

@media (min-width: 769px) {
  .temp-navbar--mobile {
    display: none;
  }
}

/* ********** Mobile header ********** */
.mobile-navbar,
.mobile-navbar__menu {
  display: none;
}

@media (max-width: 768px) {
  .mobile-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: var(--header-height);
    z-index: 9999;
    background: #2B2B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .mobile-navbar__logo-link {
    display: flex;
  }

  .mobile-navbar__logo {
    height: 16px;
    width: auto;
  }

  .mobile-navbar__burger {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .mobile-navbar__login {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
  }

  .mobile-navbar__login img {
    width: 17px;
    height: 21px;
  }

  .mobile-navbar__burger-line {
    position: absolute;
    left: 6px;
    width: 20px;
    height: 1.5px;
    background: #FFFFFF;
    transition: transform 0.3s ease, top 0.3s ease;
  }

  .mobile-navbar__burger-line:nth-child(1) {
    top: 12px;
  }

  .mobile-navbar__burger-line:nth-child(2) {
    top: 18px;
  }

  /* burger → cross: both lines meet in the middle and rotate */
  .mobile-navbar__burger.is-open .mobile-navbar__burger-line:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }

  .mobile-navbar__burger.is-open .mobile-navbar__burger-line:nth-child(2) {
    top: 15px;
    transform: rotate(-45deg);
  }

  .mobile-navbar__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    padding: 8px 20px;
    background: #FFFFFF;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .mobile-navbar__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
  }

  .mobile-navbar__menu-link {
    padding: 14px 0;
    color: #000000;
    font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
    font-size: 18px;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-bottom: 0.5px solid #AD976280;
  }

  .mobile-navbar__menu-link:last-child {
    border-bottom: none;
  }
}

/* Real site header  */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: var(--header-height);
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .site-navbar {
    display: none;
  }
}

.site-navbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.site-navbar__link {
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.site-navbar__link:hover {
  opacity: 0.75;
}

.site-navbar__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 26px;
  width: auto;
}

.site-navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}

.site-navbar__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: opacity 0.15s ease;
}

.site-navbar__social:hover {
  opacity: 0.75;
}

.site-navbar__social img {
  width: 100%;
  height: 100%;
}

.site-navbar__catalog-btn,
.site-navbar__login-btn {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 8px 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  display: inline-block;
  text-decoration: none;
}

.site-navbar__login-btn {
  border: none;
}

.site-navbar__catalog-btn:hover,
.site-navbar__login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

body,
html {
  height: var(--app-height);
  margin: 0;
  padding: 0;

  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  font-size: 14px;

  color: #444444;
  display: flex;
  justify-content: center;
  width: 100%;
  position: fixed;
  top: var(--header-height);
  left: 0;
  overflow: hidden;
}

body {
  font-family: "HelveticaNeue", sans-serif;
  font-weight: 500;
  font-style: normal;
  overflow: hidden;
  font-optical-sizing: auto;
}

/* LOADER: */
#app-video-loader {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  background-color: #ffffff;
}

#app-video-loader video {
  width: 500px;
  height: auto;
}

#app-video-loader.hidden {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}

* {
  touch-action: manipulation;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.frame {
  top: 0;
  position: absolute;
  left: 0;
  padding: 1rem;
}

.options {
  position: absolute;
  left: 0;
}

.option {
  background-size: cover;
  background-position: 50%;
  background-color: white;
  margin-bottom: 3px;
  padding: 10px;
  height: 55px;
  width: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.option:hover {
  border-left: 5px solid white;
  width: 58px;
}

.option.--is-active {
  border-right: 3px solid red;
  width: 58px;
  cursor: default;
}

.option.--is-active:hover {
  border-left: none;
}

.option img {
  height: 100%;
  width: auto;
  pointer-events: none;
}

.info {
  padding: 0 1em;
  display: flex;
  justify-content: flex-end;
}

.info p {
  margin-top: 0;
}

.controls {
  position: absolute;
  align-content: center;
  width: 230px;
  margin-right: 0;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}

.hidden {
  display: none;
}

.drag-notice {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  width: 15em;
  height: 5em;
  box-sizing: border-box;
  font-size: 0.9em;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  border-radius: 1em;
  background: #00000080;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;

  display: none;
}

.drag-notice.start {
  -webkit-animation: popout 0.25s 1.3s forwards;
  animation: popout 0.25s 1.3s forwards;
}

.content {
  display: flex;
  margin-bottom: 10px;
}

@-webkit-keyframes popout {
  to {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
}

@keyframes popout {
  to {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
}

@media (max-width: 960px) {
  .options {
    top: 0;
  }

  .info {
    padding: 0 1em 1em 0;
  }

  .frame {
    left: auto;
    right: 0;
    padding-left: 6rem;
  }
}

@media (max-width: 600px) {
  .info {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1em 1em;
  }

  .controls {
    position: absolute;
    right: auto;
    bottom: 0;
    width: 100%;
    padding: 8px;
    margin: 6px;
  }
}

/* ##################################################### */

.canvas__container {
  display: flex;
  flex: 1;
  height: var(--app-height);
  width: calc(100vw - 280px);
  width: 100vw;
  /*! TEMP */

  position: absolute;
  top: 0;
  left: 0;
}

.canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
  flex: 1;
}

li,
a,
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

.rotated {
  transform: rotate(180deg);
}

@media only screen and (max-width: 665px),
only screen and (-webkit-device-pixel-ratio: 3) and (max-width: 1170px) {

  body,
  html {
    flex-direction: column;
  }

  .canvas__container {
    height: calc(var(--app-height) - var(--heightMobMenu) + 30px);
    height: var(--app-height);
    /*! TEMP */
    width: 100%;
  }

  .rotated {
    transform: rotate(270deg);
  }
}

/* ------------------------------------------- */

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

.clickable {
  cursor: pointer;
}

/*  ################################################### */

.tbl-info {
  display: none;
  position: fixed;
  left: 0;
  top: var(--header-height);
  width: 100%;
  height: var(--app-height);
  vertical-align: middle;
  font-weight: 400;
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 20;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

.tbl-info.active {
  display: flex;
}

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

.tbl-info-box {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 560px;
  height: 480px;
  margin: auto;
  z-index: 2;
}

.tbl-info-box.pdf {
  background-color: var(--colorWhite);
}

.tbl-info-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(480px, 100%);
  padding: 30px;
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0px 36px 80px 0px #00000026;
}

.tbl-info-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tbl-info-item {
  display: none;
}

.tbl-info-item-qr.active {
  display: flex;
}

.tbl-info-item-share.active {
  display: flex;
}

.tbl-info-item-pdf.active {
  display: flex;
}

.tbl-info-item-arview.active {
  display: flex;
}

.tbl-info-item-info.active {
  display: flex;
}

/* Item detail popup (e.g. Secondary Heater): image, title, description. */
.tbl-info-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tbl-info-detail-img {
  width: auto;
  max-width: 220px;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 16px;
}

.tbl-info-detail-title {
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-weight: 400;
  font-size: 32px;
  line-height: 110%;
  letter-spacing: 2%;
  color: #000000;
  margin-bottom: 16px;
  text-transform: uppercase;
  text-align: center;
}

.tbl-info-detail-text {
  max-width: 360px;
  text-align: center;
}

.tbl-info-item-info .tbl-info-detail-text p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  max-width: none;
}

.tbl-info-item p {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #FFFFFF;
  max-width: 242px;
}

.tbl-info-item p:not(:last-child) {
  margin-bottom: 16px;
}

.tbl-info-close {
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
  z-index: 2;
}

.tbl-info-sharing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tbl-info-sharing-title {
  display: flex;
  align-items: center;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 2%;
  color: #000000;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.tbl-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tbl-qr-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-weight: 400;
  font-size: 32px;
  line-height: 110%;
  letter-spacing: 2%;
  color: #000000;
  margin-bottom: 16px;
  text-transform: uppercase;
  text-align: center;
}

.tbl-qr-text {
  max-width: 320px;
  margin-bottom: 24px;
  text-align: center;
}

.tbl-qr-text p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  max-width: none;
}

.tbl-qr-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid #AD9762;
  width: 170px;
  height: 170px;
}

.qr-container {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgb(34, 34, 34);
  border-radius: 10px;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;

  display: none;
}

.tbl-qr-img2 {
  width: 95%;
  height: 95%;
}

.tbl-info-sharing-window {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tbl-info-sharing-window input {
  height: 48px;
  width: 308px;
  padding: 11px 7px;
  border: 1px solid #979797;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  outline: none;
  color: #000000;
  background: var(--colorWhite);
}

.tbl-info-pdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.form-group {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid var(--colorGrey);
  border-radius: 3px;
  width: 100%;
}

.form-group label {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0 10px 0 12px;
  width: 200px;
  font-weight: 400;
  font-size: 15px;
  line-height: 19px;
}

.input-error {
  border: 2px solid red;
}

.tbl-info-sharing-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 48px;
  width: 64px;
  background: #000000;
  border: none;
  border-radius: 50px;
}

.tbl-info-sharing-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.tbl-info-sharing-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 159px;
  height: 40px;
  border: 1px solid var(--colorDark);
  flex-shrink: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #FFFFFF;
  padding: 5px;
  text-decoration: none;
  transition: .3s;
}

.tbl-info-sharing-btn:hover {
  color: var(--colorGreen);
}

/* ===== Shared popup scaffold (overview + download form) ===== */
.summary-popup,
.download-pdf {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.summary-popup.active,
.download-pdf.active {
  display: flex;
}

.summary-popup *,
.download-pdf * {
  box-sizing: border-box;
}

.download-pdf {
  z-index: 41;
}

.summary-popup__overlay,
.download-pdf__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.summary-popup__card {
  margin-top: 160px;
}

.download-pdf__card {
  margin-top: 5%;
}

.summary-popup__card,
.download-pdf__card {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 40px 44px 44px;
  background-color: var(--colorWhite);
  border-radius: 20px;
  box-shadow: 0px 36px 80px 0px rgba(0, 0, 0, 0.18);

}

/* ******* SUMMARY ******* */
.summary-popup {
  inset: var(--header-height) 0 0 0;
  padding: 0;
  background-color: var(--colorWhite);
  overflow-y: auto;
}

.summary-popup.active {
  display: block;
}

.summary-popup__overlay {
  display: none;
}

.summary-popup__card {
  width: 100%;
  max-width: none;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 40px clamp(20px, 6vw, 80px) 64px;
}

.summary-popup__close,
.download-pdf__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-popup__title,
.download-pdf__title {
  margin: 0 0 30px;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  display: flex;
  justify-content: left;
  line-height: 100%;
  letter-spacing: 2%;
}

.download-pdf__title {
  font-size: 24px;
}

.summary-popup__title {
  font-size: 32px;
}

.summary-popup__shots {
  display: flex;
  gap: 120px;
  justify-content: center;
  margin-bottom: 30px;
}

.summary-popup__shot {
  width: 480px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  overflow: hidden;
}

.summary-popup__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-popup__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 920px;
  margin: 0 auto;
}

.summary-popup__header {
  display: flex;
  flex-direction: column;
}

.summary-popup__header-title {
  font-size: 20px;
  font-weight: 700;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 0.5px solid #AD976280;
}

.summary-popup__header-row {
  font-size: 24px;
  font-weight: 700;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: space-between;
  padding: 10px 0;
}

.summary-popup__cat:not(:last-child) {
  margin-bottom: 40px;
}

.summary-popup__cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 0.5px solid #AD976280;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
}

.summary-popup__cat-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.summary-popup__cat-icon--exterior {
  -webkit-mask-image: url(./public/img/icons/marevo-exterior-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-exterior-menu-icon.svg);
}

.summary-popup__cat-icon--interior {
  -webkit-mask-image: url(./public/img/icons/marevo-interior-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-interior-menu-icon.svg);
}

.summary-popup__cat-icon--electronics {
  -webkit-mask-image: url(./public/img/icons/marevo-electronics-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-electronics-menu-icon.svg);
}

.summary-popup__cat-icon--rooftop {
  -webkit-mask-image: url(./public/img/icons/marevo-rooftop-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-rooftop-menu-icon.svg);
}

.summary-popup__cat-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #AD976280;
}

.summary-popup__cat-total-label {
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
}

.summary-popup__cat-total-value {
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  white-space: nowrap;
}

.summary-popup__row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 2fr 6.5rem;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--colorDark);
}

.summary-popup__row-section {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.summary-popup__row-label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.summary-popup__row-label>span:last-child {
  grid-column: 2;
  min-width: 0;
}

.summary-popup__row-price {
  text-align: right;
  white-space: nowrap;
  color: var(--colorDark);
}

.summary-popup__swatch {
  display: inline-block;
  width: 22px;
  height: 14px;
  border: 1px solid var(--colorGrey);
  border-radius: 3px;
}

/* **********Summary on mobile ***************/

@media (max-width: 768px) {
  .summary-popup__row {
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    row-gap: 4px;
    padding: 2px 0;
    font-size: 15px;
  }

  .summary-popup__row-section {
    grid-column: 1 / -1;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
  }

  .summary-popup__cat-title {
    margin: 0 0 -3px;
  }

  .summary-popup__cat-title {
    font-size: 18px;
  }

  .summary-popup__row-section:empty {
    display: none;
  }

  .summary-popup__row-label {
    display: flex;
    align-items: center;
    grid-column: 1;
    gap: 10px;
    font-size: 15px;
  }

  .summary-popup__row-price {
    grid-column: 2;
    font-size: 15px;
  }

  .summary-popup__swatch {
    width: 28px;
    height: 18px;
    border-radius: 5px;
  }

  .summary-popup__shots {
    flex-direction: column;
    gap: 16px;
  }

  .summary-popup__shot {
    width: 100%;
    height: auto;
    aspect-ratio: 13 / 8;
  }
}

.summary-popup__footer {
  padding-top: 10px;
  margin-top: 50px;
  border-top: 1px solid #AD976280;
}

.summary-popup__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-popup__total-label {
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 24px;
  color: #AD9762;
}

.summary-popup__total-value {
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 24px;
  color: #AD9762;
}

.summary-popup__total-additional {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #AD9762;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 50px;
}

.summary-popup__actions {
  display: flex;
  gap: 12px;
}

.summary-popup__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.summary-popup__btn--ghost {
  border: 1px solid var(--colorDark);
  background: transparent;
  color: var(--colorDark);
}

.summary-popup__btn--primary {
  border: none;
  background: #000;
  color: #fff;
}

.summary-popup__btn:hover {
  opacity: 0.85;
}

.summary-popup__btn-icon {
  width: 14px;
  height: 14px;
}

#summary-continue-btn .summary-popup__btn-icon {
  height: auto;
  filter: brightness(0) invert(1);
  padding-top: 4px;
}

.summary-popup__btn-text {
  padding-block-start: 3px;
}

.download-pdf__back__btn {
  display: none;
}

@media (max-width: 768px) {
  .summary-popup__actions {
    flex-direction: column;
  }

  .summary-popup__btn {
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
  }

  .summary-popup__close,
  .download-pdf__close {
    display: none;
  }

  .download-pdf {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    box-sizing: border-box;
    height: calc(100dvh - var(--header-height)) !important;
    margin-top: var(--header-height) !important;
    padding: 0 !important;
  }

  .download-pdf__card {
    border-radius: 0px !important;
    margin-top: 0px !important;
    height: 100dvh !important;
  }

  .download-pdf__back__btn {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 999px;
    font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s ease;
  }

  .download-pdf__back__btn--ghost {
    border: 1px solid var(--colorDark);
    background: transparent;
    color: var(--colorDark);
  }

  .download-pdf__submit-text {
    padding-block-start: 3px;
  }
}

.download-pdf__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-pdf__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-pdf__input {
  width: 100%;
  min-width: 0;
  height: 48px;
  flex-shrink: 0;
  padding: 0 24px;
  border: 1px solid var(--colorGrey);
  border-radius: 999px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--colorDark);
  background: var(--colorWhite);
  outline: none;
  transition: border-color 0.15s ease;
}

.download-pdf__row .download-pdf__input {
  flex: 0 1 290px;
  width: 290px;
}

.download-pdf__input::placeholder {
  color: var(--colorGreyText);
}

.download-pdf__input:focus {
  border-color: var(--colorDark);
}

.download-pdf__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2%;
  line-height: 100%;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.download-pdf__submit:hover {
  opacity: 0.88;
}

.download-pdf__submit-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 640px) {

  .summary-popup__card {
    padding: 32px 22px 28px;
  }

  .download-pdf__card {
    padding: 47px 22px 28px;
  }

  .download-pdf__form {
    gap: 20px !important;
  }

  .download-pdf__row,
  .summary-popup__actions {
    flex-direction: column;
  }

  .summary-popup__title,
  .download-pdf__title {
    font-size: 26px;
  }

  .download-pdf__title {
    margin-block-start: 0px !important;
  }

  .download-pdf__row .download-pdf__input {
    width: 100%;
    flex: auto;
  }

  .download-pdf__submit {
    height: 48px;
    gap: 6px;
  }

  .download-pdf__submit-icon {
    width: 14px;
    height: 14px;
  }
}

.tbl-buttons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  gap: 20px;
  width: auto;
  bottom: 5%;
}

.tbl-buttons-container .tbl-window-logo {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 0;
  padding: 10px;
  border-radius: 100px;
  background: #FFFFFFBF;
  border: 1px solid #AD976280;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.tbl-buttons-container .tbl-window-logo:hover {
  border-color: #AD9762;
  box-shadow: 0 0 10px 0 rgba(173, 151, 98, 0.4);
}

.tbl-buttons-container .tbl-window-logo.activated {
  background: #AD9762;
  border-color: #AD9762;
}

.tbl-buttons-container .tbl-window-logo-icon {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-mask-image: none;
  mask-image: none;
}

.tbl-buttons-container .icon-ar {
  background-image: url(./public/img/icons/marevo-icon-ar.svg);
}

.tbl-buttons-container .icon-share {
  background-image: url(./public/img/icons/marevo-icon-share.svg);
}

.tbl-buttons-container .icon-dimension {
  background-image: url(./public/img/icons/marevo-icon-dimension.svg);
}

.tbl-buttons-container .icon-daymode {
  background-image: url(./public/img/icons/marevo-icon-daymode.svg);
}

.tbl-buttons-container .icon-brightness {
  background-image: url(./public/img/icons/marevo-icon-brightness.svg);
}

.tbl-buttons-container .icon-reset {
  background-image: url(./public/img/icons/marevo-icon-reset.svg);
}

.tbl-buttons-container .icon-fullscreen {
  background-image: url(./public/img/icons/marevo-icon-fullscreen.svg);
}

.tbl-buttons-container .tbl-window-logo:hover .icon-ar {
  background-image: url(./public/img/icons/marevo-icon-ar-hover.svg);
}

.tbl-buttons-container .tbl-window-logo:hover .icon-share {
  background-image: url(./public/img/icons/marevo-icon-share-hover.svg);
}

.tbl-buttons-container .tbl-window-logo:hover .icon-dimension {
  background-image: url(./public/img/icons/marevo-icon-dimension-hover.svg);
}

.tbl-buttons-container .tbl-window-logo:hover .icon-daymode {
  background-image: url(./public/img/icons/marevo-icon-daymode-hover.svg);
}

.tbl-buttons-container .tbl-window-logo:hover .icon-brightness {
  background-image: url(./public/img/icons/marevo-icon-brightness.svg);
}

.tbl-buttons-container .tbl-window-logo:hover .icon-reset {
  background-image: url(./public/img/icons/marevo-icon-brightness-hover.svg);
}

.tbl-buttons-container .tbl-window-logo:hover .icon-fullscreen {
  background-image: url(./public/img/icons/marevo-icon-fullscreen-hover.svg);
}

.tbl-buttons-container .tbl-window-logo.activated .icon-daymode {
  background-image: url(./public/img/icons/marevo-icon-daymode-active.svg);
}

.tbl-buttons-container .tbl-window-logo.activated .icon-fullscreen {
  background-image: url(./public/img/icons/marevo-icon-fullscreen-active.svg);
}

.tbl-buttons-container .tbl-window-logo.activated .icon-dimension {
  background-image: url(./public/img/icons/marevo-icon-dimension-active.svg);
}

.tbl-buttons-container .tbl-window-logo-text {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #AD9762;
  background: transparent;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.tbl-buttons-container .tbl-window-logo:hover .tbl-window-logo-text {
  opacity: 1;
}

/* Brightness popover (#button_brightness)  */
.brightness-popover {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  z-index: 5;
  width: 132px;
  padding: 18px 14px 22px;
  border-radius: 20px;
  background: rgb(18 16 12 / 0%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(173, 151, 98, 0.35);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px) scale(0.96);
  transform-origin: bottom center;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  cursor: default;
}

.brightness-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.brightness-popover__title {
  margin: 0 0 16px;
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  color: #AD9762;
}

.brightness-popover__body {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}

.brightness-popover__ticks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
  padding: 6px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(255, 200, 120, 0.65);
}

.brightness-popover__track {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
}

.brightness-popover__bulb {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
  flex-shrink: 0;
  background-image: url(./public/img/icons/marevo-icon-brightness-hover.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.brightness-popover__dot {
  display: block;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.brightness-popover__slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 6px;
  height: 220px;
  margin: 0;
  padding: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.25), #AD9762 90%);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.brightness-popover__slider::-webkit-slider-runnable-track {
  width: 6px;
  background: transparent;
  border-radius: 999px;
}

.brightness-popover__slider::-moz-range-track {
  width: 6px;
  background: transparent;
  border-radius: 999px;
}

.brightness-popover__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #AD9762;
  box-shadow: 0 0 12px 4px rgba(255, 200, 120, 0.65);
  cursor: pointer;
  margin-left: -6px;
}

.brightness-popover__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #AD9762;
  box-shadow: 0 0 12px 4px rgba(255, 200, 120, 0.65);
  cursor: pointer;
}

.brightness-popover__value {
  display: none;
}

/* Mobile: a slim horizontal bar */
@media (max-width: 768px) {
  .brightness-popover {
    position: fixed;
    top: calc(var(--header-height) + var(--mobile-canvas-h) - 10px);
    left: 12px;
    right: 60px;
    bottom: auto;
    width: auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(18, 16, 12, 0.55);
    transform: translateY(calc(-100% + 6px)) scale(0.98);
    transform-origin: bottom right;
  }

  .brightness-popover.is-open {
    transform: translateY(-100%) scale(1);
  }

  .brightness-popover__title,
  .brightness-popover__ticks,
  .brightness-popover__dot {
    display: none;
  }

  .brightness-popover__body {
    align-items: center;
    gap: 10px;
  }

  .brightness-popover__track {
    flex: 1;
    flex-direction: row;
    width: auto;
    gap: 10px;
  }

  .brightness-popover__bulb {
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .brightness-popover__slider {
    writing-mode: horizontal-tb;
    direction: ltr;
    flex: 1;
    width: auto;
    height: 6px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.25), #AD9762 90%);
    touch-action: none;
  }

  .brightness-popover__slider::-webkit-slider-runnable-track {
    width: auto;
    height: 6px;
  }

  .brightness-popover__slider::-moz-range-track {
    width: auto;
    height: 6px;
  }

  .brightness-popover__slider::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-left: 0;
    margin-top: -7px;
  }

  .brightness-popover__value {
    display: block;
    min-width: 24px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-align: right;
    color: #FFC878;
  }
}

.tbl-buttons-nav-container {
  display: flex;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  gap: 4px;
  border: 1px solid #AD9762;
  border-radius: 100px;
  background: #FFFFFFBF;
  transition: top 0.5s ease;
}

.menu__hub {
  display: flex;
}

.menu__hub_wrapper {
  display: flex;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(95%, 980px);
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 2;
}

.menu__block {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.menu__block-list {
  display: flex;
  flex-direction: row;
  gap: 14px;
}

.menu__block-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.menu_item_wripper {
  display: flex;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.menu_item_color-image {
  margin: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.menu_item_color-title {
  font-size: 10px;
  font-weight: 400;
  text-align: center;
}

.non-active {
  display: none;
}

.tbl-window-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 114px;
  height: 38px;
  padding: 0 10px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  user-select: none;
  color: #000000;
  background: transparent;

  transition: .3s linear;
}

.tbl-window-logo:hover {
  color: #AD9762;
}

.tbl-window-logo.activated {
  background-color: #AD9762;
  color: #000000;
}

.tbl-window-logo-icon {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.tbl-window-logo-icon.exterior-icon {
  -webkit-mask-image: url(./public/img/icons/marevo-exterior-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-exterior-menu-icon.svg);
}

.tbl-window-logo-icon.interior-icon {
  -webkit-mask-image: url(./public/img/icons/marevo-interior-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-interior-menu-icon.svg);
}

.tbl-window-logo-icon.electronics-icon {
  -webkit-mask-image: url(./public/img/icons/marevo-electronics-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-electronics-menu-icon.svg);
}

.tbl-window-logo-icon.rooftop-icon {
  -webkit-mask-image: url(./public/img/icons/marevo-rooftop-menu-icon.svg);
  mask-image: url(./public/img/icons/marevo-rooftop-menu-icon.svg);
}

.tbl-window-logo-icon.icon-back {
  -webkit-mask-image: url(./public/img/icons/marevo-menu-icon-back.svg);
  mask-image: url(./public/img/icons/marevo-menu-icon-back.svg);
}

.tbl-window-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  color: inherit;
  letter-spacing: 2%;
  font-family: BebasNeue, "BebasNeue Fallback", "BebasNeue Fallback Mobile";
}

#button_to_website {
  border: none;
  margin: 0;
  padding: 0;
  background: none;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

.cover_for_android {
  display: flex;
  justify-content: center;
  position: fixed;
  width: 100vw;
  height: var(--app-height);
  top: var(--header-height);
  left: 0;
  z-index: 3;
  background-color: #031d2e;

  display: none;
}

.cover_for_android.android {
  display: flex;
}

.cover_for_android_txt {
  align-self: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.tbl-window-logo.activated .tbl-window-logo-text {
  color: inherit;
}

#button_daymode.activated .tbl-window-logo-text {
  color: #AD9762;
}

.tbl-info-close.pdf svg path {
  fill: var(--colorDark);
}

@media only screen and (max-width: 665px),
only screen and (-webkit-device-pixel-ratio: 3) and (max-width: 1170px) {
  #qr-container {
    display: none;
  }

  .tbl-info-box {
    width: 100%;
    height: 100%;
    margin: auto;
    z-index: 2;
  }

  .tbl-info-sharing-title {
    margin-bottom: 20px;
  }

  .tbl-info-sharing-window input {
    height: 48px;
    width: 209px;
  }

  .tbl-info-sharing-icon-container {
    height: 48px;
    width: 64px;
  }

  .nav_btn {
    display: flex;
  }

  .tbl-window-logo {
    width: 66px;
    height: 30px;
  }

  .tbl-window-logo {
    border-radius: 17px;
  }

  .tbl-window-logo-icon.activated {
    display: none;
  }

  .tbl-window-logo:hover .tbl-window-logo-icon {
    display: none;
  }

  .tbl-window-logo.activated .tbl-window-logo-icon {
    display: none;
  }

  .tbl-buttons-container .tbl-window-logo:hover .tbl-window-logo-icon,
  .tbl-buttons-container .tbl-window-logo.activated .tbl-window-logo-icon {
    display: block;
  }

  .tbl-window-logo-text {
    font-size: 10px;
  }

  .tbl-buttons-nav-container {
    top: auto;
    bottom: 10px;
    gap: 4px;
  }

  .menu__hub_wrapper {
    bottom: 42px;
  }

  .menu__block {
    margin-bottom: 10px;
    width: 45%;
  }

  .menu__block-list {
    gap: 5px;
  }

  .menu_item_wripper {
    width: 24px;
    height: 24px;
  }

  .menu_item_color-image {
    width: 20px;
    height: 20px;
  }

  .menu_item_color-title {
    display: none;
  }

  .non-active {
    display: none;
  }
}

.tbl-window-logo-text span:not(:last-child) {
  font-weight: 700;
  margin-right: 4px;
}

/* *************Right-side accordion menu ••••••••••• */
#menu__hub.menu__hub_wrapper {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: auto;
  transform: none;
  width: min(348px, 100vw);
  max-height: var(--app-height);
  padding: 40px 24px 28px 24px;
  background: #FFFFFFBF;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  overflow-y: auto;
  z-index: 3;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.04);
}

#menu__hub.menu__hub_wrapper.non-active {
  display: none;
}

#menu__hub .menu__block,
#menu__hub .menu__block {
  padding: 0;
}

#menu__hub .menu__section-title,
#menu__hub .menu__section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  padding: 10px 0;
  cursor: pointer;
  user-select: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #e7e3d8;
}

#menu__hub .menu__section-chevron,
#menu__hub .menu__section-chevron {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu__hub .menu__block.expanded .menu__section-chevron,
#menu__hub .menu__block.expanded .menu__section-chevron {
  transform: rotate(180deg);
}

#menu__hub .menu__section-body,
#menu__hub .menu__section-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu__hub .menu__block.expanded .menu__section-body,
#menu__hub .menu__block.expanded .menu__section-body {
  grid-template-rows: 1fr;
}

#menu__hub .menu__section-body-inner {
  overflow: hidden;
  min-height: 0;
}

/* Rooftop deck-dependent sections (stairway / railings): smoothly collapse  */
#menu__hub .menu__block--deck-dependent {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-in-out;
}

#menu__hub.rooftop-deck-off .menu__block--deck-dependent {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

#menu__hub .menu__block--deck-dependent>.menu__block-collapse {
  overflow: hidden;
  min-height: 0;
}

#menu__hub .menu__block--disabled {
  opacity: .4;
  pointer-events: none;
}

#menu__hub .menu__collapse-reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease-in-out, opacity 0.3s ease-in-out;
}

#menu__hub .menu__collapse-reveal.is-shown {
  grid-template-rows: 1fr;
  opacity: 1;
}

#menu__hub .menu__collapse-reveal>.menu__collapse-reveal-inner {
  overflow: hidden;
  min-height: 0;
}

#menu__hub .menu__section-body-content {
  padding: 12px 10px 20px;
}

#menu__hub .menu__block .menu__block-list,
#menu__hub .menu__block .menu__block-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 0 14px 0;
}

#menu__hub .menu__block .menu__block-list.menu__nested-swatches {
  padding-left: 24px;
}

#menu__hub .menu__block .menu__block-list.menu__icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-wrap: unset;
  gap: 10px;
  padding: 10px 0 14px 0;
}

#menu__hub .menu__block .menu__block-list.menu__frame-swatches {
  padding-bottom: 0;
  padding-top: 10px;
}

.menu__option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  cursor: pointer;
  user-select: none;
}

.menu__option-row .menu__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #000000;
  margin-right: 6px;
  flex-shrink: 0;
  position: relative;
}

.menu__option-row.active .menu__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #b69b4c;
}

.menu__option-row.active .menu__radio {
  border: 1px solid #b69b4c !important;
}

.menu__option-row .menu__option-label {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #AD9762;
  font-weight: 400;
  font-family: "Roboto";
}

.menu__option-row:not(.active) .menu__option-label {
  color: #999;
}

.menu__option-row .menu__option-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
  color: #999;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Roboto";
}

.menu__option-row.active .menu__option-price {
  color: #AD9762;
}

/* Pre-discount price */
.menu__option-price--old {
  color: #b3423a;
  text-decoration: line-through;
  font-weight: 400;
}

/* ************ Left-side price panel ********* */
:root {
  --price-panel-width: 326px;
  --accent-gold: #b69b4c;
}

.price-panel {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--price-panel-width);
  padding: 24px;
  background: #FFFFFFBF;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  z-index: 3;
  font-family: inherit;
  color: #000000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* *************** Fullscreen toggle  *********** */
.price-panel,
#menu__hub.menu__hub_wrapper {
  transition: transform 0.3s ease-in-out;
}

body.fullscreen-mode .price-panel {
  transform: translateX(-100%);
  pointer-events: none;
}

body.fullscreen-mode #menu__hub.menu__hub_wrapper {
  transform: translateX(100%);
  pointer-events: none;
}

.price-panel__model_logo {
  width: 100%;
  height: 80px;
  margin-bottom: 12px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.price-panel__model {
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 2%;
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding: 12px 0 10px;
}

.price-panel__model .price-panel__label,
.price-panel__model .price-panel__total {
  font-weight: 700;
}

.price-panel__model_preview {
  width: 100%;
  height: 220px;
  margin-block: 5px;
  flex: 0 1 auto;
  min-height: 0;
  object-fit: contain;
}

.price-panel__total {
  font-weight: 400;
  color: #000000;
}

.price-panel__note {
  margin: 14px 0;
  font-size: 12px;
  line-height: 130%;
  color: #979797;
}

.price-panel__save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  flex-shrink: 0;
  padding: 14px 20px;
  background: #AD9762;
  color: #000;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.15s ease;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile";
}

.price-panel__save:hover {
  opacity: 0.88;
}

@media (max-width: 1100px) {
  .price-panel {
    width: 260px;
    padding: 20px 18px 18px;
  }

  :root {
    --price-panel-width: 260px;
  }
}

/* ********** interface.js *********** */
#menu__hub.menu__hub_wrapper {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: min(348px, 100vw);
  padding: 40px 24px 28px 24px;
  background: #FFFFFFBF;
  flex-direction: column;
  overflow-y: auto;
  z-index: 3;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.04);
}

.menu__category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
}

.menu__category-title {
  margin: 0;
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2%;
  color: #000000;
}

.menu__category-icon.tbl-window-logo-icon {
  width: 28px;
  height: 28px;
  margin-right: 0;
  color: #000000;
}

#menu__hub .menu__section-empty {
  padding: 4px 0 8px;
  font-size: 13px;
  color: #b3b3b3;
  font-style: italic;
}

#menu__hub .menu__option-row {
  padding: 0px 0 10px;
  cursor: pointer;
}

#menu__hub .menu__option-row .menu__option-label {
  color: #000000;
  font-weight: 400;
  font-family: "Roboto";
  display: inline-flex;
  align-items: center;
}

#menu__hub .menu__option-row:not(.active):not(.checked) .menu__option-label {
  color: #000000;
}

#menu__hub .menu__option-row:not(.active):not(.checked) .menu__option-label {
  color: #333333;
}

#menu__hub .menu__option-row.active .menu__option-label,
#menu__hub .menu__option-row.active .menu__option-price,
#menu__hub .menu__option-row.checked .menu__option-label,
#menu__hub .menu__option-row.checked .menu__option-price {
  color: #000000 !important;
  font-weight: 700;
}

#menu__hub .menu__option-row.active .menu__radio {
  border-color: #000000 !important;
}

#menu__hub .menu__option-row.active .menu__radio::after {
  background: #000000;
}

.menu__option-incl {
  flex-shrink: 0;
  margin-left: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666666;
}

#menu__hub .menu__info-icon {
  color: #b3b3b3;
  display: inline-flex;
  margin-left: 2px;
}

.menu__option-row--checkbox .menu__checkbox {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  flex-shrink: 0;
  position: relative;
  background-image: url(./public/img/icons/marevo-menu-icon-checkbox.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.menu__option-row--checkbox.checked .menu__checkbox {
  background-image: url(./public/img/icons/marevo-menu-icon-checkbox-active.svg);
  width: 16px !important;
  height: 16px !important;
  margin-right: 6px !important;
}

/* BACK / NEXT buttons*/
.menu__nav-controls {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding-top: 8px;
}

.menu__cart-controls {
  display: none !important;
}

.menu__addTocCart-btn {
  display: none;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0%;
  cursor: pointer;
  transition: opacity 0.15s ease;
  padding-block: 12px;
  width: 138px;
}

.menu__back-btn,
.menu__next-btn,
.menu__checkout-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0%;
  cursor: pointer;
  transition: opacity 0.15s ease;
  padding-block: 12px;
  width: 138px;
}

.menu__back-btn {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.menu__next-btn,
.menu__checkout-btn {
  background: #000;
  color: #fff;
  border: none;
}

.menu__back-btn:hover,
.menu__next-btn:hover,
.menu__checkout-btn:hover {
  opacity: 0.85;
}

.menu__back-btn[disabled],
.menu__next-btn[disabled] {
  display: none;
}

/* •••••••••Model selector - hides the selector + configurator until one is requested. */
#model-selector {
  display: none;
}

body.show-selector #model-selector {
  display: flex;
}

body.show-selector #nav-container,
body.show-selector #price-panel,
body.show-selector #menu__hub,
body.show-selector #button_to_website,
body.show-selector model-viewer#model {
  display: none !important;
}

.model-selector {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 24px 64px;
  overflow-y: auto;
}

.model-selector__logo {
  display: block;
  max-width: 80px;
  height: 80px;
  margin-block: 20px;
}

.model-selector__heading {
  margin: 0 0 40px;
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 100%;
  color: #000000;
  text-align: center;
}

.model-selector__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 310px);
  gap: 24px;
  justify-content: center;
  width: 100%;
  max-width: 1320px;
}

/* ******** Model card ********** */
.model-card {
  width: 310px;
  height: 470px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  border: none;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.model-card:hover:not(.model-card--disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 10px 0 #b69b4c;
}

.model-card__logo {
  height: 70px;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 50px;
}

.model-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 22px;
}

.model-card__title {
  margin: 0;
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #000000;
  text-align: center;
}

.model-card__players,
.model-card__dimensions {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.model-card__players {
  margin-top: 10px;
  color: #666666;
}

.model-card__dimensions {
  margin-bottom: 18px;
  color: #AD9762;
}

.model-card .model-card__title {
  font-size: 30px;
  line-height: 1;
}

.model-card .model-card__cta {
  margin-bottom: 4px;
}

.model-card__media {
  position: relative;
  width: 250px;
  height: 200px;
  margin: 0 30px 0;
}

.model-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transform: scale(1.1);
  transition: opacity 0.35s ease;
}

.model-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f0e6;
  color: #8a8a8a;
  font-size: 13px;
  font-family: inherit;
  border-radius: 6px;
}

.model-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.35s ease;
}

.model-card.is-video-active .model-card__image {
  opacity: 0;
}

.model-card.is-video-active .model-card__video {
  opacity: 1;
}

.model-card__cta {
  width: 100%;
  padding: 14.5px 85.5px;
  border: none;
  border-radius: 999px;
  background: #AD9762;
  color: #000000;
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: filter 0.15s ease;
  margin: 0 30px 30px 30px;
}

.model-card__cta:hover:not([disabled]) {
  filter: brightness(0.92);
}

.model-card__cta[disabled] {
  cursor: not-allowed;
  background: #d9d4c4;
}

.menu__nested-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 14px 30px;
}

.menu__nested-swatches .menu__block-item {
  width: 36px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  border: 0.5px solid transparent;
  transition: border-color 0.15s ease;
}

.menu__nested-swatches .menu__block-item.active {
  border-color: var(--accent-gold, #AD9762);
}

.menu__nested-swatches .menu_item_wripper {
  width: 100%;
  height: 100%;
  padding: 1.5px;
  border-radius: inherit;
}

.menu__nested-swatches .menu_item_color-image {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  border: 0.5px solid #A7A7A7;
}

.menu__section-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 16px 0;
}

.menu__section-swatches .menu__block-item {
  width: 38px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  border: 1.5px solid transparent;
  transition: border-color 0.15s ease;
}

.menu__section-swatches .menu__block-item.active {
  border-color: var(--accent-gold, #AD9762);
}

.menu__section-swatches .menu_item_wripper {
  width: 100%;
  height: 100%;
  padding: 2px;
  border-radius: inherit;
}

.menu__section-swatches .menu_item_color-image {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  border: 0.5px solid #A7A7A7;
}

.menu__icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px 0 14px 0;
}

.menu__icon-grid .menu__block-item {
  width: 100%;
  cursor: pointer;
  padding: 6px 4px 8px;
  border: none;
  transition: background-color 0.15s ease;
  align-items: center;
  text-align: center;
}

.menu__icon-grid .menu__block-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.menu__icon-grid .menu_item_wripper {
  width: 100%;
  max-width: 50px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: 80 / 65;
  border-radius: 6px;
  padding: 0;
  border: 0.5px solid #A7A7A7;
  transition: border-color 0.15s ease;
}

.menu__icon-grid .menu__block-item.active .menu_item_wripper {
  border: 1px solid var(--accent-gold, #AD9762);
}

.menu__icon-grid .menu_item_color-image {
  width: 96%;
  height: 91%;
  border-radius: 6px;
  background-size: inherit;
  background-repeat: round;
  background-position: inherit;
  border: none;
}

.menu__icon-grid .menu_item_color-title {
  margin-top: 6px;
  font-size: 10px;
}

.menu__colorpicker {
  padding-block: 14px;
  gap: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.menu__colorpicker-input {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: none;
  background: transparent;
}

.menu__colorpicker-btn {
  width: 121px;
  height: 30px;
  border-radius: 100px;
  padding: 8px 16px;
  background-color: #AD9762;
  color: #000000;
  border: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Roboto";
}

.menu__placement {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0px 0 10px 0px;
}

.menu__placement-label {
  font-size: 14px;
  color: var(--accent-gold, #AD9762);
  padding-left: 22px;
}

.menu__placement-icon {
  width: 22px;
  height: 22px;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.menu__placement-icon.is-active {
  opacity: 1;
}

.menu__placement-toggle {
  position: relative;
  width: 24px;
  height: 14px;
  flex-shrink: 0;
  padding: 0;
  background-color: #AD9762;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

.menu__placement-knob {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 10.91px;
  height: 11.66px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translateY(-50%);
  transition: left 0.3s ease;
}

.menu__placement-toggle.is-second .menu__placement-knob {
  left: calc(100% - 12px);
}

/* ********* mobile styles: ************ */
@media (max-width: 768px) {
  :root {
    --header-height: 42px;
    --mobile-canvas-h: clamp(280px, 30vh, 500px); /* was clamp(330px, 33.5vh, 550px); 280px keeps the whole shed + all 6 tool buttons visible and gives the options menu 50px more */
    --mobile-nav-h: 36px;
    --mobile-nav-gap: 16px;
  }

  html,
  body {
    position: static;
    top: 0;
    left: 0;
    height: 100dvh;
    overflow: hidden;
    display: block;
  }

  .model-card__cta {
    font-size: 16px;
  }

  .price-panel__model {
    font-size: 14px;
  }

  .price-panel__note {
    font-size: 10px;
  }

  .price-panel__save {
    font-size: 16px;
  }

  .price-panel {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin-top: 24px;
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #FFFFFF;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    z-index: auto;
  }

  .price-panel__model_logo,
.price-panel__model_preview,
.price-panel__note {
    display: none;
  }

  .price-panel__model {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .price-panel__model .price-panel__label {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .price-panel__save {
    flex: 0 0 auto;
    width: 70px;
    height: 32px;
    padding: 0;
    gap: 0;
  }

  .price-panel__save span {
    display: none;
  }

  .price-panel__save img {
    width: 14px;
    height: 14px;
  }

  /* ---------- 3D canvas — frozen in place, right below the price bar */
  .canvas__container {
    position: fixed;
    top: calc(var(--header-height));
    left: 0;
    right: auto;
    bottom: auto;
    display: block;
    flex: none;
    width: 100vw;
    height: var(--mobile-canvas-h);
    z-index: 1;
  }

  .canvas {
    width: 100%;
    height: 100%;
  }

  /* Menu icons: */
  .tbl-buttons-container {
    flex-direction: column;
    top: 0;
    right: 14px;
    left: auto;
    bottom: 0;
    transform: none;
    gap: 10px;
    width: auto;
  }

  .tbl-buttons-container .tbl-window-logo {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .tbl-buttons-container .tbl-window-logo-text {
    display: none;
  }

  #button_fullscreen {
    display: none;
  }

  /* PopUps:*/

  .tbl-info-card {
    padding: 30px;
  }

  .tbl-info-close {
    right: 16px;
    top: 16px;
  }

  /* Sections navigation  */
  #nav-container.tbl-buttons-nav-container {
    position: fixed;
    top: calc(var(--header-height) + var(--mobile-canvas-h) + var(--mobile-nav-gap));
    left: 0;
    right: 0;
    bottom: auto;
    transform: none;
    width: calc(100% - 42px);
    height: var(--mobile-nav-h);
    margin: 0 auto;
    gap: 2px;
    z-index: 1;
  }

  #nav-container .tbl-window-logo {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 34px;
    padding: 0 4px;
  }

  #nav-container .tbl-window-logo-text {
    display: none;
  }

  #nav-container .tbl-window-logo-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: 0;
  }

  .menu__category-title {
    font-size: 24px;
  }

  .menu__category-icon.tbl-window-logo-icon {
    width: 20px;
    height: 20px;
  }

  #menu__hub.menu__hub_wrapper {
    position: fixed;
    top: calc(var(--header-height) + var(--mobile-canvas-h) + var(--mobile-nav-gap) + var(--mobile-nav-h) + var(--mobile-nav-gap));
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    max-height: none;
    box-sizing: border-box;
    padding: 16px 20px 40px;
    background: transparent;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
  }

  #menu__hub .menu__block {
    width: 100%;
  }

  #menu__hub .menu__section-body-content {
    padding: 12px 10px;
  }

  #menu__hub .menu__option-row:not(.active):not(.checked) .menu__option-label {
    font-size: 15px !important;
  }

  #menu__hub .menu__option-row.active .menu__option-label,
  #menu__hub .menu__option-row.active .menu__option-price,
  #menu__hub .menu__option-row.checked .menu__option-label,
  #menu__hub .menu__option-row.checked .menu__option-price {
    font-size: 16px !important;
  }

  #menu__hub .menu__section-title,
  #menu__hub .menu__section-title {
    font-size: 16px !important;
  }

}

.golf-close-btn {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.golf-close-btn:hover,
.golf-close-btn:active,
.golf-close-btn:focus-visible {
  transform: scale(1.1);
}

.golf-close-btn img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ********** ADMIN PANEL*********** */

html:has(body.admin-page) {
  position: static;
  overflow: visible;
  height: auto;
}

.admin-page {
  position: static;
  top: auto;
  left: auto;
  height: auto;
  min-height: 100vh;
  overflow: visible;
  display: block;
  justify-content: normal;
  width: 100%;
  margin: 0;
  background: #000000;
  color: #1e1e1e;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
}

.admin-page * {
  box-sizing: border-box;
}

/* ---- login ---- */
.admin-page .login-container {
  max-width: 360px;
  margin: 80px auto;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.admin-page .login-container h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

.admin-page .login-container .subtitle {
  margin: 0 0 20px;
  color: #666;
  font-size: 14px;
}

.admin-page .form-group {
  margin-bottom: 16px;
  border: none !important;
}

.admin-page .form-group label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.admin-page .form-group input {
  width: 100%;
  height: 48px;
  padding: 0 24px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 16px;
  color: var(--colorDark);
  background: var(--colorWhite);
  outline: none;
}

.admin-page .form-group input.input-error {
  border-color: #d33;
}

.admin-page #loginForm.shake {
  animation: admin-shake 0.4s;
}

.admin-page .login-btn {
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
}

@keyframes admin-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

.admin-page .login-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-size: 16px;
  letter-spacing: 0%;
  cursor: pointer;
  transition: opacity 0.15s ease;
  padding-block: 12px;
}

.admin-page .login-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

*/ .admin-page .empty-note {
  color: #999;
  font-size: 13px;
  padding: 12px 14px;
}

/* ══════════════════════════════════════════════════════════════════════
   Share My Design popup
   ══════════════════════════════════════════════════════════════════════ */
.share-download {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.share-download.active {
  display: flex;
}

.share-download * {
  box-sizing: border-box;
}

.share-download {
  z-index: 41;
}

.share-download__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.share-download__card {
  margin-top: 5%;
}

.share-download__card {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 40px 44px 44px;
  background-color: var(--colorWhite);
  border-radius: 20px;
  box-shadow: 0px 36px 80px 0px rgba(0, 0, 0, 0.18);
}

.share-download__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-download__back__btn {
  display: none;
}

@media (max-width: 768px) {
  .share-download__close {
    display: none;
  }

  .share-download {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    box-sizing: border-box;
    height: calc(100dvh - var(--header-height)) !important;
    margin-top: var(--header-height) !important;
    padding: 0 !important;
  }

  .share-download__card {
    border-radius: 0px !important;
    margin-top: 0px !important;
    height: 100dvh !important;
  }

  .share-download__back__btn {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 999px;
    font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s ease;
  }

  .share-download__back__btn--ghost {
    border: 1px solid var(--colorDark);
    background: transparent;
    color: var(--colorDark);
  }

  .share-download__submit-text {
    padding-block-start: 3px;
  }
}

.share-download__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-download__card .tbl-info-sharing-window {
  width: 100%;
}

.share-download__card .tbl-info-sharing-window input {
  width: 100%;
}

.share-download__card .tbl-info-sharing-icon-container {
  width: 85px;
}

.share-download__checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 100%;
  color: #000000;
  cursor: pointer;
  font-weight: 400;
}

.share-download__checkbox input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  accent-color: #000000;
  cursor: pointer;
}

.share-download__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2%;
  line-height: 100%;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.share-download__submit:hover {
  opacity: 0.88;
}

.share-download__submit-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 640px) {
  .share-download__card {
    padding: 47px 22px 28px;
  }

  .share-download__form {
    gap: 20px !important;
  }

  .share-download__form .share-download__checkbox input {
    width: 17px;
    height: 17px;
    accent-color: #000000;
  }

  .share-download__checkbox {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 100%;
    font-weight: 400;
    color: #000000;
    margin-top: 4px;
    margin-bottom: 15px;
  }

  .share-download__submit {
    height: 48px;
    gap: 6px;
  }

  .share-download__submit-icon {
    width: 14px;
    height: 14px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Leave confirmation popup 
   ══════════════════════════════════════════════════════════════════════ */
.leave-confirm {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 42;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}

.leave-confirm.active {
  display: flex;
}

.leave-confirm * {
  box-sizing: border-box;
}

.leave-confirm__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.leave-confirm__card {
  position: relative;
  z-index: 2;
  width: min(310px, 100%);
  padding: 30px 30px 30px;
  background-color: var(--colorWhite);
  border-radius: 20px;
  box-shadow: 0px 36px 80px 0px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.leave-confirm__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leave-confirm__close img {
  width: 100%;
  height: 100%;
}

.leave-confirm__title {
  margin: 0 0 12px;
  font-family: BebasNeue, "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000000;
}

.leave-confirm__text {
  margin: 0 0 30px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #000000;
}

.leave-confirm__actions {
  display: flex;
  gap: 20px;
}

.leave-confirm__btn {
  flex: 1;
  height: 38px;
  padding: 10px 39px;
  border-radius: 999px;
  font-family: BebasNeue, "BebasNeue Fallback", "BebasNeue Fallback Mobile";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.leave-confirm__btn:hover {
  opacity: 0.85;
}

.leave-confirm__btn--ghost {
  border: 1px solid #000000;
  background: transparent;
  color: #000000;
}

.leave-confirm__btn--primary {
  border: 1px solid #000000;
  background: #000000;
  color: #FFFFFF;
}

/* ══════════════════════════════════════════════════════════════════════
   Price panel — Selected upgrades + TBD quote block
   ══════════════════════════════════════════════════════════════════════ */

.price-panel__upgrades {
  flex: 0 1 auto;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid #AD976280;
}

.price-panel__upgrades-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0 10px;
  border-bottom: 0.5px solid #AD976280;
}

.price-panel__upgrades-title {
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-panel__upgrades-count {
  font-size: 12px;
  color: #979797;
}

.price-panel__upgrades-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.price-panel__cat {
  border-bottom: 0.5px solid #D9D9D9;
}

.price-panel__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #000000;
  text-align: left;
}

button.price-panel__cat-head {
  cursor: pointer;
}

.price-panel__cat-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.price-panel__cat-chevron {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid #AD9762;
  border-bottom: 1px solid #AD9762;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.price-panel__cat.is-open .price-panel__cat-chevron {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.price-panel__cat-rows {
  display: none;
  padding-bottom: 8px;
}

.price-panel__cat.is-open .price-panel__cat-rows {
  display: block;
}

.price-panel__up-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.3;
  color: #979797;
}

.price-panel__up-label {
  flex-shrink: 0;
  max-width: 45%;
}

.price-panel__up-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: right;
}

.price-panel__up-swatch {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0.5px solid #B9B9B9;
}

.price-panel__quote {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #000000;
}

.price-panel__quote-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-panel__quote-total span:last-child {
  color: #AD9762;
}

.price-panel__quote-ship {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  color: #979797;
  border-top: 1px solid #b4b0b0;
  padding-top: 14px;
}

.price-panel__quote-ship #ship_date {
  font-weight: 500;
  color: #000000;
}

.price-panel__model_preview {
  flex-shrink: 3;
  min-height: 80px;
}

@media (max-width: 768px) {

  .price-panel__upgrades,
  .price-panel__quote {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Custom quote request + Thank you popups
   ══════════════════════════════════════════════════════════════════════ */
.quote-request {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 41;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}

.quote-request.active {
  display: flex;
}

.quote-request * {
  box-sizing: border-box;
}

.quote-request__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.quote-request__card {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 30px;
  background-color: var(--colorWhite);
  border-radius: 20px;
  box-shadow: 0px 36px 80px 0px rgba(0, 0, 0, 0.18);
  color: #000000;
}

.quote-request__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-request__close img {
  width: 100%;
  height: 100%;
}

.quote-request__title {
  margin: 0 48px 14px 0;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #AD9762;
}

.quote-request__lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
}

.quote-request__sublead {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.4;
  color: #979797;
}

.quote-request__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-request__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-request__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-request__group-label {
  font-size: 15px;
  font-weight: 500;
}

.quote-request__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-request__label {
  font-size: 13px;
  font-weight: 500;
}

.quote-request__label em {
  font-style: normal;
  font-weight: 400;
  color: #979797;
}

.quote-request__input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #D9D9D9;
  border-radius: 0;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  color: #000000;
}

.quote-request__input:focus {
  outline: none;
  border-color: #AD9762;
}

.quote-request__textarea {
  height: auto;
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.quote-request__submit,
.quote-request__thanks-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2%;
  line-height: 100%;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.quote-request__submit {
  width: 100%;
  margin-top: 6px;
}

.quote-request__submit:hover,
.quote-request__thanks-btn:hover {
  opacity: 0.85;
}

.quote-request__submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

.quote-request__card--thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 44px 48px;
}

.quote-request__thanks-logo {
  width: 100px;
  height: auto;
}

.quote-request__thanks-divider {
  width: 50px;
  margin: 20px 0 24px;
  border: none;
  border-top: 2px solid #AD9762;
}

.quote-request__thanks-title {
  margin: 0 0 20px;
  font-family: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #AD9762;
}

.quote-request__thanks-text {
  max-width: 460px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.6;
  color: #979797;
}

.quote-request__thanks-btn {
  padding: 0 40px;
}

@media (max-width: 768px) {
  .quote-request__card {
    padding: 28px 20px 24px;
  }

  .quote-request__close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 10px;
  }

  .quote-request__title {
    font-size: 28px;
  }

  .quote-request__row {
    grid-template-columns: 1fr;
  }

  .quote-request__thanks-title {
    font-size: 40px;
  }
}

@media (min-width: 769px) {

  .quote-request,
  .share-download {
    top: var(--header-height);
    align-items: center;
  }

  .quote-request__card,
  .share-download__card {
    margin: auto 0;
    max-height: calc(100dvh - var(--header-height) - 32px);
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Share my design 
   ══════════════════════════════════════════════════════════════════════ */
.share-download__card {
  width: min(700px, 100%);
  padding: 40px 44px 44px;
  color: #000000;
  text-align: left;
}

.share-download__card .quote-request__title {
  margin-bottom: 8px;
}

.share-download__card .share-download__subtitle {
  margin-right: 0;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #E5E5E5;
  font-size: 28px;
}

.share-download__card .quote-request__sublead {
  margin-bottom: 18px;
}

.share-download__card .tbl-info-sharing {
  margin: 0;
}

.share-download__card .tbl-info-sharing-window {
  justify-content: flex-start;
  gap: 12px;
}

.share-download__card .tbl-info-sharing-window input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #D9D9D9;
  border-radius: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #333333;
}

.share-download__card .tbl-info-sharing-icon-container {
  flex-shrink: 0;
  width: 72px;
  height: 48px;
}

.share-download__card .share-download__checkbox {
  align-items: flex-start;
  line-height: 1.4;
  font-size: 13px;
  font-weight: 400;
  color: #333333;
}

.share-download__card .share-download__checkbox input {
  margin-top: 2px;
}

.share-download__card .share-download__submit {
  height: 50px;
  margin-top: 6px;
  gap: 8px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .share-download__card {
    padding: 28px 20px 24px;
  }

  .share-download__card .share-download__close {
    display: none;
  }

  .share-download__card .share-download__subtitle {
    font-size: 24px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Menu color swatches
   ══════════════════════════════════════════════════════════════════════ */
#menu__hub .menu__block .menu__block-list.menu__nested-swatches,
#menu__hub .menu__block .menu__block-list.menu__section-swatches {
  gap: 10px;
}

#menu__hub .menu__nested-swatches .menu__block-item,
#menu__hub .menu__section-swatches .menu__block-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 26px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

#menu__hub .menu__nested-swatches .menu__block-item.active,
#menu__hub .menu__section-swatches .menu__block-item.active {
  border-color: #AD9762;
}

#menu__hub .menu__nested-swatches .menu_item_wripper,
#menu__hub .menu__section-swatches .menu_item_wripper {
  width: 30px;
  height: 20px;
  padding: 0;
  border-radius: 4px;
}

#menu__hub .menu__nested-swatches .menu_item_color-image,
#menu__hub .menu__section-swatches .menu_item_color-image {
  width: 30px;
  height: 20px;
  margin: 0;
  border-radius: 4px;
  border: 0.5px solid #A7A7A7;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
}
/* ══════════════════════════════════════════════════════════════════════
   Mobile: quote / contact popups
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .quote-request {
    top: var(--header-height);
    padding: 10px;
    align-items: flex-start;
  }

  .quote-request__card {
    max-height: calc(100% - 4px);
    padding: 22px 16px 18px;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .quote-request__close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 9px;
  }

  .quote-request__title {
    margin: 0 36px 8px 0;
    font-size: 24px;
  }

  .quote-request__lead {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  .quote-request__sublead {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .quote-request__form {
    gap: 10px;
  }

  .quote-request__row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .quote-request__field {
    gap: 4px;
  }

  .quote-request__group {
    gap: 6px;
  }

  .quote-request__label,
  .quote-request__group-label {
    font-size: 12px;
  }

  .quote-request__input {
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
  }

  .quote-request__textarea {
    min-height: 70px;
    padding: 8px 10px;
  }

  .quote-request__submit {
    height: 44px;
    margin-top: 4px;
    font-size: 16px;
  }

  .quote-request__card--thanks {
    padding: 36px 20px 28px;
  }

  .quote-request__thanks-title {
    font-size: 36px;
  }

  .quote-request__thanks-text {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .quote-request__row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Model picker — mobile layout 
   ══════════════════════════════════════════════════════════════════════ */
.model-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  #model-selector.model-selector {
    padding: 8px 16px 40px;
  }

  #model-selector .model-selector__logo {
    max-width: 56px;
    height: 56px;
    margin-block: 8px 12px;
  }

  #model-selector .model-selector__heading {
    margin-bottom: 20px;
    font-size: 26px;
  }

  #model-selector .model-selector__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-width: 420px;
  }

  #model-selector .model-selector__grid .model-card {
    width: 100%;
    height: auto;
    border-radius: 14px;
  }

  #model-selector .model-selector__grid .model-card__logo {
    height: 64px;
    padding: 12px 22%;
    object-fit: contain;
  }

  #model-selector .model-selector__grid .model-card__body {
    align-items: stretch;
    justify-content: flex-start;
    padding: 14px 16px 16px;
  }

  #model-selector .model-card__head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  #model-selector .model-selector__grid .model-card__title {
    font-size: 22px;
    text-align: left;
  }

  #model-selector .model-selector__grid .model-card__players {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.2em;
  }

  #model-selector .model-selector__grid .model-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
    margin: 6px 0 4px;
  }

  #model-selector .model-selector__grid .model-card__image,
  #model-selector .model-selector__grid .model-card__video {
    transform: scale(1.35);
  }

  #model-selector .model-selector__grid .model-card[data-model-id="model_3"] .model-card__image,
  #model-selector .model-selector__grid .model-card[data-model-id="model_3"] .model-card__video {
    transform: scale(1.5);
  }

  #model-selector .model-selector__grid .model-card__dimensions {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  #model-selector .model-selector__grid .model-card__cta {
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Model picker — desktop layout 
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  #model-selector .model-selector__grid .model-card__body {
    justify-content: flex-start;
  }

  #model-selector .model-selector__grid .model-card__media {
    width: 100%;
    height: 180px;
    margin: 0;
  }

  #model-selector .model-selector__grid .model-card__image,
  #model-selector .model-selector__grid .model-card__video {
    inset: auto;
    left: calc(50% - var(--render-size) / 2 + var(--render-x));
    bottom: var(--render-bottom);
    width: var(--render-size);
    height: var(--render-size);
  
    max-width: none;
    transform: none;
  }

  /* XLE — 175px wide */
  #model-selector .model-card[data-model-id="model_0"] {
    --render-size: 307px;
    --render-x: 5px;
    --render-bottom: -92px;
  }

  /* Platinum — 221px wide */
  #model-selector .model-card[data-model-id="model_1"] {
    --render-size: 301px;
    --render-x: 3px;
    --render-bottom: -87px;
  }

  /* Platinum+ — 233px wide (framed tighter than the others) */
  #model-selector .model-card[data-model-id="model_2"] {
    --render-size: 270px;
    --render-x: 7px;
    --render-bottom: -75px;
  }

  /* Captain — 280px wide */
  #model-selector .model-card[data-model-id="model_3"] {
    --render-size: 323px;
    --render-x: 5px;
    --render-bottom: -91px;
  }

  #model-selector .model-selector__grid .model-card__dimensions {
    margin: 18px 0 0;
  }

  #model-selector .model-selector__grid .model-card__cta {
    margin-top: auto;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Price panel (desktop) 
   ══════════════════════════════════════════════════════════════════════ */
.price-panel__upgrades.is-empty {
  display: none;
}

@media (min-width: 769px) {
  .price-panel {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;            /* Firefox */
  }

  .price-panel::-webkit-scrollbar {   /* Chrome / Safari */
    width: 0;
    height: 0;
  }

  .price-panel > * {
    flex-shrink: 0;
    min-width: 0;
    max-width: 100%;
  }

  .price-panel__model_logo {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    height: auto;
    gap: 6px;
  }

  .price-panel__model_logo img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
  }

  .price-panel__model_logo #price_model_logo {
    max-height: 46px;
  }

  .price-panel__model_preview {
    flex: 0 0 auto;
    height: 190px;
    min-height: 0;
  }

  .price-panel__upgrades {
    flex: 0 1 auto;
    min-height: 100px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    scrollbar-width: thin;                    /* Firefox, Chrome 121+ */
    scrollbar-color: #979797a3 transparent;
  }

  .price-panel__upgrades::-webkit-scrollbar {  /* Safari, older Chrome / Edge */
    width: 4px;
  }

  .price-panel__upgrades::-webkit-scrollbar-track {
    background: transparent;
  }

  .price-panel__upgrades::-webkit-scrollbar-thumb {
    background: #979797a3;
    border-radius: 4px;
  }

  .price-panel__upgrades-list {
    flex: 0 0 auto;
    overflow: visible;
  }

  .price-panel__up-row {
    min-width: 0;
  }

  .price-panel__up-label {
    flex: 0 1 auto;
    max-width: 48%;
    overflow-wrap: anywhere;
  }

  .price-panel__up-value {
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-end;
    overflow-wrap: anywhere;
  }

  .price-panel__cat-head > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .price-panel__quote {
    margin-top: auto;
    padding-top: 14px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Mobile action bar + quote bottom sheet + submit sequence  (2026-11 redesign)
   Bar and sheet layout: mobile only (≤768px). Submit/close animations: mobile and desktop.
   JS: src/js/mobile-action-bar.js, src/js/save-design-popup.js (quote state machine)
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --qs-gold: #AC9561;
  --qs-gold-hover: #c4b183;
  --qs-muted: #5c5648;
  --qs-light: #8a8478;
  --qs-border: #d9d4c7;
  --qs-divider: #e6e2d8;
  --qs-track: #eeebe3;
  --mab-h: 64px;
}

.mab { display: none; }

/* Reset button hidden on desktop and mobile (2026-11-06, Hyrum: not needed) */
#button_reset { display: none !important; }

@media (max-width: 768px) {
  /* 1. Remove BACK/NEXT and the base-price row from the scrolling menu */
  #menu__hub .menu__nav-controls,
  #menu__hub .price-panel {
    display: none !important;
  }
  #menu__hub.menu__hub_wrapper {
    padding-bottom: calc(var(--mab-h) + env(safe-area-inset-bottom) + 24px); /* menu content never hides behind the bar */
  }
  body.quote-sheet-open #menu__hub.menu__hub_wrapper {
    overflow: hidden;
  }

  /* 2. Sticky action bar */
  body.show-configurator .mab {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Use part of the iPhone home-indicator area so the row doesn't look like it floats high */
    --mab-safe: max(0px, calc(env(safe-area-inset-bottom) - 12px));
    height: calc(var(--mab-h) + var(--mab-safe));
    padding: 0 12px var(--mab-safe) 16px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-top: 1px solid var(--qs-divider);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.06);
  }
  .mab__price {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .mab__label {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--qs-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mab__value {
    font-family: "BebasNeue", "BebasNeue Fallback Mobile", sans-serif;
    font-size: 26px;
    line-height: 1;
    color: #000000;
    white-space: nowrap;
  }
  .mab button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0;
    border-radius: 999px;
    font-family: "BebasNeue", "BebasNeue Fallback Mobile", sans-serif;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
  }
  .mab button[hidden] { display: none; }
  /* Center the capitals themselves (Bebas Neue sits high in Safari without this) */
  .mab button > span {
    display: block;
    text-box: trim-both cap alphabetic;
  }
  .mab__value { text-box: trim-both cap alphabetic; }
  .mab__contact {
    padding: 0 14px;
    background: #FFFFFF;
    border: 1.5px solid var(--qs-gold);
    color: #000000;
  }
  .mab__contact:active { background: #faf7f0; }
  .mab__back {
    width: 44px;
    padding: 0;
    background: #FFFFFF;
    border: 1.5px solid #000000;
    color: #000000;
  }
  .mab__next {
    gap: 6px;
    padding: 0 16px 0 18px;
    background: #000000;
    border: 0;
    color: #FFFFFF;
  }
}
/* Narrow phones (iPhone SE/mini, 375px): tighten so "PLATINUM+ BASE PRICE" never gets cut off */
@media (max-width: 400px) {
  body.show-configurator .mab { gap: 6px; padding: 0 10px var(--mab-safe) 14px; }
  .mab__label { letter-spacing: 0.06em; }
  .mab .mab__contact { padding: 0 9px; font-size: 17px; }
  .mab .mab__next { gap: 4px; padding: 0 11px 0 13px; font-size: 17px; }
}

/* 3. Quote request — panes per state (both layouts) */
.quote-sheet__handle,
.quote-sheet__intro,
.quote-sheet__pane { display: none; }
.quote-sheet[data-state="form"] .quote-sheet__pane--form { display: block; }
.quote-sheet[data-state="sending"] .quote-sheet__pane--sending,
.quote-sheet[data-state="sent"] .quote-sheet__pane--sent,
.quote-sheet[data-state="thanks"] .quote-sheet__pane--thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 auto;
  min-height: 100%;
  animation: qsFade 220ms ease both;
}
.quote-sheet:not([data-state="form"]) .quote-request__card {
  display: flex;
  flex-direction: column;
}
.quote-sheet[data-state="sending"] .quote-request__close,
.quote-sheet[data-state="sent"] .quote-request__close {
  visibility: hidden;
}
.quote-sheet__error {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #b3423a;
}
.quote-sheet__error[hidden] { display: none; }
@media (min-width: 769px) {
  /* Desktop keeps its labels; placeholders are only used by the mobile sheet */
  #quote-request-popup .quote-request__input::placeholder { color: transparent; }
}

/* Sending */
.qs-stage {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  flex: none;
}
.qs-ring { width: 120px; height: 120px; display: block; }
.qs-ring__track { fill: none; stroke: var(--qs-track); stroke-width: 3; }
.qs-ring__arc {
  fill: none;
  stroke: var(--qs-gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 75 214;
  transform-origin: 60px 60px;
  animation: qsSpin 1s linear infinite;
}
.qs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 50px;
  width: auto;
  transform: translate(-50%, -50%);
}
.qs-title {
  margin: 0 0 6px;
  font-family: "BebasNeue", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #000000;
  text-transform: uppercase;
}
.quote-sheet__pane--sent .qs-title { font-size: 30px; }
.qs-dots i { font-style: normal; animation: qsDot 1.2s ease-in-out infinite; }
.qs-dots i:nth-child(2) { animation-delay: 0.2s; }
.qs-dots i:nth-child(3) { animation-delay: 0.4s; }
.qs-sub {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--qs-muted);
}

/* Sent */
.qs-ripple {
  position: absolute;
  inset: 14px;
  border: 2px solid var(--qs-gold);
  border-radius: 50%;
  opacity: 0;
  animation: qsRipple 1s ease-out both;
}
.qs-ripple--2 { animation-delay: 0.18s; }
.qs-confetti { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.qs-confetti i {
  position: absolute;
  left: -3.5px;
  top: -3.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qs-gold);
  opacity: 0;
  transform: rotate(var(--a)) translateX(0) scale(1);
  animation: qsConfetti 850ms cubic-bezier(.2, .7, .3, 1) var(--d, .12s) both;
}
.qs-confetti i:nth-child(even) { width: 5px; height: 5px; left: -2.5px; top: -2.5px; }
.qs-confetti i.qs-dark { background: #000000; }
.qs-coin {
  position: relative;
  width: 120px;
  height: 120px;
  display: block;
  transform-origin: 50% 50%;
  animation: qsPop 550ms cubic-bezier(.2, 1.5, .4, 1) both;
}
.qs-check {
  fill: none;
  stroke: #000000;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
  animation: qsDraw 450ms ease-out 250ms both;
}
.qs-shine {
  fill: #FFFFFF;
  opacity: 0;
  transform: rotate(20deg);
  transform-box: fill-box;
  transform-origin: center;
  animation: qsShine 900ms ease-in-out 600ms both;
}
.qs-focus-in { animation: qsFocusIn 600ms ease-out 200ms both; }
.qs-fade-up { animation: qsFadeUp 500ms ease-out 450ms both; }

/* Thanks (existing content, staggered in) */
.quote-sheet__pane--thanks .qs-thanks-badge { animation: qsBadgeIn 600ms ease-out both; }
.quote-sheet__pane--thanks .qs-thanks-divider { transform-origin: center; animation: qsDivider 500ms ease-out 250ms both; }
.quote-sheet__pane--thanks .qs-thanks-title { animation-delay: 300ms; }
.quote-sheet__pane--thanks .qs-thanks-text { animation-delay: 450ms; }
.quote-sheet__pane--thanks .qs-thanks-btn { animation-delay: 600ms; }

/* Closing: desktop modal fades + scales down */
@media (min-width: 769px) {
  #quote-request-popup.is-closing .quote-request__card { animation: qsModalOut 200ms ease-in both; }
  #quote-request-popup.is-closing .quote-request__overlay { animation: qsFadeOut 200ms ease-in both; }
}

/* 3. Mobile bottom sheet */
@media (max-width: 768px) {
  #quote-request-popup.quote-request {
    top: var(--header-height);
    padding: 0;
    align-items: flex-end;
  }
  #quote-request-popup .quote-request__overlay {
    background-color: rgba(0, 0, 0, 0.5);
    animation: qsFade 250ms ease both;
  }
  #quote-request-popup .quote-request__card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--qs-kb, 0px);
    width: 100%;
    height: min(calc(440px + env(safe-area-inset-bottom)), calc(var(--qs-vvh, 100dvh) - var(--header-height) - 8px));
    max-height: none;
    display: flex;
    flex-direction: column;
    padding: 8px 16px calc(14px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(var(--qs-drag, 0px));
    animation: qsUp 320ms cubic-bezier(.2, .8, .2, 1) both;
  }
  #quote-request-popup .quote-request__card.is-dragging { transition: none; }
  #quote-request-popup.is-closing .quote-request__card {
    animation: qsDown 300ms cubic-bezier(.4, 0, .8, .2) both;
  }
  #quote-request-popup.is-closing .quote-request__overlay {
    animation: qsFadeOut 300ms cubic-bezier(.4, 0, .8, .2) both;
  }
  #quote-request-popup .quote-sheet__handle {
    display: block;
    flex: none;
    width: 40px;
    height: 4px;
    margin: 0 auto 8px;
    border-radius: 2px;
    background: var(--qs-border);
  }
  #quote-request-popup .quote-request__close {
    top: 16px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 11px;
  }
  #quote-request-popup[data-state="form"] .quote-sheet__pane--form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #quote-request-popup .quote-request__title {
    margin: 2px 44px 6px 0;
    font-size: 24px;
    line-height: 1.1;
    color: var(--qs-gold);
  }
  #quote-request-popup .quote-request__lead,
  #quote-request-popup .quote-request__sublead,
  #quote-request-popup .quote-request__label {
    display: none;
  }
  #quote-request-popup .quote-sheet__intro {
    display: block;
    margin: 0 0 10px;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    color: var(--qs-muted);
  }
  #quote-request-popup .quote-request__form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 8px;
  }
  #quote-request-popup .quote-request__row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  #quote-request-popup .quote-request__field { gap: 0; }
  #quote-request-popup .quote-request__input {
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--qs-border);
    border-radius: 8px;
    font-size: 16px;
    background: #FFFFFF;
  }
  #quote-request-popup .quote-request__input:focus {
    border-color: var(--qs-gold);
    outline: none;
  }
  #quote-request-popup .quote-request__input::placeholder { color: var(--qs-light); opacity: 1; }
  #quote-request-popup .quote-request__textarea {
    height: 64px;
    min-height: 64px;
    padding: 10px 12px;
    resize: none;
  }
  #quote-request-popup .quote-request__submit {
    flex: none;
    height: 48px;
    margin-top: auto;
    border-radius: 999px;
    font-size: 20px;
  }
  #quote-request-popup .qs-thanks-badge { width: auto; height: 84px; margin: 0 auto 14px; }
  #quote-request-popup .qs-thanks-divider { width: 40px; height: 1px; margin: 0 auto 14px; border: 0; background: var(--qs-gold); }
  #quote-request-popup .qs-thanks-title { margin: 0 0 8px; font-size: 44px; color: var(--qs-gold); }
  #quote-request-popup .qs-thanks-text { margin: 0 0 22px; font-size: 14px; line-height: 1.5; color: var(--qs-muted); }
  #quote-request-popup .qs-thanks-btn { width: 100%; height: 48px; padding: 0; border-radius: 999px; font-size: 20px; }
}
@media (max-width: 360px) {
  #quote-request-popup .quote-request__row { grid-template-columns: 1fr 1fr; }
}

@keyframes qsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qsFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes qsUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes qsDown { from { transform: translateY(var(--qs-drag, 0px)); } to { transform: translateY(100%); } }
@keyframes qsModalOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.97); } }
@keyframes qsSpin { to { transform: rotate(360deg); } }
@keyframes qsDot { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
@keyframes qsRipple { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes qsConfetti {
  0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(78px) scale(.3); }
}
@keyframes qsPop { from { transform: scale(.3); } to { transform: scale(1); } }
@keyframes qsDraw { to { stroke-dashoffset: 0; } }
@keyframes qsShine {
  0% { opacity: 0; transform: translateX(0) rotate(20deg); }
  30% { opacity: .55; }
  100% { opacity: 0; transform: translateX(150px) rotate(20deg); }
}
@keyframes qsFocusIn {
  from { opacity: 0; letter-spacing: .35em; filter: blur(4px); }
  to { opacity: 1; letter-spacing: .03em; filter: blur(0); }
}
@keyframes qsFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes qsBadgeIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes qsDivider { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Reduced motion: every slide/spin/pop/burst/draw becomes a 150ms crossfade */
@media (prefers-reduced-motion: reduce) {
  #quote-request-popup .quote-request__card,
  #quote-request-popup .quote-request__overlay,
  #quote-request-popup .quote-sheet__pane {
    animation: qsFade 150ms ease both !important;
    transform: none !important;
  }
  #quote-request-popup.is-closing .quote-request__card,
  #quote-request-popup.is-closing .quote-request__overlay {
    animation: qsFadeOut 150ms ease both !important;
  }
  #quote-request-popup .quote-sheet__pane * {
    animation: none !important;
  }
  #quote-request-popup .qs-check { stroke-dashoffset: 0; }
  #quote-request-popup .qs-ripple,
  #quote-request-popup .qs-confetti,
  #quote-request-popup .qs-shine { display: none; }
}

/* Invisible bot trap inside the lead forms: people never see or tab to it, bots fill it in */
.lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.content_list {
    height: auto !important;
}

.content_list:not(:first-child) {
    margin-top: 12px;
}

.content_list_slide {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

.conf-dt {
    width: 85px;
    min-width: 85px;
}

p.conf-dt {
    margin: 0;
    padding-top: 8px;
}

.conf-dd {
    flex-grow: 2;
    display: grid;
    grid-template-columns: fit-content(100px) fit-content(100px) 1fr;
    gap: 10px;
    width: auto;
}

.conf-dd {
  display: flex;
  gap: 5px;
  width: auto;
}

.conf-dd_cols_7 {
    grid-template-columns: repeat(7, 32px);
}

#shapes-color-toplair-list-slide {
    height: auto !important;
}

.conf-dd .content_list_swatch {
    margin: 0;
}

.conf-dd_buttons {
    width: auto;
    grid-template-columns: repeat(5, 40px);
}

