/* ===== Design tokens ===== */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --text: #16181d;
  --muted: #6b7079;
  --border: #e6e6e3;
  --primary: #16181d;
  --primary-hover: #2c2f37;
  --accent: #2f5bea;
  --sale: #d92d20;
  --sale-bg: #fef1f0;
  --ok: #067647;
  --ok-bg: #ecfdf3;
  --warn: #b54708;
  --warn-bg: #fffaeb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ===== Buttons & inputs ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: 600 14px/1 var(--font);
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { border-color: #cfcfcb; background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: 1; background: var(--surface-2); color: #9a9da4; border-color: var(--border); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-ghost { background: transparent; }
.btn-danger { color: var(--sale); }
.btn-danger:hover { background: var(--sale-bg); border-color: #fecdca; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font: 500 13px var(--font); cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--sale); }

.input {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); font: 400 15px var(--font); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 91, 234, .15); }
.input-sm { height: 36px; font-size: 14px; padding: 0 10px; width: auto; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 14px; }
.field-link { justify-self: end; font-size: 13px; color: var(--muted); }
.field-link:hover { color: var(--text); }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--primary); }

/* ===== Alerts ===== */
.alert { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 14px; border: 1px solid; }
.alert-success { background: var(--ok-bg); color: var(--ok); border-color: #abefc6; }
.alert-error { background: var(--sale-bg); color: var(--sale); border-color: #fecdca; }
.alert-info { background: #eff4ff; color: #1d4ed8; border-color: #c7d7fe; }
.auth-card .alert { margin: 0 0 16px; }
.notice { margin-top: 8px; padding: 8px 10px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.notice-error { background: var(--sale-bg); color: var(--sale); }
.notice-warn { background: var(--warn-bg); color: var(--warn); }

/* ===== Header ===== */
.announcement { background: var(--primary); color: #e9e9e7; text-align: center; font-size: 13px; padding: 8px 16px; letter-spacing: .01em; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(47, 91, 234, .25)); }
.search { flex: 1; max-width: 460px; margin-left: auto; position: relative; }
.search svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); font: 400 14px var(--font); }
.search input:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 91, 234, .12); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; font-size: 14px; cursor: pointer; list-style: none; }
.nav-link::-webkit-details-marker { display: none; }
.nav-link:hover { background: var(--surface-2); }
.nav-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-admin { background: #eff4ff; color: var(--accent); font-weight: 600; }
.nav-admin:hover { background: #e0e9ff; }
.cart-link { position: relative; }
.cart-badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transition: transform .2s; }
.cart-badge.is-empty { display: none; }
.cart-badge.bump { transform: scale(1.35); }
.account-menu { position: relative; }
.account-dropdown { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; display: grid; }
.account-dropdown a, .account-dropdown button { padding: 9px 12px; border-radius: 6px; text-decoration: none; font: 500 14px var(--font); text-align: left; background: none; border: 0; cursor: pointer; width: 100%; color: var(--text); }
.account-dropdown a:hover, .account-dropdown button:hover { background: var(--surface-2); }
.account-email { padding: 8px 12px 10px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: 4px; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, #f1f1ee, var(--bg)); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; max-width: 12ch; text-wrap: balance; }
/* Translucent band behind the lower part of the text; clone keeps it on every wrapped line */
.soft-underline {
  background-image: linear-gradient(transparent 62%, rgba(47, 91, 234, .22) 62%, rgba(47, 91, 234, .22) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em;
}
.hero p { font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg); }

/* ===== Catalog ===== */
.catalog { padding-top: 40px; padding-bottom: 64px; scroll-margin-top: 80px; }
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.catalog-head h2 { font-size: 28px; margin: 0; }
.catalog-head p { margin: 4px 0 0; }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 500; transition: all .15s; }
.chip:hover { border-color: #c9c9c5; }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.is-soldout .card-media img, .pdp-media.is-soldout img { filter: grayscale(1); opacity: .55; }
.tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tag-sale { background: var(--sale); color: #fff; }
.tag-dark { background: var(--primary); color: #fff; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-category { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; flex: 1; align-content: flex-start; }
.card .btn { margin-top: auto; }

.price-group { display: inline-flex; align-items: baseline; gap: 8px; }
.price { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.price-sale { color: var(--sale); }
.price-old { color: var(--muted); font-size: 14px; font-weight: 400; text-decoration-thickness: 1.5px; }
.price-lg .price { font-size: 30px; letter-spacing: -.02em; }
.price-lg .price-old { font-size: 18px; }
.stock-low { font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-bg); padding: 3px 8px; border-radius: 999px; }

.empty { text-align: center; padding: 72px 20px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }

/* ===== Product page ===== */
.breadcrumbs { font-size: 13px; color: var(--muted); padding: 24px 0; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--text); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-media { position: relative; border-radius: 20px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1; border: 1px solid var(--border); }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media .tag { top: 18px; left: 18px; font-size: 14px; padding: 6px 12px; }
.pdp-info h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin: 8px 0 16px; }
.pdp-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.save-pill { background: var(--sale-bg); color: var(--sale); font-weight: 600; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.stock { font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.stock-ok { color: var(--ok); }
.stock-warn { color: var(--warn); }
.stock-out { color: var(--sale); }
.pdp-desc { color: #3d4047; font-size: 16px; line-height: 1.7; }
.pdp-buy { display: flex; gap: 12px; margin: 24px 0 12px; flex-wrap: wrap; }
.pdp-buy .btn { flex: 1; min-width: 220px; }
.pdp-perks { list-style: none; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.pdp-perks li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 10px; }
.related { padding: 72px 0; }
.related h2 { font-size: 24px; margin-bottom: 24px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--text); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 52px; height: 100%; border: 0; text-align: center; font: 600 15px var(--font); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 40px; font-size: 14px; }

/* ===== Cart ===== */
.page { padding-top: 40px; padding-bottom: 72px; }
.page.narrow { max-width: 820px; }
.page-title { font-size: 32px; font-weight: 800; }
.section-title { font-size: 20px; margin: 32px 0 16px; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; margin-top: 24px; }
.cart-items { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto 110px; gap: 20px; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item.is-unavailable .cart-thumb img { filter: grayscale(1); opacity: .5; }
.cart-thumb img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.cart-name { font-weight: 600; text-decoration: none; }
.cart-name:hover { text-decoration: underline; }
.cart-unit { margin-top: 6px; }
.cart-unit .price { font-size: 15px; }
.cart-unit .price-old { font-size: 13px; }
.cart-controls { display: grid; justify-items: center; gap: 8px; }
.cart-line { text-align: right; display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; display: grid; gap: 12px; }
.summary h2 { font-size: 18px; margin: 0 0 4px; }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; font-variant-numeric: tabular-nums; }
.summary-savings { color: var(--sale); font-weight: 600; }
.summary-total { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; font-size: 18px; font-weight: 700; }
.summary p { margin: 0; }

/* ===== Checkout & payment ===== */
.checkout-form { margin-top: 8px; }
.checkout-main { display: grid; gap: 24px; }
.panel-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.panel-box h2 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.panel-box h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.panel-box p { margin: 0 0 8px; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; display: grid; place-items: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-options { display: grid; gap: 12px; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option:hover { border-color: #c9c9c5; }
.pay-option:has(input:checked) { border-color: var(--primary); background: #fafafa; box-shadow: 0 0 0 1px var(--primary); }
.pay-option input { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.pay-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.pay-cod { background: var(--ok-bg); color: var(--ok); }
.pay-whish { background: #fdecef; color: #d6204e; }
.summary-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.summary-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.pay-box { background: #fff; border: 2px solid #d6204e; border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.pay-box h2 { font-size: 20px; }
.pay-steps { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.pay-amount { font-size: 18px; color: #d6204e; }
.pay-ref-form { display: flex; gap: 10px; margin-bottom: 10px; }
.pay-ref-form .input { flex: 1; }
.order-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.pre-line { white-space: pre-line; }
.check-wait { background: var(--warn-bg); color: var(--warn); }
.pill-pay-pending { background: var(--warn-bg); color: var(--warn); }
.pill-pay-awaiting-confirmation { background: #eff4ff; color: var(--accent); }
.pill-pay-paid { background: var(--ok-bg); color: var(--ok); }
.pill-pay-refunded { background: var(--surface-2); color: var(--muted); }

/* ===== Auth ===== */
.auth-wrap { display: grid; place-items: center; padding: 64px 20px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 26px; font-weight: 800; }
.auth-card > p { margin-bottom: 24px; }
.auth-card .form + p { margin: 20px 0 0; font-size: 14px; }

/* ===== Tables & pills ===== */
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tfoot td { border-top: 1px solid var(--border); border-bottom: 0; padding: 10px 16px; }
.table tfoot .total td { font-weight: 700; font-size: 16px; }
.table th.num { text-align: right; }
.table .price-old { margin-left: 6px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill-placed, .pill-live { background: #eff4ff; color: var(--accent); }
.pill-shipped { background: #f4f3ff; color: #5925dc; }
.pill-delivered, .pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-cancelled, .pill-soldout { background: var(--sale-bg); color: var(--sale); }
.pill-low { background: var(--warn-bg); color: var(--warn); }
.pill-sale { background: var(--sale-bg); color: var(--sale); }
.order-head { text-align: center; margin-bottom: 28px; }
.check { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.page .center .btn { margin: 24px 4px 0; }

/* ===== Footer & toast ===== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 48px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid a, .footer-grid span { display: block; font-size: 14px; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid p { margin-top: 12px; font-size: 14px; max-width: 32ch; }
/* Keep the logo's own layout instead of the footer link styles above */
.footer-grid .logo { display: inline-flex; font-size: 20px; margin-bottom: 0; }
.footer-grid .logo:hover { text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding: 20px; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--sale); }
.toast a { color: #fff; font-weight: 700; margin-left: 10px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .pdp { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; height: 60px; }
  .logo { font-size: 18px; }
  .search { display: none; }
  .header-actions { margin-left: auto; }
  .hide-sm { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 14px; }
  .price { font-size: 15px; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 12px 16px; }
  .cart-thumb img { width: 72px; height: 72px; }
  .cart-controls { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; gap: 16px; }
  .cart-line { grid-column: 2; text-align: left; }
  .auth-card { padding: 24px; }
  .form-row, .order-info { grid-template-columns: 1fr; }
  .pay-ref-form { flex-direction: column; }
}
