/* regalysklep.pl STAGE — VISUAL RC v1.2 + PDP FOUNDATION */
:root {
  --rs12-graphite: #343b43;
  --rs12-graphite-deep: #2d343b;
  --rs12-yellow: #f5c400;
  --rs12-yellow-hover: #dfb400;
  --rs12-soft: #f4f5f6;
  --rs12-line: #dfe3e6;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.shhp-section {
  margin-top: 52px !important;
  margin-bottom: 52px !important;
}

#shhp-products {
  margin-top: 42px !important;
}

.shhp-products {
  align-items: stretch !important;
}

.shhp-product {
  min-height: 432px !important;
  padding: 14px !important;
  gap: 0 !important;
}

.shhp-product__img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  padding: 3px !important;
  background: var(--rs12-soft) !important;
  overflow: hidden !important;
}

.shhp-product__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(1.055);
  transform-origin: center;
}

.shhp-product h3 {
  min-height: 46px !important;
  margin: 12px 2px 5px !important;
  font-size: 16px !important;
  line-height: 1.36 !important;
}

.shhp-product .shhp-price {
  margin: 4px 2px 4px !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
}

.shhp-product__params {
  min-height: 36px;
  margin: 2px 2px 10px !important;
  color: #606972;
  font-size: 13px;
  line-height: 1.35;
}

.shhp-product .shhp-smallbtn {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px !important;
  margin-top: auto !important;
  background: var(--rs12-yellow) !important;
  color: #171a1d !important;
}

.rs-call-float {
  max-width: 205px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

.rs-call-float.rs-call-float--avoid {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
}

/* PDP foundation — active only for explicitly supported products */
.rs-pdp-foundation-active #main,
.rs-pdp-foundation-active .product-container,
.rs-pdp-foundation-active .rs-pdp-sections {
  max-width: 100%;
}

.rs-pdp-foundation-active .product-container {
  align-items: flex-start;
  margin-bottom: 34px !important;
}

.rs-pdp-foundation-active .images-container {
  position: sticky;
  top: 18px;
}

.rs-pdp-foundation-active .product-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 18px;
  border: 1px solid var(--rs12-line);
  border-radius: 14px;
  background: var(--rs12-soft);
  overflow: hidden;
  cursor: zoom-in;
}

.rs-pdp-foundation-active .product-cover img {
  width: 100% !important;
  height: 100% !important;
  max-height: 610px !important;
  object-fit: contain !important;
  object-position: center !important;
  box-shadow: none !important;
}

.rs-zoom-trigger {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(45, 52, 59, .18);
  border-radius: 9px;
  background: rgba(255,255,255,.94);
  color: var(--rs12-graphite-deep);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.rs-pdp-foundation-active .product-images > li.thumb-container .thumb {
  border-radius: 8px;
  background: var(--rs12-soft);
  object-fit: contain;
}

.rs-pdp-foundation-active .product-information {
  padding: 24px !important;
  border: 1px solid var(--rs12-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(45, 52, 59, .06);
}

.rs-pdp-foundation-active h1,
.rs-pdp-foundation-active .product-title {
  color: var(--rs12-graphite-deep) !important;
  line-height: 1.16 !important;
}

.rs-pdp-foundation-active .product-prices {
  margin: 14px 0 12px !important;
}

.rs-pdp-foundation-active .current-price,
.rs-pdp-foundation-active .current-price-value {
  color: var(--rs12-graphite-deep) !important;
  font-size: 31px !important;
  font-weight: 900 !important;
}

.rs-pdp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 18px;
}

.rs-pdp-fact {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--rs12-line);
  border-radius: 9px;
  background: var(--rs12-soft);
}

.rs-pdp-fact span,
.rs-pdp-fact strong {
  display: block;
}

.rs-pdp-fact span {
  margin-bottom: 3px;
  color: #6d757d;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.rs-pdp-fact strong {
  color: var(--rs12-graphite-deep);
  font-size: 14px;
  line-height: 1.3;
}

.rs-pdp-delivery {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--rs12-yellow);
  background: #fff9df;
  color: var(--rs12-graphite-deep);
  font-size: 13px;
  line-height: 1.45;
}

.rs-pdp-foundation-active .product-quantity {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  max-width: 100%;
}

.rs-pdp-foundation-active .add-to-cart,
.rs-pdp-phone {
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 9px !important;
  font-weight: 900 !important;
}

.rs-pdp-foundation-active .add-to-cart {
  background: var(--rs12-yellow) !important;
  color: #171a1d !important;
}

.rs-pdp-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--rs12-graphite) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.rs-pdp-sections {
  width: 100%;
  margin: 28px auto 0;
}

.rs-pdp-section {
  margin: 0 0 18px;
  padding: 24px;
  border: 1px solid var(--rs12-line);
  border-radius: 14px;
  background: #fff;
}

.rs-pdp-section h2 {
  margin: 0 0 12px;
  color: var(--rs12-graphite-deep);
  font-size: 24px;
}

.rs-pdp-section p,
.rs-pdp-section li {
  color: #505961;
  line-height: 1.62;
}

.rs-pdp-grid,
.rs-pdp-realizations,
.rs-pdp-accessories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rs-pdp-realizations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rs-pdp-tile {
  min-width: 0;
  padding: 17px;
  border-radius: 10px;
  background: var(--rs12-soft);
}

.rs-pdp-tile strong {
  display: block;
  margin-bottom: 6px;
  color: var(--rs12-graphite-deep);
}

.rs-pdp-faq details {
  border-top: 1px solid var(--rs12-line);
  padding: 13px 0;
}

.rs-pdp-faq details:first-of-type {
  border-top: 0;
}

.rs-pdp-faq summary {
  color: var(--rs12-graphite-deep);
  font-weight: 800;
  cursor: pointer;
}

.rs-pdp-faq details p {
  margin: 9px 0 0;
}

@media (max-width: 767px) {
  .shhp-section {
    margin-top: 34px !important;
    margin-bottom: 34px !important;
  }
  .shhp-product {
    min-height: 0 !important;
  }
  .shhp-product__img {
    aspect-ratio: 4 / 3 !important;
  }
  .shhp-product .shhp-smallbtn,
  .shhp-hero a,
  .rs-pdp-foundation-active .add-to-cart,
  .rs-pdp-phone {
    width: 100% !important;
    max-width: 100% !important;
  }
  .rs-call-float {
    max-width: 158px !important;
    height: 36px !important;
    min-height: 36px !important;
    right: 8px !important;
    bottom: 8px !important;
    padding: 0 8px !important;
    font-size: 10.5px !important;
  }
  .rs-pdp-foundation-active .product-container {
    display: block !important;
  }
  .rs-pdp-foundation-active .product-container > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .rs-pdp-foundation-active .images-container {
    position: static !important;
    margin-bottom: 16px;
  }
  .rs-pdp-foundation-active .product-cover {
    aspect-ratio: 1 / 1;
    padding: 10px;
  }
  .rs-pdp-foundation-active .product-information,
  .rs-pdp-section {
    padding: 17px !important;
  }
  .rs-pdp-facts,
  .rs-pdp-grid,
  .rs-pdp-realizations,
  .rs-pdp-accessories {
    grid-template-columns: 1fr !important;
  }
  .rs-pdp-foundation-active .product-quantity,
  .rs-pdp-foundation-active .product-add-to-cart {
    width: 100% !important;
    max-width: 100% !important;
  }
}
