/*
Theme Name:     Woodmart-child
Theme URI:
Description:    Woodmart child theme.
Author:         Me
Author URI:
Template:       woodmart
Version:        0.1.2
*/
body {
  --wd-form-bg: #f9f9f9;
  --wd-form-brd-radius: 12px;
  --wd-form-brd-width: 1px;
  --wd-form-brd-color: #EAECF0;
  --wd-primary-color: #7b5cdc;
  --btn-accented-bgcolor: #7b5cdc;
}

html, body {
  font-family: "Rubik", "sans-serif";
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", sans-serif;
}

h2, h3 {
  font-size: 26px;
  line-height: 48px;
  font-weight: 600;
  font-style: normal;
}

a {
  transition: all 0.3s ease;
}
a:hover {
  color: #7b5cdc;
}

header {
  background: #F9F9F9;
}
header .whb-top-bar {
  background: linear-gradient(287deg, rgb(123, 92, 220) 0%, rgb(148, 125, 216) 100%);
}
header .whb-top-bar .whb-top-bar-inner {
  justify-content: center;
  font-weight: 400;
}
header .whb-top-bar .whb-top-bar-inner .whb-col-right, header .whb-top-bar .whb-top-bar-inner .whb-col-center {
  display: none;
}
header .wd-header-cart {
  border-radius: 12px;
  background-color: #7b5cdc;
  color: #fff;
  padding: 8px 35px;
  transition: 0.3 all ease;
  cursor: pointer;
}
header .wd-header-cart a {
  color: #fff;
}
header .wd-header-cart a .wd-tools-count.wd-cart-number {
  inset-inline-end: -15px;
  background: transparent;
}
header .wd-header-cart:hover {
  transform: scale(0.9);
  background: #FFAB2A;
}
header .wd-header-cart:hover a {
  color: #fff;
}
header .whb-general-header {
  background: #F9F9F9;
}
header .whb-general-header:not(.whb-with-bg) {
  background: #F9F9F9;
}
header .wd-header-nav .menu-item .woodmart-nav-link:hover {
  color: #7b5cdc;
}
header .wd-header-nav .menu-item .woodmart-nav-link:hover .nav-link-text {
  color: #7b5cdc;
}

.woocommerce .woocommerce-checkout .amount {
  color: #1e1e2f;
  font-weight: normal;
}
.woocommerce .woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce .woocommerce-checkout #order_review_heading {
  line-height: 48px;
  font-style: normal;
  text-align: left;
  font-size: 26px;
  font-weight: 300;
}

.woocommerce .checkout-order-review {
  border: 1px solid #EAECF0;
  border-radius: 12px;
  position: relative;
  padding: 0px;
}
.woocommerce .checkout-order-review:before, .woocommerce .checkout-order-review:after {
  content: none;
}
.woocommerce .checkout-order-review__background-overlay {
  position: absolute;
  background-color: transparent;
  background-image: radial-gradient(at center center, rgba(215, 40, 40, 0) 0%, #F9F9F9 80%);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 1;
  background-size: 100%;
  background-position: unset;
  box-sizing: border-box;
  z-index: 20;
}
.woocommerce .checkout-order-review__content {
  z-index: 100;
  position: relative;
  background-position: -5px -3px;
  background-size: 4% auto;
  background-image: url("/wp-content/themes/woodmart-child/assets/images/dot-pattern.png");
  padding: 15px 0;
}
.woocommerce .checkout-order-review__content .wd-table-wrapper {
  background-color: transparent;
}
.woocommerce .checkout-order-review__content .woocommerce-checkout-payment {
  padding: 15px 25px;
}
.woocommerce .checkout-order-review #order_review_heading {
  padding: 0 25px 30px 25px;
  border-bottom: 1px dashed #cecece;
  margin-bottom: 20px;
}
.woocommerce .checkout-order-review #order_review .wd-table-wrapper {
  padding: 0;
  border: none;
  box-shadow: none;
}
.woocommerce .checkout-order-review #order_review .wd-table-wrapper tr {
  border-bottom: none;
}
.woocommerce .checkout-order-review #order_review .wd-table-wrapper tfoot th {
  font-weight: normal;
  font-size: 16px;
  padding-left: 25px;
}
.woocommerce .checkout-order-review #order_review .wd-table-wrapper tfoot .order-topay th, .woocommerce .checkout-order-review #order_review .wd-table-wrapper tfoot .order-topay td, .woocommerce .checkout-order-review #order_review .wd-table-wrapper tfoot .order-total th, .woocommerce .checkout-order-review #order_review .wd-table-wrapper tfoot .order-total td {
  font-size: 24px;
  font-weight: 600;
}

.woocommerce #order_review .woocommerce-checkout-review-order-table .cart_item .product-thumbnail {
  padding: 0;
}
.woocommerce #order_review .woocommerce-checkout-review-order-table .cart_item .product-thumbnail img {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  margin: 12px 15px 12px 15px;
}
.woocommerce #order_review .woocommerce-checkout-review-order-table .cart_item .product-remove .btn-cart-item-remove {
  background: transparent;
  padding: 0;
  margin: 0 5px;
  cursor: pointer;
  color: #cecece;
}
.woocommerce #order_review .woocommerce-checkout-review-order-table .cart_item .product-remove .btn-cart-item-remove:hover {
  color: #FFAB2A;
}

.coupon-trigger-wrapper {
  border-bottom: 1px dashed #cecece !important;
  border-top: 1px dashed #cecece;
  margin-top: 20px;
}
.coupon-trigger-wrapper td {
  width: 100%;
}
.coupon-trigger-wrapper .woodmart-child__coupon-trigger {
  padding: 15px;
  display: flex;
  justify-content: center;
}
.coupon-trigger-wrapper .woodmart-child__coupon-trigger button {
  background-color: #1e1e2f;
  border-radius: 12px;
  font-weight: 400;
  color: #fff;
}
.coupon-trigger-wrapper .woodmart-child__coupon-trigger button:hover {
  background-color: #FFAB2A;
}

#coupon-modal {
  padding: 20px;
  margin: 20px auto;
  background: #fff;
  border: none;
}
#coupon-modal .coupon-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  align-content: center;
  flex-direction: column;
  gap: 10px;
}
#coupon-modal .checkout_coupon {
  border: none;
  display: flex !important;
}

@media screen and (min-width: 767px) {
  #coupon-modal {
    max-width: 50vw;
  }
}
input[type=email], input[type=date], input[type=search], input[type=number], input[type=text], input[type=tel], input[type=url], input[type=password], textarea, select, .select2-container, .select2-container .select2-selection {
  background-color: #F9F9F9;
  border-width: 1px;
  border-radius: 12px;
  border-color: #EAECF0;
}

input[type=radio] {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  opacity: 0;
  z-index: 9;
}
input[type=radio]:checked ~ label:before {
  background: #7b5cdc;
}
input[type=radio] ~ label {
  margin-bottom: 5px;
  color: #1e1e2f;
  vertical-align: middle;
  font-weight: 400;
  position: relative;
}
input[type=radio] ~ label:before {
  content: " ";
  display: inline-block;
  position: relative;
  top: 5px;
  width: 23px;
  height: 23px;
  border-radius: 11px;
  border: solid;
  border-style: solid;
  border-width: 6px;
  background-color: transparent;
  border-color: #E8E8E8;
  margin-right: 10px;
}

label.payment_type_select {
  margin-bottom: 5px;
  color: #1e1e2f;
  vertical-align: middle;
  font-weight: 400;
  position: relative;
}
label.payment_type_select:before {
  content: " ";
  display: inline-block;
  position: relative;
  top: 5px;
  width: 23px;
  height: 23px;
  border-radius: 11px;
  border: solid;
  border-style: solid;
  border-width: 6px;
  background-color: transparent;
  border-color: #E8E8E8;
  margin-right: 10px;
}

.payment-type-select, .woocommerce-shipping-totals, .woocommerce-checkout-payment {
  margin: 15px 0;
}
.payment-type-select h4, .woocommerce-shipping-totals h4, .woocommerce-checkout-payment h4 {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 5px;
}
.payment-type-select p, .payment-type-select li, .woocommerce-shipping-totals p, .woocommerce-shipping-totals li, .woocommerce-checkout-payment p, .woocommerce-checkout-payment li {
  margin-bottom: 0;
}

.payment_methods .wc_payment_method .payment_box {
  box-shadow: none;
  background: rgba(0, 0, 0, 0.12);
}
.payment_methods .wc_payment_method .payment_box:before {
  color: rgba(0, 0, 0, 0.12);
  top: -7px;
}

.place-order {
  border-top: 1px dashed #cecece;
  padding: 15px 25px;
  margin-top: 20px;
}
.place-order .woocommerce-terms-and-conditions-wrapper {
  border-top: none;
  padding: 0;
}
.place-order #place_order {
  border-radius: 13px;
  color: #fff;
  padding: 20px;
  text-transform: none;
  font-size: 28px;
  font-weight: 400;
}
.place-order #place_order:hover {
  background-color: #FFAB2A;
  color: #1e1e2f;
}
