/*
Theme Name:   Salient Child
Description:  Child theme for Salient theme
Author:       Woptima
Template:     salient
Version:      1.1.3
*/

/* 
Import parent theme styles 
Note: This will be handled by functions.php for better performance
*/


.w-100 {
  width: 100%;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mt-2 {
  margin-top: 16px;
}

.mr-1 {
  margin-right: 8px;
}

.pt-1 {
  padding-top: 8px !important;
}

.form-pad {
  padding: 3px;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

button {
  border: none;
  outline: none;
}

.woocommerce .select2-selection.select2-selection--single {
  padding: 0 !important;
}

body[data-fancy-form-rcs="1"] .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 2px !important;
}

/* Radio button styling */
.woocommerce input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px; 
  height: 1px;
  overflow: hidden; 
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
}

.woocommerce input[type="radio"] + label {
  position: relative;
  padding-left: 2rem;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.woocommerce input[type="radio"] + label::before {
  content: "";
  position: absolute;
  left: .25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.8rem;
  height: 0.8rem;
  box-shadow: 0 0 0 2px #1e90ff;
  border-radius: 50%;
  opacity: .85;
  border: 3px solid white;
}

.woocommerce input[type="radio"]:checked + label::before {
  opacity: 1;
  background: #1e90ff;
}

.woocommerce input[type="radio"]:focus-visible + label,
.woocommerce input[type="radio"][name^="payment_method"]:focus-visible + label {
  outline: 2px solid #1e90ff;
  outline-offset: 2px;
  border-radius: .5rem;
}

html body input[type=radio]+label.wc-stripe-label-payment-type, 
html body label.wc-stripe-label-klarna-category, 
html body label.wc-stripe-label-payment-type {
  padding-left: 2.5rem !important;
 }

html body input.wc-stripe-klarna-category:checked+label.wc-stripe-label-klarna-category:before, 
html body input.wc-stripe-payment-type:checked+label.wc-stripe-label-payment-type:before {
  background: #1e90ff;
}
html body label.wc-stripe-label-klarna-category:before, 
html body label.wc-stripe-label-payment-type:before {
  width: 14px;
  height: 14px; 
  margin-left: 8px;
  box-shadow: 0 0 0 2px #1e90ff;
}

.woocommerce input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  margin-left: 0;
  margin-top: 0;
}

tr.woocommerce-shipping-totals.shipping {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
tr.woocommerce-shipping-totals.shipping th {
  min-width: 130px;
}
tr.woocommerce-shipping-totals.shipping td {
  width: calc(100% - 130px);
  min-width: 350px;
  margin-left: 0 !important;
  padding-left: 0 !important;
  max-width: 400px;
}

.max-400 {
  max-width: 400px;
}

.line-divider {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.border-dashed {
  border-style: dashed !important;
}

.woocommerce-columns {
  display: flex;
  flex-direction: column;
}

.woocommerce-customer-details .woocommerce-column.woocommerce-column--1 {
  width: 100%;
  max-width: 100%;
  flex: 1;
}
.woocommerce-customer-details .woocommerce-column.woocommerce-column--2 {
  width: 100%;
  max-width: 100%;
  flex: 1;
  margin-top: 16px;
}

@media (min-width: 769px) {
  .woocommerce-columns {
    flex-direction: row;
    align-items: stretch;
  } 
  .woocommerce-customer-details .woocommerce-column.woocommerce-column--1 {
    margin-right: 8px;
    display: flex;
    flex-direction: column;
  }
  .woocommerce-customer-details .woocommerce-column.woocommerce-column--2 address {
    flex: 5;
  }
  .woocommerce-customer-details .woocommerce-column.woocommerce-column--2 {
    margin-top: 0;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
  }
  .woocommerce-customer-details .woocommerce-column.woocommerce-column--2 address {
    flex: 5;
  }
}

.woocommerce-order-overview.woocommerce-thankyou-order-details {
  margin: 0 0 3em;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details > li {
  padding: 8px 16px !important;
  margin: 0 !important;
  min-width: 100px;
}

.woocommerce-cart .wc-block-cart__payment-options {
  display: none !important;
}