/* =========================================================
   MATruVEDAM - ACCOUNT + MINI CART
========================================================= */

.matruvedam-account-wrapper,
.matruvedam-cart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 99999;
  padding-bottom: 12px;
}

/* ACCOUNT TRIGGER */
.matruvedam-account-trigger {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  color: #222 !important;
  text-decoration: none !important;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.matruvedam-account-icon,
.matruvedam-cart-svg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.matruvedam-account-icon svg,
.matruvedam-cart-svg svg {
  display: block;
}

/* CART */
.matruvedam-cart-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #222 !important;
  text-decoration: none !important;
}

.matruvedam-cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  box-sizing: border-box;
}

/* HOVER DROPDOWNS */
.matruvedam-account-dropdown,
.matruvedam-mini-cart {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.matruvedam-account-dropdown {
  width: 240px;
}

.matruvedam-mini-cart {
  width: 360px;
}

/* HOVER BRIDGE */
.matruvedam-account-dropdown::after,
.matruvedam-mini-cart::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
  pointer-events: auto;
}

/* ARROW */
.matruvedam-account-dropdown::before,
.matruvedam-mini-cart::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 17px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-left: 1px solid #eee;
  border-top: 1px solid #eee;
  transform: rotate(45deg);
  z-index: 1;
}

.matruvedam-account-wrapper:hover .matruvedam-account-dropdown,
.matruvedam-cart-wrapper:hover .matruvedam-mini-cart {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ACCOUNT MENU */
.matruvedam-dropdown-inner {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 8px 0;
}

.matruvedam-dropdown-heading {
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  border-bottom: 1px solid #eee;
}

.matruvedam-dropdown-inner > a,
.matruvedam-dropdown-login {
  display: block;
  width: 100%;
  padding: 11px 18px;
  background: #fff;
  border: 0;
  color: #333 !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
  transition: 0.2s ease;
}

.matruvedam-dropdown-inner > a:hover,
.matruvedam-dropdown-login:hover {
  background: #f6f6f6;
  color: #000 !important;
}

.matruvedam-logout-link {
  border-top: 1px solid #eee;
}

/* MINI CART */
.matruvedam-mini-cart-inner {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.matruvedam-mini-cart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.matruvedam-mini-cart-item-count {
  font-size: 12px;
  font-weight: 400;
  color: #777;
}

.matruvedam-mini-cart-content {
  padding: 15px 20px 20px;
}

.matruvedam-mini-cart .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}

.matruvedam-mini-cart .woocommerce-mini-cart-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 75px;
  margin: 0 0 15px;
  padding: 0 0 15px;
  border-bottom: 1px solid #eee;
}

.matruvedam-mini-cart .woocommerce-mini-cart-item img {
  width: 65px !important;
  height: 65px !important;
  min-width: 65px;
  object-fit: cover;
  margin-right: 12px;
  border-radius: 6px;
}

.matruvedam-mini-cart .woocommerce-mini-cart-item a:not(.remove) {
  display: block;
  padding-right: 20px;
  color: #222 !important;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none !important;
}

.matruvedam-mini-cart .quantity {
  display: block;
  margin-top: 5px;
  color: #777;
  font-size: 12px;
}

.matruvedam-mini-cart .remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px !important;
  color: #999 !important;
  text-decoration: none !important;
  z-index: 10;
}

.matruvedam-mini-cart .remove:hover {
  color: #000 !important;
}

.matruvedam-mini-cart .woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 15px;
  font-size: 14px;
  color: #222;
}

.matruvedam-mini-cart .woocommerce-mini-cart__buttons {
  display: flex;
  gap: 10px;
  margin: 0;
}

.matruvedam-mini-cart .woocommerce-mini-cart__buttons a {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  box-sizing: border-box;
}

.matruvedam-mini-cart .woocommerce-mini-cart__buttons .wc-forward {
  background: #f3f3f3 !important;
  color: #222 !important;
}

.matruvedam-mini-cart .woocommerce-mini-cart__buttons .checkout {
  background: #123f22 !important;
  color: #fff !important;
}

.matruvedam-mini-cart .woocommerce-mini-cart__buttons .wc-forward:hover {
  background: #e8e8e8 !important;
}

.matruvedam-mini-cart .woocommerce-mini-cart__buttons .checkout:hover {
  background: #0b2e18 !important;
  color: #fff !important;
}

.matruvedam-mini-cart .woocommerce-mini-cart__empty-message {
  margin: 5px 0;
  padding: 20px 0;
  text-align: center;
  color: #777;
  font-size: 13px;
}

/* =========================================================
   LOGIN MODAL - VALENCY STYLE
========================================================= */

.matruvedam-login-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.matruvedam-login-modal.active {
  opacity: 1;
  visibility: visible;
}

.matruvedam-login-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(1.5px);
}

/* MAIN POPUP */
.matruvedam-login-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(900px, 94vw);
  min-height: 600px;
  max-height: calc(100vh - 60px);
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(20px) scale(0.985);
  transition: transform 0.25s ease;
}

.matruvedam-login-modal.active .matruvedam-login-box {
  transform: translateY(0) scale(1);
}

/* CLOSE */
.matruvedam-login-close {
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

/* LEFT IMAGE */
.matruvedam-login-visual {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #f4f1e8;
}

.matruvedam-login-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* RIGHT */
.matruvedam-login-content {
  min-width: 0;
  overflow-y: auto;
  padding: 42px 42px 38px;
  background: #fff;
}

/* TABS */
.matruvedam-account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 5px;
  background: #dce6ee;
}

.matruvedam-tab-btn {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 0;
  background: #dce6ee;
  color: #26384a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.matruvedam-tab-btn.active {
  background: #0f351c;
  color: #fff;
}

.matruvedam-tab-icon {
  display: inline-flex;
  align-items: center;
}

/* HEADER */
.matruvedam-login-header {
  margin: 0 0 22px;
}

.matruvedam-login-header h3 {
  margin: 0 0 7px;
  color: #111;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
}

.matruvedam-login-header p {
  margin: 0;
  color: #929292;
  font-size: 15px;
  line-height: 1.6;
}

/* TABS CONTENT */
.matruvedam-tab-content {
  display: none;
}

.matruvedam-tab-content.active {
  display: block;
}

/* FORM */
.matruvedam-form-group {
  margin-bottom: 17px;
}

.matruvedam-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.matruvedam-input-icon {
  position: absolute;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  color: #60758a;
  pointer-events: none;
}

.matruvedam-input-wrap input {
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 46px 0 49px !important;
  border: 1px solid #aabfd0 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #28384a !important;
  font-family: inherit !important;
  font-size: 15px !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.matruvedam-input-wrap input::placeholder {
  color: #52657a;
  opacity: 1;
}

.matruvedam-input-wrap input:focus {
  border-color: #6e8ba2 !important;
  box-shadow: 0 0 0 2px rgba(25, 67, 96, 0.08) !important;
}

/* PASSWORD TOGGLE */
.matruvedam-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

/* LOGIN OPTIONS */
.matruvedam-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 3px 3px 24px;
}

.matruvedam-remember {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: #161616;
  font-size: 14px;
  cursor: pointer;
}

.matruvedam-remember input {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: #123f22;
}

.matruvedam-forgot-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* BUTTONS */
.matruvedam-login-submit,
.matruvedam-register-submit {
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 0 !important;
  border-radius: 5px !important;
  background: #0f351c !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: background 0.2s ease;
}

.matruvedam-login-submit:hover,
.matruvedam-register-submit:hover {
  background: #092813 !important;
}

/* FORGOT BACK */
.matruvedam-back-login {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #26384a;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* Woo notices inside popup */
.matruvedam-login-content .woocommerce-error,
.matruvedam-login-content .woocommerce-message,
.matruvedam-login-content .woocommerce-info {
  margin: 0 0 18px !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
}

/* BODY LOCK */
body.matruvedam-modal-open {
  overflow: hidden !important;
}

/* ACCESSIBILITY */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .matruvedam-account-wrapper,
  .matruvedam-cart-wrapper {
    padding-bottom: 0;
  }

  .matruvedam-account-text {
    display: none;
  }

  .matruvedam-account-dropdown,
  .matruvedam-mini-cart {
    position: fixed;
    top: 70px;
    left: 15px;
    right: 15px;
    width: auto;
    max-width: none;
  }

  .matruvedam-account-dropdown::before,
  .matruvedam-account-dropdown::after,
  .matruvedam-mini-cart::before,
  .matruvedam-mini-cart::after {
    display: none;
  }

  .matruvedam-login-modal {
    padding: 10px;
    align-items: center;
  }

  .matruvedam-login-box {
    display: block;
    width: min(100%, 500px);
    min-height: 0;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    border-radius: 10px;
  }

  .matruvedam-login-visual {
    display: none;
  }

  .matruvedam-login-content {
    padding: 25px 20px 24px;
  }

  .matruvedam-login-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .matruvedam-account-tabs {
    margin-right: 42px;
    width: calc(100% - 42px);
    margin-bottom: 25px;
  }

  .matruvedam-tab-btn {
    min-height: 48px;
    font-size: 14px;
  }

  .matruvedam-login-header h3 {
    font-size: 22px;
  }

  .matruvedam-login-header p {
    font-size: 13px;
  }

  .matruvedam-login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 900px) {
  .matruvedam-login-box {
    width: min(850px, 95vw);
  }

  .matruvedam-login-content {
    padding: 35px 30px;
  }
}

/* =========================================================
   MATruVEDAM HOTFIX 1.1.1
   Prevent Elementor/theme clipping and inherited button styles
========================================================= */

/* Modal must escape normal Elementor layout clipping */
.matruvedam-login-modal {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Desktop popup: always fully visible in viewport */
.matruvedam-login-box {
  width: min(900px, calc(100vw - 40px)) !important;
  height: min(620px, calc(100vh - 40px)) !important;
  min-height: 0 !important;
  max-height: calc(100vh - 40px) !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Keep left artwork fitted to the popup, never taller than it */
.matruvedam-login-visual {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.matruvedam-login-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Right side scrolls internally if viewport is short */
.matruvedam-login-content {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

/* Close button reset - prevents theme from changing its size */
.matruvedam-login-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Tab buttons - stop theme/global button styles */
.matruvedam-tab-btn,
.matruvedam-tab-btn:hover,
.matruvedam-tab-btn:focus,
.matruvedam-tab-btn:active {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: normal !important;
  outline: none !important;
}

/* Forgot password must look like a text link, NOT a theme button */
.matruvedam-forgot-link,
.matruvedam-forgot-link:hover,
.matruvedam-forgot-link:focus,
.matruvedam-forgot-link:active {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Password eye must stay a small icon button */
.matruvedam-password-toggle,
.matruvedam-password-toggle:hover,
.matruvedam-password-toggle:focus,
.matruvedam-password-toggle:active {
  position: absolute !important;
  top: 50% !important;
  right: 9px !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Registration/Sign In buttons only */
.matruvedam-login-submit,
.matruvedam-login-submit:hover,
.matruvedam-login-submit:focus,
.matruvedam-login-submit:active,
.matruvedam-register-submit,
.matruvedam-register-submit:hover,
.matruvedam-register-submit:focus,
.matruvedam-register-submit:active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #0f351c !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Form fields - stop theme padding/height overrides */
.matruvedam-input-wrap input,
.matruvedam-input-wrap input:hover,
.matruvedam-input-wrap input:focus {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 0 46px 0 49px !important;
  border: 1px solid #aabfd0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

/* Remember checkbox */
.matruvedam-remember input,
.matruvedam-remember input:hover,
.matruvedam-remember input:focus {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile override */
@media (max-width: 767px) {
  .matruvedam-login-modal {
    padding: 10px !important;
  }

  .matruvedam-login-box {
    display: block !important;
    width: min(500px, calc(100vw - 20px)) !important;
    height: auto !important;
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
  }

  .matruvedam-login-visual {
    display: none !important;
  }

  .matruvedam-login-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .matruvedam-login-close {
    top: 8px !important;
    right: 8px !important;
  }
}

/* =========================================================
   MATruVEDAM v1.2 - SIGN UP / AJAX
========================================================= */

.matruvedam-register-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.matruvedam-register-two-col .matruvedam-form-group {
  min-width: 0;
}

.matruvedam-terms {
  display: flex !important;
  align-items: flex-start;
  gap: 7px;
  margin: 2px 0 22px !important;
  color: #151515 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  cursor: pointer;
}

.matruvedam-terms input {
  flex: 0 0 15px;
  width: 15px !important;
  min-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  accent-color: #123f22;
}

.matruvedam-terms a {
  color: inherit !important;
  text-decoration: none !important;
}

.matruvedam-terms a:hover {
  text-decoration: underline !important;
}

.matruvedam-form-message {
  display: none;
  margin: 0 0 15px;
  padding: 11px 13px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.45;
}

.matruvedam-form-message.is-error {
  display: block;
  background: #fff0f0;
  border: 1px solid #e2b4b4;
  color: #9b1c1c;
}

.matruvedam-form-message.is-success {
  display: block;
  background: #eff9f1;
  border: 1px solid #b8d7bd;
  color: #155b25;
}

.matruvedam-login-submit.is-loading,
.matruvedam-register-submit.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.matruvedam-login-submit:disabled,
.matruvedam-register-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Ensure signup controls don't inherit theme button styles */
.matruvedam-terms input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
}

@media (max-width: 767px) {
  .matruvedam-register-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .matruvedam-terms {
    font-size: 12px !important;
  }
}

/* =========================================================
   MATruVEDAM v1.2.1 - LOGGED OUT ACCOUNT BEHAVIOUR
   Logged out: show "Login / Sign Up", no hover submenu.
   Logged in: show "My Account" + account submenu.
========================================================= */

.matruvedam-account-wrapper.matruvedam-logged-out .matruvedam-account-dropdown {
  display: none !important;
}

.matruvedam-account-wrapper.matruvedam-logged-out:hover
  .matruvedam-account-dropdown {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
}

.matruvedam-account-wrapper.matruvedam-logged-out .matruvedam-account-trigger {
  cursor: pointer;
}

@media (max-width: 767px) {
  .matruvedam-account-wrapper.matruvedam-logged-out .matruvedam-account-text {
    display: inline !important;
  }
}

button.matruvedam-tab-btn:not(.active):hover {
  background: #2c6b40;
}
