/*
 * The Urban Static Store stylesheet.
 * Author: Frey Gabor | FreyDesigns and Developments | https://freygabor.com/
 * Copyright (c) 2026-present Frey Gabor. All rights reserved.
 * Licensed under the included FreyDesigns commercial licence.
 */
:root {
  --ink: #172544;
  --ink-soft: #47506a;
  --paper: #fbf7f0;
  --cream: #f2e6d5;
  --orange: #f15a29;
  --orange-dark: #d94417;
  --yellow: #f5c84b;
  --mint: #b8d8c0;
  --white: #fff;
  --line: #ded8ce;
  --danger: #b42318;
  --success: #257451;
  --shadow: 0 20px 55px rgba(23, 37, 68, .11);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, blockquote { font-family: Georgia, "Times New Roman", serif; line-height: 1.02; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
code { background: #f0ede6; border-radius: 6px; padding: 3px 6px; font-size: .83em; overflow-wrap: anywhere; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.muted { color: #74798a; }
.danger { color: var(--danger) !important; }

.announcement { padding: 8px 20px; text-align: center; color: var(--white); background: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-header { position: relative; z-index: 10; background: rgba(251, 247, 240, .94); border-bottom: 1px solid var(--line); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.25rem; font-weight: 900; letter-spacing: -.04em; }
.brand-mark, .installer-brand > span { width: 34px; height: 34px; display: inline-grid; place-items: center; color: var(--paper); background: var(--orange); border-radius: 50% 50% 46% 54% / 55% 43% 57% 45%; font-family: Georgia, serif; font-style: italic; transform: rotate(-5deg); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 750; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--orange); }
.cart-link { display: flex; align-items: center; gap: 8px; }
.cart-link span { display: grid; place-items: center; min-width: 25px; height: 25px; padding-inline: 6px; color: white; background: var(--orange); border-radius: 50%; font-size: .73rem; }
.nav-toggle { display: none; border: 0; background: transparent; font-weight: 800; }

.hero { overflow: hidden; background: var(--cream); }
.hero-grid { min-height: 670px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 50px; }
.hero-copy { padding-block: 80px; position: relative; z-index: 2; }
.eyebrow { display: inline-block; margin-bottom: 17px; color: var(--orange-dark); font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 700px; font-size: clamp(4rem, 7.4vw, 7.3rem); }
.hero h1 em { color: var(--orange); font-weight: 400; }
.hero-copy > p { max-width: 570px; color: var(--ink-soft); font-size: 1.18rem; }
.button-row { margin-top: 35px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.compact-row { margin-top: 0; gap: 10px; }
.button { min-height: 50px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 850; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--orange); box-shadow: 0 9px 22px rgba(241, 90, 41, .2); }
.button-primary:hover { background: var(--orange-dark); }
.button-dark { color: white; background: var(--ink); }
.button-secondary { background: transparent; border-color: var(--ink); }
.button-wide { width: 100%; }
.text-link, .back-link { font-weight: 850; border-bottom: 1px solid currentColor; }
.centered { display: block; width: max-content; margin: 18px auto 0; }
.hero-art { min-height: 600px; position: relative; display: grid; place-items: center; }
.sun { position: absolute; width: 450px; height: 450px; border-radius: 50%; background: var(--yellow); right: 1%; top: 10%; }
.tee-shape { width: 340px; height: 410px; position: relative; z-index: 1; display: grid; place-items: center; color: var(--paper); background: var(--ink); border-radius: 18% 18% 10% 10% / 12% 12% 7% 7%; transform: rotate(5deg); filter: drop-shadow(18px 22px 0 rgba(255,255,255,.7)); }
.tee-shape::before, .tee-shape::after { content: ""; position: absolute; top: 7px; width: 145px; height: 155px; background: var(--ink); border-radius: 22px; z-index: -1; }
.tee-shape::before { left: -80px; transform: rotate(37deg); }
.tee-shape::after { right: -80px; transform: rotate(-37deg); }
.tee-shape span { width: 130px; height: 130px; display: grid; place-items: center; border: 4px solid var(--orange); color: var(--orange); border-radius: 50%; font: italic 5.4rem Georgia, serif; }
.hero-note { position: absolute; z-index: 2; right: 0; bottom: 10%; padding: 16px 22px; background: white; border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); transform: rotate(-3deg); font: italic 1.05rem Georgia, serif; }
.trust-strip { padding: 18px 0; color: white; background: var(--orange); overflow: hidden; }
.trust-strip .shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.trust-strip span::before { content: "✦"; margin-right: 10px; color: var(--yellow); }

.section { padding-block: 95px; }
.section-tight { padding-top: 35px; }
.section-heading { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.product-card { min-width: 0; }
.product-media { aspect-ratio: 4 / 4.8; position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.product-media img, .product-media .product-placeholder { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.product-media:hover img, .product-media:hover .product-placeholder { transform: scale(1.035); }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: #cdd9cc; }
.product-placeholder::before { content: ""; width: 56%; height: 68%; position: absolute; background: var(--paper); border-radius: 22% 22% 12% 12%; transform: rotate(-4deg); box-shadow: 12px 15px 0 rgba(23,37,68,.1); }
.product-placeholder::after { content: ""; width: 24%; aspect-ratio: 1; position: absolute; background: transparent; border: 4px solid var(--orange); border-radius: 50%; }
.product-placeholder span { position: relative; z-index: 2; color: var(--orange); font: bold 1.2rem Georgia, serif; }
.product-card:nth-child(3n + 2) .product-placeholder { background: #f1c368; }
.product-card:nth-child(3n + 3) .product-placeholder { background: #aebbd8; }
.badge { position: absolute; left: 14px; top: 14px; padding: 7px 11px; color: white; background: var(--orange); border-radius: 99px; font-size: .67rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.product-meta { padding: 17px 3px; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.product-meta h3 { margin: 0 0 4px; font-size: 1.08rem; letter-spacing: -.02em; }
.product-meta p { margin: 0; color: #74798a; font-size: .86rem; line-height: 1.45; }
.product-meta > strong { white-space: nowrap; color: var(--orange-dark); }
.manifesto { padding: 110px 20px; text-align: center; background: var(--ink); color: white; }
.manifesto blockquote { max-width: 950px; margin: 10px auto 30px; font-size: clamp(2.7rem, 6vw, 5.8rem); }
.manifesto p { color: #cbd0dc; }

.page-hero { padding-top: 85px; text-align: center; }
.page-hero h1 { margin-bottom: 17px; }
.page-hero p { max-width: 650px; margin-inline: auto; color: var(--ink-soft); font-size: 1.08rem; }
.page-hero-small { padding-top: 60px; text-align: left; }
.page-hero-small h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.search-bar { max-width: 720px; margin: 0 auto 28px; display: flex; gap: 10px; }
.search-bar input { flex: 1; }
.results-line { margin-bottom: 25px; color: #74798a; font-size: .86rem; }
.empty-state { max-width: 720px; min-height: 360px; padding: 80px 25px; margin: 35px auto 75px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h1, .empty-state h2 { font-size: clamp(2.2rem, 5vw, 4rem); }

.product-detail { display: grid; grid-template-columns: 1.08fr .92fr; gap: 75px; align-items: start; }
.product-detail-media { aspect-ratio: 4 / 4.7; position: sticky; top: 25px; overflow: hidden; background: var(--mint); border-radius: 24px; }
.product-detail-media .product-placeholder { position: relative; }
.product-info { padding-top: 30px; }
.product-info .back-link { display: block; width: max-content; margin-bottom: 55px; }
.product-info h1 { font-size: clamp(3rem, 5vw, 5rem); }
.product-price { margin-bottom: 30px; color: var(--orange-dark); font-size: 1.4rem; font-weight: 900; }
.product-price del { margin-left: 12px; color: #9b9da5; font-weight: 500; }
.product-description { color: var(--ink-soft); font-size: 1.08rem; }
.add-form { margin-top: 35px; padding-top: 30px; border-top: 1px solid var(--line); }
.add-form > label, .stack-form > label, .field-grid > label { display: grid; gap: 8px; font-size: .84rem; font-weight: 800; }
input, select, textarea { width: 100%; padding: 13px 15px; color: var(--ink); background: white; border: 1px solid #cfc9bf; border-radius: 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,90,41,.12); }
textarea { resize: vertical; }
label small { color: #777c8c; font-weight: 500; }
.quantity-row { margin-top: 18px; display: grid; grid-template-columns: 95px 1fr; gap: 12px; align-items: end; }
.quantity-row label { display: grid; gap: 8px; font-size: .84rem; font-weight: 800; }
.product-points { margin-top: 25px; display: grid; gap: 8px; color: var(--ink-soft); font-size: .87rem; }
.sold-out { margin-top: 30px; padding: 18px; text-align: center; background: #eee9e1; border-radius: 10px; font-weight: 800; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 45px; align-items: start; }
.cart-item { padding: 24px 0; display: grid; grid-template-columns: 110px 1fr 80px 100px; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.cart-item:first-of-type { border-top: 1px solid var(--line); }
.cart-thumb { height: 125px; position: relative; display: block; overflow: hidden; border-radius: 10px; }
.cart-thumb .product-placeholder { position: relative; }
.cart-thumb .product-placeholder::after { width: 30px; border-width: 2px; }
.cart-thumb .product-placeholder span { display: none; }
.cart-copy h2 { margin-bottom: 5px; font: 800 1.05rem/1.2 Inter, sans-serif; letter-spacing: -.02em; }
.cart-copy p { margin-bottom: 8px; color: #74798a; font-size: .86rem; }
.cart-quantity { display: grid; gap: 5px; font-size: .75rem; font-weight: 800; }
.cart-quantity input { padding: 8px; }
.line-total { text-align: right; }
.order-summary { padding: 28px; position: sticky; top: 25px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.order-summary h2 { margin-bottom: 25px; font: 850 1.3rem Inter, sans-serif; letter-spacing: -.02em; }
.order-summary > div { padding: 9px 0; display: flex; justify-content: space-between; gap: 20px; }
.order-summary .summary-total { margin: 12px 0 17px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.order-summary > p { color: #777c8c; font-size: .75rem; }
.checkout-line span { display: grid; font-weight: 750; }
.checkout-line small { color: #777c8c; font-weight: 500; }

.auth-section { min-height: 690px; padding: 70px 20px; display: grid; place-items: center; background: var(--cream); }
.auth-card { width: min(520px, 100%); padding: 48px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 3.7rem; margin-bottom: 15px; }
.auth-card > p { color: var(--ink-soft); }
.stack-form { display: grid; gap: 18px; }
.auth-switch { margin: 24px 0 0 !important; text-align: center; font-size: .9rem; }
.auth-switch a { color: var(--orange-dark); font-weight: 850; }
.flash-stack { position: relative; z-index: 20; }
.flash { margin-top: 14px; padding: 13px 17px; border-radius: 10px; font-size: .9rem; font-weight: 750; }
.flash-success { color: #155f41; background: #dff3e8; }
.flash-error { color: #8d2119; background: #fee4e2; }
.flash-info { color: #234b78; background: #e0ecf8; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.span-2 { grid-column: span 2; }
.panel { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.panel h2 { font: 850 1.28rem Inter, sans-serif; letter-spacing: -.02em; }
.panel h3 { margin: 24px 0 8px; font-size: .88rem; }
.checkout-form { padding: 36px; }
.secure-note { margin: -7px 0 0; text-align: center; color: #777c8c; font-size: .77rem; }
.success-page { min-height: 650px; padding: 95px 20px; text-align: center; }
.success-mark { width: 74px; height: 74px; margin: 0 auto 25px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-size: 2rem; font-weight: 900; box-shadow: 8px 8px 0 var(--yellow); }
.success-page h1 { max-width: 780px; margin-inline: auto; }
.success-page > p { max-width: 620px; margin: 0 auto 35px; color: var(--ink-soft); font-size: 1.08rem; }
.success-order { max-width: 500px; margin: 0 auto 35px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; background: white; border: 1px solid var(--line); border-radius: 12px; }
.success-order strong { text-align: right; }

.account-heading, .order-title, .admin-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-heading { margin-bottom: 24px; }
.account-heading h2 { margin: 0; font: 850 1.4rem Inter, sans-serif; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th, td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: #74798a; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
td a { color: var(--orange-dark); font-weight: 800; }
.status { display: inline-flex; padding: 5px 9px; color: #5c5461; background: #ece8e6; border-radius: 99px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.status-paid, .status-completed, .status-active { color: #166142; background: #dff3e8; }
.status-processing { color: #6b5013; background: #fff0c6; }
.status-shipped { color: #264d7a; background: #dcecff; }
.status-cancelled { color: #8d2119; background: #fee4e2; }
.status-large { padding: 8px 13px; }
.order-page > .back-link, .admin-shell > .back-link { display: inline-block; margin-bottom: 35px; }
.order-title { margin-bottom: 35px; }
.order-title h1 { margin: 0; font-size: clamp(3rem, 5vw, 5rem); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 25px; align-items: start; }
.detail-grid > div, .detail-grid > aside { display: grid; gap: 20px; }
.order-line { padding: 17px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.order-line > div { display: grid; }
.order-line span { color: #74798a; font-size: .82rem; }
.order-totals { margin-left: auto; padding-top: 18px; width: min(330px, 100%); }
.order-totals > div { padding: 7px 0; display: flex; justify-content: space-between; }
.order-totals > div:last-child { margin-top: 8px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 1.12rem; }

.admin-shell { padding-block: 60px 95px; }
.admin-heading { margin-bottom: 30px; }
.admin-heading h1 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
.admin-heading p { margin: 10px 0 0; color: #74798a; }
.admin-tabs { margin-bottom: 28px; display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.admin-tabs a { padding: 13px 17px; border-bottom: 3px solid transparent; white-space: nowrap; font-size: .84rem; font-weight: 800; }
.admin-tabs a.active { color: var(--orange-dark); border-color: var(--orange); }
.stat-grid { margin-bottom: 25px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid article { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.stat-grid span { display: block; margin-bottom: 8px; color: #74798a; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.stat-grid strong { font: 700 2rem Georgia, serif; }
.admin-columns { display: grid; grid-template-columns: 1.5fr .5fr; gap: 22px; align-items: start; }
.panel-heading h2 { margin: 0; }
.panel-heading a { color: var(--orange-dark); font-size: .8rem; font-weight: 800; }
.stock-list > div { padding: 12px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.stock-list span { display: grid; }
.stock-list small { color: #777c8c; }
.stock-list b { width: 30px; height: 30px; display: grid; place-items: center; background: #edf1e9; border-radius: 50%; }
.table-product { display: flex; align-items: center; gap: 12px; }
.tiny-thumb { width: 48px; height: 55px; position: relative; flex: 0 0 auto; overflow: hidden; border-radius: 7px; }
.tiny-thumb .product-placeholder { position: relative; }
.tiny-thumb .product-placeholder::after { width: 14px; border-width: 1px; }
.tiny-thumb span { display: none; }
.actions { text-align: right; white-space: nowrap; }
.action-group { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.actions form { display: inline-flex; margin: 0; }
.link-button { padding: 0; color: #74798a; background: none; border: 0; cursor: pointer; font-weight: 800; }
.admin-form { display: grid; grid-template-columns: 1.25fr .75fr; gap: 25px; align-items: start; }
.admin-form aside { position: sticky; top: 20px; }
.products-table { table-layout: fixed; }
.products-table th:nth-child(1) { width: 31%; }
.products-table th:nth-child(2) { width: 20%; }
.products-table th:nth-child(3) { width: 10%; }
.products-table th:nth-child(4) { width: 9%; }
.products-table th:nth-child(5) { width: 15%; }
.products-table th:nth-child(6) { width: 15%; }
.products-table th, .products-table td { vertical-align: middle; }
.products-table tbody tr:last-child td { border-bottom: 0; }
.product-editor-form { grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr); }
.variant-panel { position: static !important; }
.variant-list { display: grid; gap: 12px; }
.variant-row { padding: 14px; display: grid; grid-template-columns: minmax(78px, .55fr) minmax(110px, .9fr) 86px minmax(145px, 1.15fr) auto; gap: 10px; align-items: end; background: #f7f5ef; border: 1px solid var(--line); }
.variant-row label { display: grid; gap: 6px; min-width: 0; font-size: .72rem; font-weight: 800; }
.variant-row input, .variant-row select { min-width: 0; padding: 10px; }
.variant-remove { min-height: 41px; padding: 8px 10px; color: var(--danger); background: transparent; border: 1px solid currentColor; cursor: pointer; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.variant-remove:hover { color: white; background: var(--danger); }
.variant-remove:disabled { color: #aaa69e; border-color: #c9c5bc; cursor: not-allowed; }
.variant-remove:disabled:hover { color: #aaa69e; background: transparent; }
.add-variant-button { width: 100%; }
.variant-note { margin: 0; font-size: .76rem; }
.check-row { display: flex; gap: 25px; }
.check-row label { display: flex; align-items: center; gap: 8px; font-weight: 750; }
.check-row input { width: auto; }
.filter-row { margin-bottom: 20px; display: flex; gap: 9px; flex-wrap: wrap; }
.filter-row a { padding: 8px 14px; background: white; border: 1px solid var(--line); border-radius: 99px; font-size: .78rem; font-weight: 800; }
.filter-row a.active { color: white; background: var(--ink); border-color: var(--ink); }
.payment-panel > div { padding: 10px 0; display: grid; gap: 3px; border-bottom: 1px solid var(--line); }
.payment-panel span { color: #74798a; font-size: .75rem; }
.payment-panel code { overflow-wrap: anywhere; }
.settings-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 25px; align-items: start; }
.connection-status { padding: 18px; display: flex; gap: 13px; background: #eaf6ef; border-radius: 12px; }
.connection-status p { margin: 3px 0 0; color: #607067; font-size: .8rem; }
.status-dot { width: 12px; height: 12px; margin-top: 5px; flex: 0 0 auto; background: #2f9d6e; border-radius: 50%; box-shadow: 0 0 0 5px rgba(47,157,110,.14); }
.settings-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.settings-list dt { margin-bottom: 7px; font-weight: 800; }
.settings-list dd { margin: 0; }
.current-secrets { display: grid; gap: 8px; }
.current-secrets > div { padding: 11px 12px; display: grid; gap: 4px; background: #f1eee6; border: 1px solid var(--line); }
.current-secrets span { color: #74798a; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.current-secrets code { width: fit-content; max-width: 100%; }
.connection-warning { background: #fff0c6; }
.connection-warning .status-dot { background: #b17b00; box-shadow: 0 0 0 5px rgba(177,123,0,.14); }
.stripe-endpoint { padding: 14px; display: grid; gap: 7px; background: #f1eee6; border: 1px solid var(--line); }
.stripe-endpoint strong { font-size: .78rem; }
.stripe-endpoint small { color: #74798a; }
.security-note-inline { margin: 0; padding: 12px; color: #315843; background: #eaf6ef; border-left: 3px solid #2f9d6e; font-size: .75rem; }

.site-footer { padding: 70px 0 25px; color: #d8dce5; background: #111c35; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 55px; }
.brand-light { color: white; }
.footer-grid p { max-width: 390px; margin-top: 18px; color: #98a1b4; }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.footer-grid h3 { margin-bottom: 5px; color: white; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a, .footer-grid span { font-size: .85rem; }
.footer-base { margin-top: 50px; padding-top: 22px; color: #778197; border-top: 1px solid #2a3650; font-size: .75rem; }

/* Visual web installer */
.installer-body { min-height: 100vh; background: var(--cream); }
.installer { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 45px 0 80px; }
.installer-brand { display: flex; align-items: center; gap: 11px; justify-content: center; font-size: 1.2rem; font-weight: 900; }
.installer-brand small { color: #74798a; font-size: .7rem; font-weight: 700; }
.install-progress { max-width: 590px; margin: 38px auto; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.install-progress::before { content: ""; height: 2px; position: absolute; left: 12%; right: 12%; top: 16px; background: #cfc4b2; }
.install-progress > div { position: relative; z-index: 1; display: grid; place-items: center; gap: 5px; color: #9a9288; font-size: .7rem; font-weight: 800; }
.install-progress b { width: 34px; height: 34px; display: grid; place-items: center; background: var(--cream); border: 2px solid #cfc4b2; border-radius: 50%; }
.install-progress .active { color: var(--ink); }
.install-progress .active b { color: white; background: var(--orange); border-color: var(--orange); }
.install-card { width: min(650px, 100%); margin: auto; padding: 45px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.install-card-wide { width: 100%; }
.install-card h1 { font-size: clamp(2.7rem, 7vw, 4.4rem); }
.install-card > p { color: var(--ink-soft); }
.install-card h2 { margin: 25px 0 0; padding-bottom: 8px; font: 850 1rem Inter, sans-serif; border-bottom: 1px solid var(--line); }
.requirement-list { margin: 28px 0; display: grid; }
.requirement-list > div { padding: 12px 0; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.requirement-list small { color: #74798a; }
.requirement-icon { width: 25px; height: 25px; display: grid; place-items: center; color: white; border-radius: 50%; font-size: .75rem; font-weight: 900; }
.requirement-icon.pass { background: var(--success); }
.requirement-icon.fail { background: var(--danger); }
.install-help, .security-note { padding: 14px; color: #7f2b23 !important; background: #fee8e5; border-radius: 9px; font-size: .84rem; }
.install-card > .back-link { display: inline-block; margin-top: 24px; }
.stripe-help { padding: 17px; display: grid; gap: 6px; background: #edf2fa; border-radius: 10px; font-size: .8rem; }
.centered-card { text-align: center; }
.finish-actions { margin: 30px 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.security-note { display: grid; gap: 3px; text-align: left; }

@media (max-width: 900px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 20px; }
  .hero-art { min-height: 520px; }
  .sun { right: 15%; width: 380px; height: 380px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { gap: 40px; }
  .cart-layout, .checkout-layout, .detail-grid, .admin-form, .settings-grid { grid-template-columns: 1fr; }
  .order-summary, .admin-form aside, .product-detail-media { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-columns { grid-template-columns: 1fr; }
  .product-editor-form { grid-template-columns: 1fr; }
  .variant-row { grid-template-columns: 1fr 1fr; }
  .variant-remove { grid-column: span 2; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .announcement { font-size: .64rem; }
  .nav { min-height: 70px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 20px; align-items: stretch; flex-direction: column; gap: 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-copy { padding-top: 55px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.5rem); }
  .hero-art { min-height: 430px; transform: scale(.82); margin: -40px; }
  .tee-shape { width: 290px; height: 350px; }
  .trust-strip .shell { justify-content: center; flex-wrap: wrap; }
  .trust-strip span:nth-child(n+3) { display: none; }
  .section { padding-block: 65px; }
  .section-tight { padding-top: 25px; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-info .back-link { margin-bottom: 35px; }
  .product-detail-media { aspect-ratio: 1; }
  .search-bar { flex-direction: column; }
  .cart-item { grid-template-columns: 80px 1fr 60px; gap: 12px; }
  .cart-thumb { height: 95px; }
  .line-total { grid-column: 2 / -1; text-align: left; }
  .field-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .auth-card, .install-card { padding: 30px 22px; }
  .account-heading, .order-title, .admin-heading { align-items: start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-grid article { padding: 17px; }
  .stat-grid strong { font-size: 1.45rem; }
  .check-row { align-items: start; flex-direction: column; gap: 8px; }
  .products-table { min-width: 720px; }
  .variant-row { grid-template-columns: 1fr; }
  .variant-remove { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .install-progress span { display: none; }
  .finish-actions { flex-direction: column; }
}

/* ==========================================================================\
   THE URBAN STATIC STORE — storefront identity layer
   Keeps the shop, account, checkout, and admin logic intact while replacing
   the original demo look with a sharper streetwear system.
   ========================================================================== */
:root {
  --ink: #0b0b0b;
  --ink-soft: #4c4c49;
  --paper: #f4f1e9;
  --cream: #e9e5db;
  --orange: #f26b38;
  --orange-dark: #a33b20;
  --yellow: #f26b38;
  --mint: #c2c8cc;
  --white: #fff;
  --line: #bebbb2;
  --danger: #d92f21;
  --success: #1f7a4f;
  --static-blue: #6678ff;
  --signal-clay: #f26b38;
  --shadow: 10px 10px 0 rgba(11, 11, 11, .13);
  --radius: 0;
}

body {
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -.01em;
}

h1, h2, blockquote {
  font-family: "Arial Black", Impact, Arial, sans-serif;
  line-height: .91;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.shell { width: min(1280px, calc(100% - 64px)); }
.eyebrow { color: #a33b20; font-size: .7rem; letter-spacing: .2em; }
.button {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 0;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none;
}
.button:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { color: var(--ink); background: var(--orange); }
.button-primary:hover { color: var(--ink); background: var(--orange); }
.button-dark { background: var(--ink); }
.button-secondary { border-color: var(--ink); }
.text-link, .back-link { padding-bottom: 3px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.site-header {
  position: sticky;
  top: 0;
  color: white;
  background: rgba(11, 11, 11, .97);
  border-bottom: 1px solid #313131;
  backdrop-filter: blur(12px);
}
.announcement {
  padding: 8px max(32px, calc((100vw - 1280px) / 2));
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  background: var(--orange);
  font-size: .64rem;
  letter-spacing: .16em;
}
.announcement span::before { content: "✦"; margin-right: 9px; }
.nav { min-height: 88px; }
.brand { gap: 13px; font-size: 1.03rem; letter-spacing: -.025em; text-transform: uppercase; }
.brand-mark {
  width: 45px;
  height: 35px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 0;
  font: 900 .78rem/1 Arial, sans-serif;
  transform: skew(-12deg);
}
.brand-name { max-width: 220px; line-height: .9; }
.nav-links { gap: 34px; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.nav-links a:hover { color: var(--orange); }
.cart-link span { color: var(--ink); background: var(--orange); border-radius: 0; }

.hero { color: white; background: var(--ink); border-bottom: 1px solid #252525; }
.hero-grid { min-height: 735px; grid-template-columns: .94fr 1.06fr; gap: 35px; }
.hero-copy { padding-block: 100px; }
.hero-index {
  margin-bottom: 48px;
  display: block;
  color: #979797;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .22em;
}
.hero .eyebrow { color: var(--orange); }
.hero h1 {
  margin: 0 0 30px;
  max-width: 700px;
  font-family: "Arial Black", Impact, Arial, sans-serif;
  font-size: clamp(5.5rem, 9.2vw, 10.6rem);
  line-height: .73;
  letter-spacing: -.085em;
  text-transform: uppercase;
}
.hero h1 span { color: white; }
.hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 3px var(--orange);
  text-stroke: 3px var(--orange);
}
.hero-copy > p { max-width: 510px; color: #bcbcbc; font-size: 1.08rem; }
.hero .text-link { color: white; }
.hero-art { min-height: 650px; isolation: isolate; }
.hero-gridlines {
  position: absolute;
  inset: 6% 0 5% 2%;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  border: 1px solid #303030;
  transform: rotate(2deg);
}
.sun {
  width: 390px;
  height: 440px;
  right: 8%;
  top: 13%;
  background: var(--static-blue);
  border-radius: 0;
  transform: rotate(11deg);
  box-shadow: 20px 20px 0 var(--orange);
}
.tee-shape {
  width: 350px;
  height: 430px;
  color: var(--ink);
  background: #f5f2e9;
  border: 3px solid var(--ink);
  border-radius: 5% 5% 1% 1%;
  transform: rotate(-7deg);
  filter: drop-shadow(20px 22px 0 rgba(0,0,0,.35));
}
.tee-shape::before, .tee-shape::after { background: #f5f2e9; border: 3px solid var(--ink); border-radius: 6px; }
.tee-shape span {
  width: 145px;
  height: 105px;
  color: var(--ink);
  background: var(--orange);
  border: 0;
  border-radius: 0;
  font: 900 3.4rem/1 "Arial Black", Impact, sans-serif;
  transform: skew(-9deg);
}
.tee-shape small {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  text-align: center;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .2em;
}
.hero-sticker {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 21%;
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  padding: 15px;
  color: white;
  background: var(--signal-clay);
  border-radius: 50%;
  text-align: center;
  font: 900 .78rem/1.05 "Arial Black", sans-serif;
  transform: rotate(-14deg);
}
.hero-note {
  right: 0;
  bottom: 12%;
  padding: 14px 19px;
  color: var(--ink);
  background: var(--orange);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 white;
  font: 800 .7rem/1.35 Arial, sans-serif;
  letter-spacing: .08em;
  transform: rotate(3deg);
}

.trust-strip { padding: 15px 0; color: var(--ink); background: var(--orange); border-bottom: 2px solid var(--ink); }
.trust-strip .shell { font-size: .65rem; letter-spacing: .14em; }
.trust-strip span::before { color: var(--ink); }

.section { padding-block: 110px; }
.section-heading { margin-bottom: 45px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { font-size: clamp(2.9rem, 5vw, 5.5rem); }
.product-grid { grid-template-columns: repeat(4, 1fr); gap: 42px 18px; }
.product-media { aspect-ratio: 4 / 5.15; border: 2px solid var(--ink); border-radius: 0; }
.product-media::after {
  content: "VIEW";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--orange);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .12em;
  opacity: 0;
  transform: translateY(8px);
  transition: .2s ease;
}
.product-media:hover::after { opacity: 1; transform: none; }
.product-placeholder { background: #c9c8c2; }
.product-placeholder::before {
  width: 63%;
  height: 66%;
  background: #f6f3ea;
  border: 2px solid var(--ink);
  border-radius: 3%;
  box-shadow: 12px 14px 0 rgba(11,11,11,.16);
}
.product-placeholder::after { border-color: var(--ink); border-radius: 0; transform: rotate(45deg); }
.product-placeholder span { color: var(--ink); font-family: "Arial Black", sans-serif; }
.product-card:nth-child(3n + 2) .product-placeholder { background: var(--orange); }
.product-card:nth-child(3n + 3) .product-placeholder { background: var(--static-blue); }
.product-card:nth-child(4n) .product-placeholder { background: var(--signal-clay); }
.badge { left: -2px; top: -2px; padding: 9px 12px; color: var(--ink); background: var(--orange); border-radius: 0; border: 2px solid var(--ink); }
.product-meta { padding: 14px 0; display: grid; grid-template-columns: 1fr auto; border-top: 0; }
.product-meta h3 { font-size: .84rem; letter-spacing: .02em; text-transform: uppercase; }
.product-meta p { max-width: 250px; color: #5f5f5b; font-size: .76rem; }
.product-meta > strong { color: var(--ink); font-size: .82rem; }

.manifesto {
  min-height: 630px;
  padding: 120px 20px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--orange);
  border-block: 3px solid var(--ink);
}
.manifesto .shell { position: relative; z-index: 1; }
.manifesto .eyebrow { color: var(--ink); }
.manifesto blockquote { max-width: 1100px; font-size: clamp(4rem, 8vw, 9rem); }
.manifesto p { color: var(--ink); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.manifesto-noise {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -2%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11,11,11,.18);
  font: 900 clamp(5rem, 15vw, 16rem)/.7 "Arial Black", sans-serif;
  letter-spacing: -.09em;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.page-hero {
  width: 100%;
  max-width: none;
  padding: 95px max(32px, calc((100vw - 1280px) / 2)) 75px;
  color: white;
  background: var(--ink);
  text-align: left;
  border-bottom: 12px solid var(--orange);
}
.page-hero h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 4.5rem); }
.page-hero p { max-width: 580px; margin: 24px 0 0; color: #b9b9b9; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero-small { padding-top: 70px; }
.page-hero-small h1 { font-size: clamp(1.75rem, 3vw, 3rem); }
.search-bar input, input, select, textarea { border: 1px solid #9f9d95; border-radius: 0; }
.search-bar { max-width: none; margin-bottom: 35px; }
.search-bar input { background: transparent; border: 2px solid var(--ink); }
.empty-state, .panel, .auth-card, .order-summary { border: 2px solid var(--ink); border-radius: 0; box-shadow: var(--shadow); }
.product-detail { gap: 85px; }
.product-detail-media { border: 2px solid var(--ink); border-radius: 0; }
.product-info h1 { font-size: clamp(3.3rem, 5.7vw, 6rem); }
.product-price { color: var(--ink); }
.add-form { border-top: 2px solid var(--ink); }
.product-add-button { grid-column: 1 / -1; width: max-content; min-width: 220px; white-space: nowrap; }
.latest-products-section { background: white; border-block: 2px solid var(--ink); }
.latest-products-section .section-heading { margin-bottom: 38px; }
.latest-products-section .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sold-out { border-radius: 0; }
.cart-item { border-color: var(--line); }
.cart-thumb { border: 1px solid var(--ink); border-radius: 0; }
.order-summary { box-shadow: 8px 8px 0 var(--ink); }
.auth-section { background-color: var(--cream); background-image: linear-gradient(rgba(11,11,11,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,11,11,.06) 1px, transparent 1px); background-size: 32px 32px; }
.auth-card h1 { font-size: 3.2rem; }
.status { border-radius: 0; }

.admin-shell .eyebrow { color: #a33b20; }
.admin-tabs a.active { color: var(--ink); border-color: var(--orange-dark); }
.stat-grid article, .filter-row a { border-radius: 0; border-color: var(--ink); }
.filter-row a.active { color: var(--ink); background: var(--orange); }
.connection-status { border-radius: 0; }

.site-footer { padding-top: 85px; color: #ccc; background: var(--ink); border-top: 1px solid #303030; }
.site-footer .brand-mark { color: var(--ink); }
.footer-grid h3 { color: var(--orange); }
.footer-grid a:hover { color: var(--orange); }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: clamp(5rem, 11vw, 8rem); }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .tee-shape { transform: rotate(-7deg) scale(.85); }
  .sun { width: 310px; height: 390px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1280px); }
  .announcement { justify-content: center; }
  .announcement span:not(:first-child) { display: none; }
  .site-header { position: relative; }
  .nav { min-height: 76px; }
  .nav-links { color: white; background: var(--ink); border-color: #333; }
  .nav-toggle { display: block; color: var(--orange); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
  .brand-name { max-width: 160px; }
  .hero-grid { display: block; min-height: auto; }
  .hero-copy { padding: 65px 0 20px; }
  .hero-index { margin-bottom: 33px; }
  .hero h1 { font-size: clamp(4.8rem, 23vw, 7rem); }
  .hero h1 em { -webkit-text-stroke-width: 2px; }
  .hero-art { min-height: 510px; margin: 0; transform: none; }
  .hero-gridlines { inset: 5% 0; }
  .sun { width: 245px; height: 305px; right: 15%; }
  .tee-shape { width: 270px; height: 335px; transform: rotate(-7deg); }
  .tee-shape::before, .tee-shape::after { width: 115px; height: 125px; }
  .tee-shape span { width: 115px; height: 82px; font-size: 2.7rem; }
  .tee-shape small { bottom: 65px; }
  .hero-sticker { width: 92px; height: 92px; left: 3%; top: 16%; font-size: .6rem; }
  .hero-note { right: 4%; }
  .trust-strip span:nth-child(n+3) { display: none; }
  .section { padding-block: 75px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 30px 10px; }
  .product-meta { display: block; }
  .product-meta > strong { display: block; margin-top: 8px; }
  .product-meta p { display: none; }
  .manifesto { min-height: 520px; padding-block: 85px; }
  .manifesto blockquote { font-size: clamp(3.5rem, 16vw, 6rem); }
  .page-hero { padding: 68px 16px 55px; border-bottom-width: 8px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 3rem); }
  .product-detail { gap: 35px; }
  .product-add-button { width: 100%; min-width: 0; }
  .latest-products-section .product-grid { grid-template-columns: 1fr 1fr; }
  .auth-card h1 { font-size: 2.6rem; }
}

/* ==========================================================================\
   NOTIFICATION CENTRE + ADMIN OPERATIONS DASHBOARD
   ========================================================================== */
.notification-link { position: relative; display: inline-flex !important; align-items: center; gap: 6px; }
.notification-link > span { min-width: 19px; height: 19px; padding: 0 5px; display: inline-grid; place-items: center; color: var(--ink); background: var(--orange); font-size: .58rem; font-weight: 900; }
.dashboard-heading h1 { max-width: 850px; font-size: clamp(1.6rem, 2.7vw, 2.85rem); }
.dashboard-heading p { font-size: 1rem; }
.dashboard-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.operations-bar { margin-bottom: 20px; padding: 15px 18px; display: flex; align-items: center; gap: 30px; color: #d8d8d1; background: var(--ink); border: 2px solid var(--ink); }
.operations-bar > div { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; }
.operations-bar small { grid-column: 2; color: #8d8d86; font-size: .68rem; }
.operation-dot { width: 9px; height: 9px; grid-row: span 2; background: #888; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.operation-dot.is-online { background: #58d69a; box-shadow: 0 0 0 4px rgba(88,214,154,.13); }
.operation-dot.is-warning { background: #f1c94a; box-shadow: 0 0 0 4px rgba(241,201,74,.14); }
.operation-dot.is-danger { background: #ff6b61; box-shadow: 0 0 0 4px rgba(255,107,97,.14); }
.dashboard-kpis { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dashboard-kpi { min-height: 150px; padding: 21px; display: flex; align-items: flex-start; gap: 16px; background: white; border: 2px solid var(--ink); box-shadow: 5px 5px 0 #c8c4ba; }
.dashboard-kpi .kpi-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ink); background: var(--orange); border: 1px solid var(--ink); font-weight: 900; }
.dashboard-kpi small { display: block; margin-bottom: 8px; color: #6f716e; font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-kpi strong { display: block; font: 900 clamp(1.7rem, 2.5vw, 2.6rem)/1 "Arial Black", sans-serif; letter-spacing: -.06em; }
.dashboard-kpi p { margin: 10px 0 0; color: #70716d; font-size: .72rem; }
.dashboard-kpi.kpi-attention { background: #fff4cf; }
.dashboard-primary-grid { margin-bottom: 22px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); gap: 22px; align-items: start; }
.dashboard-secondary-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 22px; align-items: start; }
.dashboard-primary-grid > *, .dashboard-secondary-grid > *, .notification-admin-grid > *, .smtp-layout > *, .template-editor-layout > * { min-width: 0; }
.admin-dashboard .table-wrap, .email-log-panel .table-wrap { width: 100%; max-width: 100%; }
.admin-dashboard .panel { padding: 24px; }
.panel-kicker { display: block; margin-bottom: 4px; color: #6a780e; font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.admin-dashboard .panel-heading { margin-bottom: 15px; }
.admin-dashboard .panel-heading h2 { margin: 0; font-size: 1.5rem; text-transform: uppercase; }
.dashboard-orders td:first-child { display: grid; gap: 2px; }
.dashboard-orders td:first-child small { color: #80817d; }
.dashboard-empty { min-height: 250px; display: grid; place-items: center; align-content: center; text-align: center; }
.dashboard-empty > span { width: 48px; height: 48px; display: grid; place-items: center; background: var(--orange); border: 2px solid var(--ink); font-size: 1.3rem; font-weight: 900; }
.dashboard-empty h3 { margin: 16px 0 12px; }
.quick-action-list { display: grid; }
.quick-action-list > a, .notification-tools > a { padding: 16px 0; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.quick-action-list > a > span, .notification-tools > a > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: #ece9df; border: 1px solid var(--ink); font-weight: 900; }
.quick-action-list strong, .notification-tools strong { display: block; font-size: .82rem; }
.quick-action-list small, .notification-tools small { display: block; color: #747670; font-size: .67rem; }
.quick-action-list b, .notification-tools b { color: #6a780e; }
.dashboard-notice-list { display: grid; }
.dashboard-notice-list > a { padding: 13px 0; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.dashboard-notice-list > a > span { width: 7px; height: 7px; background: #bbb; border-radius: 50%; }
.dashboard-notice-list > a.is-unread > span { background: #759700; box-shadow: 0 0 0 4px rgba(117,151,0,.12); }
.dashboard-notice-list strong, .dashboard-notice-list small { display: block; }
.dashboard-notice-list strong { font-size: .8rem; }
.dashboard-notice-list small { max-width: 520px; color: #757770; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-notice-list time { color: #777; font-size: .66rem; }
.modern-stock-list small { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.healthy-stock { min-height: 170px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.healthy-stock span { width: 42px; height: 42px; display: grid; place-items: center; background: #e2f4e8; border-radius: 50%; color: #257451; font-weight: 900; }

.notification-stat-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.notification-stat-grid article { padding: 20px; background: white; border: 2px solid var(--ink); box-shadow: 4px 4px 0 #c8c4ba; }
.notification-stat-grid article.has-warning { background: #fff1e8; }
.notification-stat-grid span, .notification-stat-grid small { display: block; }
.notification-stat-grid span { color: #777870; font-size: .64rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.notification-stat-grid strong { display: block; margin: 8px 0 4px; font: 900 2.2rem/1 "Arial Black", sans-serif; }
.notification-stat-grid .small-stat { font-size: 1.5rem; }
.notification-stat-grid small { color: #777870; font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-admin-grid { margin-bottom: 22px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 22px; align-items: start; }
.admin-notification-feed { display: grid; }
.admin-notification-feed > article { padding: 16px 0; display: grid; grid-template-columns: 40px 1fr; gap: 13px; border-bottom: 1px solid var(--line); }
.admin-notification-feed > article.is-unread { margin-inline: -12px; padding-inline: 12px; background: #f5ffd9; border-left: 3px solid #7b9f00; }
.notice-type-icon { width: 38px; height: 38px; display: grid; place-items: center; background: #eeece5; border: 1px solid var(--ink); font-weight: 900; }
.admin-notification-feed p { margin: 3px 0 4px; color: #666862; font-size: .77rem; }
.admin-notification-feed time { color: #8a8a84; font-size: .65rem; }
.admin-notification-feed form { margin-top: 7px; }
.admin-notification-feed .text-link { color: #607c00; font-size: .7rem; }
.compact-empty { min-height: 280px; }
.notification-tools { display: grid; }
.notification-tools .panel-heading { margin-bottom: 6px; }
.notification-tools > a { grid-template-columns: 56px minmax(0, 1fr) auto; }
.notification-tools > a > span { width: 54px; font-size: .65rem; letter-spacing: -.01em; }
.email-log-panel { margin-top: 22px; }
.email-log-panel td { vertical-align: top; }
.email-log-panel td:nth-child(4) { min-width: 250px; white-space: normal; }
.log-error { display: block; max-width: 430px; margin-top: 5px; color: var(--danger); font-size: .65rem; }
.delivery-status { padding: 6px 8px; display: inline-block; font-size: .63rem; font-weight: 900; text-transform: uppercase; }
.delivery-sent { color: #176141; background: #dff4e9; }
.delivery-failed { color: #8a241a; background: #fee4df; }
.delivery-pending { color: #795800; background: #fff0bc; }

.notification-hero { padding-bottom: 55px; }
.notification-toolbar { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.notification-feed { display: grid; gap: 12px; }
.notification-card { padding: 20px; display: grid; grid-template-columns: 38px 1fr; gap: 14px; background: white; border: 2px solid var(--ink); box-shadow: 4px 4px 0 #d1cdc3; }
.notification-card.notification-unread { background: #f5ffd9; box-shadow: 5px 5px 0 var(--orange); }
.notification-icon { width: 36px; height: 36px; display: grid; place-items: center; color: #6e8d00; background: #eef5d3; border-radius: 50%; }
.notification-card-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.notification-card-head time { color: #7b7d76; font-size: .7rem; }
.notification-card p { margin: 5px 0 9px; color: #666862; }
.notification-card form { display: inline; }
.notification-empty { margin-top: 0; }

.smtp-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 22px; align-items: start; }
.smtp-form { padding: 30px; }
.smtp-form-heading, .template-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.smtp-form-heading h2, .template-editor-heading h2 { margin: 0; text-transform: uppercase; }
.toggle-row { display: inline-flex !important; align-items: center; gap: 10px; font-size: .75rem !important; }
.toggle-row input { width: 18px; height: 18px; accent-color: #7a9c00; }
.smtp-field-grid { display: grid; grid-template-columns: minmax(220px, 1fr) 90px 155px 125px; gap: 12px; }
.smtp-field-grid label { display: grid; gap: 8px; font-size: .84rem; font-weight: 800; }
.smtp-port-note { margin: -2px 0 2px; color: #6c6e68; font-size: .7rem; }
.smtp-security-box { padding: 14px; display: flex; gap: 12px; color: #315843; background: #e8f4eb; border-left: 4px solid #2f9d6e; }
.smtp-security-box p { margin: 3px 0 0; font-size: .72rem; }
.smtp-test-box { padding: 20px; display: grid; gap: 14px; background: #f0eee7; border: 1px solid #bdb9af; }
.smtp-test-box h3 { margin: 0; text-transform: uppercase; }
.smtp-test-box label { display: grid; gap: 7px; font-size: .78rem; font-weight: 800; }
.smtp-button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.smtp-sidebar { display: grid; gap: 22px; }
.smtp-status-card h2 { margin: 22px 0 8px; font-size: 1.6rem; overflow-wrap: anywhere; }
.connection-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; background: #eeeae1; font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.connection-badge i { width: 8px; height: 8px; background: #999; border-radius: 50%; }
.connection-badge.is-connected { color: #176141; background: #e3f4ea; }
.connection-badge.is-connected i { background: #2f9d6e; }
.provider-help > div { padding: 13px 0; display: grid; border-bottom: 1px solid var(--line); }
.provider-help small { color: #767770; }
.provider-help > p { margin: 18px 0 0; color: #6e706a; font-size: .75rem; }

.template-groups { display: grid; gap: 45px; }
.template-group-heading { margin-bottom: 18px; padding-bottom: 14px; display: flex; align-items: end; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.template-group-heading h2 { margin: 0; text-transform: uppercase; }
.template-group-heading > span { font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.template-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.template-card { padding: 22px; display: flex; flex-direction: column; align-items: stretch; background: white; border: 2px solid var(--ink); box-shadow: 5px 5px 0 #cbc7bd; }
.template-card-top { display: flex; align-items: center; justify-content: space-between; }
.template-symbol { width: 38px; height: 38px; display: grid; place-items: center; background: var(--orange); border: 1px solid var(--ink); font-weight: 900; }
.template-state { padding: 5px 8px; color: #7a2921; background: #fde4e0; font-size: .6rem; font-weight: 900; text-transform: uppercase; }
.template-state.is-enabled { color: #176141; background: #dff4e9; }
.template-card h3 { margin: 25px 0 8px; text-transform: uppercase; }
.template-card p { min-height: 48px; color: #656760; font-size: .78rem; }
.template-card code { width: fit-content; margin-bottom: 22px; }
.template-card .button { margin-top: auto; }
.template-editor-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 22px; align-items: start; }
.template-editor-layout textarea { font: 500 .8rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.token-box { padding: 15px; background: #f0eee7; border: 1px solid #bbb8af; }
.token-box > div { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.token-box code { background: white; border: 1px solid #ccc8be; }
.template-test-panel { position: sticky; top: 20px; }
.template-test-note { padding: 14px; display: grid; gap: 5px; background: #f0eee7; font-size: .74rem; }
.template-test-note strong:not(:first-child) { margin-top: 10px; }

@media (max-width: 1050px) {
  .dashboard-kpis, .notification-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-primary-grid, .dashboard-secondary-grid, .notification-admin-grid, .smtp-layout, .template-editor-layout { grid-template-columns: 1fr; }
  .template-test-panel { position: static; }
  .template-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .admin-heading h1, .dashboard-heading h1 { font-size: clamp(1.5rem, 5.75vw, 1.7rem); overflow-wrap: anywhere; }
  .dashboard-heading, .smtp-page .admin-heading, .template-list-page .admin-heading, .template-editor-page .admin-heading, .notification-admin-page .admin-heading { align-items: stretch; }
  .dashboard-actions { justify-content: stretch; }
  .dashboard-actions .button { flex: 1; }
  .operations-bar { align-items: stretch; flex-direction: column; gap: 13px; }
  .dashboard-kpis, .notification-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dashboard-kpi { min-height: 135px; padding: 15px; gap: 10px; }
  .dashboard-kpi .kpi-icon { width: 30px; height: 30px; }
  .dashboard-kpi strong { font-size: 1.45rem; }
  .admin-dashboard .panel, .notification-admin-page .panel, .smtp-form, .template-editor-layout .panel { padding: 18px; }
  .notification-toolbar, .notification-card-head, .smtp-form-heading, .template-editor-heading { align-items: stretch; flex-direction: column; }
  .notification-card { padding: 16px; grid-template-columns: 30px 1fr; }
  .notification-icon { width: 28px; height: 28px; }
  .smtp-field-grid, .field-grid { grid-template-columns: 1fr; }
  .smtp-button-row { display: grid; }
  .template-card-grid { grid-template-columns: 1fr; }
  .email-log-panel { padding: 18px; }
}

/* ==========================================================================\
   COMING SOON MODE + VISUAL EMAIL EDITOR
   ========================================================================== */
.maintenance-admin-bar { color: var(--ink); background: var(--orange); border-bottom: 2px solid var(--ink); }
.maintenance-admin-bar .shell { min-height: 48px; display: flex; align-items: center; gap: 16px; font-size: .74rem; }
.maintenance-admin-bar strong { text-transform: uppercase; letter-spacing: .08em; }
.maintenance-admin-bar span { color: #343713; }
.maintenance-admin-bar a { margin-left: auto; font-weight: 900; text-transform: uppercase; }

.coming-soon-body { margin: 0; color: white; background: #0b0b0b; overflow-x: hidden; }
.coming-soon-page { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(circle at 78% 42%, rgba(210,255,38,.22), transparent 26%), #0b0b0b; }
.coming-soon-page::before { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.coming-soon-preview-bar { padding: 11px max(24px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; gap: 16px; color: var(--ink); background: var(--orange); font-size: .73rem; }
.coming-soon-preview-bar strong { text-transform: uppercase; letter-spacing: .1em; }
.coming-soon-preview-bar a { margin-left: auto; font-weight: 900; }
.coming-soon-header, .coming-soon-main, .coming-soon-footer { width: min(100% - 64px, 1280px); margin-inline: auto; }
.coming-soon-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #353535; }
.coming-soon-status { display: inline-flex; align-items: center; gap: 10px; color: #babbb4; font-size: .64rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.coming-soon-status i { width: 9px; height: 9px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(210,255,38,.12); }
.coming-soon-main { flex: 1; padding-block: clamp(70px, 9vw, 140px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: center; gap: 70px; }
.coming-soon-copy { max-width: 900px; }
.coming-soon-copy .eyebrow { color: var(--orange); }
.coming-soon-copy h1 { max-width: 970px; margin: 24px 0 30px; color: white; font-size: clamp(4.8rem, 9.5vw, 10rem); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.coming-soon-copy p { max-width: 690px; margin: 0; color: #c6c6bf; font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.7; }
.coming-soon-mark { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--ink); background: var(--orange); border-radius: 50%; transform: rotate(7deg); box-shadow: 22px 22px 0 rgba(255,255,255,.09); }
.coming-soon-mark span { font: 900 clamp(4rem, 8vw, 7rem)/1 "Arial Black", sans-serif; letter-spacing: -.09em; }
.coming-soon-mark small { font-size: .65rem; font-weight: 900; letter-spacing: .18em; }
.coming-soon-footer { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #83847f; border-top: 1px solid #353535; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.coming-soon-footer > div { display: flex; align-items: center; gap: 22px; }
.coming-soon-footer a { color: #b9bab4; }
.coming-soon-admin-login { opacity: .58; font-size: .58rem; }
.coming-soon-admin-login:hover { opacity: 1; color: var(--orange); }

.availability-panel { margin-bottom: 30px; padding: 0 !important; display: grid; grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); overflow: hidden; }
.availability-summary { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; color: white; background: var(--ink); }
.availability-summary.is-coming-soon { color: var(--ink); background: var(--orange); }
.availability-summary .panel-kicker { color: inherit; opacity: .68; }
.availability-summary > strong { margin: 35px 0 10px; font: 900 clamp(2.2rem, 4vw, 4rem)/.9 "Arial Black", sans-serif; letter-spacing: -.06em; text-transform: uppercase; }
.availability-summary p { margin: 0 0 30px; color: inherit; opacity: .72; font-size: .78rem; line-height: 1.65; }
.availability-summary .button { margin-top: auto; color: var(--ink); background: white; }
.availability-fields { padding: 30px; }
.availability-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.availability-heading h2 { margin: 0 0 7px; text-transform: uppercase; }
.availability-heading p { margin: 0; }
.availability-toggle { padding: 12px 14px; display: inline-flex !important; align-items: center; gap: 9px; flex: 0 0 auto; background: #efede6; border: 1px solid var(--ink); font-size: .72rem !important; font-weight: 900 !important; text-transform: uppercase; }
.availability-toggle input { width: 18px; height: 18px; accent-color: #769700; }

.rich-email-editor { border: 2px solid var(--ink); background: #f4f2ec; }
.editor-mode-tabs { display: none; border-bottom: 1px solid var(--ink); }
.rich-email-editor.is-ready .editor-mode-tabs { display: flex; }
.editor-mode-tabs button { min-height: 46px; padding: 0 20px; color: #64665f; background: transparent; border: 0; border-right: 1px solid var(--ink); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.editor-mode-tabs button.is-active { color: var(--ink); background: var(--orange); }
.editor-toolbar { display: none; padding: 10px; align-items: center; gap: 7px; flex-wrap: wrap; border-bottom: 1px solid #b9b6ae; background: #e8e5dd; }
.rich-email-editor.is-ready:not(.is-html) .editor-toolbar { display: flex; }
.editor-toolbar select, .editor-toolbar button, .editor-image-tool, .editor-colour-tool { min-height: 36px; padding: 7px 9px; color: var(--ink); background: white; border: 1px solid #9c9990; font: 800 .67rem/1 Arial, sans-serif; cursor: pointer; }
.editor-toolbar select { width: auto; }
.editor-tool-group { display: inline-flex; }
.editor-tool-group button { margin-left: -1px; }
.editor-tool-group button:first-child { margin-left: 0; }
.editor-colour-tool { display: inline-flex; align-items: center; gap: 5px; }
.editor-colour-tool input { width: 22px; height: 20px; padding: 0; border: 0; }
.editor-image-tool { position: relative; display: inline-flex; align-items: center; }
.editor-image-tool input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.editor-visual { min-height: 420px; padding: 28px; display: none; color: #111; background: white; font: 400 16px/1.6 Arial, sans-serif; outline: none; overflow-wrap: anywhere; }
.rich-email-editor.is-ready:not(.is-html) .editor-visual { display: block; }
.editor-visual:focus { box-shadow: inset 0 0 0 3px rgba(117,151,0,.22); }
.editor-visual:empty::before { content: attr(data-placeholder); color: #9a9b95; }
.editor-visual img { max-width: 100%; height: auto; }
.editor-visual a { color: #5f7b00; text-decoration: underline; }
.editor-visual blockquote { margin: 20px 0; padding: 13px 18px; border-left: 4px solid var(--orange-dark); background: #f3f1ea; }
.editor-source { min-height: 420px; margin: 0; border: 0; resize: vertical; font: 500 .78rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.rich-email-editor.is-ready .editor-source { display: none; }
.rich-email-editor.is-ready.is-html .editor-source { display: block; }
.editor-status { min-height: 35px; padding: 9px 12px; color: #6c6e68; border-top: 1px solid #c8c5bc; font-size: .66rem; }
.editor-status.is-working { color: #765900; background: #fff3c7; }
.editor-status.is-success { color: #176141; background: #e2f4e9; }
.editor-status.is-error { color: #8a241a; background: #fee5e0; }
.rich-editor-field { display: grid; gap: 8px; }
.rich-editor-field-label { font-size: .78rem; font-weight: 900; }
.policy-editor-form .editor-visual, .policy-editor-form .editor-source { min-height: 720px; }

@media (max-width: 1050px) {
  .availability-panel { grid-template-columns: 1fr; }
  .availability-summary .button { margin-top: 0; }
  .coming-soon-main { grid-template-columns: minmax(0, 1.3fr) minmax(230px, .7fr); gap: 38px; }
}

@media (max-width: 760px) {
  .maintenance-admin-bar .shell, .coming-soon-preview-bar { padding-block: 12px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .maintenance-admin-bar a, .coming-soon-preview-bar a { margin-left: 0; }
  .coming-soon-header, .coming-soon-main, .coming-soon-footer { width: min(100% - 32px, 1280px); }
  .coming-soon-header { min-height: 90px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; }
  .coming-soon-main { padding-block: 65px; display: flex; flex-direction: column; align-items: stretch; gap: 55px; }
  .coming-soon-copy h1 { font-size: clamp(2.9rem, 13.5vw, 4.5rem); overflow-wrap: anywhere; }
  .coming-soon-mark { width: min(270px, 78vw); align-self: center; }
  .coming-soon-footer { padding-block: 24px; align-items: flex-start; flex-direction: column; }
  .coming-soon-footer > div { align-items: flex-start; flex-direction: column; gap: 10px; }
  .availability-summary, .availability-fields { padding: 22px 18px; }
  .availability-heading { flex-direction: column; }
  .availability-toggle { width: 100%; }
  .editor-mode-tabs button { flex: 1; padding-inline: 10px; }
  .editor-toolbar select { min-width: calc(50% - 5px); flex: 1; }
  .editor-tool-group { flex: 1; }
  .editor-tool-group button { flex: 1; }
  .editor-history { flex: 0 0 auto; }
  .editor-visual, .editor-source { min-height: 360px; padding: 18px; }
}

/* ==========================================================================\
   BUILT-IN PRODUCT MOCKUP STUDIO
   ========================================================================== */
.product-editor-form { grid-template-columns: minmax(0, 1.25fr) minmax(400px, .75fr); }
.product-editor-form > * { min-width: 0; }
.product-main-column { display: grid; gap: 24px; }
.product-details-panel > h2 { margin: 0; text-transform: uppercase; }
.variant-panel .variant-row { grid-template-columns: 1fr 1fr; }
.variant-panel .variant-remove { grid-column: 1 / -1; }

.mockup-studio { padding: 0; overflow: hidden; }
.mockup-studio-heading { padding: 27px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; border-bottom: 2px solid var(--ink); }
.mockup-studio-heading h2 { margin: 3px 0 8px; font-size: clamp(1.8rem, 3vw, 2.7rem); text-transform: uppercase; }
.mockup-studio-heading p { max-width: 620px; margin: 0; color: #6a6c66; font-size: .78rem; line-height: 1.6; }
.mockup-local-badge { padding: 8px 10px; flex: 0 0 auto; color: var(--ink); background: var(--orange); border: 1px solid var(--ink); font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.mockup-template-library { padding: 22px 24px 24px; background: #e8e5dd; border-bottom: 2px solid var(--ink); }
.mockup-template-heading { margin-bottom: 15px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.mockup-template-heading h3 { margin: 4px 0 0; font-size: 1.15rem; text-transform: uppercase; }
.mockup-template-heading p { max-width: 480px; margin: 0; color: #6a6c66; font-size: .68rem; line-height: 1.5; text-align: right; }
.mockup-template-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mockup-template-card { min-width: 0; position: relative; padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; color: var(--ink); background: white; border: 1px solid var(--ink); border-radius: 0; box-shadow: 3px 3px 0 #bdbab1; cursor: pointer; font: inherit; text-align: left; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.mockup-template-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.mockup-template-card:focus-visible { outline: 3px solid #769300; outline-offset: 3px; }
.mockup-template-card:disabled { cursor: wait; opacity: .68; }
.mockup-template-card.is-selected { background: var(--orange); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.mockup-template-thumb { aspect-ratio: 4 / 3; display: block; overflow: hidden; background: #d7d5ce; border-bottom: 1px solid var(--ink); }
.mockup-template-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mockup-template-copy { min-width: 0; padding: 10px 28px 10px 10px; display: grid; align-content: start; gap: 3px; }
.mockup-template-copy strong { overflow-wrap: anywhere; font-size: .66rem; line-height: 1.25; text-transform: uppercase; }
.mockup-template-copy small { color: #73756e; font-size: .57rem; }
.mockup-template-card.is-selected .mockup-template-copy small { color: #3f480f; }
.mockup-template-check { width: 18px; height: 18px; position: absolute; right: 8px; bottom: 9px; display: none; place-items: center; color: white; background: var(--ink); border-radius: 50%; font-size: .62rem; font-weight: 900; }
.mockup-template-card.is-selected .mockup-template-check { display: grid; }
.mockup-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); background: #efede6; }
.mockup-preview-column { min-width: 0; padding: 24px; color: white; background: #111; }
.mockup-canvas-frame { position: relative; display: grid; place-items: center; overflow: hidden; background-color: #1d1d1d; background-image: linear-gradient(45deg, #252525 25%, transparent 25%), linear-gradient(-45deg, #252525 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #252525 75%), linear-gradient(-45deg, transparent 75%, #252525 75%); background-position: 0 0, 0 12px, 12px -12px, -12px 0; background-size: 24px 24px; border: 1px solid #454545; }
.mockup-canvas-frame canvas { width: 100%; height: auto; max-height: 650px; display: block; object-fit: contain; outline: none; touch-action: none; }
.mockup-canvas-frame canvas:focus { box-shadow: inset 0 0 0 3px var(--orange); }
.mockup-canvas-frame canvas.can-drag { cursor: grab; }
.mockup-canvas-frame canvas.is-dragging { cursor: grabbing; }
.mockup-empty { position: absolute; inset: 0; padding: 40px; display: grid; place-items: center; align-content: center; gap: 9px; text-align: center; pointer-events: none; }
.mockup-empty span { width: 54px; height: 54px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border-radius: 50%; font-size: 1.5rem; font-weight: 900; }
.mockup-empty strong { font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.mockup-empty small { color: #96978f; }
.mockup-studio.has-base .mockup-empty { display: none; }
.mockup-studio.has-generated .mockup-canvas-frame { box-shadow: 0 0 0 3px var(--orange); }
.mockup-status { min-height: 42px; margin: 12px 0 0; padding: 11px 12px; color: #c4c4bd; background: #242424; border-left: 3px solid #676760; font-size: .69rem; line-height: 1.45; }
.mockup-status.is-working { color: #f4e8ad; border-color: #e4bd35; }
.mockup-status.is-ready { color: #dff4c0; border-color: var(--orange); }
.mockup-status.is-success { color: #c8f0d8; background: #123627; border-color: #58d69a; }
.mockup-status.is-error { color: #ffd5cf; background: #441b17; border-color: #ff6b61; }
.mockup-control-column { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.mockup-custom-heading { padding-bottom: 10px; display: grid; gap: 4px; border-bottom: 1px solid #bcb9b0; }
.mockup-custom-heading span { font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mockup-custom-heading small { color: #72746d; font-size: .61rem; line-height: 1.45; }
.mockup-upload-grid { display: grid; gap: 11px; }
.mockup-upload-step { position: relative; padding: 15px 14px 14px 52px; display: grid !important; gap: 4px !important; background: white; border: 1px solid var(--ink); cursor: pointer; }
.mockup-upload-step > span { width: 27px; height: 27px; position: absolute; left: 13px; top: 13px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border: 1px solid var(--ink); font-size: .67rem; font-weight: 900; }
.mockup-upload-step strong { font-size: .75rem; text-transform: uppercase; }
.mockup-upload-step small { color: #767871; font-size: .62rem; }
.mockup-upload-step input { margin-top: 7px; padding: 7px; min-width: 0; color: #656760; background: #f3f1eb; font-size: .64rem; }
.mockup-adjustments { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mockup-adjustments label { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 7px; color: #454640; font-size: .68rem; font-weight: 900; }
.mockup-adjustments label:first-child, .mockup-adjustments label:last-child { grid-column: 1 / -1; }
.mockup-adjustments select, .mockup-adjustments input { grid-column: 1 / -1; min-width: 0; }
.mockup-adjustments input[type="range"] { padding: 0; accent-color: #7c9b00; }
.mockup-adjustments label > span { color: #6b810e; font-variant-numeric: tabular-nums; }
.mockup-drag-note { margin: 0; padding: 11px 12px; color: #5e605a; background: #dfddd5; border-left: 3px solid #91938b; font-size: .65rem; line-height: 1.5; }
.mockup-button-row { margin-top: auto; display: grid; gap: 9px; }
.mockup-button-row .button { width: 100%; }
.mockup-button-row .button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.mockup-save-note { padding: 17px 22px; display: flex; align-items: center; gap: 13px; color: #555750; border-top: 1px solid #c3c0b7; font-size: .72rem; }
.mockup-save-note > span { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ink); background: #dad8d0; border-radius: 50%; font-weight: 900; }
.mockup-studio.has-generated .mockup-save-note > span { background: var(--orange); }
.mockup-save-note p { margin: 0; display: grid; gap: 3px; }
.mockup-save-note small { color: #85867f; }
.current-product-image { margin: 0 22px 20px; padding: 12px; display: flex; align-items: center; gap: 13px; background: #efede6; border: 1px solid #cbc8bf; }
.current-product-image img { width: 64px; height: 74px; flex: 0 0 auto; object-fit: cover; border: 1px solid var(--ink); }
.current-product-image div { display: grid; gap: 4px; }
.current-product-image strong { font-size: .72rem; text-transform: uppercase; }
.current-product-image small { color: #777971; font-size: .66rem; }
.direct-product-upload { margin: 0 22px 22px; border: 1px solid #bdbab1; }
.direct-product-upload summary { padding: 13px 15px; color: #666860; background: #efede6; cursor: pointer; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.direct-product-upload[open] summary { color: var(--ink); border-bottom: 1px solid #bdbab1; }
.direct-product-upload label { padding: 15px; display: grid; gap: 7px; }

@media (max-width: 1120px) {
  .product-editor-form { grid-template-columns: 1fr; }
  .product-editor-form aside { position: static; }
}

@media (max-width: 760px) {
  .mockup-studio-heading { padding: 22px 18px; align-items: flex-start; flex-direction: column; }
  .mockup-template-library { padding: 19px 17px 21px; }
  .mockup-template-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .mockup-template-heading p { text-align: left; }
  .mockup-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mockup-workspace { grid-template-columns: 1fr; }
  .mockup-preview-column, .mockup-control-column { padding: 16px; }
  .mockup-canvas-frame canvas { max-height: none; }
  .mockup-save-note { padding-inline: 17px; align-items: flex-start; }
  .current-product-image, .direct-product-upload { margin-inline: 17px; }
}

@media (max-width: 520px) {
  .mockup-adjustments { grid-template-columns: 1fr; }
  .mockup-adjustments label:first-child, .mockup-adjustments label:last-child { grid-column: auto; }
  .variant-panel .variant-row { grid-template-columns: 1fr; }
  .variant-panel .variant-remove { grid-column: auto; }
}

/* ==========================================================================\
   COUPONS + EMAIL LOG HOUSEKEEPING
   ========================================================================== */
.email-log-heading { align-items: flex-start; }
.email-log-heading p { max-width: 570px; margin: 7px 0 0; color: #74766f; font-size: .72rem; line-height: 1.55; }
.email-log-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.email-log-actions form { margin: 0; }
.button-danger-small { min-height: 38px; padding: 9px 13px; color: #8a241a; background: #fee5e0; border: 1px solid #a7352b; box-shadow: none; font-size: .63rem; }
.button-danger-small:hover { color: white; background: #9f2d23; }
.delete-log-button { color: #9f2d23; font-size: .68rem; }
.delete-log-button:hover { color: #65150e; }

.coupon-stat-grid { margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.coupon-stat-grid article { min-height: 112px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 1px solid var(--ink); box-shadow: 5px 5px 0 #d3d0c7; }
.coupon-stat-grid span { color: #767871; font-size: .64rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.coupon-stat-grid strong { font: 900 2.15rem/1 "Arial Black", sans-serif; }
.coupon-list-panel { padding: 0; overflow: hidden; }
.coupon-list-panel .panel-heading { padding: 24px 26px; border-bottom: 1px solid #c5c2b9; }
.coupon-list-panel .table-wrap { margin: 0; }
.coupon-table { min-width: 920px; }
.coupon-table th, .coupon-table td { vertical-align: middle; }
.coupon-table td { border-bottom: 1px solid #d1cec5; }
.coupon-table td:first-child, .coupon-table td:nth-child(4) { display: table-cell; }
.coupon-table td:first-child > small, .coupon-table td:nth-child(4) > small { margin-top: 7px; display: block; color: #767871; font-size: .63rem; }
.coupon-code { padding: 7px 9px; display: inline-block; color: var(--ink); background: var(--orange); border: 1px solid var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .07em; }
.coupon-state { padding: 6px 8px; display: inline-flex; border: 1px solid currentColor; font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.coupon-state-active { color: #176141; background: #e2f4e9; }
.coupon-state-scheduled { color: #765900; background: #fff3c7; }
.coupon-state-expired, .coupon-state-disabled { color: #6e7069; background: #ebe9e3; }
.coupon-empty { padding: 55px 24px; }

.coupon-editor-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr); gap: 24px; align-items: start; }
.coupon-editor-layout > * { min-width: 0; }
.coupon-details-panel h2, .coupon-scope-panel h2 { margin: 5px 0 0; text-transform: uppercase; }
.coupon-date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.coupon-date-grid > label { display: grid; gap: 7px; font-size: .84rem; font-weight: 800; }
.coupon-date-grid > label > small { min-height: 30px; display: block; line-height: 1.35; }
.coupon-active-toggle, .coupon-all-toggle { padding: 15px; display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 12px !important; color: var(--ink) !important; background: #f0eee7; border: 1px solid var(--ink); cursor: pointer; }
.coupon-active-toggle input, .coupon-all-toggle input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #779600; }
.coupon-active-toggle span, .coupon-all-toggle span { display: grid; gap: 4px; }
.coupon-active-toggle strong, .coupon-all-toggle strong { font-size: .75rem; text-transform: uppercase; }
.coupon-active-toggle small, .coupon-all-toggle small { color: #70726b; font-size: .64rem; font-weight: 500; line-height: 1.45; text-transform: none; }
.coupon-scope-panel { position: sticky; top: 20px; overflow: visible; }
.coupon-scope-panel > div:first-child { min-width: 0; }
.coupon-scope-panel > div:first-child p { max-width: 100%; overflow-wrap: anywhere; }
.coupon-product-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.coupon-product-fieldset.is-disabled { opacity: .48; }
.coupon-product-fieldset:disabled .coupon-product-picker { pointer-events: none; }
.coupon-product-picker { position: relative; width: 100%; }
.coupon-product-picker summary { min-height: 58px; padding: 14px 48px 14px 16px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ink); background: white; border: 1px solid var(--ink); cursor: pointer; list-style: none; }
.coupon-product-picker summary::-webkit-details-marker { display: none; }
.coupon-product-picker summary::after { content: "⌄"; width: 27px; height: 27px; position: absolute; right: 13px; top: 50%; display: grid; place-items: center; background: var(--orange); border: 1px solid var(--ink); font-size: 1rem; font-weight: 900; transform: translateY(-50%); }
.coupon-product-picker[open] summary::after { content: "⌃"; }
.coupon-product-picker summary > span { font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.coupon-product-picker summary > b { color: #777971; font-size: .66rem; }
.coupon-product-picker summary > b.has-selection { color: #607b00; }
.coupon-product-picker-menu { width: 100%; margin-top: 6px; padding: 12px; background: white; border: 2px solid var(--ink); box-shadow: 7px 7px 0 #cbc8bf; }
.coupon-product-picker-toolbar { margin-bottom: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.coupon-product-picker-toolbar label { display: block; }
.coupon-product-picker-toolbar input { min-width: 0; width: 100%; min-height: 42px; padding: 10px 11px; font-size: .72rem; }
.coupon-product-picker-toolbar .link-button { padding: 8px; color: #7e2921; font-size: .65rem; }
.coupon-product-list { max-height: 310px; display: grid; gap: 6px; overflow-y: auto; overscroll-behavior: contain; padding-right: 3px; }
.coupon-product-list > label { position: relative; isolation: isolate; min-width: 0; min-height: 58px; padding: 7px; display: grid; grid-template-columns: auto 40px minmax(0, 1fr); align-items: center; gap: 9px; overflow: hidden; color: var(--ink); background: #f4f2ec; border: 1px solid #c8c5bc; cursor: pointer; }
.coupon-product-list > label[hidden] { display: none; }
.coupon-product-list > label:has(input:checked) { background: #f2ffd0; border-color: #789600; }
.coupon-product-list input { width: 17px; height: 17px; margin: 0; accent-color: #779600; }
.coupon-product-thumb { position: relative; width: 40px; height: 44px; overflow: hidden; display: block; background: white; border: 1px solid #aaa79e; }
.coupon-product-thumb img, .coupon-product-thumb .product-placeholder { width: 100%; height: 100%; display: block; object-fit: cover; }
.coupon-product-thumb .product-placeholder { position: relative; overflow: hidden; }
.coupon-product-thumb .product-placeholder::before { width: 54%; height: 65%; border-radius: 18% 18% 8% 8%; box-shadow: 3px 4px 0 rgba(23,37,68,.1); }
.coupon-product-thumb .product-placeholder::after { width: 18px; border-width: 1px; }
.coupon-product-thumb .product-placeholder span { font-size: .62rem; }
.coupon-product-list label > span:last-child { min-width: 0; display: grid; gap: 4px; }
.coupon-product-list strong { overflow: hidden; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.coupon-product-list small { color: #74766f; font-size: .59rem; }

.checkout-coupon-box { margin-top: 4px; padding: 18px; display: grid; grid-template-columns: minmax(150px, .65fr) minmax(220px, 1.35fr); align-items: end; gap: 13px 18px; background: #efede6; border: 1px solid var(--ink); }
.checkout-coupon-box h3 { margin: 3px 0 0; text-transform: uppercase; }
.checkout-coupon-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.checkout-coupon-entry input { min-width: 0; border-right: 0; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.checkout-coupon-entry .button { min-width: 92px; box-shadow: none; }
.coupon-applied-message { grid-column: 1 / -1; margin: 0; padding: 11px 13px; color: #176141; background: #dff3e7; border-left: 4px solid #238558; font-size: .7rem; line-height: 1.45; }
.coupon-applied-message span { margin-right: 7px; }
.summary-discount, .order-discount { color: #176141; background: #eef8f1; }
.order-discount { margin-inline: -8px; padding-inline: 8px !important; border-left: 3px solid #238558 !important; }

@media (max-width: 1050px) {
  .coupon-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coupon-editor-layout { grid-template-columns: 1fr; }
  .coupon-scope-panel { position: static; }
}

@media (max-width: 760px) {
  .email-log-heading, .email-log-actions { align-items: stretch; flex-direction: column; }
  .email-log-actions { width: 100%; }
  .email-log-actions .button, .email-log-actions form { width: 100%; }
  .coupon-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .coupon-stat-grid article { min-height: 94px; padding: 15px; box-shadow: 3px 3px 0 #d3d0c7; }
  .coupon-stat-grid strong { font-size: 1.7rem; }
  .coupon-date-grid { grid-template-columns: 1fr; }
  .checkout-coupon-box { grid-template-columns: 1fr; }
  .coupon-applied-message { grid-column: auto; }
}

@media (max-width: 480px) {
  .checkout-coupon-entry { grid-template-columns: 1fr; gap: 8px; }
  .checkout-coupon-entry input { border-right: 1px solid var(--ink); }
  .coupon-product-picker summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .coupon-product-picker-toolbar { grid-template-columns: 1fr; }
  .coupon-product-list > label { grid-template-columns: auto 36px minmax(0, 1fr); }
  .coupon-product-thumb { width: 36px; height: 40px; }
}

/* Customer support and secure administrator impersonation */
.impersonation-bar { position: sticky; z-index: 80; top: 0; color: white; background: #263407; border-block: 2px solid var(--orange); box-shadow: 0 5px 0 rgba(11,11,11,.16); }
.impersonation-bar .shell { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.impersonation-bar .shell > div { min-width: 0; display: grid; gap: 3px; }
.impersonation-bar strong { color: var(--orange); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.impersonation-bar span { color: #e4e8d6; font-size: .76rem; overflow-wrap: anywhere; }
.impersonation-bar form { flex: 0 0 auto; }
.impersonation-bar button { min-height: 38px; padding: 8px 16px; color: var(--ink); background: var(--orange); border: 1px solid var(--orange); font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.impersonation-bar button:hover { background: white; border-color: white; }

.customer-list-panel { padding: 0; overflow: hidden; }
.customer-list-panel table { min-width: 760px; }
.customer-manage-button { min-height: 38px; padding: 9px 15px; box-shadow: none; font-size: .65rem; }
.customer-detail-heading { align-items: flex-end; }
.customer-detail-heading > div { min-width: 0; max-width: 100%; }
.customer-detail-heading h1, .customer-detail-heading p { max-width: 100%; overflow-wrap: anywhere; }
.customer-support-stats { margin-bottom: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.customer-support-stats article { min-height: 116px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 2px solid var(--ink); box-shadow: 5px 5px 0 #d4d1c8; }
.customer-support-stats span { color: #696b64; font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.customer-support-stats strong { font: 900 2rem/1 "Arial Black", sans-serif; letter-spacing: -.05em; }
.customer-support-stats .customer-stat-date { font-size: 1.25rem; letter-spacing: -.035em; }
.customer-support-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 24px; align-items: start; }
.customer-support-main, .customer-support-sidebar { display: grid; gap: 24px; }
.customer-support-sidebar { position: sticky; top: 86px; }
.customer-edit-form .panel-heading, .customer-order-history .panel-heading { margin-bottom: 5px; }
.customer-edit-form h2, .customer-order-history h2, .customer-access-card h2, .password-reset-card h2, .support-audit-card h2 { margin: 4px 0 0; text-transform: uppercase; }
.customer-order-history { padding: 0; overflow: hidden; }
.customer-order-history .panel-heading { padding: 25px 28px 18px; }
.customer-order-history > .muted { padding: 0 28px 26px; }
.customer-order-history .table-wrap { margin: 0; }
.customer-access-card, .password-reset-card { overflow: hidden; }
.customer-access-card { color: white; background: var(--ink); }
.customer-access-card .panel-kicker { color: var(--orange); }
.customer-access-card p { color: #c6c7c1; }
.customer-access-card > small, .password-reset-card > small { margin-top: 15px; display: block; color: #92958a; font-size: .66rem; line-height: 1.55; }
.customer-access-card .button { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.customer-access-card .button:hover { background: white; border-color: white; }
.password-reset-card { background: #f8ffe0; }
.support-action-warning { padding: 12px; color: #7d291f !important; background: #fee5e0; border-left: 4px solid #9f2d23; font-size: .74rem; font-weight: 800; }
.support-activity-list { margin-top: 16px; display: grid; }
.support-activity-list article { padding: 14px 0; display: grid; gap: 4px; border-top: 1px solid #c9c6bd; }
.support-activity-list strong { font-size: .75rem; }
.support-activity-list span { color: #74766f; font-size: .64rem; }
.support-activity-list p { margin: 3px 0 0; color: #5e605a; font-size: .68rem; line-height: 1.5; }
.password-reset-page .auth-card > .button { margin-top: 22px; }

@media (max-width: 1050px) {
  .customer-support-layout { grid-template-columns: 1fr; }
  .customer-support-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-audit-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .impersonation-bar { position: relative; }
  .impersonation-bar .shell { padding-block: 13px; align-items: stretch; flex-direction: column; gap: 10px; }
  .impersonation-bar form, .impersonation-bar button { width: 100%; }
  .customer-detail-heading { align-items: flex-start; flex-direction: column; }
  .customer-support-stats { grid-template-columns: 1fr; }
  .customer-support-stats article { min-height: 94px; }
  .customer-support-sidebar { grid-template-columns: 1fr; }
  .support-audit-card { grid-column: auto; }
  .customer-order-history .panel-heading { padding-inline: 18px; }
}

/* Product categories, storefront slider, and filtered catalogue */
.home-categories-section { padding-block: 105px; color: white; background: var(--ink); border-block: 2px solid var(--ink); overflow: hidden; }
.category-section-heading { margin-bottom: 42px; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.category-section-heading > div { max-width: 800px; }
.category-section-heading .eyebrow { color: var(--orange); }
.category-section-heading h2 { margin: 0; color: white; font-size: clamp(3.2rem, 6vw, 6.5rem); }
.category-section-heading p { max-width: 610px; margin: 20px 0 0; color: #aaa; }
.category-slider-controls { display: flex; gap: 8px; }
.category-slider-controls button { width: 54px; height: 54px; color: var(--ink); background: var(--orange); border: 2px solid var(--orange); font-size: 1.35rem; font-weight: 900; cursor: pointer; }
.category-slider-controls button:hover { color: white; background: transparent; }
.category-slider-viewport { padding: 0 max(32px, calc((100vw - 1280px) / 2)) 24px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--orange) #262626; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.category-slider-track { width: max-content; display: flex; gap: 18px; }
.category-slide { width: clamp(280px, 27vw, 390px); position: relative; flex: 0 0 auto; color: white; background: #161616; border: 2px solid #3b3b3b; scroll-snap-align: start; transition: transform .25s ease, border-color .25s ease; }
.category-slide:hover { border-color: var(--category-accent); transform: translateY(-7px); }
.category-slide-image { aspect-ratio: 4 / 4.7; display: grid; place-items: center; overflow: hidden; background: var(--category-accent); border-bottom: 2px solid #3b3b3b; }
.category-slide-image img { transition: transform .45s ease, filter .45s ease; }
.category-slide:hover .category-slide-image img { transform: scale(1.035); filter: saturate(1.12); }
.category-slide-image b { color: var(--ink); font: 900 5rem/1 "Arial Black", sans-serif; }
.category-slide-meta { min-height: 164px; padding: 22px; display: flex; align-items: flex-start; flex-direction: column; }
.category-slide-meta small { color: var(--category-accent); font-size: .62rem; font-style: normal; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.category-slide-meta strong { margin-top: 12px; font: 900 1.65rem/.95 "Arial Black", sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.category-slide-meta em { margin-top: auto; color: #9b9b96; font-size: .67rem; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.shop-page-hero { min-height: 390px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); align-items: center; gap: 60px; }
.shop-page-hero:not(.has-category-cover) { display: block; min-height: 0; }
.shop-page-hero > div { min-width: 0; }
.shop-page-hero h1, .shop-page-hero p { overflow-wrap: anywhere; }
.shop-category-hero-cover { aspect-ratio: 4 / 3; position: relative; display: block; overflow: hidden; border: 2px solid white; box-shadow: 12px 12px 0 var(--selected-category-accent); }
.shop-category-hero-cover img { object-position: center 30%; }
.shop-category-hero-cover span { position: absolute; left: 0; right: 0; bottom: 0; padding: 13px; color: var(--ink); background: var(--selected-category-accent); font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.shop-catalogue-section { padding-bottom: 120px; }
.shop-search-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.shop-catalogue-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 34px; align-items: start; }
.shop-filter-sidebar { position: sticky; top: 125px; display: grid; gap: 16px; }
.shop-filter-sidebar details, .shop-sort-form { background: white; border: 2px solid var(--ink); }
.shop-filter-sidebar summary { padding: 16px; display: flex; justify-content: space-between; gap: 14px; list-style: none; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.shop-filter-sidebar summary::-webkit-details-marker { display: none; }
.shop-filter-sidebar summary span { min-width: 25px; height: 25px; display: grid; place-items: center; color: var(--ink); background: var(--orange); }
.shop-filter-sidebar nav { display: grid; border-top: 1px solid #c4c1b8; }
.shop-filter-sidebar nav a { min-height: 43px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #5f615b; border-bottom: 1px solid #dddad1; font-size: .71rem; font-weight: 750; }
.shop-filter-sidebar nav a:last-child { border-bottom: 0; }
.shop-filter-sidebar nav a:hover, .shop-filter-sidebar nav a.is-active { color: var(--ink); background: var(--orange); }
.shop-filter-sidebar nav b { font-size: .61rem; }
.shop-sort-form { padding: 15px; display: grid; gap: 10px; }
.shop-sort-form label { font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.shop-sort-form select { font-size: .73rem; }
.shop-sort-form .button { min-height: 43px; padding: 9px; font-size: .62rem; }
.shop-results-column { min-width: 0; }
.shop-results-heading { min-height: 58px; margin-bottom: 20px; padding-bottom: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); }
.shop-results-heading > div { display: grid; gap: 3px; }
.shop-results-heading span { font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.shop-results-heading small { color: #6e706a; font-size: .7rem; }
.shop-results-heading a { color: #677d06; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.shop-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 14px; }
.shop-product-grid .product-media { aspect-ratio: 4 / 5.25; }
.shop-product-grid .product-meta { gap: 8px; }
.shop-product-grid .product-meta h3 { font-size: .75rem; }
.shop-product-grid .product-meta p { font-size: .69rem; }
.shop-product-grid .product-meta > strong { font-size: .75rem; }
.product-category-line { margin-bottom: 5px; display: block; color: #718500; font-size: .52rem; font-weight: 900; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.product-category-links { margin: 0 0 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.product-category-links a { padding: 6px 8px; color: var(--ink); background: #edf6c8; border: 1px solid var(--ink); font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-category-links a:hover { background: var(--orange); }
.catalogue-load-more { margin-top: 65px; padding-top: 28px; display: grid; place-items: center; gap: 14px; border-top: 2px solid var(--ink); }
.catalogue-load-more p { margin: 0; color: #676963; font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.catalogue-load-more .button { min-width: 230px; }

.product-category-fieldset { margin: 3px 0 0; padding: 18px; border: 1px solid #aaa79f; }
.product-category-fieldset legend { padding: 0 7px; font-size: .82rem; font-weight: 900; }
.product-category-fieldset legend small { margin-left: 5px; color: #777970; font-weight: 500; }
.product-category-fieldset > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.product-category-fieldset label { min-width: 0; padding: 10px; display: flex; align-items: center; gap: 9px; background: #f0eee7; border: 1px solid transparent; font-size: .7rem; font-weight: 800; cursor: pointer; }
.product-category-fieldset label:has(input:checked) { border-color: var(--ink); background: #f7ffd7; }
.product-category-fieldset input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: #7e9e00; }
.product-category-fieldset span { min-width: 0; overflow-wrap: anywhere; }
.product-category-fieldset span::before { width: 9px; height: 9px; margin-right: 7px; display: inline-block; content: ""; background: var(--category-dot); }
.product-category-fieldset > small { margin-top: 12px; display: block; color: #73756e; font-size: .66rem; }
.product-category-cell { max-width: 260px; white-space: normal; color: #5f615b; font-size: .72rem; line-height: 1.45; }

.category-admin-stats { margin-bottom: 25px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.category-admin-stats article { min-height: 120px; padding: 22px; display: flex; justify-content: space-between; flex-direction: column; background: white; border: 2px solid var(--ink); box-shadow: 5px 5px 0 #d2cfc6; }
.category-admin-stats span { color: #696b64; font-size: .64rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.category-admin-stats strong { font: 900 2.4rem/1 "Arial Black", sans-serif; }
.admin-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.admin-category-card { min-width: 0; background: white; border: 2px solid var(--ink); box-shadow: 6px 6px 0 #d2cfc6; }
.admin-category-cover { aspect-ratio: 4 / 4.4; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--category-accent); border-bottom: 2px solid var(--ink); }
.admin-category-cover > span { color: var(--ink); font: 900 4rem/1 "Arial Black", sans-serif; }
.admin-category-cover .status { position: absolute; left: 10px; top: 10px; }
.admin-category-copy { min-height: 280px; padding: 18px; display: flex; flex-direction: column; }
.admin-category-copy > small { color: #6f716a; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-category-copy h2 { margin: 12px 0 10px; font-size: 1.45rem; overflow-wrap: anywhere; }
.admin-category-copy p { color: #686a63; font-size: .72rem; line-height: 1.5; }
.admin-category-copy > div { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-category-copy .button { min-height: 39px; padding: 9px 11px; font-size: .58rem; }
.admin-category-copy form { display: flex; }

.category-editor-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 24px; align-items: start; }
.category-details-panel h2, .category-cover-panel h2, .category-products-panel h2 { margin: 4px 0 0; text-transform: uppercase; }
.category-colour-input { min-height: 50px; padding: 5px; cursor: pointer; }
.category-editor-sidebar { display: grid; gap: 24px; }
.category-cover-preview { aspect-ratio: 4 / 3.5; margin: 20px 0; display: grid; place-items: center; overflow: hidden; background: var(--category-accent); border: 2px solid var(--ink); }
.category-cover-preview > span { color: var(--ink); font: 900 5rem/1 "Arial Black", sans-serif; }
.category-cover-panel > label { display: grid; gap: 8px; font-size: .75rem; font-weight: 900; }
.remove-category-cover { margin-top: 12px; display: flex !important; align-items: center; grid-template-columns: auto 1fr; color: #8f2b22; }
.remove-category-cover input { width: 18px; height: 18px; }
.category-products-panel > p { margin: 12px 0 18px; color: #6c6e67; font-size: .74rem; }
.category-product-picker { position: relative; border: 2px solid var(--ink); background: white; }
.category-product-picker summary { min-height: 57px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; list-style: none; cursor: pointer; }
.category-product-picker summary::-webkit-details-marker { display: none; }
.category-product-picker summary span { font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.category-product-picker summary strong { color: #617800; font-size: .68rem; }
.category-product-picker-body { border-top: 1px solid #aaa79e; }
.category-product-picker-tools { padding: 10px; display: grid; grid-template-columns: 1fr auto; gap: 8px; background: #ebe8df; }
.category-product-picker-tools input { min-width: 0; padding: 9px; }
.category-product-picker-tools button { padding: 7px 10px; color: #772c25; background: white; border: 1px solid #8f8d86; font-size: .63rem; font-weight: 900; cursor: pointer; }
.category-product-options { max-height: 430px; overflow-y: auto; }
.category-product-options > label { padding: 9px 10px; display: grid; grid-template-columns: auto 42px minmax(0, 1fr); align-items: center; gap: 9px; border-bottom: 1px solid #dddad1; cursor: pointer; }
.category-product-options > label:hover, .category-product-options > label:has(input:checked) { background: #f7ffd7; }
.category-product-options input { width: 17px; height: 17px; accent-color: #789600; }
.category-product-thumb { width: 42px; height: 48px; position: relative; overflow: hidden; border: 1px solid var(--ink); }
.category-product-thumb .product-placeholder { position: relative; }
.category-product-thumb .product-placeholder span { display: none; }
.category-product-thumb .product-placeholder::after { width: 12px; border-width: 1px; }
.category-product-options label > span:last-child { min-width: 0; display: grid; }
.category-product-options strong { font-size: .7rem; overflow-wrap: anywhere; }
.category-product-options small { color: #73756e; font-size: .62rem; }

@media (max-width: 1180px) {
  .admin-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-catalogue-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }
  .shop-product-grid { gap-inline: 10px; }
}

@media (max-width: 900px) {
  .shop-page-hero { grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; }
  .shop-catalogue-layout { grid-template-columns: 1fr; }
  .shop-filter-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-sort-form { grid-column: 1 / -1; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; }
  .shop-sort-form .button { width: auto; }
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-editor-layout { grid-template-columns: 1fr; }
  .category-editor-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-categories-section { padding-block: 72px; }
  .category-section-heading { align-items: flex-start; flex-direction: column; }
  .category-section-heading h2 { font-size: clamp(2.6rem, 12vw, 4.2rem); line-height: .9; }
  .category-slider-controls { align-self: flex-end; }
  .category-slider-viewport { padding-left: 16px; }
  .category-slide { width: min(78vw, 320px); }
  .shop-page-hero { display: flex; align-items: stretch; flex-direction: column; }
  .shop-page-hero:not(.has-category-cover) { display: block; }
  .shop-category-hero-cover { width: min(100%, 360px); }
  .shop-search-bar { grid-template-columns: 1fr; }
  .shop-filter-sidebar { grid-template-columns: 1fr; }
  .shop-sort-form { grid-column: auto; grid-template-columns: 1fr; }
  .shop-sort-form .button { width: 100%; }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
  .shop-results-heading { align-items: flex-start; flex-direction: column; }
  .shop-product-grid .product-meta p { display: none; }
  .product-category-fieldset > div { grid-template-columns: 1fr; }
  .category-admin-stats { grid-template-columns: 1fr; }
  .admin-category-grid { grid-template-columns: 1fr; }
  .admin-category-card { max-width: 430px; }
  .admin-category-copy { min-height: 240px; }
  .category-editor-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .category-slide-meta strong { font-size: 1.35rem; }
  .shop-filter-sidebar details:not([open]) { display: block; }
  .shop-product-grid .product-meta { display: block; }
  .shop-product-grid .product-meta > strong { display: block; margin-top: 8px; }
  .category-product-picker summary { align-items: flex-start; flex-direction: column; }
}

/* ==========================================================================\
   FAQ + PRIVACY CENTRE + ADMIN CONTENT
   ========================================================================== */
.footer-grid { grid-template-columns: 2fr .75fr 1.2fr 1fr; gap: 42px; }

.content-page-hero, .policy-page-hero { padding: 105px 0 95px; color: white; background: var(--ink); border-bottom: 10px solid var(--orange); }
.content-page-hero .shell, .policy-page-hero .shell { position: relative; }
.content-page-hero .eyebrow, .policy-page-hero .eyebrow { color: var(--orange); }
.content-page-hero h1, .policy-page-hero h1 { max-width: 1000px; margin: 25px 0 22px; color: white; font-size: clamp(3.4rem, 7vw, 6.2rem); line-height: .84; overflow-wrap: anywhere; }
.content-page-hero p, .policy-page-hero p { max-width: 680px; margin: 0; color: #c3c3bd; font-size: 1rem; line-height: 1.6; }
.faq-page-hero { background-image: linear-gradient(90deg, transparent 49.8%, rgba(242,107,56,.12) 50%, transparent 50.2%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 210px 100%, 100% 38px; }
.content-page-section { padding-top: 78px; }
.faq-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 55px; align-items: start; }
.faq-intro-card { position: sticky; top: 25px; padding: 27px; display: grid; gap: 16px; background: var(--orange); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.faq-intro-card h2 { margin: 0; font-size: 2rem; }
.faq-intro-card p { margin: 0; color: #39420d; font-size: .77rem; line-height: 1.55; }
.faq-intro-card .button { margin-top: 8px; }
.faq-intro-card .text-link { color: var(--ink); font-size: .68rem; }
.faq-main { min-width: 0; }
.faq-search { height: 62px; margin-bottom: 20px; position: relative; display: block; }
.faq-search input { width: 100%; height: 100%; padding: 14px 58px 14px 18px; border: 2px solid var(--ink); font-size: .88rem; }
.faq-search b { position: absolute; right: 19px; top: 50%; font-size: 1.5rem; transform: translateY(-50%); pointer-events: none; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 2px solid var(--ink); }
.faq-item[hidden] { display: none; }
.faq-item summary { min-height: 88px; padding: 19px 16px 19px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; align-items: center; gap: 14px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { color: #708800; font-size: .62rem; font-weight: 900; }
.faq-item summary strong { font-size: 1rem; line-height: 1.35; }
.faq-item summary > b { width: 30px; height: 30px; display: grid; place-items: center; background: var(--orange); border: 1px solid var(--ink); transition: transform .18s ease; }
.faq-item[open] summary > b { transform: rotate(45deg); }
.faq-item[open] summary { background: #f4f9df; }
.faq-answer { padding: 5px 64px 28px 62px; color: #54564f; }
.faq-answer p { margin: 0; font-size: .82rem; line-height: 1.75; }
.faq-no-results { padding: 50px 25px; text-align: center; border-bottom: 2px solid var(--ink); }
.faq-no-results strong { font-size: 1rem; text-transform: uppercase; }
.faq-no-results p { color: #73756d; }

.privacy-centre-hero { background-image: radial-gradient(circle at 82% 28%, rgba(242,107,56,.22) 0 4%, transparent 4.2%), linear-gradient(135deg, transparent 67%, rgba(242,107,56,.09) 67%); }
.privacy-centre-section { padding-top: 82px; }
.privacy-centre-heading { margin-bottom: 35px; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.privacy-centre-heading h2 { max-width: 760px; margin: 9px 0 0; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.privacy-centre-heading > p { max-width: 390px; color: #676962; font-size: .78rem; line-height: 1.55; }
.privacy-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.privacy-card { min-height: 465px; position: relative; padding: 27px; display: flex; flex-direction: column; color: var(--ink); background: white; border: 2px solid var(--ink); box-shadow: 8px 8px 0 #d3d0c7; }
.privacy-card:hover { color: var(--ink); background: #f8ffdc; transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
.privacy-card-number { position: absolute; right: 22px; top: 20px; color: #7a7c74; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.privacy-card-icon { width: 66px; height: 66px; display: grid; place-items: center; background: var(--orange); border: 2px solid var(--ink); font-size: 1.8rem; font-weight: 900; }
.privacy-card h2 { margin: 55px 0 18px; font-size: clamp(1.8rem, 3vw, 2.55rem); overflow-wrap: anywhere; }
.privacy-card p { margin: 0; color: #64665f; font-size: .78rem; line-height: 1.65; }
.privacy-card small { margin-top: auto; padding-top: 32px; color: #7b7d75; font-size: .62rem; }
.privacy-card > strong { margin-top: 12px; color: #5f7600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.privacy-contact-strip { margin-top: 70px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: white; background: var(--ink); border-left: 10px solid var(--orange); }
.privacy-contact-strip h2 { margin: 5px 0 0; color: white; font-size: 2rem; }

.policy-page-hero { padding-block: 80px; }
.policy-page-hero a { color: var(--orange); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.policy-page-hero .eyebrow { margin-top: 47px; display: block; }
.policy-page-hero h1 { max-width: 950px; font-size: clamp(3rem, 6vw, 5.2rem); }
.shop-page-hero h1, .privacy-centre-hero h1, .policy-page-hero h1 { font-size: clamp(1.75rem, 3vw, 3rem); line-height: .91; }
.policy-page-hero small { margin-top: 27px; display: block; color: #8f918a; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.policy-page-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 42px; align-items: start; }
.policy-sidebar { position: sticky; top: 25px; display: grid; gap: 17px; }
.policy-sidebar nav { display: grid; border: 2px solid var(--ink); }
.policy-sidebar nav a { min-height: 58px; padding: 11px 13px; display: flex; align-items: center; gap: 11px; color: var(--ink); background: white; border-bottom: 1px solid #c8c5bc; font-size: .68rem; font-weight: 900; }
.policy-sidebar nav a:last-child { border-bottom: 0; }
.policy-sidebar nav a span { width: 27px; height: 27px; display: grid; place-items: center; background: #e8e6de; border: 1px solid var(--ink); }
.policy-sidebar nav a.is-active { background: var(--orange); }
.policy-sidebar nav a.is-active span { background: white; }
.policy-help-link { padding: 13px; color: #5e7400; background: #eef5d0; border: 1px solid #a8ad91; font-size: .65rem; font-weight: 900; }
.policy-document-card { padding: clamp(26px, 5vw, 70px); }
.legal-document { min-width: 0; }
.legal-document h2 { margin: 55px 0 17px; font-size: 1.75rem; line-height: 1.05; letter-spacing: -.035em; overflow-wrap: anywhere; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document h3 { margin: 35px 0 12px; font-size: 1.15rem; }
.legal-document p, .legal-document li { color: #4f514b; font-size: .82rem; line-height: 1.78; }
.legal-document p { margin: 0 0 18px; }
.legal-document ul, .legal-document ol { margin: 0 0 25px; padding-left: 24px; }
.legal-document li { margin-bottom: 8px; padding-left: 5px; }
.legal-document strong { color: var(--ink); }

.content-admin-page .admin-heading p, .content-editor-page .admin-heading p, .policy-editor-page .admin-heading p { max-width: 620px; margin: 11px 0 0; color: #777970; font-size: .75rem; }
.content-admin-stats { margin-bottom: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.content-admin-stats article { min-height: 110px; padding: 19px; display: flex; align-items: center; gap: 16px; background: white; border: 2px solid var(--ink); box-shadow: 5px 5px 0 #d2cfc6; }
.content-admin-stats article > span { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; background: var(--orange); border: 1px solid var(--ink); font-size: 1.1rem; font-weight: 900; }
.content-admin-stats article div { display: grid; }
.content-admin-stats strong { font: 900 1.9rem/1 "Arial Black", sans-serif; }
.content-admin-stats small { margin-top: 5px; color: #70726b; font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.content-admin-grid { margin-bottom: 24px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.legal-identity-panel h2, .policy-admin-panel h2, .content-faq-panel h2 { margin: 5px 0 7px; text-transform: uppercase; }
.content-review-warning { padding: 13px; display: grid; gap: 3px; color: #6d3e00; background: #fff1c9; border-left: 4px solid #d68a00; font-size: .68rem; }
.policy-admin-panel { padding: 24px; }
.policy-admin-heading, .content-faq-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.policy-admin-heading > span { padding: 6px 8px; background: var(--orange); border: 1px solid var(--ink); font-size: .6rem; font-weight: 900; }
.policy-admin-list { margin-top: 18px; border-top: 1px solid #bdbab2; }
.policy-admin-list article { min-height: 74px; padding: 10px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid #c8c5bc; }
.policy-admin-icon { width: 40px; height: 40px; display: grid; place-items: center; background: #efede6; border: 1px solid var(--ink); font-weight: 900; }
.policy-admin-list article div { min-width: 0; display: grid; gap: 3px; }
.policy-admin-list strong { overflow-wrap: anywhere; font-size: .72rem; text-transform: uppercase; }
.policy-admin-list small { color: #7b7d75; font-size: .61rem; }
.policy-admin-list a { color: #658000; font-size: .66rem; font-weight: 900; }
.content-legal-note { margin: 18px 0 0; padding: 13px; color: #62645e; background: #efede6; font-size: .66rem; line-height: 1.55; }
.content-faq-panel { padding: 0; overflow: hidden; }
.content-faq-heading { padding: 23px; align-items: center; border-bottom: 2px solid var(--ink); }
.content-faq-heading p { margin: 0; color: #74766e; font-size: .67rem; }
.content-faq-table td:nth-child(1) { width: 80px; }
.content-faq-table td:nth-child(2) { min-width: 320px; }
.content-faq-table td:nth-child(2) > strong, .content-faq-table td:nth-child(2) > small { display: block; }
.content-faq-table td:nth-child(2) > small { max-width: 650px; margin-top: 5px; color: #777970; line-height: 1.45; }
.link-button-danger { color: #a32920; }
.faq-editor-form { max-width: 900px; margin-inline: auto; }
.faq-editor-form textarea { min-height: 250px; }
.faq-publish-toggle { min-height: 78px; padding: 13px; display: flex !important; align-items: center; gap: 12px !important; background: #eef5d0; border: 1px solid #a9ad93; }
.faq-publish-toggle input { width: 21px; height: 21px; flex: 0 0 auto; accent-color: #789600; }
.faq-publish-toggle span { display: grid; gap: 3px; }
.faq-publish-toggle small { color: #686a62; }
.faq-editor-actions { display: flex; justify-content: flex-end; gap: 12px; }

.policy-editor-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr); gap: 24px; align-items: start; }
.policy-source-editor { min-height: 760px; font: 500 .78rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }
.policy-format-help { padding: 15px; display: grid; gap: 7px; color: #65675f; background: #efede6; border-left: 4px solid #8ca800; font-size: .65rem; line-height: 1.55; }
.policy-format-help code { margin: 2px; background: white; }
.policy-editor-preview { max-height: calc(100vh - 45px); position: sticky; top: 22px; overflow-y: auto; }
.policy-editor-preview > .panel-kicker { margin-bottom: 26px; display: block; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
  .policy-editor-layout { grid-template-columns: 1fr; }
  .policy-editor-preview { max-height: none; position: static; }
}

@media (max-width: 900px) {
  .faq-layout, .policy-page-layout, .content-admin-grid { grid-template-columns: 1fr; }
  .faq-intro-card, .policy-sidebar { position: static; }
  .faq-intro-card { max-width: none; }
  .policy-sidebar nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .policy-sidebar nav a { border-right: 1px solid #c8c5bc; border-bottom: 0; }
  .privacy-card-grid { grid-template-columns: 1fr; }
  .privacy-card { min-height: 350px; }
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .content-page-hero, .policy-page-hero { padding-block: 72px 65px; }
  .content-page-hero h1, .policy-page-hero h1 { margin-top: 18px; font-size: clamp(2.8rem, 15vw, 4.2rem); line-height: .88; }
  .shop-page-hero h1, .privacy-centre-hero h1, .policy-page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 3rem); line-height: .91; }
  .content-page-hero p, .policy-page-hero p { font-size: .85rem; }
  .content-page-section, .privacy-centre-section { padding-top: 55px; }
  .faq-item summary { min-height: 76px; grid-template-columns: 34px minmax(0, 1fr) 30px; gap: 9px; }
  .faq-answer { padding: 3px 38px 24px 43px; }
  .privacy-centre-heading { align-items: flex-start; flex-direction: column; }
  .privacy-centre-heading h2 { font-size: 2.6rem; }
  .privacy-contact-strip { align-items: stretch; flex-direction: column; }
  .privacy-contact-strip .button { width: 100%; }
  .policy-page-hero .eyebrow { margin-top: 34px; }
  .policy-sidebar nav { grid-template-columns: 1fr; }
  .policy-sidebar nav a { border-right: 0; border-bottom: 1px solid #c8c5bc; }
  .policy-document-card { padding: 24px 19px; }
  .legal-document h2 { margin-top: 42px; font-size: 1.45rem; }
  .content-admin-stats { grid-template-columns: 1fr; }
  .content-admin-stats article { min-height: 88px; }
  .content-faq-heading, .policy-admin-heading { align-items: stretch; flex-direction: column; }
  .content-faq-heading .button { width: 100%; }
  .faq-editor-actions { align-items: stretch; flex-direction: column-reverse; }
  .faq-editor-actions .button { width: 100%; }
  .policy-source-editor, .policy-editor-form .editor-visual, .policy-editor-form .editor-source { min-height: 580px; }
}

/* ==========================================================================\
   ADMIN PRODUCT CATALOGUE FINDER
   ========================================================================== */
.admin-products-page .admin-heading p { max-width: 620px; margin: 10px 0 0; color: #74766f; font-size: .75rem; }
.admin-product-filters { margin-bottom: 24px; padding: 23px 24px; }
.admin-product-filter-heading { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-product-filter-heading h2 { margin: 5px 0 0; font-size: 1.45rem; text-transform: uppercase; }
.admin-product-filter-heading p { margin: 0; color: #6d6f68; font-size: .72rem; }
.admin-product-filter-heading p strong { color: var(--ink); }
.admin-product-filter-form { display: grid; grid-template-columns: minmax(210px, 1.55fr) repeat(4, minmax(125px, .85fr)) minmax(96px, .55fr); align-items: end; gap: 11px; }
.admin-product-filter-form > label { min-width: 0; display: grid; gap: 7px; color: #555750; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.admin-product-filter-form input, .admin-product-filter-form select { min-width: 0; min-height: 44px; padding: 10px 11px; font-size: .7rem; }
.admin-product-filter-actions { min-height: 44px; display: grid; grid-template-columns: 1fr; gap: 5px; text-align: center; }
.admin-product-filter-actions .button { width: 100%; min-height: 44px; padding: 9px 12px; font-size: .62rem; }
.admin-product-filter-actions > a { color: #a33b20; font-size: .57rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.admin-products-table-panel { padding: 0; overflow: hidden; }
.admin-product-list-summary { min-height: 71px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); }
.admin-product-list-summary > div { display: grid; gap: 4px; }
.admin-product-list-summary .panel-kicker { margin: 0; }
.admin-product-list-summary strong { font-size: .78rem; text-transform: uppercase; }
.admin-product-list-summary small { color: #777970; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-products-table-panel .table-wrap { width: 100%; margin: 0; }
.products-table { min-width: 960px; table-layout: fixed; }
.products-table .product-column { width: 31%; }
.products-table .category-column { width: 20%; }
.products-table .price-column { width: 10%; }
.products-table .stock-column { width: 9%; }
.products-table .visibility-column { width: 15%; }
.products-table .actions-column { width: 15%; }
.products-table th, .products-table td { padding: 13px 10px; }
.products-table th:first-child, .products-table td:first-child { padding-left: 18px; }
.products-table th:last-child, .products-table td:last-child { padding-right: 18px; }
.products-table thead { background: #f1efe8; }
.products-table .table-product { min-width: 0; gap: 8px; }
.products-table .table-product > strong { min-width: 0; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
.products-table .tiny-thumb { width: 42px; height: 49px; border-radius: 0; }
.products-table .product-category-cell { max-width: none; padding-left: 8px; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.products-table .product-price-cell, .products-table .product-stock-cell { font-variant-numeric: tabular-nums; }
.products-table .actions { text-align: right; }
.products-table .action-group { width: 100%; gap: 10px; justify-content: flex-end; }
.products-table .actions a, .products-table .actions button { font-size: .72rem; }
.product-sort-link { display: inline-flex; align-items: center; gap: 5px; color: #6f7169; }
.product-sort-link span { color: #8b8d85; font-size: .7rem; }
.product-sort-link.is-active, .product-sort-link.is-active span { color: #a33b20; }
.admin-product-empty { min-height: 340px; padding: 55px 24px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.admin-product-empty > span { width: 48px; height: 48px; display: grid; place-items: center; background: var(--orange); border: 1px solid var(--ink); font-size: 1.3rem; font-weight: 900; }
.admin-product-empty h2 { margin: 8px 0 0; font-size: 1.65rem; }
.admin-product-empty p { margin: 0 0 12px; color: #70726b; font-size: .75rem; }
.admin-product-pagination { min-height: 67px; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; border-top: 2px solid var(--ink); background: #f1efe8; }
.admin-product-pagination a, .admin-product-pagination span, .admin-product-pagination strong { font-size: .64rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.admin-product-pagination a { color: #a33b20; }
.admin-product-pagination span { color: #a1a29c; }
.admin-product-pagination strong { text-align: center; }
.admin-product-pagination > :last-child { text-align: right; }

@media (max-width: 1120px) {
  .admin-product-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-product-search { grid-column: span 2; }
}

@media (max-width: 680px) {
  .admin-product-filter-heading, .admin-product-list-summary { align-items: flex-start; flex-direction: column; }
  .admin-product-filter-form { grid-template-columns: 1fr; }
  .admin-product-search { grid-column: auto; }
  .admin-product-filter-actions { grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .products-table { min-width: 900px; }
  .admin-product-pagination { grid-template-columns: 1fr 1fr; }
  .admin-product-pagination strong { grid-column: 1 / -1; grid-row: 1; }
}

@media print {
  .site-header, .site-footer, .announcement, .maintenance-admin-bar, .policy-sidebar, .policy-page-hero a { display: none !important; }
  .policy-page-hero { padding: 20px 0; color: black; background: white; border-bottom: 2px solid black; }
  .policy-page-hero h1, .policy-page-hero p { color: black; }
  .policy-page-layout { display: block; }
  .policy-document-card { padding: 0; border: 0; box-shadow: none; }
}

/* ==========================================================================\
   THE URBAN STATIC STORE — v1.0.0 final visual system
   Author: Frey Gabor | FreyDesigns and Developments | https://freygabor.com/
   Copyright (c) 2026-present Frey Gabor. All rights reserved.
   ========================================================================== */
:root {
  --ink: #151515;
  --ink-soft: #555753;
  --paper: #f2efe8;
  --cream: #ded9cf;
  --orange: #f26b38;
  --orange-dark: #a33b20;
  --line: #b9b5ac;
  --shadow: 10px 10px 0 rgba(21, 21, 21, .12);
}

body { background: var(--paper); }
.shell { width: min(1380px, calc(100% - 64px)); }
.announcement { color: #151515; background: #f26b38; }
.brand-mark, .installer-brand > span {
  width: 48px;
  height: 34px;
  color: #f2efe8;
  background: #151515;
  border: 1px solid #f26b38;
  border-radius: 0;
  font: 900 .72rem/1 Arial, sans-serif;
  font-style: normal;
  letter-spacing: -.04em;
  transform: none;
}
.site-header .brand-mark { color: #151515; background: #f26b38; }
.cart-link span { color: #151515; background: #f26b38; }
.eyebrow, .admin-shell .eyebrow { color: #a33b20; }
.button-primary { color: #151515; background: #f26b38; }
.button-primary:hover { color: #151515; background: #ff8253; }
.button:hover { box-shadow: 5px 5px 0 #151515; }

.hero {
  min-height: 760px;
  position: relative;
  color: white;
  background-color: #111;
  background-image: linear-gradient(90deg, rgba(8,8,8,.95) 0%, rgba(8,8,8,.8) 34%, rgba(8,8,8,.18) 64%, rgba(8,8,8,.04) 100%), url('../images/urban-static-campaign.jpg');
  background-position: center;
  background-size: cover;
}
.hero-grid { min-height: 760px; display: block; }
.hero-copy { width: min(620px, 50%); padding-block: 118px; }
.hero-art { display: none; }
.hero .eyebrow { color: #f26b38; }
.hero h1 { font-size: clamp(5rem, 8.6vw, 10rem); line-height: .78; }
.hero h1 em { color: transparent; -webkit-text-stroke: 3px #f26b38; }
.hero-copy > p { color: #d8d5ce; }
.trust-strip { color: #151515; background: #f26b38; }
.trust-strip span::before { color: #151515; }
.manifesto { color: #f2efe8; background: #151515; border-color: #f26b38; }
.manifesto .eyebrow { color: #f26b38; }
.manifesto p { color: #c7c4bd; }
.manifesto-noise { -webkit-text-stroke-color: rgba(242,107,56,.28); }
.product-media { background: #e3dfd6; border-color: #888982; }
.product-media img { object-fit: cover; }
.product-media::after, .badge { color: #151515; background: #f26b38; }
.product-meta > strong, td a, .panel-heading a { color: #a33b20; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand-mark { color: #f2efe8; background: #151515; border-color: #f26b38; }
.footer-grid h3 { color: #f26b38; }

.install-progress { max-width: 760px; grid-template-columns: repeat(6, 1fr); }
.install-progress::before { left: 8%; right: 8%; }
.install-progress .active b { color: #151515; background: #f26b38; border-color: #151515; }
.installer { width: min(940px, calc(100% - 32px)); }
.installer-brand { text-transform: uppercase; letter-spacing: .04em; }
.installer-brand > span { color: #151515; background: #f26b38; }
.install-card { border: 2px solid #151515; border-radius: 0; }
.install-card h1 { font-size: clamp(2.3rem, 6vw, 4rem); }

.licence-required-page { min-height: 72vh; padding: 80px 24px; display: grid; place-items: center; color: #f2efe8; background: #151515; }
.licence-required-card { width: min(760px, 100%); padding: 52px; border: 1px solid #4a4a46; text-align: center; }
.licence-required-card h1 { margin: 28px auto 20px; max-width: 650px; font-size: clamp(2.8rem, 7vw, 5.2rem); }
.licence-required-card > p { margin-inline: auto; max-width: 610px; color: #c8c6bf; }
.licence-required-card .button-row { justify-content: center; }
.licence-required-card .button-secondary { color: #f2efe8; border-color: #f2efe8; }
.licence-required-card > small { margin-top: 28px; display: block; color: #8f918c; }
.system-code { color: #f26b38; font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.static-signal-mark { width: 100px; height: 70px; margin: 32px auto 0; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #f26b38; }
.static-signal-mark i { width: 5px; background: #f26b38; }
.static-signal-mark i:nth-child(1) { height: 18px; }
.static-signal-mark i:nth-child(2) { height: 46px; }
.static-signal-mark i:nth-child(3) { height: 28px; }
.licence-admin-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 22px; }
.licence-status-panel.is-valid { border-color: #257451; }
.licence-status-panel.is-grace { border-color: #b17b00; }
.licence-status-panel.is-blocked { border-color: #b42318; }
.licence-details { display: grid; gap: 0; }
.licence-details div { padding: 12px 0; display: grid; grid-template-columns: 150px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.licence-details dt { color: #74766f; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.licence-details dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 850px) {
  .hero { min-height: 700px; background-image: linear-gradient(0deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.68) 64%, rgba(8,8,8,.16) 100%), url('../images/urban-static-campaign.jpg'); background-position: 64% center; }
  .hero-grid { min-height: 700px; display: flex; align-items: end; }
  .hero-copy { width: 100%; padding: 250px 0 65px; }
  .hero h1 { font-size: clamp(4.2rem, 19vw, 7rem); }
  .licence-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1380px); }
  .install-progress { grid-template-columns: repeat(6, 1fr); }
  .install-progress span { display: none; }
  .licence-required-card { padding: 34px 20px; }
}
