/* =========================================================
   SAMPLE ORDER MODAL
========================================================= */

#sampleOrderModal .modal-dialog {
  max-width: 1080px;
  margin-top: 30px;
  margin-bottom: 30px;
}

#sampleOrderModal .sample-order-modal {
  position: relative;
  border: 0;
  border-radius: 18px;
  background: #f7f5f0;
  overflow: hidden;
}

#sampleOrderModal .modal-body {
  padding: 0;
}

#sampleOrderModal .sample-order-modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 20;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  opacity: 1;
}


/* =========================================================
   FORM
========================================================= */

.panelis-sample-form {
  font-family: 'Poppins', sans-serif;
  color: #252525;
}


/* =========================================================
   HEADER
========================================================= */

.panelis-sample-form__header {
  padding: 55px 65px 42px;
  background: #eef5eb;
}

.panelis-sample-form__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #5a7d4d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.panelis-sample-form__header h2 {
  margin: 0 0 15px;
  color: #3a5204;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
}

.panelis-sample-form__header p {
  /* max-width: 700px; */
  margin: 0;
  color: #4e554a;
  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   PRICE INFO
========================================================= */

.panelis-sample-form__price-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(58, 82, 4, .12);
  color: #4e554a;
  font-size: 14px;
}

.panelis-sample-form__price-info strong {
  color: #3a5204;
  font-weight: 600;
}


/* =========================================================
   SECTIONS
========================================================= */

.panelis-sample-form__section {
  padding: 38px 65px;
  border-bottom: 1px solid rgba(58, 82, 4, .12);
}

.panelis-sample-form__section h3 {
  margin: 0 0 10px;
  color: #3a5204;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.panelis-sample-form__section-desc {
  margin: 0 0 22px;
  color: #70756d;
  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   PRODUCTS GRID
========================================================= */

.panelis-sample-form__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.panelis-sample-product {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.panelis-sample-product > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.panelis-sample-product__card {
  display: block;
  overflow: hidden;
  border: 1px solid #dddcd6;
  border-radius: 12px;
  background: #fff;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease,
    background-color .25s ease;
}

.panelis-sample-product:hover .panelis-sample-product__card {
  border-color: #9dae96;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 82, 4, .08);
}

.panelis-sample-product > input:checked + .panelis-sample-product__card {
  border-color: #5a7d4d;
  background: #eef5eb;
  box-shadow: inset 0 0 0 1px #5a7d4d;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.panelis-sample-product__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #efeee9;
}

.panelis-sample-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panelis-sample-product__image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.panelis-sample-product__image--empty span {
  color: #7b8177;
  font-size: 32px;
  font-weight: 600;
}


/* =========================================================
   PRODUCT BOTTOM
========================================================= */

.panelis-sample-product__bottom {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 13px 15px;
}

.panelis-sample-product__check {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1.5px solid #abb1a7;
  border-radius: 5px;
  background: #fff;
  transition: all .2s ease;
}

.panelis-sample-product__check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.6);
  transition: all .2s ease;
}

.panelis-sample-product > input:checked
+ .panelis-sample-product__card
.panelis-sample-product__check {
  border-color: #5a7d4d;
  background: #5a7d4d;
}

.panelis-sample-product > input:checked
+ .panelis-sample-product__card
.panelis-sample-product__check::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.panelis-sample-product__name {
  color: #30332f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}


/* =========================================================
   SELECTED COUNT
========================================================= */

.panelis-sample-form__selected-count {
  margin-top: 18px;
  color: #686d65;
  font-size: 13px;
}

.panelis-sample-form__selected-count strong {
  color: #3a5204;
  font-size: 15px;
}


/* =========================================================
   PRODUCTS VALIDATION
========================================================= */

.panelis-sample-form__products-error {
  display: none;
  margin-top: 10px;
  color: #a74537;
  font-size: 12px;
  line-height: 1.5;
}

.panelis-sample-form__products-empty {
  grid-column: 1 / -1;
  padding: 25px;
  border-radius: 10px;
  background: #fff;
  color: #777b73;
  text-align: center;
  font-size: 14px;
}


/* =========================================================
   SUMMARY
========================================================= */

.panelis-sample-form__summary {
  overflow: hidden;
  border: 1px solid #dfded8;
  border-radius: 12px;
  background: #fff;
}

.panelis-sample-form__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid #ecebe7;
}

.panelis-sample-form__summary-row:last-child {
  border-bottom: 0;
}

.panelis-sample-form__summary-row span {
  color: #6d726a;
  font-size: 13px;
}

.panelis-sample-form__summary-row strong {
  color: #30332f;
  font-size: 14px;
  font-weight: 600;
}

.panelis-sample-form__summary-row--total {
  padding-top: 18px;
  padding-bottom: 18px;
  background: #eef5eb;
}

.panelis-sample-form__summary-row--total span {
  color: #3a5204;
  font-size: 15px;
  font-weight: 600;
}

.panelis-sample-form__summary-row--total strong {
  color: #3a5204;
  font-size: 21px;
  font-weight: 700;
}


/* =========================================================
   CUSTOMER + SHIPPING OPTIONS
========================================================= */

.panelis-sample-form__customer-type,
.panelis-sample-form__shipping-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.panelis-sample-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.panelis-sample-option > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.panelis-sample-option > span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px 14px 48px;
  border: 1px solid #dddcd6;
  border-radius: 10px;
  background: #fff;
  color: #30332f;
  font-size: 14px;
  font-weight: 500;
  transition:
    border-color .25s ease,
    background-color .25s ease,
    color .25s ease;
}

.panelis-sample-option > span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1.5px solid #abb1a7;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.panelis-sample-option > span::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a7d4d;
  opacity: 0;
  transform: translateY(-50%) scale(.5);
  transition: .2s ease;
}

.panelis-sample-option > input[type="radio"]:checked + span {
  border-color: #5a7d4d;
  background: #eef5eb;
  color: #3a5204;
}

.panelis-sample-option > input[type="radio"]:checked + span::before {
  border-color: #5a7d4d;
}

.panelis-sample-option > input[type="radio"]:checked + span::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}


/* =========================================================
   FIELDS
========================================================= */

.panelis-sample-form__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
  margin-top: 20px;
}

.panelis-sample-form__fields label:first-child {
  grid-column: 1 / -1;
}

.panelis-sample-form label {
  color: #41463f;
  font-size: 13px;
  font-weight: 500;
}

.panelis-sample-form input[type="text"],
.panelis-sample-form input[type="email"],
.panelis-sample-form input[type="tel"],
.panelis-sample-form input[type="number"],
.panelis-sample-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid #d9d8d2;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: #292929;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.panelis-sample-form input[type="text"],
.panelis-sample-form input[type="email"],
.panelis-sample-form input[type="tel"],
.panelis-sample-form input[type="number"] {
  height: 52px;
}

.panelis-sample-form textarea {
  min-height: 125px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.panelis-sample-form input:focus,
.panelis-sample-form textarea:focus {
  border-color: #5a7d4d;
  box-shadow: 0 0 0 3px rgba(90, 125, 77, .09);
}

.panelis-sample-form input::placeholder,
.panelis-sample-form textarea::placeholder {
  color: #a4a7a1;
}


/* =========================================================
   CONDITIONAL BLOCKS
========================================================= */

[data-sample-company-fields][hidden],
[data-sample-shipping-fields][hidden] {
  display: none !important;
}

.panelis-sample-form__shipping-fields {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(58, 82, 4, .12);
}


/* =========================================================
   CONSENT
========================================================= */

.panelis-sample-form__consent {
  padding: 28px 65px 10px;
}

.panelis-sample-form__consent .wpcf7-list-item {
  margin: 0;
}

.panelis-sample-form__consent label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #676c64;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}

.panelis-sample-form__consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 17px;
  accent-color: #5a7d4d;
}

.panelis-sample-form__consent a {
  color: #3a5204;
  text-decoration: underline;
}


/* =========================================================
   SAMPLE ORDER - SUBMIT BUTTON
========================================================= */

.panelis-sample-form__submit {
  padding: 20px 65px 40px;
  text-align: left;
}

.panelis-sample-form__submit input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 230px;
  height: 52px;

  margin: 0;
  padding: 0 32px;

  border: 0 !important;
  border-radius: 999px !important;

  background: #5a7d4d !important;
  background-image: none !important;

  color: #fff !important;

  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  text-align: center;
  text-decoration: none;

  box-shadow: none !important;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    background-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}


.panelis-sample-form__submit input.wpcf7-submit:hover {
  background: #3a5204 !important;
  color: #fff !important;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(58, 82, 4, .18) !important;
}


.panelis-sample-form__submit input.wpcf7-submit:focus,
.panelis-sample-form__submit input.wpcf7-submit:active {
  background: #3a5204 !important;
  color: #fff !important;

  outline: none;

  box-shadow:
    0 0 0 3px rgba(90, 125, 77, .15) !important;
}


.panelis-sample-form__submit input.wpcf7-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}


.panelis-sample-form__submit .wpcf7-spinner {
  margin-left: 10px;
}


@media (max-width: 767px) {

  .panelis-sample-form__submit input.wpcf7-submit {
    width: 100%;
    min-width: 0;
  }

}


/* =========================================================
   CF7
========================================================= */

.panelis-sample-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: #a74537;
  font-size: 11px;
}

.panelis-sample-form .wpcf7-response-output {
  margin: 20px 65px 40px !important;
  padding: 14px 18px !important;
  border-width: 1px !important;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

  .panelis-sample-form__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 767px) {

  #sampleOrderModal .modal-dialog {
    margin: 10px;
  }

  #sampleOrderModal .sample-order-modal {
    border-radius: 14px;
  }

  #sampleOrderModal .sample-order-modal__close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .panelis-sample-form__header {
    padding: 48px 22px 30px;
  }

  .panelis-sample-form__header h2 {
    padding-right: 38px;
    font-size: 27px;
  }

  .panelis-sample-form__header p {
    font-size: 14px;
  }

  .panelis-sample-form__price-info {
    display: block;
  }

  .panelis-sample-form__price-info > div + div {
    margin-top: 7px;
  }

  .panelis-sample-form__section {
    padding: 28px 22px;
  }

  .panelis-sample-form__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .panelis-sample-product__bottom {
    min-height: 54px;
    padding: 10px;
    gap: 8px;
  }

  .panelis-sample-product__check {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .panelis-sample-product__check::after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
  }

  .panelis-sample-product__name {
    font-size: 12px;
  }

  .panelis-sample-form__customer-type,
  .panelis-sample-form__shipping-type {
    grid-template-columns: 1fr;
  }

  .panelis-sample-form__fields {
    grid-template-columns: 1fr;
  }

  .panelis-sample-form__fields label:first-child {
    grid-column: auto;
  }

  .panelis-sample-form__summary-row {
    padding: 12px 14px;
  }

  .panelis-sample-form__summary-row--total strong {
    font-size: 19px;
  }

  .panelis-sample-form__consent {
    padding: 24px 22px 8px;
  }

  .panelis-sample-form__submit {
    padding: 20px 22px 35px;
  }

  .panelis-sample-form__submit .wpcf7-submit {
    width: 100%;
  }

  .panelis-sample-form .wpcf7-response-output {
    margin: 18px 22px 30px !important;
  }

}
.sample-order-form-wrap .wpcf7 {max-width: 100%;}


/* =========================================================
   SAMPLE PRODUCT COLORS
========================================================= */

.panelis-sample-product__colors {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid #dddcd6;
  border-radius: 12px;
  background: #fff;
}

.panelis-sample-product__colors[hidden] {
  display: none !important;
}

.panelis-sample-product__colors-title {
  margin-bottom: 14px;
  color: #3a5204;
  font-size: 13px;
  font-weight: 600;
}

.panelis-sample-product__colors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}


/* COLOR GROUP */

.panelis-sample-product__color-group {
  grid-column: 1 / -1;
  margin: 10px 0 2px;
  color: #777b73;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.panelis-sample-product__color-group:first-child {
  margin-top: 0;
}


/* COLOR OPTION */

.panelis-sample-product__color-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.panelis-sample-product__color-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.panelis-sample-product__color-option > span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;

  /* miejsce na checkbox po prawej */
  padding: 6px 36px 6px 6px;

  border: 1px solid #e0dfda;
  border-radius: 9px;
  background: #fff;

  transition:
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

/* checkbox */

.panelis-sample-product__color-option > span::before {
  content: "";
  position: absolute;

  right: 11px;
  top: 50%;

  width: 18px;
  height: 18px;

  border: 1.5px solid #abb1a7;
  border-radius: 5px;

  background: #fff;

  transform: translateY(-50%);

  transition:
    border-color .2s ease,
    background-color .2s ease;
}


/* check */

.panelis-sample-product__color-option > span::after {
  content: "";

  position: absolute;

  right: 17px;
  top: 50%;

  width: 6px;
  height: 10px;

  border: solid #fff;
  border-width: 0 2px 2px 0;

  opacity: 0;

  transform:
    translateY(-58%)
    rotate(45deg);

  transition: opacity .2s ease;
}

.panelis-sample-product__color-option:hover > span {
  border-color: #9dae96;
  transform: translateY(-1px);
}

.panelis-sample-product__color-option > input:checked + span {
  border-color: #5a7d4d;
  background: #eef5eb;
  box-shadow: inset 0 0 0 1px #5a7d4d;
}

.panelis-sample-product__color-option > input:checked + span::before {
  border-color: #5a7d4d;
  background: #5a7d4d;
}

.panelis-sample-product__color-option > input:checked + span::after {
  opacity: 1;
}


/* COLOR IMAGE */

.panelis-sample-product__color-image {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  overflow: hidden;
  border-radius: 7px;
  background: #efeee9;
}

.panelis-sample-product__color-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* COLOR NAME */

.panelis-sample-product__color-name {
  display: block;
  padding-right: 5px;
  color: #30332f;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}


/* COLOR ERROR */

.panelis-sample-product__color-error {
  min-height: 0;
  margin-top: 9px;
  color: #a74537;
  font-size: 11px;
  line-height: 1.4;
}


/* =========================================================
   PRODUCT WRAPPER
========================================================= */

.panelis-sample-product {
  align-self: start;
}

.panelis-sample-product__main {
  display: block;
  margin: 0;
  cursor: pointer;
}

.panelis-sample-product__main > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.panelis-sample-product__main > input:checked
+ .panelis-sample-product__card {
  border-color: #5a7d4d;
  background: #eef5eb;
  box-shadow: inset 0 0 0 1px #5a7d4d;
}

.panelis-sample-product__main > input:checked
+ .panelis-sample-product__card
.panelis-sample-product__check {
  border-color: #5a7d4d;
  background: #5a7d4d;
}

.panelis-sample-product__main > input:checked
+ .panelis-sample-product__card
.panelis-sample-product__check::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}


/* =========================================================
   MODAL SCROLL
========================================================= */

#sampleOrderModal {
  --bs-modal-margin: 20px;
}

#sampleOrderModal .modal-dialog {
  max-height: calc(100vh - 40px);
}

#sampleOrderModal .sample-order-modal {
  max-height: calc(100vh - 40px);
}

#sampleOrderModal .modal-body {
  overflow-y: auto;
}


/* =========================================================
   PRODUCTS LAYOUT
========================================================= */

.panelis-sample-form__products {
  align-items: start;
}

.panelis-sample-product__card {
  height: auto;
}


/* =========================================================
   SUMMARY IMPROVEMENT
========================================================= */

.panelis-sample-form__summary {
  box-shadow: 0 5px 20px rgba(58, 82, 4, .04);
}

.panelis-sample-form__summary-row--total {
  border-top: 1px solid rgba(90, 125, 77, .18);
}


/* =========================================================
   PRICE INFO IMPROVEMENT
========================================================= */

.panelis-sample-form__price-info {
  align-items: center;
}

.panelis-sample-form__price-info > div {
  padding: 8px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .45);
}


/* =========================================================
   MOBILE COLORS
========================================================= */

@media (max-width: 767px) {

  .panelis-sample-product__colors {
    padding: 12px;
  }

  .panelis-sample-product__colors-grid {
    grid-template-columns: 1fr;
  }

  .panelis-sample-product__color-option > span {
    min-height: 48px;
  }

  .panelis-sample-product__color-image {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .panelis-sample-product__color-name {
    font-size: 12px;
  }

  .panelis-sample-form__price-info > div {
    display: block;
    margin: 0 0 7px;
  }

}


/* =========================================================
   RADIO BUTTONS FIX
========================================================= */

.panelis-sample-option > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.panelis-sample-option > span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1.5px solid #aeb4aa;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.panelis-sample-option > span::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a7d4d;
  opacity: 0;
  transform: translateY(-50%) scale(0);
  transition:
    opacity .2s ease,
    transform .2s ease;
}

/* zaznaczony radio */

.panelis-sample-option > input[type="radio"]:checked + span::before {
  border-color: #5a7d4d;
  box-shadow: 0 0 0 3px rgba(90, 125, 77, .12);
}

.panelis-sample-option > input[type="radio"]:checked + span::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* dodatkowo podświetlenie pola */

.panelis-sample-option > input[type="radio"]:checked + span {
  border-color: #5a7d4d;
  background: #eef5eb;
}


/* =========================================================
   RADIO BUTTONS - CUSTOMER + SHIPPING
========================================================= */

.panelis-sample-form__customer-type .panelis-sample-option,
.panelis-sample-form__shipping-type .panelis-sample-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;

  min-height: 58px;
  padding: 14px 18px;

  border: 1px solid #dddcd6;
  border-radius: 10px;

  background: #fff;

  cursor: pointer;

  transition:
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease;
}


/* PRAWDZIWY RADIO BUTTON */

.panelis-sample-form__customer-type
.panelis-sample-option > input[type="radio"],
.panelis-sample-form__shipping-type
.panelis-sample-option > input[type="radio"] {

  position: static !important;

  display: block !important;

  width: 18px !important;
  height: 18px !important;

  flex: 0 0 18px;

  margin: 0 !important;

  opacity: 1 !important;

  pointer-events: auto !important;

  appearance: auto;
  -webkit-appearance: radio;

  accent-color: #5a7d4d;

  cursor: pointer;
}


/* tekst */

.panelis-sample-form__customer-type
.panelis-sample-option > span,
.panelis-sample-form__shipping-type
.panelis-sample-option > span {

  display: block;

  min-height: 0;

  padding: 0;

  border: 0;

  background: transparent;

  color: #30332f;

  font-size: 14px;
  font-weight: 500;

  pointer-events: none;
}


/* usuwamy stare sztuczne kółka */

.panelis-sample-form__customer-type
.panelis-sample-option > span::before,
.panelis-sample-form__customer-type
.panelis-sample-option > span::after,
.panelis-sample-form__shipping-type
.panelis-sample-option > span::before,
.panelis-sample-form__shipping-type
.panelis-sample-option > span::after {

  content: none !important;
  display: none !important;
}


/* zaznaczony kafelek */

.panelis-sample-form__customer-type
.panelis-sample-option:has(input[type="radio"]:checked),
.panelis-sample-form__shipping-type
.panelis-sample-option:has(input[type="radio"]:checked) {

  border-color: #5a7d4d;

  background: #eef5eb;

  box-shadow:
    inset 0 0 0 1px #5a7d4d;
}


/* zaznaczony tekst */

.panelis-sample-form__customer-type
.panelis-sample-option:has(input[type="radio"]:checked) > span,
.panelis-sample-form__shipping-type
.panelis-sample-option:has(input[type="radio"]:checked) > span {

  color: #3a5204;
  font-weight: 600;
}


/* hover */

.panelis-sample-form__customer-type
.panelis-sample-option:hover,
.panelis-sample-form__shipping-type
.panelis-sample-option:hover {

  border-color: #9dae96;
}


@media (max-width: 767px) {

  .panelis-sample-form input[type="text"],
  .panelis-sample-form input[type="email"],
  .panelis-sample-form input[type="tel"],
  .panelis-sample-form input[type="number"],
  .panelis-sample-form textarea,
  .panelis-sample-form select {
    font-size: 16px !important;
  }

}


/* =========================================================
   SAMPLE ORDER - SUCCESS SCREEN
========================================================= */

.panelis-sample-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 560px;

  padding: 70px 40px;

  background: #f7f5f0;

  text-align: center;
}


/* ICON */

.panelis-sample-success__icon {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 76px;
  height: 76px;

  margin-bottom: 28px;

  border-radius: 50%;

  background: #eef5eb;
}


/* CHECK */

.panelis-sample-success__icon span {
  position: relative;

  display: block;

  width: 30px;
  height: 17px;

  border-left: 3px solid #5a7d4d;
  border-bottom: 3px solid #5a7d4d;

  transform:
    translateY(-4px)
    rotate(-45deg);
}


/* EYEBROW */

.panelis-sample-success__eyebrow {
  display: block;

  margin-bottom: 12px;

  color: #5a7d4d;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: .1em;
  text-transform: uppercase;
}


/* TITLE */

.panelis-sample-success h2 {
  max-width: 600px;

  margin: 0 0 18px;

  color: #3a5204;

  font-family: 'Poppins', sans-serif;

  font-size: 32px;
  font-weight: 600;

  line-height: 1.25;
}


/* TEXT */

.panelis-sample-success p {
  max-width: 570px;

  margin: 0;

  color: #555c52;

  font-size: 14px;
  line-height: 1.75;
}


.panelis-sample-success__info {
  margin-top: 10px !important;

  color: #747970 !important;

  font-size: 12px !important;
}


/* BUTTON */

.panelis-sample-success__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  height: 52px;

  margin-top: 32px;
  padding: 0 30px;

  border: 0;
  border-radius: 999px;

  background: #5a7d4d;

  color: #fff;

  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;

  line-height: 1;

  cursor: pointer;

  transition:
    background-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}


.panelis-sample-success__close:hover {
  background: #3a5204;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(58, 82, 4, .18);
}


/* MOBILE */

@media (max-width: 767px) {

  .panelis-sample-success {
    min-height: calc(100vh - 20px);

    padding: 60px 24px;
  }


  .panelis-sample-success__icon {
    width: 68px;
    height: 68px;

    margin-bottom: 24px;
  }


  .panelis-sample-success h2 {
    font-size: 26px;
  }


  .panelis-sample-success__close {
    width: 100%;

    margin-top: 28px;
  }

}