/* =========================================================
   ATELIER GEYER BOLTENHAGEN
   UHRENARMBÄNDER-SEITE
   ========================================================= */


/* =========================================================
   GRUNDWERTE
   ========================================================= */

:root {
  --strap-black: #171717;
  --strap-black-soft: #2b2b2b;
  --strap-gold: #c1a06f;
  --strap-gold-dark: #ad8854;
  --strap-green: #1f382a;
  --strap-green-light: #294936;
  --strap-white: #ffffff;
  --strap-light: #f5f5f5;
  --strap-background: #f7f5f1;
  --strap-text: #222222;
  --strap-muted: #6b6b6b;
  --strap-line: #d9d9d9;
  --strap-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   EINLEITUNGSBEREICH
   ========================================================= */

.section-intro {
  width: calc(100% - 40px);
  max-width: 900px;

  margin: 80px auto 55px;
  padding: 55px 45px 50px;

  box-sizing: border-box;
  text-align: center;
}

.section-intro--dark {
  color: #f4f1eb;

  background:
    linear-gradient(
      145deg,
      #1b1b1b 0%,
      #242424 55%,
      #292929 100%
    );

  border: 1px solid rgba(193, 160, 111, 0.55);

  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.16),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-intro-kicker {
  margin: 0 0 24px;

  color: var(--strap-gold);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.28em;

  text-transform: uppercase;
}

.section-intro-title {
  max-width: 760px;

  margin: 0 auto;

  color: var(--strap-white);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.025em;

  text-transform: uppercase;
  text-wrap: balance;
}

.strap-intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 16px;
  width: 100%;

  margin: 38px auto;
}

.strap-intro-divider span {
  display: block;

  width: 42%;
  max-width: 280px;
  height: 1px;

  background: var(--strap-gold);
}

.strap-intro-divider i {
  display: block;
  flex: 0 0 16px;

  width: 16px;
  height: 16px;

  background: var(--strap-gold);

  transform: rotate(45deg);
}

.section-intro-text {
  max-width: 720px;

  margin: 0 auto;

  color: #e0ddd8;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.section-intro-features {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  gap: 18px;
  width: fit-content;
  max-width: 100%;

  margin: 42px auto 0;

  text-align: left;
}

.section-intro-features span {
  position: relative;

  display: block;
  width: 100%;

  padding-left: 28px;

  color: #e4e1dc;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

.section-intro-features span::before {
  position: absolute;
  top: 0.48em;
  left: 3px;

  width: 10px;
  height: 10px;

  content: "";

  background: var(--strap-gold);

  transform: rotate(45deg);
}

#uhrenarmbaender {
  scroll-margin-top: 130px;
}


/* =========================================================
   SHOP-BEREICH
   ========================================================= */

.watchstrap-shop {
  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
  padding: 0 5vw 70px;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.watchstrap-carousel {
  position: relative;

  width: 100%;

  overflow: hidden;

  background: #111111;

  border-radius: 12px;

  box-shadow: var(--strap-shadow);
}

.watchstrap-carousel .carousel-inner {
  width: 100%;
}

.watchstrap-carousel .carousel-item {
  width: 100%;
}

.watchstrap-product {
  position: relative;

  display: block;
  width: 100%;

  margin: 0;
  padding: 0;

  color: inherit;
  text-align: left;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.watchstrap-product:focus {
  outline: none;
}

.watchstrap-product:focus-visible {
  outline: 4px solid var(--strap-gold);
  outline-offset: -4px;
}

.watchstrap-product img {
  display: block;

  width: 100%;
  height: 540px;

  object-fit: cover;
  object-position: center;

  transition: transform 0.4s ease;
}

.watchstrap-product:hover img {
  transform: scale(1.02);
}


/* =========================================================
   CAROUSEL-BESCHRIFTUNG
   ========================================================= */

.watchstrap-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;
  min-height: 105px;
  padding: 34px 30px 24px;

  color: var(--strap-white);

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.94),
      rgba(0, 0, 0, 0.45),
      transparent
    );
}

.watchstrap-caption strong {
  display: block;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
}

.watchstrap-caption small {
  display: block;

  color: var(--strap-gold);

  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.5px;
}


/* =========================================================
   CAROUSEL-NAVIGATION
   ========================================================= */

.watchstrap-carousel .carousel-control-prev,
.watchstrap-carousel .carousel-control-next {
  width: 10%;

  opacity: 0.9;
}

.watchstrap-carousel .carousel-control-prev:hover,
.watchstrap-carousel .carousel-control-next:hover {
  opacity: 1;
}

.watchstrap-carousel .carousel-control-prev-icon,
.watchstrap-carousel .carousel-control-next-icon {
  width: 42px;
  height: 42px;

  padding: 9px;

  background-color: rgba(0, 0, 0, 0.52);
  background-size: 55%;

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.watchstrap-carousel .carousel-indicators {
  margin-bottom: 14px;
}

.watchstrap-carousel .carousel-indicators [data-bs-target] {
  width: 38px;
  height: 4px;

  margin-right: 5px;
  margin-left: 5px;

  background-color: var(--strap-white);
  border: 0;

  opacity: 0.65;
}

.watchstrap-carousel .carousel-indicators .active {
  background-color: var(--strap-gold);

  opacity: 1;
}


/* =========================================================
   WARENKORB / AUSWAHL
   ========================================================= */

.cart-summary {
  width: 100%;

  margin-top: 28px;
  padding: 30px;

  color: var(--strap-text);
  text-align: left;

  background: var(--strap-white);

  border: 1px solid #eeeeee;
  border-radius: 10px;

  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.cart-summary h3 {
  margin: 0 0 18px;

  color: var(--strap-text);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 2px;

  text-transform: uppercase;
}

.cart-empty {
  margin: 0 0 16px;

  color: var(--strap-muted);

  font-size: 16px;
  line-height: 1.5;
}

.cart-items {
  margin: 0;
  padding: 0;

  list-style: none;
}

.cart-items:empty {
  display: none;
}

.cart-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  padding: 14px 0;

  border-bottom: 1px solid var(--strap-line);
}

.cart-items li:last-child {
  border-bottom: 0;
}

.cart-item-name {
  font-weight: 600;
}

.cart-item-price {
  white-space: nowrap;
}

.cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 34px;
  height: 34px;

  padding: 4px 9px;

  color: #721c24;

  background: #f8d7da;
  border: 0;
  border-radius: 4px;

  cursor: pointer;
}

.cart-remove:hover {
  background: #f1bfc4;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 20px;
  padding-top: 18px;

  color: var(--strap-text);

  font-size: 20px;

  border-top: 2px solid var(--strap-gold);
}

.cart-total strong {
  font-weight: 700;
}

#totalPrice {
  font-weight: 700;

  white-space: nowrap;
}


/* =========================================================
   ANFRAGE-BUTTON
   ========================================================= */

#checkout {
  width: 100%;

  margin-top: 22px;
  padding: 15px 22px;

  color: var(--strap-white);

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;

  text-transform: uppercase;

  background:
    linear-gradient(
      90deg,
      var(--strap-gold-dark),
      var(--strap-gold)
    );

  border: 0;
  border-radius: 5px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    opacity 0.2s ease;
}

#checkout:hover:not(:disabled) {
  filter: brightness(0.94);

  transform: translateY(-1px);
}

#checkout:active:not(:disabled) {
  transform: translateY(0);
}

#checkout:disabled {
  opacity: 0.48;

  cursor: not-allowed;
}


/* =========================================================
   PRODUKT-MODAL
   ========================================================= */

.product-modal .modal-dialog {
  width: min(1380px, calc(100% - 48px));
  max-width: 1380px;
}

.product-modal .modal-content {

  overflow: hidden;

  background: var(--strap-background);

  border: 1px solid rgba(193, 160, 111, 0.5);
  border-radius: 8px;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.product-modal .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding: 22px 28px;

  color: var(--strap-white);

  background:
    linear-gradient(
      90deg,
      var(--strap-black),
      var(--strap-black-soft)
    );

  border-bottom: 1px solid rgba(193, 160, 111, 0.38);
}

.product-modal-kicker {
  margin: 0 0 5px;

  color: var(--strap-gold);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.5px;

  text-transform: uppercase;
}

.product-modal .modal-title {
  margin: 0;

  color: var(--strap-white);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 1px;
}

.product-modal .btn-close {
  margin-top: 4px;

  filter: invert(1);
  opacity: 0.9;
}

.product-modal .btn-close:hover {
  opacity: 1;
}

.product-modal .modal-body {

  padding: 28px;

  background: var(--strap-background);
}


/* =========================================================
   KONFIGURATOR-AUFTEILUNG
   ========================================================= */

.product-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);

  gap: 42px;
}

.product-configurator-preview {
  position: sticky;
  top: 0;

  align-self: start;
}

.product-configurator-options {
  min-width: 0;
}

.product-preview {
  margin: 0;
  padding: 20px;

  background: var(--strap-white);

  border: 1px solid #ded8cf;
  border-radius: 5px;
}

.product-main-image {
  display: block;

  width: 100%;
  max-height: 500px;

  margin: 0;

  object-fit: contain;

  border-radius: 3px;
}

.product-selected-color {
  margin: 14px 0 0;

  color: #4f4b45;

  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.product-information {
  margin-top: 18px;
  padding: 18px 20px;

  color: #57524b;

  background: #eee9e1;

  border-left: 3px solid var(--strap-gold-dark);
}

.product-information p {
  margin: 0;

  color: #57524b;

  font-size: 15px;
  line-height: 1.65;
}


/* =========================================================
   OPTIONEN
   ========================================================= */

.product-option-group {
  min-width: 0;

  margin: 0;
  padding: 0 0 24px;

  border: 0;
}

.product-option-group + .product-option-group {
  padding-top: 22px;

  border-top: 1px solid #ddd6cc;
}

.product-option-group.compact {
  padding-bottom: 20px;
}

.product-option-title {
  width: 100%;

  margin: 0 0 13px;
  padding: 0;

  color: #26231f;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.product-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 24px;
  padding-top: 22px;

  border-top: 1px solid #ddd6cc;
}

.product-options-grid .product-option-group {
  padding-top: 0;

  border-top: 0;
}


/* =========================================================
   FARBAUSWAHL
   ========================================================= */

.image-selection-container {

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 10px;

  max-height: 355px;
  padding: 4px 8px 8px 4px;

  overflow-x: hidden;
  overflow-y: auto;

  scrollbar-color: var(--strap-gold) #e7e1d8;
  scrollbar-width: thin;
}

.image-selection-container::-webkit-scrollbar {
  width: 8px;
}

.image-selection-container::-webkit-scrollbar-track {
  background: #e7e1d8;
}

.image-selection-container::-webkit-scrollbar-thumb {
  background: var(--strap-gold);

  border-radius: 999px;
}

.color-option {
  position: relative;

  display: flex;
  flex-direction: column;

  gap: 6px;
  min-width: 0;
  padding: 6px;

  color: #36322d;

  background: var(--strap-white);

  border: 1px solid #d8d1c7;
  border-radius: 4px;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.color-option img {
  display: block;

  width: 100%;
  aspect-ratio: 1 / 1.15;

  margin: 0;

  object-fit: contain;

  background: #f5f3ef;

  border-radius: 2px;
}

.color-option span {
  display: block;

  overflow: hidden;

  color: #36322d;

  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.color-option:hover {
  border-color: var(--strap-gold-dark);

  transform: translateY(-2px);
}

.color-option.selected,
.color-option[aria-pressed="true"] {
  border-color: var(--strap-gold-dark);

  box-shadow:
    0 0 0 2px rgba(193, 160, 111, 0.28);
}

.color-option.selected::after,
.color-option[aria-pressed="true"]::after {
  position: absolute;
  top: 7px;
  right: 7px;

  display: grid;
  place-items: center;

  width: 22px;
  height: 22px;

  color: var(--strap-white);

  content: "✓";

  background: var(--strap-green);

  border-radius: 50%;

  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   SCHLIESSE, LÄNGE UND BREITE
   ========================================================= */

.option-selection {
  display: flex;
  flex-wrap: wrap;

  gap: 9px;
}

.option-circle {
  min-width: 64px;
  min-height: 42px;

  padding: 8px 14px;

  color: #2e2a25;

  background: var(--strap-white);

  border: 1px solid #bbb3a8;
  border-radius: 999px;

  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.option-circle:hover {
  border-color: var(--strap-gold-dark);

  transform: translateY(-1px);
}

.option-circle.selected,
.option-circle[aria-pressed="true"] {
  color: var(--strap-white);

  background: var(--strap-black-soft);
  border-color: var(--strap-black-soft);
}


/* =========================================================
   WARENKORB-BUTTON IM MODAL
   ========================================================= */

.product-modal-action {
  padding-top: 8px;
}

.product-modal-action .addToCart {
  width: 100%;
  min-height: 52px;

  padding: 14px 22px;

  color: var(--strap-white);

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;

  text-transform: uppercase;

  background:
    linear-gradient(
      90deg,
      var(--strap-green),
      var(--strap-green-light)
    );

  border: 0;
  border-radius: 4px;

  cursor: pointer;

  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.product-modal-action .addToCart:hover {
  color: var(--strap-white);

  filter: brightness(0.93);

  transform: translateY(-1px);
}

.product-modal-action .addToCart:active {
  transform: translateY(0);
}


/* =========================================================
   FOKUS UND BARRIEREFREIHEIT
   ========================================================= */

.color-option:focus-visible,
.option-circle:focus-visible,
.product-modal-action .addToCart:focus-visible,
.cart-remove:focus-visible,
#checkout:focus-visible {
  outline: 3px solid rgba(193, 160, 111, 0.55);
  outline-offset: 3px;
}


/* =========================================================
   Desktop 
   ========================================================= */

@media (min-width: 1400px) {
  .product-modal .modal-dialog {
    width: min(1450px, calc(100% - 70px));
    max-width: 1450px;
  }

  .product-modal .modal-content {
    min-height: 720px;
  }

  .product-modal .modal-body {
    min-height: 630px;
    padding: 34px;
  }

  .product-configurator {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 48px;
  }

  .product-main-image {
    max-height: 540px;
  }

  .image-selection-container {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-height: 470px;
  }

  .color-option span {
    font-size: 13px;
  }

  .option-circle {
    min-width: 70px;
    min-height: 44px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

  .section-intro {
    margin-top: 50px;
    padding: 44px 5vw 40px;
  }

  .section-intro-title {
    font-size: 39px;
  }

  .section-intro-text {
    max-width: 740px;

    font-size: 17px;
  }

  .watchstrap-shop {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .watchstrap-product img {
    height: 460px;
  }

  .watchstrap-caption strong {
    font-size: 27px;
  }

  .watchstrap-carousel .carousel-control-prev,
  .watchstrap-carousel .carousel-control-next {
    width: 12%;
  }

  .product-modal .modal-dialog {
    width: calc(100% - 30px);
  }

  .product-configurator {
    grid-template-columns: 1fr;
  }

  .product-configurator-preview {
    position: static;
  }

  .product-main-image {
    max-height: 360px;
  }

  .image-selection-container {
    grid-template-columns: repeat(5, minmax(0, 1fr));

    max-height: 340px;
  }
}

/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 760px) {

  .section-intro {
    width: calc(100% - 36px);
    margin: 55px auto 40px;
    padding: 42px 28px 40px;
  }

  .section-intro-kicker {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.24em;
  }

  .section-intro-title {
    font-size: clamp(32px, 8.5vw, 45px);
    line-height: 1.15;
  }

  .strap-intro-divider {
    gap: 13px;
    margin: 32px auto;
  }

  .strap-intro-divider span {
    width: 40%;
  }

  .strap-intro-divider i {
    flex-basis: 14px;
    width: 14px;
    height: 14px;
  }

  .section-intro-text {
    font-size: 17px;
    line-height: 1.72;
  }

  .section-intro-features {
    gap: 17px;
    width: fit-content;
    max-width: 420px;
    margin: 36px auto 0;
  }

  .section-intro-features span {
    padding-left: 27px;
    font-size: 16px;
  }

  .watchstrap-shop {
    padding: 0 5vw 50px;
  }

  .watchstrap-carousel {
    border-radius: 8px;
  }

  .watchstrap-product img {
    height: 360px;
  }

  .watchstrap-caption {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    min-height: 112px;
    padding: 30px 18px 18px;
  }

  .watchstrap-caption strong {
    font-size: 24px;
  }

  .watchstrap-caption small {
    font-size: 13px;
  }

  .watchstrap-carousel .carousel-control-prev,
  .watchstrap-carousel .carousel-control-next {
    width: 16%;
  }

  .watchstrap-carousel .carousel-control-prev-icon,
  .watchstrap-carousel .carousel-control-next-icon {
    width: 36px;
    height: 36px;
  }

  .watchstrap-carousel .carousel-indicators [data-bs-target] {
    width: 28px;
  }

  .cart-summary {
    margin-top: 22px;
    padding: 22px;
  }

  .cart-summary h3 {
    font-size: 25px;
  }

  .cart-items li {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .cart-total {
    font-size: 18px;
  }

  /* =====================================================
     MODAL
     ===================================================== */

  .product-modal {
    padding: 0 !important;
  }

  .product-modal .modal-dialog {
    width: calc(100% - 16px);
    max-width: none;
    margin:
      max(8px, env(safe-area-inset-top))
      auto
      max(8px, env(safe-area-inset-bottom));
  }

  .product-modal .modal-content {
    min-height: 0;
    max-height: calc(
      100dvh
      - max(8px, env(safe-area-inset-top))
      - max(8px, env(safe-area-inset-bottom))
    );

    overflow: hidden;
    border-radius: 7px;
  }

  .product-modal .modal-header {
    min-height: 72px;
    padding:
      16px
      max(16px, env(safe-area-inset-right))
      16px
      max(16px, env(safe-area-inset-left));
  }

  .product-modal .modal-title {
    padding-right: 8px;
    font-size: 21px;
    line-height: 1.2;
  }

  .product-modal-kicker {
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .product-modal .btn-close {
    margin-left: 12px;
  }

  .product-modal .modal-body {
    min-height: 0;
    padding:
      16px
      max(16px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  /* =====================================================
     KONFIGURATOR
     ===================================================== */

  .product-configurator {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-configurator-preview {
    position: static;
  }

  .product-preview {
    padding: 12px;
  }

  .product-main-image {
    max-height: 190px;
  }

  .product-information {
    margin-top: 12px;
    padding: 12px 14px;
  }

  .product-information p {
    font-size: 14px;
    line-height: 1.45;
  }

  /* =====================================================
     FARBEN – FÜNF PRO REIHE, KEIN EIGENER SCROLLBALKEN
     ===================================================== */

  .image-selection-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;

    max-height: none;
    padding: 2px;

    overflow: visible;
  }

  .color-option {
    gap: 3px;
    min-width: 0;
    padding: 2px;
  }

  .color-option img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: contain;
  }

  .color-option span {
    font-size: 8px;
    line-height: 1.15;
  }

  .color-option.selected::after,
  .color-option[aria-pressed="true"]::after {
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  /* =====================================================
     DORNSCHLIESSE UND LÄNGE
     ===================================================== */

  .product-options-grid {
    display: grid;
    grid-template-columns:
      minmax(0, 1.65fr)
      minmax(105px, 0.75fr);

    gap: 20px;
    align-items: start;
    padding-top: 18px;
  }

  .product-options-grid .product-option-group,
  .product-options-grid .product-option-group + .product-option-group {
    min-width: 0;
    margin: 0;
    padding: 0 0 18px;
    border-top: 0;
  }

  .product-option-title {
    margin-bottom: 10px;
    font-size: 15px;
  }

  /*
   * Vier Dornschließen in einer Reihe
   */
  [id^="buckleSelection-"] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  [id^="buckleSelection-"] .option-circle {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 5px 2px;
    font-size: 10px;
    white-space: nowrap;
  }

  /*
   * Länge rechts, M und XL nebeneinander
   */
  [id^="lengthSelection-"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(44px, 1fr));
    gap: 6px;
  }

  [id^="lengthSelection-"] .option-circle {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 5px 3px;
    font-size: 11px;
  }

  /* =====================================================
     BANDANSTOSSBREITE – ALLE SECHS IN EINER REIHE
     ===================================================== */

  [id^="widthSelection-"] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
  }

  [id^="widthSelection-"] .option-circle {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 5px 1px;
    font-size: 10px;
    white-space: nowrap;
  }

  /*
   * Allgemeine mobile Button-Größe
   */
  .option-circle {
    min-width: 0;
    min-height: 36px;
    padding: 5px 6px;
    font-size: 11px;
  }

  .product-modal-action {
    padding-top: 6px;
  }

  .product-modal-action .addToCart {
    min-height: 48px;
    padding: 12px 10px;
    font-size: 12px;
  }
}


/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 390px) {

  .section-intro {
    width: calc(100% - 28px);

    padding: 38px 22px 36px;
  }

  .section-intro-kicker {
    font-size: 12px;
    letter-spacing: 0.21em;
  }

  .section-intro-title {
    font-size: 32px;
  }

  .section-intro-text {
    font-size: 16px;
    line-height: 1.68;
  }

  .watchstrap-product img {
    height: 320px;
  }

  .watchstrap-caption {
    padding-right: 15px;
    padding-left: 15px;
  }

  .watchstrap-caption strong {
    font-size: 22px;
  }

  .cart-summary {
    padding: 18px;
  }

  .product-modal .modal-header {
    padding: 16px;
  }

  .product-modal .modal-body {
    padding: 12px;
  }

  .product-modal .modal-title {
    font-size: 20px;
  }

  .product-preview {
    padding: 9px;
  }

  .product-main-image {
    max-height: 240px;
  }

  .image-selection-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    max-height: 340px;
  }

  .color-option {
    padding: 4px;
  }

  .color-option span {
    font-size: 11px;
  }

  .option-selection {
    gap: 7px;
  }

  .option-circle {
    min-width: 54px;

    padding: 7px 10px;
  }
}


/* =========================================================
   QUERFORMAT AUF MOBILGERÄTEN
   ========================================================= */

@media
  (max-height: 500px)
  and (orientation: landscape)
  and (max-width: 950px) {

  .section-intro {
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .section-intro-title {
    font-size: 31px;
  }

  .watchstrap-product img {
    height: 350px;
  }

  .product-modal .modal-dialog {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .product-main-image {
    max-height: 230px;
  }

  .image-selection-container {
    max-height: 230px;
  }
}


/* =========================================================
   REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .watchstrap-product img,
  .color-option,
  .option-circle,
  #checkout,
  .product-modal-action .addToCart {
    transition: none;
  }

  .watchstrap-product:hover img,
  .color-option:hover,
  .option-circle:hover,
  #checkout:hover:not(:disabled),
  .product-modal-action .addToCart:hover {
    transform: none;
  }
}


/* =========================================================
   MODAL-POSITIONIERUNG – DESKTOP, IPAD UND IPHONE
   Muss am Ende der CSS-Datei stehen
   ========================================================= */

/*
 * Das Modal und der Hintergrund müssen über der festen
 * Navigationsleiste liegen.
 */
.product-modal {
  z-index: 3000;
}

.modal-backdrop {
  z-index: 2990;
}

/*
 * Der Dialog wird innerhalb des tatsächlich sichtbaren
 * Browserbereichs positioniert.
 */
.product-modal .modal-dialog {
  width: min(1380px, calc(100% - 48px));
  max-width: 1380px;

  margin: max(24px, env(safe-area-inset-top)) auto
    max(24px, env(safe-area-inset-bottom));
}

/*
 * Keine feste Mindesthöhe, weil diese auf Mobilgeräten
 * zu Überlagerungen und abgeschnittenen Bereichen führt.
 */
.product-modal .modal-content {
  min-height: 0;
  max-height: calc(
    100dvh
    - max(24px, env(safe-area-inset-top))
    - max(24px, env(safe-area-inset-bottom))
  );

  overflow: hidden;
}

/*
 * Nur der Inhalt scrollt.
 * Überschrift und X bleiben sichtbar.
 */
.product-modal .modal-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/*
 * Der Header darf beim Scrollen nicht verschwinden.
 */
.product-modal .modal-header {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

/*
 * Schließen-Button ausreichend groß und gut erreichbar.
 */
.product-modal .btn-close {
  position: relative;
  z-index: 3;

  flex: 0 0 auto;

  width: 1rem;
  height: 1rem;
  margin: 2px 0 0 20px;
  padding: 0.65rem;
}


/* =========================================================
   IPAD UND KLEINERE TABLETS
   ========================================================= */

@media (max-width: 1199px) {
  .product-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: none;

    margin: max(18px, env(safe-area-inset-top)) auto
      max(18px, env(safe-area-inset-bottom));
  }

  .product-modal .modal-content {
    min-height: 0;
    max-height: calc(
      100dvh
      - max(18px, env(safe-area-inset-top))
      - max(18px, env(safe-area-inset-bottom))
    );
  }
}


/* =========================================================
   IPHONE UND ANDERE SMARTPHONES – HOCHKANT
   ========================================================= */

@media (max-width: 760px) {
  .product-modal {
    padding: 0 !important;
  }

  .product-modal .modal-dialog {
    width: calc(100% - 16px);
    max-width: none;

    margin:
      max(8px, env(safe-area-inset-top))
      auto
      max(8px, env(safe-area-inset-bottom));
  }

  .product-modal .modal-content {
    min-height: 0;
    max-height: calc(
      100dvh
      - max(8px, env(safe-area-inset-top))
      - max(8px, env(safe-area-inset-bottom))
    );

    border-radius: 7px;
  }

  .product-modal .modal-header {
    min-height: 72px;
    padding:
      16px
      max(16px, env(safe-area-inset-right))
      16px
      max(16px, env(safe-area-inset-left));
  }

  .product-modal .modal-title {
    padding-right: 8px;
    font-size: 21px;
    line-height: 1.2;
  }

  .product-modal-kicker {
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .product-modal .btn-close {
    margin-left: 12px;
  }

  .product-modal .modal-body {
    min-height: 0;
    padding:
      16px
      max(16px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }
}


/* =========================================================
   IPHONE UND MOBILE GERÄTE – QUERFORMAT
   ========================================================= */

@media
  (max-width: 950px)
  and (max-height: 500px)
  and (orientation: landscape) {

  .product-modal .modal-dialog {
    width: calc(100% - 16px);

    margin:
      max(6px, env(safe-area-inset-top))
      auto
      max(6px, env(safe-area-inset-bottom));
  }

  .product-modal .modal-content {
    min-height: 0;
    max-height: calc(
      100dvh
      - max(6px, env(safe-area-inset-top))
      - max(6px, env(safe-area-inset-bottom))
    );
  }

  .product-modal .modal-header {
    min-height: 58px;
    padding:
      10px
      max(16px, env(safe-area-inset-right))
      10px
      max(16px, env(safe-area-inset-left));
  }

  .product-modal .modal-title {
    font-size: 18px;
  }

  .product-modal-kicker {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .product-modal .modal-body {
    min-height: 0;
    padding:
      12px
      max(16px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .product-configurator {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
  }

  .product-main-image {
    max-height: 185px;
  }

  .image-selection-container {
    max-height: 190px;
  }
}

