/*
Theme Name:     Hello-elementor-child
Theme URI:      
Description:    Hello-elementor child theme.
Author:         Me
Author URI:     
Template:       hello-elementor
Version:        0.1.0
*/

.wcpf-field-box-list .wcpf-box-list .wcpf-box-item {
  height: 35px !important;
  line-height: 35px !important;
  width: auto !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  font-size: 14px !important;
}

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.coupon,
.woocommerce-form-coupon-toggle {
  display: none !important;
}
.woocommerce-checkout label {
  margin-bottom: 10px !important;
}

.woocommerce-checkout .woocommerce-error {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 30px !important;
  padding-right: 10px !important;
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
}

.col-sm-12 {
  clear: both;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  display: flex;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  height: 42px !important;
}

.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea {
  border-color: #ced4da !important;
  height: 44px !important;
}

.woocommerce-input-wrapper textarea {
  height: 100px !important;
}

.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper textarea:focus {
  border-color: var(--e-global-color-secondary) !important;
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(196, 4, 63, 0.1) !important;
}

[name="update_cart"],
[name="woocommerce_checkout_place_order"] {
  background: #44b65b !important;
  border-color: #44b65b !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

[name="woocommerce_checkout_place_order"] {
  height: 50px;
  font-size: 19px;
}

[name="update_cart"] {
  display: none;
}

.product-remove svg {
  width: 15px;
  height: 15px;
}

/* cart */
.woocommerce-cart-form__contents {
  width: 100%;
}

.woocommerce-checkout-review-order-table {
  font-size: 16px;
}

.woocommerce-cart-form__contents td,
.woocommerce-cart-form__contents th {
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: transparent !important;
  text-align: left;
  vertical-align: middle;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
}

.woocommerce-cart-form__contents td:not(.product-thumbnail),
.woocommerce-cart-form__contents th:not(.product-thumbnail) {
  padding-left: 10px;
  padding-right: 10px;
}

.woocommerce-cart-form__contents th:not(.product-thumbnail) {
  padding-top: 3px;
  padding-bottom: 3px;
}

.woocommerce-cart-form__contents .form-control,
.woocommerce-cart-form__contents .count-picker {
  height: 38px !important;
}

.woocommerce-cart-form__contents .product-remove {
  width: 50px;
}

.woocommerce-cart-form__contents .product-thumbnail {
  width: 80px;
}

.woocommerce-cart-form__contents .product-thumbnail .product-image {
  position: relative;
  width: 75px;
  height: 75px;
  aspect-ratio: 1 / 1;
}

.woocommerce-cart-form__contents .product-thumbnail .product-image img {
  width: 75px;
  height: 75px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.woocommerce table.shop_table {
  border: 0 !important;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  float: none;
  width: 100%;
}

.woocommerce-cart-form__contents thead th {
  border-bottom: 1px solid #ced4da !important;
}

.woocommerce-cart-form .woocommerce-Price-amount {
  color: #000;
  font-size: 16px;
}

.cart_item .product-name a {
  font-size: 16px;
  color: #000;
}

.filters-open {
  display: block !important;
}

.woocommerce-price-suffix {
  color: #a5a5a5;
  font-weight: 400;
}

.woocommerce-cart-form__contents .product-subtotal,
.woocommerce-cart-form__contents .product-price,
.woocommerce-cart-form__contents .product-quantity {
  width: 130px;
}

.woocommerce-cart-form__contents tr + tr td {
  border-top: 1px solid #ced4da;
}

td.actions {
  padding: 10px 0 !important;
}

td.actions .button {
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  width: auto;
}

td.actions > .button {
  float: right;
}

.coupon {
  display: flex;
  align-items: center;
  float: left;
}

.coupon label {
  display: none;
}

.coupon .input-text,
.coupon .button {
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  width: auto;
  white-space: nowrap;
}

.woocommerce-checkout h3 {
  margin-bottom: 20px;
  color: var(--e-global-color-secondary);
  font-weight: 700;
}

.woocommerce-checkout .form-row {
  display: block;
  margin-left: 0;
  margin-right: 0;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-weight: bold;
}

.woocommerce-checkout .form-row .required {
  color: var(--e-global-color-secondary);
}

.woocommerce-checkout .select2-selection .select2-selection__rendered {
  padding-left: 0;
}

.woocommerce-checkout .select2-selection .select2-selection__arrow {
  top: 50%;
  margin-top: 2px;
  right: 20px;
  transform: translateY(-50%);
}

.woocommerce-checkout
  .select2-container--default
  .select2-results__option--highlighted[aria-selected],
.woocommerce-checkout
  .select2-container--default
  .select2-results__option--highlighted[data-selected] {
  background-color: var(--e-global-color-secondary);
}

.woocommerce-checkout .form-row-first {
  float: left;
  width: 49% !important;
}

.woocommerce-checkout .form-row-last {
  width: 49% !important;
  float: right;
}

.woocommerce-checkout .form-row-wide {
  clear: both;
  width: 100% !important  ;
}

.woocommerce-checkout .woocommerce-input-wrapper {
  display: block;
}

.woocommerce-checkout #shipping_address_2_field,
.woocommerce-checkout #billing_address_2_field {
  display: none !important;
}

.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
  color: #000;
  display: flex;
  align-items: center;
}

.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox
  [type="checkbox"] {
  margin-right: 10px;
}

.order-review {
  margin-top: 20px;
  margin-bottom: 50px;
  padding: 30px;
  background-color: #f8f9fa;
  max-width: 600px;
}

.order-review table {
  width: 100%;
}

.order-review table th,
.order-review table td {
  vertical-align: top;
  width: 50%;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
  background-color: transparent !important;
  text-align: left;
}

.order-review .order-total td,
.order-review .order-total th {
  vertical-align: bottom;
}

.order-review .order-total strong {
  font-size: 20px;
  color: var(--e-global-color-secondary);
}

.woocommerce-shipping-methods {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.woocommerce-shipping-methods input[type="radio"] {
  position: relative;
  top: -2px;
}

.woocommerce-shipping-methods > li {
  display: flex;
  align-items: center;
}

.woocommerce-shipping-methods > li + li {
  margin-top: 10px;
}

.woocommerce-shipping-methods > li label {
  margin-bottom: 0;
}

.woocommerce-shipping-methods > li input {
  margin-right: 10px;
  margin-top: -5px !important;
  width: 20px;
  height: 20px;
}

.wc_payment_methods {
  background-color: #e9ecef;
  list-style: none;
  padding: 20px;
  margin-top: 20px;
  margin: 20px 0 0 0;
  margin-bottom: 20px;
}

.wc_payment_methods .input-radio {
  margin-right: 0 !important;
  width: 20px;
  height: 20px;
  position: relative;
  top: 0px !important;
}

.wc_payment_methods .payment_box {
  padding: 10px;
  background-color: #ced4da;
  font-size: 14px;
}

.wc_payment_methods .payment_box p:last-child {
  margin-bottom: 0;
}

.wc_payment_methods input[type="radio"] {
  position: relative;
  top: -2px;
}

.wc_payment_methods input[type="radio"]:checked + label {
  font-weight: 700;
}

.wc_payment_methods label {
  margin-left: 10px;
}

.wc_payment_methods li + li {
  margin-top: 10px;
}

/* Media Queries */
@media (max-width: 767.98px) {
  .woocommerce-cart-form__contents {
    margin-bottom: 0 !important;
  }

  .woocommerce-cart-form__contents thead {
    display: none;
  }

  .woocommerce-cart-form__contents tr,
  .woocommerce-cart-form__contents td {
    display: block;
    text-align: right;
  }

  .woocommerce-cart-form__contents .product-thumbnail:before {
    display: none;
  }

  .woocommerce-cart-form__contents .product-name.product-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
  }

  .woocommerce-cart-form__contents td:not(.actions):not(.product-name) {
    display: flex;
    align-items: center;
    width: 100% !important;
    justify-content: space-between;
    height: 40px;
  }

  .woocommerce-cart-form__contents td[data-title]::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    float: left;
    font-size: 13px;
    text-transform: uppercase;
  }

  .woocommerce-cart-form__contents td:not(.product-thumbnail) {
    padding-left: 0;
    padding-right: 0;
  }

  .woocommerce-cart-form__contents tr {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .woocommerce-cart-form__contents .product-quantity {
    display: flex !important;
    align-items: center !important;
  }

  .woocommerce-cart-form__contents .quantity {
    margin-left: auto !important;
  }

  .woocommerce-cart-form__contents .count-picker,
  .woocommerce-cart-form__contents .form-control {
    height: 40px !important;
  }

  .woocommerce-cart-form__contents tr + tr td {
    border-top: 1px solid #ced4da !important;
  }

  .woocommerce-cart-form__contents .product-remove {
    justify-content: center !important;
  }

  .woocommerce-cart-form__contents .product-thumbnail {
    height: auto !important;
    justify-content: flex-start !important;
  }

  .woocommerce-cart-form__contents .product-thumbnail .product-image {
    width: auto;
  }

  td.actions .button {
    width: 100%;
  }

  .coupon .input-text,
  .coupon .button {
    width: 100%;
  }

  [name="update_cart"] {
    display: none !important;
    margin-top: 20px;
  }

  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100%;
    float: none;
  }

  .order-review {
    padding: 10px;
  }

  .wc_payment_methods {
    padding: 10px;
  }
}

.count-picker {
  width: 100px !important;
  display: flex !important;
  height: 54px !important;
}

.count-picker-control {
  width: 70px !important;
  height: 54px !important;
  border-right: 0 !important;
  border-color: #ced4da !important;
}

.count-picker-buttons {
  width: 30px !important;
  display: flex !important;
  flex-direction: column !important;
}

.count-picker-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  padding: 0 !important;
  width: 30px !important;
  font-size: 12px !important;
  border-radius: 0 !important;
  margin-left: 0 !important;
  flex: 1 !important;
  background: #ced4da !important;
  color: #000 !important;
}

.count-picker-button:hover {
  background: #e4e4e4 !important;
}

.count-picker-button:focus {
  box-shadow: none !important;
}

.count-picker-button + .count-picker-button {
  margin-top: 1px !important;
}
