/* Markim Store — product-first presentation. Business contracts remain in core. */
:root {
  --bg:#f6f7f9; --surface:#fff; --surface-2:#f1f4f8; --surface-3:#e7edf5;
  --text:#142238; --text-2:#334155; --muted:#536174; --muted-2:#637083;
  --line:#dce2eb; --line-strong:#8895a7;
  --accent:#2563eb; --accent-2:#0ea5e9; --accent-3:#1d4ed8;
  --accent-soft:#eaf1ff; --on-accent:#fff; --success:#146c43; --warning:#8a4b0b;
  --shadow-xs:0 1px 2px rgb(15 23 42 / 3%); --shadow-sm:0 5px 18px rgb(15 23 42 / 6%);
  --max:1240px; --header-h:78px;
}
[data-theme="dark"] {
  --bg:#0b1120; --surface:#141e30; --surface-2:#1b2940; --surface-3:#273752;
  --text:#f1f5fc; --text-2:#d6dfec; --muted:#b2bfd2; --muted-2:#a5b3c9;
  --line:#34435b; --line-strong:#8091ac;
  --accent:#93c5fd; --accent-soft:#1c3457; --on-accent:#102036;
  --success:#6ee7b7; --warning:#fcd28c;
}
html,body { overflow-x:visible; }
body { background:var(--bg); font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input,select,textarea { font:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[role="button"]:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
button:disabled { cursor:not-allowed; }
.shell { width:min(var(--max),calc(100% - 48px)); }
.site-notice { background:#13253f; }
.site-notice-inner { min-height:32px; font-size:12px; font-weight:500; }
.site-header { background:var(--surface); backdrop-filter:none; border-color:var(--line); }
.site-header .header-main { gap:24px; grid-template-columns:auto minmax(0,1fr) auto; }
.brand-mark { background:#2563eb; color:#fff; }
.brand-text b { font-size:18px; letter-spacing:-.025em; }
.brand-text small { max-width:230px; white-space:normal; font-size:12px; }
.header-search { height:46px; background:var(--surface-2); border-color:var(--line); }
.header-search input,.search-wrap input { font-size:16px; }
.header-catalog-link { display:none; }
.icon-btn { width:44px; height:44px; font-size:22px; box-shadow:none; }
.cart-pill { min-height:44px; min-width:112px; border:1px solid var(--line); background:var(--accent); color:var(--on-accent); box-shadow:none; }
.cart-label { font-size:14px; }
.cart-pill b { background:var(--surface); color:var(--text); font-size:12px; }
.storefront-nav { display:flex; align-items:center; gap:28px; min-height:44px; border-top:1px solid var(--line); }
.storefront-nav a,.storefront-nav button { color:var(--muted); font-size:13px; font-weight:650; text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
.storefront-nav a:first-child { color:var(--text); }
.storefront-nav button { margin-left:auto; padding:0; border:0; background:none; cursor:pointer; gap:8px; }
.storefront-nav a:hover,.storefront-nav button:hover { color:var(--accent); }
.btn { min-height:46px; padding:10px 18px; font-size:14px; font-weight:700; line-height:1.35; }
.btn.primary { color:var(--on-accent); background:var(--accent); box-shadow:none; }
.btn.primary:hover { box-shadow:none; filter:brightness(.96); }
.btn.small { min-height:44px; font-size:13px; }
.text-btn { min-height:44px; font-size:13px; }
.hero { margin-block:28px 18px; padding:30px 36px; gap:44px; min-height:0; grid-template-columns:minmax(0,1fr) minmax(280px,.75fr); background:#123d8b; border-radius:16px; align-items:center; }
.hero .eyebrow { padding:0; border:0; border-radius:0; box-shadow:none; background:none; color:#c5dcff; font-size:11px; letter-spacing:.08em; }
.hero h1 { margin:16px 0; color:#fff; font-size:clamp(30px,3.2vw,44px); line-height:1.1; letter-spacing:-.035em; font-weight:750; }
.hero h1 span { color:#c5dcff; }
.hero-lead { max-width:54ch; color:#e0ebff; font-size:15px; line-height:1.6; }
.hero-actions { margin-top:22px; gap:10px; display:flex; }
.hero-actions .btn.primary { color:#123d8b; background:#fff; }
.hero-actions .btn.ghost { color:#fff; background:transparent; border-color:#a7c5ef; box-shadow:none; }
.hero a:focus-visible,.hero button:focus-visible { outline-color:#fff; }
.hero-product { align-self:stretch; display:flex; flex-direction:column; min-width:0; background:#fff; border-radius:12px; padding:14px 20px 12px; text-decoration:none; color:#172338; overflow:hidden; }
.hero-product-heading { display:flex; align-items:center; justify-content:space-between; font-size:11px; letter-spacing:.1em; font-weight:750; }
.hero-product-heading span:last-child { font-size:22px; }
.hero-product img { display:block; margin:auto; width:100%; height:210px; object-fit:contain; }
.hero-product-caption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 12px; font-size:12px; color:#536174; }
.hero-product-caption b { color:#1d4ed8; font-weight:650; }
.benefits { gap:0; margin:0 auto 18px; border-bottom:1px solid var(--line); }
.benefits article { padding:14px; background:none; border:0; border-radius:0; box-shadow:none; }
.benefits article+article { border-left:1px solid var(--line); }
.benefits article:hover { transform:none; box-shadow:none; }
.benefit-icon { width:28px; height:28px; background:none; font-size:20px; }
.benefits b { font-size:13px; font-weight:650; }
.benefits span { font-size:12px; line-height:1.45; }
.section-kicker { font-size:11px; letter-spacing:.09em; font-weight:750; }
.section-head h2,.cta h2 { font-size:clamp(24px,2.3vw,32px); letter-spacing:-.035em; font-weight:750; line-height:1.2; }
.section-description { font-size:14px; line-height:1.6; }
.catalog { padding:22px 0 48px; scroll-margin-top:22px; }
.catalog-heading { align-items:center; }
.search-wrap { height:46px; width:min(380px,100%); border-color:var(--line-strong); border-radius:10px; box-shadow:none; }
.catalog-toolbar { margin-top:22px; }
.category-tabs { padding-bottom:12px; gap:8px; scrollbar-width:thin; }
.category-tabs button { min-height:44px; padding:10px 15px; font-size:13px; border-radius:8px; color:var(--text-2); }
.category-tabs button.active { background:var(--accent); color:var(--on-accent); border-color:var(--accent); box-shadow:none; }
.catalog-meta { margin:4px 0 12px; align-items:center; font-size:13px; }
.catalog-meta select { min-height:44px; font-size:13px; max-width:180px; border-color:var(--line); }
.catalog-filter-disclosure { margin-bottom:20px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.catalog-filter-disclosure>summary { display:list-item; padding:12px 16px; min-height:46px; font-size:14px; font-weight:650; cursor:pointer; }
#filterActiveCount { margin-left:8px; color:var(--muted); font-size:12px; font-weight:450; }
.catalog-filter-disclosure .v4-filter-bar { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:0; border-top:1px solid var(--line); margin:0; padding:16px; border-radius:0; gap:14px; box-shadow:none; overflow:visible; }
.catalog-filter-disclosure .v4-filter-bar label { grid-column:auto; }
.catalog-filter-disclosure .v4-filter-bar label>span { font-size:12px; text-transform:none; letter-spacing:0; color:var(--text-2); }
.catalog-filter-disclosure .v4-filter-bar input,.catalog-filter-disclosure .v4-filter-bar select { min-height:44px; font-size:16px; border-color:var(--line-strong); }
.catalog-filter-disclosure .v4-filter-bar .v4-check { min-height:44px; }
.catalog-filter-disclosure .v4-check input { width:20px; height:20px; min-height:20px; accent-color:var(--accent); }
.catalog-filter-disclosure .v4-filter-bar>.btn { grid-column:auto; }
.filter-hint { grid-column:1/-1; color:var(--danger); font-size:14px; margin:0; }
.product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.product-card { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:12px; box-shadow:none; }
.product-card:hover { transform:none; box-shadow:var(--shadow-sm); }
.product-visual { flex:0 0 auto; height:230px; padding:14px; background:#fff; border-bottom:1px solid var(--line); }
.product-image { min-height:0; min-width:0; padding:0; }
.product-image img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; object-position:center; filter:none; }
.product-card:hover .product-image img { transform:none; }
.product-body { flex:1; display:flex; flex-direction:column; padding:16px; }
.product-card-labels { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:10px; }
.product-card-labels .badge,.product-card-labels .stock-badge { position:static; max-width:100%; box-shadow:none; font-size:10px; line-height:1.4; padding:3px 6px; border-radius:4px; white-space:normal; text-transform:none; letter-spacing:0; }
.product-card-labels .badge { background:var(--accent-soft); color:var(--accent); }
.product-card-labels .stock-badge { border:0; background:var(--success-soft); color:var(--success); }
.product-card-labels .stock-badge.low { background:var(--warning-soft); color:var(--warning); }
.product-card-labels .stock-badge.out { background:var(--danger-soft); color:var(--danger); }
.product-category { font-size:10px; letter-spacing:.06em; font-weight:650; }
.product-body h3 { margin:8px 0; font-size:15px; line-height:1.45; min-height:0; font-weight:650; letter-spacing:-.015em; }
.product-description { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; height:auto; min-height:0; max-height:3em; font-size:12px; line-height:1.5; margin-bottom:16px; }
.product-foot { margin-top:auto; display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:12px 8px; align-items:end; }
.price-wrap { grid-column:1/-1; min-height:66px; }
.price-wrap small { font-size:11px; }
.price { font-size:25px; font-weight:750; font-variant-numeric:tabular-nums; line-height:1.3; white-space:nowrap; }
.compare-price { font-size:12px; }
.saving { font-size:11px; font-weight:600; }
.add-btn { width:100%; height:44px; border-radius:8px; background:var(--accent); color:var(--on-accent); font-size:14px; font-weight:650; box-shadow:none; }
.add-btn:hover { transform:none; box-shadow:none; }
.add-btn:disabled { opacity:1; background:var(--surface-2); color:var(--muted); border:1px solid var(--line); }
.v4-card-share { width:44px; height:44px; font-size:18px; background:var(--surface); border-radius:8px; }
.empty-state { padding:36px 20px; border-radius:12px; }
.empty-state p { font-size:14px; }
#clearCatalogBtn { margin-top:18px; }
#catalogStatus { padding:16px; margin-bottom:14px; border-radius:10px; background:var(--surface); font-size:14px; }
.v4-arrivals,.v4-recent { padding:12px 0 44px; }
.v4-arrivals .section-head { margin-bottom:18px; }
.v4-arrivals-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.v4-arrivals-grid a { padding:14px; border-radius:10px; }
.v4-arrivals-grid img { height:124px; padding:4px; background:#fff; border-radius:6px; }
.v4-arrivals-grid strong { font-size:13px; line-height:1.45; font-weight:650; }
.v4-arrivals-grid span { font-size:15px; font-weight:750; font-variant-numeric:tabular-nums; }
.v4-recent-grid b { font-size:13px; }
.v4-recent-grid small { font-size:14px; }
.kit-spotlight { padding:26px; gap:36px; margin-bottom:48px; background:var(--surface); box-shadow:none; }
.kit-spotlight-media { background:#fff; }
.kit-spotlight-copy h2 { font-size:clamp(25px,2.5vw,34px); line-height:1.15; }
.kit-chip { position:static; display:inline-flex; margin:12px 0 0 12px; background:#15376d; }
.kit-pricing strong { font-size:32px; }
.how-it-works { padding-bottom:48px; }
.steps-grid { gap:24px; margin-top:24px; }
.step-card { min-height:0; padding:20px 0; border:0; border-top:1px solid var(--line); border-radius:0; background:none; }
.step-card:hover { transform:none; box-shadow:none; }
.step-icon { display:none; }
.step-number { position:static; color:var(--accent); font-size:22px; font-weight:600; }
.step-card h3 { margin:10px 0 8px; font-size:18px; }
.step-card p { font-size:14px; }
.store-confidence { padding-bottom:48px; }
.confidence-card { box-shadow:none; }
.confidence-main { padding:28px; background:var(--surface); }
.confidence-main:after { display:none; }
.confidence-main h2 { font-size:28px; }
.confidence-main p,.confidence-list p { font-size:14px; }
.confidence-list b { font-size:14px; }
.v4-tracking { padding:12px 0 48px; }
.v4-tracking-form { padding:18px; box-shadow:none; border-radius:12px; align-items:end; }
.v4-tracking-form input { min-height:46px; font-size:16px; border-color:var(--line-strong); }
.v4-tracking-form span,.v4-tracking-card p,.v4-timeline-item b { font-size:13px; }
.faq { padding-bottom:48px; }
.faq-list summary { min-height:52px; font-size:15px; }
.faq-list details p { font-size:14px; }
.cta { padding:28px; margin-bottom:40px; border-radius:14px; background:#132d52; box-shadow:none; }
.cta:after { display:none; }
.cta .section-kicker { color:#c5dcff; }
.cta p { font-size:14px; }
.footer { padding-bottom:32px; }
.footer-brand-block p,.footer-navigation a,.footer-links button { font-size:14px; }
.footer-navigation a,.footer-links button { min-height:44px; display:flex; align-items:center; }
.footer-copy { font-size:12px; color:var(--muted); }
/* Overlays retain existing focus/inert/close behavior. */
.drawer { overflow:hidden; }
.drawer-panel { width:min(520px,100%); overflow-y:auto; padding:24px; }
.drawer-head { flex:0 0 auto; }
.cart-items { flex:1 0 auto; overflow:visible; }
.cart-row { grid-template-columns:68px minmax(0,1fr) auto; gap:12px; padding:12px; background:var(--surface); }
.cart-thumb { width:68px; height:68px; background:#fff; }
.cart-thumb img { object-fit:contain; padding:3px; }
.cart-info b { white-space:normal; font-size:14px; line-height:1.45; }
.cart-info small { font-size:12px; }
.cart-price { font-size:14px; font-variant-numeric:tabular-nums; }
.qty { gap:4px; padding:2px; }
.qty button { width:44px; height:44px; min-width:44px; font-size:19px; }
.qty span { font-size:14px; min-width:24px; }
.remove-link { min-height:44px; font-size:12px; }
.cart-summary { flex:0 0 auto; background:var(--surface); padding-bottom:env(safe-area-inset-bottom); }
.cart-summary>div,.cart-summary .total { font-size:14px; }
.cart-summary .total b { font-size:25px; }
.cart-summary>small { font-size:12px; }
.cart-empty b { font-size:18px; }.cart-empty span { font-size:14px; }
.v4-cart-suggestions { flex:0 0 auto; }
.v4-cart-suggestions>div { display:flex; overflow-x:auto; padding-bottom:8px; }
.v4-cart-suggestions button { flex:0 0 230px; min-height:80px; }
.v4-cart-suggestions b,.v4-cart-suggestions small { font-size:12px; }
.modal-card { padding:28px; border-radius:16px; max-height:calc(100dvh - 32px); }
.modal-card h2 { font-size:28px; }
.modal-close,.v4-dialog-close { width:44px; height:44px; font-size:24px; }
.modal-intro,.security-note { font-size:13px; }
.field>span,.field>label,.v4-form label>span { font-size:13px; font-weight:650; }
.field input,.field select,.field textarea,.v4-form input,.v4-form select,.v4-form textarea { min-height:46px; font-size:16px; border-color:var(--line-strong); border-radius:8px; background:var(--surface); }
.field small,.image-controls small,.v4-upload-zone small { font-size:12px; }
.checkout-review { padding:18px; font-size:14px; line-height:1.65; }
#checkoutModal p,#verificationStatus { font-size:14px; }
.product-detail { width:min(1120px,100%); max-height:calc(100dvh - 32px); }
.product-detail-layout { grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:32px; }
.product-detail-hero { height:clamp(300px,54vh,510px); min-height:0; border-radius:12px; background:#fff; }
.product-image-caption { font-size:12px; }
#productDetail h2 { font-size:clamp(23px,2.2vw,31px); line-height:1.2; }
.detail-stock,.detail-discount { font-size:12px; padding:5px 9px; }
.detail-price-block { padding:18px 0 10px; margin:8px 0; border:0; background:none; border-radius:0; }
.detail-price-label { font-size:12px; }.detail-price { font-size:36px; font-weight:750; font-variant-numeric:tabular-nums; }.detail-saving { font-size:13px; }
.detail-stock-copy { font-size:13px; }
#productModal .detail-actions .btn { font-size:16px; min-height:50px; }
.v4-detail-actions { margin-top:12px; }.v4-detail-actions .btn { font-size:13px; min-height:44px; }
.detail-description { padding-top:18px; border-top:1px solid var(--line); gap:12px; }
.detail-description p,.detail-note { font-size:14px; line-height:1.7; }
.v4-review-list p { font-size:14px; }.v4-review-list small { font-size:12px; }
/* Existing administrative features get the same readable controls. */
.admin-head p,.danger-zone p,.admin-nav button { font-size:14px; }
.admin-nav button { min-height:46px; }
.admin-head h1 { font-size:32px; }
.stats-grid .stat-card span,.stats-grid .stat-card small { font-size:12px; }
.stat-card b { font-size:28px; }
th { font-size:11px; }td { font-size:13px; }
.table-product small { font-size:12px; }
.mini-btn,.status-select { min-height:40px; font-size:12px; }
.card-head h3 { font-size:17px; }
.v4-form-status,.v4-gallery-admin b,.v4-media-kind { font-size:12px; }
.toast { font-size:14px; }
@media (hover:hover) and (pointer:fine) { .product-visual img { transition:transform 180ms ease-out; }.product-visual:hover img { transform:scale(1.025); } }
@media (max-width:1080px) {
 .hero { gap:28px; padding:26px; }.product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .benefits { grid-template-columns:repeat(2,minmax(0,1fr)); }.benefits article:nth-child(3) { border-left:0; }
 .v4-arrivals-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:780px) {
 .shell { width:calc(100% - 32px); }.site-header .header-main { grid-template-columns:minmax(0,1fr) auto; min-height:72px; }
 .header-commerce { display:none; }.top-actions #headerSearchBtn,.top-actions #themeBtn { display:grid; width:44px; height:44px; flex-basis:44px; }
 .site-header .cart-pill { height:44px; min-width:64px; width:64px; }.cart-label { display:none; }
 .storefront-nav { gap:20px; overflow-x:auto; scrollbar-width:thin; }.storefront-nav a,.storefront-nav button { flex:0 0 auto; white-space:nowrap; font-size:12px; }
 .hero { grid-template-columns:minmax(0,1fr) minmax(0,.68fr); padding:24px; margin-block:20px 14px; gap:22px; }
 .hero h1 { font-size:30px; }.hero-lead { font-size:14px; }.hero-actions { flex-direction:column; }
 .hero-product { padding:12px; }.hero-product img { height:180px; }.hero-product-caption { display:block; }.hero-product-caption b { display:block; margin-top:4px; }
 .catalog-heading { align-items:stretch; gap:16px; }.catalog-heading .search-wrap { width:100%; }
 .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .catalog-filter-disclosure .v4-filter-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .product-detail-layout { grid-template-columns:1fr; gap:22px; }.product-detail-hero { height:min(45vh,400px); min-height:220px; }
 .steps-grid { gap:12px; grid-template-columns:1fr; }.step-card { padding:16px 0; }
 .admin-nav button { font-size:15px; }.admin-nav button span { display:inline; }.admin-nav { top:70px; }
}
@media (max-width:560px) {
 :root { --header-h:68px; }html { scroll-padding-top:126px; }
 .shell { width:calc(100% - 24px); }.site-header .header-main { gap:8px; min-height:68px; }.brand-text b { font-size:16px; }.brand-mark { width:34px; height:34px; font-size:19px; }
 .brand { gap:8px; }.top-actions { gap:4px; }.top-actions #headerSearchBtn,.top-actions #themeBtn { width:44px; height:44px; flex-basis:44px; }
 .site-header .cart-pill { min-width:56px; width:56px; gap:4px; padding:0 7px; }
 .site-notice-inner { min-height:28px; font-size:11px; }.storefront-nav { min-height:42px; gap:20px; }.storefront-nav a,.storefront-nav button { min-height:44px; }
 .hero { grid-template-columns:minmax(0,1fr); padding:22px; margin-block:16px 10px; gap:20px; border-radius:12px; }
 .hero h1 { margin:12px 0; font-size:29px; line-height:1.12; }.hero-lead { font-size:14px; }.hero-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:18px; }
 .hero-actions .btn { min-width:0; padding:10px 12px; font-size:12px; }.hero-product { padding:10px 14px; }.hero-product-heading { font-size:10px; }.hero-product img { height:140px; }
 .hero-product { display:none; }.hero-product-caption { display:none; }.benefits { grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:12px; }
 .benefits article { padding:10px 6px; gap:7px; }.benefits b { font-size:12px; }.benefits span { display:none; }.benefit-icon { width:24px; font-size:16px; }
 .catalog { padding-top:18px; padding-bottom:36px; }.catalog-heading { gap:14px; }.catalog-heading .section-description { display:none; }
 .section-head h2,.cta h2 { font-size:25px; }.section-kicker { font-size:10px; }.catalog-toolbar { margin-top:14px; }
 .category-tabs button { font-size:12px; padding:9px 12px; }.catalog-meta { font-size:12px; }.catalog-meta select { max-width:168px; font-size:12px; }
 #filterActiveCount { display:inline; margin-left:6px; font-size:11px; }.catalog-filter-disclosure>summary { padding:10px 12px; }
 .catalog-filter-disclosure .v4-filter-bar { gap:12px; padding:12px; }.catalog-filter-disclosure .v4-filter-bar label { grid-column:auto; min-width:0; flex:none; }
 .catalog-filter-disclosure .v4-filter-bar .v4-check,.catalog-filter-disclosure .v4-filter-bar>.btn { grid-column:1/-1; }
 .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .product-visual { height:174px; padding:10px; }.product-body { padding:12px; }.product-card-labels { gap:4px; margin-bottom:8px; min-height:20px; }
 .product-card-labels .badge,.product-card-labels .stock-badge { font-size:10px; }.product-category { font-size:9px; }
 .product-body h3 { font-size:14px; line-height:1.4; margin:8px 0; }.product-description { font-size:11px; max-height:3em; margin-bottom:10px; }
 .product-foot { grid-template-columns:minmax(0,1fr) 44px; gap:10px 6px; }.price { font-size:22px; }.price-wrap { min-height:60px; }.saving { font-size:10px; }
 .add-btn { font-size:12px; height:44px; }.v4-card-share { width:44px; height:44px; }.compare-price { font-size:11px; }
 .v4-arrivals-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.v4-arrivals-grid img { height:110px; }.v4-arrivals-grid a { padding:12px; }
 .v4-arrivals,.v4-recent { padding-bottom:36px; }.kit-spotlight { margin-bottom:36px; padding:18px; gap:22px; }.kit-spotlight-copy h2 { font-size:27px; }
 .kit-actions { grid-template-columns:1fr; }.kit-actions .btn { min-height:46px; }.how-it-works,.store-confidence,.faq,.v4-tracking { padding-bottom:36px; }
 .confidence-main { padding:22px; }.confidence-main h2 { font-size:25px; }.cta { padding:24px; }
 .drawer-panel { padding:16px; }.cart-row { grid-template-columns:54px minmax(0,1fr); gap:10px; }.cart-thumb { width:54px; height:64px; }.cart-price { grid-column:2; display:flex; align-items:center; justify-content:space-between; gap:10px; text-align:left; }
 .qty button { width:44px; height:44px; }.remove-link { margin:0; }.cart-items { flex-grow:0; }
 .modal { padding:8px; }.modal-card { padding:20px 16px; max-height:calc(100dvh - 16px); border-radius:12px; }.modal-close { margin:-6px -4px 4px 8px; }
 .product-detail { max-height:calc(100dvh - 16px); }.product-detail-hero { height:280px; min-height:220px; padding:14px; }
 #productDetail h2 { font-size:25px; }.detail-price { font-size:32px; }.v4-detail-actions { grid-template-columns:1fr 1fr; }
 .form-grid,.settings-form { gap:16px; }.v4-tracking-form { padding:16px; }
 .admin-topbar .btn { padding-inline:10px; }.admin-main { padding:24px 12px; }.stats-grid { gap:10px; }
 .toast-stack { bottom:max(12px,env(safe-area-inset-bottom)); }
}
@media (max-width:359px) {
 .brand-text b { font-size:14px; }.brand-mark { width:28px; height:32px; }.brand { gap:5px; }
 .hero { padding:18px; }.hero h1 { font-size:29px; }.hero-actions { grid-template-columns:1fr; }
 .product-grid { grid-template-columns:1fr; }.product-visual { height:240px; }.product-body h3 { font-size:16px; }.price { font-size:25px; }
 .v4-filter-bar { grid-template-columns:1fr; }.catalog-filter-disclosure .v4-filter-bar label { grid-column:1/-1; }
}
@media (prefers-reduced-motion:reduce) { .product-visual img,.btn,.add-btn,.icon-btn { transition:none; }.product-visual:hover img { transform:none; } }
