:root {
  --ink: #111111;
  --paper: #f2f0e8;
  --white: #fffdf7;
  --blue: #2448ff;
  --orange: #ff5a24;
  --yellow: #ffd84a;
  --ice: #dce6ff;
  --muted: #696860;
  --line: rgba(17, 17, 17, .22);
  --danger: #bf271d;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); }
body.layer-open { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30; height: 74px; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 clamp(18px, 3.5vw, 58px); color: var(--white); background: var(--ink);
  border-bottom: 5px solid var(--orange);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; color: inherit; text-decoration: none; }
.brand-signal { display: flex; gap: 3px; height: 31px; transform: skewX(-19deg); }
.brand-signal i { width: 7px; background: var(--orange); }
.brand-signal i:nth-child(2) { height: 72%; margin-top: auto; }
.brand-signal i:nth-child(3) { height: 44%; margin-top: auto; }
.brand-word { display: flex; align-items: flex-end; gap: 8px; line-height: 1; }
.brand-word strong { font-family: var(--display); font-size: 31px; font-weight: 900; letter-spacing: .015em; }
.brand-word small { padding-bottom: 2px; color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.header-note { display: flex; gap: 24px; font: 700 9px/1 var(--mono); letter-spacing: .16em; }
.header-note span { position: relative; }
.header-note span + span::before { content: "/"; position: absolute; left: -14px; color: var(--orange); }
.header-actions { display: flex; justify-content: flex-end; }
.header-button { min-height: 42px; display: flex; align-items: center; gap: 13px; padding: 0 0 0 12px; color: var(--white); border: 1px solid rgba(255,255,255,.45); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.header-button > span:last-child { width: 40px; align-self: stretch; display: grid; place-items: center; color: var(--ink); background: var(--orange); font-size: 18px; }
.header-button-index { color: var(--orange); font: 700 9px/1 var(--mono); }
.header-button:hover { color: var(--ink); background: var(--white); }

/* Hero */
.catalog-intro { min-height: min(770px, calc(100vh - 74px)); display: grid; grid-template-columns: 64px 1fr minmax(120px, 18vw); color: var(--white); background: var(--blue); overflow: hidden; }
.intro-rail { padding: 28px 0; display: flex; align-items: center; justify-content: space-between; writing-mode: vertical-rl; transform: rotate(180deg); border-left: 1px solid rgba(255,255,255,.35); font: 700 9px/1 var(--mono); letter-spacing: .15em; }
.intro-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(55px, 8vw, 120px) clamp(24px, 5vw, 80px); }
.eyebrow, .results-row, .product-meta, .order-code, .status-pill, .section-number { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.eyebrow { display: block; margin-bottom: 30px; font-size: 10px; }
.catalog-intro h1 { margin: 0; font-family: var(--display); font-size: clamp(76px, 10.7vw, 176px); font-weight: 900; line-height: .78; letter-spacing: .005em; text-transform: uppercase; }
.catalog-intro h1 span, .catalog-intro h1 em { display: block; font-style: normal; }
.catalog-intro h1 em { color: transparent; -webkit-text-stroke: clamp(1px, .16vw, 3px) var(--white); transform: translateX(clamp(0px, 4vw, 60px)); }
.intro-bottom { max-width: 760px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 35px; margin-top: 54px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.6); }
.intro-bottom p { max-width: 520px; margin: 0; font-size: 14px; line-height: 1.65; }
.intro-bottom a { min-width: 156px; display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 2px solid var(--orange); color: var(--white); font-size: 12px; font-weight: 800; text-decoration: none; }
.intro-number { position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px; color: var(--ink); background: var(--orange); font: 900 clamp(70px, 11vw, 190px)/.8 var(--display); writing-mode: vertical-rl; }
.intro-number::before { content: "PRODUSE"; position: absolute; top: 30px; color: var(--ink); font: 700 9px/1 var(--mono); letter-spacing: .18em; }
.motion-strip { height: 48px; overflow: hidden; color: var(--ink); background: var(--yellow); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.motion-strip div { width: max-content; height: 100%; display: flex; align-items: center; gap: 26px; padding-left: 18px; font: 900 18px/1 var(--display); letter-spacing: .04em; animation: ticker 22s linear infinite; }
.motion-strip i { color: var(--blue); font-style: normal; font-size: 10px; }
@keyframes ticker { to { transform: translateX(-45%); } }

/* Catalog controls */
.catalog { width: min(1600px, 100%); margin: 0 auto; padding: clamp(70px, 9vw, 130px) clamp(16px, 3.5vw, 56px) 90px; }
.catalog-heading { display: grid; grid-template-columns: 70px minmax(280px, 1fr) minmax(230px, 390px); align-items: end; gap: 22px; margin-bottom: 48px; }
.section-number { align-self: start; color: var(--orange); font-size: 10px; }
.catalog-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(46px, 6vw, 92px); font-weight: 900; line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
.catalog-heading p { margin: 0; padding-top: 18px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 13px; line-height: 1.6; }
.catalog-tools { display: grid; grid-template-columns: minmax(250px, 420px) 1fr; gap: 22px; align-items: end; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.search-box { min-height: 52px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 0 15px; color: var(--white); background: var(--ink); }
.search-label { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.search-box input { width: 100%; padding: 0; color: var(--white); border: 0; outline: 0; background: transparent; font-size: 14px; }
.search-box input::placeholder { color: rgba(255,255,255,.55); }
.search-box > span:last-child { font-size: 24px; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.filters button, .empty-state button { min-height: 36px; padding: 0 13px; border: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 10px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.filters button:hover, .filters button.active { color: var(--white); background: var(--blue); }
.results-row { display: flex; justify-content: space-between; padding: 19px 0; color: var(--muted); font-size: 9px; }

/* Product editorial grid */
.product-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.product-card { position: relative; min-width: 0; grid-column: span 3; display: flex; flex-direction: column; background: var(--white); overflow: hidden; }
.product-card:nth-child(1), .product-card:nth-child(8) { grid-column: span 6; display: grid; grid-template-columns: 1.45fr 1fr; }
.product-image { position: relative; min-height: 280px; aspect-ratio: 1 / .92; display: grid; place-items: center; overflow: hidden; background: #e9e7df; }
.product-card:nth-child(3n) .product-image { background: var(--ice); }
.product-card:nth-child(5n) .product-image { background: #efe3da; }
.product-card:nth-child(1) .product-image, .product-card:nth-child(8) .product-image { min-height: 440px; aspect-ratio: auto; }
.product-image::after { content: "+"; position: absolute; right: 12px; bottom: 7px; color: rgba(17,17,17,.3); font: 400 25px/1 var(--mono); }
.product-image img { width: 83%; height: 76%; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.02); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image img { transform: scale(1.08) rotate(-1.5deg); }
.badge { position: absolute; top: 0; left: 0; z-index: 2; min-width: 58px; padding: 9px 10px; color: var(--white); background: var(--orange); font: 700 9px/1 var(--mono); text-align: center; }
.product-index { position: absolute; top: 12px; right: 14px; z-index: 2; color: var(--ink); font: 700 10px/1 var(--mono); }
.product-content { min-height: 210px; display: flex; flex: 1; flex-direction: column; padding: 18px 17px 17px; }
.product-card:nth-child(1) .product-content, .product-card:nth-child(8) .product-content { min-height: 440px; padding: 25px 23px; color: var(--white); background: var(--blue); }
.product-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 15px; color: var(--muted); font-size: 8px; }
.product-card:nth-child(1) .product-meta, .product-card:nth-child(8) .product-meta { color: rgba(255,255,255,.65); }
.product-content h2 { margin: 0 0 24px; font-size: 14px; line-height: 1.35; letter-spacing: -.02em; }
.product-card:nth-child(1) .product-content h2, .product-card:nth-child(8) .product-content h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 43px); font-weight: 900; line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.product-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.product-card:nth-child(1) .product-actions, .product-card:nth-child(8) .product-actions { border-color: rgba(255,255,255,.3); }
.price { display: grid; gap: 3px; }
.price strong { font-family: var(--display); font-size: 23px; letter-spacing: .02em; }
.price s { color: var(--muted); font-size: 9px; }
.product-card:nth-child(1) .price s, .product-card:nth-child(8) .price s { color: rgba(255,255,255,.6); }
.buy-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); font-size: 10px; font-weight: 900; text-decoration: none; text-transform: uppercase; transition: background .18s, color .18s; }
.buy-button::after { content: "↗"; margin-left: 12px; font-size: 15px; }
.buy-button:hover { color: var(--ink); background: var(--orange); }
.product-card:nth-child(1) .buy-button, .product-card:nth-child(8) .buy-button { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.product-card:nth-child(1) .buy-button:hover, .product-card:nth-child(8) .buy-button:hover { background: var(--yellow); }
.unavailable-label { padding: 10px; color: var(--muted); border: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.empty-state { min-height: 380px; place-items: center; align-content: center; gap: 10px; text-align: center; border: 1px solid var(--ink); }
.empty-state:not([hidden]) { display: grid; }
.empty-state > span { color: var(--orange); font: 900 76px/1 var(--display); }
.empty-state strong { font: 900 30px/1 var(--display); text-transform: uppercase; }
.empty-state p { margin: 0 0 10px; color: var(--muted); }
.empty-state button { background: var(--yellow); }

/* Trust strip and footer */
.checkout-notice { position: relative; display: grid; grid-template-columns: 60px minmax(260px, .8fr) minmax(330px, 1.2fr) auto; align-items: center; gap: 28px; padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 64px); color: var(--white); background: var(--orange); border-top: 1px solid var(--ink); overflow: hidden; }
.checkout-notice .section-number { color: var(--ink); }
.checkout-notice strong { font-family: var(--display); font-size: clamp(34px, 4vw, 58px); line-height: .9; letter-spacing: .015em; text-transform: uppercase; }
.checkout-notice p { max-width: 680px; margin: 0; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; }
.notice-mark { font: 900 clamp(55px, 7vw, 105px)/1 var(--display); }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: clamp(30px, 5vw, 78px); padding: 45px clamp(20px, 4vw, 64px); color: var(--white); background: var(--ink); border-top: 1px solid var(--white); }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 11px 32px; }
.site-footer nav a { display: flex; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { color: var(--orange); }
.site-footer nav span { color: var(--orange); font: 700 9px/1.4 var(--mono); }
.site-footer p { max-width: 240px; margin: 0; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.6; text-align: right; }

/* Account, login and orders */
.page-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(17,17,17,.7); backdrop-filter: blur(7px); }
.side-panel { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(680px, 100%); height: 100dvh; display: flex; flex-direction: column; color: var(--ink); background: var(--white); border-left: 5px solid var(--orange); box-shadow: -24px 0 70px rgba(0,0,0,.25); overflow: hidden; }
.panel-header { min-height: 134px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 30px; color: var(--white); background: var(--blue); border-bottom: 1px solid var(--ink); }
.panel-header .eyebrow { margin: 0 0 12px; color: var(--yellow); }
.panel-header h2 { margin: 0; font: 900 42px/.9 var(--display); text-transform: uppercase; }
.icon-button { width: 46px; height: 46px; display: grid; place-items: center; padding: 0 0 4px; color: var(--white); border: 1px solid var(--white); border-radius: 0; background: transparent; font-size: 29px; cursor: pointer; }
.icon-button:hover { color: var(--ink); background: var(--orange); }
.account-content { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.login-view { min-height: 100%; display: grid; align-content: center; padding: 44px clamp(24px, 8vw, 74px); background: linear-gradient(90deg, transparent 31px, rgba(17,17,17,.08) 32px, transparent 33px); background-size: 64px 100%; }
.login-view h3 { margin: 0 0 12px; font: 900 42px/.95 var(--display); text-transform: uppercase; }
.login-view > p { max-width: 500px; margin: 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.login-form { display: grid; gap: 14px; }
.auth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field { display: grid; gap: 7px; }
.field > span { font: 700 9px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.field input, .field select, .tracking-form input { width: 100%; min-height: 52px; padding: 11px 13px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 0; }
.primary-button, .secondary-button { width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid var(--ink); border-radius: 0; font-size: 11px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.primary-button { color: var(--white); background: var(--blue); }
.primary-button:hover { color: var(--ink); background: var(--orange); }
.primary-button:disabled { opacity: .4; cursor: not-allowed; }
.secondary-button { background: var(--white); }
.secondary-button:hover { background: var(--yellow); }
.panel-note, .form-disclaimer { margin: 11px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; text-align: center; }
.account-dashboard { padding-bottom: 34px; }
.account-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 30px; background: var(--yellow); border-bottom: 1px solid var(--ink); }
.account-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.account-avatar { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; color: var(--white); background: var(--ink); font: 900 17px/1 var(--display); }
.account-identity strong, .account-identity span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-identity strong { margin-bottom: 4px; font-size: 14px; }
.account-identity span { font-size: 10px; }
.text-button { padding: 0; border: 0; background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.account-section { padding: 29px 30px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.section-heading h3 { margin: 0; font: 900 24px/1 var(--display); text-transform: uppercase; }
.section-heading span { color: var(--orange); font: 700 10px/1 var(--mono); }
.tracking-form { display: flex; gap: 7px; }
.tracking-form input { min-width: 0; text-transform: uppercase; }
.tracking-form button { width: auto; min-height: 52px; white-space: nowrap; }
.tracking-result { margin-top: 12px; }
.tracking-error { margin: 10px 0 0; color: var(--danger); font-size: 12px; }
.orders-list { display: grid; gap: 12px; }
.order-card { border: 1px solid var(--ink); background: var(--white); }
.order-card.compact .order-products, .order-card.compact .order-progress { display: none; }
.order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 15px; border-bottom: 1px solid var(--line); }
.order-code { display: block; margin-bottom: 5px; font-size: 10px; }
.order-date { color: var(--muted); font-size: 10px; }
.order-total { text-align: right; }
.order-total strong { display: block; font-family: var(--display); font-size: 19px; }
.status-pill { display: inline-flex; margin-top: 5px; padding: 5px 7px; color: var(--white); background: var(--orange); font-size: 7px; white-space: nowrap; }
.status-pill.delivered { background: var(--blue); }
.order-products { display: grid; gap: 7px; padding: 14px 15px; font-size: 10px; border-bottom: 1px solid var(--line); }
.order-product { display: flex; justify-content: space-between; gap: 15px; }
.order-product span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-progress { padding: 18px 15px 15px; }
.progress-track { position: relative; height: 3px; margin: 8px 9px 12px; background: #ccc9be; }
.progress-fill { height: 100%; background: var(--blue); }
.progress-steps { position: absolute; inset: 50% 0 auto; display: flex; justify-content: space-between; transform: translateY(-50%); }
.progress-dot { width: 15px; height: 15px; background: var(--white); border: 2px solid #aaa79c; border-radius: 50%; }
.progress-dot.done { background: var(--orange); border-color: var(--ink); }
.progress-labels { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--muted); font-size: 7px; text-align: center; }
.progress-labels span:first-child { text-align: left; }
.progress-labels span:last-child { text-align: right; }
.delivery-note { margin: 12px 0 0; padding-top: 11px; border-top: 1px dashed var(--line); font-size: 10px; }
.no-orders { margin: 0; padding: 24px; color: var(--muted); background: #eeece5; font-size: 12px; text-align: center; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; width: max-content; max-width: calc(100% - 32px); padding: 14px 19px; color: var(--white); background: var(--blue); border: 1px solid var(--white); box-shadow: 8px 8px 0 var(--orange); font-size: 12px; text-align: center; transform: translateX(-50%); }

/* Payment return */
.payment-return-page { min-height: 100dvh; color: var(--white); background: var(--blue); }
.payment-return-header { grid-template-columns: 1fr auto; }
.payment-return-header .eyebrow { margin: 0; }
.payment-return-main { min-height: calc(100dvh - 74px); display: grid; place-items: center; padding: clamp(24px, 6vw, 80px); background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.1) 80px); }
.payment-return-card { width: min(900px, 100%); padding: clamp(32px, 7vw, 78px); color: var(--ink); background: var(--white); border: 1px solid var(--ink); box-shadow: 18px 18px 0 var(--orange); }
.payment-return-mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 38px; color: var(--white); background: var(--blue); font-size: 26px; font-weight: 900; }
.payment-return-card h1 { margin: 0 0 30px; font: 900 clamp(48px, 7vw, 92px)/.83 var(--display); text-transform: uppercase; }
.payment-return-card h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 2px var(--ink); }
.payment-return-card > p { max-width: 640px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.payment-return-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 34px; }
.payment-return-actions a { display: grid; place-items: center; text-decoration: none; }
.payment-return-card small { display: block; margin-top: 18px; color: var(--muted); font-size: 9px; line-height: 1.55; }

/* Administration */
.admin-page { min-height: 100vh; background: var(--paper); }
.admin-header { position: sticky; top: 0; z-index: 10; }
.admin-header-actions { display: flex; align-items: center; gap: 16px; }
.admin-header-actions .eyebrow { margin: 0; }
.admin-header-actions .secondary-button { width: auto; min-height: 40px; padding: 0 18px; }
.admin-main { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 96px; }
.admin-login-card, .admin-message { width: min(520px, 100%); margin: 7vh auto 0; padding: 34px; border: 1px solid var(--ink); background: var(--white); box-shadow: 10px 10px 0 var(--orange); }
.admin-login-card h1, .admin-message h1 { margin: 12px 0 8px; font: 900 clamp(32px,4vw,50px)/.9 var(--display); text-transform: uppercase; }
.admin-login-card > p, .admin-message > p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.admin-title-row, .admin-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-title-row { margin-bottom: 28px; }
.admin-title-row h1 { margin: 8px 0 0; font: 900 clamp(42px,6vw,76px)/.85 var(--display); text-transform: uppercase; }
.admin-title-row .secondary-button { width: auto; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ink); background: var(--white); }
.admin-stats article { min-height: 140px; padding: 24px; display: grid; align-content: space-between; border-right: 1px solid var(--ink); }
.admin-stats article:last-child { border-right: 0; }
.admin-stats span { color: var(--muted); font: 700 10px/1 var(--mono); text-transform: uppercase; }
.admin-stats strong { font: 900 clamp(32px,4vw,48px)/1 var(--display); }
.admin-section { margin-top: 42px; }
.admin-section-title { margin-bottom: 15px; }
.admin-section-title h2 { margin: 0; font: 900 30px/1 var(--display); text-transform: uppercase; }
.admin-section-title p { margin: 0; color: var(--muted); font-size: 13px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--ink); background: var(--white); }
.admin-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--white); background: var(--blue); font: 700 10px/1.2 var(--mono); text-transform: uppercase; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td > strong, .admin-table td > small { display: block; }
.admin-table td > small { margin-top: 4px; color: var(--muted); }
.admin-details summary { cursor: pointer; font-weight: 700; }
.admin-details[open] { min-width: 220px; }
.admin-details small { display: block; max-width: 300px; margin-top: 4px; color: var(--muted); white-space: normal; }
.admin-table input[type='text'], .admin-table input[type='number'], .admin-table select { min-width: 120px; padding: 10px; border: 1px solid var(--ink); background: var(--white); }
.admin-table input[type='checkbox'] { width: 20px; height: 20px; accent-color: var(--orange); }
.admin-table a { font-weight: 700; }
.admin-save { width: auto; min-height: 38px; padding: 0 14px; }
.admin-empty, .admin-feedback { padding: 14px 0; color: var(--muted); }
.admin-feedback.error { color: var(--danger); }
.admin-message code, .admin-section-title code { padding: 2px 5px; background: var(--yellow); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-note { display: none; }
  .product-card { grid-column: span 4; }
  .product-card:nth-child(1), .product-card:nth-child(8) { grid-column: span 8; }
  .catalog-tools { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; }
  .checkout-notice { grid-template-columns: 50px 1fr 1fr; }
  .notice-mark { display: none; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 14px; border-bottom-width: 4px; }
  .brand-signal { height: 27px; }
  .brand-word strong { font-size: 27px; }
  .brand-word small, .header-button-index { display: none; }
  .header-button { min-height: 38px; gap: 8px; padding-left: 10px; }
  .header-button > span:last-child { width: 34px; }
  .catalog-intro { min-height: 680px; grid-template-columns: 34px 1fr; }
  .intro-rail { padding: 18px 0; }
  .intro-number { position: absolute; right: 0; width: 84px; height: 180px; margin-top: 34px; writing-mode: initial; font-size: 78px; opacity: .95; }
  .intro-number::before { top: auto; bottom: 12px; }
  .intro-copy { padding: 90px 20px 56px; overflow: hidden; }
  .catalog-intro h1 { font-size: clamp(63px, 20vw, 104px); line-height: .8; }
  .catalog-intro h1 em { transform: translateX(0); }
  .intro-bottom { grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
  .intro-bottom a { width: 170px; }
  .catalog { padding: 70px 14px 65px; }
  .catalog-heading { grid-template-columns: 34px 1fr; gap: 10px; }
  .catalog-heading p { grid-column: 2; }
  .catalog-tools { gap: 14px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filters button { flex: 0 0 auto; }
  .results-row { align-items: flex-start; flex-direction: column; gap: 7px; }
  .product-card, .product-card:nth-child(1), .product-card:nth-child(8) { grid-column: span 6; display: flex; }
  .product-card:nth-child(1) .product-image, .product-card:nth-child(8) .product-image { min-height: 280px; aspect-ratio: 1/.92; }
  .product-card:nth-child(1) .product-content, .product-card:nth-child(8) .product-content { min-height: 210px; padding: 18px 17px 17px; color: var(--ink); background: var(--white); }
  .product-card:nth-child(1) .product-meta, .product-card:nth-child(8) .product-meta { color: var(--muted); }
  .product-card:nth-child(1) .product-content h2, .product-card:nth-child(8) .product-content h2 { font-family: var(--body); font-size: 13px; line-height: 1.35; letter-spacing: -.02em; text-transform: none; }
  .product-card:nth-child(1) .product-actions, .product-card:nth-child(8) .product-actions { border-color: var(--line); }
  .product-card:nth-child(1) .price s, .product-card:nth-child(8) .price s { color: var(--muted); }
  .product-card:nth-child(1) .buy-button, .product-card:nth-child(8) .buy-button { color: var(--white); border-color: var(--ink); background: var(--ink); }
  .product-image { min-height: 220px; }
  .product-content { min-height: 195px; padding: 14px 12px; }
  .product-content h2 { font-size: 12px; }
  .price strong { font-size: 20px; }
  .buy-button { min-height: 38px; padding: 0 10px; }
  .buy-button::after { margin-left: 6px; }
  .checkout-notice { grid-template-columns: 36px 1fr; gap: 18px; padding: 36px 18px; }
  .checkout-notice p { grid-column: 2; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.55); border-left: 0; }
  .site-footer { grid-template-columns: 1fr; padding: 36px 18px; }
  .site-footer nav { grid-template-columns: 1fr; }
  .site-footer p { text-align: left; }
  .panel-header { min-height: 112px; padding: 24px 18px; }
  .panel-header h2 { font-size: 34px; }
  .login-view { padding: 35px 20px; }
  .auth-actions { grid-template-columns: 1fr; }
  .account-hero, .account-section { padding-left: 18px; padding-right: 18px; }
  .tracking-form { flex-direction: column; }
  .tracking-form button { width: 100%; }
  .payment-return-header .eyebrow { display: none; }
  .payment-return-main { min-height: calc(100dvh - 66px); padding: 22px; }
  .payment-return-card { padding: 32px 22px; box-shadow: 9px 9px 0 var(--orange); }
  .payment-return-actions { grid-template-columns: 1fr; }
  .admin-main { width: min(100% - 28px, 1440px); padding-top: 32px; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .admin-stats article:nth-child(2) { border-right: 0; }
  .admin-stats article:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .admin-section-title { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .product-card, .product-card:nth-child(1), .product-card:nth-child(8) { grid-column: span 12; }
  .product-image, .product-card:nth-child(1) .product-image, .product-card:nth-child(8) .product-image { min-height: 300px; aspect-ratio: 1/.82; }
  .product-content, .product-card:nth-child(1) .product-content, .product-card:nth-child(8) .product-content { min-height: 170px; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-stats article { border-right: 0; border-bottom: 1px solid var(--ink); }
  .admin-stats article:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
