.checkout-view {
 --paper:#f5f5f7; --ink:#242729; --muted:#626772; --line:#dfe4ea; --accent:#687b85;
 --checkout-panel:#ffffffb3; --checkout-field:#ffffffc9; --checkout-selected:#eaf0f4;
 --checkout-shadow:0 18px 55px #26304b07,inset 0 1px 0 #fff;
 font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;
 background-color:var(--paper);
 background-image:radial-gradient(ellipse at 0 10%,#d9edf566,transparent 45%),radial-gradient(ellipse at 100% 60%,#e5def466,transparent 40%);
 color:var(--ink);
}
.checkout-view .co-head { position:sticky; top:16px; margin:16px 24px 0; z-index:20; border:1px solid #fff; border-radius:22px; background:#ffffffb8; backdrop-filter:blur(28px) saturate(150%); -webkit-backdrop-filter:blur(28px) saturate(150%); box-shadow:0 10px 40px #26304b08; }
.checkout-view .co-head .wrap { max-width:1320px; height:72px; padding:0 28px; }
.checkout-view .co-head .logo { margin-right:auto; }
.checkout-view .co { max-width:1320px; padding:48px 28px 80px; margin:auto; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:28px; align-items:start; min-height:0; }
.checkout-view :is(.co-main,.co-side) { background:var(--checkout-panel) !important; border:1px solid #ffffffd9; border-radius:28px; padding:36px; box-shadow:var(--checkout-shadow) !important; backdrop-filter:blur(24px) saturate(135%); -webkit-backdrop-filter:blur(24px) saturate(135%); min-width:0; }
.checkout-view .co-side { position:sticky; top:116px; }
.checkout-view .co-side .inner { position:static; }
.checkout-heading > span { font-size:10px; letter-spacing:.15em; color:var(--muted); }
.checkout-heading h1 { font-family:inherit; font-size:48px; font-weight:600; line-height:1.1; text-transform:none; letter-spacing:-.05em; margin:14px 0 24px; }
.checkout-view .crumbs { font-size:13px; line-height:1.7; margin-bottom:36px; }
.checkout-view fieldset { margin-bottom:36px; min-width:0; }
.checkout-view legend,.checkout-summary-title { font-family:inherit; font-size:23px; font-weight:600; line-height:1.3; letter-spacing:-.035em; text-transform:none; margin-bottom:20px; }
.checkout-summary-title { margin-bottom:30px; }
.checkout-view .fields { gap:14px; }
.checkout-view label.f span { font-size:11px; color:var(--muted); top:10px; }
.checkout-view :is(label.f input,label.f select,.promo input) { font-size:16px; color:var(--ink); background:var(--checkout-field); border:1px solid var(--line); border-radius:14px; min-height:58px; }
.checkout-view label.f select { padding-right:32px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23818d96' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; }
.checkout-view :is(input,select,button,a):focus-visible { outline:2px solid #839aa7; outline-offset:3px; }
.checkout-view label.f input:user-invalid { border-color:#cb6157; }
.checkout-view .opts { border-color:var(--line); border-radius:16px; background:var(--checkout-field); }
.checkout-view .opt { padding:20px 16px; font-size:15px; line-height:1.5; border-color:var(--line); color:var(--ink); }
.checkout-view .opt:has(input:checked) { background:var(--checkout-selected); box-shadow:inset 3px 0 0 #829ca8; }
.checkout-view .opt small { font-size:12px; line-height:1.65; color:var(--muted); margin-top:5px; }
.checkout-view .check { font-size:13px; line-height:1.6; align-items:flex-start; color:var(--muted); margin-top:16px; }
.checkout-view .check input { flex-shrink:0; margin-top:2px; }
.checkout-view input:is([type=radio],[type=checkbox]) { accent-color:#687b85; }
.checkout-view .sum-line { grid-template-columns:76px minmax(0,1fr) auto; gap:14px; font-size:14px; line-height:1.5; margin-bottom:24px; }
.checkout-view .sum-line .ph { width:76px; height:76px; background:var(--checkout-selected); border:1px solid var(--line); border-radius:16px; }
.checkout-view .sum-line .ph img { object-fit:contain; padding:6px; }
.checkout-view .sum-line .q { background:#687b85; color:white; }
.checkout-view .promo { gap:10px; border-color:var(--line); }
.checkout-view .promo input { min-width:0; padding:14px; }
.checkout-view .btn { font-family:inherit; font-size:14px; font-weight:500; text-transform:none; border-radius:28px; padding:15px 24px; min-height:50px; }
.checkout-view .btn.dark { background:#242729; color:white; border:1px solid #242729; }
.checkout-view .btn.ghost { background:var(--checkout-field); color:var(--ink); border:1px solid var(--line); }
.checkout-view .btn:hover { filter:brightness(.94); }
.checkout-view .btn:disabled { opacity:.5; cursor:wait; }
.checkout-view .totrow { font-size:15px; padding-block:14px; border-color:var(--line); }
.checkout-view .totrow.big { font-size:23px; letter-spacing:-.035em; }
.checkout-view .co-foot { padding-top:8px; gap:20px; }
.checkout-view .co-foot a { font-size:13px; color:var(--muted); text-decoration:none; }
.checkout-view .co-foot .btn { min-width:180px; }
.checkout-view .note { color:var(--muted); font-size:12px; line-height:1.7; }
html[data-theme=dark] .checkout-view {
 --checkout-panel:#1c222bbd; --checkout-field:#141b23; --checkout-selected:#293640;
 --checkout-shadow:0 18px 55px #0002,inset 0 1px 0 #ffffff08;
 background-image:radial-gradient(ellipse at 0 10%,#24404b44,transparent 45%),radial-gradient(ellipse at 100% 60%,#3a304b44,transparent 40%);
}
html[data-theme=dark] .checkout-view :is(.co-main,.co-side) { border-color:#ffffff16 !important; }
html[data-theme=dark] .checkout-view :is(.opts,.opt,.promo,.totrow) { border-color:var(--line); }
html[data-theme=dark] .checkout-view .btn.ghost:hover { background:#34424d; }
html[data-theme=dark] .checkout-view input:-webkit-autofill { -webkit-text-fill-color:#f0f2f5; -webkit-box-shadow:0 0 0 1000px #141b23 inset; caret-color:#fff; }
@media(max-width:900px) {
 .checkout-view .co { padding-inline:22px; gap:20px; }
 .checkout-view :is(.co-main,.co-side) { padding:26px; }
}
@media(max-width:760px) {
 .checkout-view .co { grid-template-columns:1fr; padding:28px 18px 56px; }
 .checkout-view .co-side { position:static; order:-1; }
 .checkout-view .co-head { top:10px; margin:10px 10px 0; border-radius:18px; }
 .checkout-view .co-head .wrap { height:64px; padding:0 16px; flex-wrap:nowrap; gap:12px; }
 .checkout-view .co-head .logo img { height:26px; }
 .checkout-view .co-head .wrap > a:not(.logo) { font-size:12px !important; }
 .checkout-view .theme-toggle { margin:0; }
 .checkout-heading h1 { font-size:40px; }
 .checkout-summary-title { font-size:22px; }
 .checkout-view :is(.co-main,.co-side) { padding:26px 22px; border-radius:24px; }
 .checkout-view .co-foot .btn { width:100%; }
}
@media(max-width:380px) {
 .checkout-view .fields { grid-template-columns:1fr; }
 .checkout-view .co-head .logo img { height:22px; }
 .checkout-view .promo .btn { padding-inline:16px; }
}
@media(prefers-reduced-transparency:reduce) {
 .checkout-view :is(.co-head,.co-main,.co-side) { backdrop-filter:none; -webkit-backdrop-filter:none; }
 .checkout-view { --checkout-panel:#fff; }
 html[data-theme=dark] .checkout-view { --checkout-panel:#1c222b; }
}

/* Payment marks retain their brand colors on a neutral plaque in either theme. */
.checkout-view .payment-icons { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:12px 0; }
.checkout-view .payment-icon { display:inline-flex; align-items:center; justify-content:center; width:64px; height:38px; padding:5px 6px; background:#fff; border:1px solid #dfe4ea; border-radius:7px; }
.checkout-view .payment-icon svg { display:block; width:100%; height:100%; }
html[data-theme=dark] .checkout-view .payment-icon { background:#fff; border-color:#ffffff40; }
@media(max-width:380px) { .checkout-view .payment-icons { gap:6px; } .checkout-view .payment-icon { width:55px; height:34px; } }
.checkout-view .checkout-payment { margin:32px 0 22px; }
.checkout-view .checkout-payment legend { font-size:18px; }
.checkout-view .checkout-payment .opt { align-items:flex-start; }
.checkout-view .checkout-payment .opt > input { flex-shrink:0; margin-top:3px; }
.checkout-view .checkout-payment .opt > div { min-width:0; }
.checkout-view .checkout-safety { margin:24px 0 18px; }
.checkout-view .checkout-privacy { font-size:12px; line-height:1.8; color:var(--muted); margin-bottom:16px; }
.checkout-view .checkout-consent { display:flex; gap:14px; padding:18px; border:1px solid var(--line); border-radius:14px; background:var(--checkout-field); font-size:13px; line-height:1.7; cursor:pointer; }
.checkout-view .checkout-consent input { width:18px; height:18px; flex-shrink:0; margin-top:3px; }
.checkout-view .checkout-place-order { width:100%; min-height:56px; }
@media(max-width:760px) { .checkout-view .co-side { order:0; } }
