/* =============================================================================
   pp-buy.css — Premium Purchase from Inspiration (Shop The Look)
   Design System: Slate Dark (#0F172A), Slate Light (#F8FAFC),
                  Emerald Light (#ECFDF5), Emerald Main (#059669)
   ============================================================================= */

:root {
  --ppb-accent: #059669;          /* Emerald Main */
  --ppb-accent-dk: #047857;       /* Emerald Dark */
  --ppb-accent-soft: #ECFDF5;     /* Emerald Light / Soft */
  --ppb-surf: #FFFFFF;
  --ppb-surf2: #F8FAFC;           /* Slate Light / Background */
  --ppb-border: #E2E8F0;
  --ppb-border-md: #CBD5E1;
  --ppb-text: #0F172A;            /* Slate Dark */
  --ppb-text2: #475569;           /* Slate Medium */
  --ppb-muted: #94A3B8;
  --ppb-ok: #059669;
  --ppb-error: #DC2626;
  --ppb-r: 12px;
  --ppb-r-sm: 8px;
  /* Dark Slate Footer/Panel variables */
  --ppb-panel: #0F172A;
  --ppb-on-dark: #F8FAFC;
  --ppb-on-dark-muted: #94A3B8;
  --ppb-on-dark-line: rgba(255,255,255,.08);
}

/* =============================================================================
   0. General Page Layout (Slate Light #F8FAFC Page Background)
   ============================================================================= */

.pp-si-content-area,
.pp-single-insp-wrapper {
  background-color: var(--ppb-surf2) !important; /* Clean Slate Light Page Background */
}

/* =============================================================================
   1. Visual Column & View Switcher (Segmented Control above the image)
   ============================================================================= */

.pp-si-image-col {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  background: transparent !important;
  gap: 16px !important;
  height: auto !important;
  padding: 0 !important;
}

/* Position the hint banner at the bottom center to make room for floating switcher */
.pp-si-hint-banner {
  top: auto !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100 !important;
}

/* Floating glassmorphic switcher at the top center of the image *

/* Visual Image Wrapper card geometry.
   overflow:visible pozwala pływającemu dymkowi hotspota (.pp-hotspot-tooltip,
   renderowanemu do tego kontenera) wyjść poza krawędź obrazu bez przycinania.
   Zaokrąglenie rogów przenosimy na sam obraz (.pp-si-img), więc wygląd kadru
   pozostaje bez zmian. */
.pp-si-img-wrapper {
  position: relative !important;
  border-radius: var(--ppb-r) !important;
  overflow: visible !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06) !important;
  background: #020617 !important;
  display: block !important;
  line-height: 0 !important;
  max-width: 100% !important;
}

.pp-si-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: var(--ppb-r) !important;
}

/* =============================================================================
   2. Pulsing Hotspots & Sleek Hover Tooltips
   ============================================================================= */

.pp-hotspot {
  position: absolute !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transform: translate(-50%, -50%) !important;
  z-index: 110 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pp-hotspot::after {
  content: '' !important;
  position: absolute !important;
  inset: -6px !important;
  border-radius: 50% !important;
  background: var(--ppb-accent) !important;
  animation: hotspot-pulse-ripple 2.5s infinite !important;
  opacity: 0.55;
  pointer-events: none !important;
}

@keyframes hotspot-pulse-ripple {
  0% { transform: scale(0.6); opacity: 1; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.pp-hotspot:hover, .pp-hotspot.active {
  background: var(--ppb-accent) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.6) !important;
  z-index: 120 !important;
}

/* Premium Tooltip.
   Renderowany do .pp-si-img-wrapper (nie do kropki). Pozycję (left/top) oraz stany
   is-flipped / is-docked ustawia JS z pomiarów getBoundingClientRect, więc dymek nie
   wychodzi poza kadr. Bazowo pozycja od lewego-górnego rogu kontenera; brak centrujących
   transformów zależnych od kropki. */
.pp-hotspot-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--ppb-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 250;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  min-width: 200px;
  max-width: 260px;
}
.pp-hotspot-tooltip.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Strzałka: osobny element; poziom (left) ustawia JS, pion zależy od kierunku (flip). */
.pp-hotspot-tooltip__arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--ppb-panel);
  transform: rotate(45deg);
  left: 50%;
  margin-left: -6px;
  pointer-events: none;
}
/* Domyślnie dymek NAD kropką — strzałka na dole, wskazuje w dół. */
.pp-hotspot-tooltip__arrow {
  bottom: -6px;
  top: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* is-flipped: dymek POD kropką — strzałka na górze, wskazuje w górę. */
.pp-hotspot-tooltip.is-flipped .pp-hotspot-tooltip__arrow {
  top: -6px;
  bottom: auto;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tryb mobilny (< 480 px): dymek na całą szerokość kadru (minus 16px), doklejony do dołu.
   Nie jest już „dymkiem" przy kropce — strzałkę chowamy. Pozycję (left/right/bottom)
   ustawia JS. */
.pp-hotspot-tooltip.is-docked {
  top: auto;
  width: auto;
  min-width: 0;
  max-width: none;
}
.pp-hotspot-tooltip.is-docked .pp-hotspot-tooltip__arrow {
  display: none;
}
.pp-hotspot-tooltip__thumb-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pp-hotspot-tooltip__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pp-hotspot-tooltip__info {
  min-width: 0;
  flex-grow: 1;
  text-align: left;
}
.pp-hotspot-tooltip__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-hotspot-tooltip__price {
  font-size: 0.8rem;
  color: #34d399; /* Bright Emerald for contrast on Dark Slate */
  font-weight: 800;
}
.pp-hotspot-tooltip__price .amount, .pp-hotspot-tooltip__price bdi {
  color: #34d399 !important;
  font-weight: 800 !important;
}

/* =============================================================================
   3. Unified Sidebar Product Cards (Consolidated Actions inside the card box)
   ============================================================================= */

/* Wrap container becomes the visual white card */
.pp-buy-wrap {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid var(--ppb-border) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.pp-buy-wrap:hover {
  border-color: var(--ppb-border-md) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  transform: translateY(-2px) !important;
}

/* Make image thumbnail scale on card hover */
.pp-buy-wrap:hover .pp-mini-img {
  transform: scale(1.06) !important;
}
.pp-mini-img {
  transition: transform 0.25s ease !important;
}

/* Highlight Spotlight state triggered from hotspot click */
.pp-buy-wrap:has(.pp-si-prod-card.highlight-spotlight),
.pp-buy-wrap:has(.pp-si-prod-card.active) {
  animation: card-pulse-glow 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) both !important;
}
@keyframes card-pulse-glow {
  0% { border-color: var(--ppb-border); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); transform: scale(1); }
  15% { transform: scale(1.015); }
  30% { border-color: var(--ppb-accent); box-shadow: 0 0 0 5px rgba(5, 150, 105, 0.2); }
  100% { border-color: var(--ppb-accent); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); transform: scale(1); }
}

/* Make link transparent and borderless inside the unified card */
.pp-si-prod-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
  width: 100% !important;
}
.pp-si-prod-card:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  border-color: transparent !important;
}

/* Card image constraints */
.pp-mini-img-wrap {
  width: 60px !important;
  height: 60px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid var(--ppb-border) !important;
  background: #fff !important;
}

.pp-si-prod-name {
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  color: var(--ppb-text) !important;
  margin-bottom: 3px !important;
}

.pp-si-prod-price {
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  color: var(--ppb-accent) !important;
}
.pp-si-prod-price .amount, .pp-si-prod-price bdi {
  color: var(--ppb-accent) !important;
  font-weight: 800 !important;
}

/* Customize details link */
.pp-si-prod-details-link {
  font-size: 0.74rem !important;
  color: var(--ppb-text2) !important;
  text-decoration: underline !important;
  margin-top: 4px !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: color 0.15s ease !important;
}
.pp-si-prod-details-link:hover {
  color: var(--ppb-accent) !important;
}

/* Critical size restriction for all inline SVGs to prevent giant checkmark scaling */
.pp-si-prod-stock svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 3px !important;
  stroke: currentColor !important;
  fill: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 4px !important;
  flex-shrink: 0 !important;
}

/* Dynamic integrated button inside the card box */
.pp-buy__add {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  min-height: 38px !important;
  margin: 12px 0 0 0 !important;
  padding: 0 14px !important;
  border: 1px solid var(--ppb-border-md) !important;
  border-radius: var(--ppb-r-sm) !important;
  background: #fff !important;
  color: var(--ppb-text) !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}
.pp-buy__add svg { width: 14px !important; height: 14px !important; stroke-width: 2.2px !important; }

.pp-buy__add:hover {
  background: var(--ppb-accent) !important;
  border-color: var(--ppb-accent) !important;
  color: #fff !important;
}

/* =============================================================================
   4. Ciemny panel "KUP CAŁY ZESTAW" (Sidebar Footer)
   ============================================================================= */

.pp-set-cta {
  margin-top: 24px;
  background: var(--ppb-panel);
  color: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.15);
}
.pp-set-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pp-set-cta__label { font-size: 0.8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1.2; }
.pp-set-cta__price { text-align: right; flex-shrink: 0; }
.pp-set-cta__from { display: block; font-size: 0.66rem; color: var(--ppb-on-dark-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.pp-set-cta__amt { font-size: 1.45rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.05; }
.pp-set-cta__trust { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.74rem; color: var(--ppb-on-dark-muted); }
.pp-set-cta__trust span { display: inline-flex; align-items: center; gap: 5px; }
.pp-set-cta__trust svg { width: 13px; height: 13px; color: var(--ppb-accent); flex-shrink: 0; }

.pp-btn-shop-look-cart,
.pp-set-cta .pp-btn-shop-look-cart {
  width: 100% !important; min-height: 50px !important; height: auto !important;
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 9px !important;
  background: var(--ppb-accent) !important; border: none !important; color: #fff !important;
  border-radius: var(--ppb-r) !important; font-weight: 800 !important; font-size: 0.95rem !important;
  text-transform: uppercase !important; letter-spacing: .03em !important;
  box-shadow: 0 6px 20px rgba(5,150,105,.25) !important; cursor: pointer !important;
  position: relative; overflow: hidden;
  transition: background .2s, transform .1s, box-shadow .2s !important;
}
.pp-btn-shop-look-cart:hover,
.pp-set-cta .pp-btn-shop-look-cart:hover {
  background: var(--ppb-accent-dk) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(5,150,105,.35) !important;
}
.pp-btn-shop-look-cart:active { transform: scale(.99) !important; }
.pp-btn-shop-look-cart svg { width: 18px !important; height: 18px !important; }

/* Shine micro-animation on checkout */
.pp-btn-shop-look-cart::after {
  content: "";
  position: absolute;
  top: 0; left: -50%;
  width: 25%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.pp-btn-shop-look-cart:hover::after {
  left: 125%;
  transition: left 0.6s ease;
}

/* =============================================================================
   5. Dynamic Quantity Steppers & Checkboxes
   ============================================================================= */

.pp-calc { display: flex; flex-direction: column; gap: 12px; width: 100%; }

.pp-calc__unit-toggle {
  display: inline-flex !important;
  align-self: flex-start !important;
  background: #f8fafc !important; /* light slate-50 */
  border-radius: 10px !important;
  padding: 3px !important;
  border: 1px solid #cbd5e1 !important; /* slate-300 */
  gap: 3px !important;
}
.pp-calc__unit-btn {
  border: none !important;
  background: transparent !important;
  color: #475569 !important; /* slate-600 */
  cursor: pointer !important;
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  padding: 6px 12px !important;
  border-radius: 7px !important;
  min-height: 28px !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}
.pp-calc__unit-btn:hover:not(.is-active) {
  color: #0f172a !important;
}
.pp-calc__unit-btn.is-active {
  background: #059669 !important; /* Emerald Main */
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15) !important;
}

/* Vertical grid flow to prevent horizontal squeezing of the helper text */
.pp-calc__row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.pp-calc__stepper {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #cbd5e1 !important; /* slate-300 */
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  flex-shrink: 0;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.01) !important;
}
.pp-calc__stepper:focus-within {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1) !important;
}
.pp-calc__minus, .pp-calc__plus {
  width: 36px !important;
  height: 100% !important;
  min-width: 36px !important;
  border: none !important;
  background: transparent !important;
  color: #0f172a !important;
  font: inherit !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}
.pp-calc__minus:hover, .pp-calc__plus:hover {
  background: #f1f5f9 !important;
  color: #059669 !important;
}
.pp-calc__minus:active, .pp-calc__plus:active {
  transform: scale(0.88) !important;
}

/* Clean border resets for input field inside stepper */
.pp-calc__input {
  width: 54px !important;
  min-width: 54px !important;
  height: 100% !important;
  border: none !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  background: transparent !important;
  color: #0f172a !important;
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
.pp-calc__input::-webkit-inner-spin-button, .pp-calc__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Summary helper text sits directly under the stepper */
.pp-calc__summary {
  color: #475569 !important;
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.4 !important;
  margin-top: 4px !important;
  text-align: left !important;
}

/* Custom styled waste checkbox */
.pp-calc__waste {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #0f172a !important;
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 12px !important;
  user-select: none !important;
}
.pp-calc__waste input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 6px !important;
  outline: none !important;
  background-color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  position: relative !important;
}
.pp-calc__waste input[type="checkbox"]:checked {
  background-color: #059669 !important;
  border-color: #059669 !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
}
.pp-calc__waste input[type="checkbox"]::after {
  content: "" !important;
  width: 5px !important;
  height: 9px !important;
  border: 2px solid #ffffff !important;
  border-top: 0 !important;
  border-left: 0 !important;
  transform: rotate(43deg) scale(0) !important;
  opacity: 0 !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease !important;
  position: absolute !important;
  top: 3px !important;
  left: 7px !important;
}
.pp-calc__waste input[type="checkbox"]:checked::after {
  transform: rotate(43deg) scale(1) !important;
  opacity: 1 !important;
}

/* =============================================================================
   6. Custom Modal Structure (Invisible Close Buttons Fix & Grid summary box)
   ============================================================================= */

.pp-bm-overlay {
  position: fixed; inset: 0; z-index: 2000000000 !important;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.pp-bm-overlay.is-open { opacity: 1; pointer-events: auto; }

.pp-bm-modal {
  background: var(--ppb-surf); width: calc(100% - 32px); max-width: 460px; max-height: 90vh;
  border-radius: 20px; box-shadow: 0 24px 60px rgba(15,23,42,.28);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(.95) translateY(12px); opacity: 0;
  transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .22s;
  border: 1px solid var(--ppb-border);
}
.pp-bm-overlay.is-open .pp-bm-modal { transform: scale(1) translateY(0); opacity: 1; }
.pp-bm-modal.is-set { max-width: 580px; }

.pp-bm-drag-indicator {
  display: none;
  width: 42px; height: 5px;
  background: var(--ppb-border-md); border-radius: 99px;
  margin: 10px auto 0; flex-shrink: 0;
}

.pp-bm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--ppb-border); flex-shrink: 0; }
.pp-bm-eyebrow { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ppb-accent-dk); margin-bottom: 5px; }
.pp-bm-title { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--ppb-text); line-height: 1.3; }
.pp-bm-sub { margin: 4px 0 0; font-size: 0.82rem; color: var(--ppb-text2); }

/* Force close button X to show clearly */
.pp-bm-close {
  width: 32px !important; height: 32px !important; flex-shrink: 0; border: none;
  background: var(--ppb-surf2) !important; color: var(--ppb-text2) !important; cursor: pointer;
  border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.pp-bm-close:hover {
  transform: rotate(90deg);
  background: var(--ppb-accent-soft) !important;
  color: var(--ppb-accent-dk) !important;
}
.pp-bm-close svg {
  display: block !important;
  width: 14px !important; height: 14px !important;
  stroke: currentColor !important;
  stroke-width: 2.8px !important;
  fill: none !important;
}

.pp-bm-body { padding: 18px 20px; overflow-y: auto; overscroll-behavior: contain; }

/* Grid container for product preview inside calculator */
.pp-bm-prod {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  background: #ffffff !important;
  padding: 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01) !important;
}
.pp-bm-prod__thumb { width: 64px !important; height: 64px !important; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #fff; border: 1px solid var(--ppb-border); }
.pp-bm-prod__meta { min-width: 0; text-align: left; }

/* Hide duplicate name inside product preview block (since it is already in modal header title) */
.pp-bm-prod__name { display: none !important; }

.pp-bm-prod__price { font-size: 1rem !important; color: var(--ppb-accent-dk) !important; font-weight: 800 !important; font-variant-numeric: tabular-nums; }
.pp-bm-prod__price .amount, .pp-bm-prod__price bdi, .pp-bm-prod__price ins .amount { color: var(--ppb-accent-dk) !important; font-weight: 800 !important; }
.pp-bm-prod__price del, .pp-bm-prod__price del .amount { color: var(--ppb-muted) !important; font-weight: 500 !important; }

.pp-bm-stock { display: inline-flex !important; align-items: center !important; gap: 4px !important; font-size: 0.78rem !important; font-weight: 700 !important; margin-top: 4px !important; }
.pp-bm-stock svg { width: 13px !important; height: 13px !important; flex-shrink: 0 !important; stroke-width: 3px !important; stroke: currentColor !important; fill: none !important; }
.pp-bm-stock--in { color: var(--ppb-accent) !important; }
.pp-bm-stock--out { color: var(--ppb-muted) !important; }

/* Premium Slate Dark Modal Footer */
.pp-bm-foot { display: block !important; padding: 18px 20px !important; background: var(--ppb-panel) !important; color: #fff !important; flex-shrink: 0; border-top: 1px solid rgba(255,255,255,0.08) !important; }
.pp-bm-foot__top { display: flex !important; align-items: baseline !important; justify-content: space-between !important; gap: 12px !important; margin-bottom: 14px !important; }
.pp-bm-foot__lab { font-size: 0.72rem !important; color: var(--ppb-on-dark-muted) !important; text-transform: uppercase !important; letter-spacing: .06em !important; font-weight: 700 !important; }
.pp-bm-total__val { font-size: 1.55rem !important; font-weight: 800 !important; color: #fff !important; font-variant-numeric: tabular-nums !important; line-height: 1 !important; }

.pp-bm-add {
  width: 100% !important; min-height: 48px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  border: none !important; border-radius: var(--ppb-r) !important; background: var(--ppb-accent) !important; color: #fff !important;
  font: inherit !important; font-size: 0.95rem !important; font-weight: 800 !important; cursor: pointer !important; position: relative !important;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1) !important; -webkit-tap-highlight-color: transparent !important;
  text-transform: uppercase !important; letter-spacing: 0.03em !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2) !important;
  overflow: hidden !important;
}
.pp-bm-add svg { width: 16px !important; height: 16px !important; stroke: currentColor !important; fill: none !important; stroke-width: 2.2px !important; flex-shrink: 0 !important; }
.pp-bm-add:hover:not(:disabled) { background: var(--ppb-accent-dk) !important; transform: translateY(-1px) !important; box-shadow: 0 8px 20px rgba(5,150,105,.34) !important; }
.pp-bm-add::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important; left: -50% !important;
  width: 25% !important; height: 100% !important;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 100%) !important;
  transform: skewX(-25deg) !important;
  transition: left 0.6s ease !important;
}
.pp-bm-add:hover::after {
  left: 125% !important;
  transition: left 0.6s ease !important;
}
.pp-bm-add:active:not(:disabled) { transform: scale(.985) !important; }
.pp-bm-add:focus-visible { outline: 2px solid #fff !important; outline-offset: 2px !important; }
.pp-bm-add:disabled { background: #334155 !important; color: var(--ppb-on-dark-muted) !important; cursor: not-allowed !important; }
.pp-bm-add.is-loading::after {
  content: "" !important; position: absolute !important; top: 50% !important; left: 50% !important; width: 20px !important; height: 20px !important; margin: -10px 0 0 -10px !important; border: 2px solid rgba(255,255,255,.4) !important; border-top-color: #fff !important;
  border-radius: 50% !important; animation: ppb-spin .65s linear infinite !important;
}
.pp-bm-add.is-success { background: var(--ppb-accent-dk) !important; }

/* Badges separated from green button in footer */
.pp-bm-trust {
  margin-top: 14px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 20px !important; flex-wrap: wrap !important;
  font-size: 0.74rem !important; color: var(--ppb-on-dark-muted) !important;
  border-top: 1px solid var(--ppb-on-dark-line) !important; padding-top: 12px !important;
}
.pp-bm-trust span { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
.pp-bm-trust svg { width: 14px !important; height: 14px !important; color: var(--ppb-accent) !important; stroke: var(--ppb-accent) !important; fill: none !important; stroke-width: 2px !important; flex-shrink: 0 !important; display: inline-block !important; }

/* Set popup items details inside modal */
.pp-set-list { display: flex !important; flex-direction: column !important; padding: 4px 2px !important; }
.pp-set-item {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.015) !important;
  display: grid !important;
  grid-template-columns: auto 48px 1fr auto !important;
  grid-template-areas:
    "tog thumb info arrow"
    "calc calc calc calc"
    "total total total total" !important;
  gap: 12px 14px !important;
  align-items: center !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  position: relative !important;
  cursor: pointer !important;
}
.pp-set-item:hover:not(.is-excluded) {
  border-color: rgba(15, 23, 42, 0.15) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
  transform: translateY(-1px) !important;
}
.pp-set-item.is-excluded {
  background: rgba(241, 245, 249, 0.45) !important;
  border-color: rgba(15, 23, 42, 0.04) !important;
  box-shadow: none !important;
  opacity: 0.55 !important;
  transform: none !important;
}

/* Accordion States: Collapsed vs Expanded */
.pp-set-item.is-collapsed {
  grid-template-rows: auto !important;
  grid-template-areas: "tog thumb info arrow" !important;
  padding: 12px 16px !important;
  gap: 8px 10px !important;
}
.pp-set-item.is-collapsed .pp-set-item__calc {
  display: none !important;
}
.pp-set-item.is-collapsed .pp-set-item__total {
  display: none !important;
}

.pp-set-item.is-open-calc {
  grid-template-rows: auto auto auto !important;
  grid-template-areas:
    "tog thumb info arrow"
    "calc calc calc calc"
    "total total total total" !important;
  gap: 12px 14px !important;
  padding: 16px !important;
}

.pp-set-item__toggle {
  grid-area: tog !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 38px !important;
  height: 20px !important;
  border-radius: 99px !important;
  background: #cbd5e1 !important;
  position: relative !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background .2s ease !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.pp-set-item__toggle::before {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15) !important;
  transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.pp-set-item__toggle:checked { background: var(--ppb-accent) !important; }
.pp-set-item__toggle:checked::before { transform: translateX(18px) !important; }

.pp-set-item__thumb-wrap { grid-area: thumb !important; position: relative !important; width: 48px !important; height: 48px !important; }
.pp-set-item__thumb { width: 48px !important; height: 48px !important; border-radius: 8px !important; object-fit: cover !important; background: #fff !important; border: 1px solid var(--ppb-border) !important; display: block !important; }
.pp-set-item__num { position: absolute !important; top: -5px !important; left: -5px !important; width: 16px !important; height: 16px !important; border-radius: 50% !important; background: var(--ppb-panel) !important; color: #fff !important; font-size: 9px !important; font-weight: 800 !important; display: flex !important; align-items: center !important; justify-content: center !important; border: 1.5px solid #fff !important; }

.pp-set-item__info { grid-area: info !important; min-width: 0 !important; text-align: left !important; }
.pp-set-item__name {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--ppb-text) !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
.pp-set-item__unitprice { font-size: 0.74rem !important; color: var(--ppb-text2) !important; font-variant-numeric: tabular-nums !important; margin-top: 2px !important; }
.pp-set-item__unitprice .amount, .pp-set-item__unitprice bdi { color: var(--ppb-accent-dk) !important; font-weight: 700 !important; }

.pp-set-item__total {
  grid-area: total !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid rgba(15, 23, 42, 0.05) !important;
  padding-top: 12px !important;
  margin-top: 4px !important;
  width: 100% !important;
}
.pp-set-item__total-label {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--ppb-text2) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}
.pp-set-item__total-val {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--ppb-accent-dk) !important;
  font-variant-numeric: tabular-nums !important;
}

.pp-set-item__calc {
  grid-area: calc !important;
  border-top: 1px dashed rgba(15, 23, 42, 0.08) !important;
  padding-top: 14px !important;
  margin-top: 6px !important;
  padding-left: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  transition: opacity 0.25s ease !important;
  width: 100% !important;
}
.pp-set-item__calc .pp-calc__row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
}

.pp-set-item__arrow {
  grid-area: arrow !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  cursor: pointer !important;
  color: var(--ppb-text2) !important;
  transition: transform 0.25s ease !important;
}
.pp-set-item.is-open-calc .pp-set-item__arrow {
  transform: rotate(180deg) !important;
}

.pp-bm-empty { text-align: center; color: var(--ppb-text2); font-size: 0.88rem; padding: 20px 0; }

/* Mobile Bottom Sheet transformations for the modal calculator */
@media (max-width: 600px) {
  .pp-bm-overlay { align-items: flex-end !important; }
  .pp-bm-modal {
    width: 100% !important; max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    transform: translateY(100%) !important;
    max-height: 92vh !important;
    box-shadow: 0 -10px 30px rgba(15,23,42,0.18) !important;
  }
  .pp-bm-overlay.is-open .pp-bm-modal { transform: translateY(0) !important; }
  .pp-bm-drag-indicator { display: block !important; }
  .pp-bm-head { padding-top: 10px !important; }
}

@media (max-width: 480px) {
  .pp-set-item__calc .pp-calc__row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .pp-calc--compact .pp-calc__summary {
    width: 100% !important;
    text-align: left !important;
    font-size: 0.8rem !important;
    padding-left: 0 !important;
    color: #64748b !important;
  }
}

/* Hide promotional sticky widget when overlays / modals are open to avoid visual overlap */
body.pp-bm-open #pp-rv-sticky-widget,
body.pp-modal-open #pp-rv-sticky-widget,
body:has(#pp-modal.active) #pp-rv-sticky-widget,
body:has(.pp-bm-overlay.is-open) #pp-rv-sticky-widget,
.pp-bm-overlay.is-open ~ #pp-rv-sticky-widget,
#pp-modal.active ~ #pp-rv-sticky-widget {
  display: none !important;
}

/* =============================================================================
   7. Overrides for Mobile Hotspot Bottom Sheet (Public.js integration)
   ============================================================================= */

.pp-bottom-sheet-shroud {
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.pp-mobile-bottom-sheet {
  background: #fff !important;
  border-radius: 20px 20px 0 0 !important;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.15) !important;
  padding: 16px 20px 24px 20px !important;
}

.pp-bs-drag-indicator {
  width: 40px !important;
  height: 4px !important;
  background: var(--ppb-border-md) !important;
  border-radius: 999px !important;
  margin-bottom: 12px !important;
}

.pp-bs-close {
  background: var(--ppb-surf2) !important;
  color: var(--ppb-text2) !important;
  width: 30px !important;
  height: 30px !important;
  top: 12px !important;
  right: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.pp-bs-close svg {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  stroke: currentColor !important;
  stroke-width: 2.8px !important;
  fill: none !important;
}

.pp-bs-prod-name {
  color: var(--ppb-text) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.pp-bs-prod-price {
  color: var(--ppb-accent) !important;
  font-size: 1.1rem !important;
  margin-bottom: 10px !important;
}

.pp-bs-prod-btn {
  background: var(--ppb-accent) !important;
  border-radius: var(--ppb-r-sm) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 10px 16px !important;
  transition: background 0.2s ease !important;
  box-shadow: none !important;
}
.pp-bs-prod-btn:hover {
  background: var(--ppb-accent-dk) !important;
}

/* =============================================================================
   8. Zoom Trigger Button Overrides (Fidelity glass look)
   ============================================================================= */

.pp-si-zoom-trigger {
  position: absolute !important;
  bottom: 16px !important;
  right: 16px !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 100 !important;
  padding: 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.pp-si-zoom-trigger:hover {
  background: var(--ppb-accent) !important;
  border-color: var(--ppb-accent) !important;
  transform: scale(1.1) !important;
}
.pp-si-zoom-trigger svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  stroke-width: 2.5px !important;
  fill: none !important;
  display: block !important;
}

/* =============================================================================
   9. Clean Navigation Arrows Overrides
   ============================================================================= */

.pp-si-nav-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 42px !important;
  height: 42px !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  text-decoration: none !important;
  z-index: 120 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  opacity: 0 !important;
  pointer-events: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  padding: 0 !important;
}

.pp-si-img-wrapper:hover .pp-si-nav-arrow {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.pp-si-nav-arrow:hover {
  background: var(--ppb-accent) !important;
  border-color: var(--ppb-accent) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.pp-si-nav-arrow.prev { left: 16px !important; }
.pp-si-nav-arrow.next { right: 16px !important; }
.pp-si-nav-arrow svg { width: 18px !important; height: 18px !important; stroke: currentColor !important; stroke-width: 2.8px !important; fill: none !important; display: block !important; }

/* =============================================================================
   10. Toast Notification Overrides
   ============================================================================= */

.pp-buy-toast {
  background: var(--ppb-panel) !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.30) !important;
  font-family: inherit;
  border: 1px solid var(--ppb-on-dark-line);
}
.pp-buy-toast svg { color: var(--ppb-accent) !important; }
.pp-buy-toast.is-error { background: var(--ppb-error) !important; }
.pp-buy-toast.is-error svg { color: #fff !important; }

/* =============================================================================
   11. Custom scrollbar for sidebar (Clean, thin style)
   ============================================================================= */

.pp-si-sticky-panel::-webkit-scrollbar {
  width: 6px !important;
}
.pp-si-sticky-panel::-webkit-scrollbar-track {
  background: transparent !important;
}
.pp-si-sticky-panel::-webkit-scrollbar-thumb {
  background: var(--ppb-border-md) !important;
  border-radius: 99px !important;
}
.pp-si-sticky-panel::-webkit-scrollbar-thumb:hover {
  background: var(--ppb-muted) !important;
}

@media (prefers-reduced-motion: reduce) {
  .pp-buy__add, .pp-bm-overlay, .pp-bm-modal, .pp-calc__unit-btn, .pp-calc__minus, .pp-calc__plus,
  .pp-set-item, .pp-set-item__toggle, .pp-set-item__toggle::before, .pp-bm-add, .pp-buy-toast,
  .pp-btn-shop-look-cart, .pp-hotspot-tooltip, .pp-si-prod-card, .pp-buy-wrap { transition: none !important; animation: none !important; }
  .pp-buy__add.is-loading::after, .pp-bm-add.is-loading::after { animation: none !important; }
}

/* =============================================================================
   13. Premium Japandi Redesign Overrides
   ============================================================================= */

/* Page Background & Grid Container spacing */
.pp-si-content-area {
  background-color: #f8fafc !important; /* light grayish-blue background */
}

/* Breadcrumbs Row */
.pp-si-breadcrumbs-row {
  background: transparent !important;
  padding: 24px 0 0 0 !important;
}
.pp-si-breadcrumbs {
  font-family: inherit !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
}
.pp-si-breadcrumbs a {
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.pp-si-breadcrumbs a:hover {
  color: #0f172a !important;
}
.pp-si-active-crumb {
  color: #0f172a !important;
  font-weight: 600 !important;
}

/* Image Column Hint Banner */
.pp-si-hint-banner {
  background: rgba(15, 23, 42, 0.8) !important;
  color: #ffffff !important;
  border-radius: 99px !important;
  padding: 6px 14px !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  backdrop-filter: blur(8px) !important;
}

/* Hotspots - clean dark circles with border pulse */
.pp-hotspot {
  position: absolute !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 100 !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  transform: translate(-50%, -50%) !important;
}

.pp-hotspot::after {
  content: '' !important;
  position: absolute !important;
  top: -6px !important;
  left: -6px !important;
  right: -6px !important;
  bottom: -6px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(15, 23, 42, 0.45) !important;
  animation: hotspot-pulse-ring 2s infinite !important;
  pointer-events: none !important;
}

@keyframes hotspot-pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.pp-hotspot:hover,
.pp-hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.15) !important;
  background: #059669 !important; /* turns emerald green */
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45) !important;
}

/* View Switcher Chips directly under the image wrapper *

/* Technical attributes card (2x2 grid) */
.pp-si-attributes-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.01) !important;
  margin-top: 24px !important;
  box-sizing: border-box !important;
}

.pp-si-attr-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px 24px !important;
}

@media (max-width: 600px) {
  .pp-si-attr-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.pp-si-attr-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.pp-si-attr-icon-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: rgba(15, 23, 42, 0.04) !important;
  color: #475569 !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
}

.pp-si-attr-icon {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

.pp-si-attributes-card:hover .pp-si-attr-icon-wrapper {
  background: rgba(5, 150, 105, 0.07) !important;
  color: #059669 !important;
}

.pp-si-attr-content {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  min-width: 0 !important;
}

.pp-si-attr-label {
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 0.68rem !important; /* 11px */
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
  margin-bottom: 4px !important;
}

.pp-si-attr-value {
  font-size: 0.88rem !important; /* 14px */
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
}

.pp-color-chip-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.pp-ral-color-preview {
  width: 14px !important;
  height: 14px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.pp-color-divider {
  color: #cbd5e1 !important;
  margin: 0 2px !important;
}

.pp-si-attr-share-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.pp-share-label {
  font-size: 0.74rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

.pp-si-share-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.pp-share-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.pp-share-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Product Cards in Sidebar List */
.pp-si-product-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 20px 0 !important;
}

/* The card is now styled directly on .pp-si-prod-card */
.pp-si-prod-card {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.01) !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 100% !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.pp-si-prod-card:hover {
  border-color: rgba(15, 23, 42, 0.15) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04) !important;
  transform: translateY(-2px) !important;
  background: #ffffff !important;
}

.pp-si-prod-card.highlight-spotlight,
.pp-si-prod-card.active {
  animation: card-pulse-glow 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) both !important;
  background: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.08) !important;
}

.pp-si-prod-card.active .pp-si-prod-name {
  color: #0f172a !important;
}

.pp-si-prod-card.active .pp-si-prod-price,
.pp-si-prod-card.active .pp-si-prod-price .amount,
.pp-si-prod-card.active .pp-si-prod-price bdi {
  color: #059669 !important;
}

.pp-si-prod-card.active .pp-num-badge {
  background: #059669 !important;
  color: #ffffff !important;
}

.pp-si-prod-card.active .pp-si-prod-plus-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

/* Card Miniature Thumbnail with overlapping number badge */
.pp-mini-img-wrap {
  position: relative !important;
  width: 48px !important;
  height: 48px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  overflow: visible !important; /* Allow the badge to overflow */
}

.pp-mini-img-wrap-inner {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

.pp-mini-img-wrap-inner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.pp-si-prod-card:hover .pp-mini-img-wrap-inner img {
  transform: scale(1.06) !important;
}

/* Overlapping Number Badge */
.pp-num-badge {
  position: absolute !important;
  top: -5px !important;
  left: -5px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2) !important;
  margin: 0 !important;
  border: 1.5px solid #ffffff !important;
}

/* Card Info */
.pp-si-prod-info {
  flex-grow: 1 !important;
  min-width: 0 !important;
}

.pp-si-prod-name {
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 0.8rem !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
}

.pp-si-prod-price {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #059669 !important; /* Emerald green for price */
}

.pp-si-prod-price .amount,
.pp-si-prod-price bdi {
  color: #059669 !important;
  font-weight: 700 !important;
}

.pp-si-prod-pkg-info {
  color: #64748b !important; /* light slate for packaging */
  font-weight: 500 !important;
  font-size: 0.72rem !important;
  margin-left: 4px !important;
}

/* Plus button inside product card */
.pp-si-prod-plus-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0f172a !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.pp-si-prod-plus-btn svg {
  width: 12px !important;
  height: 12px !important;
  stroke: currentColor !important;
  stroke-width: 3px !important;
}

.pp-si-prod-card:hover .pp-si-prod-plus-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15) !important;
}

/* Sidebar header top eyebrow styles */
.pp-sidebar-header__meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.pp-shop-look-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: #e6f7f0 !important;
  color: #059669 !important;
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 0.68rem !important; /* 11px */
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  line-height: 1 !important;
}

.pp-sidebar-meta-text {
  font-family: inherit !important;
  font-size: 0.76rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.pp-si-main-title {
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  font-size: 1.6rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 16px 0 !important;
}

/* Dark Slate checkout panel overrides */
.pp-set-cta {
  background: #0f172a !important; /* Deep slate dark background */
  border-radius: 20px !important;
  padding: 24px !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  margin-top: 24px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
}

.pp-set-cta__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  gap: 12px !important;
}

.pp-set-cta__label {
  font-family: var(--font-heading, 'Outfit'), sans-serif !important;
  font-size: 0.74rem !important; /* 12px */
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.pp-set-cta__price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
}

.pp-set-cta__from {
  font-size: 0.68rem !important;
  color: #94a3b8 !important; /* slate-400 */
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 600 !important;
  margin-bottom: 2px !important;
}

.pp-set-cta__amt {
  font-size: 1.5rem !important; /* 24px */
  font-weight: 800 !important;
  color: #ffffff !important;
  font-variant-numeric: tabular-nums !important;
}

.pp-btn-shop-look-cart,
.pp-set-cta .pp-btn-shop-look-cart {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  background: #059669 !important; /* Emerald green background */
  border: none !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2) !important;
}

.pp-btn-shop-look-cart:hover,
.pp-set-cta .pp-btn-shop-look-cart:hover {
  background: #047857 !important;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3) !important;
  transform: translateY(-1px) !important;
}

.pp-btn-shop-look-cart:active {
  transform: scale(0.98) !important;
}

.pp-set-cta__trust {
  margin-top: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 0.72rem !important; /* 11.5px */
  color: #94a3b8 !important; /* slate-400 */
  font-weight: 500 !important;
  text-align: center !important;
  flex-wrap: wrap !important;
}

.pp-trust-separator {
  color: #475569 !important;
  font-weight: bold !important;
}

/* Modal and checkout bottom sheet styles */
.pp-set-item__pkg-info {
  color: #64748b !important;
  font-weight: 400 !important;
  font-size: 0.76rem !important;
  margin-left: 2px !important;
}

/* Pulse highlight state for spotlight */
@keyframes card-pulse-glow {
  0% { border-color: rgba(15, 23, 42, 0.08); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); transform: scale(1); }
  15% { transform: scale(1.015); }
  30% { border-color: #059669; box-shadow: 0 0 0 5px rgba(5, 150, 105, 0.2); }
  100% { border-color: rgba(15, 23, 42, 0.08); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); transform: scale(1); }
}

/* =============================================================================
   6. Premium Layout Elevation & Width Adjustments
   ============================================================================= */

.pp-si-breadcrumbs-row {
  padding: 10px 0 0 0 !important;
}

.pp-si-container-wrap {
  padding: 10px 0 20px 0 !important;
}

.pp-si-layout {
  max-width: 1400px !important;
  margin-top: 10px !important;
  margin-bottom: 20px !important;
}

.pp-si-header-container {
  max-width: 1400px !important;
}

/* =============================================================================
   7. Technical Attribute Chips Styles
   ============================================================================= */

.pp-si-chips-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 6px !important;
}

.pp-si-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: default !important;
  user-select: none !important;
}

.pp-si-chip:hover {
  border-color: #059669 !important;
  color: #059669 !important;
  background: #ecfdf5 !important;
  transform: translateY(-1px) !important;
}

.pp-si-chip--color {
  padding-left: 6px !important;
}

.pp-ral-color-preview {
  width: 14px !important;
  height: 14px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

/* =============================================================================
   8. Side-by-Side Grid Layout for Modal Stepper (Screens >= 481px)
   ============================================================================= */

@media (min-width: 481px) {
  .pp-calc:not(.pp-calc--compact) {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    gap: 16px !important;
  }
  .pp-calc:not(.pp-calc--compact) .pp-calc__unit-toggle {
    align-self: center !important;
    margin: 0 !important;
  }
  .pp-calc:not(.pp-calc--compact) .pp-calc__row {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .pp-calc:not(.pp-calc--compact) .pp-calc__summary {
    margin-top: 0 !important;
  }
  .pp-calc:not(.pp-calc--compact) .pp-calc__waste {
    grid-column: span 2 !important;
    margin-top: 4px !important;
  }
}

/* =============================================================================
   9. Single Page Sidebar Interactive Cards & Excluded States
   ============================================================================= */

.pp-buy-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 16px !important;
  cursor: pointer !important;
  user-select: none !important;
}

.pp-si-prod-card {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  gap: 12px !important;
}

.pp-si-prod-info {
  flex-grow: 1 !important;
  min-width: 0 !important;
}

.pp-si-prod-name-link {
  color: var(--ppb-text) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: color 0.15s ease !important;
}

.pp-si-prod-name-link:hover {
  color: var(--ppb-accent) !important;
}

.pp-buy-wrap .pp-set-item__toggle {
  flex-shrink: 0 !important;
  margin-right: 2px !important;
}

.pp-buy-wrap .pp-set-item__total {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  text-align: right !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}
.pp-buy-wrap .pp-set-item__total .pp-set-item__total-label {
  display: block !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: var(--ppb-text2) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 2px !important;
}
.pp-buy-wrap .pp-set-item__total .pp-set-item__total-val {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: var(--ppb-text) !important;
  font-variant-numeric: tabular-nums !important;
  display: block !important;
}

.pp-set-item__calc,
.pp-buy-wrap .pp-set-item__calc {
  grid-area: calc !important;
  border-top: 1px solid var(--ppb-border) !important;
  padding-top: 8px !important;
  margin-top: 8px !important;
  padding-left: 0 !important; /* Always 0 to maximize horizontal space for side-by-side */
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  display: block !important;
  transition: opacity 0.25s ease !important;
}

/* Horizontal Side-by-Side Compact Calculator Styles */
.pp-calc--compact {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px 12px !important;
  width: 100% !important;
}

.pp-calc--compact .pp-calc__unit-toggle {
  align-self: center !important;
  margin: 0 !important;
  height: 30px !important;
  border-radius: 8px !important;
  padding: 2px !important;
  border: 1px solid #cbd5e1 !important;
  gap: 2px !important;
  box-sizing: border-box !important;
}

.pp-calc--compact .pp-calc__unit-btn {
  font-size: 0.7rem !important; /* 11px */
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  min-height: 24px !important;
  height: 24px !important;
  line-height: 1 !important;
}

.pp-calc--compact .pp-calc__row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.pp-calc--compact .pp-calc__stepper {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 30px !important;
  box-sizing: border-box !important;
}

.pp-calc--compact .pp-calc__minus,
.pp-calc--compact .pp-calc__plus {
  width: 30px !important;
  height: 28px !important;
  min-width: 30px !important;
  font-size: 1rem !important;
}

.pp-calc--compact .pp-calc__input {
  width: 44px !important;
  min-width: 44px !important;
  height: 28px !important;
  font-size: 0.85rem !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
}

.pp-calc--compact .pp-calc__summary {
  margin-top: 0 !important;
  font-size: 0.74rem !important; /* 11.5px */
  color: var(--ppb-text2) !important;
  font-weight: 700 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.pp-buy-wrap.is-excluded {
  background: rgba(241, 245, 249, 0.45) !important;
  border-color: rgba(15, 23, 42, 0.04) !important;
  box-shadow: none !important;
  opacity: 0.55 !important;
  transform: none !important;
}

.pp-buy-wrap.is-excluded .pp-set-item__calc,
.pp-products-list .pp-set-item.is-excluded .pp-set-item__calc {
  opacity: 0.38 !important;
  pointer-events: none !important;
}

.pp-buy-wrap.is-excluded .pp-mini-img-wrap {
  opacity: 0.7 !important;
}

/* =============================================================================
   10. Desktop Top-alignment and spacing adjustments
   ============================================================================= */

.pp-si-sticky-panel {
  padding: 20px !important;
  padding-top: 16px !important;
  top: 24px !important;
}

.pp-si-layout {
  margin-top: 0 !important;
}

.pp-si-container-wrap {
  padding: 0 0 20px 0 !important;
}

.pp-si-breadcrumbs-row {
  padding: 8px 0 0 0 !important;
}

/* =============================================================================
   11. Modal Window Premium Hierarchy overrides
   ============================================================================= */

.pp-bm-prod {
  background: var(--ppb-surf2) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
}

/* Premium Waste option card styles */
.pp-calc__option-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: var(--ppb-surf2) !important;
  border: 1px solid var(--ppb-border) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin-top: 14px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.pp-calc__option-card:hover {
  border-color: var(--ppb-accent) !important;
  background: #f0fdf4 !important; /* light green tint */
}

.pp-calc__option-card input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 6px !important;
  outline: none !important;
  background-color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  position: relative !important;
}

.pp-calc__option-card input[type="checkbox"]:checked {
  background-color: #059669 !important;
  border-color: #059669 !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
}

.pp-calc__option-card input[type="checkbox"]::after {
  content: "" !important;
  width: 5px !important;
  height: 10px !important;
  border: solid #ffffff !important;
  border-width: 0 2.5px 2.5px 0 !important;
  transform: rotate(43deg) scale(0) !important;
  opacity: 0 !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease !important;
  position: absolute !important;
  top: 3px !important;
  left: 7px !important;
}

.pp-calc__option-card input[type="checkbox"]:checked::after {
  transform: rotate(43deg) scale(1) !important;
  opacity: 1 !important;
}

.pp-calc__option-label {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  cursor: pointer !important;
  text-align: left !important;
}

.pp-calc__option-title {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--ppb-text) !important;
}

.pp-calc__option-desc {
  font-size: 0.72rem !important;
  color: var(--ppb-text2) !important;
  font-weight: 500 !important;
}

/* Custom section labels for modal purchase calculator */
.pp-calc__section-label {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ppb-text2) !important;
  margin-top: 14px !important;
  margin-bottom: 6px !important;
  display: block !important;
  text-align: left !important;
}

.pp-calc__section-label:first-child {
  margin-top: 0 !important;
}

.pp-calc__row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin-top: 2px !important;
}

.pp-calc__stepper {
  flex-shrink: 0 !important;
}

.pp-calc__summary {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--ppb-text) !important;
  line-height: 1.35 !important;
  margin-top: 0 !important;
  flex-grow: 1 !important;
  text-align: left !important;
}


/* =============================================================================
   10. Rafinacje v2 — kompaktowe, spójne modale (Konfiguracja zakupu / Zestaw /
       Szybki podgląd). Ładowane na końcu pliku, więc nadpisują wcześniejsze reguły.
   ============================================================================= */

/* Konfiguracja zakupu — zwarty, premium układ: dwa pola obok siebie
   (etykieta NAD kontrolką), podsumowanie i docinki na pełną szerokość.
   Koniec pustych kolumn i nierównych kształtów. */
.pp-calc:not(.pp-calc--compact) {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.pp-calc__fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  align-items: start !important;
}
.pp-calc__fields:has(.pp-calc__field:only-child) { grid-template-columns: 1fr !important; }
.pp-calc__field {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.pp-calc__field .pp-calc__section-label { margin: 0 0 0 2px !important; }
.pp-calc__section-label {
  font-size: 0.68rem !important; font-weight: 800 !important; letter-spacing: .07em !important;
  text-transform: uppercase !important; color: #64748b !important;
}
/* Toggle jednostki: pełna szerokość pola, dwa równe segmenty, wys. = stepper */
.pp-calc:not(.pp-calc--compact) .pp-calc__unit-toggle {
  width: 100% !important; display: grid !important; grid-template-columns: 1fr 1fr !important;
  height: 44px !important; padding: 3px !important; margin: 0 !important; gap: 3px !important;
  border-radius: 10px !important; background: #f1f5f9 !important; border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}
.pp-calc:not(.pp-calc--compact) .pp-calc__unit-btn {
  width: 100% !important; height: 100% !important; min-height: 0 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  text-align: center !important; border-radius: 7px !important; font-size: 0.82rem !important;
}
/* Stepper: pełna szerokość pola, input rozciągnięty */
.pp-calc:not(.pp-calc--compact) .pp-calc__row {
  display: flex !important; flex-direction: row !important; align-items: center !important;
  width: 100% !important; margin: 0 !important; gap: 0 !important;
}
.pp-calc:not(.pp-calc--compact) .pp-calc__stepper {
  width: 100% !important; height: 44px !important; display: flex !important; box-sizing: border-box !important;
}
.pp-calc:not(.pp-calc--compact) .pp-calc__minus,
.pp-calc:not(.pp-calc--compact) .pp-calc__plus { width: 44px !important; min-width: 44px !important; height: 100% !important; }
.pp-calc:not(.pp-calc--compact) .pp-calc__input { flex: 1 1 auto !important; width: auto !important; min-width: 56px !important; height: 100% !important; text-align: center !important; color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; opacity: 1 !important; font-size: .95rem !important; font-weight: 700 !important; }
/* Podsumowanie: pełna szerokość, zielony pasek (czytelne, spójne) */
.pp-calc:not(.pp-calc--compact) .pp-calc__summary {
  white-space: normal !important; width: 100% !important; text-align: center !important;
  font-size: 0.8rem !important; font-weight: 700 !important; color: #0c8061 !important;
  background: #e7f6f0 !important; padding: 8px 12px !important; border-radius: 8px !important; margin: 0 !important;
}
/* Opcja "+10% na docinki" — pełna szerokość, czytelna */
.pp-calc__option-card {
  width: 100% !important; display: flex !important; align-items: flex-start !important;
  gap: 10px !important; padding: 12px 14px !important; border-radius: 12px !important;
}

/* Karty zestawu (Skompletuj zestaw + Szybki podgląd) — mniejsza wysokość boxu */
.pp-set-item {
  padding: 12px !important;
  margin-bottom: 10px !important;
  gap: 10px 12px !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.05) !important;
}
.pp-set-item:hover:not(.is-excluded) { transform: none !important; box-shadow: 0 4px 14px rgba(15,23,42,.07) !important; }
.pp-set-item__name { font-size: 0.86rem !important; line-height: 1.3 !important; }
.pp-set-item__unitprice { font-size: 0.76rem !important; }
.pp-set-item__total-label { font-size: 0.6rem !important; }
.pp-set-item__total-val { font-size: 0.92rem !important; }
.pp-set-item__calc { margin-top: 2px !important; }

/* Szybki podgląd: lista produktów ciaśniejsza */
#pp-products-list .pp-set-item { margin-bottom: 9px !important; }

/* =============================================================================
   11. Kalkulator w szufladzie modala podglądu (buildQvCalc: .pp-qv-*) — zwarty.
       (Stary „card-chrome" i layout modala usunięte — modal stylizuje pp-quickview.css.)
   ============================================================================= */
.pp-qv-c{display:flex !important;flex-direction:column !important;gap:13px !important;}
.pp-qv-unit{color:#586a80 !important;font-weight:500 !important;}
.pp-qv-seg{display:grid !important;grid-template-columns:1fr 1fr !important;gap:4px !important;background:#f1f5f9 !important;border:1px solid #e2e8f0 !important;border-radius:10px !important;padding:4px !important;}
.pp-qv-segbtn{border:0 !important;background:transparent !important;border-radius:8px !important;padding:9px 6px !important;font-weight:700 !important;font-size:.8rem !important;color:#586a80 !important;cursor:pointer !important;line-height:1.1 !important;}
.pp-qv-segbtn.is-active{background:#fff !important;color:#0f172a !important;box-shadow:0 1px 3px rgba(15,23,42,.12) !important;}
.pp-qv-qrow{display:flex !important;align-items:center !important;gap:12px !important;}
.pp-qv-stepper,
.pp-qv3 .pp-qv-stepper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  width: 132px !important;
  flex: none !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.pp-qv-stepper *,
.pp-qv3 .pp-qv-stepper * {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pp-qv-stepper .pp-calc__minus,
.pp-qv-stepper .pp-calc__plus,
.pp-qv3 .pp-qv-stepper button {
  width: 40px !important;
  min-width: 40px !important;
  height: 100% !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 1.05rem !important;
  color: #0f172a !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}
.pp-qv-stepper .pp-calc__minus:hover,
.pp-qv-stepper .pp-calc__plus:hover,
.pp-qv3 .pp-qv-stepper button:hover {
  background: #f1f5f9 !important;
  color: #047857 !important;
  border-radius: 0 !important;
}
.pp-qv-stepper .pp-calc__input,
.pp-qv3 .pp-qv-stepper input {
  flex: 1 1 auto !important;
  min-width: 48px !important;
  width: auto !important;
  height: 100% !important;
  border: 0 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
.pp-qv-sum{font-size:.85rem !important;color:#586a80 !important;}
.pp-qv-sum b{color:#0f172a !important;font-weight:800 !important;}
.pp-qv-waste{display:flex !important;align-items:center !important;gap:9px !important;font-size:.84rem !important;color:#0f172a !important;font-weight:600 !important;cursor:pointer !important;background:rgba(5,150,105,.05) !important;padding:8px 12px !important;border-radius:8px !important;border:1px solid rgba(5,150,105,.1) !important;}
.pp-qv-waste input{width:18px !important;height:18px !important;accent-color:#059669 !important;margin:0 !important;flex:none !important;}
@media(max-width:560px){.pp-qv-qrow{flex-wrap:wrap}}

/* =============================================================================
   13. Kalkulatory bez przełącznika jednostki — pole liczy paczki/szt,
       obok informacja przeliczenia (1 paczka = X m² / 1 szt. = X mb) + pokrycie.
   ============================================================================= */
.pp-qv-info{display:flex !important;flex-direction:column !important;gap:2px !important;font-size:.82rem !important;line-height:1.3 !important;min-width:0 !important;}
.pp-qv-conv{font-weight:700 !important;color:#0f172a !important;}
.pp-qv-cov{color:#586a80 !important;}
.pp-qv-cov b{color:#0f172a !important;font-weight:700 !important;}
.pp-qv-cov em{font-style:normal !important;color:#0c8061 !important;font-weight:700 !important;}
/* Pełny kalkulator (popup): wiersz stepper + informacja */
.pp-calc__qrow{display:flex !important;align-items:center !important;gap:14px !important;flex-wrap:wrap !important;}
.pp-calc__qrow .pp-calc__stepper{flex:none !important;width:140px !important;height:44px !important;}
.pp-calc__qrow .pp-calc__summary{flex:1 1 auto !important;min-width:120px !important;font-size:.85rem !important;color:#475569 !important;white-space:normal !important;text-align:left !important;background:none !important;padding:0 !important;}

/* =============================================================================
   14. Room Size Calculator Widget (T10)
   ============================================================================= */

.pp-room-calc-widget {
    border: 1px solid var(--ppb-border);
    border-radius: 14px;
    margin-bottom: 16px;
    background: var(--ppb-surf);
    overflow: hidden;
}

.pp-room-calc__header {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ppb-text);
    text-align: left;
    transition: background 0.2s;
}
.pp-room-calc__header:hover { background: var(--ppb-surf2); }
.pp-room-calc__icon { color: var(--ppb-accent); display: flex; flex-shrink: 0; }
.pp-room-calc__label { flex: 1; }
.pp-room-calc__chevron {
    display: flex; color: var(--ppb-muted);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.pp-room-calc__header[aria-expanded="true"] .pp-room-calc__chevron { transform: rotate(180deg); }

.pp-room-calc__body {
    padding: 0 16px 16px;
    border-top: 1px solid var(--ppb-border);
}
.pp-room-calc__inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}
.pp-room-calc__field { display: flex; flex-direction: column; gap: 5px; }
.pp-room-calc__field label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--ppb-text2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pp-room-calc__input {
    width: 100%;
    border: 1px solid var(--ppb-border-md);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ppb-text);
    background: var(--ppb-surf2);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.pp-room-calc__input:focus {
    outline: none;
    border-color: var(--ppb-accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    background: #fff;
}
.pp-room-calc__input::-webkit-inner-spin-button,
.pp-room-calc__input::-webkit-outer-spin-button { -webkit-appearance: none; }

.pp-room-calc__result {
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--ppb-accent-soft);
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ppb-accent-dk);
    min-height: 40px;
    line-height: 1.5;
}
.pp-room-calc__result:empty { display: none; }

@media (max-width: 420px) {
    .pp-room-calc__inputs { grid-template-columns: 1fr 1fr; }
}

/* =============================================================================
   15. Sticky Mobile CTA (T11)
   ============================================================================= */

/*
 * PASEK NAD DOLNYM MENU MOTYWU.
 *
 * Zgłoszenie: przycisk zakupu chował się pod dolnym menu (KATEGORIE, KOSZYK,
 * WIZUALIZUJ, KONTAKT). Pasek stał na bottom:0 z z-index 9000, czyli dokładnie
 * tam, gdzie menu motywu, a motyw wygrywał.
 *
 * ŚWIADOMIE NIE PODBIJAMY z-index. Wygranie tej licytacji oznacza przykrycie
 * koszyka i kategorii, których klient potrzebuje tak samo, a przy każdej
 * aktualizacji motywu licytacja zaczyna się od nowa. Zamiast tego mierzymy
 * wysokość dolnego menu w przeglądarce i stajemy nad nim.
 *
 * Wysokość wstawia skrypt do --pp-bottomnav-h. Gdy menu nie ma, zmienna wynosi
 * zero i pasek zachowuje się jak wcześniej.
 */
.pp-sticky-cta {
    position: fixed;
    bottom: var(--pp-bottomnav-h, 0px);
    left: 0; right: 0;
    z-index: 9000;
    background: var(--ppb-panel);
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.22);
    /*
     * Do ukrycia dokładamy wysokość menu. Samo 110% przy podniesionym pasku
     * nie zeszłoby poza ekran i w stanie ukrytym wystawałby nad menu pasek
     * grubości kilkunastu pikseli.
     */
    transform: translateY(calc(110% + var(--pp-bottomnav-h, 0px)));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    display: none; /* pokazuj tylko mobile */
}
.pp-sticky-cta.is-visible { transform: translateY(0); }

/*
 * Gdy pod nami stoi menu motywu, to ono obsługuje bezpieczny obszar ekranu
 * (pasek gestów iPhone'a). Powtórzenie go u nas dokładałoby pustą przestrzeń.
 */
.pp-sticky-cta.pp-has-bottomnav {
    padding-bottom: 12px;
}

.pp-sticky-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.pp-sticky-cta__info { display: flex; flex-direction: column; gap: 2px; }
.pp-sticky-cta__label {
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--ppb-on-dark-muted);
}
.pp-sticky-cta__price {
    font-size: 1.15rem; font-weight: 800;
    color: #fff; font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.pp-sticky-cta__btn {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 20px;
    background: var(--ppb-accent);
    color: #fff; border: none; border-radius: 10px;
    font-family: inherit; font-size: 0.88rem; font-weight: 800;
    cursor: pointer; white-space: nowrap;
    text-transform: uppercase; letter-spacing: .03em;
    box-shadow: 0 4px 14px rgba(5, 150, 105, .35);
    transition: background .2s, transform .1s;
    flex-shrink: 0;
}
.pp-sticky-cta__btn:hover { background: var(--ppb-accent-dk); transform: translateY(-1px); }
.pp-sticky-cta__btn svg { flex-shrink: 0; }

@media (min-width: 1025px) {
    /* Na desktopie ukrywamy — sidebar CTA jest zawsze widoczny. */
    .pp-sticky-cta { display: none !important; }
}
@media (max-width: 1024px) {
    .pp-sticky-cta { display: block; }
}

/* =============================================================================
   7. Cross-sell / Bundle Suggestions (T20)
   ============================================================================= */
.pp-cross-sell {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--ppb-border);
}
.pp-cross-sell__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ppb-text);
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}
.pp-cross-sell__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pp-cross-sell__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--ppb-border);
  border-radius: var(--ppb-r-sm);
  background: var(--ppb-surf2);
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 !important;
}
.pp-cross-sell__item:hover {
  border-color: var(--ppb-border-md);
  background: #fff;
}
.pp-cross-sell__cb {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer;
}
.pp-cross-sell__thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--ppb-border);
  background: #fff;
  flex-shrink: 0;
}
.pp-cross-sell__info {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.pp-cross-sell__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ppb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-cross-sell__price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ppb-accent);
}
.pp-cross-sell__price .amount, .pp-cross-sell__price bdi {
  color: var(--ppb-accent) !important;
  font-weight: 800 !important;
}

/* =============================================================================
   8. Sub-Modal Quantity Editor (Bottom Sheet for Mobile/Tablet)
   ============================================================================= */

/* Main Overlay */
.pp-sub-bm-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 2147483648 !important;
  display: block !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pp-sub-bm-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Modal Bottom Sheet - Absolute */
.pp-sub-bm-modal {
  position: fixed !important;
  left: 50% !important;
  bottom: 0 !important;
  background: #ffffff !important;
  border-radius: 24px 24px 0 0 !important;
  width: 100% !important;
  max-width: 500px !important;
  padding: 16px 16px 20px 16px !important;
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.15) !important;
  transform: translate(-50%, 100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  z-index: 2147483649 !important;
}

.pp-sub-bm-overlay.is-open .pp-sub-bm-modal {
  transform: translate(-50%, 0) !important;
}

/* Drag indicator for premium native feel */
.pp-sub-bm-drag-indicator {
  width: 44px !important;
  height: 5px !important;
  background: #e2e8f0 !important;
  border-radius: 99px !important;
  margin: -8px auto 12px auto !important;
}

/* Head section */
.pp-sub-bm-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.pp-sub-bm-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  font-family: inherit !important;
}

.pp-sub-bm-close {
  background: #f1f5f9 !important;
  border: none !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pp-sub-bm-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.pp-sub-bm-close svg {
  width: 18px !important;
  height: 18px !important;
}

/* Body and wrapper */
.pp-sub-bm-body {
  max-height: 65vh !important;
  overflow-y: auto !important;
  padding-right: 2px !important;
}

/* Product header inside sub-modal */
.pp-sub-bm-prod {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  text-align: left !important;
}

.pp-sub-bm-prod__thumb {
  width: 68px !important;
  height: 68px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  flex-shrink: 0 !important;
}

.pp-sub-bm-prod__meta {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
}

.pp-sub-bm-prod__name {
  font-weight: 800 !important;
  font-size: 0.96rem !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

.pp-sub-bm-prod__price {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: var(--ppb-accent-dk) !important;
}

.pp-sub-bm-stock {
  font-size: 0.74rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-weight: 700 !important;
}

.pp-sub-bm-stock--in {
  color: #10b981 !important;
}

.pp-sub-bm-stock--out {
  color: #ef4444 !important;
}

.pp-sub-bm-stock svg {
  width: 12px !important;
  height: 12px !important;
}

/* Save / Apply Button */
.pp-sub-bm-foot {
  margin-top: 16px !important;
}

.pp-sub-bm-save {
  width: 100% !important;
  height: 46px !important;
  background: var(--ppb-accent, #10b981) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.24) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.pp-sub-bm-save:hover {
  background: var(--ppb-accent-dk, #059669) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3) !important;
}

/* Styles of Quantity Trigger Pill on cards */
.pp-set-item__qty-trigger {
  display: none !important; /* Hidden on desktop */
}

/* Sub-modal layout customizations for the moved calc container */
.pp-sub-bm-wrapper .pp-calc,
.pp-sub-bm-wrapper .pp-qv-c {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  display: block !important;
  width: 100% !important;
}

/* Stack the stepper and summary text vertically inside the sub-modal to avoid clipping */
.pp-sub-bm-wrapper .pp-calc__row,
.pp-sub-bm-wrapper .pp-qv-qrow {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Spacious, easy-to-tap stepper style inside sub-modal - RESET BORDERS AND BACKGROUNDS */
.pp-sub-bm-wrapper .pp-calc__stepper,
.pp-sub-bm-wrapper .pp-qv-stepper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 8px auto 4px auto !important;
  max-width: 200px !important;
  height: 48px !important;
  float: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 12px !important;
}

.pp-sub-bm-wrapper .pp-calc__minus,
.pp-sub-bm-wrapper .pp-calc__plus {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.pp-sub-bm-wrapper .pp-calc__minus:hover,
.pp-sub-bm-wrapper .pp-calc__plus:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: var(--ppb-accent) !important;
}

.pp-sub-bm-wrapper .pp-calc__input {
  width: 72px !important;
  height: 48px !important;
  text-align: center !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  color: #0f172a !important;
  padding: 0 !important;
  background: #fff !important;
  font-family: inherit !important;
}

/* Cover / Metrage info in sub-modal */
.pp-sub-bm-wrapper .pp-calc__summary,
.pp-sub-bm-wrapper .pp-qv-info {
  font-size: 0.88rem !important;
  text-align: center !important;
  color: #475569 !important;
  margin: 6px 0 10px 0 !important;
  line-height: 1.5 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
}

.pp-sub-bm-wrapper .pp-calc__summary b,
.pp-sub-bm-wrapper .pp-qv-info b,
.pp-sub-bm-wrapper .pp-qv-info bdi {
  color: var(--ppb-accent-dk) !important;
  font-weight: 800 !important;
}

/* Waste / Zapas Checkbox Card inside sub-modal */
.pp-sub-bm-wrapper .pp-calc__option-card,
.pp-sub-bm-wrapper .pp-qv-waste {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 16px !important;
  border-radius: 16px !important;
  margin: 16px 0 0 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  text-align: left !important;
  width: 100% !important;
}

.pp-sub-bm-wrapper .pp-calc__option-card:hover,
.pp-sub-bm-wrapper .pp-qv-waste:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.pp-sub-bm-wrapper .pp-calc__waste-cb,
.pp-sub-bm-wrapper .pp-qv-waste input {
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  border: 2.2px solid #cbd5e1 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}

/* Total price row inside sub-modal */
.pp-sub-bm-total-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  padding: 12px !important;
  border-radius: 12px !important;
  margin: 10px 0 0 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.pp-sub-bm-total-label {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
}

.pp-sub-bm-total-val {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--ppb-accent-dk, #059669) !important;
}

/* Quickview drawer adjustments */
.pp-sub-bm-wrapper .pp-qv-drawer__submit {
  width: 100% !important;
  height: 52px !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* =============================================================================
   9. Responsive Mobile / Tablet Styling for Quantity Editor (<= 960px)
   ============================================================================= */
@media (max-width: 960px) {
  /* Prevent scrolling body when sub-modal is open */
  body.pp-sub-modal-open {
    overflow: hidden !important;
  }

  /* 1. Bulletproof uniform mobile card layout for pp-set-item (all states) */
  .pp-set-item,
  .pp-set-item.is-collapsed,
  .pp-set-item.is-open-calc {
    display: grid !important;
    grid-template-columns: 36px 48px 1fr auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "tog thumb info qty"
      "tog thumb info total" !important;
    gap: 6px 10px !important;
    padding: 10px !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.015) !important;
    max-height: none !important;
    transform: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  /* Reset all potential accordion heights & limits */
  .pp-set-item.is-collapsed .pp-set-item__calc,
  .pp-set-item.is-open-calc .pp-set-item__calc,
  .pp-set-item__calc {
    display: none !important;
  }

  /* Prevent arrow display on mobile since we use the sub-modal instead of accordions */
  .pp-set-item__arrow {
    display: none !important;
  }

  /* Align grid elements properly to their cells without stretching */
  .pp-set-item__toggle {
    grid-area: tog !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .pp-set-item__thumb-wrap {
    grid-area: thumb !important;
    align-self: center !important;
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
  }

  .pp-set-item__info {
    grid-area: info !important;
    align-self: center !important;
    min-width: 0 !important;
    text-align: left !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .pp-set-item__name {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--ppb-text) !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .pp-set-item__unitprice {
    font-size: 0.72rem !important;
    color: #64748b !important;
    margin: 0 !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  /* Total price layout adjustment on mobile - Always visible! */
  .pp-set-item .pp-set-item__total,
  .pp-set-item.is-collapsed .pp-set-item__total,
  .pp-set-item.is-open-calc .pp-set-item__total,
  .pp-set-item__total {
    grid-area: total !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: right !important;
  }

  .pp-set-item__total-label {
    margin: 0 !important;
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
  }

  .pp-set-item__total-val {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  /* Quantity Trigger Button Pill on mobile */
  .pp-set-item__qty-trigger {
    grid-area: qty !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 8px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    max-width: max-content !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    justify-self: end !important;
    align-self: center !important;
  }
  
  .pp-set-item.is-excluded .pp-set-item__qty-trigger {
    pointer-events: none !important;
    opacity: 0.5 !important;
  }

  .pp-set-item__qty-trigger:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
  }

  .pp-qty-label {
    font-weight: 500 !important;
  }

  .pp-qty-val {
    font-weight: 800 !important;
    color: #166534 !important;
  }

  .pp-qty-edit-icon {
    width: 12px !important;
    height: 12px !important;
    color: #166534 !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }

}

/* Responsive adjustments for product cards in Room Visualizer (Mobile-first UX) */
@media (max-width: 767px) {
  .pp-si-product-list .pp-si-prod-card {
    display: grid !important;
    grid-template-columns: 58px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 12px 16px !important;
    align-items: start !important;
    padding: 16px !important;
  }
  
  .pp-si-product-list .pp-si-prod-info {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .pp-si-product-list .pp-mini-img-wrap {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 58px !important;
    height: 58px !important;
  }
  
  .pp-si-product-list .pp-si-prod-name-link {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    display: block !important;
  }
  
  .pp-si-product-list .pp-si-prod-price {
    font-size: 0.85rem !important;
    margin-top: 2px !important;
  }
  
  .pp-si-product-list .pp-si-prod-foot {
    display: flex !important;
    flex-direction: column !important;
    align-items: start !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }
  
  .pp-si-product-list .pp-si-buy-btn {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 12px 16px !important;
    font-size: 0.85rem !important;
    margin-top: 4px !important;
    display: block !important;
    white-space: normal !important;
  }

  /* Stepper mobile touch target and iOS auto-zoom prevention overrides */
  .pp-calc__stepper {
    height: 44px !important;
  }
  .pp-calc__minus, .pp-calc__plus {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .pp-calc__input {
    font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
    height: 44px !important;
  }
}

/* ============================================================================
 * OKNO KONFIGURACJI ZAKUPU — WARSTWA PREMIUM (3.4.4)
 *
 * Sekcja „Zalecane do montażu" była wizualnie i logicznie najsłabszym miejscem
 * okna: natywne niebieskie checkboxy w kolorze systemu (nie marki), pozycje
 * zaznaczone z góry, brak jakiejkolwiek informacji ILE dokładają do ceny, i
 * dwukropek w nagłówku sugerujący listę obowiązkową.
 *
 * Świadomie zostawiamy NATYWNY <input type="checkbox"> i barwimy go przez
 * accent-color. Podmiana na atrapę z pseudo-elementem wygląda ładniej w
 * portfolio, ale to właśnie ona najczęściej odpowiada za „nie da się odznaczyć":
 * gdy atrapa przykryje input albo przechwyci klik, kontrolka przestaje reagować,
 * a użytkownik nie ma jak tego obejść. Kontrolka, która działa, jest ważniejsza
 * od kontrolki, która ładnie wygląda.
 * ========================================================================= */

.pp-cross-sell {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--ppb-border);
  border-radius: var(--ppb-r);
  background: var(--ppb-surf);
}

.pp-cross-sell__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.pp-cross-sell__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ppb-text);
  text-transform: none;   /* koniec z krzyczącym wersalikiem */
}

/* Etykieta „opcjonalne" jest zobowiązaniem wobec klienta — nic nie doliczy się samo. */
.pp-cross-sell__badge {
  flex: 0 0 auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ppb-text2);
  background: var(--ppb-surf2);
  border: 1px solid var(--ppb-border);
  padding: 3px 8px;
  border-radius: 999px;
}

.pp-cross-sell__hint {
  margin: 0 0 12px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--ppb-text2);
}

.pp-cross-sell__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;              /* cel dotykowy z zapasem (WCAG 2.5.8) */
  padding: 10px 12px;
  border: 1px solid var(--ppb-border);
  border-radius: var(--ppb-r-sm);
  background: var(--ppb-surf);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  margin: 0 !important;
}

.pp-cross-sell__item:hover {
  border-color: var(--ppb-border-md);
  background: var(--ppb-surf2);
}

/* Stan wybrany musi być czytelny bez patrzenia na sam kwadracik. */
.pp-cross-sell__item.is-checked {
  border-color: var(--ppb-accent);
  background: var(--ppb-accent-soft);
  box-shadow: inset 0 0 0 1px var(--ppb-accent);
}

.pp-cross-sell__cb {
  flex: 0 0 auto;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  cursor: pointer;
  accent-color: var(--ppb-accent);   /* kolor marki zamiast systemowego błękitu */
}

.pp-cross-sell__cb:focus-visible {
  outline: 2px solid var(--ppb-accent);
  outline-offset: 2px;
}

.pp-cross-sell__thumb {
  width: 44px;
  height: 44px;
}

.pp-cross-sell__name {
  font-weight: 600;
  color: var(--ppb-text);
  line-height: 1.3;
}

.pp-cross-sell__price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ppb-accent-dk);
}

/*
 * Podsumowanie dodatków. Bez tego klient widział wyłącznie zmianę kwoty
 * łącznej i nie miał jak sprawdzić, co ją podniosło.
 */
.pp-cross-sell__sum {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--ppb-border);
  font-size: 0.82rem;
  color: var(--ppb-text2);
  text-align: right;
}

.pp-cross-sell__sum strong {
  color: var(--ppb-accent-dk);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

/* ── Treść okna: koniec z treścią ucinaną bez ostrzeżenia pod nagłówkiem ──── */
.pp-bm-body {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--ppb-border-md) transparent;
  /*
   * Maska sygnalizuje, że treść jest dłuższa niż okno. Na zrzucie zdjęcie
   * produktu było przycięte tuż pod nagłówkiem i wyglądało na błąd renderowania,
   * a nie na przewiniętą zawartość.
   */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.pp-bm-body::-webkit-scrollbar { width: 6px; }
.pp-bm-body::-webkit-scrollbar-thumb {
  background: var(--ppb-border-md);
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pp-cross-sell__item { transition: none; }
  .pp-bm-body { scroll-behavior: auto; }
}

/* Reguly przelacznika ujec zostaly przeniesione do assets/css/pp-view-switcher.css.
   W tym pliku bylo ich 8 i konkurowaly z innymi arkuszami; o wyniku decydowala
   kolejnosc ladowania, a nie projekt. Nie dopisuj ich tutaj ponownie. */

/* =========================================================================
   3.18.0 — PRZELACZNIK SKLADU ZESTAWU NA KARCIE PRODUKTU (desktop i mobile)
   =========================================================================
   Pomiar przed zmiana: szablon single-inspiration.php mial ZERO przelacznikow,
   a pp-inspirations-buy.js 23 odwolania do stanu included. Stan istnial
   wylacznie w modalu, wiec na stronie nie bylo czym go zmienic.

   Sterowanie musi byc widoczne bez najeżdżania myszą: na dotyku hover nie
   istnieje, a ukryty przelacznik jest rownowazny brakowi przelacznika.
   ------------------------------------------------------------------------ */
.pp-si-prod-pin {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: rgba(15, 23, 42, 0.32);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.pp-si-prod-pin svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Jeden przycisk, dwie ikony: pokazujemy tę, która odpowiada stanowi. */
.pp-si-prod-pin__on { display: none; }
.pp-si-prod-pin__off { display: block; }
.pp-si-prod-pin.is-active .pp-si-prod-pin__on { display: block; }
.pp-si-prod-pin.is-active .pp-si-prod-pin__off { display: none; }

.pp-si-prod-pin.is-active {
  background: var(--ppb-accent, #0f766e);
  border-color: var(--ppb-accent, #0f766e);
  color: #ffffff;
}

.pp-si-prod-pin:hover { transform: scale(1.08); }
.pp-si-prod-pin:active { transform: scale(0.94); }

.pp-si-prod-pin:focus-visible {
  outline: 2px solid var(--ppb-accent, #0f766e);
  outline-offset: 2px;
}

.pp-si-prod-pin[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

/* Wykluczony produkt zostaje widoczny i czytelny: klient ma wiedziec, ze
   moze go wrocic. Wyszarzenie do zera wygladaloby jak blad ladowania. */
.pp-buy-wrap.is-excluded .pp-si-prod-card,
.pp-si-prod-card.is-excluded {
  opacity: 0.52 !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

.pp-buy-wrap.is-excluded .pp-si-prod-name-link,
.pp-buy-wrap.is-excluded .pp-si-prod-price {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(15, 23, 42, 0.35);
}

.pp-buy-wrap.is-excluded .pp-si-prod-card:hover {
  transform: none !important;
}

/* Sam przelacznik NIE moze byc przygaszony razem z karta: to jedyna droga
   powrotu, wiec musi zostac w pelnym kontrascie. */
.pp-buy-wrap.is-excluded .pp-si-prod-pin:not([disabled]) {
  opacity: 1;
  filter: none;
}

/* Licznik skladu pod cena zestawu. */
.pp-set-cta__count {
  margin: 2px 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--ppb-on-dark-muted, rgba(255, 255, 255, 0.62));
}

.pp-set-cta__price.is-empty .pp-set-cta__amt {
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .pp-si-prod-pin { transition: none; }
  .pp-si-prod-pin:hover,
  .pp-si-prod-pin:active { transform: none; }
}

/* Na waskim ekranie karta jest gestsza, wiec przelacznik przesuwamy tak,
   zeby nie wchodzil na numer pozycji ani na miniature. */
@media (max-width: 640px) {
  .pp-si-prod-pin {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
  }
  .pp-si-prod-pin svg { width: 15px; height: 15px; }
}

/* ─────────────────────────────────────────────────────────────────────────
 * SEKCJA MONTAZOWA W OKNIE ZESTAWU (3.28.0)
 *
 * Zgloszenie: produkty do montazu "pod nimi", z wyborem ilosci, domyslnie
 * niezaznaczone, ale juz policzone, z informacja o rabacie za komplet.
 *
 * HIERARCHIA: pozycja montazowa jest mniejsza od glownej, ale nie ukryta.
 * Zmierzone w oknie ilosci wizualizatora i powtorzone tutaj, zeby oba okna
 * mowily tym samym jezykiem: nazwa 13 px wobec 15 px, miniatura 34 px wobec
 * 44 px, wlasne wyszarzone tlo sekcji.
 * ───────────────────────────────────────────────────────────────────────── */

.pp-set-montaz {
	margin-top: 14px;
	padding: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.pp-set-montaz[hidden] { display: none; }

.pp-set-montaz__glowa {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.pp-set-montaz__tyt {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #0f172a;
}

.pp-set-montaz__opcja {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #64748b;
	background: #e2e8f0;
	border-radius: 999px;
	padding: 2px 8px;
}

.pp-set-montaz__hint {
	margin: 0 0 8px;
	font-size: 11.5px;
	color: #64748b;
}

/*
 * Rabat za komplet WIDOCZNY zanim klient cokolwiek zaznaczy. To jest powod,
 * dla ktorego mialby zaznaczyc, wiec pokazany po fakcie nie ma juz wplywu.
 */
.pp-set-montaz__rabat {
	margin: 0 0 10px;
	padding: 6px 10px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #065f46;
}

.pp-set-montaz__poz {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #eef2f6;
	cursor: pointer;
}

.pp-set-montaz__poz:last-of-type { border-bottom: 0; }

.pp-set-montaz__cb {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #059669;
}

.pp-set-montaz__thumb {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	object-fit: cover;
	background: #eef2f6;
}

.pp-set-montaz__info { min-width: 0; flex: 1; }

.pp-set-montaz__nazwa {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #0f172a;
}

/* Skad wziela sie ilosc. Bez tego klient kasuje pozycje, ktorej nie rozumie. */
.pp-set-montaz__skad {
	display: block;
	font-size: 11px;
	color: #64748b;
	margin-top: 1px;
}

.pp-set-montaz__qty { flex: 0 0 auto; }

.pp-set-montaz__qty input {
	width: 64px;
	/* 44 px: pole ilosci jest celem dotyku, nie ozdoba. */
	min-height: 44px;
	padding: 0 8px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font: 700 14px/1 inherit;
	text-align: center;
	background: #fff;
}

.pp-set-montaz__poz.is-wybrana .pp-set-montaz__qty input {
	border-color: #059669;
	box-shadow: 0 0 0 3px rgba(5, 150, 105, .12);
}

.pp-set-montaz__cena {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	color: #0f172a;
}

/* Niezaznaczona pozycja jest WYGASZONA, nie ukryta: klient ma widziec, ile by
   tego bylo, zanim zdecyduje. */
.pp-set-montaz__poz:not(.is-wybrana) .pp-set-montaz__nazwa,
.pp-set-montaz__poz:not(.is-wybrana) .pp-set-montaz__cena { opacity: .62; }

.pp-set-montaz__suma {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	text-align: right;
}

.pp-set-montaz__suma:empty { display: none; }

.pp-set-montaz__osz { color: #059669; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
	.pp-set-montaz__poz.is-wybrana .pp-set-montaz__qty input { box-shadow: none; }
}
