/* Rindal Seminars — product page + static configurator widget styles
 * Matches the site palette: primary #2da7af, primary-B #137289, accent-C #055059,
 * accent #2d84af, light #e5f9f9, body #404040, CTA #65bec2.
 */

/* ---- product hero ------------------------------------------------------ */
.product-hero { padding: 56px 24px 8px; }
.product-hero .ct-section-inner-wrap { max-width: 1300px; margin: 0 auto; }
.product-breadcrumb { font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: #2da7af; margin-bottom: 8px; }
.product-breadcrumb a { color: #2da7af; text-decoration: none; }
.product-breadcrumb a:hover { color: #137289; }
.product-title { font-size: 40px; font-weight: 800; color: #055059; margin: 0 0 6px;
  text-transform: none; }
.product-title .reg { font-size: 60%; position: relative; top: -14px; font-weight: 700; }
.product-price { font-size: 28px; font-weight: 700; color: #2da7af; margin: 0 0 4px; }
.product-price small { display: block; font-size: 13px; font-weight: 500;
  color: #888; letter-spacing: 0.3px; text-transform: none; margin-top: 2px; }

/* ---- configurator section --------------------------------------------- */
.configurator-section { padding: 24px 24px 48px; }
.configurator-section .ct-section-inner-wrap { max-width: 1300px; margin: 0 auto; }

#configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #e3eef0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(5, 80, 89, 0.07);
}

.cfg-left { min-width: 0; }
.cfg-right { min-width: 0; }

/* stage */
.cfg-stage {
  position: relative;
  width: 100%;
  padding-top: 56%;            /* aspect ratio of the bench layer art (720x369 ~ 51%, padded) */
  background: #ffffff;          /* matches source: MKL configurator viewer is transparent over a white page */
  border-radius: 10px;
  overflow: hidden;
}
.cfg-layer-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: opacity .35s ease !important;   /* crossfade on color / angle change */
}
@media (prefers-reduced-motion: reduce) {
  .cfg-layer-img { transition: none !important; }
}
.cfg-hint { font-size: 12px; color: #9aa3a4; margin: 12px 2px 0; line-height: 1.5; }

/* angle switcher */
.cfg-angles {
  display: inline-flex;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid #cfe3e5;
  border-radius: 999px;
  overflow: hidden;
  background: #f3fafb;
}
.cfg-angle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #2da7af;
  padding: 9px 20px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cfg-angle-btn[aria-selected="true"] { background: #2da7af; color: #ffffff; }
.cfg-angle-btn:hover { color: #137289; }
.cfg-angle-btn[aria-selected="true"]:hover { color: #ffffff; }
.cfg-angle-btn:focus-visible { outline: 2px solid #137289; outline-offset: -2px; }

/* right column */
.cfg-title { font-size: 22px; font-weight: 700; color: #404040; margin: 0 0 18px; }

.cfg-picker { margin-bottom: 26px; }
.cfg-picker-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.cfg-picker-label {
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #055059;
}
.cfg-picker-value { font-size: 14px; font-weight: 600; color: #2da7af; text-align: right; }

.cfg-swatches {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-height: 232px; overflow-y: auto;
  padding: 2px 2px 4px; margin: 0 -2px;
}
.cfg-swatch {
  appearance: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 2px solid #e3eef0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
  flex: 0 0 auto;
}
.cfg-swatch:hover { border-color: #65bec2; transform: translateY(-1px); }
.cfg-swatch.is-selected {
  border-color: #137289;
  box-shadow: 0 0 0 2px rgba(19, 114, 137, 0.18);
}
.cfg-swatch:focus-visible { outline: 2px solid #137289; outline-offset: 2px; }
.cfg-swatch-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cfg-swatch--color { border-radius: 8px; }
.cfg-swatch--label {
  width: auto; min-width: 56px; padding: 0 10px;
  font-size: 11px; font-weight: 600; color: #404040;
}

/* nicer scrollbar for the swatch wells */
.cfg-swatches::-webkit-scrollbar { width: 8px; }
.cfg-swatches::-webkit-scrollbar-thumb { background: #cfe3e5; border-radius: 8px; }
.cfg-swatches::-webkit-scrollbar-track { background: transparent; }

/* ---- contact-to-order CTA --------------------------------------------- */
.product-cta {
  margin-top: 24px;
  background: #f3fafb;
  border: 1px solid #d9ecee;
  border-radius: 12px;
  padding: 22px 24px;
}
.product-cta h3 { font-size: 20px; font-weight: 700; color: #055059; margin: 0 0 6px; }
.product-cta p { font-size: 15px; color: #555; margin: 0 0 16px; line-height: 1.55; }
.product-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-contact-order {
  display: inline-block;
  background: #65bec2; color: #ffffff;
  font-size: 15px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 30px; border-radius: 8px;
  transition: background .15s ease;
}
.btn-contact-order:hover { background: #2da7af; color: #ffffff; }
.cta-call {
  font-size: 15px; font-weight: 600; color: #055059; text-decoration: none;
}
.cta-call:hover { color: #2da7af; }
.cta-sep { color: #b9cdcf; }

/* ---- product details / specs ------------------------------------------ */
.product-details { padding: 8px 24px 64px; }
.product-details .ct-section-inner-wrap { max-width: 1000px; margin: 0 auto; }
.product-details h2 {
  font-size: 28px; font-weight: 700; color: #055059; margin: 36px 0 12px;
}
.product-details h2:first-child { margin-top: 0; }
.product-details h3 { font-size: 19px; font-weight: 700; color: #404040; margin: 26px 0 8px; }
.product-details p { font-size: 16px; line-height: 1.75; color: #4a4a4a; margin: 0 0 14px; }
.product-details ul { margin: 0 0 16px; padding-left: 22px; }
.product-details li { font-size: 16px; line-height: 1.7; color: #4a4a4a; margin-bottom: 6px; }
.product-details .swatch-link {
  color: #2da7af; font-weight: 600; text-decoration: underline;
}
.product-details .swatch-link:hover { color: #137289; }

/* gallery thumbnails */
.product-gallery { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 28px; }
.product-gallery img {
  width: calc(33.333% - 10px); min-width: 180px; height: auto;
  border-radius: 10px; border: 1px solid #e3eef0; background: #e5f9f9;
  object-fit: cover;
}

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  #configurator { grid-template-columns: 1fr; gap: 28px; padding: 20px; }
  .product-title { font-size: 32px; }
  .cfg-swatches { max-height: 200px; }
}
@media (max-width: 560px) {
  .product-hero { padding: 36px 18px 4px; }
  .configurator-section { padding: 16px 16px 36px; }
  .product-details { padding: 8px 18px 48px; }
  .product-title { font-size: 27px; }
  .product-price { font-size: 24px; }
  .cfg-swatch { width: 38px; height: 38px; }
  .product-gallery img { width: 100%; }
  .product-cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-contact-order { text-align: center; }
  .cta-sep { display: none; }
}
