:root {
    --blue: #2463e9;
    --ink: #172238;
    --muted: #677186;
    --line: #dce3ee;
    --pale: #f6f8fd;
    --navy: #111d2b;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--ink); background: #eef3fb; font-family: "Segoe UI", Tahoma, sans-serif; font-size: 12px; }
a { color: inherit; text-decoration: none; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 5vw, 72px); background: #fff; border-top: 2px solid #222; border-bottom: 1px solid #d8dce4; }
.brand { color: #1263df; font-size: 15px; font-weight: 700; }
.main-nav { display: flex; gap: 24px; align-items: center; color: #3a4250; font-size: 11px; }
.main-nav a.active { color: var(--blue); padding-bottom: 4px; border-bottom: 1px solid var(--blue); }
.header-actions { display: flex; align-items: center; gap: 16px; color: #253148; }
.icon { position: relative; display: inline-block; width: 11px; height: 11px; }
.search-icon { border: 1px solid currentColor; border-radius: 50%; transform: scale(.7); }
.search-icon::after { content: ""; position: absolute; width: 5px; height: 1px; right: -4px; bottom: -2px; background: currentColor; transform: rotate(45deg); }
.heart-icon::before { content: "♡"; position: absolute; top: -5px; font-size: 16px; }
.cart-icon { border: 1px solid currentColor; border-top: 0; transform: scale(.75); }
.cart-icon::before, .cart-icon::after { content: ""; position: absolute; bottom: -4px; width: 2px; height: 2px; border: 1px solid currentColor; border-radius: 50%; }
.cart-icon::before { left: 1px; } .cart-icon::after { right: 1px; }
.user-icon { display: inline-block; flex: 0 0 13px; width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; transform: none; }
.user-icon.active { color: var(--blue); box-shadow: 0 7px 0 -6px var(--blue); }
.user-icon::before { content: ""; position: absolute; left: 4px; top: 2px; width: 3px; height: 3px; border: 1px solid currentColor; border-radius: 50%; }
.user-icon::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 1px; height: 5px; border: 1px solid currentColor; border-radius: 8px 8px 4px 4px; }
.cart-wrap { position: relative; height: 11px; }
.cart-count { position: absolute; top: -7px; right: -7px; display: grid; width: 10px; height: 10px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 6px; }
.wishlist-wrap { height: 13px; }
.wishlist-count { position: absolute; top: -7px; right: -7px; display: grid; width: 10px; height: 10px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 6px; }
.main-content { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.welcome-panel { min-height: 620px; position: relative; display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 72px); color: #fff; background: linear-gradient(180deg, rgba(23,52,79,.05), rgba(35,77,142,.48)), url("https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?auto=format&fit=crop&w=1600&q=85") center / cover; }
.welcome-copy { max-width: 380px; }
.welcome-copy h1 { margin: 0 0 12px; font-size: clamp(28px, 3.3vw, 43px); line-height: .98; letter-spacing: -.4px; }
.welcome-copy p { margin: 0; color: rgba(255,255,255,.86); font-size: 12px; line-height: 1.5; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 72px); }
.login-content { width: min(100%, 390px); margin: 0 auto; }
.login-card { padding: 34px 30px 28px; border: 1px solid #e9edf5; border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgba(37,77,145,.09); }
.login-card h2 { margin: 0 0 7px; font-size: 22px; }
.intro { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-field { position: relative; margin-bottom: 14px; }
.form-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.form-field input[type="email"], .form-field input[type="password"], .form-field.password-field input[type="text"] { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #d8dee9; border-radius: 5px; outline: 0; color: var(--ink); font-size: 11px; }
.form-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(36,99,233,.12); }
.password-toggle { position: absolute; top: 12px; right: 10px; padding: 0; border: 0; color: #778198; background: transparent; cursor: pointer; }
.eye-icon { border: 1px solid currentColor; border-radius: 75% 15%; transform: rotate(45deg) scale(.7); }
.eye-icon::after { content: ""; position: absolute; inset: 3px; border: 1px solid currentColor; border-radius: 50%; }
.form-options { display: flex; align-items: center; justify-content: space-between; margin: 3px 0 20px; font-size: 10px; }
.forgot-link { color: var(--blue); }
.sign-in-button { width: 100%; height: 42px; border: 0; border-radius: 5px; color: #fff; background: var(--blue); font-size: 11px; cursor: pointer; box-shadow: 0 2px 4px rgba(36,99,233,.25); }
.error-message { margin: -10px 0 12px; color: #d73535; font-size: 10px; }
.success-message { margin: -10px 0 12px; color: #16833b; font-size: 10px; }
.divider { display: flex; align-items: center; gap: 10px; margin: 24px 0 18px; color: #8a92a1; font-size: 9px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #e3e7ef; }
.google-button { width: 100%; height: 42px; border: 1px solid #dce2ec; border-radius: 5px; color: #3b4351; background: #fff; font-size: 11px; cursor: pointer; }
.google-mark { margin-right: 7px; color: #4285f4; font-size: 13px; font-weight: 700; }
.register-prompt { margin: 22px 0 0; text-align: center; color: #596376; font-size: 10px; }
.register-prompt a { color: var(--blue); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 13px 4px; border-radius: 6px; text-align: center; color: #34425d; background: #f2f6fe; font-size: 9px; }
.trust-icon { position: relative; display: block; width: 10px; height: 10px; color: var(--blue); }
.lock-icon { border: 1px solid currentColor; border-radius: 1px; margin-top: 3px; } .lock-icon::before { content: ""; position: absolute; left: 2px; top: -5px; width: 4px; height: 5px; border: 1px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.bolt-icon::before { content: "ϟ"; position: absolute; top: -7px; font-size: 17px; }
.shield-icon { border: 1px solid currentColor; border-radius: 50% 50% 45% 45%; } .shield-icon::after { content: "✓"; position: absolute; top: -2px; left: 2px; font-size: 7px; }
.help-box { margin-top: 22px; padding: 22px; border-radius: 6px; background: #dbe8fc; }
.help-box h3 { margin: 0 0 12px; font-size: 11px; }
.help-box a { display: inline-block; margin-right: 7px; padding: 7px 10px; border-radius: 4px; color: #34425d; background: #fff; font-size: 9px; }
.site-footer { padding: 32px clamp(18px, 7vw, 120px) 12px; color: #c2cad7; background: var(--navy); }
.footer-columns { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 25px; }
.site-footer h3 { margin: 0 0 10px; color: #fff; font-size: 14px; } .site-footer h4 { margin: 0 0 10px; color: #fff; font-size: 10px; font-weight: 500; }
.site-footer p, .site-footer a { display: block; margin: 0 0 7px; color: #aeb8c8; font-size: 9px; line-height: 1.45; }
.copyright { margin: 18px calc(clamp(18px, 7vw, 120px) * -1) 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); text-align: center; color: #8290a5; font-size: 9px; }
@media (max-width: 760px) { .site-header { height: auto; min-height: 46px; padding: 10px 20px; gap: 16px; } .main-nav { gap: 13px; font-size: 9px; } .main-content { grid-template-columns: 1fr; } .welcome-panel { min-height: 350px; padding: 40px 24px; } .login-panel { padding: 35px 24px 45px; } .login-content { width: min(100%, 430px); } .footer-columns { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .site-header { align-items: flex-start; flex-wrap: wrap; } .main-nav { order: 3; width: 100%; justify-content: center; gap: 22px; } .main-nav a:nth-child(3), .main-nav a:nth-child(4) { display: none; } .login-card { padding: 28px 20px 24px; } .welcome-copy h1 { font-size: 31px; } .welcome-copy p { font-size: 11px; } .site-footer { padding-right: 16px; padding-left: 16px; } .copyright { margin-right: -16px; margin-left: -16px; } }
@media (max-width: 350px) { .header-actions { width: 100%; justify-content: flex-end; } .main-nav { justify-content: space-between; } .login-panel { padding-right: 16px; padding-left: 16px; } .footer-columns { grid-template-columns: 1fr; } }
