:root {
  --colorDark: #1E3240;
  --colorBlue: #396B8D;
  --colorLightBlue: #86c7f3;
  --colorLightGreen: #CFDC8C;
  --colorGreen: #AFC53F;
  --colorOrange: #FF9244;
  --colorWhite: #FFFFFF;
  --colorGrey: #D9D9D9;
  --colorLightGray: #F7F7F7;
  --colorGreyText: #B9B9B9;
  --colorLightGray05: rgba(247, 247, 247, 0.6);

  --heightMobMenu: 300px;
  --widthMobileMode: 800px;

  /* TO DO: */
  /* Reserved for the host site's header that sits above this app. */
  --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;
  /* Caps span 0–70% of the em; center the line box on the cap center (35%) */
  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;
}


html {
  --text-shadow-color: #000000;
  --text-ui-color: #ffffff;
}

/* TEMP: placeholder navbar image — mobile only for now (see .site-navbar for
   the real desktop header). TO DO: replace with a real mobile header too. */
.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;
  }
}

/* Real site header (desktop only — mobile still uses .temp-navbar above). */
.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: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  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;
}

/* admin.html only: wraps the logo + "ADMIN" label so they center as one
   group instead of the label (a normal flex child) overlapping the
   independently-absolutely-centered logo above. */
.site-navbar__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-navbar__brand .site-navbar__logo {
  position: static;
  transform: none;
}

.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: "BebasNeue", "BebasNeue Fallback", "BebasNeue Fallback Mobile", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.site-navbar__login-btn {
  border: none;
  /* it's an <a> now (so ctrl/cmd/middle-click and "open in new tab" work
     natively), not a <button> — reset link defaults to keep the button look */
  display: inline-block;
  text-decoration: 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;
}

.frame__title {
  font-size: 1rem;
  display: inline-block;
}

.frame__links {
  display: inline-block;
  margin: 0 2rem;
  text-transform: lowercase;
}

.frame__links a {
  display: inline-block;
  margin: 0 0.25rem;
  text-decoration: none;
  color: red;
}

.frame__links a:focus,
.frame__links a:hover {
  text-decoration: underline;
}

.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;
}

.tray {
  width: 100%;
  height: 50px;
  position: relative;
  overflow-x: hidden;
}

.tray__slide {
  position: absolute;
  display: flex;
  left: 0;
}

.tray__swatch {
  content: "";
  transition: 0.1s ease-in;
  height: 50px;
  min-width: 50px;
  flex: 1;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  background-size: cover;
  background-position: center;
}

.tray__swatch:nth-child(5n+5) {
  margin-right: 20px;
}

/* Content list */

.content_list {
  width: 100%;
  height: 50px;
  position: relative;
  overflow-x: hidden;
}

.content_list_slide {
  position: absolute;
  display: flex;
  left: 0;
}

.content_grid_list {
  width: 100%;
  height: 90px;
  position: relative;
  overflow-x: hidden;
}

.content_grid_list_slide {
  display: grid;
  position: absolute;
  grid-template-rows: min-content 1fr;
  grid-template-columns: repeat(10, 9.1%);

  width: 100%;
  top: 0px;
}

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

.controls__menu {
  background-color: rgba(0, 0, 0, 0.4);
  ;
  border-radius: 10px;
  padding: 10px 10px 0;
  margin-bottom: 8px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  width: 100%;
}

.btn_group {
  display: flex;
}

.hide-show-btn {
  flex: 1 1 auto;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.5);
  border-radius: 6px;
  padding: 10px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  text-align: center;
  cursor: pointer;
}

.fx_btn {
  width: 50px;
  margin-left: 4px;
  display: none;
}

.fx_btn--off {
  text-shadow: none;
  color: rgb(209, 209, 209);
}

.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_list_swatch {
  content: "";
  background-size: cover;
  transition: 0.1s ease-in;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  display: flex;
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 30px;
  background-color: #bbbbbb;
  background-image: none;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 1px solid #000;
  cursor: pointer;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
}

.content_list_swatch.active {
  transform: scale(1.05);
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);

  -webkit-transition: transform .5s ease-in-out;
  -moz-transition: transform .5s ease-in-out;
  -ms-transition: transform .5s ease-in-out;
  border-width: 2px;
}

.content_list_swatch:hover {
  border: 1px solid #3a72a780;
}

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

.content__section {
  width: 100%;
  display: flex;
}

.content--bordered {
  padding: 5px;
  border: 1px solid #ffffff;
}

.content__title {
  max-width: 60px;
  width: 100%;
  flex: 0 0 auto;
  padding: 0 4px 0 4px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  display: flex;
  align-items: center;
}

.content__label {
  flex: 0 0 auto;
  padding: 0 4px 0 4px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.content__list {
  display: flex;
  flex: 1;
}

.content__list_item {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
}

.load_btn {
  flex: 1 1 auto;
  width: 100%;
  color: var(--text-shadow-color);
  font-weight: bold;
  text-shadow: 1px 1px 0 var(--text-ui-color), -1px -1px 0 var(--text-ui-color), 1px -1px 0 var(--text-ui-color), -1px 1px 0 var(--text-ui-color);
}

.ui-input-slider {
  cursor: pointer;
}

.ui-color-picker {
  height: 30px;
  width: 30px;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.ui-checkbox {
  height: 25px;
  width: 25px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.ui-image-button {
  height: 38px;
  width: 38px;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  background-size: cover;
  border-radius: 5px;
}

.ui-text-button {
  height: 30px;
  cursor: pointer;
  box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.3);
  border: 1px solid rgb(55, 58, 55);
  background-color: rgba(108, 108, 108, 0.8);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
}

.ui-button-active {
  border: 3px solid rgb(0, 201, 104);
  border-radius: 5px;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.textLabel {
  color: rgb(0, 13, 255);
  font-size: 16px;
  flex: 1 1 auto;
  width: auto;
  background-color: rgba(17, 17, 17, 0.5);
  border-radius: 6px;
  padding: 5px 7px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  text-align: center;
}

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

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

@-webkit-keyframes wheelin {
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes wheelin {
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

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

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

  .info__message {
    display: flex;
    align-items: flex-end;
  }

  .info__message p {
    margin: 0;
    font-size: 0.7em;
  }

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

  .frame__links {
    display: block;
    margin: 0;
    text-align: right;
  }
}

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

  .info__message {
    margin-bottom: 1em;
  }

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

  .content__list_item {
    justify-content: space-around;
  }
}

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


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

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

.canvas__container--open {
  flex: 1;
  width: 100vw;
}

.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;
}


#toggleIcon {
  width: 10px;
  height: 14px;
  transition: transform 0.6s ease-in-out;
}

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

.menu__wrapper {
  display: flex;
  display: none;
  /*! TEMP */
  position: absolute;
  right: 0;
}

.menu__hider {
  cursor: pointer;
  width: 30px;
  height: 60px;
  position: relative;
  background-color: var(--colorLightGray);
  border: 1px solid var(--colorGrey);
  border-radius: 2px 0px 0px 2px;
  border-width: 1px 0px 1px 1px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease-out;
}

.menu__hider:hover {
  background-color: var(--colorGreen);
}

.menu__container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 280px;
  z-index: 1;
  transition: transform 0.3s ease-out;
}

.menu {
  width: 100%;
  height: calc(var(--app-height) - 60px - 50px - 60px);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background-color: var(--colorLightGray);
  z-index: 1;
}

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

.menu__amount {
  width: 100%;
  height: 50px;
  color: var(--colorGreen);
  background-color: var(--colorDark);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
}

.menu__pdf {
  width: 100%;
  height: 60px;
  color: var(--colorWhite);
  background-color: var(--colorOrange);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.menu__pdf:hover {
  background-color: var(--colorGreen);
}

.menu__hider--open {
  transform: translateX(calc(280px));
}

.menu--open {
  transform: translateX(100%);
}

.tabs-container {
  border: 1px solid var(--colorGrey);
  background-color: var(--colorLightGray);
}

.tabs-header {
  position: sticky;
  top: 0px;
  margin: 0 10px;
  z-index: 3;
  background-color: var(--colorLightGray);
}

.tabs {
  display: flex;
  flex: 1;
  width: 100%;
  height: 60px;
  justify-content: center;
  align-items: center;
}

.tabs li {
  display: flex;
  flex: 1;
  box-sizing: border-box;
  height: 60px;
}

.tabs li a {
  display: flex;
  position: relative;
  transition: all 0.1s ease-in-out;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-bottom: 3px solid var(--colorGrey);
  font-weight: 400;
  font-size: 16px;
  color: var(--colorDark);
}

.tabs li.active a {
  border-bottom: 3px solid var(--colorGreen);
}

.tabs li a:hover {
  font-weight: bold;
  border-bottom: 4px solid var(--colorGreen);
}

.tabs-content {
  position: relative;
  z-index: 2;
  padding: 0 18px;
  width: 100%;
}

.tabs-panel {
  display: none;
}

.tabs-panel.active {
  display: block;
}

.tab__title {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin: 12px 0;
  color: var(--colorDark);
}

@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%;
  }

  .menu__wrapper {
    display: flex;
    display: none;
    /*! TEMP */
    flex-direction: column;
    width: 100%;
    right: auto;
    bottom: 0;
    justify-content: center;
  }

  .menu__hider {
    align-self: flex-end;
    height: 30px;
    width: 60px;
    border-width: 1px 1px 1px 1px;
    border-radius: 2px 2px 0px 0px;
    margin-bottom: -1px;
  }

  .menu__hider--open {
    transform: translateY(calc(var(--heightMobMenu) - 30px));

  }

  .menu__hider-icon {
    transform: rotate(90deg);
  }

  .menu--open {
    transform: translateY(100%);
  }


  .canvas__container--open {
    flex: 1;
    height: var(--app-height);
  }

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

  .menu__container {
    flex: 1;
    width: 100%;

    transition: transform 0.3s;
  }

  .menu {
    width: 100%;
    height: calc(var(--heightMobMenu) - 60px - 42px - 30px);
    overflow-y: scroll;
  }

  .tabs {
    display: flex;
    flex: 1;
    width: 100%;
    height: 42px;
    justify-content: center;
    align-items: center;
  }

  .tabs-header {
    position: sticky;
    top: 0px;
    margin: 0;
    z-index: 3;

  }

  .tabs li {
    display: flex;
    flex: 1;
    box-sizing: border-box;
    height: 42px;
  }

  .footer__container {
    flex-direction: row;
  }

  .menu__amount {
    height: 60px;
  }
}

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

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

.card__title {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin-left: 2px;
}

.title_small {
  font-weight: 400;
  font-size: 13px;
  line-height: auto;
  margin-bottom: -5px;
  text-align: center;
}

.section__title {
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 12px;
  color: var(--colorDark);
}

.section__subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin-top: 8px;
  margin-left: 2px;
  color: var(--colorDark);
}

.section__empty {
  height: 10px;
  border: 1px solid var(--colorLightGray);
}

.section__line {
  height: 2px;
  border: 1px solid var(--colorGreen);
  margin: 12px 0 6px;
}

.card__content {
  display: flex;
  width: 100%;
}

.card__content.vertical {
  flex-direction: column;
}

.card__container {
  width: 100%;
  margin: 6px 2px 20px;
}

.card__container.inner {
  margin-bottom: 6px;
}

.card__checkbox-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
  height: 38px;
  width: 100%;
  border: 1px solid var(--colorGrey);
  border-radius: 2px;
  color: var(--colorDark);
  margin: 6px 2px 0;

  transition: all 0.3s;
}

.card__checkbox-container-noborder {
  border: none;
}

.card__checkbox-wrapper {
  display: flex;
  align-items: center;
}

.card__checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.card__checkbox+label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.card__checkbox+label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 2px solid var(--colorGrey);
  border-radius: 2px;
  margin: 10px 14px 10px 8px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.card__checkbox:checked+label::before {
  border-color: var(--colorGreen);
  background-image: url("./public/img/icons/check.png");
  background-size: 14px;
}

.card__checkbox-label {
  cursor: pointer;
}

.card__checkbox-container:hover .card__price-text {
  color: var(--colorOrange);
}

.card__container.vertical {
  margin: 4px 2px 2px;
  padding-right: 4px;
}

.card__container.vertical:last-child {
  margin-bottom: 12px;
}

.card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  height: 38px;
  width: 100%;
  border: 1px solid var(--colorGreen);
  border-radius: 2px;
  color: var(--colorDark);
  cursor: pointer;
  transition: all 0.3s;
}

.card__button:hover {
  background-color: var(--colorBlue);
  color: var(--colorLightGray);
}

.card__button-img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--colorDark);
  margin: 8px;
}

.card__button--active {
  border: 1px solid var(--colorDark);
  background-color: var(--colorDark);
  color: var(--colorLightGray);
  font-weight: 400;
}

.card__button--active:hover {
  background-color: var(--colorBlue);
}

.card__description {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  padding: 4px;
  margin: 6px 2px 20px;
  border: 1px solid var(--colorGreen);
  border-radius: 2px;
  color: var(--colorOrange);
}

.card__price-text {
  color: var(--colorDark);
  padding: 0 8px;
  transition: color 0.3s;
}

.card__price-text--active {
  color: var(--colorOrange);
}

.card__button--active .card__price-text {
  color: var(--colorOrange);
}

.card__button:hover .card__price-text {
  color: var(--colorOrange);
}

.card-invisible {
  display: none;
}

.card-inner {
  border-bottom: none;
  padding-bottom: 0px;
}

.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;
  /* background-color: #0000004D; */
  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);
  border-radius: 50px;
}

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

.tbl-info-pdf-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.tbl-info-pdf-form-container input {
  display: flex;
  flex-grow: 1;
  height: 50px;
  width: 100%;
  padding: 10px 10px;
  border: none;
  font-weight: 400;
  font-size: 15px;
  line-height: 19px;
  outline: none;
  color: var(--colorBlue);
  background: var(--colorWhite);
}

.tbl-info-pdf-title {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  color: var(--colorDark);
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
}

.tbl-info-pdf-subtitle {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--colorDark);
  margin-bottom: 20px;
  width: 475px;
}

.tbl-info-pdf-form-group-btn {
  flex-grow: 1;
  margin-top: 18px;
  padding: 10px 20px;
  width: 100%;
  height: 56px;
  color: var(--colorDark);
  background-color: var(--colorGreen);
  border: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}

.tbl-info-ARview-form-group-btn {
  flex-grow: 1;
  margin-top: 18px;
  padding: 10px 20px;
  width: calc(100vw - 60px);
  margin-left: 30px;
  margin-right: 30px;
  height: 56px;
  color: var(--colorDark);
  background-color: var(--colorGreen);
  border: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}

.tbl-info-ARview-title {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  color: var(--colorLightGray);
  margin-bottom: 20px;
  width: calc(100vw - 60px);
  margin-left: 30px;
  margin-right: 30px;
}

.tbl-info-ARview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.tbl-info-pdf-form-group-btn:disabled {
  background-color: var(--colorGrey);
  cursor: not-allowed;
  color: var(--colorDark);
}

.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;
  border-radius: 3px;
}

.input-success {
  border: 2px solid var(--colorGreen);
  border-radius: 3px;
}

.input-success-noborder {
  border: none;
}

.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;
  /* sits above the overview popup */
}

.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;
}

/* 3-column row: [section title] [swatch + item label] [price] */
.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;
}

/* marevo-icon-summary.svg ships dark-stroked; force it white to read on this
   button's solid black background, like the other .summary-popup__btn icons. */
#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 sign-up form popup (#download-pdf-popup) ************* */
.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);
}

/* label — hidden by default, shown on hover */
.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) — a dark, blurred glass card that
   pops up above the toolbar button with a vertical slider controlling
   can_light_emiss's emissiveIntensity (see setLightBrightness). */
.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;
}

.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;
}

/* body.fullscreen-mode .tbl-buttons-nav-container {
  top: 0px;
} */

.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-title {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #000;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.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;
}

.menu__block-checkbox {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 0 7px -1px 0;
  background-image: url(./public/img/icons/checkbox_unchecked.png);
  background-repeat: no-repeat;
  background-position: center;
}

.menu__block-checkbox.activated {
  background-image: url(./public/img/icons/checkbox_checked.png);
}

.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-bottom: 3px; */
  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: 20px; */
  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;
}

/* In night mode the day/night button is activated, so its hover label would
   inherit black and vanish against the dark scene — keep it gold instead. */
#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;
    /* flex-direction: column; */
  }

  .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;
  }

  .tbl-buttons-nav-container.nav-hidden {
    bottom: 6px;
  }

  .tbl-info-pdf-subtitle {
    width: 100%;
  }

  .tbl-info-pdf-form-container {
    margin: 0 22px;
  }

  .menu__hub_wrapper {
    bottom: 42px;
  }

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

  .menu__block-title {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .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;
  }

  .menu__block-checkbox {
    width: 12px;
    height: 12px;
    margin: 0 6px -2px 0;
    background-image: url(./public/img/icons/checkbox_unchecked_mobile.png);
  }

  .menu__block-checkbox.activated {
    background-image: url(./public/img/icons/checkbox_checked_mobile.png);
  }
}



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

/* *************Right-side accordion menu ••••••••••• */
#menu__hub.menu__hub_wrapper,
#menu__hub.menu__hub_wrapper-old {
  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 the
   whole block when the rooftop deck is absent (hub gets .rooftop-deck-off). */
#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;
}

/* A whole section not offered for the active model (e.g. Ceiling on Captain)
   — same dimmed/inert treatment an individual unavailable item gets
   (opacity:.4;pointer-events:none — see rowDisabledStyle in interface.js),
   just applied to the entire block including its header. */
#menu__hub .menu__block--disabled {
  opacity: .4;
  pointer-events: none;
}

/* Reveal-on-select content under a radio item (nested swatches / colour picker /
   placement): grow it in with grid-rows so the blocks below reflow smoothly
   instead of jumping. Rendered open (.is-shown); a reflow-restart in selectItem
   replays the grow only on a real selection change (not on unrelated re-renders). */
#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-title,
#menu__hub .menu__block .menu__block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #b69b4c;
}

#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;
}

/* Same specificity family as the base rule above (id + 2 classes) so this
   actually wins for display/gap/padding — a bare .menu__icon-grid rule at
   1-class specificity loses those particular properties to it regardless
   of source order (see .menu__icon-grid below for the rest of the look). */
#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;
}

/* Radio-style option rows */
.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, struck through, shown just before the current (lower)
   price whenever an admin-set discount is active on that item. */
.menu__option-price--old {
  color: #b3423a;
  text-decoration: line-through;
  font-weight: 400;
}

.menu__legacy-hidden {
  display: none !important;
}

/* ************ Left-side price panel ********* */
:root {
  --price-panel-width: 320px;
  --menu-hub-width: 420px;
  --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 (#button_fullscreen): *********** */
.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: 94px;
  margin-bottom: 17px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.price-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-panel__row,
.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;
}

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

.price-panel__model_preview {
  width: 100%;
  height: 183px;
  margin-block: 12px;
  /* Absorb any height overflow so the save button never gets clipped on
     shorter desktops: keep 183px when there's room, shrink when there isn't. */
  flex: 0 1 auto;
  min-height: 0;
  object-fit: contain;
}

.price-panel__model {
  padding: 10px 0;
  border-bottom: 0.5px solid #AD976280;
}

.price-panel__row {
  padding: 10px 0 8px 0;
}

.price-panel__value {
  font-weight: 400;
  color: #979797;
}

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

.price-panel__divider {
  border: none;
  border-top: 0.5px solid #AD976280;
  margin: 12px 0 10px;
}

.price-panel__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-panel__total-label {
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #AD9762;
  letter-spacing: 0.04em;
}

.price-panel__total-value {
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #AD9762;
}

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

.price-panel__save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  flex-shrink: 0;
  padding: 14px 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  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 renders into #menu__hub*********** */
#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.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: #AD9762 !important;
}

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

/* Checkbox-style rows */
.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] {
  /* opacity: 0.35;
  cursor: not-allowed; */
  display: none;
}

.lil-gui.lil-auto-place,
.lil-gui.autoPlace {
  left: 15px !important;
  right: 0px !important;
}

/* •••••••••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 .ar-button-block,
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: 416px;
  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--disabled {
  opacity: 0.55;
}

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

.model-card__edition-text {
  font-family: 'BebasNeue', 'BebasNeue Fallback', 'BebasNeue Fallback Mobile', sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--accent-gold, #b69b4c);
  text-align: center;
  line-height: 1.05;
}

.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__media {
  position: relative;
  width: 250px;
  height: 200px;
  margin: 20px 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;
}

/* Hover anywhere on a card -> crossfade its static image into its video
   (see the delegated mouseover/mouseout handlers in model-selector.js). */
.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;
}

/*  color swatches  */
.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;
  /* No overflow:hidden — the inner color-image already rounds itself; clipping
     here triggers iOS Safari's blurry rounded-clip rasterization, which shows
     up as a fuzzy edge on the white swatch (its only outline is a thin border). */
}

.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;
  /* No overflow:hidden — see .menu__nested-swatches wrapper: avoids the iOS
     Safari blurry rounded-clip artifact on the white swatch. */
}

.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;
}

/* Icon-grid sections (e.g. Furniture layout presets) — same tile language as
   .menu__nested-swatches .menu__block-item (rounded tile, gold border when
   active), but a fixed 3-per-row grid instead of a wrapping flex strip, and
   big enough to show a floor-plan icon plus a label and price underneath. */
.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);
}

/* Active state highlights only the image tile (menu_item_wripper), matching
   Ceiling's .menu__nested-swatches — not the whole item incl. title/price.
   The border lives on menu_item_wripper alone (light grey by default, gold
   when selected) so every tile shares one consistent frame — menu_item_color-image
   stays borderless underneath it instead of drawing a second, always-grey ring. */
.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__icon-grid .menu_item_color-price {
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--accent-gold, #AD9762);
}

.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";
}

/* bed placement toggle */
.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) {

  /* The 3D canvas + section nav are frozen in place (position: fixed below);
     #menu__hub is the only thing that scrolls — so the page itself no
     longer scrolls at all. */
  :root {
    --mobile-canvas-h: clamp(340px, 58vh, 620px);
    --mobile-nav-h: 36px;
    --mobile-nav-gap: 16px;
    /* space above AND below the nav pill (was margin: 16px auto) */
  }

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

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

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

  .price-panel__total-label {
    font-size: 18px;
  }

  .price-panel__total-value {
    font-size: 18px;
  }

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

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

  .price-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 56px;
    box-sizing: border-box;
    padding: 0 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: 8;
  }

  .price-panel__model_logo,
  .price-panel__model_preview,
  .price-panel__list,
  .price-panel__divider,
  .price-panel__total-row,
  .price-panel__note {
    display: none;
  }

  .price-panel__model {
    flex: 0 1 auto;
    min-width: 0;
    justify-content: flex-start;
    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 {
    display: none;
  }

  .price-panel__model .price-panel__total {
    color: #AD9762;
    font-weight: 700;
    font-size: 24px;
  }

  .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,
  .canvas__container--open {
    position: fixed;
    top: calc(var(--header-height) + 56px);
    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: 36px;
    height: 36px;
    padding: 8px;
  }

  .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 — frozen in place, right below the canvas + its own
     gap (was margin: 16px auto — kept as a real gap, just via top: calc()
     instead, since position is fixed now). */
  #nav-container.tbl-buttons-nav-container {
    position: fixed;
    top: calc(var(--header-height) + 56px + 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;
  }

  /* The only scrollable region on mobile — everything else above is frozen
     in place (position: fixed). Takes up the rest of the viewport below the
     canvas + nav pill + its trailing gap. */
  #menu__hub.menu__hub_wrapper,
  #menu__hub.menu__hub_wrapper-old {
    position: fixed;
    top: calc(var(--header-height) + 56px + 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;
  }

  /* Sections start expanded on mobile (seeded in initState), but the
     `.expanded` class still drives visibility so users can collapse them. */
}

/* ══════════════════════════════════════════════════════════════════════
   Popup close button (golfClosePopup.js) — no animation on close itself,
   just a small hover/active scale bump on the button.
   ══════════════════════════════════════════════════════════════════════ */
.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;
}

.site-navbar_admin_header {
  color: #AD9762;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}


/* ---- 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 .login-form.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;
}

/* ---- main app ----
   The post-login catalog editor (model tabs, category tabs, sections,
   options, swatches, save bar, toast) now lives entirely in admin.html's own
   <style> block, scoped under .cat-app — that replaced this whole light-theme
   ruleset (.mainContent/.model-tabs/.accordion/.group/.option-row/.swatch-*/
#bottom/.save-btn/.logout-btn/.toast),
which no longer matches any element admin.html renders. Removed rather than left in place because it was silently winning cascade ties against the new .cat-app .swatch-* rules on any property the new rules didn't also explicitly set (e.g. background) —
 that's what was causing the swatch clusters to render with a stray white
 background. .empty-note below is still used,
so it stays. */ .admin-page .empty-note {
  color: #999;
  font-size: 13px;
  padding: 12px 14px;
}

/* ══════════════════════════════════════════════════════════════════════
   Share My Design popup (#share-design-popup) — duplicated verbatim from
   the .download-pdf* rules above, under a separate .share-download*
   namespace, so its styling can be changed independently later without
   touching the original #download-pdf-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;
  /* sits above the overview popup */
}

.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__title {
  margin: 30px 0;
  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%;
  justify-content: center;
}

.share-download__title {
  font-size: 24px;
}

.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__row {
  display: flex;
  align-items: center;
  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__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;
}

.share-download__row .share-download__input {
  flex: 0 1 290px;
  width: 290px;
}

.share-download__input::placeholder {
  color: var(--colorGreyText);
}

.share-download__input:focus {
  border-color: var(--colorDark);
}

.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__row {
    flex-direction: column;
  }

  .share-download__title {
    font-size: 26px;
  }

  .share-download__title {
    margin-block-start: 0px !important;
  }

  .share-download__row .share-download__input {
    width: 100%;
    flex: auto;
  }

  .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;
  }
}