/* Dedicated Khoshkhaneh identity screens. Shared forms and authentication stay authoritative. */
.shop-khoshkhaneh.kh-auth-page{background:#f5ede0}
.kh-auth-page .kh-header{background:#fffcf6;border-bottom:1px solid #e5d7c4}.kh-auth-page .kh-header-row{min-height:88px}.kh-auth-page .kh-account,.kh-auth-page .kh-footer{display:none}.shop-khoshkhaneh.kh-auth-page .kh-content{padding-block:0;min-height:calc(100svh - 89px)}
.kh-auth-shell{max-width:1120px;margin-inline:auto;padding:22px 0 18px}.kh-auth-topline,.kh-auth-footnote{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--kh-muted);font-size:13px}.kh-auth-topline{margin-bottom:18px}.kh-auth-topline a,.kh-auth-footnote a{display:inline-flex;align-items:center;gap:8px;min-height:44px}.kh-auth-topline>span{display:inline-flex;align-items:center;gap:7px}.kh-auth-frame{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #ddcbb3;border-radius:28px;overflow:hidden;background:#fffcf6;box-shadow:0 16px 60px #51210d0b;isolation:isolate}.kh-auth-story{position:relative;min-height:670px;background:#dfc39e;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:40px;color:#51210d}.kh-auth-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.kh-auth-story:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#f7e7caeb 0%,#f7e7ca9c 32%,transparent 53%,#271b0f70 72%,#211a10ed 100%)}.kh-auth-story-label{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600}.kh-auth-story-label i{font-size:21px;color:#7b4927}.kh-auth-story h2{font-size:clamp(28px,3.1vw,43px);line-height:1.65;font-weight:800;margin:18px 0 8px;letter-spacing:0}.kh-auth-story-top>p{font-size:15px;color:#61432e;margin:0}.kh-auth-story-bottom{color:#fff8eb}.kh-auth-story-bottom>p{font-size:23px;font-weight:700;margin-bottom:8px}.kh-auth-story-bottom>span{font-size:13px;color:#f0e3ce;line-height:1.9}.kh-auth-perks{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px;padding-top:20px;border-top:1px solid #fffcf64a}.kh-auth-perks>span{display:inline-flex;align-items:center;gap:7px;font-size:12px}.kh-auth-perks i{font-size:17px;color:#edc58e}
body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel.shop-auth-panel{border:0;border-radius:0;background:#fffcf6;color:#51210d;padding:34px 44px;min-width:0;display:flex;flex-direction:column}.kh-auth-tabs{display:flex;background:#f3ecdf;border:1px solid #e3d5c2;border-radius:13px;padding:5px;gap:5px;margin-bottom:28px}.kh-auth-tabs a{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;color:#715845;font-size:14px;border-radius:9px}.kh-auth-tabs a[aria-current=page]{color:#51210d;font-weight:700;background:#fffcf6;box-shadow:0 2px 8px #51210d0d}.kh-auth-panel .auth-head .auth-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--kh-olive);font-size:12px;font-weight:600}.kh-auth-panel .auth-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-head h1{font-size:28px;line-height:1.7;letter-spacing:0;font-weight:750;margin:8px 0 8px;color:#51210d}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-head p{font-size:13px;line-height:2;color:#715845;margin:0}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-form{gap:16px;margin:24px 0 18px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .field>label{font-size:14px;color:#51210d;font-weight:600;margin-bottom:8px}.kh-auth-input-wrap{position:relative;display:flex;align-items:center}body.shop-khoshkhaneh.kh-auth-page  .kh-auth-panel input.auth-input{min-height:52px;border:1px solid #a58a69;border-radius:11px;color:#51210d;background:#fffefb;padding:12px 42px 12px 14px;font-size:16px;line-height:1.6;transition:border-color .15s,box-shadow .15s}body.shop-khoshkhaneh.kh-auth-page  .kh-auth-panel input.auth-input::placeholder{color:#8b7764;opacity:1}.kh-auth-input-icon{position:absolute;right:14px;font-size:18px;color:#776044;pointer-events:none}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel input[type=tel],body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .has-password-toggle input{direction:ltr;text-align:left;padding-left:44px;padding-right:42px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel input[type=tel]{padding-left:15px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel input:focus-visible{outline:2px solid var(--kh-olive);outline-offset:3px;border-color:var(--kh-olive);box-shadow:0 0 0 4px #53592b0d}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel input[aria-invalid=true]{border-color:#9e3025}.kh-auth-password-toggle{position:absolute;left:3px;top:4px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#715845;cursor:pointer}.kh-auth-password-toggle:hover{background:#f3ecdf}.kh-auth-password-toggle i{font-size:19px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel label:has(#remember_me){color:#715845!important;font-size:13px!important;min-height:30px;margin:0;font-weight:400}.kh-auth-panel #remember_me{width:18px!important;height:18px;accent-color:var(--kh-olive)!important;flex-shrink:0}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .primary-btn{background:var(--kh-primary);color:var(--kh-on-primary);border:1px solid var(--kh-primary);border-radius:11px;min-height:52px;font-size:15px;font-weight:700;box-shadow:0 4px 12px #ae411e13}.kh-auth-panel .primary-btn:hover{filter:brightness(.94)}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-footer{font-size:13px;line-height:1.9;color:#715845;display:flex;flex-direction:column;gap:4px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-link{color:var(--kh-primary);min-height:40px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#ae411e55}.kh-auth-help{display:flex;align-items:center;justify-content:center;gap:8px;padding-top:20px;border-top:1px solid #e7dac7;font-size:11px;color:#715845;margin-top:auto;line-height:1.9}.kh-auth-help>i{color:var(--kh-olive);font-size:17px}.kh-auth-form-body{padding-bottom:18px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .err{font-size:13px;line-height:1.9;border:1px solid #d7a49d;background:#fff2ed;color:#8a2c21;border-radius:10px;padding:10px 12px}.kh-auth-footnote{margin-top:12px;font-size:11px}.kh-auth-footnote>span{display:flex;align-items:center;gap:8px}.kh-auth-footnote>span>i{color:#967247}.kh-auth-shell :focus-visible{outline:3px solid var(--kh-olive);outline-offset:3px}
@media(max-width:1000px){body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel.shop-auth-panel{padding:28px}.kh-auth-story{padding:30px}.kh-auth-perks{gap:12px}.kh-auth-story-bottom>p{font-size:20px}}
@media(max-width:767px){.kh-auth-page .kh-header-row{min-height:72px}.kh-auth-shell{padding-top:8px}.kh-auth-topline{margin-bottom:8px;font-size:12px}.kh-auth-topline>span{display:none}.kh-auth-frame{grid-template-columns:minmax(0,1fr);border-radius:20px}.kh-auth-story{min-height:0;padding:22px 24px;background:#ebe0ce;display:block}.kh-auth-photo{object-position:center 52%}.kh-auth-story:after{background:linear-gradient(270deg,#f7ecd8fa 5%,#f7ecd8ee 45%,#f7ecd833 100%)}.kh-auth-story h2{font-size:25px;line-height:1.55;margin:10px 0 4px}.kh-auth-story h2 br{display:none}.kh-auth-story-top>p{font-size:12px}.kh-auth-story-label{font-size:11px}.kh-auth-story-label i{font-size:16px}.kh-auth-story-bottom{display:none}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel.shop-auth-panel{padding:24px}.kh-auth-tabs{margin-bottom:22px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-head h1{font-size:25px}.kh-auth-panel .auth-head p{max-width:42ch}.kh-auth-help{padding-top:16px}.kh-auth-footnote{justify-content:center}.kh-auth-footnote>span{display:none}}
@media(max-width:360px){body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel.shop-auth-panel{padding:20px 16px}.kh-auth-story{padding:20px 16px}.kh-auth-tabs a{font-size:12px}.kh-auth-story h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.kh-auth-panel *{transition:none!important;scroll-behavior:auto}}
.kh-auth-story{isolation:isolate}
/* Reserve the right edge for visibility controls in both password and text modes. */
body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .has-password-toggle input.auth-input{direction:ltr;text-align:left;padding-left:14px;padding-right:54px}
.kh-auth-panel .has-password-toggle .kh-auth-input-icon{display:none}
.kh-auth-panel .kh-auth-password-toggle{left:auto;right:4px}
/* Keep identity forms compact while retaining 52px input targets. */
.kh-auth-panel .kh-auth-tabs{margin-bottom:18px}
body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-head h1{margin:5px 0 6px}
body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-head p{line-height:1.8}
body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-form{gap:12px;margin:18px 0 12px}
body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .field{margin:0}
body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .field>label{margin-bottom:6px}
@media(max-width:767px){body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel.shop-auth-panel{padding-block:20px}.kh-auth-panel .kh-auth-tabs{margin-bottom:14px}body.shop-khoshkhaneh.kh-auth-page .kh-auth-panel .auth-form{gap:12px;margin-top:16px}.kh-auth-form-body{padding-bottom:12px}.kh-auth-help{padding-top:12px}}
