/* FrissAuto checkout/cart/account production polish. */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
  --fa-checkout-yellow: #ffd400;
  --fa-checkout-bg: #0b0e11;
  --fa-checkout-panel: #12171c;
  --fa-checkout-panel-2: #171d23;
  --fa-checkout-border: #303841;
  --fa-checkout-text: #f4f6f8;
  --fa-checkout-muted: #9ba5af;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-account .woocommerce {
  padding: clamp(18px, 3vw, 36px) 0 54px;
  color: var(--fa-checkout-text);
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  border: 1px solid var(--fa-checkout-border);
  border-top: 3px solid var(--fa-checkout-yellow);
  border-radius: 8px;
  background: var(--fa-checkout-panel);
  color: var(--fa-checkout-text);
}

body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account form.login,
body.woocommerce-account form.register {
  border-color: var(--fa-checkout-border);
}

body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: 24px;
  align-items: start;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  min-width: 0;
}

body.woocommerce-checkout #customer_details {
  display: grid;
  gap: 18px;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout #order_review,
body.woocommerce-cart .cart_totals,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account form.login,
body.woocommerce-account form.register {
  width: 100%;
  float: none;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--fa-checkout-border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--fa-checkout-panel-2), var(--fa-checkout-panel));
  box-shadow: 0 16px 44px rgba(0, 0, 0, .18);
}

body.woocommerce-checkout #order_review_heading {
  grid-column: 2;
  margin: 0 0 -14px;
  padding: 0;
  color: var(--fa-checkout-text);
  font-size: 20px;
}

body.woocommerce-checkout #order_review {
  grid-column: 2;
  position: sticky;
  top: 150px;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
  grid-column: 1;
}

body.woocommerce-checkout h3,
body.woocommerce-cart h2,
body.woocommerce-account h2 {
  color: var(--fa-checkout-text);
}

body.woocommerce-checkout .form-row label,
body.woocommerce-account .form-row label {
  margin-bottom: 6px;
  color: #dfe4e8;
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-checkout .form-row .required {
  color: var(--fa-checkout-yellow);
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-account input.input-text,
body.woocommerce-account textarea,
body.woocommerce-account select,
body.woocommerce-cart input.input-text {
  min-height: 46px;
  border: 1px solid #4a535d;
  border-radius: 7px;
  background: #f5f7f8;
  color: #121518;
  box-shadow: none;
}

body.woocommerce-checkout textarea,
body.woocommerce-account textarea {
  min-height: 110px;
  resize: vertical;
}

body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-account input.input-text:focus,
body.woocommerce-account textarea:focus,
body.woocommerce-account select:focus,
body.woocommerce-cart input.input-text:focus {
  outline: 3px solid rgba(255, 212, 0, .24);
  outline-offset: 1px;
  border-color: var(--fa-checkout-yellow);
}

body.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 46px;
  border: 1px solid #4a535d;
  border-radius: 7px;
  background: #f5f7f8;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  color: #121518;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

body.woocommerce-checkout table.shop_table,
body.woocommerce-cart table.shop_table {
  border-color: var(--fa-checkout-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, .12);
  color: var(--fa-checkout-text);
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td,
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
  border-color: rgba(255, 255, 255, .08);
}

body.woocommerce-checkout #payment {
  border: 1px solid var(--fa-checkout-border);
  border-radius: 8px;
  background: #0e1216;
}

body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment div.form-row {
  border-color: var(--fa-checkout-border);
}

body.woocommerce-checkout #payment div.payment_box {
  border-radius: 6px;
  background: #20272e;
  color: #e8ecef;
}

body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #20272e;
}

body.woocommerce-checkout #place_order,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart button.button,
body.woocommerce-account button.button,
body.woocommerce-account a.button {
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: var(--fa-checkout-yellow) !important;
  color: #090b0d !important;
  font-weight: 900;
  text-transform: none;
  box-shadow: none;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart button.button:hover,
body.woocommerce-account button.button:hover,
body.woocommerce-account a.button:hover {
  filter: brightness(.94);
  transform: translateY(-1px);
}

.fa-checkout-trust {
  margin: 0 0 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 212, 0, .35);
  border-radius: 8px;
  background: rgba(255, 212, 0, .07);
  color: #e8ecef;
}

.fa-checkout-trust strong {
  display: block;
  margin-bottom: 7px;
  color: var(--fa-checkout-yellow);
  font-size: 13px;
}

.fa-checkout-trust ul {
  margin: 0;
  padding-left: 18px;
  color: #b7c0c8;
  font-size: 12px;
  line-height: 1.55;
}

.fa-commerce-progress {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--fa-checkout-border);
  border-radius: 9px;
  background: var(--fa-checkout-panel);
}

.fa-commerce-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--fa-checkout-text);
}

.fa-commerce-progress-head > span {
  color: var(--fa-checkout-yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fa-commerce-progress-head strong,
.fa-commerce-progress-copy {
  font-size: 12px;
  line-height: 1.45;
}

.fa-commerce-progress-copy {
  margin-top: 6px;
  color: var(--fa-checkout-muted);
}

.fa-commerce-progress-meter {
  width: 100%;
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #252b31;
}

.fa-commerce-progress-meter::-webkit-progress-bar {
  background: #252b31;
}

.fa-commerce-progress-meter::-webkit-progress-value {
  background: var(--fa-checkout-yellow);
}

.fa-commerce-progress-meter::-moz-progress-bar {
  background: var(--fa-checkout-yellow);
}

.fa-commerce-progress-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #76818b;
  font-size: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  padding: 12px;
  border: 1px solid var(--fa-checkout-border);
  border-radius: 9px;
  background: var(--fa-checkout-panel);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 11px;
  border-radius: 6px;
  color: #d6dce1;
  text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(255, 212, 0, .1);
  color: var(--fa-checkout-yellow);
}

@media (max-width: 960px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
    grid-column: 1;
  }

  body.woocommerce-checkout #order_review_heading {
    margin: 4px 0 -6px;
  }

  body.woocommerce-checkout #order_review {
    position: static;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-account .woocommerce {
    padding-top: 12px;
  }

  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2,
  body.woocommerce-checkout #order_review,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account form.login,
  body.woocommerce-account form.register {
    padding: 14px;
    border-radius: 8px;
  }

  .fa-commerce-progress-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout #place_order,
  body.woocommerce-cart .checkout-button,
  body.woocommerce-cart button.button,
  body.woocommerce-account button.button,
  body.woocommerce-account a.button {
    transition: none;
  }
}
