/* Garden Theme — Auth (login/register) + header login dropdown styles */
/* ============================================
   AUTH — LOGIN / REGISTER PAGE (split layout)
   ============================================ */
.auth-wrap {
  display: flex;
  align-items: stretch;
  max-width: 780px;
  margin: 32px auto;
  background: var(--c-n0);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
/* Left benefits panel */
.auth-side {
  width: 300px;
  flex-shrink: 0;
  background: var(--c-p500);
  color: var(--txi);
  display: flex;
  align-items: center;
  padding: 32px 24px;
}
.auth-side-inner { width: 100%; }
.auth-side-title {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 400;
  color: var(--txi);
  margin: 0 0 6px;
  line-height: 1.3;
}
.auth-side-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin: 0 0 20px;
  line-height: 1.5;
}
.auth-benefits {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.auth-benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.auth-benefits li:last-child { margin-bottom: 0; }
.auth-benefits li i {
  font-size: 15px;
  color: var(--c-a400);
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-benefits li strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--txi);
  margin-bottom: 1px;
}
.auth-benefits li span {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}
.auth-trust {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.auth-trust span {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 5px;
}
.auth-trust span i { color: var(--c-a400); font-size: 12px; }

/* Right form card */
.auth-card {
  flex: 1;
  min-width: 0;
  background: var(--c-n0);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fd); font-size: 20px; color: var(--c-p500);
  text-decoration: none; margin-bottom: 20px; justify-content: center;
}
.auth-tabs {
  display: flex; border-bottom: 1px solid var(--bdr); margin-bottom: 20px;
}
.auth-tab {
  flex: 1; padding: 10px 0; font-size: 13px; font-weight: 500;
  color: var(--txm); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s; font-family: var(--fb); text-align: center;
}
.auth-tab:hover { color: var(--tx); }
.auth-tab.is-active { color: var(--c-p500); border-bottom-color: var(--c-p500); font-weight: 600; }
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }
.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--tx); margin-bottom: 5px; text-transform: none; letter-spacing: 0;
  font-family: var(--fb);
}
.auth-field label .required { color: var(--c-err-base); }
.auth-field input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--bdr); border-radius: var(--r-sm);
  font-family: var(--fb); font-size: 14px; color: var(--tx);
  background: var(--c-n0); outline: none; transition: border-color .15s, box-shadow .15s; box-sizing: border-box;
}
.auth-field input:focus { border-color: var(--bdrf); box-shadow: var(--sh-f); }
.auth-field .password-input { position: relative; display: block; }
.auth-field .show-password-input {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--txm); padding: 4px;
}
.auth-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.auth-actions .btn { flex: 1; }
.auth-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.auth-meta label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 400; color: var(--tx); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-height: 0; line-height: 1; }
.auth-meta label input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; accent-color: var(--c-p500); cursor: pointer; margin: 0; padding: 0; }
.auth-meta label span { line-height: 1; }
.auth-meta a { color: var(--c-p500); text-decoration: none; font-size: 12px; min-height: 0; line-height: 1; }
.auth-meta a:hover { text-decoration: underline; }
/* WC overrides inside auth-card */
.auth-card form { margin: 0; }
.auth-card .woocommerce-form-row,
.auth-card .form-row { margin: 0 0 16px; padding: 0; display: block; width: 100%; float: none; }
.auth-card .form-row-first,
.auth-card .form-row-last { width: 100%; float: none; }
.auth-card label { font-size: 12px; font-weight: 600; color: var(--tx); text-transform: none; letter-spacing: 0; display: block; margin-bottom: 5px; font-family: var(--fb); }
.auth-card label .required { color: var(--c-err-base); }
.auth-card .auth-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 0; }
.auth-card .auth-meta label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400; margin-bottom: 0; cursor: pointer; min-height: 0; }
.auth-card .auth-meta label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--c-p500); cursor: pointer; margin: 0; padding: 0; min-height: 0; }
.auth-card .auth-meta a.auth-forgot { font-size: 12px; color: var(--c-p500); text-decoration: none; min-height: 0; }
.auth-card .input-text,
.auth-card .woocommerce-Input { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid var(--bdr); border-radius: var(--r-sm); font-family: var(--fb); font-size: 14px; color: var(--tx); background: var(--c-n0); outline: none; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.auth-card .input-text:focus,
.auth-card .woocommerce-Input:focus { border-color: var(--bdrf); box-shadow: var(--sh-f); }
.auth-card .password-input { position: relative; display: block; }
.auth-card .show-password-input { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--txm); padding: 4px; min-height: auto; }
.auth-card .woocommerce-button,
.auth-card .btn--p { width: 100%; height: 46px; background: var(--c-p500); color: var(--txi); border: none; border-radius: var(--r-sm); font-family: var(--fb); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; margin-top: 6px; }
.auth-card .woocommerce-button:hover,
.auth-card .btn--p:hover { background: var(--c-p600); }
.auth-card .woocommerce-privacy-policy-text { font-size: 11px; color: var(--txm); line-height: 1.5; margin-bottom: 14px; }
.auth-card .woocommerce-privacy-policy-text a { color: var(--c-p500); }
.auth-card .auth-meta,
.auth-card .woocommerce-LostPassword { font-size: 12px; color: var(--txm); margin-top: 12px; }
.auth-card .woocommerce-LostPassword a { color: var(--c-p500); }
.auth-card .clear { display: none; }

/* Auth — mobile: stack vertically */
@media (max-width: 768px) {
  .auth-wrap {
    flex-direction: column;
    margin: 16px;
    border-radius: var(--r-md);
  }
  .auth-side {
    width: 100%;
    padding: 24px 20px;
  }
  .auth-side-title { font-size: 18px; }
  .auth-benefits { margin-bottom: 16px; }
  .auth-benefits li { margin-bottom: 10px; }
  .auth-card { padding: 24px 20px; }
  .sh-login-drop { max-width:calc(100vw - 32px); right:0; left:auto; }
}

/* ============================================
   HEADER LOGIN DROPDOWN
   ============================================ */
.sh-account-wrap { position: relative; }

.sh-login-drop {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  box-shadow: var(--sh-lg);
  padding: 20px;
  padding-top: 30px;
  z-index: 300;
  flex-direction: column;
  gap: 12px;
}
.sh-account-wrap:hover .sh-login-drop,
.sh-account-wrap:focus-within .sh-login-drop { display: flex; }

.sh-login-drop-title {
  font-size: 13px; font-weight: 600; color: var(--tx);
  margin-bottom: 4px;
}

.sh-login-drop-field { display: flex; flex-direction: column; gap: 4px; }
.sh-login-drop-field label { font-size: 11px; font-weight: 600; color: var(--txm); text-transform: uppercase; letter-spacing: .05em; }
.sh-login-drop-field input {
  height: 38px; padding: 0 12px;
  border: 1.5px solid var(--bdr); border-radius: var(--r-sm);
  font-family: var(--fb); font-size: 13px; color: var(--tx);
  background: var(--bg); outline: none; transition: border-color .2s;
}
.sh-login-drop-field input:focus { border-color: var(--bdrf); }

.sh-login-drop-form { display: flex; flex-direction: column; gap: 12px; }
.sh-login-drop-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.sh-login-drop-btn {
  width: 100%; height: 40px;
  background: var(--c-p500); color: var(--txi); border: none;
  border-radius: var(--r-sm); font-family: var(--fb);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.sh-login-drop-btn:hover { background: var(--c-p600); }
.sh-login-drop-secondary {
  text-align: center; font-size: 12px; color: var(--txm);
}
.sh-login-drop-secondary a { color: var(--c-p500); text-decoration: none; font-weight: 500; }

.sh-login-drop-links { display: flex; flex-direction: column; gap: 2px; }
.sh-login-drop-links a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: var(--tx2); text-decoration: none;
  transition: background .15s, color .15s;
}
.sh-login-drop-links a:hover { background: var(--bg-el); color: var(--c-p500); }
.sh-login-drop-links a i { font-size: 13px; color: var(--txm); width: 16px; }
.sh-login-drop-divider { height: 1px; background: var(--bdr); margin: 4px 0; }
