/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


input[type=tel] {
	direction:rtl;
}
body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
	font-size:26px;
	padding:6px;
	border-radius:50%;
}
.ht_ctc_chat_style svg {
	max-width:42px;
	max-height:42px;
}


/** Header **/
.whb-main-header .wd-header-nav {
	flex:initial;
}
.whb-main-header .whb-header-bottom {
	padding-bottom:10px;
}
.woocommerce-mini-cart__buttons .btn.btn-default {
	color:#fff;
}
.woocommerce-mini-cart__buttons .btn:hover, body .woocommerce-mini-cart__buttons .checkout:hover {
	color:#000;
}
.wd-logo img {
	margin-top:5px;
}
.wd-nav[class*=wd-style-underline]>li:is(.current-menu-item.anchor-link,.wd-active.anchor-link,.active.anchor-link)>a .nav-link-text:after {
	width:0;
}
.wd-nav[class*=wd-style-underline]>li:is(.current-menu-item.anchor-link,.wd-active.anchor-link,.active.anchor-link)>a {
	color:#333;
}
.wd-nav[class*=wd-style-underline]>li:is(.current-menu-item.anchor-link,.wd-active.anchor-link,.active.anchor-link):hover>a .nav-link-text:after {
	width:100%;
}
/* Hide only the View Cart button inside the side cart widget wrapper */
.cart-widget-side .woocommerce-mini-cart__buttons.buttons a.btn-cart {
    display: none !important;
}

/** Footer **/
.wd-footer .widget-title {
	font-size:22px;
}
.wd-footer :is(.widget_categories,.wd-footer .widget_pages,.wd-footer .widget_archive,.wd-footer .widget_nav_menu) ul li {
	font-size:14px;
}
.wd-footer .main-footer .footer-column.footer-column-6 {
	display:none;
}
.wd-footer .main-footer .wd-grid-g {
    /*grid-template-columns: repeat(5, minmax(0, 1fr)); */
	display:flex;
}
.main-footer .footer-column.wd-grid-col {
	/*grid-column:auto;*/
	width:22%;
}
.main-footer .footer-column.wd-grid-col.footer-column-5 {
	width:12%;
}
.main-footer .footer-column.wd-grid-col.footer-column-5 .widget_media_image {
	text-align:center;
}
.main-footer .footer-column.wd-grid-col.footer-column-5 .widget_media_image img {
	max-height:70px;
	width:auto;
}
.footer-sidebar :is(.widget_categories,.widget_pages,.widget_archive,.widget_nav_menu) ul li:is(.current_page_item,.current-cat)>a {
	font-weight:400;
	color:#767676;
}

/** Home **/
.home-icons .elementor-icon-box-title {
	font-size:15px;
}
.home-categories .elementor-image-box-title {
	font-size:22px;
}	


/** Categories **/
.tax-product_cat #main-content  {
	padding:40px 15px;
}
.tax-product_cat .wd-page-title.title-size-default {
	min-height:400px;
}

:is(.title-design-centered,.without-title.with-back-btn) .wd-back-btn {
	display:none;
}

.wd-custom-category-h1 {
	text-align:center;
}
.wd-category-breadcrumbs {
	text-align:center;
}
.tax-product_cat .term-description {
	text-align:center;
}
.wd-term-desc {
	padding-top:45px;
	padding-bottom:45px;
}
.wd-term-desc p {
	line-height:1.2;
}
/*body .wd-builder-off .woocommerce-result-count {
	display:block;
}*/
.shop-loop-head {
	flex-direction:row-reverse;
}
.wd-custom-banner-nav .wd-nav>li>a.category-nav-link {
	border:1px solid #333333;
	border-radius:30px;
	padding:8px 12px;
	min-height:0;
}
.wd-custom-banner-nav .wd-nav[class*=wd-style-underline] .nav-link-text:after {
	display:none;
}
.wd-custom-banner-nav .wd-nav>li>a.category-nav-link:hover {
	background:#333;
	color:#fff;
}
.wd-shop-tools .woocommerce-ordering.wd-style-underline select {
	border:1px solid #333;
	border-radius:30px;
	padding:5px 15px;
	max-width:160px;        
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	background-position:15px 6px;
	background-image: var(--wd-form-chevron);
	background-repeat:no-repeat;
	background-size:auto 18px;
}

body .widget_price_filter [class*=price_slider_amount] .button {
	color:#fff;
}

/** Single product **/
.single-product #main-content {
	padding-top:40px;
}
.single-product .single-product-page {
	padding-bottom:80px;
}
.single-product .single-product-page .container {
	max-width:1100px;
}
.wd-wishlist-btn .wd-action-text  {
	display:none;
}
.summary-inner form.cart .single_add_to_cart_button {
	padding:0 120px;
	border-radius:4px;
}
.single-product .related-and-upsells {
	padding-top:30px;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
	text-align:center;
}
.single-product .woocommerce-product-gallery .wd-carousel-item img {
	max-height:520px;
	width:auto;
	max-width:100%;
}
.product-icons .elementor-icon-list-text {
	font-size:14px;
}
.product-bullets.e-con {
	margin:0;
	max-width:440px;
}
.woocommerce-product-details__short-description {
	max-width:60%;
}
.single-product .tabs-location-standard.tabs-type-accordion .product-tabs-wrapper {
	border-top:1px solid #e5e5e5;
	border-bottom:1px solid #e5e5e5;
}
.single-product .comment-respond {
	max-width:500px;
}
.comment-form .form-submit {
	text-align:center;
}
.comment-form .submit {
	width:50%;
	margin:0 auto;
}
.wd .comment-form-comment textarea {
	/*max-width:50%;*/
	max-height:120px;
	min-height:120px;
}
.single-breadcrumbs-wrapper .wd-breadcrumbs {
	font-size:13px;
}
.wd-single-reviews  {
	max-width:60%;
}
.related-products .wd-el-title {
	text-align:center;
	display:block!important;
}
.single-product .summary-inner form.cart.variations_form {
	flex-direction:column;
	align-items:flex-start!important;
}
.single-product .summary-inner form.cart.variations_form .woocommerce-variation-add-to-cart {
	flex-wrap:nowrap;
}

/* Layout styling to keep everything perfectly inline inside your form wrapper */
.summary-inner form.cart {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 12px !important; /* Spacing between elements */
}

/* Make sure the form rows fit together */
.summary-inner form.cart .quantity,
.summary-inner form.cart .single_add_to_cart_button,
.summary-inner form.cart .wd-wishlist-btn {
	margin: 0 !important;
	vertical-align: middle;
}

/* Fixes custom spacing for the wishlist icon element now that it's in the form line */
.summary-inner form.cart .wd-wishlist-btn {
	display: inline-flex !important;
	align-items: center;
}
/* 2. Safety Valve: Force-hide any wishlist button clone that ends up inside the sticky panel form */
.wd-sticky-btn-cart form.cart .wd-wishlist-btn {
	display: none !important;
}

/* Enable Flexbox layout on the review form */
#commentform {
    display: flex !important;
    flex-direction: column !important;
}

/* 1. Rating stays at the top */
#commentform .comment-form-rating {
    order: 1 !important;
}

/* 2. Name (Author) */
#commentform .comment-form-author {
    order: 2 !important;
}

/* 3. Email */
#commentform .comment-form-email {
    order: 3 !important;
}

/* 4. Comment (Textarea) */
#commentform .comment-form-comment {
    order: 4 !important;
}

/* 5. Save cookies checkbox */
#commentform .comment-form-cookies-consent {
    order: 5 !important;
}

/* 6. Submit Button */
#commentform .form-submit {
    order: 6 !important;
}

body .product-tabs-wrapper {
	border-bottom:none;
}


/** Checkout **/
.woocommerce-checkout .whb-header,
.woocommerce-checkout .wd-footer { 
	display:none;
}
.woocommerce-checkout .title-size-default {
	padding-top:85px;
	padding-bottom:85px;
}
#billing_country_field, 
#shipping_country_field {
	display:none!important;
}
.woocommerce-checkout #main-content {
	max-width:1240px;
}
.woocommerce-checkout #main-content .woocommerce {
	padding-top:30px;
}
.woocommerce-checkout #customer_details p {
	margin-bottom:8px;
}
.wd .woocommerce-additional-fields textarea {
	min-height:110px;
}
body .optional {
	top:0;
	color:#000;
}
body :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review) {
	background:#fbfaf6;
}
body :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):before, body :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):after {
	display:none;
}
.login-form-footer br {
	display:none;
}
.login-form-footer .woocommerce-form-login__rememberme br {
	display:none;
}
.woocommerce-checkout-payment #place_order {
	width:220px;
	display:block;
	margin:0 auto;
}
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
	display:none;
}
.payment_methods .payment_method_payplus-payment-gateway > label {
	display:none;
}

/** Contact **/
.contact-page-form div.wpcf7 p {
	text-align:center;
}
.contact-page-form div.wpcf7 input[type=submit] {
	width:100%;
}

@media (max-width:1600px) {
.tax-product_cat #main-content {
	padding:40px 3rem;
}
.container.main-footer  {
	padding-right:45px;
	padding-left:45px;
}
}
@media (max-width:1023px) {
.wd-footer .main-footer .wd-grid-g {
	flex-wrap:wrap;
}
.main-footer .footer-column.wd-grid-col {
	width:48%;
}
.main-footer .footer-column.wd-grid-col.footer-column-5 {
	width:100%;
}
}

@media (max-width:769px) {
body .woocommerce-ordering.wd-ordering-mb-icon {
	width:auto;
}
body .woocommerce-ordering.wd-ordering-mb-icon select {
	width:auto;
	color:#000!important;
	position:relative;
	-webkit-appearance: auto;
	-moz-appearance: auto;
}
body .woocommerce-ordering.wd-ordering-mb-icon:after {
	display:none;
}
}

@media (max-width:767px) {
a, 
button, 
input[type="submit"], 
input[type="button"], 
.btn, 
.button, 
[role="button"], 
[onclick] {
  -webkit-tap-highlight-color: rgba(0, 150, 255, 0.3) !important;
}
/*.wd-footer .wd-grid-g {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}*/
.wd-footer .main-footer .wd-grid-g {
	flex-direction:column;
}
.main-footer .footer-column.wd-grid-col {
	width:100%;
}
.tax-product_cat .wd-page-title.title-size-default {
	min-height:200px;
}
.woocommerce-product-details__short-description {
	max-width:100%;
}
.wd .comment-form-comment textarea {
	width:100%;
}
.container.main-footer  {
	padding-right:30px;
	padding-left:30px;
}
.wd-footer .widget-title {
	font-size:20px;
}
.main-footer .footer-column.wd-grid-col.footer-column-5 {
	margin-top:50px;
}
.wd-breadcrumbs {
	font-size:13px;
}
.wd-custom-category-h1 {
	font-size:26px;
}
body .wd-builder-off .woocommerce-result-count {
	display:none;
}
/*body .wd-builder-off .wd-filter-buttons  {
	display:none;
}*/
.shop-loop-head {
	margin-top:15px;
}
.term-description {
	font-size:14px;
}
.tax-product_cat #main-content {
	padding:40px 1rem;
}
.woocommerce-ordering.wd-ordering-mb-icon select option {
	color:#000;
}
body .woocommerce-ordering.wd-ordering-mb-icon select {
	padding:0 10px;
}
.summary-inner form.cart .single_add_to_cart_button {
	padding:0 78px;
}
.product-bullets li {
	font-size:15px;
}
.wd-social-icons.wd-shape-circle {
	font-size:20px;
}
.wd-social-icons.wd-shape-circle .wd-icon {
	font-size:20px;
}
.wd-single-reviews {
	max-width:100%;
}
.home-icons .elementor-image-box-title {
	font-size:14px;
}
.home-icons .elementor-widget-image-box .elementor-image-box-img img  {
	width:40px;
}
.woocommerce-checkout .woocommerce-form-login-toggle {
	background:#fbfaf6;
	padding:10px;
	font-size:14px;
}
.woocommerce-checkout .woocommerce-form-login-toggle p {
	margin-bottom:0;
}
.woocommerce-checkout .woocommerce-form-login.hidden-form {
	background:#fbfaf6;
	margin-bottom:0;
	padding-top:10px;
	padding-bottom:10px;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle {
	background:#fbfaf6;
	padding:10px;
	font-size:14px;
}
:root :is(.woocommerce-form-coupon-toggle,.woocommerce-form-login-toggle)>div {
	margin-bottom:0;
}
}