 {
  width: 17px;
  margin-left: 10px;
  position: relative;
  top: 6px;
}
#config-cart ul {
  font-size: 14px;
  margin-bottom: 15px;
}
.remove-config {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
}
.brikol-mini-cart {
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin-left: 15px;
}

.brikol-mini-cart-icon {
  margin-top: 2px;
}
.brikol-mini-cart-icon svg {
  margin-top: 2px;
  margin-left: 2px;
  width: 16px;
}

.brikol-mini-cart-badge {
  position: relative;
  top: -3px;
  right: 0;
  background: #f91c0a;
  color: white;
  font-size: 12px;
  padding: 1px 1px;
  border-radius: 50%;
  font-weight: bold;
  width: 21px;
  display: inline-block;
  height: 21px;
  text-align: center;
}
.remove-config:hover {
  background-color: #c82333;
}

.config-thumbnail:not(.thumbnail-visible) {
  display: none !important;
}
.config-thumbnail.thumbnail-visible {
  display: block !important;
}
#company_name,
#company_address {
  background: #f8f9fa;
}
#configurator-steps-table {
  width: 100%;
}
#brikol-configurator[data-product="Wyślij zapytanie"]
  #configurator-steps-table {
  display: none;
}
#brikol-configurator {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Lewa kolumna - kroki konfiguratora */
#configurator-steps-container {
  flex: 1;
}
#configurator-steps {
  flex: 1;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.brikol-configurator-progress {
  margin: 10px 0 20px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.brikol-configurator-progress__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.brikol-configurator-progress__label {
  font-weight: 700;
  color: #2d3748;
}

.brikol-configurator-progress__percent {
  color: #555;
  font-weight: 600;
}

.brikol-configurator-progress__bar {
  width: 100%;
  height: 10px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
}

.brikol-configurator-progress__bar-fill {
  width: 0;
  height: 100%;
  background: #f91c0a;
  border-radius: 999px;
  transition: width 180ms ease;
}

.configurator-step {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: white;
}

.configurator-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.config-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-wrapper {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 5px;
  background: #fff;
}

.config-option {
  background: #fff;
  color: #2d3748;
  border: none;
  box-shadow: 0 0 8px #00000061;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.14s;
}

.config-option:hover {
  color: #2d3748;
  background: #fff;
  box-shadow: 0 0 2px #000;
}

.config-option.selected {
  color: #fff;
  background-color: #2d3748;
  box-shadow: 0 0 2px #000;
}

/* Prawa kolumna - miniaturka + podsumowanie */
#configurator-summaries {
  width: 50%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 755px) {
  #configurator-summaries {
    width: 100%;
  }
}
#configurator-summary {
  width: 100%;
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.config-thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: none;
}

/* Stylizacja podsumowania */
#selected-options {
  width: 100%;
  border-top: 2px solid #2d3748;
  padding-top: 15px;
}

.selected-option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.selected-option:hover {
  background: #f0f0f0;
}

.option-wrapper {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 5px;
  background: #fff;
  margin-bottom: 10px;
}

.option-price {
  font-weight: bold;
  color: #0073e6;
  margin-top: 5px;
}

.option-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: bold;
  align-items: center;
  cursor: pointer;
}

.option-arrow {
  font-size: 16px;
  color: #2d3748;
  transition: transform 0.3s ease;
}

.option-description {
  display: none;
  padding: 10px;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
  margin-top: 5px;
}

/* Przycisk Cofnij / Wyślij */
#back-step,
#submit-config,
#edit-config,
#forward-step,
#edit-config {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}

.config-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.config-buttons-row {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-direction: column;
}

.config-buttons-row #forward-step {
  flex: 0 0 auto;
  width: auto;
  min-width: 160px;
}

.config-buttons-row .brikol-call-cta {
  flex: 1 1 auto;
  width: auto;
  display: none;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  background: #ffffff;
  color: #2d3748;
  border: 1px solid #2d3748;
  text-decoration: none;
  width: 100%;
}

.config-buttons-row .brikol-call-cta:hover {
  background: #d4ac0d;
}

.brikol-call-cta__text {
  font-weight: 600;
  line-height: 1.2;
}

.brikol-call-cta__phone {
  font-weight: 800;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .config-buttons-row {
    flex-direction: column;
  }

  .config-buttons-row #forward-step {
    width: 100%;
    min-width: 100%;
  }
}
.config-buttons * {
}
.config-buttons #submit-config {
}
#edit-config,
#forward-step {
  background: #f91c0a;
  color: white;
  border: none;
}

#edit-config:hover,
#forward-step:hover {
  background: #900407;
}

#back-step {
  background: #edd918;
  color: black;
  border: none;
}

#back-step:hover {
  background: #d4ac0d;
}

#submit-config {
  background: #28a745;
  color: white;
  border: none;
  display: none;
  min-width: 100%;
}

#submit-config:hover {
  background: #218838;
}
#inquiry-form-container {
  margin: auto;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #ddd;
}

#inquiry-form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

#inquiry-form input,
#inquiry-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#inquiry-form button {
  width: 100%;
  background: #28a745;
  color: white;
  padding: 10px;
  border: none;
  margin-top: 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

#inquiry-form button:hover {
  background: #218838;
}

.brikol-configurator-active .summary.entry-summary {
  width: 100% !important;
  float: none !important;
}

/* Wersja mobilna dla #brikol-configurator */
@media (max-width: 768px) {
  #brikol-configurator {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
  }
  #configurator-steps-container {
    width: 100%;
  }
  /* Kroki konfiguratora - pełna szerokość */
  #configurator-steps {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
  }

  .configurator-step {
    padding: 10px;
    font-size: 16px;
  }

  /* Opcje konfiguratora */
  .config-options {
    flex-direction: column;
    gap: 5px;
  }

  .option-wrapper {
    padding: 8px;
    font-size: 14px;
  }

  .config-option {
    font-size: 14px;
    padding: 8px 12px;
  }

  /* Podsumowanie konfiguracji - pełna szerokość */
  #configurator-summary {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
  }

  .config-thumbnail {
    max-width: 100%;
    margin-bottom: 15px;
  }

  #selected-options {
    padding-top: 10px;
  }

  .selected-option {
    padding: 6px 8px;
    font-size: 14px;
  }

  .option-price {
    font-size: 14px;
  }

  .option-header {
    font-size: 14px;
  }

  .option-arrow {
    font-size: 14px;
  }

  .option-description {
    font-size: 12px;
  }

  /* Przycisk Cofnij / Wyślij */
  #back-step,
  #submit-config {
    padding: 12px;
    font-size: 14px;
  }

  /* Formularz zapytania - responsywność */
  #inquiry-form-container {
    max-width: 100%;
    padding: 15px;
  }

  #inquiry-form label {
    font-size: 14px;
  }

  #inquiry-form input,
  #inquiry-form textarea {
    padding: 8px;
    font-size: 14px;
  }

  #inquiry-form button {
    font-size: 14px;
    padding: 12px;
  }
}

/* Wersja bardzo mobilna (np. telefony poniżej 480px szerokości) */
@media (max-width: 480px) {
  #brikol-configurator {
    padding: 5px;
    gap: 10px;
  }

  .config-option {
    font-size: 13px;
    padding: 6px 10px;
  }

  .option-wrapper {
    padding: 6px;
  }

  #configurator-summary {
    padding: 10px;
  }

  .selected-option {
    font-size: 13px;
    padding: 5px 7px;
  }

  #back-step,
  #submit-config {
    font-size: 13px;
    padding: 10px;
  }

  #inquiry-form input,
  #inquiry-form textarea {
    font-size: 13px;
    padding: 6px;
  }

  #inquiry-form button {
    font-size: 13px;
    padding: 10px;
  }
}
