:root{--primary:#004B87;--primary-deep:#003C6C;--accent:#C59B27;--soft:#F8EED5;--surface:#FCFAF5;--ink:#1A2530;--muted:#697581;--line:#E0E6ED;--success:#267453;--danger:#AB4141;--font:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--surface);color:var(--ink);font:14px/1.65 var(--font)}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.25;letter-spacing:-.035em}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:not-allowed}
img{max-width:100%;display:block}
button i,a i{pointer-events:none}
[hidden]{display:none!important}
:is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
::selection{background:var(--soft)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip-link{position:fixed;top:-80px;inset-inline-start:16px;z-index:100;background:white;padding:12px 20px;border-radius:10px}
.skip-link:focus{top:12px}
.page-width{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.customer-header{position:sticky;top:0;z-index:20;background:#fffefbea;backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}
.brand{display:flex;align-items:center;gap:13px;min-width:0}
.brand>img{width:144px;height:auto}
.brand.vendor>img{width:48px;height:48px;object-fit:contain;border:1px solid var(--line);border-radius:14px;padding:3px;background:white}
.brand strong{display:block;font-size:16px;font-weight:600}
.brand small{display:block;font-size:10px;color:var(--muted)}
.header-nav,.header-actions{display:flex;align-items:center;gap:26px}
.header-nav a{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}
.header-nav .active{color:var(--primary);font-weight:600}
.header-actions{gap:10px}
.language-button,.icon-button{display:inline-grid;place-items:center;border:1px solid var(--line);background:white;color:var(--primary);min-width:42px;height:42px;border-radius:50%;font-size:16px}
.language-button{border-radius:10px;padding:0 10px;font-size:12px}
.header-avatar{background:var(--soft);border-color:transparent}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 20px;border:1px solid transparent;border-radius:30px;background:var(--primary);color:white;font-size:12px;font-weight:600;line-height:1.5;transition:background .15s,transform .15s}
.button:hover{background:var(--primary-deep)}
.button.gold{background:var(--accent);color:var(--accent-ink,var(--ink))}
.button.gold:hover{background:color-mix(in srgb,var(--accent) 88%,black)}
.button.secondary{background:white;border-color:var(--line);color:var(--primary)}
.button.secondary:hover{background:var(--soft)}
.button.danger{background:var(--danger)}
.button.small{min-height:38px;padding:7px 14px;font-size:11px}
.text-link{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;color:var(--primary);font-size:12px;font-weight:500}
.text-link:hover{text-decoration:underline}
.eyebrow{display:block;color:var(--primary);font-size:10px;font-weight:600;letter-spacing:.15em;text-transform:uppercase}
.muted{color:var(--muted)}
.small{font-size:12px}
.fine-print{font-size:11px;color:var(--muted);line-height:1.8}
.page-heading{padding:38px 0 25px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.page-heading h1{font-size:clamp(26px,3vw,34px);margin:8px 0 10px;font-weight:500}
.page-heading p{color:var(--muted);font-size:13px;max-width:580px}
.card{background:white;border:1px solid var(--line);border-radius:22px;padding:24px;min-width:0}
.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.card-title h2,.card-title h3{font-size:17px;font-weight:600}
.card-title i{color:var(--primary)}
.stack{display:grid;gap:20px}
.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.spread{justify-content:space-between}
.section-space{margin-bottom:32px}
.account-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);margin-top:42px;padding:22px 0 30px;color:var(--muted);font-size:10px}
.account-footer img{width:95px}
.footer-brand{display:flex;align-items:center;gap:10px}
.preview-label{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}
.preview-label::before{content:'';width:6px;height:6px;flex-shrink:0;background:var(--accent);border-radius:50%}
.mobile-account-nav{display:none}
.field{display:block;margin-bottom:16px;min-width:0}
.field>span:first-child,.field>label{display:block;margin-bottom:6px;font-size:12px;font-weight:500}
.field input,.field textarea,.field select,.input-control{display:block;width:100%;min-height:48px;padding:11px 13px;background:white;color:var(--ink);border:1px solid var(--line);border-radius:10px;font-size:13px;outline-offset:2px}
.field input::placeholder,.field textarea::placeholder{color:#949CA3}
.field textarea{resize:vertical;min-height:88px}
.field small{display:block;margin-top:5px;color:var(--muted);font-size:10px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.field-grid>.full{grid-column:1/-1}
.password-wrap{display:block!important;position:relative;margin:0!important}
.password-wrap input{padding-inline-end:48px}
.password-toggle{position:absolute;inset-inline-end:4px;top:3px;width:42px;height:42px;background:none;border:0;color:var(--muted)}
.check-label{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:var(--muted);cursor:pointer}
.check-label input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--primary);flex-shrink:0}
.form-message{padding:12px 14px;border-radius:10px;background:#FCEFEF;color:var(--danger);font-size:12px;margin-bottom:16px}
.form-message.success{background:#EEF7F1;color:var(--success)}
.success-icon,.empty-icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--soft);color:var(--primary);font-size:28px;margin-bottom:18px}
.success-icon{background:#EEF7F1;color:var(--success)}
.empty-state{text-align:center;padding:48px 20px;background:white;border:1px solid var(--line);border-radius:20px}
.empty-state h2{font-size:22px;margin-bottom:10px}
.empty-state p{max-width:430px;margin:0 auto 20px;color:var(--muted);font-size:13px}
.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;max-width:calc(100% - 32px);padding:12px 20px;border-radius:12px;background:var(--ink);color:white;z-index:90;font-size:12px;transition:opacity .15s,transform .15s}
.toast.visible{opacity:1;transform:translate(-50%,0)}
dialog{width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 28px);border:1px solid var(--line);border-radius:20px;padding:0;color:var(--ink);background:white;box-shadow:0 20px 80px #003C6C25}
dialog::backdrop{background:#1A253075;backdrop-filter:blur(5px)}
dialog[open]{display:flex;flex-direction:column}
.dialog-head,.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;flex:0 0 auto}
.dialog-head{border-bottom:1px solid var(--line)}
.dialog-head h2{font-size:18px}
.dialog-head .icon-button{width:36px;height:36px;min-width:36px;font-size:14px}
.dialog-body{padding:22px;overflow-y:auto;min-height:0;flex:1 1 auto}
.dialog-footer{justify-content:flex-end;border-top:1px solid var(--line);background:var(--surface)}
.dialog-body p{color:var(--muted);font-size:13px}
.status{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 10px;background:color-mix(in srgb,var(--primary) 8%,white);color:var(--primary);font-size:10px;font-weight:500;white-space:nowrap}
.status::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.status.completed,.status.ready{background:#EEF7F1;color:var(--success)}
.status.cancelled,.status.failed{background:#FCF0F0;color:var(--danger)}
.status.preparing,.status.refund_initiated{background:var(--soft);color:var(--primary-deep)}
.status.refunded{background:#F0EFF8;color:#65558D}
.order-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.order-summary-item{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #ECEEF0}
.order-summary-item:last-child{border:0}
.order-summary-item img{width:62px;height:62px;object-fit:cover;border-radius:12px;flex-shrink:0}
.order-summary-item .item-copy{flex:1;min-width:0}
.order-summary-item h3{font-size:13px;font-weight:500;letter-spacing:0;line-height:1.5}
.order-summary-item small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.order-summary-item>strong{white-space:nowrap;font-size:12px;font-weight:600}
.money-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:8px 0;font-size:12px}
.money-row>span{color:var(--muted)}
.money-row.total{padding-top:16px;margin-top:8px;border-top:1px solid var(--line);font-size:16px;font-weight:600;color:var(--primary)}
.money-row.total>span{color:var(--ink)}
.info-list{margin:0}
.info-list>div{display:flex;justify-content:space-between;gap:24px;padding:10px 0;border-bottom:1px solid #F0F1F2;font-size:12px}
.info-list>div:last-child{border:0}
.info-list dt{color:var(--muted);font-weight:400;flex-shrink:0}
.info-list dd{margin:0;text-align:end;overflow-wrap:anywhere}
.vendor-card-top{display:flex;align-items:center;gap:12px;margin-bottom:15px}
.vendor-card-top img{width:48px;height:48px;object-fit:contain;border:1px solid var(--line);border-radius:12px;padding:3px}
.vendor-card-top h2{font-size:16px}
.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:24px}
.timeline-step{position:relative;text-align:center;font-size:10px;color:var(--muted)}
.timeline-step::before{content:'';position:absolute;top:15px;inset-inline-start:-50%;width:100%;height:2px;background:var(--line)}
.timeline-step:first-child::before{display:none}
.timeline-step>i{position:relative;display:grid;place-items:center;margin:0 auto 8px;width:32px;height:32px;background:white;border:1px solid var(--line);border-radius:50%;font-size:14px;z-index:1}
.timeline-step.done>i{background:var(--primary);border-color:var(--primary);color:white}
.timeline-step.done::before{background:var(--primary)}
.timeline-step.current>i{background:var(--soft);border-color:var(--accent);color:var(--primary);box-shadow:0 0 0 4px #C59B2712}
.timeline-step.current{color:var(--primary);font-weight:600}
.order-status-card{background:linear-gradient(125deg,#FFFFFF,var(--surface))}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}
.stat-card{padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:white}
.stat-card>span{color:var(--muted);font-size:11px}
.stat-card strong{display:block;margin:5px 0 2px;color:var(--primary);font-size:27px;font-weight:600;letter-spacing:-1px}
.stat-card small{font-size:10px;color:var(--muted)}
.breadcrumb{display:flex;align-items:center;gap:8px;padding-top:24px;font-size:11px;color:var(--muted)}
.breadcrumb a{color:var(--primary)}
.sample-note{padding:10px 14px;border:1px solid #EDE3C7;background:var(--soft);border-radius:10px;color:#715B26;font-size:11px}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:52px;padding-block:36px 42px;align-items:stretch;min-height:calc(100dvh - 175px)}
.auth-story{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;background:var(--primary);color:white;padding:42px;display:flex;flex-direction:column;min-height:600px}
.auth-story::before{content:'';position:absolute;width:460px;height:460px;border:1px solid #FFFFFF1C;border-radius:50%;top:130px;inset-inline-end:-180px;z-index:-1}
.auth-story .eyebrow{color:#F2DFA5}
.auth-story h2{font-size:clamp(30px,3.5vw,47px);font-weight:500;line-height:1.17;max-width:360px;margin-top:23px}
.auth-story h2 em{font-style:normal;color:#E8C872}
.auth-story>p{color:#FFFFFFBF;font-size:12px;margin-top:18px;max-width:320px}
.auth-photo{width:min(320px,100%);height:240px;margin:30px auto 18px;border-radius:22px;object-fit:cover;transform:rotate(-5deg);box-shadow:0 20px 36px #002C5040;border:7px solid #FFFFFF17}
.auth-story-bottom{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:20px;border-top:1px solid #FFFFFF25}
.auth-story-bottom img{width:42px;height:42px;border-radius:12px;background:white;object-fit:contain;padding:3px}
.auth-story-bottom strong{font-size:13px;font-weight:500}
.auth-story-bottom small{display:block;color:#FFFFFFA8;font-size:10px}
.auth-form-area{align-self:center;max-width:460px;width:100%;padding:12px 0}
.auth-form-area h1{font-size:32px;margin:10px 0 12px;font-weight:600}
.auth-description{color:var(--muted);font-size:13px;margin-bottom:26px}
.auth-tabs{display:flex;gap:6px;padding:4px;border:1px solid var(--line);border-radius:30px;margin-bottom:28px;background:white}
.auth-tabs a{flex:1;padding:9px;text-align:center;font-size:12px;color:var(--muted);border-radius:24px}
.auth-tabs .active{background:var(--primary);color:white}
.auth-submit{width:100%;margin-top:20px}
.auth-bottom{text-align:center;color:var(--muted);font-size:12px;margin-top:20px}
.auth-preview{padding-top:18px;margin-top:22px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}
.auth-success h2{font-size:26px;margin-bottom:12px}
.auth-success p{color:var(--muted);font-size:13px;margin-bottom:24px}
.notice-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--soft);color:var(--primary);border-radius:12px;font-size:20px;margin-bottom:12px}
@media(max-width:1023px){.page-width{width:calc(100% - 40px)}
.header-nav{gap:16px}
.order-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px}
.auth-layout{gap:30px}
.auth-story{padding:30px;min-height:570px}
.auth-photo{height:210px}
.stats-grid{gap:10px}
.stat-card{padding:17px}
.stat-card strong{font-size:24px}
}
@media(max-width:767px){.page-width{width:calc(100% - 32px)}
.header-inner{min-height:72px;gap:12px}
.header-nav{display:none}
.brand>img{width:125px}
.brand.vendor>img{width:40px;height:40px}
.brand strong{font-size:14px}
.header-actions{gap:7px}
.header-actions .menu-link{display:none}
.page-heading{padding:26px 0 20px;align-items:flex-start}
.page-heading h1{font-size:30px}
.page-heading p{font-size:12px}
.page-heading>.button{padding:8px 12px;font-size:11px;min-height:38px}
.stats-grid{grid-template-columns:1fr 1fr;margin-bottom:20px}
.stat-card{padding:15px 17px}
.stat-card strong{font-size:25px}
.card{padding:20px;border-radius:16px}
.order-layout{grid-template-columns:1fr}
.account-footer{margin-top:30px;padding-bottom:95px;align-items:flex-start;flex-wrap:wrap;gap:10px}
.mobile-account-nav{position:fixed;bottom:0;inset-inline:0;z-index:25;display:grid;grid-template-columns:repeat(4,1fr);padding:9px 8px calc(9px + env(safe-area-inset-bottom,0px));background:#FFFFFFF5;backdrop-filter:blur(14px);border-top:1px solid var(--line)}
.mobile-account-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:3px;color:var(--muted);font-size:9px;min-height:44px}
.mobile-account-nav i{font-size:20px}
.mobile-account-nav .active{color:var(--primary)}
.toast{bottom:90px}
.auth-layout{grid-template-columns:1fr;gap:0;padding-top:14px;min-height:auto}
.auth-story{display:none}
.auth-form-area{margin-inline:auto;padding:18px 6px;max-width:470px}
.auth-form-area h1{font-size:30px}
.auth-tabs{margin-bottom:26px}
.auth-page .account-footer{padding-bottom:26px}
.auth-page .mobile-account-nav{display:none}
.dialog-head,.dialog-footer{padding:14px 16px}
.dialog-body{padding:18px}
.timeline{margin-top:22px}
.timeline-step{font-size:9px}
.order-summary-item{gap:10px}
.order-summary-item img{width:48px;height:48px}
.order-summary-item h3{font-size:12px}
.order-summary-item>strong{font-size:11px}
}
@media(max-width:380px){.brand small{font-size:9px}
.field-grid{grid-template-columns:1fr}
.field-grid>.full{grid-column:auto}
.header-avatar{display:none}
.card{padding:16px}
.timeline-step{font-size:8px}
.timeline-step>i{width:28px;height:28px}
.timeline-step::before{top:13px}
.page-heading{flex-wrap:wrap}
.info-list>div{gap:14px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media print{body{background:white}
#customer-header,#customer-footer,.mobile-account-nav,.toast,dialog,.no-print{display:none!important}
.page-width{width:100%}
.order-layout{display:block}
.card{break-inside:avoid;margin-bottom:18px;box-shadow:none}
}
