/* =========================================================
   Karta produktu — dodatki do produktu
   ========================================================= */

.bonafora-product-addons {
  width: 100%;
  margin: 12px 0 18px;
  padding: 10px 14px;
  box-sizing: border-box;

  background: #fff;
  border: 1px solid #ead9d3;
  border-radius: 14px;
}

.bonafora-product-addons__title {
  margin: 0 0 8px;
  padding: 0;

  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

/* Jeden dodatek */
.bonafora-product-addons
label.bonafora-product-addons__option {
  display: grid;
  grid-template-columns: 24px 56px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;

  width: 100%;
  margin: 0;
  padding: 10px 0;
  box-sizing: border-box;

  border-top: 1px solid #f0e6e2;
  cursor: pointer;
}

/* Checkbox */
.bonafora-product-addons
label.bonafora-product-addons__option
> input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;

  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;

  margin: 0;
  padding: 0;

  accent-color: #111;
  transform: scale(1.15);
  transform-origin: center;
}

/* Miniatura */
.bonafora-product-addons__thumb {
  grid-column: 2;
  grid-row: 1;

  display: block;
  width: 56px;
  height: 56px;
  margin: 0;
}

.bonafora-product-addons__thumb img {
  display: block;
  width: 56px;
  height: 56px;

  object-fit: cover;
  border-radius: 8px;
}

/* Treść dodatku */
.bonafora-product-addons__content {
  grid-column: 3;
  grid-row: 1;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;

  width: 100%;
  min-width: 0;
}

.bonafora-product-addons__name-row {
  display: contents;
}

.bonafora-product-addons__name {
  grid-column: 1;
  grid-row: 1;

  display: block;
  margin: 0;

  color: #111;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}

.bonafora-product-addons__price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;

  display: block;
  margin: 0;

  color: #8a5b50;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.bonafora-product-addons__desc {
  grid-column: 1;
  grid-row: 2;

  display: block;
  margin: 2px 0 0;

  color: #666;
  font-size: 12px;
  line-height: 1.25;
}

/* RWD */
@media (max-width: 767px) {
  .bonafora-product-addons {
    padding: 10px 12px;
  }

  .bonafora-product-addons
  label.bonafora-product-addons__option {
    grid-template-columns: 24px 50px minmax(0, 1fr);
    column-gap: 9px;
    padding: 9px 0;
  }

  .bonafora-product-addons__thumb,
  .bonafora-product-addons__thumb img {
    width: 50px;
    height: 50px;
  }

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

  .bonafora-product-addons__name,
  .bonafora-product-addons__desc,
  .bonafora-product-addons__price {
    grid-column: 1;
  }

  .bonafora-product-addons__name {
    grid-row: 1;
  }

  .bonafora-product-addons__desc {
    grid-row: 2;
  }

  .bonafora-product-addons__price {
    grid-row: 3;
    align-self: start;
    margin-top: 3px;
  }
}

/* =========================================================
   Karta produktu — swatche wariantów
   ========================================================= */

body.single-product .bonafora-loop-swatches,
body.single-product .bonafora-full-swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start;
  align-items: center;

  gap: 8px;
  min-height: 42px;
  margin: 10px 0;
}

body.single-product .bonafora-loop-swatch,
body.single-product .bonafora-swatch-more {
  display: inline-flex !important;
  flex: 0 0 40px !important;
  align-items: center;
  justify-content: center;

  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;

  box-sizing: border-box;
  border-radius: 6px;
  line-height: 1;
  text-decoration: none;
}

body.single-product .bonafora-loop-swatch__inner {
  position: relative;
  display: block;

  width: 100%;
  height: 100%;
  box-sizing: border-box;

  border: 1px solid #d8d8d8;
  border-radius: 6px;
}

body.single-product
.bonafora-loop-swatch.is-active
.bonafora-loop-swatch__inner {
  border: 2px solid #111;
}

body.single-product
.bonafora-loop-swatch.is-out-of-stock
.bonafora-loop-swatch__inner {
  opacity: 0.6;
}

body.single-product
.bonafora-loop-swatch.is-out-of-stock
.bonafora-loop-swatch__inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 140%;
  height: 2px;
  background: #111;

  transform: translate(-50%, -50%) rotate(-45deg);
}

body.single-product .bonafora-swatch-more {
  background: #f1f1f1 !important;
  color: #111 !important;
  border: 1px solid #d8d8d8;

  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 768px) {
  body.single-product .bonafora-loop-swatches,
  body.single-product .bonafora-full-swatches {
    gap: 6px;
    min-height: 26px;
  }

  body.single-product .bonafora-loop-swatch,
  body.single-product .bonafora-swatch-more {
    flex-basis: 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
  }

  body.single-product .bonafora-swatch-more {
    font-size: 10px;
  }
}
/* =========================================================
   BONAFORA — POPUP "POWIADOM O DOSTĘPNOŚCI"
   Wtyczka: Back In Stock Notifier + SweetAlert2 Opty-Fix
   ========================================================= */
   body.single-product .cwginstock-subscribe-form,
   body.single-product .cwginstock-subscribe-form *,
   body.single-product .swal2-popup,
   body.single-product .swal2-popup * {
   box-sizing: border-box !important;
}

/* --- 1. RESET I STRUKTURA BAZOWA SWEETALERT2 --- */
body.single-product .swal2-container {
  padding: 0 !important;
}
body.single-product .swal2-container.swal2-center {
  align-items: flex-start !important;
  padding-top: 90px !important;
}
body.single-product .swal2-popup,
body.single-product .swal2-modal,
body.single-product .swal2-show,
body.single-product .swal2-header,
body.single-product .swal2-content,
body.single-product .swal2-html-container,
body.single-product .swal2-actions,
body.single-product .swal2-footer {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* --- 2. GŁÓWNE OKIENKO FORMULARZA (Standard + Swal2) --- */
body.single-product .cwginstock-subscribe-form,
body.single-product .swal2-popup .cwginstock-subscribe-form {
  width: 520px !important;
  max-width: calc(100vw - 40px) !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border: 1px solid #ead8d4 !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16) !important;
  overflow: hidden !important;
  font-family: inherit;
  color: #111111;
}
body.single-product .cwginstock-subscribe-form .panel,
body.single-product .cwginstock-subscribe-form .panel-primary {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
}

/* --- 3. NAGŁÓWEK POPUPU --- */
body.single-product .cwginstock-subscribe-form .panel-heading,
body.single-product .cwginstock-subscribe-form .modal-header,
body.single-product .cwginstock-subscribe-form .cwginstock-panel-heading {
  background: #d9a29b;
  border: 0;
  padding: 28px 34px;
  text-align: center;
}
body.single-product .cwginstock-subscribe-form .panel-heading h4,
body.single-product .cwginstock-subscribe-form .modal-title,
body.single-product .cwginstock-subscribe-form h3,
body.single-product .cwginstock-subscribe-form h4 {
  color: #111111;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

/* --- 4. CIAŁO FORMULARZA & KOMUNIKATY --- */
body.single-product .cwginstock-subscribe-form .panel-body,
body.single-product .cwginstock-subscribe-form .modal-body,
body.single-product .cwginstock-subscribe-form form {
  background: #ffffff;
  padding: 30px 34px 34px;
}
body.single-product .cwginstock-subscribe-form .form-group,
body.single-product .cwginstock-subscribe-form p,
body.single-product .cwginstock-subscribe-form .cwginstock-field {
  margin-bottom: 14px;
}
body.single-product .cwginstock-subscribe-form .cwginstock_success,
body.single-product .cwginstock-subscribe-form .success,
body.single-product .cwginstock-subscribe-form .alert-success {
  background: #f7eee9;
  color: #111111;
  border: 1px solid #ead8d4;
  border-radius: 14px;
  padding: 12px 14px;
}
body.single-product .cwginstock-subscribe-form .cwginstock_error,
body.single-product .cwginstock-subscribe-form .error,
body.single-product .cwginstock-subscribe-form .alert-danger {
  background: #fff1f1;
  color: #9b1c1c;
  border: 1px solid #f0b8b8;
  border-radius: 14px;
  padding: 12px 14px;
}

/* --- 5. POLA INPUT (Standardowe) --- */
body.single-product .cwginstock-subscribe-form input[type="text"],
body.single-product .cwginstock-subscribe-form input[type="email"],
body.single-product .cwginstock-subscribe-form input[type="number"],
body.single-product .cwginstock-subscribe-form .form-control {
  width: 100%;
  height: 54px;
  padding: 12px 18px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #ded8d5;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.single-product .cwginstock-subscribe-form input::placeholder {
  color: #8d8582;
  opacity: 1;
}
body.single-product .cwginstock-subscribe-form input[type="text"]:focus,
body.single-product .cwginstock-subscribe-form input[type="email"]:focus,
body.single-product .cwginstock-subscribe-form input[type="number"]:focus,
body.single-product .cwginstock-subscribe-form .form-control:focus {
  border-color: #d9a29b;
  box-shadow: 0 0 0 3px rgba(217, 162, 155, 0.25);
}

/* --- 6. SPECJALNE POLE TELEFONU (iti / intl-tel-input) --- */
body.single-product .cwginstock-subscribe-form .iti,
body.single-product .cwginstock-subscribe-form .intl-tel-input {
  width: 100% !important;
  position: relative !important;
  display: block !important;
}
body.single-product .cwginstock-subscribe-form input[type="tel"],
body.single-product .cwginstock-subscribe-form .iti input[type="tel"],
body.single-product .cwginstock-subscribe-form .intl-tel-input input[type="tel"] {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  padding-left: 132px !important;
  padding-right: 20px !important;
  border: 1px solid #ded8d5 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  font-size: 16px !important;
  line-height: 54px !important;
  text-align: center !important;
  box-shadow: none !important;
  outline: none !important;
}
body.single-product .cwginstock-subscribe-form input[type="tel"]:focus {
  border-color: #d9a29b !important;
  box-shadow: 0 0 0 3px rgba(217, 162, 155, 0.25) !important;
}

/* Kontener flagi */
body.single-product .cwginstock-subscribe-form .iti__country-container,
body.single-product .cwginstock-subscribe-form .intl-tel-input .flag-container {
  position: absolute !important;
  left: 6px !important;
  top: 6px !important;
  bottom: auto !important;
  transform: none !important;
  height: 42px !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  z-index: 5 !important;
}

/* Pastylka wybranego kraju */
body.single-product .cwginstock-subscribe-form .iti__selected-country,
body.single-product .cwginstock-subscribe-form .iti__selected-flag,
body.single-product .cwginstock-subscribe-form .intl-tel-input .selected-flag,
body.single-product .cwginstock-subscribe-form .iti button.iti__selected-country {
  height: 42px !important;
  min-height: 42px !important;
  min-width: 112px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #ded8d5 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  outline: none !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

/* Reset stanów aktywnego wyboru flagi */
body.single-product .cwginstock-subscribe-form .iti .iti__selected-country:focus,
body.single-product .cwginstock-subscribe-form .iti .iti__selected-country:focus-visible,
body.single-product .cwginstock-subscribe-form .iti .iti__selected-country:active,
body.single-product .cwginstock-subscribe-form .iti button.iti__selected-country:focus,
body.single-product .cwginstock-subscribe-form .iti button.iti__selected-country:focus-visible {
  border: 1px solid #ded8d5 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #ffffff !important;
}
body.single-product .cwginstock-subscribe-form .iti__selected-country:hover,
body.single-product .cwginstock-subscribe-form .iti button.iti__selected-country:hover {
  border-color: #d9a29b !important;
  background: #ffffff !important;
}
body.single-product .cwginstock-subscribe-form .iti .iti__selected-dial-code {
  color: #111111 !important;
  font-weight: 500 !important;
  margin-left: 6px !important;
}
body.single-product .cwginstock-subscribe-form .iti__arrow,
body.single-product .cwginstock-subscribe-form .intl-tel-input .iti-arrow {
  border-top-color: #111111 !important;
}

/* --- 7. ZGODY I LINKI --- */
body.single-product .cwginstock-subscribe-form label,
body.single-product .cwginstock-subscribe-form label span {
  color: #111111;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
}
body.single-product .cwginstock-subscribe-form input[type="checkbox"] {
  accent-color: #d9a29b;
  width: 15px;
  height: 15px;
  margin-right: 8px;
}
body.single-product .cwginstock-subscribe-form a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.single-product .cwginstock-subscribe-form .cwginstock-gdpr,
body.single-product .cwginstock-subscribe-form .cwginstock-terms,
body.single-product .cwginstock-subscribe-form .form-group:has(input[type="checkbox"]) {
  margin-bottom: 22px;
}

/* --- 8. PRZYCISKI (Wewnątrz popupu oraz główny na karcie) --- */
body.single-product .cwginstock-subscribe-form button:not(.close),
body.single-product .cwginstock-subscribe-form input[type="submit"],
body.single-product .cwginstock-subscribe-form .btn:not(.close),
body.single-product .cwginstock-subscribe-form .cwgstock_button,
body.single-product .cwginstock-subscribe-form .cwginstock-subscribe-button,
body.single-product .summary .cwgstock_button, 
body.single-product .summary .cwginstock-subscribe-button, 
body.single-product .entry-summary .cwgstock_button, 
body.single-product button.cwgstock_button, 
body.single-product input.cwgstock_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: #ffffff;
  color: #111111;
  border: 3px solid #111111;
  border-radius: 999px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Przycisk w popupie (Szerokość 100%) */
body.single-product .cwginstock-subscribe-form button:not(.close),
body.single-product .cwginstock-subscribe-form input[type="submit"],
body.single-product .cwginstock-subscribe-form .cwginstock-subscribe-button {
  width: 100%;
  margin-top: 18px;
  padding: 12px 28px;
}

/* Przycisk główny na karcie produktu (Szerokość auto / min 320px) */
body.single-product .summary .cwgstock_button, 
body.single-product .summary .cwginstock-subscribe-button, 
body.single-product .entry-summary .cwgstock_button, 
body.single-product button.cwgstock_button, 
body.single-product input.cwgstock_button {
  width: auto;
  min-width: 320px;
  max-width: 100%;
  padding: 12px 32px;
}

/* Hover dla wszystkich buttonów */
body.single-product .cwginstock-subscribe-form button:not(.close):hover,
body.single-product .cwginstock-subscribe-form input[type="submit"]:hover,
body.single-product .cwginstock-subscribe-form .cwginstock-subscribe-button:hover,
body.single-product .summary .cwgstock_button:hover, 
body.single-product .summary .cwginstock-subscribe-button:hover, 
body.single-product button.cwgstock_button:hover {
  background: #d9a29b;
  color: #ffffff;
  border-color: #d9a29b;
}
/* =========================================================
   POPRAWKA MOBILE — POWIADOMIENIE O DOSTĘPNOŚCI
   ========================================================= */

@media (max-width: 768px) {

  /* Popup ma być ponad nagłówkiem strony */
  body.single-product .swal2-container {
    z-index: 2147483000 !important;
    padding: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* Ustawienie popupu w bezpiecznej odległości od góry */
  body.single-product .swal2-container.swal2-center {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body.single-product .swal2-popup {
    position: relative !important;
    margin: 0 auto !important;
  }

  /* Okno nie może być wyższe od ekranu */
  body.single-product .cwginstock-subscribe-form,
  body.single-product .swal2-popup .cwginstock-subscribe-form {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;

    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;

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

    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  body.single-product .cwginstock-subscribe-form,
  body.single-product .cwginstock-subscribe-form * {
    box-sizing: border-box !important;
  }

  /* Trochę mniejsze odstępy, aby formularz nie był tak wysoki */
  body.single-product .cwginstock-subscribe-form .panel-heading,
  body.single-product .cwginstock-subscribe-form .modal-header,
  body.single-product .cwginstock-subscribe-form .cwginstock-panel-heading {
    padding: 18px 52px 18px 20px !important;
  }

  body.single-product .cwginstock-subscribe-form .panel-body,
  body.single-product .cwginstock-subscribe-form .modal-body,
  body.single-product .cwginstock-subscribe-form form {
    padding: 20px !important;
  }

  body.single-product .cwginstock-subscribe-form .form-group,
  body.single-product .cwginstock-subscribe-form p,
  body.single-product .cwginstock-subscribe-form .cwginstock-field {
    margin-bottom: 11px !important;
  }

  /* Krzyżyk wewnątrz okna, a nie nad nim */
  body.single-product .swal2-close {
    top: 8px !important;
    right: 8px !important;

    width: 36px !important;
    height: 36px !important;

    background: #ffffff !important;
    color: #111111 !important;

    border: 1px solid #ead8d4 !important;
    z-index: 2147483001 !important;
  }

  /* Przycisk wysyłający formularz */
  body.single-product .cwginstock-subscribe-form button:not(.close),
  body.single-product .cwginstock-subscribe-form input[type="submit"],
  body.single-product .cwginstock-subscribe-form .cwgstock_button,
  body.single-product .cwginstock-subscribe-form .cwginstock-subscribe-button {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 14px auto 0 !important;
    padding: 12px 16px !important;

    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Główny przycisk „Powiadom mnie o dostawie” na karcie produktu */
  body.single-product .summary .cwgstock_button,
  body.single-product .summary .cwginstock-subscribe-button,
  body.single-product .summary button.cwg_popup_submit,
  body.single-product .entry-summary .cwgstock_button,
  body.single-product .entry-summary .cwginstock-subscribe-button,
  body.single-product .entry-summary button.cwg_popup_submit {
    display: flex !important;

    width: calc(100% - 24px) !important;
    max-width: 360px !important;
    min-width: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;

    justify-content: center !important;
    box-sizing: border-box !important;
  }
}
/* --- 9. PRZYCISKI ZAMKNIĘCIA (Krzyżyki standardowe i Swal2) --- */
body.single-product .cwg_popup_submit .close,
body.single-product .cwginstock-subscribe-form .close,
body.single-product .cwginstock-subscribe-form button.close {
  background: transparent;
  color: #b7a7a3;
  border: 0;
  box-shadow: none;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
  transition: color 0.2s ease;
}
body.single-product .cwg_popup_submit .close:hover,
body.single-product .cwginstock-subscribe-form .close:hover {
  background: transparent;
  color: #d9a29b;
}

/* Dedykowany zewnętrzny krzyżyk Swal2 floating okrągły */
body.single-product .swal2-close {
  position: absolute !important;
  top: -16px !important;
  right: -16px !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  color: #b7a7a3 !important;
  border: 1px solid #ead8d4 !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
  font-size: 34px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}
body.single-product .swal2-close:hover {
  background: #d9a29b !important;
  color: #ffffff !important;
  border-color: #d9a29b !important;
}


/* =========================================================
   10. KONSOLIDACJA I RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================= */
@media (max-width: 768px) {
  body.single-product .swal2-container.swal2-center {
    padding-top: 70px !important;
  }
  body.single-product .cwg_popup_submit .modal-dialog {
    max-width: calc(100vw - 32px);
    margin: 0 auto;
  }
  body.single-product .cwginstock-subscribe-form,
  body.single-product .swal2-popup .cwginstock-subscribe-form {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    border-radius: 20px !important;
  }
  body.single-product .cwginstock-subscribe-form .panel-heading,
  body.single-product .cwginstock-subscribe-form .modal-header,
  body.single-product .cwginstock-subscribe-form .cwginstock-panel-heading {
    padding: 24px 22px;
  }
  body.single-product .cwginstock-subscribe-form .panel-heading h4,
  body.single-product .cwginstock-subscribe-form h3 {
    font-size: 22px;
  }
  body.single-product .cwginstock-subscribe-form .panel-body,
  body.single-product .cwginstock-subscribe-form form {
    padding: 24px 22px 28px;
  }
  
  /* Inputs Mobile */
  body.single-product .cwginstock-subscribe-form input[type="text"],
  body.single-product .cwginstock-subscribe-form input[type="email"],
  body.single-product .cwginstock-subscribe-form .form-control {
    height: 50px;
    font-size: 15px;
  }
  
  /* Telefon Mobile */
  body.single-product .cwginstock-subscribe-form input[type="tel"] {
    height: 50px !important;
    min-height: 50px !important;
    line-height: 50px !important;
    padding-left: 118px !important;
    font-size: 15px !important;
  }
  body.single-product .cwginstock-subscribe-form .iti__country-container {
    top: 5px !important;
    left: 5px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
  body.single-product .cwginstock-subscribe-form .iti__selected-country,
  body.single-product .cwginstock-subscribe-form .iti button.iti__selected-country {
    height: 40px !important;
    min-height: 40px !important;
    min-width: 104px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
  }

  /* Przycisk w popupie Mobile */
  body.single-product .cwginstock-subscribe-form button:not(.close),
  body.single-product .cwginstock-subscribe-form input[type="submit"],
  body.single-product .cwginstock-subscribe-form .cwginstock-subscribe-button {
    min-height: 52px;
    font-size: 18px;
  }
  
  /* Przycisk na karcie produktu Mobile */
  body.single-product .summary .cwgstock_button, 
  body.single-product .summary .cwginstock-subscribe-button, 
  body.single-product .entry-summary .cwgstock_button,
  body.single-product button.cwgstock_button {
    min-width: 100% !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 12px 24px !important;
    font-size: 18px !important;
  }
  
  /* Krzyżyk Mobile */
  body.single-product .swal2-close {
    top: -12px !important;
    right: -8px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 28px !important;
  }
}
/* =========================================================
   BONAFORA — przycisk "Powiadom mnie o dostawie" na karcie produktu
   normalny + hover
   ========================================================= */

/* Stan normalny */
body.single-product input[type="button"][value*="Powiadom"],
body.single-product input[type="submit"][value*="Powiadom"],
body.single-product button.cwg_popup_submit,
body.single-product input.cwg_popup_submit,
body.single-product a.cwg_popup_submit,
body.single-product button.cwgstock_button,
body.single-product input.cwgstock_button,
body.single-product a.cwgstock_button,
body.single-product button.cwginstock-subscribe-button,
body.single-product input.cwginstock-subscribe-button,
body.single-product a.cwginstock-subscribe-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
 /* min-width: 320px !important; */
  max-width: 100% !important;
  min-height: 56px !important;

  padding: 12px 32px !important;

  background: #ffffff !important;
  color: #111111 !important;

  border: 3px solid #111111 !important;
  border-radius: 999px !important;

  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;

  text-align: center !important;
  text-decoration: none !important;

  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  appearance: none !important;

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

/* Hover */
body.single-product input[type="button"][value*="Powiadom"]:hover,
body.single-product input[type="submit"][value*="Powiadom"]:hover,
body.single-product button.cwg_popup_submit:hover,
body.single-product input.cwg_popup_submit:hover,
body.single-product a.cwg_popup_submit:hover,
body.single-product button.cwgstock_button:hover,
body.single-product input.cwgstock_button:hover,
body.single-product a.cwgstock_button:hover,
body.single-product button.cwginstock-subscribe-button:hover,
body.single-product input.cwginstock-subscribe-button:hover,
body.single-product a.cwginstock-subscribe-button:hover {
  background: #d9a29b !important;
  color: #000000 !important;
  border-color: #d9a29b !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.single-product input[type="button"][value*="Powiadom"],
  body.single-product input[type="submit"][value*="Powiadom"],
  body.single-product button.cwg_popup_submit,
  body.single-product input.cwg_popup_submit,
  body.single-product a.cwg_popup_submit,
  body.single-product button.cwgstock_button,
  body.single-product input.cwgstock_button,
  body.single-product a.cwgstock_button,
  body.single-product button.cwginstock-subscribe-button,
  body.single-product input.cwginstock-subscribe-button,
  body.single-product a.cwginstock-subscribe-button {
    width: 100% !important;
  /*  min-width: 100% !important; */
    min-height: 52px !important;
    padding: 6px 6px !important;
    font-size: 15px !important;
  }
}
/* =========================================================
   POPUP „POWIADOM MNIE” — KRZYŻYK WEWNĄTRZ OKNA NA DESKTOPIE
   ========================================================= */

@media (min-width: 769px) {

  body.single-product .swal2-popup {
    position: relative !important;
  }

  body.single-product .swal2-close {
    position: absolute !important;

    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 0 3px !important;

    background: #ffffff !important;
    color: #8f7d78 !important;

    border: 1px solid #ead8d4 !important;
    border-radius: 50% !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;

    font-size: 30px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    z-index: 9999999 !important;
    transform: none !important;
  }

  body.single-product .swal2-close:hover {
    background: #d9a29b !important;
    color: #ffffff !important;
    border-color: #d9a29b !important;
  }

  /* Zostawia miejsce na krzyżyk w różowym nagłówku */
  body.single-product
  .cwginstock-subscribe-form
  .panel-heading {
    padding-right: 62px !important;
    padding-left: 62px !important;
  }
}
/* =========================================================
   Nagłówek GPSR w zakładce Informacje
   ========================================================= */

body.single-product #gprs-brand-box .gprs-box::before {
  content: "GPSR";

  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0 0 12px;

  color: #111111;
  border-bottom: 1px solid #dddddd;

  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

body.single-product #gprs-brand-box .gprs-box {
  width: 100%;
  margin-top: 18px;
}

body.single-product #gprs-brand-box .gprs-box p {
  margin: 0 0 18px;
}
/* Menu Breakdance nie może wychodzić nad otwartą galerię */
html.lg-on body.single-product .breakdance-menu,
html.lg-on body.single-product .breakdance-dropdown,
html.lg-on body.single-product .breakdance-dropdown-floater {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* =========================================================
   LIGHTGALLERY — GALERIA PRODUKTU DESKTOP
   Minimalna poprawka bez ingerencji w układ zdjęć
   ========================================================= */

@media (min-width: 769px) {

  /*
   * Blokada przewijania strony pod otwartą galerią.
   */
  html.lg-on,
  html.lg-on body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  /*
   * Menu „Regulaminy” znika razem ze swoim miejscem
   * oraz wewnętrznym paskiem przewijania.
   */
  html.lg-on
  body.single-product
  .bf-footer-menu {
    display: none !important;
  }

  /*
   * Galeria nad nagłówkiem i pozostałymi elementami.
   */
  body.single-product .lg-backdrop {
    z-index: 2147482999 !important;

    background-color: #fbf4f2 !important;
    opacity: 1 !important;
  }

  body.single-product .lg-container {
    z-index: 2147483000 !important;
  }

  body.single-product .lg-outer {
    z-index: 2147483001 !important;

    background-color: #fbf4f2 !important;
  }

  /*
   * Pasek narzędzi.
   */
  body.single-product .lg-toolbar {
    z-index: 2147483003 !important;

    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;

    background: transparent !important;
  }

  /*
   * Lupa, pełny ekran i krzyżyk
   * w jednakowym rozmiarze.
   */
  body.single-product
  .lg-toolbar
  .lg-icon {
    width: 40px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 18px !important;
    line-height: 40px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /*
   * Istniejący krzyżyk LightGallery.
   * Nie zmieniamy jego naturalnej pozycji w toolbarze.
   */
  body.single-product
  .lg-toolbar
  button.lg-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    color: #111111 !important;
  }

  body.single-product
  .lg-toolbar
  button.lg-close::after {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body.single-product
  .lg-toolbar
  button.lg-close:hover {
    color: #a65f59 !important;
  }
  /* =========================================================
   LIGHTGALLERY — OSTATNIE DOSTROJENIE DESKTOP
   ========================================================= */

@media (min-width: 769px) {

  /*
   * Podniesienie całego natywnego paska miniaturek.
   * Nie zmieniamy jego wysokości ani mechanizmu LightGallery.
   */
  body.single-product .lg-thumb-outer {
    bottom: 14px !important;
    overflow: visible !important;
  }

  /*
   * Większe ikony i większy odstęp od prawej krawędzi,
   * czyli cały zestaw przesuwa się lekko w lewo.
   */
  body.single-product .lg-toolbar {
    padding-right: 22px !important;
  }

  body.single-product .lg-toolbar .lg-icon {
    width: 46px !important;
    height: 46px !important;

    font-size: 21px !important;
    line-height: 46px !important;
  }

  body.single-product .lg-toolbar button.lg-close {
    width: 46px !important;
    height: 46px !important;
  }

  body.single-product .lg-toolbar button.lg-close::after {
    font-size: 22px !important;
    line-height: 46px !important;
  }
}
}