/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
/* My Account logged-out page */
body:not(.logged-in) .woocommerce-MyAccount-navigation,
body:not(.logged-in) .my-account-sidebar {
  display: none !important;
}

body:not(.logged-in) .woocommerce {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

body:not(.logged-in) .woocommerce .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

body:not(.logged-in) .woocommerce .u-column1,
body:not(.logged-in) .woocommerce .u-column2 {
  width: auto !important;
  float: none !important;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

body:not(.logged-in) .woocommerce h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #111;
}

body:not(.logged-in) .woocommerce form.login,
body:not(.logged-in) .woocommerce form.register {
  border: 0;
  padding: 0;
  margin: 0;
}

body:not(.logged-in) .woocommerce form .form-row {
  margin-bottom: 18px;
}

body:not(.logged-in) .woocommerce input.input-text {
  height: 46px;
  border-radius: 10px;
  border: 1px solid #cfd4da;
  padding: 0 14px;
  font-size: 15px;
}

body:not(.logged-in) .woocommerce input.input-text:focus {
  border-color: #5bbfe0;
  box-shadow: 0 0 0 3px rgba(91,191,224,.18);
  outline: none;
}

body:not(.logged-in) .woocommerce button.button {
  background: #5bbfe0;
  color: #fff;
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 700;
  border: none;
}

body:not(.logged-in) .woocommerce button.button:hover {
  background: #36a9cf;
}

body:not(.logged-in) .woocommerce .lost_password a {
  color: #36a9cf;
  font-weight: 600;
}

@media (max-width: 900px) {
  body:not(.logged-in) .woocommerce .u-columns {
    grid-template-columns: 1fr;
  }
}
/* Professional WooCommerce login/register page */
body:not(.logged-in).woocommerce-account .woocommerce-MyAccount-navigation {
  display: none !important;
}

body:not(.logged-in).woocommerce-account .woocommerce-MyAccount-content,
body:not(.logged-in) .woocommerce-MyAccount-content.seml-auth-content {
  float: none !important;
  width: 100% !important;
  max-width: 1180px;
  margin: 0 auto !important;
  padding: 0 24px;
}

body:not(.logged-in) #customer_login.seml-auth-grid {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1.08fr) !important;
  gap: 34px !important;
  align-items: start !important;
  max-width: 980px;
  margin: 58px auto 80px !important;
}

body:not(.logged-in) #customer_login.seml-auth-grid-single {
  grid-template-columns: minmax(360px, 520px) !important;
  justify-content: center;
}

body:not(.logged-in) #customer_login .seml-auth-card,
body:not(.logged-in) #customer_login .u-column1,
body:not(.logged-in) #customer_login .u-column2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 34px 34px 30px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

body:not(.logged-in) #customer_login .seml-auth-card-header {
  margin-bottom: 24px;
}

body:not(.logged-in) #customer_login h2 {
  margin: 0 0 8px !important;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: #111827;
}

body:not(.logged-in) #customer_login .seml-auth-card-header p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.55;
}

body:not(.logged-in) #customer_login form.login,
body:not(.logged-in) #customer_login form.register,
body:not(.logged-in) #customer_login .woocommerce-form-login,
body:not(.logged-in) #customer_login .woocommerce-form-register {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

body:not(.logged-in) #customer_login .form-row {
  padding: 0 !important;
  margin: 0 0 17px !important;
}

body:not(.logged-in) #customer_login label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  line-height: 1.35;
  color: #374151;
  font-weight: 600;
}

body:not(.logged-in) #customer_login input.input-text {
  display: block;
  width: 100% !important;
  min-height: 48px;
  height: 48px;
  box-sizing: border-box;
  padding: 0 15px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 14px !important;
  background: #fff;
  color: #111827;
  font-size: 15px;
  box-shadow: none !important;
}

body:not(.logged-in) #customer_login input.input-text:focus {
  border-color: #6cb6d3 !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(108, 182, 211, 0.18) !important;
}

body:not(.logged-in) #customer_login .seml-register-note,
body:not(.logged-in) #customer_login .woocommerce-info.seml-register-note {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 14px;
  background: #f8fbff !important;
  color: #374151 !important;
  font-size: 14px;
  line-height: 1.55;
}

body:not(.logged-in) #customer_login .seml-register-note::before {
  display: none !important;
}

body:not(.logged-in) #customer_login .seml-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

body:not(.logged-in) #customer_login .seml-auth-actions-register {
  justify-content: flex-start;
}

body:not(.logged-in) #customer_login .seml-rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 500;
  color: #4b5563;
}

body:not(.logged-in) #customer_login .seml-rememberme input {
  margin: 0;
}

body:not(.logged-in) #customer_login button.button,
body:not(.logged-in) #customer_login a.button {
  min-height: 46px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #6cb6d3 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 46px !important;
  text-align: center;
  box-shadow: 0 10px 24px rgba(108, 182, 211, 0.28);
}

body:not(.logged-in) #customer_login button.button:hover,
body:not(.logged-in) #customer_login a.button:hover {
  background: #42a5ca !important;
}

body:not(.logged-in) #customer_login .lost_password {
  margin: 18px 0 0 !important;
}

body:not(.logged-in) #customer_login .lost_password a {
  color: #42a5ca !important;
  font-weight: 700;
  text-decoration: none;
}

body:not(.logged-in) #customer_login .seml-google-btn-wrap {
  margin-top: 18px;
}

body:not(.logged-in) #customer_login .seml-recaptcha-wrap {
  margin: 0 0 18px !important;
  overflow: hidden;
}

@media (max-width: 980px) {
  body:not(.logged-in) #customer_login.seml-auth-grid {
    grid-template-columns: 1fr !important;
    max-width: 560px;
    margin-top: 34px !important;
  }
}

@media (max-width: 540px) {
  body:not(.logged-in).woocommerce-account .woocommerce-MyAccount-content,
  body:not(.logged-in) .woocommerce-MyAccount-content.seml-auth-content {
    padding: 0 16px;
  }

  body:not(.logged-in) #customer_login .seml-auth-card,
  body:not(.logged-in) #customer_login .u-column1,
  body:not(.logged-in) #customer_login .u-column2 {
    padding: 26px 20px 24px;
    border-radius: 18px;
  }

  body:not(.logged-in) #customer_login .seml-auth-actions {
    display: block;
  }

  body:not(.logged-in) #customer_login .seml-auth-actions button.button {
    width: 100%;
    margin-top: 14px;
  }
}


/* V2 hard fix: login/register page must not show account navigation */
body.seml-guest-myaccount-auth .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce:has(#customer_login) .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-navigation:has(+ .woocommerce-MyAccount-content #customer_login) {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.seml-guest-myaccount-auth .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce:has(#customer_login) .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

body.seml-guest-myaccount-auth #customer_login,
body.woocommerce-account .woocommerce:has(#customer_login) #customer_login {
  display: grid !important;
  grid-template-columns: minmax(340px, 440px) minmax(380px, 520px) !important;
  justify-content: center !important;
  gap: 48px !important;
  align-items: start !important;
  max-width: 1040px !important;
  margin: 44px auto 80px !important;
}

body.seml-guest-myaccount-auth #customer_login .u-column1,
body.seml-guest-myaccount-auth #customer_login .u-column2,
body.seml-guest-myaccount-auth #customer_login .seml-auth-card,
body.woocommerce-account .woocommerce:has(#customer_login) #customer_login .u-column1,
body.woocommerce-account .woocommerce:has(#customer_login) #customer_login .u-column2,
body.woocommerce-account .woocommerce:has(#customer_login) #customer_login .seml-auth-card {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.seml-guest-myaccount-auth #customer_login form.login,
body.seml-guest-myaccount-auth #customer_login form.register,
body.woocommerce-account .woocommerce:has(#customer_login) #customer_login form.login,
body.woocommerce-account .woocommerce:has(#customer_login) #customer_login form.register {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.seml-guest-myaccount-auth #customer_login input.input-text,
body.woocommerce-account .woocommerce:has(#customer_login) #customer_login input.input-text {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  body.seml-guest-myaccount-auth #customer_login,
  body.woocommerce-account .woocommerce:has(#customer_login) #customer_login {
    grid-template-columns: minmax(280px, 520px) !important;
  }
}


body:not(.logged-in) .elementor-element-1abf1511 {
    display: none !important;
}

body:not(.logged-in) .elementor-element-440d979 {
    width: 100% !important;
    margin-left: 0 !important;
}

body:not(.logged-in) #customer_login {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 48px;
    max-width: 900px;
    margin: 40px auto !important;
    align-items: start;
}

@media (max-width: 900px) {
    body:not(.logged-in) #customer_login {
        grid-template-columns: 1fr;
    }
}
