@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400; font-display: swap; src: url('./assets/fonts/Cairo-400.woff') format('woff'); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 500; font-display: swap; src: url('./assets/fonts/Cairo-500.woff') format('woff'); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 600; font-display: swap; src: url('./assets/fonts/Cairo-600.woff') format('woff'); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 700; font-display: swap; src: url('./assets/fonts/Cairo-700.woff') format('woff'); }
:root {
  --ink: #282828;
  --black: #292929;
  --gold: #aa956d;
  --gold-light: #d0bd98;
  --gold-dark: #686868;
  --paper: #fbfbfa;
  --canvas: #f4f4f3;
  --line: #e5e5e3;
  --muted: #6d6d6d;
  --danger: #a53f38;
  --success: #27664d;
  --shadow: 0 20px 56px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 135px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 15px/1.72 'Cairo', Tahoma, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Store chrome */
.announcement { background: #f5f5f3; color: #3c3c3c; border-bottom: 1px solid #e7e6e3; font-size: 12px; font-weight: 600; }
.announcement-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.store-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #242321; }
.header-row { height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; width: max-content; min-width: 194px; color: #fff; line-height: 1; }
.brand-symbol { display: block; position: relative; flex: 0 0 56px; width: 56px; height: 65px; overflow: hidden; background: #000; }
.brand-symbol img { position: absolute; height: 100%; width: auto; max-width: none; left: 50%; top: 0; transform: translateX(-50%); }
.brand-wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.brand-wordmark strong { font: 600 27px/1 'Cairo', Tahoma, sans-serif; letter-spacing: .09em; }
.brand-wordmark small { color: var(--gold-light); font: 600 9px/1 'Cairo', Tahoma, sans-serif; letter-spacing: .54em; margin-left: 2px; }
.desktop-nav { display: flex; align-items: center; gap: 38px; margin-inline: auto; }
.desktop-nav a { color: #deddda; font-size: 14px; font-weight: 700; padding: 13px 0; transition: color .2s; }
.desktop-nav a:hover { color: var(--gold-light); }
.header-actions { display: flex; gap: 5px; align-items: center; }
.icon-button { display: inline-grid; place-items: center; border: 0; border-radius: 0; width: 44px; height: 44px; color: inherit; background: transparent; position: relative; }
.icon-button:hover { color: var(--gold-light); background: rgba(255,255,255,.07); }
.cart-count { position: absolute; top: 1px; left: 1px; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #111; font: 700 11px/1 'Cairo', Tahoma, sans-serif; }
.mobile-nav { display: none; }
.search-row { display: flex; gap: 12px; padding-bottom: 16px; }
.search-row input { flex: 1; min-width: 0; height: 46px; border: 1px solid #4c4b48; background: #1d1d1c; color: #fff; padding: 9px 15px; outline: 0; }
.search-row input::placeholder { color: #aaa; }
.search-row input:focus { border-color: var(--gold); }
.text-button { border: 0; background: none; color: var(--gold-light); font-size: 14px; font-weight: 700; padding-inline: 14px; }

/* Storefront */
.hero { background: #fff; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 80px); min-height: 630px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px 0; }
.eyebrow { color: var(--gold-dark); font-size: 12px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; }
.hero h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.28; font-weight: 700; letter-spacing: -.035em; max-width: 590px; margin: 24px 0 18px; }
.hero-copy p { color: #555; font-size: 17px; line-height: 1.9; max-width: 440px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 27px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; min-height: 50px; padding: 11px 24px; border: 1px solid transparent; border-radius: 0; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background .2s, color .2s, border-color .2s; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-gold { color: #fff; background: var(--black); border-bottom: 3px solid var(--gold); }
.button-gold:hover { background: #3c3c3c; }
.button-dark { background: var(--black); color: #fff; }
.button-dark:hover { background: #3c3c3c; }
.button-outline { border-color: #c9c7c1; color: var(--ink); background: #fff; }
.button-outline:hover { border-color: var(--gold-dark); }
.wide { width: 100%; }
.hero-text-link { display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid #a39b8c; padding: 3px 0; font-size: 14px; font-weight: 700; }
.hero-text-link:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.hero-caption { color: #777; font-size: 13px; margin-top: 56px; }
.hero-visual { position: relative; min-height: 630px; overflow: hidden; background: #e6e2d9; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.service-strip { border-block: 1px solid var(--line); background: #fafaf9; }
.service-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 78px; align-items: center; }
.service-strip span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 28px; padding: 0 20px; font-size: 13px; font-weight: 500; }
.service-strip span + span { border-right: 1px solid #d6d4cf; }
.section-pad { padding: 86px 0 102px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(31px, 3vw, 42px); line-height: 1.4; font-weight: 700; margin: 7px 0 4px; }
.section-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 16px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pills button { border: 1px solid transparent; background: transparent; color: #666; padding: 6px 15px; font-size: 14px; font-weight: 700; }
.filter-pills button.active { background: var(--black); color: #fff; }
.filter-pills button:not(.active):hover { color: #111; border-color: var(--line); }
.result-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-card { min-width: 0; }
.product-image { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #e9e6df; cursor: pointer; }
.product-visual-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .35s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-tag { position: absolute; right: 14px; top: 14px; background: #fff; color: #333; font-size: 12px; font-weight: 700; padding: 5px 10px; }
.product-quick { position: absolute; bottom: 13px; right: 13px; left: 13px; min-height: 43px; border: 0; background: rgba(17,17,17,.96); color: #fff; font-size: 13px; font-weight: 700; transform: translateY(calc(100% + 18px)); transition: transform .22s; }
.product-card:hover .product-quick, .product-quick:focus-visible { transform: none; }
.product-info { padding: 14px 1px 0; }
.product-info .category { display: block; color: var(--gold-dark); font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.product-info h3 { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 700; }
.product-info .price { color: #171717; margin-top: 6px; font-size: 17px; font-weight: 800; }
.product-info .price small { color: #777; font-size: 12px; font-weight: 400; margin-right: 5px; }
.empty-state { border: 1px solid var(--line); padding: 50px 20px; text-align: center; color: var(--muted); }
.shopping-info { background: #f6f6f4; border-top: 1px solid var(--line); padding: 80px 0; }
.shopping-info-inner { display: grid; grid-template-columns: .78fr 1fr; gap: clamp(50px, 8vw, 140px); }
.shopping-info-title h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.4; margin: 9px 0 8px; }
.shopping-info-title p { color: var(--muted); font-size: 14px; }
.info-list > div { border-bottom: 1px solid #d8d8d4; padding: 13px 0 16px; }
.info-list > div:first-child { padding-top: 0; }
.info-list strong { font-size: 16px; }
.info-list p { color: #5e5e5e; font-size: 14px; margin: 2px 0 0; }
.footer { background: var(--black); color: #f6f5f2; padding: 58px 0 17px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 55px; }
.brand-footer { min-width: 0; }
.footer p, .footer small { color: #b6b4af; font-size: 13px; max-width: 280px; margin: 13px 0; }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer strong { font-size: 14px; }
.footer-grid > div > strong { display: block; margin-bottom: 14px; }
.footer a:not(.brand) { font-size: 13px; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid #333330; margin-top: 48px; padding-top: 17px; display: flex; justify-content: space-between; gap: 15px; color: #aaa8a2; font-size: 12px; }

/* Shared panels and forms */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(9,9,9,.6); }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 41; display: flex; flex-direction: column; width: min(450px, 100%); background: #fff; box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .25s; }
.drawer.open { transform: none; }
.drawer-head, .drawer-foot { padding: 25px 26px; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 3px 0 0; font-size: 23px; line-height: 1.4; }
.close-button { border: 0; background: transparent; color: var(--ink); font: 30px/1 'Cairo', Tahoma, sans-serif; padding: 0 3px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 26px; }
.drawer-foot { border-top: 1px solid var(--line); }
.drawer-foot small { display: block; color: var(--muted); font-size: 12px; margin: 4px 0 17px; }
.total-line { display: flex; justify-content: space-between; gap: 15px; font-size: 16px; font-weight: 700; }
.cart-line { display: grid; grid-template-columns: 75px minmax(0,1fr) auto; align-items: start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 75px; height: 96px; object-fit: cover; }
.cart-line h3 { margin: 0 0 2px; font-size: 14px; line-height: 1.5; }
.cart-line small { color: var(--muted); font-size: 12px; }
.cart-line strong { font-size: 13px; white-space: nowrap; }
.cart-line .qty-control { margin-top: 8px; }
.cart-empty { margin-top: 75px; text-align: center; color: var(--muted); font-size: 14px; }
.cart-empty span { display: block; color: var(--gold); font-size: 44px; margin-bottom: 10px; }
.qty-control { display: inline-flex; align-items: center; height: 33px; border: 1px solid var(--line); }
.qty-control button { width: 31px; border: 0; background: #fff; font-size: 18px; }
.qty-control span { min-width: 26px; text-align: center; font-size: 12px; }
.tiny-link { border: 0; background: none; color: var(--danger); text-decoration: underline; font-size: 12px; padding: 5px 0; }
.modal { position: fixed; z-index: 41; top: 50%; left: 50%; width: min(920px, calc(100% - 32px)); max-height: min(90vh, 900px); overflow: auto; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, -45%); transition: transform .2s, opacity .2s, visibility .2s; }
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal-close { position: absolute; z-index: 2; top: 16px; left: 16px; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 3px; color: var(--black); font: 22px/1 'Cairo', Tahoma, sans-serif; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; }
.product-detail > img { width: 100%; height: 640px; object-fit: cover; object-position: center 22%; }
.product-detail-content { padding: 68px 48px 40px; }
.product-detail h2 { margin: 10px 0 8px; font-size: 29px; font-weight: 500; line-height: 1.45; }
.product-detail p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 0; }
.product-detail .big-price { margin: 22px 0 27px; padding-bottom: 21px; border-bottom: 1px solid var(--line); font-size: 23px; font-weight: 600; line-height: 1.4; }
.product-detail-content > strong { font-size: 14px; font-weight: 500; }
.size-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.size-group button { min-width: 44px; height: 40px; border: 1px solid #dededb; border-radius: 2px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; }
.size-group button.active { background: var(--black); color: #fff; border-color: var(--black); }
.size-group button:disabled { background: #f7f7f6; color: #aaa; text-decoration: line-through; cursor: not-allowed; }
.stock-hint { min-height: 24px; color: var(--muted); font-size: 12px; }
.product-detail .button { margin-top: 20px; min-height: 52px; font-weight: 500; }
.detail-note { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 25px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.small-modal { width: min(500px, calc(100% - 32px)); }
.modal-pad { padding: 36px; }
.modal-pad h2 { font-size: 26px; line-height: 1.4; margin: 6px 0; }
.modal-pad > p { color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #d4d3ce; border-radius: 0; background: #fff; color: var(--ink); outline: none; }
.field textarea { min-height: 74px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-dark); }
.field small { color: var(--muted); font-size: 12px; }
.form-error { min-height: 20px; color: var(--danger); font-size: 12px; margin: 8px 0; }
.auth-tabs { display: flex; margin: 19px 0; border-bottom: 1px solid var(--line); }
.auth-tabs button { flex: 1; border: 0; border-bottom: 2px solid transparent; padding: 9px; background: none; color: var(--muted); font-weight: 700; }
.auth-tabs button.active { color: var(--ink); border-bottom-color: var(--gold); }
.checkout-modal { width: min(800px, calc(100% - 32px)); }
.checkout-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 27px; }
.order-summary { align-self: start; padding: 20px; background: var(--canvas); }
.order-summary h3 { font-size: 17px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #dddcd8; padding: 8px 0; font-size: 13px; }
.summary-row.total { border: 0; font-size: 16px; font-weight: 600; }
.checkout-note { color: var(--muted); font-size: 12px; margin: 13px 0 0; }
.account-modal { width: min(680px, calc(100% - 32px)); }
.account-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0; }
.order-card { border: 1px solid var(--line); padding: 15px; margin: 12px 0; }
.order-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-card h3 { font-size: 15px; margin: 0; }
.order-card p { font-size: 12px; color: var(--muted); margin: 5px 0; }
.status-badge { display: inline-block; padding: 4px 9px; background: #f2efe7; color: #71572d; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-badge.green { background: #e6f2e9; color: var(--success); }
.status-badge.red { background: #f8eae8; color: var(--danger); }
.toast { position: fixed; bottom: 26px; right: 26px; z-index: 60; padding: 11px 17px; background: var(--black); color: #fff; font-size: 13px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: none; }

/* Admin */
.admin-page { background: var(--canvas); }
.admin-shell { display: grid; grid-template-columns: 248px minmax(0,1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 22px 13px; background: var(--black); color: #e5e4df; }
.brand-sidebar { min-width: 0; margin: 0 12px 45px; }
.brand-sidebar .brand-symbol { width: 48px; height: 58px; flex-basis: 48px; }
.brand-sidebar .brand-wordmark strong { font-size: 22px; }
.sidebar-label { margin: 0 15px 11px; color: #9a9790; font-size: 12px; font-weight: 700; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 0; border-right: 2px solid transparent; background: transparent; color: #c4c2bc; text-align: right; font-size: 14px; font-weight: 600; }
.nav-item span { color: #a9a49b; width: 20px; font-size: 18px; line-height: 1; text-align: center; }
.nav-item:hover, .nav-item.active { color: #fff; background: #282725; }
.nav-item.active { border-right-color: var(--gold); }
.nav-item.active span { color: var(--gold-light); }
.sidebar-bottom { display: grid; gap: 8px; margin-top: auto; padding: 0 15px; font-size: 13px; color: #d7d7d7; }
.sidebar-bottom small { color: #999; font-size: 12px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 86px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--line); }
.admin-top-left { display: flex; align-items: center; gap: 12px; }
.admin-top-left small { color: var(--gold-dark); font-size: 12px; font-weight: 700; }
.admin-top-left h1 { font-size: 23px; line-height: 1.3; margin: 1px 0 0; }
.admin-top-actions { display: flex; align-items: center; gap: 18px; }
.demo-badge { color: #6c604b; background: #f5f1e9; font-size: 12px; padding: 6px 10px; }
.outline-link { border: 1px solid var(--line); padding: 7px 14px; font-size: 13px; font-weight: 700; }
.outline-link:hover { border-color: var(--gold); }
.admin-content { max-width: 1550px; margin: 0 auto; padding: 32px 34px 70px; }
.admin-intro { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 23px; }
.admin-intro h2 { margin: 0 0 3px; font-size: 23px; }
.admin-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 23px; }
.stat-card { min-width: 0; padding: 19px 20px; border: 1px solid var(--line); border-top: 2px solid var(--gold); background: #fff; }
.stat-card small { display: block; color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; font-size: 27px; line-height: 1.4; margin: 7px 0 1px; }
.stat-card span { color: #807c75; font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 17px; }
.panel { min-width: 0; padding: 21px; border: 1px solid var(--line); background: #fff; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.panel-head h3 { margin: 0; font-size: 16px; }
.panel-head button { border: 0; background: none; color: var(--gold-dark); font-size: 13px; font-weight: 700; }
.table-wrap { overflow: auto; }
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: right; }
.data-table th { white-space: nowrap; background: #f8f8f6; color: #666; font-size: 12px; font-weight: 700; padding: 11px 12px; }
.data-table td { padding: 12px; border-bottom: 1px solid #ededea; font-size: 13px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table strong { font-size: 13px; }
.data-table small { display: block; color: var(--muted); font-size: 12px; }
.table-product { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.table-product img { width: 46px; height: 58px; object-fit: cover; background: #eee; }
.table-actions { display: flex; gap: 7px; }
.table-actions button, .table-actions a { white-space: nowrap; padding: 5px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.table-actions button:hover { border-color: var(--gold); }
.table-actions .danger { color: var(--danger); }
.low-stock-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.low-stock-item:last-child { border-bottom: 0; }
.low-stock-item strong { color: var(--danger); }
.admin-toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 15px; }
.admin-toolbar input, .admin-toolbar select { height: 43px; min-width: 180px; padding: 7px 12px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.admin-toolbar .button { min-height: 43px; padding: 7px 17px; }
.admin-table-panel { padding: 0; }
.admin-table-panel .table-wrap { padding: 0 14px; }
.admin-table-panel .data-table th { background: #fff; }
.admin-empty { padding: 38px 15px; color: var(--muted); text-align: center; font-size: 13px; }
.mobile-menu { display: none; }
.admin-modal { width: min(790px, calc(100% - 32px)); }
.modal-pad .help { color: var(--muted); font-size: 12px; }
.size-stock-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.size-stock-grid .field input { padding: 6px; font-size: 13px; }
.modal-footer-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.switch-line { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.switch-line input { width: 17px; height: 17px; accent-color: var(--gold-dark); }
.order-detail-lines { background: var(--canvas); padding: 14px; margin: 16px 0; }
.order-detail-lines p { margin: 0 0 5px; font-size: 13px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 18px 0; font-size: 13px; }
.detail-grid strong { display: block; color: #777; font-size: 12px; }
.detail-grid span { overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .hero-content { min-height: 560px; gap: 24px; }
  .hero-visual { min-height: 560px; }
  .hero h1 { font-size: 43px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 112px; }
  .container { width: min(100% - 32px, 1240px); }
  .announcement-inner { justify-content: center; }
  .announcement-inner span:last-child { display: none; }
  .header-row { height: 70px; gap: 8px; }
  .brand { min-width: 0; gap: 3px; }
  .brand-symbol { width: 43px; height: 52px; flex-basis: 43px; }
  .brand-wordmark strong { font-size: 19px; }
  .brand-wordmark small { font-size: 7px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 0; }
  .header-actions .icon-button { width: 36px; height: 40px; }
  .header-actions svg { width: 21px; height: 21px; }
  .mobile-nav { display: flex; justify-content: center; gap: 32px; height: 35px; border-top: 1px solid #2d2c2a; color: #d8d6d1; font-size: 12px; font-weight: 700; }
  .mobile-nav a { padding: 6px 0; }
  .hero-content { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { padding: 48px 0 39px; }
  .hero h1 { font-size: clamp(35px, 9vw, 47px); margin: 14px 0; }
  .hero-copy p { font-size: 15px; margin-bottom: 23px; }
  .hero-caption { margin-top: 27px; }
  .hero-visual { height: 430px; min-height: 0; margin-inline: -16px; }
  .hero-visual img { object-position: center 20%; }
  .service-strip-inner { grid-template-columns: 1fr; padding-block: 9px; }
  .service-strip span { justify-content: flex-start; text-align: right; min-height: 34px; padding: 4px 0; font-size: 12px; }
  .service-strip span + span { border-right: 0; border-top: 1px solid #e8e8e5; }
  .section-pad { padding: 57px 0 68px; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading p { font-size: 13px; }
  .collection-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 12px; }
  .product-quick { position: static; transform: none; width: 100%; min-height: 38px; font-size: 12px; }
  .product-image { aspect-ratio: auto; cursor: default; }
  .product-visual-button { height: auto; }
  .product-image img { aspect-ratio: 4 / 5; }
  .product-info { padding-top: 9px; }
  .product-info h3, .product-info .price { font-size: 14px; }
  .product-info .price small { display: none; }
  .shopping-info { padding: 58px 0; }
  .shopping-info-inner { grid-template-columns: 1fr; gap: 22px; }
  .shopping-info-title h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 33px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 30px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail > img { height: 300px; }
  .product-detail-content { padding: 23px; }
  .product-detail h2 { font-size: 23px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .modal-pad { padding: 27px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .admin-shell { display: block; }
  .sidebar { position: fixed; right: 0; top: 0; bottom: 0; z-index: 50; width: 250px; height: 100vh; transform: translateX(105%); transition: transform .22s; }
  .sidebar.open { transform: none; }
  .admin-topbar { height: 72px; padding: 0 16px; }
  .admin-top-left h1 { font-size: 18px; }
  .mobile-menu { display: inline-grid; }
  .demo-badge { display: none; }
  .admin-content { padding: 22px 16px 54px; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 22px; }
  .admin-intro h2 { font-size: 20px; }
  .size-stock-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-toolbar input, .admin-toolbar select { flex: 1; min-width: 130px; }
}
@media (max-width: 390px) {
  .brand-wordmark strong { font-size: 17px; }
  .brand-symbol { width: 37px; flex-basis: 37px; }
  .header-actions .icon-button { width: 32px; }
  .hero h1 { font-size: 34px; }
  .hero-actions { gap: 15px; }
  .product-grid { gap: 20px 9px; }
  .product-tag { top: 7px; right: 7px; padding: 3px 6px; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .cart-line { grid-template-columns: 65px minmax(0,1fr); }
  .cart-line > strong { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Charcoal, white and a restrained touch of the logo gold. */
body { background: var(--paper); }
.announcement { background: #f3f3f2; border-bottom-color: var(--line); color: #555; }
.store-header { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); }
.brand-symbol { border-radius: 50%; }
.brand-wordmark small { color: var(--gold-dark); }
.desktop-nav a { color: #505050; font-weight: 500; }
.desktop-nav a:hover { color: var(--gold-dark); }
.icon-button:hover { color: var(--ink); background: #f2f2f1; }
.install-header { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 500; white-space: nowrap; }
.install-header svg { width: 17px; height: 17px; }
.install-header:hover { background: #f2f2f1; }
.search-row { position: relative; padding-bottom: 15px; }
.search-row input { height: 45px; border: 1px solid var(--line); border-radius: 5px; background: #f3f3f2; color: var(--ink); padding: 8px 43px 8px 55px; }
.search-row input::placeholder { color: #868686; }
.search-row input:focus { border-color: var(--gold); background: #fff; }
.search-icon { position: absolute; right: 16px; top: 10px; color: #777; line-height: 0; pointer-events: none; }
.search-icon svg { width: 20px; height: 20px; }
.search-row .text-button { position: absolute; left: 7px; top: 7px; color: var(--muted); font-size: 12px; font-weight: 500; }
.shop-categories { padding: 25px 0 28px; background: var(--paper); }
.category-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.category-heading h2 { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 600; }
.category-heading a { color: var(--gold-dark); font-size: 13px; font-weight: 500; }
.shop-categories .filter-pills { gap: 20px; flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 9px; scrollbar-width: none; }
.shop-categories .filter-pills::-webkit-scrollbar { display: none; }
.filter-pills .category-choice { flex: 0 0 82px; display: flex; flex-direction: column; align-items: center; gap: 7px; border: 0; padding: 0; background: none; color: #555; text-align: center; font-size: 12px; font-weight: 500; }
.filter-pills .category-choice.active, .filter-pills .category-choice:not(.active):hover { border: 0; background: none; color: var(--black); }
.category-thumb { display: block; width: 70px; height: 70px; overflow: hidden; border: 2px solid transparent; border-radius: 50%; background: #e9e9e7; padding: 3px; }
.category-choice.active .category-thumb { border-color: var(--gold); }
.category-thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 23%; }
.hero { background: var(--paper); }
.hero-content { min-height: 500px; gap: 0; overflow: hidden; background: #efefed; border-radius: 6px; }
.hero-copy { z-index: 2; padding: 60px; }
.hero h1 { margin: 15px 0; font-size: clamp(42px, 4vw, 60px); font-weight: 600; letter-spacing: -.02em; }
.hero-copy p { color: #595959; }
.hero-visual { min-height: 500px; background: #e5e5e2; }
.button-gold { border: 0; border-radius: 5px; background: var(--black); color: #fff; }
.button-gold:hover { background: #3d3d3d; }
.button-dark { border-radius: 5px; }
.button-outline { border-radius: 5px; }
.hero-text-link { border-bottom-color: var(--gold); }
.section-pad { padding-top: 62px; }
.collection { background: var(--paper); }
.section-heading h2 { font-size: clamp(29px, 3vw, 38px); font-weight: 600; }
.product-grid { gap: 18px; }
.product-card { min-width: 0; }
.product-image { border-radius: 6px; background: #ebebea; }
.product-quick { border-radius: 4px; }
.product-info { padding: 13px 3px 0; }
.product-info .category { color: var(--gold-dark); font-weight: 500; }
.product-info h3 { font-weight: 600; }
.product-info .price { color: var(--ink); font-weight: 600; }
.product-detail-content .eyebrow { color: #727272; font-weight: 500; letter-spacing: 0; }
.product-detail .button { background: var(--black); }
.product-detail .button:hover { background: #3b3b3b; }
.service-strip { background: #f7f7f6; }
.shopping-info { background: #f2f2f1; }
.footer { background: var(--black); }
.brand-footer, .brand-sidebar { color: #f9f9f8; }
.brand-footer .brand-wordmark small, .brand-sidebar .brand-wordmark small { color: var(--gold-light); }
.drawer, .modal { background: #fff; }
.order-summary, .order-detail-lines { background: #f3f3f2; }
.admin-page { background: #f5f5f4; }
.sidebar { background: var(--black); }
.admin-topbar, .panel, .stat-card { background: #fff; }
.nav-item:hover, .nav-item.active { background: #3a3a3a; }
.stat-card { border-top-color: var(--line); }
.stat-card strong, .admin-top-left h1, .admin-intro h2 { font-weight: 600; }
.demo-badge { color: #626262; background: #f1f1ef; }
.data-table th { background: #f7f6f4; }
.status-badge { background: #f0f0ee; color: #585858; }
.toast { background: var(--black); }
.install-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: install; }
.install-steps li { position: relative; counter-increment: install; padding: 11px 40px 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.install-steps li::before { content: counter(install); position: absolute; right: 0; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #ededeb; color: var(--black); font: 600 12px 'Cairo', Tahoma, sans-serif; }
.install-steps strong { font-weight: 600; }

@media (max-width: 720px) {
  html { scroll-padding-top: 138px; }
  body.store-page { padding-bottom: calc(75px + env(safe-area-inset-bottom)); }
  .announcement { display: none; }
  .store-header { position: sticky; top: 0; }
  .header-row { height: 66px; }
  .brand-symbol { width: 42px; height: 42px; flex-basis: 42px; }
  .brand-wordmark strong { font-size: 18px; }
  .install-header { width: 39px; height: 39px; padding: 0; justify-content: center; border-color: transparent; }
  .install-header span { display: none; }
  .install-header svg { width: 21px; height: 21px; }
  .header-actions #searchToggle, .header-actions #accountButton, .header-actions #cartButton { display: none; }
  .mobile-nav { display: none; }
  .search-row { padding-bottom: 11px; }
  .search-row input { height: 42px; }
  .search-icon { top: 9px; }
  .shop-categories { padding: 14px 0 19px; }
  .category-heading { margin-bottom: 10px; }
  .category-heading h2 { font-size: 16px; }
  .category-heading a { font-size: 12px; }
  .shop-categories .filter-pills { gap: 10px; }
  .filter-pills .category-choice { flex-basis: 72px; font-size: 12px; }
  .category-thumb { width: 60px; height: 60px; }
  .hero-content { position: relative; display: block; min-height: 250px; height: 250px; border-radius: 7px; }
  .hero-visual { position: absolute; inset: 0; min-height: 0; height: 100%; margin: 0; }
  .hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(25,25,25,.82), rgba(25,25,25,.45) 54%, transparent); }
  .hero-visual img { object-position: center 15%; }
  .hero-copy { position: absolute; inset: 0 auto 0 0; width: 100%; padding: 24px; justify-content: center; color: #fff; }
  .hero .eyebrow { color: #e8e8e5; font-size: 11px; }
  .hero h1 { max-width: 220px; margin: 7px 0 12px; color: #fff; font-size: 32px; line-height: 1.24; }
  .hero-copy p, .hero-text-link, .hero-caption { display: none; }
  .hero .button { min-height: 36px; padding: 6px 14px; font-size: 12px; border-radius: 4px; }
  .section-pad { padding: 27px 0 55px; }
  .section-heading { align-items: end; }
  .section-heading h2 { margin: 2px 0; font-size: 22px; }
  .section-heading p { display: none; }
  .section-heading .eyebrow { font-size: 11px; }
  .product-grid { gap: 18px 12px; }
  .product-image { border-radius: 6px; }
  .product-quick { min-height: 35px; border-radius: 0 0 5px 5px; font-size: 12px; }
  .product-info { padding: 8px 2px 0; }
  .product-info h3, .product-info .price { font-size: 14px; }
  .product-info .category { font-size: 11px; }
  .mobile-bottom-nav { position: fixed; right: 0; left: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; min-height: calc(68px + env(safe-area-inset-bottom)); padding: 7px 8px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -5px 24px rgba(0,0,0,.045); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; border: 0; background: none; color: #6e6e6e; font-size: 11px; font-weight: 500; line-height: 1.3; }
  .mobile-bottom-nav .active { color: var(--black); }
  .mobile-bottom-nav svg { width: 21px; height: 21px; }
  .mobile-bottom-nav button:active, .mobile-bottom-nav a:active { color: var(--gold-dark); }
  .product-modal { top: 0; left: 0; width: 100%; height: 100dvh; max-height: none; transform: translateY(20px); }
  .product-modal.open { transform: none; }
  .product-detail > img { height: 43dvh; min-height: 260px; }
  .product-detail-content { padding: 20px 22px 110px; }
  .product-detail .big-price { margin: 13px 0; }
  .product-detail .button { position: sticky; bottom: 10px; z-index: 1; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
  .checkout-modal { top: 0; left: 0; width: 100%; height: 100dvh; max-height: none; transform: translateY(20px); }
  .checkout-modal.open { transform: none; }
  .checkout-modal .modal-pad { padding-bottom: 80px; }
  .footer { padding-bottom: 85px; }
}
@media (min-width: 721px) {
  .mobile-bottom-nav { display: none; }
}

/* Checkout payment details */
.payment-choice-fieldset { border: 0; padding: 0; margin: 24px 0 16px; min-width: 0; }
.payment-choice-fieldset legend { width: 100%; margin-bottom: 12px; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.payment-option:has(input:checked) { border-color: #454545; background: #f8f8f7; }
.payment-option input { accent-color: #292929; width: 17px; height: 17px; flex: none; }
.payment-option-copy { display: grid; gap: 2px; flex: 1; }
.payment-option-copy strong { color: var(--black); font-size: 14px; font-weight: 600; }
.payment-option-copy small { color: var(--muted); font-size: 12px; }
.transfer-panel { padding: 16px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 8px; background: #fafaf9; }
.transfer-panel[hidden], .receipt-preview[hidden], #methodAccountFields[hidden] { display: none !important; }
.transfer-account { display: grid; gap: 7px; margin-bottom: 18px; }
.transfer-account small, .transfer-account p { color: var(--muted); font-size: 12px; margin: 0; }
.transfer-account strong { font-size: 15px; }
.account-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow-wrap: anywhere; }
.account-copy button { flex: none; border: 0; background: none; color: var(--black); text-decoration: underline; cursor: pointer; }
.receipt-preview { display: flex; align-items: center; gap: 10px; margin: 10px 0 16px; font-size: 12px; overflow-wrap: anywhere; }
.receipt-preview img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; }
.receipt-panel { display: grid; gap: 10px; margin: 20px 0; padding: 14px; border: 1px solid var(--line); border-radius: 7px; }
.receipt-panel img { width: min(100%, 420px); max-height: 420px; object-fit: contain; background: #f4f4f4; }
.payment-method-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.payment-method-card { padding: 19px; overflow-wrap: anywhere; }
.payment-method-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.payment-method-card p, .admin-payment-note { color: var(--muted); font-size: 13px; }
.required-mark { color: #a43232; }

/* One typeface across both storefront and administration. */
body, button, input, select, textarea, .brand-wordmark small, .cart-count, .close-button, .modal-close, .install-steps li::before { font-family: 'Cairo', Tahoma, sans-serif; }
.brand-wordmark strong { line-height: 1.35; letter-spacing: .06em; }
.brand-wordmark small { line-height: 1.4; letter-spacing: .36em; }
.promo-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 22px; }
.promo-card { display: grid; grid-template-columns: 1fr 42%; min-height: 235px; border-radius: 7px; overflow: hidden; background: #ededeb; color: #292929; }
.promo-card > img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 235px; object-fit: cover; object-position: center 20%; }
.promo-copy { grid-column: 1; grid-row: 1; align-self: center; padding: 26px; }
.promo-copy h2 { font-size: 23px; font-weight: 600; line-height: 1.65; margin-bottom: 8px; }
.promo-copy p { font-size: 13px; opacity: .8; margin-bottom: 18px; }
.promo-copy button { border: 0; padding: 0 0 4px; background: none; color: inherit; border-bottom: 1px solid currentColor; font-weight: 600; font-size: 12px; }
.promo-card.tone-dark { background: #292929; color: #fff; }
.hero-content.tone-dark { background: #292929; color: #fff; }
.hero-content.tone-dark h1, .hero-content.tone-dark .eyebrow, .hero-content.tone-dark p { color: #fff; }
.hero-content.tone-dark .button { background: #fff; color: #292929; border-color: #fff; }
.management-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.management-card { display: flex; gap: 18px; padding: 18px; min-width: 0; }
.management-card > img { width: 92px; height: 118px; object-fit: cover; border-radius: 5px; flex: none; }
.management-card h3 { font-size: 16px; margin-bottom: 6px; }
.management-card p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.management-card .table-actions { margin-top: 12px; }
@media (max-width: 720px) {
  .promo-section { gap: 12px; padding-top: 16px; grid-template-columns: 1fr; }
  .promo-card, .promo-card > img { min-height: 190px; }
  .promo-copy { padding: 20px; }
  .promo-copy h2 { font-size: 20px; }
  .hero h1 { max-width: 230px; font-size: 28px; line-height: 1.55; }
  .checkout-section-title { font-size: 16px; }
  .management-card > img { width: 72px; height: 100px; }
}

/* Product and pricing forms. */
.product-editor-modal { width: min(1000px, calc(100% - 32px)); }
.editor-pad { padding: 30px; }
.editor-heading { margin-bottom: 24px; padding-inline-end: 30px; }
.editor-heading h2 { font-size: 25px; margin-bottom: 6px; }
.editor-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.editor-main, .editor-side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.editor-section { border: 1px solid var(--line); background: #fff; padding: 20px; border-radius: 8px; min-width: 0; }
.editor-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.editor-section-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.editor-section-head small, .editor-muted { color: var(--muted); font-size: 12px; }
.editor-muted { display: block; margin-top: 10px; }
.editor-section .field input, .editor-section .field select, .editor-section .field textarea, .delivery-rate-card input { border-radius: 5px; border-color: var(--line); }
.currency-input { position: relative; }
.currency-input input { padding-inline-end: 42px !important; font-size: 22px; font-weight: 600; height: 56px; }
.currency-input > span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.editor-stock-total { padding: 4px 9px; border-radius: 4px; font-size: 12px; background: #f2f2f1; white-space: nowrap; }
.stock-field { text-align: center; gap: 6px; }
.stock-field input { text-align: center; }
.editor-image { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 14px; border: 1px dashed #d4d4d0; border-radius: 6px; overflow: hidden; color: var(--muted); background: #f7f7f6; font-size: 12px; }
.editor-image img { width: 100%; height: 100%; object-fit: cover; }
.editor-side input[type=file] { font-size: 11px; padding: 8px; }
.image-link-details { margin-top: 14px; font-size: 12px; color: var(--muted); }
.image-link-details summary { cursor: pointer; padding: 3px 0; }
.image-link-details .field { margin-top: 10px; }
.editor-product-preview { display: grid; gap: 3px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; overflow-wrap: anywhere; }
.editor-product-preview small { color: var(--muted); font-size: 11px; }
.editor-product-preview strong { font-size: 15px; font-weight: 600; }
.editor-product-preview bdi { font-size: 17px; font-weight: 600; }
.editor-footer { position: sticky; bottom: -30px; margin: 20px -30px -30px; padding: 14px 30px; border-top: 1px solid var(--line); background: #fff; z-index: 3; }
.editor-footer .modal-footer-actions { margin-top: 0; }
.editor-footer .form-error:empty { display: none; }
.delivery-rates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.delivery-rate-card { padding: 22px; }
.delivery-rate-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.delivery-rate-heading h3 { margin: 0; font-size: 17px; }
.delivery-rate-heading span { color: var(--muted); }
.delivery-settings-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 24px; }
.delivery-settings-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.delivery-settings-footer .button { flex: none; }
#adminNav { overflow-y: auto; }
@media (max-width: 720px) {
  .editor-pad { padding: 22px 16px; }
  .editor-heading h2 { font-size: 21px; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-section { padding: 16px; }
  .editor-side { grid-template-columns: 1fr; }
  .editor-image { aspect-ratio: 1; max-height: 300px; }
  .editor-footer { bottom: -22px; margin: 18px -16px -22px; padding: 14px 16px; }
  .editor-footer .modal-footer-actions .button { flex: 1; }
  .delivery-settings-footer { flex-direction: column; align-items: stretch; }
}

/* Administration: compact, consistent workspace. */
.admin-page { --line: #e6e8eb; --muted: #717780; --canvas: #f5f6f8; --black: #242527; background: var(--canvas); color: #292d32; }
.admin-page .admin-shell { grid-template-columns: 236px minmax(0, 1fr); }
.admin-page .admin-main { min-width: 0; }
.admin-page .sidebar { height: 100dvh; padding: 26px 14px 18px; background: #242527; color: #fff; }
.admin-page .brand-sidebar { gap: 10px; margin: 0 10px 25px; flex: none; }
.admin-page .brand-sidebar .brand-symbol { width: 44px; height: 50px; flex-basis: 44px; }
.admin-page .brand-sidebar .brand-wordmark strong { font-size: 20px; letter-spacing: .08em; }
.admin-page .brand-sidebar .brand-wordmark small { color: #c6b68e; font-size: 8px; }
.admin-page #adminNav { flex: 1; min-height: 0; gap: 3px; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: #505155 transparent; }
.admin-page .sidebar-label { margin: 21px 12px 7px; font-size: 10px; font-weight: 500; color: #898c93; }
.admin-page .sidebar-label:first-child { margin-top: 2px; }
.admin-page .nav-item { min-height: 44px; gap: 11px; padding: 10px 12px; border: 0; border-radius: 7px; font-size: 13px; font-weight: 500; color: #babdc3; transition: background .15s, color .15s; }
.admin-page .nav-item > span { display: inline-flex; width: 19px; color: #91959e; }
.admin-page .nav-item svg { width: 19px; height: 19px; stroke-width: 1.6; flex: none; }
.admin-page .nav-item:hover { background: #303236; color: #fff; }
.admin-page .nav-item.active { color: #fff; background: #3a3c40; box-shadow: inset -2px 0 #c2ac7e; }
.admin-page .nav-item.active > span { color: #d2bc92; }
.admin-page .nav-count { min-width: 21px; height: 21px; display: grid; place-items: center; margin-inline-start: auto; border-radius: 5px; background: #55575c; font-size: 10px; color: #fff; font-weight: 500; }
.admin-page .sidebar-bottom { gap: 13px; border-top: 1px solid #3a3c40; padding: 17px 10px 0; margin-top: 8px; flex: none; }
.admin-page .sidebar-bottom a { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.admin-page .sidebar-bottom svg { width: 17px; height: 17px; color: #a5a9b0; }
.admin-page .sidebar-bottom small { display: flex; align-items: center; gap: 7px; font-size: 9px; color: #8f949d; }
.local-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #a6aaa9; flex: none; }
.admin-page .admin-topbar { position: sticky; top: 0; z-index: 20; height: 76px; padding: 0 34px; background: #fff; gap: 16px; }
.admin-page .admin-top-left small { font-size: 10px; font-weight: 500; color: #858b93; }
.admin-page .admin-top-left h1 { font-size: 19px; font-weight: 600; line-height: 1.7; margin: 0; }
.admin-page .admin-top-actions { gap: 22px; }
.admin-date { font-size: 11px; color: #737a83; }
.admin-page .outline-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; min-height: 37px; border-radius: 6px; font-size: 11px; font-weight: 500; }
.admin-page .outline-link svg { width: 15px; height: 15px; }
.admin-page .admin-content { max-width: 1430px; padding: 30px 34px 50px; }
.admin-page .admin-intro { align-items: center; gap: 18px; margin-bottom: 23px; }
.admin-page .admin-intro h2 { font-size: 23px; font-weight: 600; margin: 0 0 5px; line-height: 1.7; }
.admin-page .admin-intro p { font-size: 12px; line-height: 1.8; }
.dashboard-eyebrow { display: block; font-size: 9px; letter-spacing: .14em; color: #888d95; margin-bottom: 3px; }
.dashboard-header-actions { display: flex; align-items: center; gap: 9px; }
.admin-page .button { border-radius: 6px; min-height: 40px; padding: 8px 15px; font-size: 12px; font-weight: 600; gap: 8px; }
.admin-page .button svg { width: 16px; height: 16px; }
.admin-page .button-dark { background: #292b2f; border-color: #292b2f; color: #fff; }
.admin-page .button-dark:hover { background: #404348; border-color: #404348; }
.admin-page .button-outline { border-color: #dfe2e6; background: #fff; }
.admin-page .stats-grid { gap: 16px; margin-bottom: 24px; }
.admin-page .stat-card { text-align: start; padding: 17px 19px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #292d32; box-shadow: 0 2px 3px rgba(25,30,40,.015); transition: border-color .15s; }
.admin-page .stat-card:hover { border-color: #bdc3cc; }
.stat-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-page .stat-card-top small { font-size: 12px; font-weight: 500; color: #6d7480; }
.admin-page .stat-icon { display: grid; place-items: center; width: 33px; height: 33px; background: #f4f5f7; border-radius: 8px; color: #666d78; }
.stat-icon svg { width: 18px; height: 18px; }
.admin-page .stat-card strong.metric-value { font-size: 28px; line-height: 1.5; font-weight: 600; margin: 8px 0 9px; font-variant-numeric: tabular-nums; }
.stat-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.admin-page .stat-card-foot span { font-size: 11px; color: #898f99; }
.stat-card-foot > svg { width: 14px; height: 14px; color: #a1a6af; }
.admin-page .dashboard-grid { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 20px; align-items: stretch; }
.admin-page .panel { border-radius: 10px; border-color: #e5e7eb; padding: 21px; box-shadow: 0 2px 3px rgba(25,30,40,.015); }
.admin-page .panel-head { margin-bottom: 17px; }
.admin-page .panel-head h3 { font-size: 15px; font-weight: 600; }
.admin-page .panel-head small { display: block; margin-top: 3px; color: #8c919a; font-size: 10px; }
.admin-page .panel-head button { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; color: #737b85; padding: 6px 0; white-space: nowrap; }
.admin-page .panel-head button svg { width: 15px; height: 15px; }
.admin-page .data-table { min-width: 660px; }
.admin-page .data-table th { font-size: 10px; font-weight: 600; color: #858c97; background: #f7f8fa; padding: 12px; }
.admin-page .data-table td { padding: 15px 12px; border-bottom-color: #eef0f3; font-size: 12px; }
.admin-page .data-table strong { font-size: 12px; font-weight: 600; }
.admin-page .data-table small { font-size: 10px; line-height: 1.7; margin-top: 3px; }
.admin-page .data-table tbody tr:hover { background: #fafbfc; }
.admin-page .data-table td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-page .table-product img { border-radius: 5px; }
.admin-page .table-actions { gap: 6px; flex-wrap: wrap; }
.admin-page .table-actions button { min-height: 32px; border-radius: 5px; font-size: 10px; font-weight: 500; border-color: #e1e4e8; padding: 6px 10px; }
.admin-page .status-badge { border-radius: 5px; padding: 4px 8px; font-size: 10px; font-weight: 500; white-space: nowrap; }
.admin-page .admin-table-panel { padding: 0; overflow: hidden; }
.admin-page .admin-table-panel .table-wrap { padding: 0; }
.admin-page .admin-table-panel .data-table th { background: #f7f8fa; }
.admin-page .admin-toolbar { margin-bottom: 16px; }
.admin-page .admin-toolbar input, .admin-page .admin-toolbar select { border-radius: 7px; border-color: #e1e4e8; font-size: 12px; min-height: 42px; }
.admin-page .admin-toolbar input[type=search] { width: min(100%, 360px); }
.dashboard-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 297px; padding: 25px 15px; text-align: center; }
.dashboard-empty > span { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 15px; color: #a3a9b3; background: #f4f5f7; border-radius: 14px; }
.dashboard-empty > span svg { width: 25px; height: 25px; }
.dashboard-empty h4 { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.dashboard-empty p { color: #8c929d; font-size: 11px; max-width: 250px; line-height: 1.9; margin-bottom: 18px; }
.admin-page .dashboard-empty .button { min-height: 35px; font-size: 10px; font-weight: 500; padding: 5px 12px; }
.stock-alerts { display: grid; }
.stock-alert-row { display: flex; width: 100%; min-width: 0; align-items: center; gap: 11px; padding: 12px 0; border: 0; border-bottom: 1px solid #edf0f3; background: #fff; color: inherit; text-align: start; }
.stock-alert-row:first-child { padding-top: 3px; }
.stock-alert-row:last-child { border-bottom: 0; padding-bottom: 3px; }
.stock-alert-row:hover .stock-alert-copy strong { text-decoration: underline; text-underline-offset: 3px; }
.stock-alert-row img { width: 36px; height: 47px; flex: none; border-radius: 5px; object-fit: cover; }
.stock-alert-copy { min-width: 0; display: grid; gap: 2px; flex: 1; }
.stock-alert-copy strong { font-size: 12px; font-weight: 500; line-height: 1.7; }
.stock-alert-copy small { color: #9097a1; font-size: 11px; }
.stock-quantity { background: #f0f2f4; color: #737c87; border-radius: 5px; font-size: 9px; padding: 4px 7px; white-space: nowrap; flex: none; }
.stock-quantity.empty { background: #faf0ef; color: #a65e58; }
.stock-show-all { display: inline-flex; align-items: center; gap: 7px; border: 0; border-top: 1px solid #edf0f3; background: none; width: 100%; justify-content: center; color: #757d88; padding: 11px 0 0; margin-top: 12px; font-size: 10px; }
.stock-show-all svg { width: 14px; height: 14px; }
.review-notice { display: flex; align-items: center; gap: 13px; padding: 14px 19px; margin-bottom: 24px; border: 1px solid #e1e5e9; background: #fff; border-radius: 9px; }
.review-icon { display: grid; place-items: center; color: #767f8a; }
.review-icon svg { width: 21px; height: 21px; }
.review-notice > div { flex: 1; }
.review-notice strong { display: block; font-size: 12px; font-weight: 600; }
.review-notice span:not(.review-icon) { color: #858d98; font-size: 10px; }
.review-notice button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; background: none; border: 0; font-size: 11px; color: #626c78; }
.review-notice button svg { width: 15px; height: 15px; }
.dashboard-shortcuts { margin-top: 26px; }
.section-mini-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-mini-heading h3 { margin: 0; font-size: 13px; font-weight: 600; }
.section-mini-heading span { font-size: 10px; color: #969ca5; }
.shortcut-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.shortcut-card { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 17px 15px; border: 1px solid #e5e7eb; border-radius: 9px; background: #fff; color: #353940; text-align: start; }
.shortcut-card:hover { border-color: #bcc3cc; }
.shortcut-icon { display: grid; place-items: center; color: #828995; }
.shortcut-icon svg { width: 21px; height: 21px; }
.shortcut-card > span:nth-child(2) { min-width: 0; flex: 1; }
.shortcut-card strong { display: block; font-size: 12px; font-weight: 600; }
.shortcut-card small { display: block; color: #9198a2; font-size: 10px; margin-top: 3px; }
.shortcut-card > svg { width: 13px; height: 13px; color: #9ba1ab; flex: none; }
.admin-page .field label { font-weight: 500; }
.admin-page .field input, .admin-page .field select, .admin-page .field textarea { border-radius: 6px; border-color: #dfe3e8; }
.admin-page .modal { border-radius: 12px; }
.admin-page .modal-close { border-radius: 6px; }
.admin-page button:focus-visible, .admin-page a:focus-visible { outline: 2px solid #ab976e; outline-offset: 3px; }
.admin-page input:focus, .admin-page select:focus, .admin-page textarea:focus { border-color: #929ba9; box-shadow: 0 0 0 3px #eef0f3; }
@media (max-width: 1200px) {
  .admin-page .admin-shell { grid-template-columns: 215px minmax(0,1fr); }
  .admin-page .admin-content, .admin-page .admin-topbar { padding-inline: 24px; }
  .admin-page .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-page .dashboard-grid { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-empty { min-height: 220px; }
}
@media (max-width: 720px) {
  .admin-page .admin-shell { display: block; }
  .admin-page .sidebar { width: 250px; height: 100dvh; }
  .admin-page .admin-topbar { height: 68px; padding: 0 16px; }
  .admin-page .admin-top-actions { gap: 0; }
  .admin-page .admin-top-left h1 { font-size: 15px; }
  .admin-page .admin-top-left small { font-size: 9px; }
  .admin-date { display: none; }
  .admin-page .outline-link { min-height: 34px; padding: 5px 9px; font-size: 10px; }
  .admin-page .admin-content { padding: 22px 16px 35px; }
  .admin-page .dashboard-intro { flex-direction: column; align-items: stretch; gap: 16px; }
  .admin-page .admin-intro h2 { font-size: 20px; }
  .dashboard-header-actions .button { flex: 1; justify-content: center; font-size: 11px; }
  .admin-page .stats-grid { gap: 12px; margin-bottom: 18px; }
  .admin-page .stat-card { padding: 13px; }
  .admin-page .stat-card-top small { font-size: 10px; }
  .admin-page .stat-icon { width: 27px; height: 27px; border-radius: 6px; }
  .stat-icon svg { width: 15px; height: 15px; }
  .admin-page .stat-card strong.metric-value { font-size: 23px; }
  .admin-page .stat-card-foot span { font-size: 9px; }
  .admin-page .panel { padding: 17px; }
  .admin-page .admin-table-panel { padding: 0; }
  .admin-page .panel-head h3 { font-size: 13px; }
  .admin-page .dashboard-grid { gap: 16px; }
  .shortcut-grid { gap: 10px; }
  .shortcut-card { padding: 13px 11px; gap: 8px; }
  .shortcut-card > svg { display: none; }
  .shortcut-card small { font-size: 10px; }
  .shortcut-card strong { font-size: 12px; }
  .review-notice { padding: 12px; flex-wrap: wrap; }
  .review-notice button { margin-inline-start: 34px; }
  .admin-page .admin-toolbar { gap: 10px; }
  .admin-page .admin-toolbar input, .admin-page .admin-toolbar select { min-width: 0; width: 100%; }
  .admin-page .admin-intro:not(.dashboard-intro) { align-items: flex-start; }
  .admin-page .admin-intro > .button { min-width: max-content; padding: 8px 10px; font-size: 10px; }
  .admin-page .modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-page *, .admin-page *::before, .admin-page *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Payment identities and compact account cards. */
.admin-page .payment-list-meta { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; color: #838b96; font-size: 12px; }
.payment-meta-separator { color: #b4bac3; }
.admin-page .payment-method-list { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.admin-page .payment-method-card { padding: 0; overflow: hidden; min-width: 0; }
.admin-page .payment-method-head { align-items: center; padding: 22px 20px 18px; gap: 12px; }
.payment-brand-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: #fff; border: 1px solid #e9ecf0; border-radius: 10px; overflow: hidden; }
.payment-brand-icon img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.payment-method-title { min-width: 0; flex: 1; }
.admin-page .payment-method-title h3 { margin: 0 0 3px; font-weight: 600; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.admin-page .payment-method-title small { font-size: 10px; color: #9198a3; }
.payment-availability { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; background: #f1f2f4; color: #848b95; font-size: 10px; white-space: nowrap; }
.payment-availability i { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.payment-availability.available { background: #eef5f0; color: #65806e; }
.payment-card-body { padding: 0 20px 20px; min-height: 112px; }
.payment-account-line { display: grid; gap: 3px; margin-bottom: 12px; }
.payment-account-line > span { color: #929aa5; font-size: 10px; }
.payment-account-line strong, .payment-account-line bdi { font-size: 12px; font-weight: 500; color: #4b535e; overflow-wrap: anywhere; }
.payment-account-line bdi { direction: ltr; text-align: start; font-variant-numeric: tabular-nums; }
.admin-page .payment-instructions, .admin-page .payment-cash-note { color: #8a929d; font-size: 11px; line-height: 1.9; margin: 13px 0 0; overflow-wrap: anywhere; }
.admin-page .payment-cash-note { margin-top: 0; padding-top: 5px; }
.payment-card-actions { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0f3; padding: 13px 20px; background: #fcfcfd; }
.payment-card-actions button { background: none; border: 0; padding: 3px 0; font-size: 11px; font-weight: 500; color: #5c6572; }
.payment-card-actions .payment-delete { color: #ad7774; }
.payment-card-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.payment-method-card.is-disabled .payment-brand-icon, .payment-method-card.is-disabled .payment-method-title { opacity: .6; }
.payment-empty-state { grid-column: 1 / -1; text-align: center; padding: 36px !important; }
.payment-empty-state > span { display: inline-flex; margin-bottom: 12px; color: #969da7; }
.payment-empty-state h3 { font-size: 16px; }
.payment-empty-state p { font-size: 12px; color: var(--muted); }
.admin-page .payment-editor-modal { width: min(920px, calc(100% - 32px)); }
.payment-editor-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0,1fr); gap: 22px; }
.payment-editor-main { display: grid; gap: 16px; align-content: start; }
.payment-editor-preview { border: 1px solid #e7eaee; padding: 22px; border-radius: 8px; background: #f8f9fa; align-self: start; min-width: 0; }
.payment-preview-caption { display: block; font-size: 11px; color: #929aa5; margin-bottom: 18px; }
.payment-preview-surface { display: flex; flex-direction: column; align-items: center; padding: 24px 14px; border: 1px solid #e4e8ed; border-radius: 8px; background: #fff; text-align: center; }
.payment-brand-icon.large { width: 64px; height: 64px; margin-bottom: 15px; }
.payment-preview-surface h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.payment-preview-surface p { margin: 0; font-size: 11px; color: #929aa5; }
.payment-preview-help { font-size: 10px; color: #929aa5; line-height: 1.9; margin: 14px 0 18px; }
.payment-publish-setting { display: flex; align-items: center; gap: 10px; border-top: 1px solid #e4e8ed; padding-top: 17px; }
.payment-publish-setting input { width: 17px; height: 17px; accent-color: #30343a; flex: none; }
.payment-publish-setting strong { display: block; font-size: 12px; font-weight: 500; }
.payment-publish-setting small { font-size: 10px; color: #969da7; }
.payment-editor-footer { border-top: 1px solid #e7eaee; padding-top: 18px; margin-top: 22px; }
.payment-option { display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; gap: 12px; padding: 13px 14px; border-color: #e4e7eb; border-radius: 7px; background: #fff; }
.payment-option:has(input:checked) { border-color: #747b85; background: #fafbfc; }
.payment-choice-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 7px; overflow: hidden; background: #fff; border: 1px solid #edf0f3; }
.payment-choice-icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.payment-option-copy strong { font-weight: 600; font-size: 13px; }
.payment-option-copy small { font-size: 10px; }
@media (max-width: 1200px) {
  .admin-page .payment-method-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .admin-page .payment-method-list { grid-template-columns: 1fr; gap: 16px; }
  .payment-editor-layout { grid-template-columns: 1fr; }
  .payment-editor-preview { padding: 18px; }
  .payment-preview-surface { flex-direction: row; gap: 12px; flex-wrap: wrap; padding: 16px; justify-content: center; }
  .payment-brand-icon.large { margin-bottom: 0; width: 48px; height: 48px; }
  .payment-preview-surface p { width: 100%; }
  .payment-card-body { min-height: auto; }
  .payment-editor-footer .button { flex: 1; }
  .payment-option { gap: 9px; }
}

/* Catalog workspaces, shipping settings and local activity. */
.section-count-chip { padding: 6px 11px; border: 1px solid #e2e6ec; border-radius: 6px; background: #fff; font-size: 11px; color: #7d8693; white-space: nowrap; }
.catalog-management-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.admin-page .category-admin-card, .admin-page .promotion-admin-card { padding: 0; overflow: hidden; }
.category-admin-main { display: flex; gap: 17px; align-items: center; padding: 22px; }
.category-admin-main > img { width: 75px; height: 90px; object-fit: cover; border-radius: 7px; flex: none; }
.category-admin-main > div { flex: 1; min-width: 0; }
.category-admin-main h3 { margin: 8px 0 5px; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.category-admin-main p { color: #949ca7; font-size: 10px; margin: 0; }
.category-admin-main p span { padding: 0 5px; }
.catalog-state { display: inline-flex; padding: 3px 7px; background: #f0f2f4; color: #8a929e; border-radius: 4px; font-size: 9px; }
.catalog-state.is-visible { color: #67836d; background: #eef5f0; }
.catalog-card-actions { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-top: 1px solid #edf0f3; background: #fcfcfd; }
.catalog-card-actions button { border: 0; background: none; padding: 3px 0; font-size: 11px; color: #687382; font-weight: 500; }
.catalog-card-actions button:first-child { color: #343d48; }
.catalog-card-actions button.danger { margin-inline-start: auto; color: #a87773; }
.catalog-card-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.catalog-empty { text-align: center; grid-column: 1/-1; padding: 38px !important; }
.catalog-empty > span { display: inline-flex; color: #919aa7; margin-bottom: 12px; }
.catalog-empty h3 { font-size: 16px; }
.catalog-empty p { font-size: 12px; color: #87909c; }
.ad-admin-preview { position: relative; height: 205px; overflow: hidden; background: #292c30; }
.ad-admin-preview > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ad-admin-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25,27,30,.85),rgba(25,27,30,.12) 85%); }
.ad-admin-preview > div { position: absolute; bottom: 19px; right: 20px; left: 20px; z-index: 1; color: #fff; }
.ad-admin-preview h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-admin-preview p { font-size: 10px; line-height: 1.8; margin: 0 0 9px; opacity: .8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-admin-preview > div > span { display: inline-block; border-bottom: 1px solid #fff8; padding-bottom: 2px; font-size: 10px; }
.ad-placement-tag { position: absolute; top: 15px; right: 15px; z-index: 2; border-radius: 4px; background: #fff; color: #4b5563; padding: 4px 8px; font-size: 9px; }
.ad-admin-details { padding: 17px 20px; }
.ad-admin-details > div { display: flex; justify-content: space-between; align-items: center; }
.ad-admin-details small { color: #979eaa; font-size: 10px; }
.ad-admin-details p { margin: 12px 0 0; font-size: 10px; color: #939ba7; }
.ad-admin-details strong { font-size: 11px; color: #67717f; font-weight: 500; margin-inline-start: 6px; }
.order-status-tabs { display: flex; align-items: center; gap: 7px; margin: 0 0 20px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
.order-status-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid transparent; border-radius: 6px; white-space: nowrap; font-size: 11px; background: transparent; color: #818b98; }
.order-status-tabs button span { display: grid; place-items: center; min-width: 18px; height: 18px; font-size: 9px; border-radius: 4px; background: #eaedf2; color: #8f97a3; }
.order-status-tabs button.active { background: #fff; color: #343d49; border-color: #dde2e9; }
.order-status-tabs button.active span { color: #566171; background: #eef0f4; }
.orders-toolbar { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid #edf0f3; }
.orders-search { display: flex; gap: 10px; align-items: center; min-width: 0; flex: 1; }
.orders-search > svg { width: 17px; height: 17px; flex: none; color: #a0a8b3; }
.orders-search input { border: 0; background: transparent; outline: none; font-size: 12px; padding: 7px 0; width: 100%; box-shadow: none !important; }
.orders-toolbar > select { border: 1px solid #e4e8ee; border-radius: 5px; font-size: 11px; padding: 7px 9px; color: #768190; background: #fff; }
.orders-toolbar > span { font-size: 10px; color: #a0a8b4; white-space: nowrap; }
.orders-empty { min-height: 320px; }
.admin-page .orders-workspace .data-table { min-width: 800px; }
.delivery-settings-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 24px; align-items: start; }
.admin-page .delivery-rates-panel { padding: 25px; }
.delivery-rates-panel .panel-head > svg { color: #939daa; width: 23px; height: 23px; }
.delivery-rate-row { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-bottom: 1px solid #edf0f3; }
.delivery-rate-row:last-child { border-bottom: 0; }
.delivery-region-index { display: grid; place-items: center; width: 32px; height: 32px; background: #f3f5f8; border-radius: 7px; color: #a1a9b4; font-size: 10px; flex: none; }
.delivery-region-copy { display: grid; gap: 3px; flex: 1; }
.delivery-region-copy label { font-size: 13px; font-weight: 500; color: #4d5867; }
.delivery-rate-result { color: #9ba3af; font-size: 10px; }
.delivery-rate-result.is-free { color: #698475; }
.delivery-currency-input { position: relative; width: 130px; flex: none; }
.delivery-currency-input input { border: 1px solid #e0e5ec; border-radius: 6px; height: 42px; padding: 9px 35px 9px 11px; background: #fff; color: #414b59; width: 100%; font-size: 13px; }
.delivery-currency-input span { position: absolute; right: 12px; top: 10px; font-size: 12px; color: #9da6b3; pointer-events: none; }
.delivery-save-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid #e8ecf2; padding-top: 19px; margin-top: 10px; }
.delivery-save-bar small { color: #9aa3af; font-size: 10px; }
.delivery-settings-info .settings-info-icon { display: inline-flex; color: #939eac; margin-bottom: 15px; }
.delivery-settings-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.delivery-settings-info > p { font-size: 12px; color: #8c96a4; line-height: 1.9; }
.delivery-settings-info > div { border-top: 1px solid #edf0f3; padding-top: 15px; margin-top: 15px; }
.delivery-settings-info strong { font-size: 12px; font-weight: 500; }
.delivery-settings-info > div p { font-size: 11px; line-height: 1.9; color: #98a1ae; margin: 5px 0 0; }
.notification-hub { position: relative; }
.notification-bell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; background: #fff; border: 1px solid #e4e8ee; border-radius: 7px; color: #727e8d; }
.notification-bell svg { width: 18px; height: 18px; }
.notification-bell > b { position: absolute; top: -5px; left: -5px; display: grid; place-items: center; min-width: 17px; height: 17px; border-radius: 5px; background: #a56962; color: #fff; padding: 0 3px; font-size: 9px; font-weight: 500; }
.notification-dropdown { position: absolute; top: 49px; left: 0; width: 385px; background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; box-shadow: 0 18px 48px #242e401a; overflow: hidden; z-index: 60; }
.notification-dropdown-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-bottom: 1px solid #edf0f4; }
.notification-dropdown-head strong { font-size: 12px; font-weight: 600; }
.notification-dropdown-head strong > span { font-size: 10px; color: #99a2af; margin-inline-start: 5px; }
.notification-dropdown-head button { border: 0; background: none; color: #9aa2ae; font-size: 10px; padding: 4px 0; }
.notification-dropdown-list { max-height: 355px; overflow-y: auto; }
.notification-entry { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: start; padding: 18px 20px; border: 0; border-bottom: 1px solid #edf0f4; background: #fff; color: #485363; }
.notification-entry.unread { background: #f8fafc; }
.notification-entry:hover { background: #f3f5f9; }
.notification-entry-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 8px; background: #eff2f6; color: #929caa; flex: none; }
.notification-entry-icon svg { width: 17px; height: 17px; }
.notification-entry-copy { min-width: 0; flex: 1; display: grid; gap: 4px; }
.notification-entry-copy strong { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.notification-entry-copy > span { font-size: 11px; color: #8e98a6; overflow-wrap: anywhere; }
.notification-entry-copy small { font-size: 9px; color: #a7afba; }
.notification-unread-dot { width: 5px; height: 5px; background: #aa8b5c; border-radius: 50%; flex: none; margin-top: 7px; }
.notification-dropdown-footer { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; background: #fff; padding: 13px; color: #7a8796; font-size: 11px; }
.notification-dropdown-footer svg { width: 14px; height: 14px; }
.notification-empty-small { margin: 0; padding: 30px 15px; color: #9aa3b0; font-size: 11px; text-align: center; }
.notification-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.notification-filters button { padding: 8px 12px; border: 1px solid transparent; border-radius: 6px; background: none; color: #8b96a5; font-size: 11px; }
.notification-filters button.active { border-color: #dfe5ed; background: #fff; color: #455264; }
.notification-filters span { color: #a2abb7; padding-inline-start: 6px; font-size: 10px; }
.admin-page .notifications-panel { padding: 0; overflow: hidden; }
.notifications-panel .notification-entry:last-child { border-bottom: 0; }
.visitor-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 24px; }
.visitor-metrics > div { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid #e2e8ef; background: #fff; border-radius: 9px; }
.visitor-metrics span { color: #7f8b9a; font-size: 12px; }
.visitor-metrics strong { font-size: 27px; font-weight: 600; color: #3b4757; }
.visitor-metrics small { font-size: 10px; color: #a0a9b6; }
@media (max-width: 1200px) {
  .catalog-management-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .delivery-settings-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .catalog-management-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-admin-main { padding: 18px; }
  .ad-admin-preview { height: 220px; }
  .orders-toolbar { padding: 13px; gap: 8px; flex-wrap: wrap; }
  .orders-search { flex-basis: 100%; }
  .orders-toolbar > select { flex: 1; }
  .order-status-tabs { gap: 4px; margin-bottom: 15px; }
  .order-status-tabs button { padding: 8px 10px; font-size: 10px; }
  .admin-page .delivery-rates-panel { padding: 18px; }
  .delivery-currency-input { width: 100px; }
  .delivery-region-index { display: none; }
  .delivery-save-bar { align-items: stretch; flex-direction: column; gap: 12px; }
  .notification-bell { width: 34px; height: 34px; }
  .admin-page .admin-top-actions { gap: 10px; }
  .notification-dropdown { position: fixed; top: 67px; left: 12px; right: 12px; width: auto; }
  .notification-dropdown-list { max-height: min(355px, 60dvh); }
  .notification-entry { padding: 15px; gap: 10px; }
  .visitor-metrics { gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .visitor-metrics > div { padding: 16px; }
  .visitor-metrics > div:last-child { grid-column: 1/-1; }
  .visitor-metrics strong { font-size: 23px; }
  .visitor-metrics small { font-size: 9px; }
}
