/*

Theme Name: Pro &ndash; Child Theme
Theme URI: https://theme.co/pro/
Author: Themeco
Author URI: https://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro

*/

.woocommerce-checkout .amount {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/* =========================================================
   Checkout – buttons, steps, forms
   ========================================================= */

body:has(.woocommerce-checkout),
body:has(.woocommerce-checkout) input, 
body:has(.woocommerce-checkout) button, 
body:has(.woocommerce-checkout) select, 
body:has(.woocommerce-checkout) textarea {
  font-family: "Inter",sans-serif;
  color:#000;
}

.woocommerce-checkout abbr {
  text-decoration: none!important;
}
.woocommerce-checkout h3
 {
   font-family: "Inter",sans-serif;
   color:#000!important;
   font-weight: 600!important;
   padding-top: 0!important;
   letter-spacing: 0!important;
   text-transform: none!important;
  }

.fc-checkout-step--prev-step-complete,.fc-checkout-step--next-step-complete {
  border:1px #ddd solid !important;
  padding-left: 1em!important;
  padding-right: 1em!important;
  padding-top: 0.5em!important;
}

.woocommerce-checkout .fc-checkout-step:not(.fc-checkout-step--prev-step-complete,.fc-checkout-step--next-step-complete) h3 {
  font-size: calc(0.6vmin + 1.2em) !important;
}

.has-checkout-layout--multi-step.woocommerce-checkout form .fc-wrapper .fc-checkout-step[data-step-complete] .fc-step__substep .fc-step__substep-title::before {
  display: none!important;
}
.has-checkout-layout--multi-step.woocommerce-checkout form .fc-wrapper .fc-checkout-step[data-step-complete] .fc-step__substep .fc-step__substep-title {
  padding-left: 0!important;
}
.woocommerce-checkout label {
  font-weight: 500;
  color:#111;
}

.woocommerce-checkout a {
  color:#000000;
}


.woocommerce-checkout a:hover {
  color:#444444;
}
.woocommerce-checkout #place_order {
  background: #000;
  border-radius: var(--radius-l);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  height: auto;
  padding: 0.6em 1.2em;
  transition: background 0.1s ease-in-out !important;
  font-size: 1.3em;
  color: #fff !important;
  text-transform: none!important;
}

.woocommerce-checkout #place_order:hover {
  background: #444;
}


.widget > .payment-notice {
  border: none;
  padding: 1rem;
  font-weight: 400!important;
  text-align: left;
  border-radius: var(--radius-l);
  border: 1px #ddd solid;
}

.widget > .payment-notice h5 {
  
  color:#000;
  font-family: "Inter", sans-serif;
  font-weight:700;
  font-size: 1.1em;
  margin: 0 ;
  padding: 1rem 1rem 0.25rem;
  width: auto;
  display: inline-block;
  text-transform: none;
  letter-spacing: 0.1px;
}

.widget > .payment-notice p {
  margin: 0;
  padding: 0;
  color:#222;
  font-size:0.9em;
}


/* =========================================================
   Checkout steps
   ========================================================= */

.woocommerce-checkout .fc-step,
.woocommerce-checkout .fc-step__substep {
  border-radius: var(--radius-l) !important;
  padding-top: var(--pad-l) !important;
}

.woocommerce-checkout .fc-step__substep-title {
  letter-spacing: 1px;
  color: #000 !important;
}

/* Step navigation buttons */
.woocommerce-checkout button.fc-step__next-step.button,
.woocommerce-checkout button.fc-step__substep-save.button {
  background: #000;
  height: auto;
  font-size: 1.2em;
  font-weight: 400;
  color: #fff;
  border-radius: var(--radius-l);
  line-height: 1.5;
}

.woocommerce-checkout button.fc-step__next-step.button:hover,
.woocommerce-checkout button.fc-step__substep-save.button:hover {
  background: #222;
}

/* =========================================================
   Payment methods & shipping radios
   ========================================================= */



.woocommerce-checkout
.fc-wrapper #payment
.payment_methods > .wc_payment_method
> input[name="payment_method"]:checked + label::before,
.woocommerce-checkout
ul#shipping_method
.shipping-method__option input[type="radio"]:checked
+ .shipping-method__option-label::before {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
}


.woocommerce-checkout
ul#shipping_method
.shipping-method__option
.shipping-method__option-price {
  min-width: 30% !important;
}

.woocommerce-checkout .shipping-method__option-price {
  font-size: 10px;
}

.woocommerce-checkout .shipping-method__option-price .amount {
  font-size: 1rem;
}

/* =========================================================
   Checkout form fields & errors
   ========================================================= */

.woocommerce-checkout
.woocommerce form .form-row .input-checkbox {
  margin-top: -0.5em;
  height: 1em;
}

.woocommerce-checkout .fc-checkbox-label-text {
  font-size: 0.7em;
  opacity: 0.8;
}

.woocommerce-checkout
div.woocommerce .form-row .fc-inline-error {
  border-radius: 0.5em;
  background: #eee;
  width: auto;
  color: #000;
}

.woocommerce-checkout
div.woocommerce
.fc-expansible-form-section.form-row
.form-row {
  width: 100% !important;
}

/* Misc */


header.fc-checkout-header {
  box-shadow: none!important;
  border-bottom: 1px #ddd solid;
}



.fc-checkout__cart-link-wrapper > a {
  box-shadow: none!important;
  border-color:#ddd!important;
}

@media (max-width: 400px) {
  .fc-checkout-header .fc-checkout__branding img {
    max-width: 128px!important;
  }
}

@media (min-width: 1000px) {
  .fc-checkout-header .fc-checkout__branding img {
    width: 256px!important;
  }
  .fc-checkout-header .fc-checkout__branding {
    margin: 0 auto;
  }
}
.woocommerce-message {
text-align: center;
font-size: 0.8em;
  padding-top: 1em;
  padding-bottom: 1em;
}


.fc-progress-bar {
  border-top: 1px #ddd solid!important;
  padding-top: 0!important;
}
.fc-progress-bar, .fc-progress-bar.is-sticky .fc-progress-bar__inner {
  border-bottom: 1px #ddd solid!important;
}

@media (min-width:1000px) {
  .fc-progress-bar {
    border:none!important;
  }
}

/* =========================================================
   Terms & conditions
   ========================================================= */

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  font-size: 14px;
  max-width: 36em;
  margin: 0 0 1em 0 !important;
}

.woocommerce-checkout
.woocommerce-terms-and-conditions-wrapper .input-checkbox {
  margin-top: -0.2em !important;
  height: 1em;
}

.woocommerce-checkout
.woocommerce-form__label.woocommerce-form__label-for-checkbox:has(
  .woocommerce-terms-and-conditions-checkbox-text
) {
  padding: 1em 0;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: var(--radius-m);
  margin-top: 1em !important;
}
.fc-sidebar {
  padding-bottom: 1px;
}
.fc-checkout-footer {
  background: #fff!important;
  border-top: 1px #ddd solid!important;
  margin-top:-0px
}

body.woocommerce-checkout .fc-content {
  padding-bottom: 0!important;
}
.fc-checkout-footer .widget_block {
  width: 100%;
}
.checkout-footer-links {
  padding: 2em 0;
  font-size: 0.8em;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 1em;
}
.checkout-footer-links a {
  color:#555;
  text-decoration: underline;
  text-decoration-color: #555!important;
}

/* =========================================================
   Geberak
   ========================================================= */

.woocommerce-checkout {
  color:#555;
  font-weight:400
}


/* inputs */

.woocommerce-checkout .woocommerce-input-wrapper {
  color:#111111!important;
}
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper textarea {
  border-radius: 0.5em!important;
  border:1px #ccc solid;
  overflow: hidden !important;
}
.woocommerce-checkout .select2 .select2-selection,
.woocommerce-checkout .select2 .select2-dropdown {
  border-radius: 0.5em!important;
  overflow:hidden!important;
}

.woocommerce-checkout .select2-container--open .select2-selection {
  border-radius: 0.5em 0.5em 0 0 !important;
  border-bottom: none!important;
}

.woocommerce-checkout .select2-container--open .select2-dropdown--below {
  border-radius: 0 0 0.5em 0.5em!important;
  border: 1px #ccc solid;
}
.woocommerce-checkout form
.form-row.woocommerce-validated:not([class*="woocommerce-invalid"]):not(.fc-no-validation-icon)
.woocommerce-input-wrapper::after {
  top: calc(
    (var(--fluidcheckout--field--height, 45.625px) / 2)
    - (24px / 2)
    - 0.125em
  ) !important;
}

.woocommerce-checkout .select2-search__field {
  border-radius: 0.25em;
}
.woocommerce-checkout. select2-search__field {
  color:#333;
}
.woocommerce-checkout .select2-search__field:focus-visible {
  outline:none!important;
}
.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected], .woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected] {
  background:#78c4ed;
  color:#000!important;
}

body.has-highlighted-billing-section div.woocommerce form .fc-step__substep[data-substep-id="billing_address"],
.woocommerce-checkout .iti__selected-country {
  background: transparent!important;
}


.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
  background:transparent!important;
  border:none!important;
}
div.woocommerce .fc-wrapper #order_review table.woocommerce-checkout-review-order-table .product-quantity {
  background:#000!important;
}

.cart-item__element.cart-item__name {
  color:#000!important;
  font-weight: 500
}

div.woocommerce .fc-wrapper #order_review table.woocommerce-checkout-review-order-table .order-total th {
  text-transform: none!important;
}

/* style hitpay payment icons */

.fc-wrapper #payment ul.payment_methods > li.wc_payment_method > label .payment-method__label-icon {
  width: auto !important;
  line-height:1 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hitpay-payment-gateway-form .payment-labels,
.hitpay-payment-gateway-form .payment-labels-container {
  padding: 0 !important;
  margin: 0 !important;
}
.hitpay-payment-gateway-form .payment-labels-container {
  margin-right: 5px !important;
}
.form-row.hitpay-payment-gateway-form {
  display: flex!important;
  flex-direction: row!important;
  flex-wrap:nowrap !important;
}

/* fix payment boxes */

.wc-payment-form {
  padding: 10px;
}

.payment_box > p {
  margin-top: 0!important;
  padding: 10px!important;
}



.woocommerce-checkout-review-order-table tr.fee {
  display: none!important;
}

.fc-coupon-code-messages ul {
  list-style-type: none;
}
.fc-coupon-code-messages ul li {
  padding: 10px;
  border: 1px #cc0000 solid;
  color:#cc0000;
  border-radius: var(--radius-m)
}
.fc-wrapper .fc-coupon-code-messages .woocommerce-error li .fc-coupon-code-message-dismiss {
  top: 10px!important;
  right: 10px!important;
  color:#cc0000;
  text-decoration: underline;
}



/* Checkout Discount */

.total-discount {
    padding: 5px 10px 4px;
    border: 1px #000 solid;
    margin: 10px 0 0;
    text-align: center;
    border-radius: 2em;
    font-size: 12px;
    width: auto;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
}

.cart-discount.coupon-sub25 th {
    vertical-align: top!important;
}

.woofc-area .total-discount {
    display: block;
}

.woofc-area .woofc-coupon-added-right {
    text-align: right;
}