/**
* Theme Name: Harmony Care Child
* Description: This is a child theme of Harmony Care.
* Author: <a href="https://cmsmasters.net/">cmsmasters</a>
* Template: harmony-care
* Version: 1.0.0
* Tested up to: 6.6
* Requires PHP: 7.4
* License:
* License URI:
* Text Domain: harmony-care-child
* Copyright: cmsmasters 2025 / All Rights Reserved
*/

#tab-title-description{display:none;}
.woocommerce-account #customer_login .u-column2 { display: none !important; }
.woocommerce-account #customer_login .u-column1 { width: 100% !important; } 
.woocommerce-Tabs-panel--description h2{ font-family: "Roboto", sans-serif !important;font-style: normal !important;}
.view_details_button {margin-top:0 !important;}
.coursetrial-form .join-form{display:block !important;}
.page-template-default button[name="jointrial"]{display:none;}
.post-type-archive-product button[name="jointrial"]{display:none;}
body button[name="jointrial"]{display:none;}
.woocommerce-form-login__submit{color:#fff !important;}
.registr-btn{
  background-color: #b31d3a;
  color: #fff !important;
  padding: 15px 16px;
  border-radius: 0;
  text-align: center;
  font-family: var(--cmsmasters-button-font-family);
  font-weight: var(--cmsmasters-button-font-weight);
  font-style: var(--cmsmasters-button-font-style);
  text-transform: var(--cmsmasters-button-text-transform);
  -webkit-text-decoration: var(--cmsmasters-button-text-decoration);
  text-decoration: var(--cmsmasters-button-text-decoration);
  font-size: var(--cmsmasters-button-font-size);
  line-height: var(--cmsmasters-button-line-height);
  letter-spacing: var(--cmsmasters-button-letter-spacing);
  word-spacing: var(--cmsmasters-button-word-spacing);
  border-top: var(--cmsmasters-button-normal-bd-width-top) var(--cmsmasters-button-normal-bd-style) var(--cmsmasters-button-normal-colors-bd);
  border-right: var(--cmsmasters-button-normal-bd-width-right) var(--cmsmasters-button-normal-bd-style) var(--cmsmasters-button-normal-colors-bd);
  border-bottom: var(--cmsmasters-button-normal-bd-width-bottom) var(--cmsmasters-button-normal-bd-style) var(--cmsmasters-button-normal-colors-bd);
  border-left: var(--cmsmasters-button-normal-bd-width-left) var(--cmsmasters-button-normal-bd-style) var(--cmsmasters-button-normal-colors-bd);
  border-radius: var(--cmsmasters-button-normal-bd-radius);
  text-shadow: var(--cmsmasters-button-text-shadow);
  box-shadow: var(--cmsmasters-button-normal-box-shadow);
  padding: var(--cmsmasters-button-padding-top) var(--cmsmasters-button-padding-right) var(--cmsmasters-button-padding-bottom) var(--cmsmasters-button-padding-left);
  display: inline-block;
  cursor: pointer;
  word-break: normal;
  position: relative;
  z-index: 0;
  transition: all .3s ease-in-out;
  overflow: hidden;
}
.button{color:#fff !important;}
.woocommerce-Price-amount bdi{color:#000 !important;font-weight:700 !important;}
.registr-btn:hover{background-color:#a09560;color:#fff;}
.cmsmasters-section-for-header-yes{display: none;}
.btn-account-member {display: none;}
.user-is-logged-out .btn-login-guest { display: inline-block;}
.user-is-logged-in .btn-login-guest {display: none;}
.user-is-logged-in .btn-account-member {display: inline-block;}
.cmsmasters-my-account-login-form-layout-block{margin-top:50px;}
.bundle-addto-cart .product_type_simple {display: none !important;}
.woocommerce-loop-product__title{height: 8vh;max-height:8vh;font-size:16px !important;}
.shopengine_add_to_list_action{display: none !important;}
.shopengine_comparison_add_to_list_action{display: none !important;}
.shopengine-quickview-trigger{display: none !important;}
.entry-summary .entry-title{font-size:32px; font-family: "Roboto", sans-serif;}
.related .woocommerce-loop-product__title{height: 8vh;max-height:8vh;font-size:16px !important;}
.elementor-widget-cmsmasters-slider__bg{background-color: #02c0da00 !important;}
.view_details_button{display: none !important;}
.bundle-addto-cart {margin-top: -32px !important;padding-top: 0 !important;}
.quantity{display: none !important;}
.summary .custom-button{display: none !important;}
.gold-button{color:#fff;}
.join-form{color:#fff;}
.gold-button a{color:#fff !important;}
.cmsmasters-archive-post-author a{ pointer-events: none; cursor: default;}
.coursetrial-form .join-form{border-radius:0 !important;}
.button, .woocommerce-button, .custom-enroll{border-radius:0 !important;}
.button{color:#fff !important;}
.cmsmasters-single-post-author{ pointer-events: none; cursor: not-allowed;}
.linkedin-img{width: 8%;}

.coursetrialform .password-input {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
}
.coursetrialform span.show-password-input:nth-child(2) {display: none;}
.coursetrialform .show-password-input {
  position: absolute;
  right: 0.7em;
  cursor: pointer;
  top: 0.8em;
}
.show-password-input {
  color: #000000 !important;
  border-color: #ffffff00 !important;
  background-color: #a0956000 !important;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  text-align: end;
}

.coursetrialform .show-password-input {
  position: absolute;
  right: 1em;
  cursor: pointer;
  top: 1em;
}
.show-password-input {
  color: #000000 !important;
  border-color: #ffffff00 !important;
  background-color: #a0956000 !important;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  text-align: end;
}

.coursetrialform .show-password-input::before {background-color: #fff0;
  background-image:none;
  opacity: 1;}

.coursetrialform .show-password-input::after {
	background-color: #fff0;
  font-family: WooCommerce;
  speak: never;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin-left: 0em;
  margin-top: 0.5em;
  content: "👁";
  text-decoration: none;
  opacity: 1;
}


.woocommerce-MyAccount-navigation-link--my-courses{display:none !important;}


/* Show the dropdown menu when hovering over the widget wrapper */
.elementor-widget-cmsmasters-nav-menu:hover .elementor-widget-cmsmasters-nav-menu__dropdown {
    display: block !important;
}

/* Optional: Make the toggle button look "active" when hovered */
.elementor-widget-cmsmasters-nav-menu:hover .elementor-widget-cmsmasters-nav-menu__toggle {
    /* You can add text color or background color changes here if needed */
}

/* Optional: Add a slight delay/fade so it doesn't feel too jumpy */
.elementor-widget-cmsmasters-nav-menu__dropdown {
    transition: opacity 0.3s ease;
}


/* =========================================
   1. DEFAULT STATE (USER IS LOGGED OUT) 
   ========================================= */

/* Hide the 'My Account' link for guests */
.mobile-myaccount {
    display: none !important;
}

/* Ensure 'Login' and 'Register' are visible */
.mobile-login, 
.mobile-register {
    display: block; /* Note: change 'block' to 'inline-block' or 'flex' if your menu layout breaks */
}

/* =========================================
   2. LOGGED-IN STATE 
   ========================================= */

/* When the user is logged in, hide 'Login' and 'Register' */
body.logged-in .mobile-login, 
body.logged-in .mobile-register {
    display: none !important;
}

/* When the user is logged in, show 'My Account' */
body.logged-in .mobile-myaccount {
    display: block !important; /* Note: change 'block' to 'inline-block' or 'flex' if needed */
}


@media (max-width: 1180px) {
	.btn-account-member{display:none !important;}
	.btn-login-guest{display:none !important;}
}


@media (max-width: 767px) {
.woocommerce-loop-product__title{height: 8.5vh;max-height:8.5vh;font-size:16px !important;}
}

