
.chinar-account-wrap, .chinar-logged-account{
  --chinar-green:#5f7e32;
  --chinar-green-dark:#2f4a1e;
  --chinar-text:#282b25;
  --chinar-muted:#686b64;
  --chinar-border:#dddfd5;
  --chinar-shadow:0 16px 42px rgba(47,74,30,.10);
}

.chinar-account-page .entry-title,
.chinar-account-page .page-title{
  display:none !important;
}

.chinar-account-page .woocommerce{
  max-width:1380px;
  margin:0 auto;
  padding:0 24px 42px;
  box-sizing:border-box;
}

.chinar-account-page .woocommerce *{
  box-sizing:border-box;
}

.chinar-account-wrap{
  max-width:1380px;
  margin:28px auto 0;
}

.chinar-account-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  overflow:hidden;
  border:1px solid rgba(217,221,208,.9);
  border-radius:26px;
  background:#fff;
  box-shadow:var(--chinar-shadow);
}

/* Exact left panel from the supplied design.
   No live text is layered over it, so nothing can overlap. */
.chinar-account-welcome-image{
  position:relative;
  min-width:0;
  background:#f2f5e9;
}

.chinar-left-panel-image{
  display:block;
  width:100% !important;
  height:100% !important;
  min-height:720px;
  object-fit:cover;
  object-position:center center;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

/* RIGHT LOGIN / REGISTER PANEL */
.chinar-account-auth{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:720px;
  padding:54px 54px;
  background:#fff;
}

.chinar-auth-panel{
  width:100%;
  max-width:535px;
}

.chinar-register-panel{
  display:none;
}

.chinar-account-wrap.is-registering .chinar-login-panel{
  display:none;
}

.chinar-account-wrap.is-registering .chinar-register-panel{
  display:block;
}

.chinar-auth-heading{
  margin-bottom:30px;
  text-align:center;
}

.chinar-auth-heading > img{
  display:block;
  width:31px;
  height:31px;
  margin:0 auto 7px;
  object-fit:contain;
}

.chinar-auth-heading h2{
  margin:0 0 5px !important;
  color:var(--chinar-green-dark);
  font-size:37px !important;
  line-height:1.15 !important;
  font-weight:500 !important;
}

.chinar-auth-heading p{
  margin:0 !important;
  color:#555950;
  font-size:17px;
  line-height:1.35;
}

.chinar-login-form,
.chinar-register-form{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.chinar-account-page .chinar-auth-panel .form-row{
  float:none !important;
  clear:both !important;
  width:100% !important;
  margin:0 0 22px !important;
  padding:0 !important;
}

.chinar-account-page .chinar-auth-panel .form-row label{
  display:block !important;
  margin:0 0 9px !important;
  padding:0 !important;
  color:#435b28;
  font-size:13px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
}

.chinar-account-page .required{
  color:#b55454 !important;
}

.chinar-input-wrap{
  position:relative;
  display:block;
  width:100%;
}

.chinar-input-icon{
  position:absolute;
  z-index:2;
  left:0;
  top:0;
  width:59px;
  height:55px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid #dfe1d9;
  pointer-events:none;
}

.chinar-input-icon img{
  display:block;
  width:24px;
  height:24px;
  object-fit:contain;
}

.chinar-account-page .chinar-auth-panel input.input-text{
  display:block !important;
  width:100% !important;
  height:55px !important;
  min-height:55px !important;
  margin:0 !important;
  padding:0 54px 0 73px !important;
  border:1px solid #d5d8d0 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#292c27 !important;
  font-size:14px !important;
  line-height:55px !important;
  box-shadow:none !important;
  outline:none !important;
}

.chinar-account-page .chinar-auth-panel input.input-text:focus{
  border-color:#77924d !important;
  box-shadow:0 0 0 3px rgba(95,126,50,.10) !important;
}

.chinar-password-toggle{
  position:absolute !important;
  z-index:3;
  right:5px;
  top:5px;
  width:44px !important;
  height:45px !important;
  min-height:45px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer;
}

.chinar-password-toggle img{
  width:24px;
  height:24px;
  object-fit:contain;
}

.chinar-login-options{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 25px;
}

.chinar-login-options label{
  display:flex !important;
  align-items:center;
  gap:8px;
  margin:0 !important;
  color:#435b28 !important;
  font-size:13px !important;
  line-height:1.3 !important;
  font-weight:500 !important;
}

.chinar-login-options input[type="checkbox"]{
  width:16px !important;
  height:16px !important;
  min-width:16px;
  margin:0 !important;
  accent-color:var(--chinar-green);
}

.chinar-lost-password{
  color:#496328 !important;
  font-size:13px;
  line-height:1.3;
  text-decoration:none !important;
  white-space:nowrap;
}

.chinar-signin-btn{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:100% !important;
  height:58px !important;
  min-height:58px !important;
  margin:0 !important;
  padding:0 24px !important;
  border:0 !important;
  border-radius:6px !important;
  background:linear-gradient(90deg,#56782c 0%,#719337 100%) !important;
  color:#fff !important;
  font-size:17px !important;
  line-height:58px !important;
  font-weight:600 !important;
  letter-spacing:.03em;
  box-shadow:0 8px 18px rgba(76,102,39,.15) !important;
  cursor:pointer;
}

.chinar-new-account{
  margin-top:36px;
}

.chinar-or-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  margin-bottom:28px;
}

.chinar-or-divider span{
  flex:1 1 auto;
  height:1px;
  background:#d6d8d1;
}

.chinar-or-divider em{
  color:#6f716b;
  font-style:normal;
  font-size:13px;
  line-height:1.3;
  white-space:nowrap;
}

.chinar-create-account-btn{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100% !important;
  min-height:56px !important;
  margin:0 !important;
  padding:0 22px !important;
  border:1px solid #638037 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#486229 !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  letter-spacing:.04em;
  cursor:pointer;
}

.chinar-create-account-btn img{
  width:25px;
  height:25px;
  object-fit:contain;
}

.chinar-register-note{
  margin:-5px 0 22px !important;
  padding:13px 15px;
  border-radius:7px;
  background:#f3f6ea;
  color:#656a5e;
  font-size:12px;
  line-height:1.5;
}

/* TRUST BAR */
.chinar-account-trustbar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:18px 7px 0;
  overflow:hidden;
  border:1px solid #e6e8df;
  border-radius:16px;
  background:linear-gradient(90deg,#f5f7ed 0%,#eef2e4 100%);
}

.chinar-trust-item{
  position:relative;
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:17px 20px;
}

.chinar-trust-item:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:22px;
  bottom:22px;
  width:1px;
  background:#ced4c5;
}

.chinar-trust-item > img{
  width:38px;
  height:38px;
  object-fit:contain;
  flex:0 0 38px;
}

.chinar-trust-item strong,
.chinar-trust-item span{
  display:block;
}

.chinar-trust-item strong{
  margin-bottom:3px;
  color:#3f5925;
  font-size:12px;
  line-height:1.25;
  font-weight:700;
}

.chinar-trust-item span{
  color:#62675b;
  font-size:11px;
  line-height:1.25;
}

/* NOTICES */
.chinar-account-page .woocommerce-error,
.chinar-account-page .woocommerce-message,
.chinar-account-page .woocommerce-info{
  margin:18px 0 !important;
  padding:14px 18px 14px 48px !important;
  border:1px solid #dfe1d7 !important;
  border-top:1px solid #dfe1d7 !important;
  border-radius:9px !important;
  background:#fff !important;
}

/* LOGGED IN ACCOUNT */
.chinar-logged-account{
  max-width:1220px;
  margin:34px auto 0;
}

.chinar-logged-account .woocommerce-MyAccount-navigation{
  width:25% !important;
  padding:17px;
  border:1px solid var(--chinar-border);
  border-radius:14px;
  background:#f5f7ef;
}

.chinar-logged-account .woocommerce-MyAccount-navigation ul{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

.chinar-logged-account .woocommerce-MyAccount-navigation li{
  margin:0 0 5px !important;
}

.chinar-logged-account .woocommerce-MyAccount-navigation a{
  display:block;
  padding:11px 13px;
  border-radius:8px;
  color:#435a29 !important;
  text-decoration:none !important;
  font-size:13px;
}

.chinar-logged-account .woocommerce-MyAccount-navigation .is-active a,
.chinar-logged-account .woocommerce-MyAccount-navigation a:hover{
  background:var(--chinar-green);
  color:#fff !important;
}

.chinar-logged-account .woocommerce-MyAccount-content{
  width:72% !important;
  padding:25px 28px;
  border:1px solid var(--chinar-border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 28px rgba(47,74,30,.05);
}

/* TABLET */
@media (max-width:1050px){
  .chinar-account-auth{
    min-height:680px;
    padding:44px 34px;
  }

  .chinar-left-panel-image{
    min-height:680px;
  }
}

/* MOBILE: use image as a full top visual, then the live auth form below */
@media (max-width:820px){
  .chinar-account-page .woocommerce{
    padding:0 14px 32px;
  }

  .chinar-account-wrap{
    margin-top:18px;
  }

  .chinar-account-card{
    grid-template-columns:1fr;
    border-radius:18px;
  }

  .chinar-left-panel-image{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    object-fit:contain;
  }

  .chinar-account-auth{
    min-height:0;
    padding:42px 25px;
  }

  .chinar-account-trustbar{
    grid-template-columns:1fr 1fr;
    margin-left:0;
    margin-right:0;
  }

  .chinar-trust-item:nth-child(2)::after{
    display:none;
  }

  .chinar-trust-item{
    justify-content:flex-start;
  }

  .chinar-trust-item:nth-child(-n+2){
    border-bottom:1px solid #dfe3d6;
  }

  .chinar-logged-account .woocommerce-MyAccount-navigation,
  .chinar-logged-account .woocommerce-MyAccount-content{
    float:none !important;
    width:100% !important;
  }

  .chinar-logged-account .woocommerce-MyAccount-content{
    margin-top:18px;
  }
}

@media (max-width:520px){
  .chinar-account-auth{
    padding:34px 18px;
  }

  .chinar-auth-heading h2{
    font-size:31px !important;
  }

  .chinar-auth-heading p{
    font-size:15px;
  }

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

  .chinar-lost-password{
    white-space:normal;
  }

  .chinar-or-divider{
    gap:8px;
  }

  .chinar-or-divider em{
    font-size:11px;
    white-space:normal;
    text-align:center;
  }

  .chinar-account-trustbar{
    grid-template-columns:1fr;
  }

  .chinar-trust-item{
    border-bottom:1px solid #dfe3d6 !important;
  }

  .chinar-trust-item:last-child{
    border-bottom:0 !important;
  }

  .chinar-trust-item::after{
    display:none !important;
  }
}



/* v1.4 strict scope: no font-family rules; loads only with [chinar_my_account]. */
