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

:root {
    --global-border-radius: 5px;
}


/* Header */

.wd-search-form {
    min-width: 650px;
}

ul.sub-sub-menu ul.sub-sub-menu {
    padding-left: 8px;
}

.wd-header-main-nav .menu-mega-dropdown .wd-dropdown-menu {
    padding-bottom: 30px !important;
}

.whb-top-bar strong > a {
    color: #fff;
}

/* Currency */


.select-currency {
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #fff;    
}
.select-currency a.wcml-cs-item-toggle {
    color: #fff !important;
    font-weight: bold !important;
}

.wcml-cs-submenu a {
    color: #333 !important;
}
.select-currency .wcml-dropdown {
    padding-left: 8px;
}

.select-currency  .wcml-cs-submenu {
    width: 85px !important;
    padding: 10px !important;
}

.select-currency  .wcml-cs-item-toggle::after {
    height: 4px !important;
}
  

/* Misc */
.woocommerce-message,
.wd-wc-notices .woocommerce-notices-wrapper .woocommerce-error{
    border-radius:  var(--wd-form-brd-radius);
}

:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):before, :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):after { 
    background-image: none;    
}

.user-not-logged-in .wd-wc-notices {
    max-width: 600px;
    margin-inline: auto;
}

.user-not-logged-in .whb-header-bottom{
    display: none !important;
}

/* Login Page */

body.user-not-logged-in,
.page-id-96 .wd-page-content{
    background-color: #F2F5F8 !important;
}

.lost_reset_password,
.page-id-96 .wd-registration-page {
    padding: 16px;
    background-color: #fff;
    border-radius:  var(--wd-form-brd-radius);
}

.user-not-logged-in .woocommerce-form-register {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.user-not-logged-in .woocommerce-form-register  p {
    margin-bottom: 0;
}

.user-not-logged-in .b2bking_custom_registration_container_field_91,
.user-not-logged-in .b2bking_custom_registration_container_field_128,
.user-not-logged-in .woocommerce-form-register p:last-child {
    grid-column: 1 / -1;
}


.user-not-logged-in .whb-general-header .whb-mobile-center,
.user-not-logged-in .whb-general-header .whb-col-left {
    flex: 1 1 100%;
    justify-content: center;
}

.user-not-logged-in .wd-footer,
.user-not-logged-in .whb-general-header .whb-mobile-left,
.user-not-logged-in .whb-general-header .whb-mobile-right,
.user-not-logged-in .whb-general-header .whb-col-center,
.user-not-logged-in .whb-general-header .whb-col-right {
    display: none;
}

.user-not-logged-in .woocommerce-privacy-policy-text,
.user-not-logged-in wc-order-attribution-inputs {
    display: none;
}

.vat-guidelines {
    grid-column: 1 / -1;
}

.vat-guidelines ul {
    margin-top: 10px;  
}

.vat-guidelines ul li {
    margin-bottom: 2px; 
    width: 100% !important;
}

.change-tab {
    text-align: center;
    margin-top: 16px;
    border-top: 1px solid #ddd;
    padding-top:16px;
    color: #000;
}

.change-tab span {
    text-decoration: underline;
    cursor: pointer;
    transition: .3s ease-in-out;
}

.change-tab span:hover {
    color: #666;
}

.user-not-logged-in  .wd-registration-page {
    max-width: 600px;
}

.user-not-logged-in  .wd-registration-page  .wd-grid-f-col > .wd-col {
    flex: 0 0 100%;
    max-width: 100%;
}

.user-not-logged-in .col-register {
    border-left: 0px !important;
}

.wd-login-title,
.wd-register-title {
    text-align: center;
}

.col-register {
    display: none;
}

.w3s-fa-email,
.w3s-fa-phone {
    width: 10px;
    margin-right: 5px;
  }

  .b2bking_custom_registration_container_field_91 #b2bking_custom_field_91_field {
    margin-bottom: 20px;
  }



  /* Checkout */

  .woocommerce-billing-fields input[disabled] {
    background: #eee;
    color: #7d7d7d;
    opacity: 1 !important;
}

.woocommerce-billing-fields p {
    margin-bottom: 12px;
}

h3#ship-to-different-address label {
    cursor: pointer !important;
}

.checkout-notice-billing {
    padding: 10px;
    background: #eee;
    border-radius: 5px;
    border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
}

.woocommerce-billing-fields input[readonly],
.woocommerce-billing-fields textarea[readonly],
.woocommerce-billing-fields select[readonly]+.select2{
  background-color: #eee;    
  color: #555;           
  pointer-events:none;
}

#billing_country_field.w-100 {
    width: 100%;
}

#menu-footer-information {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

#menu-footer-information li {
    margin-bottom: 0;
}

.footer-menu .vc_wp_custommenu {
    margin-bottom: 0;
}

.mobile-top-header p{
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.gsa-b2b-user #menu-item-137,
.jepa-b2b-user #menu-item-136 {
    display: none;
}

#menu-footer-information .menu-item a{
    color: #fff !important;
}

#menu-footer-information .menu-item:hover a{
    opacity: .8 !important;
}

#woodmart-woocommerce-layered-nav-2  .wd-text-style-4 .wd-swatch.wd-text {
    width: 100%;
}

.wd-swatch {
    font-weight: 400 !important;
}

@media (max-width: 1024px) {
.whb-top-bar-inner .wd-header-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.select-currency .wcml-cs-item-toggle:after {
    display: none !important;
}

.whb-top-bar-inner .wd-header-text .select-currency {
    justify-content: flex-end;
}
}