:root {
    color-scheme: light;
    --red: #f10b24;
    --black: #08090b;
    --muted: #6c6f75;
    --line: #dedfe2;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #f5f5f6;
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.announcement {
    height: 44px;
    display: grid;
    place-items: center;
    background: #050505;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}

.site-header {
    height: 92px;
    background: #090909;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 clamp(18px, 4vw, 56px);
    border-bottom: 1px solid #252525;
}

.brand {
    width: 220px;
    aspect-ratio: 970 / 210;
    overflow: hidden;
    position: relative;
}

.brand img {
    position: absolute;
    width: 164.9485%;
    max-width: none;
    height: auto;
    left: -32.9897%;
    top: -397.619%;
}

.header-actions { justify-self: end; display: flex; gap: 8px; }
.header-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.header-icon:hover, .header-icon.current { background: #1b1b1d; }
.header-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bag-shortcut { position: relative; }
.bag-count { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; }

.auth-shell { min-height: calc(100vh - 136px); }
.login-split { min-height: calc(100vh - 136px); display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(460px, .92fr); background: #fff; }

.login-visual {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: #080b0d url('/assets/hero-merdeka-collar.png') center 18% / cover no-repeat;
}

.visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,4,5,.78), rgba(4,7,9,.16) 68%), linear-gradient(0deg, rgba(0,0,0,.48), transparent 55%); }
.visual-copy { position: absolute; inset: 0; padding: clamp(45px, 6vw, 95px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.visual-copy p { font-size: 11px; font-weight: 700; letter-spacing: 4px; margin: 0 0 25px; }
.visual-copy h1 { font-size: clamp(42px, 4vw, 68px); line-height: .98; letter-spacing: -2px; font-style: italic; margin: 0; }
.visual-copy span { width: 58px; height: 3px; background: var(--red); margin: 32px 0; }
.visual-copy small { font-size: 11px; line-height: 1.8; font-weight: 700; letter-spacing: 3px; }

.login-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(45px, 6vw, 90px); background: radial-gradient(circle at 70% 20%, #fff 0, #fafafa 55%, #f2f2f3 100%); }
.auth-card { width: min(100%, 460px); margin: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 42px; box-shadow: 0 24px 60px rgba(0,0,0,.07); }
.login-card { width: min(100%, 510px); padding: 0; margin: 0 auto; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.eyebrow { color: #73767b; font-size: 11px; font-weight: 700; letter-spacing: 3px; margin: 0 0 18px; }
.auth-card h1 { font-size: 36px; line-height: 1.08; letter-spacing: -1.2px; margin: 0; }
.intro { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 13px 0 32px; }
.auth-card form > label { display: grid; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 700; }
.auth-card input { width: 100%; height: 52px; border: 1px solid #d4d5d8; border-radius: 2px; background: rgba(255,255,255,.8); padding: 0 15px; font: inherit; font-size: 16px; outline: none; }
.auth-card input:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.07); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.input-wrap { position: relative; display: block; margin-top: 13px; }
.input-wrap > svg { position: absolute; top: 50%; right: 16px; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: #666; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.input-wrap input { padding-right: 50px; }
.password-wrap { margin-top: 13px; }
.password-wrap input { padding-right: 96px; }
.password-wrap > .field-lock { left: auto; right: 58px; }
.password-toggle { position: absolute; top: 0; right: 0; width: 52px; height: 52px; padding: 0; border: 0; border-left: 1px solid #d4d5d8; background: transparent; color: #666; display: grid; place-items: center; cursor: pointer; }
.password-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 20px 0 24px; font-size: 13px; }
.form-row a, .alternate a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-card .remember { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.remember input { width: 16px; height: 16px; accent-color: #111; }
.primary, .secondary { width: 100%; min-height: 52px; border-radius: 2px; font-weight: 800; letter-spacing: .5px; cursor: pointer; }
.primary { display: flex; justify-content: center; gap: 14px; align-items: center; border: 1px solid #080808; background: #080808; color: #fff; }
.primary:hover { background: #222; }
.secondary { border: 1px solid #111; background: #111; color: #fff; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; color: #888; margin: 22px 0; }
.or span { height: 1px; background: var(--line); }
.or em { font-size: 13px; font-style: normal; }
.create-account { min-height: 52px; border: 1px solid #919398; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.create-account:hover { border-color: #111; background: #fff; }
.alternate { text-align: center; font-size: 13px; color: var(--muted); margin: 15px 0 0; }
.error { font-size: 12px; color: #c9091f; margin: 7px 0 0; }
.status { font-size: 13px; line-height: 1.5; padding: 12px 14px; border-radius: 3px; background: #edf8f0; color: #176631; margin-bottom: 20px; }
.status-pending { background:#eef4ff; color:#174c89; }
.status-warning { background:#fff7e2; color:#76520a; }
.status-error { background:#fff0f2; color:#9d1022; }
.login-benefits { width: min(100%, 510px); margin: 60px auto 0; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.login-benefits span { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 17px; border-right: 1px solid var(--line); font-size: 10px; font-weight: 800; line-height: 1.45; letter-spacing: 1px; }
.login-benefits span:last-child { border-right: 0; }
.login-benefits svg { flex: 0 0 auto; width: 27px; height: 27px; fill: none; stroke: #111; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.login-signoff { margin: 38px auto 0; color: #8a8d92; font-size: 9px; font-weight: 700; letter-spacing: 2.2px; text-align: center; }
.login-signoff i { display: inline-block; width: 1px; height: 13px; margin: 0 14px -3px; background: #bbb; }
.auth-shell > .auth-card { position: relative; top: 54px; }
.account-card dl { margin: 28px 0; }
.account-card dl div { padding: 17px 0; border-top: 1px solid var(--line); }
.account-card dt { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.account-card dd { margin: 7px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.account-order, .order-line { display:flex; justify-content:space-between; gap:18px; padding:16px 0; border-top:1px solid var(--line); }
.account-order span { color:var(--muted); }
.order-confirmation { width:min(100% - 32px, 720px); }
.order-confirmation h2 { margin-top:28px; }
.order-total { font-size:18px; }
.pickup-details { margin:24px 0; padding:18px; background:#f5f5f5; }

.legal-footer { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 28px; padding:32px 20px; border-top:1px solid var(--line); background:#fff; color:var(--muted); font-size:12px; }
.legal-footer a:hover { color:var(--black); text-decoration:underline; text-underline-offset:3px; }
.content-page { width:min(100% - 32px, 920px); margin:54px auto; padding:clamp(30px,5vw,64px); background:#fff; border:1px solid var(--line); box-shadow:0 20px 55px rgba(0,0,0,.06); }
.content-page > h1 { font-size:clamp(34px,5vw,58px); margin:0 0 8px; }
.content-updated { color:var(--muted); margin:0 0 38px; font-size:13px; }
.content-page section { padding:25px 0; border-top:1px solid var(--line); }
.content-page section h2 { margin:0 0 11px; font-size:20px; }
.content-page section p { margin:0; color:#464950; line-height:1.75; }
.content-page .owner-placeholder { border:1px solid #f1c5ca; background:#fff7f8; padding:20px; margin-top:22px; }
.content-page .owner-placeholder p { color:#7d2632; }
.content-button { display:inline-flex; min-height:48px; align-items:center; background:#080808; color:#fff; padding:0 22px; font-weight:800; }

@media (max-width: 900px) {
    .login-split { grid-template-columns: .85fr 1.15fr; }
    .login-visual { min-height: 620px; background-position: 58% 20%; }
    .login-panel { padding: 45px 35px; }
    .visual-copy { padding: 38px; }
    .visual-copy h1 { font-size: 42px; }
    .login-benefits { grid-template-columns: 1fr; margin-top: 38px; gap: 12px; }
}

@media (max-width: 680px) {
    .announcement { height: 42px; font-size: 10px; text-align: center; padding: 0 10px; }
    .site-header { height: 80px; padding: 0 14px; }
    .brand { width: 155px; }
    .header-actions { gap: 2px; }
    .header-icon { width: 35px; height: 40px; }
    .header-icon svg { width: 23px; height: 23px; }
    .header-actions .header-icon:first-child { display: none; }
    .auth-shell { min-height: calc(100vh - 122px); }
    .login-split { min-height: 0; display: block; }
    .login-visual { min-height: 265px; background-position: center 20%; }
    .visual-copy { padding: 28px 25px; justify-content: flex-end; }
    .visual-copy p, .visual-copy small { display: none; }
    .visual-copy h1 { font-size: 36px; }
    .visual-copy span { margin: 18px 0 0; width: 42px; }
    .login-panel { padding: 38px 22px 45px; }
    .auth-card, .login-card { padding: 0; border: 0; box-shadow: none; }
    .auth-shell > .auth-card { top: 0; margin: 30px auto; padding: 30px 22px; border: 1px solid var(--line); }
    .auth-card h1 { font-size: 30px; }
    .login-benefits { grid-template-columns: repeat(3, 1fr); margin-top: 36px; gap: 8px; }
    .login-benefits span { display: grid; justify-items: center; text-align: center; font-size: 9px; }
    .login-benefits span { padding: 0 7px; }
    .login-signoff { line-height: 1.8; }
    .account-order { flex-direction:column; gap:7px; }
    .order-line { align-items:flex-start; }
    .content-page { margin:24px auto; padding:26px 20px; }
    .legal-footer { padding-bottom:90px; }
}
