/* v534 - uvodni stranka: kompaktnejsi volby, USP uvnitr glass panelu, vlastni dark stepper. */

/* Hlavni glass panel: vlevo parametry, vpravo samostatny pruh USP. */
html.ahp-layout-v497 #startScreen .start-content-layout {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 14px !important;
  overflow: visible !important;
}

html.ahp-layout-v497 #startScreen .start-card {
  width: min(1220px, calc(100% - 8px)) !important;
  max-width: 1220px !important;
  margin: 18px auto !important;
  padding: 26px 28px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  column-gap: 20px !important;
  align-items: stretch !important;
  overflow: auto !important;
}

html.ahp-layout-v497 #startScreen .start-card-main {
  min-width: 0 !important;
  align-self: center !important;
}

/* Volby jsou mensi, ale obsah a aktivni stavy zustavaji beze zmeny. */
html.ahp-layout-v497 #startScreen .choice-card {
  min-height: 40px !important;
  height: 40px !important;
  max-height: 40px !important;
  padding: 4px 31px 4px 9px !important;
  gap: 8px !important;
  border-radius: 10px !important;
}

html.ahp-layout-v497 #startScreen .choice-card .choice-label {
  font-size: 13.5px !important;
  line-height: 1.08 !important;
}

html.ahp-layout-v497 #startScreen :is(.assembly-swatch,.numeric-swatch) {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

html.ahp-layout-v497 #startScreen .color-brush-swatch {
  width: 48px !important;
  min-width: 48px !important;
  height: 21px !important;
  flex: 0 0 48px !important;
}

html.ahp-layout-v497 #startScreen .color-brush-swatch img {
  width: 48px !important;
  height: 17px !important;
}

html.ahp-layout-v497 #startScreen .chooser-block {
  margin-top: 9px !important;
}

html.ahp-layout-v497 #startScreen .chooser-block > h2 {
  margin-bottom: 6px !important;
}

html.ahp-layout-v497 #startScreen .choice-grid {
  gap: 9px !important;
}

/* Delsi pole je take o neco nizsi. */
html.ahp-layout-v497 #startScreen .ahp-wall-control,
html.ahp-layout-v497 #startScreen .ahp-wall-control input {
  height: 40px !important;
}

html.ahp-layout-v497 #startScreen .ahp-wall-control input {
  padding: 8px 68px 8px 12px !important;
}

html.ahp-layout-v497 #startScreen .start-actions {
  margin-top: 10px !important;
}

/* USP presunute dovnitr modalniho panelu jako pravy pruh. */
html.ahp-layout-v497 #startScreen .start-usp {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 9px !important;
  pointer-events: auto !important;
  align-self: stretch !important;
}

html.ahp-layout-v497 #startScreen .start-usp-item {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 9px 9px !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 9px !important;
  row-gap: 2px !important;
  align-items: center !important;
  text-align: left !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
  backdrop-filter: blur(8px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(110%) !important;
}

html.ahp-layout-v497 #startScreen .start-usp-item:hover {
  transform: none !important;
  border-color: rgba(255,255,255,.24) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.05)) !important;
}

html.ahp-layout-v497 #startScreen .start-usp-item .start-usp-icon,
html.ahp-layout-v497 #startScreen .start-usp-item .start-usp-icon-shipping,
html.ahp-layout-v497 #startScreen .start-usp-item .start-usp-icon-warranty {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  object-fit: contain !important;
  align-self: center !important;
}

html.ahp-layout-v497 #startScreen .start-usp-item h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  max-width: none !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.12 !important;
  text-align: left !important;
}

html.ahp-layout-v497 #startScreen .start-usp-item p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  max-width: none !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

/* Nativni bile spin buttony schovame a nahradime vlastnim glass stepperem. */
html.ahp-layout-v497 #startScreen .ahp-wall-control input[type="number"] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

html.ahp-layout-v497 #startScreen .ahp-wall-control input[type="number"]::-webkit-inner-spin-button,
html.ahp-layout-v497 #startScreen .ahp-wall-control input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
}

html.ahp-layout-v497 #startScreen .ahp-number-stepper {
  position: absolute !important;
  top: 50% !important;
  right: 37px !important;
  width: 22px !important;
  height: 30px !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 7px !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

html.ahp-layout-v497 #startScreen .ahp-number-stepper button {
  position: relative !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.72) !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

html.ahp-layout-v497 #startScreen .ahp-number-stepper button + button {
  border-top: 1px solid rgba(255,255,255,.10) !important;
}

html.ahp-layout-v497 #startScreen .ahp-number-stepper button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform-origin: center;
}

html.ahp-layout-v497 #startScreen .ahp-number-stepper .ahp-step-up::before {
  transform: translate(-50%, -35%) rotate(45deg);
}

html.ahp-layout-v497 #startScreen .ahp-number-stepper .ahp-step-down::before {
  transform: translate(-50%, -65%) rotate(225deg);
}

html.ahp-layout-v497 #startScreen .ahp-number-stepper button:hover,
html.ahp-layout-v497 #startScreen .ahp-number-stepper button:focus-visible {
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  outline: none !important;
}

/* Kdyz neni pro pravy sloupec dost sirky, USP se presune pod formulář vedle sebe. */
@media (max-width: 1100px) {
  html.ahp-layout-v497 #startScreen .start-card {
    width: min(980px, calc(100% - 8px)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 16px !important;
  }

  html.ahp-layout-v497 #startScreen .start-usp {
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html.ahp-layout-v497 #startScreen .start-usp-item {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    padding: 8px !important;
  }

  html.ahp-layout-v497 #startScreen .start-usp-item .start-usp-icon,
  html.ahp-layout-v497 #startScreen .start-usp-item .start-usp-icon-shipping,
  html.ahp-layout-v497 #startScreen .start-usp-item .start-usp-icon-warranty {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }

  html.ahp-layout-v497 #startScreen .start-usp-item h2 {
    font-size: 11.5px !important;
  }

  html.ahp-layout-v497 #startScreen .start-usp-item p {
    font-size: 9.5px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 760px) {
  html.ahp-layout-v497 #startScreen .start-card {
    margin: 10px auto !important;
    padding: 16px !important;
    border-radius: 18px !important;
    row-gap: 12px !important;
  }

  html.ahp-layout-v497 #startScreen .choice-card {
    min-height: 42px !important;
    height: 42px !important;
    max-height: 42px !important;
  }

  html.ahp-layout-v497 #startScreen .start-usp {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 470px) {
  html.ahp-layout-v497 #startScreen .start-usp {
    grid-template-columns: 1fr !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html.ahp-layout-v497 #startScreen .start-usp-item,
  html.ahp-layout-v497 #startScreen .ahp-number-stepper {
    background: rgba(35,38,42,.94) !important;
  }
}
