/* pv_rebuild v4 - professional e-commerce shell (Amazon-class)
   Dense, neutral, function-first. Tokens per site; shop shell colors
   are fixed professional navy/yellow/orange like major marketplaces. */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Fira+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #1E40AF;
  --color-accent: #D97706;
  --color-background: #F8FAFC;
  --color-foreground: #1E3A8A;
  --color-card: #FFFFFF;
  --color-muted-foreground: #475569;
  --color-border: #DBEAFE;
  --color-ring: #1E40AF;
  --link: #007185;
  --link-hover: #C7511F;
  --price: #0F1111;
  --price-deal: #B12704;
  --btn-cart: #FFD814;
  --btn-cart-hover: #F7CA00;
  --btn-buy: #FFA41C;
  --btn-buy-hover: #FA8900;
  --nav-1: #131921;
  --nav-2: #232F3E;
  --nav-hilite: #37475A;
  --page-bg: #EAEDED;
  --star: #DE7921;
  --ok: #067D62;
  --font-heading: 'Fira Code';
  --font-body: 'Fira Sans';
  --radius: 8px;
  --shadow-1: 0 1px 2px rgb(15 17 17 / .08), 0 1px 3px rgb(15 17 17 / .06);
  --shadow-2: 0 4px 10px rgb(15 17 17 / .10);
  --t: 150ms ease;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 14px/1.45 var(--font-body), system-ui, -apple-system, "Segoe UI",
    Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--color-foreground);
  background: var(--page-bg);
}
h1, h2, h3 { font-family: var(--font-heading), var(--font-body),
  system-ui, sans-serif; line-height: 1.25; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a.lnk, .lnk { color: var(--link); }
a.lnk:hover { color: var(--link-hover); text-decoration: underline; }
img { max-width: 100%; }
button, select, .btn, .chip, [role="button"] { cursor: pointer; }
:is(a, button, select, input, [tabindex]):focus-visible {
  outline: 2px solid var(--color-ring); outline-offset: 2px;
  border-radius: 4px; }
::placeholder { color: #767676; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.ic { width: 1.1em; height: 1.1em; display: inline-block;
  vertical-align: -.18em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  border: 0; }

/* ============ TOP NAV (tier 1) ============ */
.topnav { background: var(--nav-1); color: #fff; position: sticky;
  top: 0; z-index: 60; }
.topnav-in { max-width: 1500px; margin: 0 auto; display: flex;
  align-items: center; gap: 8px; padding: 10px 16px; flex-wrap: wrap; }
.tn-logo { font-family: var(--font-heading), sans-serif; font-weight: 800;
  font-size: 1.35rem; letter-spacing: -.03em; color: #fff; padding: 6px 8px;
  border: 1px solid transparent; border-radius: 4px; white-space: nowrap; }
.tn-logo:hover { border-color: #fff; }
.tn-logo .ic { color: var(--btn-cart); width: 1.4em; height: 1.4em; }
.tn-deliver { display: flex; align-items: center; gap: 6px; padding: 8px
  10px; border: 1px solid transparent; border-radius: 4px; font-size: 12px;
  line-height: 1.25; color: #fff; }
.tn-deliver:hover { border-color: #fff; }
.tn-deliver .ic { width: 1.5em; height: 1.5em; }
.tn-deliver b { display: block; font-size: 13px; font-weight: 700; }
.tn-search { flex: 1 1 320px; display: flex; min-width: 240px;
  max-width: none; }
.tn-search select { border: 0; background: var(--nav-hilite); color: #fff;
  padding: 0 8px; font-size: 12px; border-radius: 5px 0 0 5px;
  font-family: inherit; }
.tn-search input { flex: 1; border: 0; padding: 10px 12px; font-size: 15px;
  font-family: inherit; min-width: 60px; color: #0F1111; }
.tn-search input:focus { outline: none; }
.tn-search:focus-within { box-shadow: 0 0 0 3px #F90; border-radius: 6px; }
.tn-search button { border: 0; background: #F90; color: #131921; padding:
  0 16px; border-radius: 0 5px 5px 0; display: inline-flex; align-items:
  center; transition: background var(--t); }
.tn-search button:hover { background: #F7C99B; }
.tn-act { display: flex; align-items: center; gap: 2px; }
.tn-act > a, .tn-act > div { display: flex; flex-direction: column;
  justify-content: center; padding: 8px 10px; border: 1px solid
  transparent; border-radius: 4px; line-height: 1.2; color: #fff;
  font-size: 12px; }
.tn-act > a:hover, .tn-act > div:hover { border-color: #fff; }
.tn-act select { background: var(--nav-1); color: #fff; border: 1px
  solid #3A4553; border-radius: 4px; padding: 6px 8px; font-size: 12px;
  font-family: inherit; margin-top: 4px; cursor: pointer; }
.tn-act select:hover { border-color: #fff; }
.tn-act small { font-size: 11px; color: #ccc; }
.tn-act b { font-size: 13px; font-weight: 700; }
.tn-cart { position: relative; display: flex; align-items: flex-end;
  gap: 6px; padding: 8px 10px !important; }
.tn-cart .ic { width: 1.9em; height: 1.9em; }
.tn-cart b { font-size: 15px; }
.tn-cart .n { position: absolute; top: 2px; left: 22px; color:
  var(--btn-buy); font-weight: 800; font-size: 15px; }

/* ============ SUB NAV (tier 2) ============ */
.subnav { background: var(--nav-2); color: #fff; position: sticky;
  top: 0; z-index: 55; }
@media (min-width: 769px) { .subnav { top: 56px; } }
@media (max-width: 768px) {
  /* two sticky bars both pinned to top:0 would overlap on phones:
     let the subnav scroll away, keep only the top bar sticky */
  .subnav { position: static; }
  .filters { position: static !important; }
}
.subnav-in { max-width: 1500px; margin: 0 auto; display: flex;
  align-items: center; gap: 2px; padding: 6px 12px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a, .subnav summary { color: #fff; font-size: 13.5px; padding: 8px
  11px; border: 1px solid transparent; border-radius: 3px; white-space:
  nowrap; display: inline-flex; align-items: center; gap: 6px;
  list-style: none; cursor: pointer; }
.subnav a:hover, .subnav summary:hover { border-color: #fff; }
.subnav details { position: relative; }
.subnav .mega { position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; color: #0F1111; border-radius: 8px; box-shadow:
  var(--shadow-2); padding: 14px 18px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 6px
  22px; min-width: min(720px, 92vw); z-index: 70; }
.subnav .mega a { color: #0F1111; padding: 6px 4px; font-size: 13.5px;
  white-space: normal; }
.subnav .mega a:hover { border: 0; color: var(--link); text-decoration:
  underline; }
.subnav .spacer { flex: 1; }
.lang-mini { display: flex; gap: 4px; }
.lang-mini a { padding: 4px 7px; font-size: 11px; font-weight: 700;
  border: 1px solid #555; border-radius: 4px; }
.lang-mini a.on { background: #fff; color: var(--nav-2); border-color:
  #fff; }

/* ============ MAIN / PAGE ============ */
.main { max-width: 1500px; margin: 0 auto; padding: 14px 16px 48px; }
@media (max-width: 767px) { .main { padding: 10px 10px 40px; } }
.page-card { background: #fff; border-radius: 8px; padding: 18px 20px;
  box-shadow: var(--shadow-1); }
.crumbs { font-size: 12px; color: #565959; margin: 2px 0 8px; display:
  flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--link); }
.crumbs a:hover { color: var(--link-hover); text-decoration: underline; }

/* ============ CATEGORY LAYOUT: sidebar + results ============ */
.cat-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 16px;
  align-items: start; }
@media (max-width: 900px) { .cat-wrap { grid-template-columns: 1fr; } }
.filters { background: #fff; border-radius: 8px; padding: 16px 18px;
  box-shadow: var(--shadow-1); position: sticky; top: 104px; }
@media (max-width: 900px) { .filters { position: static; } }
.filters h3 { font-size: 14.5px; margin: 16px 0 8px; padding-top: 12px;
  border-top: 1px solid #E7E7E7; }
.filters h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.filters .dept a { display: block; padding: 4px 0; font-size: 13.5px;
  color: #0F1111; line-height: 1.35; }
.filters .dept a:hover { color: var(--link-hover); text-decoration:
  underline; }
.filters .dept a.on { font-weight: 700; color: var(--link); }
.filters label { display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; padding: 3px 0; }
.filters .price-row { display: flex; gap: 6px; align-items: center; }
.filters .price-row input { width: 100%; padding: 6px 8px; border: 1px
  solid #888C8C; border-radius: 6px; font-size: 13px; font-family:
  inherit; }
.filters .stars-f a { display: flex; gap: 3px; align-items: center;
  padding: 3px 0; font-size: 13px; }
.filters .go { width: 100%; margin-top: 10px; background: #F0F2F2;
  border: 1px solid #D5D9D9; border-radius: 8px; box-shadow: var(--shadow-1);
  padding: 8px; font-size: 13px; font-family: inherit; }
.filters .go:hover { background: #E3E6E6; }

.results-bar { background: #fff; border-radius: 8px 8px 0 0; padding: 10px
  16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid #E7E7E7; box-shadow: var(--shadow-1); }
.results-bar .cnt { font-size: 13.5px; color: #565959; }
.results-bar .cnt b { color: #0F1111; }
.sortsel { margin-left: auto; display: flex; gap: 8px; align-items:
  center; font-size: 13px; }
.sortsel select { padding: 6px 8px; border-radius: 8px; border: 1px solid
  #D5D9D9; box-shadow: var(--shadow-1); background: #F0F2F2;
  font-family: inherit; font-size: 13px; color: #0F1111; }
.results-body { background: #fff; border-radius: 0 0 8px 8px; padding:
  14px 16px; box-shadow: var(--shadow-1); }

/* ============ PRODUCT GRID / CARDS (dense) ============ */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(5, 1fr); }
@media (min-width: 1100px) and (max-width: 1409px) { .grid {
  grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) and (max-width: 1099px) { .grid {
  grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 899px) { .grid {
  grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .grid { grid-template-columns: repeat(2, 1fr);
  gap: 10px; } }

.card { background: #fff; display: flex; flex-direction: column;
  gap: 7px; padding: 10px; border-radius: 8px; border: 1px solid #E7E7E7;
  position: relative; transition: box-shadow var(--t); }
.card:hover { box-shadow: var(--shadow-2); }
.card-img { aspect-ratio: 1; display: flex; align-items: center;
  justify-content: center; background: #F7F8F8; border-radius: 6px;
  overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain;
  padding: 8px; transition: transform 250ms ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-noimg { color: #A7ABAB; display: flex; flex-direction: column;
  align-items: center; gap: 4px; font-size: 11px; }
.card-off { position: absolute; top: 10px; left: 10px; background:
  var(--price-deal); color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; z-index: 2; }
.card-title { font-size: 13px; line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: #0F1111; min-height: 2.8em; }
.card-title:hover { color: #C7511F; }
.card-meta { display: flex; align-items: center; gap: 5px; font-size:
  12px; color: #565959; flex-wrap: wrap; }
.card-meta .rc { color: #007185; cursor: pointer; }
.stars { color: var(--star); display: inline-flex; gap: 1px;
  letter-spacing: -1px; }
.card-price { font-size: 16.5px; font-weight: 700; color: #0F1111;
  line-height: 1.25; font-variant-numeric: tabular-nums; }
.card-price .cur { font-size: 12px; vertical-align: top; }
.card-price s { color: #565959; font-weight: 400; font-size: 12px;
  margin-left: 5px; }
.card-price .off { display: block; color: var(--price-deal); font-size:
  12px; font-weight: 700; }
.card-ship { font-size: 11.5px; color: #565959; }
.card-ship b { color: var(--ok); font-weight: 600; }

/* ============ BUTTONS (marketplace standard: rounded-rect CTA) ==== */
.btn { display: inline-flex; align-items: center; justify-content:
  center; gap: 8px; padding: 10px 18px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  background: #F0F2F2; color: #0F1111; border: 1px solid #D5D9D9;
  box-shadow: 0 2px 5px rgb(15 17 17 / .10); cursor: pointer;
  text-align: center; line-height: 1.2; user-select: none;
  transition: background var(--t), transform 100ms ease,
  box-shadow var(--t); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:hover { background: #E3E6E6; }
.btn-cart { background: var(--btn-cart); border-color: #FCD200; }
.btn-cart:hover { background: var(--btn-cart-hover); }
.btn-buy { background: var(--btn-buy); border-color: #FF8F00; }
.btn-buy:hover { background: var(--btn-buy-hover); }
.btn-primary { background: var(--nav-hilite); color: #fff; border-color:
  var(--nav-hilite); }
.btn-primary:hover { background: #131921; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; padding: 12px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.chip { background: #fff; border: 1px solid #D5D9D9; border-radius:
  999px; padding: 6px 14px; font-size: 13px; color: #0F1111; box-shadow:
  var(--shadow-1); }
.chip:hover { background: #F0F2F2; }
.chip.on { background: var(--nav-hilite); color: #fff; border-color:
  var(--nav-hilite); }

/* ============ HOME: tiles + rails ============ */
.tile-row { display: grid; grid-template-columns: repeat(4, 1fr); gap:
  14px; margin-bottom: 14px; }
@media (max-width: 1099px) { .tile-row { grid-template-columns:
  repeat(2, 1fr); } }
.tile { background: #fff; border-radius: 8px; padding: 16px 18px;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  gap: 10px; min-height: 150px; transition: box-shadow var(--t); }
.tile:hover { box-shadow: var(--shadow-2); }
.tile h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.tile .t-links { display: flex; flex-direction: column; gap: 4px;
  flex: 1; }
.tile .t-links a { font-size: 12.5px; color: #0F1111; line-height: 1.5; }
.tile .t-links a:hover { color: var(--link-hover); text-decoration:
  underline; }
.tile .t-cta { font-size: 12.5px; color: var(--link); }
.tile .t-cta:hover { color: var(--link-hover); text-decoration:
  underline; }
.tile .ic-hero { width: 2.1em; height: 2.1em; color: var(--nav-hilite); }
.rail { margin: 18px 0; }
.rail-h { display: flex; align-items: baseline; gap: 14px; margin: 0 0
  10px; }
.rail-h h2 { font-size: 20px; margin: 0; }
.rail-h a { font-size: 13px; color: var(--link); }
.rail-h a:hover { color: var(--link-hover); text-decoration: underline; }
.rail-box { background: #fff; border-radius: 8px; padding: 14px 16px;
  box-shadow: var(--shadow-1); }
.deal-strip { background: #fff; border-radius: 8px; padding: 16px 18px;
  box-shadow: var(--shadow-1); display: flex; align-items: center; gap:
  18px; flex-wrap: wrap; margin-bottom: 14px; border-left: 4px solid
  var(--price-deal); }
.deal-strip .ic { width: 2em; height: 2em; color: var(--price-deal); }
.deal-strip h2 { margin: 0; font-size: 18px; }
.deal-strip .ends { margin-left: auto; color: var(--price-deal);
  font-weight: 700; font-size: 13px; font-variant-numeric:
  tabular-nums; }

/* PDP image gallery thumbs */
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 52px; height: 52px; border: 1.5px solid
  #D5D9D9; border-radius: 8px; background: #fff; cursor: pointer;
  overflow: hidden; padding: 2px; transition: border-color var(--t),
  box-shadow var(--t); }
.thumbs button:hover, .thumbs button.on { border-color: #E77600;
  box-shadow: 0 0 0 2px rgb(228 121 17 / .3); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* skip link (keyboard users) */
.skip { position: absolute; left: -9999px; top: 0; background:
  var(--btn-cart); color: #0F1111; padding: 10px 16px; border-radius:
  0 0 8px 0; font-weight: 700; z-index: 100; }
.skip:focus { left: 0; }

::selection { background: #F90; color: #131921; }
html { -webkit-tap-highlight-color: transparent; }

/* sticky cart summary */
@media (min-width: 901px) { .cart-grid .sum, .co-grid .sum {
  position: sticky; top: 104px; } }

/* ============ PDP: 3-zone ============ */
.pdp-wrap { display: grid; grid-template-columns: minmax(300px, 42%)
  1fr 300px; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .pdp-wrap { grid-template-columns: 1fr
  320px; } .pdp-img-zone { grid-column: 1 / -1; } }
@media (max-width: 767px) { .pdp-wrap { grid-template-columns: 1fr; } }
.pdp-img-zone { background: #fff; border-radius: 8px; padding: 18px;
  box-shadow: var(--shadow-1); }
.pdp-img-zone .main-img { aspect-ratio: 1; display: flex; align-items:
  center; justify-content: center; }
.pdp-img-zone img { max-height: 100%; object-fit: contain; }
.pdp-info { background: #fff; border-radius: 8px; padding: 18px 22px;
  box-shadow: var(--shadow-1); }
.pdp-info h1 { font-size: 21px; margin: 0 0 6px; line-height: 1.3;
  font-weight: 500; }
.pdp-byline { font-size: 13px; color: #565959; margin-bottom: 8px; }
.pdp-byline a { color: var(--link); }
.pdp-rating { display: flex; align-items: center; gap: 8px; font-size:
  13px; padding-bottom: 10px; border-bottom: 1px solid #E7E7E7;
  margin-bottom: 10px; flex-wrap: wrap; }
.pdp-rating a { color: var(--link); }
.pdp-rating a:hover { color: var(--link-hover); }
.pdp-price-row { margin: 6px 0 4px; }
.pdp-price { font-size: 26px; font-weight: 500; color: var(--price);
  line-height: 1.15; }
.pdp-price .cur { font-size: 13px; vertical-align: top; }
.pdp-price s { font-size: 14px; color: #565959; margin-left: 8px;
  font-weight: 400; }
.pdp-off-badge { color: var(--price-deal); font-size: 13px; font-weight:
  700; }
.buybox { background: #fff; border-radius: 8px; padding: 16px 18px;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  gap: 8px; position: sticky; top: 104px; }
@media (max-width: 767px) { .buybox { position: static; } }
.buybox .bb-price { font-size: 24px; font-weight: 700; }
.buybox .bb-deliver { font-size: 13px; line-height: 1.45; }
.buybox .bb-deliver b { color: var(--ok); }
.buybox .bb-stock { font-size: 16px; color: var(--ok); font-weight: 700; }
.buybox .qty { width: 84px; padding: 8px; border: 1px solid #D5D9D9;
  border-radius: 8px; box-shadow: var(--shadow-1); background: #F0F2F2;
  font-family: inherit; }
.buybox .secure { display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--link); justify-content: center; }
.buybox .bb-ship-note { font-size: 12px; color: #565959;
  border-top: 1px solid #E7E7E7; padding-top: 8px; margin-top: 2px; }

.spec-list { background: #fff; border-radius: 8px; padding: 18px 22px;
  margin: 16px 0; box-shadow: var(--shadow-1); }
.spec-list h2 { font-size: 17px; margin: 0 0 8px; }
.spec-list ul { padding-left: 20px; margin: 0; }
.spec-list li { margin: 5px 0; font-size: 13.5px; line-height: 1.5; }
.tbl { width: 100%; border-collapse: collapse; background: #fff;
  font-size: 13px; }
.tbl th, .tbl td { padding: 8px 12px; border-bottom: 1px solid #E7E7E7;
  text-align: left; vertical-align: top; }
.tbl th { background: #F0F2F2; font-size: 12.5px; white-space: nowrap;
  width: 1%; }

/* ============ CART / CHECKOUT ============ */
.cart-head { display: flex; align-items: flex-end; gap: 16px; padding:
  12px 2px 8px; }
.cart-head h1 { font-size: 24px; margin: 0; font-weight: 500; }
.cart-head .sub { font-size: 13px; color: #565959; margin-left: auto; }
.cart-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px;
  align-items: start; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-items { background: #fff; border-radius: 8px; padding: 6px 20px
  16px; box-shadow: var(--shadow-1); }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto;
  gap: 14px; padding: 16px 0; border-bottom: 1px solid #E7E7E7; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 88px; height: 88px; object-fit: contain; }
.cart-item .ci-title { font-size: 15px; line-height: 1.35; }
.cart-item .ci-title:hover { color: var(--link-hover); }
.cart-item .ci-meta { font-size: 12.5px; color: #565959; margin-top: 3px; }
.cart-item .ci-stock { color: var(--ok); font-size: 12.5px; }
.cart-item .ci-actions { display: flex; gap: 14px; margin-top: 6px;
  font-size: 13px; align-items: center; }
.cart-item .qty { padding: 5px 8px; border: 1px solid #D5D9D9;
  border-radius: 8px; box-shadow: var(--shadow-1); background: #F0F2F2;
  font-family: inherit; }
.cart-item .ci-price { font-size: 17px; font-weight: 700;
  text-align: right; }
.sum { background: #fff; border-radius: 8px; padding: 18px;
  box-shadow: var(--shadow-1); }
.sum h2 { font-size: 17px; margin: 0 0 6px; }
.sum .row { display: flex; justify-content: space-between; font-size:
  13.5px; margin: 6px 0; }
.sum .row.total { font-size: 17px; font-weight: 700; color:
  var(--price-deal); border-top: 1px solid #E7E7E7; padding-top: 8px;
  margin-top: 8px; }
.co-grid { display: grid; grid-template-columns: 1fr 320px; gap: 16px;
  align-items: start; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } }
.co-sec { background: #fff; border-radius: 8px; padding: 18px 22px;
  box-shadow: var(--shadow-1); margin-bottom: 14px; }
.co-sec h2 { font-size: 17px; margin: 0 0 12px; }

/* ============ FORMS ============ */
.form { display: grid; gap: 12px; }
.form label { font-size: 13px; font-weight: 700; display: block;
  margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; padding: 9px
  12px; border: 1px solid #888C8C; border-radius: 8px; font-size: 14px;
  font-family: inherit; box-shadow: 0 1px 2px rgb(15 17 17 / .05)
  inset; }
.form input:focus, .form select:focus, .form textarea:focus { border-color:
  #E77600; box-shadow: 0 0 0 3px rgb(228 121 17 / .25); outline: none; }
.alert { background: #FFF8E5; border: 1px solid #F0C163; padding: 10px
  14px; border-radius: 8px; margin: 10px 0; font-size: 13.5px; }

/* ============ PAGER ============ */
.pager { display: flex; justify-content: center; align-items: center;
  gap: 8px; margin: 22px 0 6px; }
.pager a, .pager span { min-width: 38px; height: 38px; display:
  inline-flex; align-items: center; justify-content: center; border:
  1px solid #D5D9D9; border-radius: 8px; background: #fff; font-size:
  14px; box-shadow: var(--shadow-1); padding: 0 12px; }
.pager a:hover { background: #F0F2F2; }
.pager .pg-cur { background: #fff; font-weight: 700; border-color:
  #0F1111; }
.pg-404 { text-align: center; padding: 70px 0; }
.pg-404 h1 { font-size: 3.4rem; margin: 0; }

/* ============ FOOTER (marketplace) ============ */
.ft-top { background: var(--nav-hilite); color: #fff; text-align:
  center; padding: 14px; margin-top: 26px; }
.ft-top a { color: #fff; font-size: 13px; display: inline-flex;
  align-items: center; gap: 6px; }
.ft-top a:hover { color: var(--btn-cart); }
.ft-cols { background: var(--nav-2); color: #DDD; padding: 36px 16px
  30px; }
.ft-cols-in { max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 800px) { .ft-cols-in { grid-template-columns:
  repeat(2, 1fr); } }
.ft-cols h4 { color: #fff; font-size: 14.5px; margin: 0 0 10px;
  font-weight: 700; }
.ft-cols a { display: block; color: #DDD; font-size: 12.5px; padding:
  4px 0; }
.ft-cols a:hover { text-decoration: underline; }
.ft-bot { background: var(--nav-1); color: #999; text-align: center;
  padding: 18px 12px 26px; font-size: 12px; }
.ft-bot .links a { color: #DDD; font-size: 12px; margin: 0 7px; }
.ft-bot .links a:hover { text-decoration: underline; }

/* ============ misc / shared with saas ============ */
.hero { background: #fff; border-radius: 8px; padding: clamp(28px, 5vw,
  48px) clamp(18px, 4vw, 42px); text-align: center; margin: 4px 0 14px;
  box-shadow: var(--shadow-1); }
.hero h1 { margin: 0 0 10px; font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.hero p { margin: 0 auto; color: #565959; max-width: 620px; }
.hero .btn-row { margin-top: 18px; display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap; }
.feat-grid { display: grid; gap: 14px; grid-template-columns:
  repeat(auto-fit, minmax(220px, 1fr)); margin: 14px 0; }
.feat { background: #fff; border-radius: 8px; padding: 18px; display:
  flex; flex-direction: column; gap: 7px; box-shadow: var(--shadow-1);
  transition: box-shadow var(--t); }
.feat:hover { box-shadow: var(--shadow-2); }
.feat .ic { width: 1.9em; height: 1.9em; color: var(--color-primary,
  var(--nav-hilite)); }
.feat h3 { margin: 2px 0 0; font-size: 15px; }
.feat p { margin: 0; color: #565959; font-size: 13px; }
.trust { display: grid; gap: 12px; grid-template-columns:
  repeat(auto-fit, minmax(170px, 1fr)); background: #fff;
  border-radius: 8px; padding: 14px 16px; margin: 0 0 14px;
  box-shadow: var(--shadow-1); }
.trust div { display: flex; align-items: center; gap: 9px; font-size:
  13px; }
.trust .ic { color: var(--nav-hilite); width: 1.5em; height: 1.5em; }
.price-card { background: #fff; border: 1.5px solid #E7E7E7;
  border-radius: 8px; padding: 22px; display: flex; flex-direction:
  column; gap: 8px; box-shadow: var(--shadow-1); }
.price-card.hot { border-color: var(--color-primary, var(--nav-hilite)); }
.price-card b { font-size: 1.8rem; font-family: var(--font-heading),
  sans-serif; }

/* ---------- admin ---------- */
.adm { display: grid; grid-template-columns: 216px 1fr; min-height:
  78vh; background: #fff; border-radius: 8px; box-shadow: var(--shadow-1);
  overflow: hidden; }
@media (max-width: 820px) { .adm { grid-template-columns: 1fr; } }
.adm-side { background: #0E1420; color: #CBD5E1; padding: 12px 0; }
.adm-side a { display: flex; align-items: center; gap: 9px; padding: 9px
  18px; color: #CBD5E1; font-size: 13.5px; transition: background
  var(--t); }
.adm-side a.on, .adm-side a:hover { background: #1A2332; color: #fff; }
.adm-main { padding: 20px 24px; }
.kpis { display: grid; gap: 12px; grid-template-columns:
  repeat(auto-fill, minmax(180px, 1fr)); }
.kpi { background: #fff; border: 1px solid #E7E7E7; border-radius: 8px;
  padding: 16px; }
.kpi b { display: block; font-size: 1.5rem; margin-top: 4px; font-family:
  var(--font-heading), sans-serif; }
.kpi .lbl { display: flex; align-items: center; gap: 7px; font-size:
  13px; color: #565959; }
.kpi .ic { color: var(--nav-hilite); }

/* ============ premium upgrades ============ */
/* top promo ribbon */
.promo-bar { background: linear-gradient(90deg, #232F3E, #37475A 50%,
  #232F3E); color: #F3A847; text-align: center; font-size: 12.5px;
  font-weight: 600; letter-spacing: .02em; padding: 7px 12px; }
.promo-bar a { color: #fff; text-decoration: underline; }

/* category tile with 2x2 image matrix (real product shots) */
.tile .t-grid { display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; }
.tile .t-grid a { aspect-ratio: 1; border-radius: 6px; overflow:
  hidden; background: #F7F8F8; display: flex; align-items: center;
  justify-content: center; }
.tile .t-grid img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 250ms ease; }
.tile:hover .t-grid img { transform: scale(1.06); }

/* deals carousel strip with real thumbs */
.deal-row { display: grid; grid-auto-flow: column; grid-auto-columns:
  168px; gap: 12px; overflow-x: auto; padding: 4px 2px 10px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; }
.deal-row .card { scroll-snap-align: start; border: 1px solid #E7E7E7; }
@media (max-width: 767px) { .deal-row { grid-auto-columns: 44%; } }

/* mobile bottom tab bar (marketplace standard) */
.mtabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: #fff; border-top: 1px solid #E7E7E7; display: none;
  grid-template-columns: repeat(4, 1fr); box-shadow: 0 -4px 14px
  rgb(15 17 17 / .08); padding-bottom: env(safe-area-inset-bottom); }
.mtabs a { display: flex; flex-direction: column; align-items:
  center; gap: 3px; font-size: 10.5px; color: #565959; padding: 8px 0
  7px; font-weight: 600; }
.mtabs a .ic { width: 1.5em; height: 1.5em; }
.mtabs a.on, .mtabs a:active { color: #C7511F; }
@media (max-width: 768px) { .mtabs { display: grid; }
  body { padding-bottom: 58px; } }

/* payment icons row in footer */
.pay-row { display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; margin-top: 10px; opacity: .9; }
.pay-row span { color: #9BA3AB; font: 700 11px/1.4 system-ui;
  border: 1px solid #4A5560; border-radius: 4px; padding: 4px 9px;
  letter-spacing: .04em; }
@media (max-width: 767px) {
  .chip { padding: 9px 16px; }
  .btn-sm { padding: 10px 16px; }
  .pager a, .pager span { min-width: 44px; height: 44px; }
  .subnav a, .subnav summary { padding: 10px 12px; }
  .tn-search select { display: none; }   /* full-width search on phone */
  .tn-deliver { display: none; }
}
