body.szr-sticky-product-active.single-product {
  padding-bottom: 190px;
  background: #0b0b0d;
}

/* ukryj górny obrazek / galerię */
body.szr-sticky-product-active.single-product .woocommerce-product-gallery,
body.szr-sticky-product-active.single-product div.product div.images,
body.szr-sticky-product-active.single-product .flex-control-thumbs,
body.szr-sticky-product-active.single-product .woocommerce-product-gallery__wrapper {
  display: none !important;
}

/* ukryj całe klasyczne summary wizualnie, ale zostaw w DOM */
body.szr-sticky-product-active.single-product .summary.entry-summary,
body.szr-sticky-product-active.single-product .product .summary,
body.szr-sticky-product-active.single-product .entry-summary {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* tabs: pokazujemy tylko opis, bez przełącznika */
body.szr-sticky-product-active.single-product .woocommerce-tabs ul.tabs,
body.szr-sticky-product-active.single-product .wc-tabs {
  display: none !important;
}

body.szr-sticky-product-active.single-product #tab-additional_information,
body.szr-sticky-product-active.single-product .woocommerce-Tabs-panel--additional_information,
body.szr-sticky-product-active.single-product #tab-reviews,
body.szr-sticky-product-active.single-product .woocommerce-Tabs-panel--reviews {
  display: none !important;
}

body.szr-sticky-product-active.single-product .woocommerce-Tabs-panel,
body.szr-sticky-product-active.single-product .woocommerce-tabs .panel,
body.szr-sticky-product-active.single-product .wc-tab {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.szr-sticky-product-active.single-product .woocommerce-Tabs-panel--description > h2:first-child,
body.szr-sticky-product-active.single-product #tab-description > h2:first-child {
  display: none !important;
}

/* =========================================
   STICKY CTA — DARK LIQUID GLASS
========================================= */
#szr-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  color: rgba(255,255,255,0.96);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 100%),
    linear-gradient(135deg, rgba(28,28,32,0.82) 0%, rgba(14,14,18,0.78) 100%);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    0 10px 24px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

#szr-sticky-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.02) 26%, transparent 42%),
    radial-gradient(circle at 84% 14%, rgba(255,255,255,0.08) 0%, transparent 34%),
    radial-gradient(circle at 50% 120%, rgba(255,255,255,0.06) 0%, transparent 36%);
  pointer-events: none;
}

#szr-sticky-cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01) 35%, rgba(255,255,255,0.00)),
    rgba(7,7,10,0.28);
  pointer-events: none;
}

#szr-sticky-cta:hover {
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.50),
    0 12px 28px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(255,255,255,0.05);
}

#szr-sticky-cta .szr-sticky-cta__compact,
#szr-sticky-cta .szr-sticky-cta__expanded {
  position: relative;
  padding: 18px 20px;
}

#szr-sticky-cta.is-compact .szr-sticky-cta__expanded {
  display: none;
}

#szr-sticky-cta.is-expanded .szr-sticky-cta__compact {
  display: none;
}

#szr-sticky-cta.is-expanded .szr-sticky-cta__expanded {
  display: block;
}

/* compact */
.szr-sticky-cta__compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.szr-sticky-cta__left {
  min-width: 0;
}

.szr-sticky-cta__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}

.szr-sticky-cta__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}

.szr-sticky-cta__price .woocommerce-Price-amount {
  color: rgba(255,255,255,0.96);
  font-weight: 700;
}

.szr-sticky-cta__divider {
  opacity: 0.35;
}

/* buttons */
.szr-sticky-cta__button {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 22px;
  cursor: pointer;
  min-width: 180px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 18px rgba(0,0,0,0.20);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.szr-sticky-cta__button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 10px 22px rgba(0,0,0,0.24);
}

.szr-sticky-cta__button:active {
  transform: translateY(0);
}

.szr-sticky-cta__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.szr-sticky-cta__button--secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.92);
}

.szr-sticky-cta__button:not(.szr-sticky-cta__button--secondary) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.08)),
    linear-gradient(135deg, rgba(168,127,38,0.70) 0%, rgba(232,201,125,0.58) 100%);
  color: #fff;
  border-color: rgba(255,235,180,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 24px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,220,140,0.05);
}

/* expanded */
.szr-sticky-cta__expanded-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.szr-sticky-cta__expanded-header .szr-sticky-cta__title {
  font-size: 22px;
  margin: 0;
}

.szr-sticky-cta__expanded-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.szr-sticky-cta__expanded-hour {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
}

.szr-sticky-cta__availability {
  font-size: 14px;
  line-height: 1.45;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.szr-sticky-cta__availability.is-out {
  background:
    linear-gradient(180deg, rgba(255,110,110,0.12), rgba(255,110,110,0.03)),
    rgba(120,18,18,0.16);
  border: 1px solid rgba(255,120,120,0.16);
  color: rgba(255,230,230,0.92);
}

.szr-sticky-cta__availability.is-in {
  background:
    linear-gradient(180deg, rgba(150,220,140,0.12), rgba(150,220,140,0.03)),
    rgba(36,86,42,0.14);
  border: 1px solid rgba(150,220,140,0.16);
  color: rgba(232,255,232,0.92);
}

.szr-sticky-cta__variant-block,
.szr-sticky-cta__deposit-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.szr-sticky-cta__variant-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  letter-spacing: .08em;
}

.szr-sticky-cta__variant-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

/* hour / variant buttons */
.szr-sticky-variant-btn {
  appearance: none;
  position: relative;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  border-radius: 15px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 6px 16px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.szr-sticky-variant-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.06);
}

.szr-sticky-variant-btn.is-active {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.07)),
    linear-gradient(135deg, rgba(176,134,42,0.72) 0%, rgba(239,212,140,0.56) 100%);
  color: #fff;
  border-color: rgba(255,230,180,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 20px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,220,140,0.05);
}

.szr-sticky-variant-btn.is-disabled {
  opacity: .42;
  cursor: not-allowed;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.46);
  border-color: rgba(255,255,255,0.06);
  box-shadow: none;
}

.szr-sticky-variant-btn.is-disabled::after,
.szr-sticky-variant-btn.is-disabled::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 50%;
  width: 76%;
  height: 1.5px;
  background: rgba(255, 120, 120, 0.82);
  transform-origin: center;
}

.szr-sticky-variant-btn.is-disabled::before {
  transform: rotate(45deg);
}

.szr-sticky-variant-btn.is-disabled::after {
  transform: rotate(-45deg);
}

/* deposit */
.szr-sticky-deposit-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.szr-sticky-deposit-container .szr-deposit-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.04);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(0,0,0,0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.szr-sticky-deposit-container .szr-deposit-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.16);
}

.szr-sticky-deposit-container .szr-deposit-option.is-active {
  border-color: rgba(242,216,139,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05)),
    linear-gradient(135deg, rgba(176,134,42,0.20) 0%, rgba(239,212,140,0.10) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 12px 22px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,220,140,0.04);
}

.szr-sticky-deposit-container .szr-deposit-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.42);
  position: relative;
  flex: 0 0 18px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}

.szr-sticky-deposit-container .szr-deposit-option.is-active .szr-deposit-radio {
  border-color: rgba(242,216,139,0.72);
}

.szr-sticky-deposit-container .szr-deposit-option.is-active .szr-deposit-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #ecd48f 38%, #b8892d 100%);
}

.szr-sticky-deposit-container .szr-deposit-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.szr-sticky-deposit-container .szr-deposit-main {
  font-weight: 700;
  color: rgba(255,255,255,0.94);
}

.szr-sticky-deposit-container .szr-deposit-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}

.szr-sticky-cta__expanded-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* subtle separators / readability */
.szr-sticky-cta__expanded-body > * {
  position: relative;
}

.szr-sticky-cta__expanded-body > * + *::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* tablet i mały desktop */
@media (max-width: 980px) {
  body.szr-sticky-product-active.single-product {
    padding-bottom: 210px;
  }

  #szr-sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 24px;
  }

  #szr-sticky-cta::after {
    border-radius: 23px;
  }

  #szr-sticky-cta .szr-sticky-cta__compact,
  #szr-sticky-cta .szr-sticky-cta__expanded {
    padding: 16px 16px;
  }

  .szr-sticky-cta__compact {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .szr-sticky-cta__right,
  .szr-sticky-cta__right .szr-sticky-cta__button {
    width: 100%;
  }

  .szr-sticky-cta__expanded-header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .szr-sticky-cta__expanded-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .szr-sticky-cta__expanded-actions .szr-sticky-cta__button {
    width: 100%;
    min-width: 0;
  }

  .szr-sticky-cta__variant-buttons {
    justify-content: flex-start;
    gap: 8px;
  }

  .szr-sticky-variant-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 10px 13px;
    font-size: 14px;
  }

  .szr-sticky-deposit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .szr-sticky-deposit-container .szr-deposit-option {
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
    align-items: flex-start;
  }
}

/* telefon */
@media (max-width: 640px) {
  body.szr-sticky-product-active.single-product {
    padding-bottom: 220px;
  }

  #szr-sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 22px;
  }

  #szr-sticky-cta::after {
    border-radius: 21px;
  }

  #szr-sticky-cta .szr-sticky-cta__compact,
  #szr-sticky-cta .szr-sticky-cta__expanded {
    padding: 14px;
  }

  .szr-sticky-cta__title {
    font-size: 16px;
  }

  .szr-sticky-cta__meta,
  .szr-sticky-cta__expanded-hour,
  .szr-sticky-cta__availability {
    font-size: 14px;
  }

  .szr-sticky-cta__expanded-body {
    gap: 14px;
  }

  .szr-sticky-cta__variant-buttons {
    justify-content: center;
    gap: 8px;
  }

  .szr-sticky-variant-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 10px 14px;
    font-size: 14px;
  }

  .szr-sticky-deposit-container {
    grid-template-columns: 1fr;
  }

  .szr-sticky-deposit-container .szr-deposit-option {
    min-width: 0;
    width: 100%;
  }

  .szr-sticky-cta__expanded-actions {
    grid-template-columns: 1fr;
  }

  .szr-sticky-cta__button {
    width: 100%;
    min-width: 0;
  }
}

/* fallback dla przeglądarek bez backdrop-filter */
@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  #szr-sticky-cta {
    background:
      linear-gradient(180deg, rgba(40,40,46,0.96) 0%, rgba(18,18,22,0.98) 100%);
  }

  .szr-sticky-cta__button,
  .szr-sticky-variant-btn,
  .szr-sticky-deposit-container .szr-deposit-option,
  .szr-sticky-cta__availability {
    background-color: rgba(255,255,255,0.06);
  }
}