/* Header Sign In / Register Now buttons (logged-out) and My Account button (logged-in).
   Desktop matches the header mockup; laptops compact progressively; mobile shows them in the menu drawer. */
.header-auth{display:flex;align-items:center;gap:12px;flex:none}
.header-auth::before,.header-auth::after{content:"";flex:none;width:1px;height:30px;margin:0 8px;background:#e3e6ef}
.header-auth-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;height:44px;padding:0 20px;border-radius:12px;font-family:inherit;font-size:15.5px;font-weight:700;line-height:1;letter-spacing:-.005em;text-decoration:none;white-space:nowrap;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.header-auth-btn svg{flex:none;width:20px;height:20px}
.header-auth-btn:focus-visible{outline:3px solid rgba(124,58,237,.4);outline-offset:2px}
.header-auth-btn--outline{background:#fff;color:#0b0a2e;border:1.5px solid #7c3aed}
.header-auth-btn--outline:hover,.header-auth-btn--outline.is-current{background:#f6f3ff;color:#6d28d9;border-color:#6d28d9}
.header-auth-btn--primary{background:linear-gradient(90deg,#8b2fe6 0%,#7a26dc 50%,#6a1fd0 100%);color:#fff;border:0;box-shadow:0 12px 24px -14px rgba(109,40,217,.9)}
.header-auth-btn--primary:hover{color:#fff;transform:translateY(-1px);box-shadow:0 16px 26px -14px rgba(109,40,217,.95)}
.header-auth-btn--primary:active{transform:none}

/* Header width: wide enough for the full layout on large screens (header only; page content keeps its width). */
@media(min-width:1081px){.site-header .header-shell{width:min(1600px,calc(100% - 64px))}}

/* Laptops (desktop navigation still visible): progressively tighter. */
@media(min-width:1081px) and (max-width:1679px){
	.header-card > .header-auth::before,.header-card > .header-auth::after{display:none}
	.header-card > .header-auth{gap:10px}
}
@media(min-width:1500px) and (max-width:1599px){
	.header-card{gap:16px}
	.header-card .header-search-bar{width:170px;min-width:170px}
}
@media(min-width:1081px) and (max-width:1499px){
	.header-card{gap:14px}
	.header-card .header-search-bar{width:150px;min-width:150px}
	.header-card .header-auth-btn{height:42px;padding:0 15px;font-size:14.5px;gap:8px}
	.header-card .header-auth-btn svg{width:18px;height:18px}
}
/* Smaller laptops: Sign In, then Register Now, become icon buttons (labels kept for screen readers and as tooltips). */
@media(min-width:1081px) and (max-width:1399px){
	.header-card{gap:12px}
	.header-card .header-search-bar{width:144px;min-width:144px}
	.header-card .header-auth-btn--outline{width:42px;padding:0}
	.header-card .header-auth-btn--outline span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media(min-width:1081px) and (max-width:1299px){
	.header-card .header-auth-btn--primary{width:42px;padding:0}
	.header-card .header-auth-btn--primary span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
	.header-card .header-search-bar{width:140px;min-width:140px}
}
@media(min-width:1081px) and (max-width:1199px){
	.site-header .header-shell{width:calc(100% - 40px)}
	.header-card{gap:7px}
	.header-card .header-search-bar{width:90px;min-width:90px}
	.header-card > .header-auth{gap:6px}
	.header-card .header-auth-btn{width:38px;height:38px}
}

/* Tablet and mobile: header bar keeps logo, cart, search and Menu; the buttons move into the menu drawer. */
@media(max-width:1080px){
	.header-card > .header-auth{display:none}
}
.header-auth--drawer{display:none}
@media(max-width:1080px){
	.header-auth--drawer{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px;padding:0 0 14px;border-bottom:1px solid #eceef5}
	.header-auth--drawer::before,.header-auth--drawer::after{display:none}
	.header-auth--drawer .header-auth-btn{width:auto;height:46px;padding:0 14px;font-size:15px}
	.header-auth--drawer .header-auth-btn span{position:static;width:auto;height:auto;overflow:visible;clip:auto}
	.header-auth--drawer.is-single{grid-template-columns:1fr}
}
@media(max-width:360px){.header-auth--drawer{grid-template-columns:1fr}}

/* My Account page opened from "Register Now": present the email-code sign-up first. */
.psl.pism-register-mode [data-psl-action="code"]{background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 48%,#6d28d9 100%);color:#fff;border-color:transparent;box-shadow:0 12px 24px -14px rgba(109,40,217,.9)}
.psl.pism-register-mode .psl-sep span{font-weight:700;color:#6d28d9}
