/* =========================================================
   PANELIS PRODUCT ORDER FORM
   File: product-order.css
========================================================= */


/* =========================================================
   MODAL
========================================================= */

#productOrderModal .wpcf7 {
  max-width: 100%;
}

#productOrderModal .modal-dialog {
  max-width: 1180px;
  margin-top: 24px;
  margin-bottom: 24px;
  max-height: calc(100vh - 48px);
}

#productOrderModal .modal-dialog-centered {
  align-items: flex-start;
}

#productOrderModal .product-order-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  border: 0;
  border-radius: 18px;
  background: #f7f5f0;
  overflow: hidden;
}

#productOrderModal .modal-body {
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  max-height: calc(100vh - 48px);
}

#productOrderModal .btn-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 30;
  width: 42px;
  height: 42px;
  margin: 0 !important;
  padding: 0;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  opacity: 1;
}


/* =========================================================
   GENERAL
========================================================= */

.panelis-order-form {
  font-family: 'Poppins', sans-serif;
  color: #252525;
}

.panelis-order-form *,
.panelis-order-form *::before,
.panelis-order-form *::after {
  box-sizing: border-box;
}

.panelis-order-form [hidden] {
  display: none !important;
}


/* =========================================================
   HEADER
========================================================= */

.panelis-order-form__header {
  padding: 42px 48px 34px;
  background: #eef5eb;
}

.panelis-order-form__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #5a7d4d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.panelis-order-form__header h2,
.panelis-order-customer__header h2 {
  margin: 0;
  color: #3a5204;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.panelis-order-form__header h2 {
  margin-bottom: 10px;
  padding-right: 42px;
  font-size: 30px;
  line-height: 1.2;
}

.panelis-order-form__header p {
  max-width: 760px;
  margin: 0;
  color: #4e554a;
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   CONFIGURATOR
========================================================= */

.panelis-order-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: stretch;
  gap: 24px;
  padding: 24px 32px 32px;
}

.panelis-order-configurator__main {
  min-width: 0;
}

.panelis-order-configurator__side {
  position: relative;
  min-width: 0;
}

.panelis-order-current {
  position: sticky;
  top: 20px;
  padding: 24px;
  border: 1px solid rgba(58, 82, 4, .14);
  border-radius: 14px;
  background: #fff;
  z-index: 5;
}

.panelis-order-current .panelis-order-form__eyebrow {
  margin-bottom: 16px;
}

.panelis-order-form__current-price {
  min-height: 70px;
  margin-bottom: 20px;
  color: #30332f;
  font-size: 13px;
  line-height: 1.6;
}

.panelis-order-form__current-price strong {
  display: block;
  margin-top: 4px;
  color: #3a5204;
  font-size: 21px;
  line-height: 1.2;
}


/* =========================================================
   SECTIONS
========================================================= */

.panelis-order-form__section {
  padding: 26px 28px;
  margin: 0 0 14px;
  border: 1px solid rgba(58, 82, 4, .10);
  border-radius: 14px;
  background: #fff;
}

.panelis-order-form__section--compact {
  padding-top: 22px;
  padding-bottom: 22px;
  margin-bottom: 12px;
}

.panelis-order-form__section h3 {
  margin: 0 0 16px;
  color: #3a5204;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.panelis-order-form__section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.panelis-order-form__section-heading h3 {
  margin: 0;
}

.panelis-order-form__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #eef5eb;
  color: #5a7d4d;
  font-size: 11px;
  font-weight: 700;
}

.panelis-order-form__label {
  display: block;
  margin-bottom: 6px;
  color: #73786f;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
}


/* =========================================================
   PRODUCT
========================================================= */

.panelis-order-form__product {
  padding-top: 20px;
  padding-bottom: 20px;
}

.panelis-order-form__product-name {
  color: #3a5204;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}


/* =========================================================
   OPTIONS - BASE
========================================================= */

.panelis-order-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.panelis-order-option input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.panelis-order-option > span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 11px 14px 11px 43px;
  border: 1px solid #dddcd6;
  border-radius: 9px;
  background: #fff;
  color: #30332f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  transition:
    border-color .2s ease,
    background-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.panelis-order-option > span::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 1.5px solid #abb1a7;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.panelis-order-option > span::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a7d4d;
  opacity: 0;
  transform: translateY(-50%) scale(.5);
  transition: .18s ease;
}

.panelis-order-option:hover > span {
  border-color: #9dae96;
  transform: translateY(-1px);
}

.panelis-order-option input[type="radio"]:checked + span,
.panelis-order-option input[type="radio"]:checked ~ span {
  border-color: #5a7d4d;
  background: #eef5eb;
  color: #3a5204;
}

.panelis-order-option input[type="radio"]:checked + span::before,
.panelis-order-option input[type="radio"]:checked ~ span::before {
  border-color: #5a7d4d;
}

.panelis-order-option input[type="radio"]:checked + span::after,
.panelis-order-option input[type="radio"]:checked ~ span::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}


/* =========================================================
   SIZES
========================================================= */

.panelis-order-form__sizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.panelis-order-size-option {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panelis-order-size-option__dimension {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
}

.panelis-order-size-option__price {
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
  color: #3a5204;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}


/* =========================================================
   CUT TO LENGTH
========================================================= */

.panelis-order-form__cut {
  margin-top: 12px;
}

.panelis-order-cut-toggle {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 14px;
  margin: 0;
  border: 1px solid #dddcd6;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color .2s ease,
    background-color .2s ease;
}

.panelis-order-cut-toggle:hover {
  border-color: #9dae96;
}

.panelis-order-cut-toggle input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  flex: 0 0 17px;
  accent-color: #5a7d4d;
}

.panelis-order-cut-toggle span {
  color: #30332f;
  font-size: 13px;
  font-weight: 500;
}

.panelis-order-cut-toggle:has(input[type="checkbox"]:checked) {
  border-color: #5a7d4d;
  background: #eef5eb;
}

.panelis-order-form__cut-fields {
  margin-top: 10px;
}

.panelis-order-form__cut-info {
  margin-top: 7px;
  color: #73786f;
  font-size: 11px;
  line-height: 1.4;
}


/* =========================================================
   CONDITIONAL BOXES
========================================================= */

.panelis-order-form__conditional {
  margin-top: 12px;
  padding: 16px;
  border-radius: 10px;
  background: #eef5eb;
}


/* =========================================================
   INDIVIDUAL SIZE
========================================================= */

.panelis-order-form__dimensions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.panelis-order-form__individual-meta {
  display: flex;
  gap: 30px;
  margin-top: 14px;
}

.panelis-order-form__individual-meta > div {
  min-width: 100px;
}

.panelis-order-form__individual-meta strong {
  color: #30332f;
  font-size: 14px;
}

.panelis-order-form__individual-range {
  margin-top: 12px;
  color: #73786f;
  font-size: 11px;
  line-height: 1.5;
}

.panelis-order-form__individual-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(58, 82, 4, .12);
}

.panelis-order-form__individual-price span {
  color: #73786f;
  font-size: 11px;
}

.panelis-order-form__individual-price strong {
  color: #3a5204;
  font-size: 18px;
}


/* =========================================================
   COLORS
========================================================= */

.panelis-order-form__colors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.panelis-order-form__color-group {
  grid-column: 1 / -1;
  margin: 12px 0 2px;
  color: #73786f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.panelis-order-form__color-group:first-child {
  margin-top: 0;
}

.panelis-order-form__colors .panelis-order-option > span {
  min-height: 56px;
  padding: 6px;
}

.panelis-order-form__colors .panelis-order-option > span::before,
.panelis-order-form__colors .panelis-order-option > span::after {
  display: none;
}

.panelis-order-color-option {
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.panelis-order-color-option__image {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f1ed;
}

.panelis-order-color-option__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panelis-order-color-option__name {
  display: block;
  min-width: 0;
  padding-right: 3px;
  color: inherit;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.panelis-order-form__colors
.panelis-order-option
input[type="radio"]:checked
+ .panelis-order-color-option {
  border-color: #5a7d4d;
  background: #eef5eb;
  box-shadow: inset 0 0 0 1px #5a7d4d;
}


/* =========================================================
   LABELS + INPUTS
========================================================= */

.panelis-order-form label {
  color: #41463f;
  font-size: 12px;
  font-weight: 500;
}

.panelis-order-form input[type="text"],
.panelis-order-form input[type="email"],
.panelis-order-form input[type="tel"],
.panelis-order-form input[type="number"],
.panelis-order-form textarea {
  width: 100%;
  margin-top: 6px;
  padding-left: 13px;
  padding-right: 13px;
  border: 1px solid #d9d8d2;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #292929;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.panelis-order-form input[type="text"],
.panelis-order-form input[type="email"],
.panelis-order-form input[type="tel"],
.panelis-order-form input[type="number"] {
  height: 46px;
}

.panelis-order-form textarea {
  min-height: 100px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

.panelis-order-form input:focus,
.panelis-order-form textarea:focus {
  border-color: #5a7d4d;
  box-shadow: 0 0 0 3px rgba(90, 125, 77, .08);
}

.panelis-order-form input::placeholder,
.panelis-order-form textarea::placeholder {
  color: #a4a7a1;
}


/* =========================================================
   QUANTITY
========================================================= */

.panelis-order-form__quantity-row {
  max-width: 220px;
}


/* =========================================================
   ADD BUTTON
========================================================= */

.panelis-order-form__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #5a7d4d;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.panelis-order-form__add-btn:hover {
  background: #3a5204;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(58, 82, 4, .14);
}


/* =========================================================
   CART
========================================================= */

.panelis-order-form__cart {
  margin: 0 32px 14px;
}

.panelis-order-form__cart-items {
  display: grid;
  gap: 10px;
}


/* =========================================================
   SUMMARY
========================================================= */

.panelis-order-form__summary {
  margin: 0 32px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: #eef5eb;
}

.panelis-order-form__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  font-size: 13px;
}

.panelis-order-form__summary-row strong {
  color: #30332f;
}

.panelis-order-form__summary-row--total {
  margin-top: 5px;
  padding-top: 13px;
  border-top: 1px solid rgba(58, 82, 4, .16);
}

.panelis-order-form__summary-row--total strong {
  color: #3a5204;
  font-size: 20px;
}

.panelis-order-form__summary-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: #73786f;
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   CUSTOMER AREA
========================================================= */

.panelis-order-customer {
  margin: 0 32px 32px;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
}

.panelis-order-customer__header {
  margin-bottom: 24px;
}

.panelis-order-customer__header h2 {
  margin-top: 3px;
  font-size: 24px;
  line-height: 1.25;
}


/* =========================================================
   FIELDS
========================================================= */

.panelis-order-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panelis-order-form__fields label:first-child {
  grid-column: 1 / -1;
}

.panelis-order-form__fields--contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panelis-order-form__fields--contact label:first-child {
  grid-column: auto;
}

.panelis-order-form__fields--address {
  grid-template-columns: 2fr .7fr .7fr 1fr 1.4fr;
}

.panelis-order-form__fields--address label:first-child {
  grid-column: auto;
}

.panelis-order-field--wide {
  min-width: 0;
}


/* =========================================================
   CUSTOMER TYPE + SHIPPING TYPE
========================================================= */

.panelis-order-form__customer-type,
.panelis-order-form__shipping-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.panelis-order-form__customer-type .panelis-order-option > span,
.panelis-order-form__shipping-type .panelis-order-option > span {
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
}


/* =========================================================
   SHIPPING FIELDS
========================================================= */

.panelis-order-form__shipping-fields {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(58, 82, 4, .12);
}


/* =========================================================
   FOOTER
========================================================= */

.panelis-order-form__footer {
  padding: 0 32px 34px;
}

.panelis-order-form__consent {
  padding: 0 0 18px;
}

.panelis-order-form__consent .wpcf7-list-item {
  margin: 0;
}

.panelis-order-form__consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: #676c64;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}

.panelis-order-form__consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 16px;
  accent-color: #5a7d4d;
}

.panelis-order-form__consent a {
  color: #3a5204;
  text-decoration: underline;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.panelis-order-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-order-form__submit input.wpcf7-submit:hover {
  background: #3a5204 !important;
  background-image: none !important;

  color: #fff !important;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(58, 82, 4, .18) !important;
}


.panelis-order-form__submit input.wpcf7-submit:focus,
.panelis-order-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;
}


/* CF7 disabled state while sending */

.panelis-order-form__submit input.wpcf7-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}


/* CF7 spinner */

.panelis-order-form__submit .wpcf7-spinner {
  margin-left: 10px;
}


/* MOBILE */

@media (max-width: 767px) {

  .panelis-order-form__submit input.wpcf7-submit {
    width: 100%;
    min-width: 0;
  }

}


/* =========================================================
   CF7 VALIDATION
========================================================= */

.panelis-order-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  color: #a74537;
  font-size: 10px;
}

.panelis-order-form .wpcf7-response-output {
  margin: 18px 32px 28px !important;
  padding: 12px 16px !important;
  border-width: 1px !important;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.panelis-order-form .wpcf7-spinner {
  vertical-align: middle;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  #productOrderModal .modal-dialog {
    max-width: calc(100% - 30px);
  }

  .panelis-order-configurator {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .panelis-order-current {
    position: static;
  }

  .panelis-order-configurator__side {
    max-width: none;
  }

  .panelis-order-form__colors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .panelis-order-form__fields--contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panelis-order-form__fields--contact label:first-child {
    grid-column: 1 / -1;
  }

  .panelis-order-form__fields--address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  #productOrderModal .modal-dialog {
    max-width: none;
    margin: 8px;
  }

  #productOrderModal .product-order-modal {
    border-radius: 14px;
  }

  #productOrderModal .btn-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }


  .panelis-order-form__header {
    padding: 40px 18px 24px;
  }

  .panelis-order-form__header h2 {
    font-size: 25px;
  }

  .panelis-order-form__header p {
    font-size: 13px;
  }


  .panelis-order-configurator {
    gap: 12px;
    padding: 14px;
  }


  .panelis-order-form__section {
    padding: 20px 16px;
    margin-bottom: 10px;
  }


  .panelis-order-form__sizes {
    grid-template-columns: 1fr;
  }


  .panelis-order-form__colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panelis-order-color-option__image {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .panelis-order-color-option__name {
    font-size: 10px;
  }


  .panelis-order-form__dimensions {
    grid-template-columns: 1fr;
  }


  .panelis-order-form__individual-meta {
    gap: 18px;
  }


  .panelis-order-form__quantity-row {
    max-width: 100%;
  }


  .panelis-order-form__cart,
  .panelis-order-form__summary,
  .panelis-order-customer {
    margin-left: 14px;
    margin-right: 14px;
  }

  .panelis-order-customer {
    padding: 18px;
  }


  .panelis-order-form__fields,
  .panelis-order-form__fields--contact,
  .panelis-order-form__fields--address {
    grid-template-columns: 1fr;
  }

  .panelis-order-form__fields label:first-child,
  .panelis-order-form__fields--contact label:first-child,
  .panelis-order-form__fields--address label:first-child {
    grid-column: auto;
  }


  .panelis-order-form__customer-type,
  .panelis-order-form__shipping-type {
    grid-template-columns: 1fr;
  }


  .panelis-order-form__summary-info {
    display: block;
  }

  .panelis-order-form__summary-info span {
    display: block;
    margin-top: 3px;
  }


  .panelis-order-form__footer {
    padding: 0 14px 26px;
  }


  .panelis-order-form__submit .wpcf7-submit {
    width: 100%;
  }


  .panelis-order-form .wpcf7-response-output {
    margin: 16px 14px 24px !important;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .panelis-order-form__colors {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .panelis-order-form__colors .panelis-order-option > span {
    min-height: 52px;
    padding: 5px;
  }

  .panelis-order-color-option {
    gap: 6px;
  }

  .panelis-order-color-option__image {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

}


/* =========================================================
   CART ITEM
========================================================= */

.panelis-order-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px;
  border: 1px solid rgba(58, 82, 4, .12);
  border-radius: 10px;
  background: #fff;
}

.panelis-order-cart-item__name {
  margin-bottom: 7px;
  color: #3a5204;
  font-size: 15px;
  font-weight: 600;
}

.panelis-order-cart-item__detail {
  display: inline-block;
  margin-right: 15px;
  color: #73786f;
  font-size: 13px;
}

.panelis-order-cart-item__detail strong {
  color: #30332f;
  font-weight: 500;
}

.panelis-order-cart-item__price {
  min-width: 130px;
  text-align: right;
}

.panelis-order-cart-item__price span {
  display: block;
  color: #73786f;
  font-size: 10px;
}

.panelis-order-cart-item__price strong {
  display: block;
  margin-top: 3px;
  color: #3a5204;
  font-size: 16px;
}

.panelis-order-cart-item__remove {
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: #a74537;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  cursor: pointer;
}

.panelis-order-cart-item__remove:hover {
  text-decoration: underline;
}


@media (max-width: 767px) {

  .panelis-order-cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .panelis-order-cart-item__price {
    text-align: left;
  }

  .panelis-order-cart-item__remove {
    justify-self: start;
    padding-left: 0;
  }

}


@media (min-width: 992px) {

  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address {
    grid-template-columns:
      minmax(0, 2fr)
      minmax(0, 1.3fr)
      95px
      95px
      120px
      minmax(150px, 1.2fr);

    align-items: end;
  }


  /* Imię / nazwa odbiorcy */
  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address
  label:nth-child(1) {
    grid-column: 1 / 4;
  }


  /* Telefon */
  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address
  label:nth-child(2) {
    grid-column: 4 / 7;
  }


  /* Ulica */
  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address
  label:nth-child(3) {
    grid-column: 1 / 3;
  }


  /* Nr budynku */
  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address
  label:nth-child(4) {
    grid-column: 3;
  }


  /* Nr lokalu */
  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address
  label:nth-child(5) {
    grid-column: 4;
  }


  /* Kod pocztowy */
  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address
  label:nth-child(6) {
    grid-column: 5;
  }


  /* Miejscowość */
  .panelis-order-form__shipping-fields
  .panelis-order-form__fields--address
  label:nth-child(7) {
    grid-column: 6;
  }

}

.wpcf7 .wpcf7-form p {
  margin-bottom: 0;
}

@media (max-width: 767px) {

  .panelis-order-form input[type="text"],
  .panelis-order-form input[type="email"],
  .panelis-order-form input[type="tel"],
  .panelis-order-form input[type="number"],
  .panelis-order-form textarea,
  .panelis-order-form select {
    font-size: 16px !important;
  }

}

/* =========================================================
   PRODUCT ORDER - SUCCESS SCREEN
========================================================= */

.panelis-order-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-order-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 76px;
  height: 76px;

  margin-bottom: 28px;

  border-radius: 50%;

  background: #eef5eb;
}


.panelis-order-success__icon span {
  display: block;

  width: 30px;
  height: 17px;

  border-left: 3px solid #5a7d4d;
  border-bottom: 3px solid #5a7d4d;

  transform:
    translateY(-4px)
    rotate(-45deg);
}


/* EYEBROW */

.panelis-order-success__eyebrow {
  display: block;

  margin-bottom: 12px;

  color: #5a7d4d;

  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;

  letter-spacing: .1em;
  text-transform: uppercase;
}


/* TITLE */

.panelis-order-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-order-success p {
  max-width: 590px;

  margin: 0;

  color: #555c52;

  font-family: 'Poppins', sans-serif;
  font-size: 14px;

  line-height: 1.75;
}


.panelis-order-success__info {
  margin-top: 10px !important;

  color: #747970 !important;

  font-size: 12px !important;
}


/* BUTTON */

.panelis-order-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-order-success__close:hover {
  background: #3a5204;

  color: #fff;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(58, 82, 4, .18);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .panelis-order-success {
    min-height: calc(100vh - 20px);

    padding: 60px 24px;
  }


  .panelis-order-success__icon {
    width: 68px;
    height: 68px;

    margin-bottom: 24px;
  }


  .panelis-order-success h2 {
    font-size: 26px;
  }


  .panelis-order-success__close {
    width: 100%;

    margin-top: 28px;
  }

}