/* JTStores — editorial serif + marketplace sans (green growth / blue trust) */
:root {
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --brand-green-strong: #59D80C;
  --brand-lime-strong: #8FF000;

  --primary-blue: #1a6fcd;
  --primary-blue-deep: #0f4a9e;
  --accent-green-soft: #0f9d6e;
  --accent-teal-muted: #0d9488;
  --accent-gold: #c4a35a;
  --white-color: #ffffff;
  --dark-color: #0b1f3a;
  --background-color: #eef4fb;
  --border-color: #d7e2ef;

  --brand-gradient-strong: linear-gradient(180deg, #8FF000 0%, #59D80C 40%, #005DCC 100%);
  --brand-gradient-hairline: linear-gradient(90deg, #1a6fcd 0%, #0d9488 50%, #59D80C 100%);

  --surface-white: #ffffff;
  --text-heading: #0b1f3a;
  --muted: #5b6b7c;

  --bg-page: var(--background-color);
  --card-bg: var(--surface-white);
  --text: #1c2b3a;
  --border: var(--border-color);
  --link: var(--primary-blue-deep);
  --link-hover: #0f766e;
  --btn-bg: var(--primary-blue);
  --btn-color: var(--surface-white);
  --btn-hover-bg: var(--primary-blue-deep);
  --btn-hover-color: var(--surface-white);

  --header-shadow: 0 2px 14px rgba(11, 31, 58, 0.08);

  --page-gutter: clamp(14px, 2vw, 40px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(26, 111, 205, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 8%, rgba(13, 148, 136, 0.12), transparent 50%),
    linear-gradient(180deg, #dbeafe 0%, #e8f7f2 42%, #eef4fb 100%);
  background-attachment: fixed;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

body.page-home {
  background:
    radial-gradient(ellipse 75% 48% at 15% -5%, rgba(26, 111, 205, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 42% at 95% 20%, rgba(89, 216, 12, 0.12), transparent 50%),
    linear-gradient(180deg, #cfe2f8 0%, #dff5ec 38%, #eef4fb 100%);
  background-attachment: fixed;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ─── Sticky marketplace header — light chrome ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: var(--surface-white);
  box-shadow: var(--header-shadow);
  border-bottom: 1px solid var(--border);
  overflow-x: visible;
  overflow-y: visible;
}

.hdr-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  overflow: visible;
}

.hdr-main {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) minmax(200px, 2.25fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 8px 0;
  overflow: visible;
}

.brand-lockup {
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.brand-lockup:hover { opacity: 0.92; }

.brand-logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.hdr-loc-wrap {
  position: relative;
  min-width: 0;
}

.hdr-loc-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  min-width: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 4px 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hdr-loc-chip:hover {
  background: rgba(15,23,42,0.04);
  border-color: var(--border);
}

.hdr-loc-ico img {
  display: block;
  opacity: 0.82;
}

.hdr-loc-text small {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hdr-loc-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hdr-loc-caret img { display: block; opacity: 0.6; }

.hdr-loc-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 6000;
  width: 280px;
  max-width: calc(100vw - 24px);
  background: var(--surface-white, #fff);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15,23,42,0.18);
  padding: 14px;
}

.hdr-loc-pop-head {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.hdr-loc-addr {
  margin: 0 0 10px;
  padding: 9px 11px;
  background: rgba(15,23,42,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #475569;
}

.hdr-loc-geo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--brand, #2563eb);
  border-radius: 10px;
  background: rgba(37,99,235,0.06);
  color: var(--brand, #2563eb);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

.hdr-loc-geo:hover { background: rgba(37,99,235,0.12); }
.hdr-loc-geo:disabled { opacity: 0.6; cursor: default; }
.hdr-loc-geo-ico img { display: block; }

.hdr-loc-or {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.74rem;
  margin: 12px 0;
}

.hdr-loc-or::before,
.hdr-loc-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.hdr-loc-or span { padding: 0 10px; }

.hdr-loc-manual { display: flex; gap: 8px; }

.hdr-loc-pin {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 0.9rem;
}

.hdr-loc-apply {
  flex: 0 0 auto;
  border: none;
  border-radius: 9px;
  padding: 9px 16px;
  background: var(--brand, #2563eb);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

.hdr-loc-apply:hover { filter: brightness(0.95); }

.hdr-loc-msg {
  margin: 10px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
}

.hdr-loc-msg.is-ok { color: #15803d; }
.hdr-loc-msg.is-bad { color: #b91c1c; }

.hdr-search-slot {
  display: flex;
  align-items: stretch;
  background: var(--surface-white);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(15,23,42,0.04);
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  min-width: 0;
  margin: 0;
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  justify-self: stretch;
}

@media (min-width: 1400px) {
  .hdr-search-slot {
    max-width: none;
  }
}

.hdr-search-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 0 14px;
  background: #f8fafc;
}

.hdr-search-svg img {
  display: block;
  opacity: 0.7;
}

.hdr-search-input {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
  border: none !important;
  outline: none !important;
  padding: 12px 10px;
  font-size: 1rem;
  min-width: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hdr-search-go {
  background: var(--primary-blue);
  color: var(--surface-white) !important;
  border: none;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.92rem;
  white-space: nowrap;
}

.hdr-search-go:hover {
  background: var(--primary-blue-deep);
}

.hdr-utils {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
}

.hdr-util-chip {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 10px !important;
  border-radius: 10px;
  border: 1px solid transparent !important;
  color: #334155 !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  max-width: 110px;
  line-height: 1.25;
}

.hdr-util-chip:hover {
  background: #f8fafc;
  border-color: var(--border) !important;
  text-decoration: none !important;
}

.hdr-util-chip img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hdr-util-hide-sm span { white-space: normal; word-break: break-word; }

.hdr-util-accent {
  border-color: rgba(26,111,205,0.28) !important;
  background: #eff6ff;
  color: #1e40af !important;
}

/* Account dropdown — compact fixed/stacked panel (JS docks with position:fixed) */
.hdr-account-wrap {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  max-width: 152px;
  min-width: 0;
}

.hdr-account-wrap a,
.hdr-account-wrap a:hover {
  outline: none;
}

/* Kill global blue link styling inside the account UI */
.hdr-account-drop a.hdr-account-item,
.hdr-account-drop a.hdr-account-item:focus,
.hdr-account-drop a.hdr-account-item:visited {
  color: #212121 !important;
  text-decoration: none !important;
}

.hdr-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 6px 10px 6px 8px;
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #212121;
  white-space: normal;
  vertical-align: middle;
  text-align: left;
  max-width: 132px;
}

.hdr-account-trigger:hover {
  background: #f5f6fa;
}

.hdr-account-wrap.is-open .hdr-account-trigger {
  background: #f5f6fa;
  box-shadow: inset 0 0 0 1px #e8eaed;
}

.hdr-account-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.24;
  min-width: 0;
  flex: 1;
}

/* Guest trigger — bold “Login”, muted “New customer?” */
.hdr-account-wrap--guest .hdr-account-line1 {
  display: block;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #212121 !important;
  letter-spacing: 0;
}

.hdr-account-wrap--guest .hdr-account-line2 {
  display: block;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #757575 !important;
  margin-top: 1px;
}

/* Signed-in trigger — muted “Hello”, bold name/email */
.hdr-account-wrap--auth .hdr-account-line1 {
  display: block;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #878787 !important;
}

.hdr-account-wrap--auth .hdr-account-line2 {
  display: block;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #212121 !important;
  margin-top: 1px;
}

.hdr-account-trigger-ico,
.hdr-account-chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hdr-account-chev {
  align-self: center;
  transition: transform 0.18s ease;
}

.hdr-account-wrap.is-open .hdr-account-chev {
  transform: rotate(180deg);
}

.hdr-account-trigger-ico img,
.hdr-account-chev img {
  display: block;
}

.hdr-account-drop {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow-x: hidden;
  overflow-y: auto;
  text-align: left;
  position: absolute;
  z-index: 2000;
  right: 0;
  left: auto;
  top: calc(100% + 8px);
  width: 272px;
  max-width: min(272px, calc(100vw - 16px));
}

.hdr-account-drop[hidden] {
  display: none !important;
}

.hdr-account-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 0 10px;
  overflow: visible;
}

.hdr-account-drop a:hover {
  text-decoration: none !important;
}

.hdr-account-title {
  font-weight: 700;
  font-size: 15px;
  color: #212121;
  padding: 6px 16px 4px;
  margin: 0;
  letter-spacing: -0.01em;
}

.hdr-account-hint-top,
.hdr-account-hint {
  font-size: 12px;
  color: #878787;
  line-height: 1.4;
  margin: 0 16px 8px;
  padding: 0;
}

.hdr-account-heading-minor {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #878787;
  padding: 10px 16px 6px;
  margin: 0;
}

/* One item per row — descendant selectors (ASP.NET-safe; no inline link clusters) */
.hdr-account-panel .hdr-account-item {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 11px;
  justify-content: flex-start;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 16px !important;
  border-radius: 0;
  border: none;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.35;
  min-height: 44px;
  color: #212121 !important;
  text-align: left;
}

.hdr-account-panel a.hdr-account-item {
  cursor: pointer;
}

.hdr-account-panel span.hdr-account-item {
  cursor: default;
}

.hdr-account-panel a.hdr-account-item:hover,
.hdr-account-panel a.hdr-account-item:focus,
.hdr-account-panel a.hdr-account-item-logout:hover,
.hdr-account-panel a.hdr-account-item-logout:focus {
  background: #f5f6fa !important;
  color: #212121 !important;
  text-decoration: none !important;
}

.hdr-account-item--hi {
  font-weight: 500 !important;
}

.hdr-account-item--hi:hover {
  background: #f5f6fa !important;
}

.hdr-account-item--muted:not(a) {
  cursor: default;
  color: #878787 !important;
  font-weight: 400 !important;
}

.hdr-account-item--muted:not(a) .hdr-account-label {
  color: #878787;
}

.hdr-account-item--muted:not(a):hover {
  background: transparent !important;
}

a.hdr-account-item--muted {
  color: #212121 !important;
  font-weight: 400 !important;
}

a.hdr-account-item--muted:hover {
  background: #f5f6fa !important;
  color: #212121 !important;
}

.hdr-account-coming {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1;
}

.hdr-account-item-logout::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url('icons/ico-logout.svg') center / contain no-repeat;
}

.hdr-account-ico {
  flex-shrink: 0;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdr-account-ico img {
  display: block;
  opacity: 0.88;
}

.hdr-account-label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.hdr-account-sep {
  height: 1px;
  margin: 6px 0;
  padding: 0;
  border: none;
  background: #f0f0f0;
  flex-shrink: 0;
}

/* Account.aspx profile */
.account-panel .account-welcome { margin-top: 0; }
.account-meta { margin: 8px 0; color: var(--text); }
.account-label { display: inline-block; min-width: 64px; color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.account-hint { font-size: 0.88rem; color: var(--muted); max-width: 560px; }

.hdr-logout-btn {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #475569 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  cursor: pointer;
  font-weight: 600;
}

.hdr-logout-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue-deep) !important;
}

/* Role shortcuts */
.hdr-role-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hdr-role-strip.seller {
  background: linear-gradient(90deg, #f0fdf4, #f8fafc);
}

.hdr-role-strip.mod {
  background: #f8fafc;
}

.hdr-role-strip.admin {
  background: #fdf8f8;
}

.hdr-role-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hdr-role-title {
  font-weight: 800;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 6px;
}

a.hdr-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  background: var(--surface-white) !important;
  color: #334155 !important;
  border: 1px solid var(--border) !important;
}

a.hdr-role-pill:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: var(--primary-blue-deep) !important;
}

/* Categories — fills header width on desktop; colored icon wells */
.hdr-categories {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 72%, #f0f5fa 100%);
  border-bottom: 1px solid var(--border);
}

.hdr-categories-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  padding: 10px 0 12px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.hdr-categories-track::-webkit-scrollbar { height: 4px; }
.hdr-categories-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.hdr-cat-tile {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 6px 4px 8px;
  border-radius: 14px;
  color: #334155 !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.hdr-cat-tile:hover {
  background: rgba(255, 255, 255, 0.85);
}

.hdr-cat-tile.is-active {
  background: rgba(239, 246, 255, 0.95);
  color: var(--primary-blue-deep) !important;
  box-shadow: inset 0 -3px 0 var(--primary-blue);
  border-radius: 14px 14px 0 0;
}

.hdr-cat-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 5px;
  border-radius: 999px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.hdr-cat-tile:hover .hdr-cat-ico {
  transform: translateY(-1px);
}

.hdr-cat-ico img {
  display: block;
  max-height: 26px;
  width: auto;
}

.hdr-cat-tile.is-active .hdr-cat-ico {
  box-shadow: 0 0 0 2px var(--primary-blue), 0 6px 14px rgba(26, 111, 205, 0.12);
}

/* Pastel wells — soft marketplace color */
.cat-hue-0 .hdr-cat-ico { background: linear-gradient(160deg, #eef4ff, #e0edff); border: 1px solid #c7d9fc; box-shadow: 0 5px 12px rgba(37, 99, 235, 0.08); }
.cat-hue-1 .hdr-cat-ico { background: linear-gradient(160deg, #ecfdf8, #d7fbea); border: 1px solid #a9f0cf; box-shadow: 0 5px 12px rgba(16, 185, 129, 0.08); }
.cat-hue-2 .hdr-cat-ico { background: linear-gradient(160deg, #fdf2f8, #fce8f5); border: 1px solid #fbcfe8; box-shadow: 0 5px 12px rgba(219, 39, 119, 0.07); }
.cat-hue-3 .hdr-cat-ico { background: linear-gradient(160deg, #fffbeb, #fef3c7); border: 1px solid #fcd34d; box-shadow: 0 5px 12px rgba(245, 158, 11, 0.1); }
.cat-hue-4 .hdr-cat-ico { background: linear-gradient(160deg, #ecfeff, #dbeafe); border: 1px solid #93c5fd; box-shadow: 0 5px 12px rgba(14, 165, 233, 0.1); }
.cat-hue-5 .hdr-cat-ico { background: linear-gradient(160deg, #fdf4ff, #fce7fc); border: 1px solid #e9d5ff; box-shadow: 0 5px 12px rgba(168, 85, 247, 0.08); }
.cat-hue-6 .hdr-cat-ico { background: linear-gradient(160deg, #eff6ff, #dbeafe); border: 1px solid #93c5fd; box-shadow: 0 5px 12px rgba(37, 99, 235, 0.1); }
.cat-hue-7 .hdr-cat-ico { background: linear-gradient(160deg, #f0fdfa, #ccfbf1); border: 1px solid #5eead4; box-shadow: 0 5px 12px rgba(20, 184, 166, 0.1); }
.cat-hue-8 .hdr-cat-ico { background: linear-gradient(160deg, #fff7ed, #fed7aa); border: 1px solid #fdba74; box-shadow: 0 5px 12px rgba(249, 115, 22, 0.08); }
.cat-hue-9 .hdr-cat-ico { background: linear-gradient(160deg, #fef2f2, #fecdd3); border: 1px solid #fca5a5; box-shadow: 0 5px 12px rgba(239, 68, 68, 0.07); }
.cat-hue-10 .hdr-cat-ico { background: linear-gradient(160deg, #eef2ff, #e0e7ff); border: 1px solid #c7d2fe; box-shadow: 0 5px 12px rgba(99, 102, 241, 0.09); }
.cat-hue-11 .hdr-cat-ico { background: linear-gradient(160deg, #fefce8, #fef08a54); border: 1px solid #fde047; box-shadow: 0 5px 12px rgba(234, 179, 8, 0.12); }
.cat-hue-12 .hdr-cat-ico { background: linear-gradient(160deg, #f7fee7, #d9f99d52); border: 1px solid #bef264; box-shadow: 0 5px 12px rgba(132, 204, 22, 0.1); }
.cat-hue-13 .hdr-cat-ico { background: linear-gradient(160deg, #fff7ed, #ffedd5); border: 1px solid #fdba74; box-shadow: 0 5px 12px rgba(234, 88, 12, 0.1); }

.cat-hue-special .hdr-cat-ico {
  background: linear-gradient(160deg, #f5f3ff, #ede9fe);
  border: 1px dashed #8b5cf6;
  box-shadow: 0 5px 14px rgba(139, 92, 246, 0.12);
}

.hdr-cat-special {
  border: 1px dashed rgba(139, 92, 246, 0.45);
  border-radius: 14px;
  background: rgba(245, 243, 255, 0.5);
}

@media (max-width: 1040px) {
  .hdr-categories-track {
    justify-content: flex-start;
  }
  .hdr-cat-tile {
    flex: 0 0 auto;
    min-width: 66px;
    max-width: 84px;
  }
}

/* Promo rails (Home) */
.promo-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.2vw, 20px);
  margin-bottom: 20px;
}

@media (min-width: 1600px) {
  .hdr-main {
    gap: 14px 28px;
    padding-left: 0;
    padding-right: 0;
  }

  .hdr-search-slot {
    max-width: none;
  }

  .promo-deck {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

.promo-card {
  border-radius: 14px;
  padding: 18px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  color: var(--text-heading) !important;
  text-decoration: none !important;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

.promo-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.promo-card p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.promo-a {
  border-left: 4px solid var(--primary-blue);
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 48%, #ffffff 100%);
}
.promo-b {
  border-left: 4px solid var(--accent-teal-muted);
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf9 52%, #ffffff 100%);
}
.promo-c {
  border-left: 4px solid #7c6fd6;
  background: linear-gradient(145deg, #ffffff 0%, #faf5ff 52%, #ffffff 100%);
}

/* Ghost product placeholders when catalog empty */
.product-card.product-card--ghost {
  opacity: 0.75;
}

.product-card--ghost .ghost-ico-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 164px;
  background: radial-gradient(circle at 50% 30%, rgba(0,183,255,0.06), transparent 55%), var(--background-color);
  border-radius: 10px;
  border: 1px dashed rgba(221,227,234,1);
}

.product-card--ghost .ghost-lines {
  width: 100%;
}

.product-card--ghost .ghost-lines span {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: rgba(221,227,234,1);
  margin: 10px 0 0;
}

.product-card--ghost .ghost-lines span:nth-child(1) { width: 75%; }
.product-card--ghost .ghost-lines span:nth-child(2) { width: 45%; opacity: .8; }

.empty-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0,183,255,0.06), transparent);
  border: 1px solid var(--border);
}

.empty-banner svg { flex-shrink: 0; }

.shell-main {
  min-height: 55vh;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px var(--page-gutter) 40px;
}

/* Hero — dark banner (seller CTA): high contrast + subtle brand glow */
.hero {
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(18px, 2.5vw, 32px) clamp(16px, 2.5vw, 28px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #0f172a;
  background: linear-gradient(135deg, #e3eefb 0%, #e8f8f2 55%, #f3f8ff 100%);
  box-shadow: 0 14px 36px rgba(15, 74, 158, 0.12);
  min-height: clamp(280px, 34vw, 400px);
}

.hero-media { display: none; }

.hero::before {
  content: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, #34d399, #38bdf8, #1a6fcd);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding: 0.85rem 0.95rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1.08fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  min-height: clamp(240px, 28vw, 360px);
}

.hero-showcase-img {
  width: 100%;
  max-width: min(500px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.45));
  transform: translateX(-10px);
  transform-origin: center right;
}

@media (min-width: 1200px) {
  .hero-showcase-img {
    max-width: min(540px, 100%);
    transform: translateX(-10px);
  }
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    max-width: 380px;
    min-height: 0;
    margin: 0 auto;
    order: -1;
    justify-content: center;
  }

  .hero-showcase-img {
    max-width: 100%;
    transform: none;
  }
}

@media (max-width: 520px) {
  .hero-visual {
    max-width: 300px;
  }
}

.hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  color: #0b1f3a;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero .hero-brand,
.hero .hero-tagline {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #0f766e;
  border: none;
  padding: 0;
}

.hero .hero-lead,
.hero p {
  margin: 0 0 0.75rem;
  max-width: none;
  line-height: 1.5;
  font-size: 0.98rem;
  color: #334155;
}

.hero p strong {
  color: #0b1220;
  font-weight: 700;
}

.hero-points {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-points li {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  color: #0f4a9e;
  background: linear-gradient(135deg, #e8f1fb, #e7f8f1);
  border: 1px solid #c5daf5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.hero .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a6fcd 0%, #0f4a9e 100%);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 10px 24px rgba(26, 111, 205, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.hero .hero-cta:hover {
  filter: brightness(1.06);
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(26, 111, 205, 0.34);
}

.hero .hero-cta.hero-cta--ghost {
  background: rgba(255, 255, 255, 0.88) !important;
  color: #0f4a9e !important;
  border: 1.5px solid rgba(26, 111, 205, 0.3) !important;
  box-shadow: 0 8px 18px rgba(15, 74, 158, 0.1);
}

.hero .hero-cta.hero-cta--ghost:hover {
  background: #ffffff !important;
  color: #0d3d8a !important;
  border-color: rgba(26, 111, 205, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 74, 158, 0.14);
}

.hero .hero-link-secondary {
  margin-left: 0;
  color: rgba(248, 250, 252, 0.95) !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(248, 250, 252, 0.45);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.hero .hero-link-secondary:hover {
  color: #ffffff !important;
  border-bottom-color: #ffffff;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 18px 0 8px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-teal-muted);
  font-weight: 700;
  color: var(--text-heading);
}

/* Product grid — more columns on wide screens */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.06);
}

.product-card .product-thumb {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--background-color);
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 10px;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-card h3 a {
  color: var(--primary-blue);
}

.product-card h3 a:hover {
  color: var(--accent-green-soft);
}

.product-card .meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.product-card .price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-top: auto;
}

.product-card .btn-row { margin-top: 10px; }
.product-card .btn-row a {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-color) !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none !important;
  font-weight: 600;
}

.product-card .btn-row a:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-color) !important;
}

.product-detail-photo-wrap { margin: 0 0 16px; }
.product-thumb-detail {
  max-width: 320px;
  height: auto;
  min-height: 200px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Panels */
.panel {
  background: var(--card-bg);
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.05);
}

.panel h1, .panel h2, .panel h3 { margin-top: 0; color: var(--text-heading); }

.msg { padding: 12px 14px; margin: 10px 0; border-radius: 8px; border: 1px solid var(--border-color); background: #fffbea; }
.err { background: #fef2f2; border-color: #f87171; color: #7f1d1d; }
.ok { background: #ecfdf5; border-color: #6ee7b7; color: #14532d; }

input[type=text], input[type=password], input[type=number], input[type=search], input[type=email],
select, textarea {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 420px;
  background: var(--white-color);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(0, 93, 204, 0.35);
  border-color: var(--primary-blue);
}

button, .btn {
  padding: 9px 18px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white-color);
  color: var(--dark-color);
  font-size: 0.9rem;
  font-weight: 600;
}

button:hover, .btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

button.btn-primary, .btn.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-color) !important;
  border-color: var(--primary-blue);
}

button.btn-primary:hover, .btn.btn-primary:hover {
  background: var(--btn-hover-bg);
  border-color: var(--primary-blue-deep);
  color: var(--btn-hover-color) !important;
}

table.grid {
  border-collapse: collapse;
  width: 100%;
  background: var(--card-bg);
  font-size: 0.9rem;
  border-radius: 8px;
  overflow: hidden;
}

table.grid th, table.grid td { border: 1px solid var(--border); padding: 10px; text-align: left; }
table.grid th { background: #eef2f7; color: var(--text-heading); font-weight: 700; }

/* Footer — deep navy / teal band */
.site-ft {
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(13, 148, 136, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(26, 111, 205, 0.35), transparent 50%),
    linear-gradient(165deg, #0b1f3a 0%, #0f3460 48%, #0a4a5c 100%);
  color: rgba(226, 232, 240, 0.88);
  margin-top: 28px;
  padding: 28px var(--page-gutter) 22px;
  font-size: 0.88rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #59D80C, #1a6fcd, #0d9488) 1;
}

.site-ft-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

@media (max-width: 960px) {
  .site-ft-inner {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
  .site-ft-brand { grid-column: 1 / -1; max-width: none; }
}

.site-ft-brand {
  max-width: 320px;
}

.site-ft-brand .ft-logo {
  height: 38px;
  width: auto;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.site-ft-brand p,
.site-ft-brand .ft-blurb {
  margin: 0;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.9);
  font-size: 0.86rem;
}

.site-ft-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

a.site-ft-contact-row {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: #e2e8f0 !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
}

a.site-ft-contact-row:hover {
  color: #a7f3d0 !important;
}

.site-ft-contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #6ee7b7;
  flex-shrink: 0;
}

.site-ft-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

a.site-ft-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 !important;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  text-decoration: none !important;
  box-shadow: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

a.site-ft-social-link:hover {
  transform: translateY(-2px);
  background: #fff;
  text-decoration: none !important;
}

a.site-ft-social-link--fb:hover { color: #1877f2; border-color: #1877f2; }
a.site-ft-social-link--ig:hover { color: #e4405f; border-color: #e4405f; }
a.site-ft-social-link--x:hover { color: #0f172a; border-color: #0f172a; }
a.site-ft-social-link--yt:hover { color: #ff0000; border-color: #ff0000; }

.site-ft-social-link img,
.site-ft-social-link svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* WhatsApp live chat — fixed bottom-right (single icon) */
.wa-live-chat {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 1500;
  display: block;
  width: 56px;
  height: 56px;
  text-decoration: none !important;
  color: #fff !important;
}

.wa-live-chat-fab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.wa-live-chat-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.45); opacity: 0; }
}

.wa-live-chat-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-live-chat-btn img,
.wa-live-chat-btn svg {
  display: block;
  width: 28px;
  height: 28px;
}

.wa-live-chat-label {
  position: absolute;
  right: calc(100% + 10px);
  bottom: 50%;
  transform: translateY(50%) translateX(8px);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #0f172a !important;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-live-chat:hover .wa-live-chat-label,
.wa-live-chat:focus-visible .wa-live-chat-label {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

.wa-live-chat:hover .wa-live-chat-btn,
.wa-live-chat:focus-visible .wa-live-chat-btn {
  transform: scale(1.06);
  box-shadow: 0 8px 26px rgba(18, 140, 126, 0.5);
}

@media (max-width: 640px) {
  .wa-live-chat,
  .wa-live-chat-fab,
  .wa-live-chat-btn {
    width: 52px;
    height: 52px;
  }

  .wa-live-chat-label { display: none; }
}

.hero-inner--wide {
  max-width: 920px;
}

.home-section-lead {
  color: var(--muted);
  margin: -6px 0 14px;
  font-size: 0.92rem;
}

/* Home — About, audiences, how it works */
.home-block {
  margin-top: clamp(22px, 3vw, 36px);
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.home-block-head {
  margin-bottom: 14px;
}

.home-block-head--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-block-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e40af;
  background: linear-gradient(135deg, #dbeafe, #ecfdf5);
  border: 1px solid rgba(26, 111, 205, 0.2);
  margin-bottom: 10px;
}

.home-block-badge--teal {
  color: #0f766e;
  background: linear-gradient(135deg, #ccfbf1, #ecfdf5);
  border-color: rgba(13, 148, 136, 0.25);
}

.home-block-badge--blue {
  color: #1d4ed8;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.home-block-title.section-title {
  margin-top: 8px;
  margin-bottom: 10px;
}

.home-block-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 720px;
}

.home-block-head--center .home-block-lead {
  margin-left: auto;
  margin-right: auto;
}

.home-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.home-about-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--border);
}

.home-about-ico {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}

.home-about-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
}

.home-about-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

.home-audience {
  background:
    linear-gradient(135deg, rgba(26, 111, 205, 0.04) 0%, rgba(13, 148, 136, 0.03) 100%),
    var(--card-bg);
}

.home-audience--seller {
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(26, 111, 205, 0.04) 100%),
    var(--card-bg);
}

.home-audience-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.home-audience-layout--reverse .home-audience-copy {
  order: 2;
}

.home-audience-layout--reverse .home-audience-visual {
  order: 1;
}

.home-checklist {
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.home-checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.9rem;
  color: #475569;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
}

.home-checklist li:last-child {
  border-bottom: none;
}

.home-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.home-audience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-visual-card {
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(168deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.home-visual-card strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 14px;
}

.home-visual-card--seller {
  background: linear-gradient(168deg, #14532d 0%, #0f766e 55%, #1e3a5f 100%);
}

.home-steps-mini {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-steps-mini li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.home-steps-mini li:last-child {
  border-bottom: none;
}

.home-steps-mini span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.home-feature-pills li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-visual-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.75);
}

.home-how {
  background: #fff;
}

.home-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.home-how-step {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc, #fff);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-how-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.home-how-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal-muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.home-how-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.home-how-step p {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
}

.home-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: 20px clamp(16px, 2vw, 24px);
  border-radius: 16px;
  background: linear-gradient(90deg, #eff6ff, #ecfdf5, #eff6ff);
  border: 1px solid rgba(26, 111, 205, 0.15);
}

.home-trust-item {
  text-align: center;
  padding: 8px;
}

.home-trust-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue-deep);
  margin-bottom: 4px;
}

.home-trust-item span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.home-trust-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 8px 0 0;
}

.home-cta-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}

.home-cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.home-cta-card--shop {
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.45), transparent 42%),
    linear-gradient(145deg, #1a6fcd 0%, #1557b8 48%, #0f4a9e 100%);
}

.home-cta-card--sell {
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.35), transparent 45%),
    linear-gradient(145deg, #0f766e 0%, #0d9488 45%, #115e59 100%);
}

.home-cta-card-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
  right: -40px;
  bottom: -40px;
  background: rgba(255, 255, 255, 0.25);
}

.home-cta-card--sell .home-cta-card-glow {
  right: auto;
  left: -40px;
  background: rgba(167, 243, 208, 0.35);
}

.home-cta-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.home-cta-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 12px;
}

.home-cta-card-badge--sell {
  background: rgba(255, 255, 255, 0.14);
}

.home-cta-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.home-cta-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
}

.home-cta-card-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 auto;
  padding: 0 0 18px;
  list-style: none;
}

.home-cta-card-points li {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
}

.home-cta-card-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.home-cta-card-btn--light {
  background: #fff;
  color: #1e40af !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.home-cta-card-btn--light:hover {
  background: #f8fafc;
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.home-cta-card-btn--sell {
  background: #fff;
  color: #0f766e !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.home-cta-card-btn--sell:hover {
  background: #ecfdf5;
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.home-cta-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26, 111, 205, 0.12);
  font-size: 1rem;
  transition: transform 0.15s ease;
}

.home-cta-card-btn--sell .home-cta-card-arrow {
  background: rgba(15, 118, 110, 0.12);
}

.home-cta-card-btn:hover .home-cta-card-arrow {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .home-cta-duo {
    grid-template-columns: 1fr;
  }

  .home-cta-card {
    min-height: 0;
  }

  .home-audience-layout,
  .home-audience-layout--reverse {
    grid-template-columns: 1fr;
  }

  .home-audience-layout--reverse .home-audience-copy,
  .home-audience-layout--reverse .home-audience-visual {
    order: unset;
  }
}

@media (max-width: 640px) {
  .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .hero-cta {
    width: 100%;
    text-align: center;
  }
}

.site-ft-brand .ft-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.site-ft h4 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.site-ft a { color: #93c5fd !important; display: block; margin: 5px 0; text-decoration: none !important; }
.site-ft a:hover { color: #a7f3d0 !important; }

.site-ft-bottom {
  text-align: center;
  padding-top: 16px;
  margin-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.8rem;
}

/* Strip */
.strip-info {
  background: linear-gradient(90deg, #eff6ff 0%, var(--surface-white) 52%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary-blue);
}

/* ─── Auth modal (login / signup popup) ─── */
body.auth-modal-open {
  overflow: hidden;
}

.auth-modal-root {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-modal-root[hidden] {
  display: none !important;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(2px);
}

.auth-modal-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  max-height: calc(100vh - 32px);
}

.auth-modal-x {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.auth-modal-x:hover {
  background: #f1f5f9;
}

.auth-modal-card {
  display: flex;
  min-height: 420px;
  max-height: calc(100vh - 32px);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.auth-modal-brand {
  flex: 0 0 42%;
  background: linear-gradient(165deg, #1a6fcd 0%, #1457b8 55%, #0f4a9e 100%);
  color: #fff;
  display: flex;
  align-items: stretch;
}

.auth-modal-brand-inner {
  padding: 36px 28px 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.auth-modal-brand-title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-modal-brand-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 260px;
}

.auth-modal-benefits {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.auth-modal-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.auth-benefit-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.auth-modal-form-side {
  flex: 1;
  min-width: 0;
  padding: 36px 32px 28px;
  overflow-y: auto;
  background: #fff;
}

.auth-panel[hidden] {
  display: none !important;
}

.auth-field {
  display: block;
  margin-bottom: 22px;
}

.auth-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #878787;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.auth-input,
.auth-select {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #c2c2c2;
  border-radius: 0;
  padding: 8px 0 10px;
  font-size: 0.98rem;
  color: #212121;
  background: transparent;
  outline: none;
  max-width: none;
}

.auth-input:focus,
.auth-select:focus {
  border-bottom-color: #1a6fcd;
  outline: none;
  box-shadow: none;
}

.auth-select {
  cursor: pointer;
  padding-right: 8px;
}

.auth-seller-fields {
  margin-bottom: 8px;
}

.auth-field-hint {
  font-style: normal;
  text-transform: none;
  font-weight: 500;
  color: #9aa3af;
  letter-spacing: 0;
}

.auth-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.auth-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--border, #d8dee9);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.auth-cat-chip input {
  margin: 0;
  accent-color: var(--brand, #2563eb);
}

.auth-cat-chip:hover {
  border-color: var(--brand, #2563eb);
}

.auth-cat-chip:has(input:checked) {
  background: rgba(37,99,235,0.10);
  border-color: var(--brand, #2563eb);
  color: var(--brand, #2563eb);
  font-weight: 600;
}

.auth-legal {
  font-size: 0.78rem;
  color: #878787;
  line-height: 1.45;
  margin: 0 0 18px;
}

.auth-legal a {
  color: #1a6fcd !important;
  text-decoration: none !important;
}

.auth-legal a:hover {
  text-decoration: underline !important;
}

.auth-err {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.85rem;
}

.auth-err[hidden] {
  display: none !important;
}

.auth-ok {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.85rem;
}

.auth-ok[hidden] {
  display: none !important;
}

.auth-submit {
  display: block;
  width: 100%;
  border: none;
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: #fb641b;
  box-shadow: 0 2px 6px rgba(251, 100, 27, 0.35);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.auth-submit:hover:not(:disabled) {
  background: #e85a17;
  box-shadow: 0 4px 10px rgba(251, 100, 27, 0.4);
}

.auth-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.auth-switch {
  text-align: center;
  margin: 22px 0 0;
  font-size: 0.88rem;
  color: #1a6fcd;
  font-weight: 600;
}

.auth-switch-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #1a6fcd;
  cursor: pointer;
  text-decoration: none;
}

.auth-switch-link:hover {
  text-decoration: underline;
}

.auth-page-hint {
  text-align: center;
  color: var(--muted);
  padding: 40px 16px;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .auth-modal-card {
    flex-direction: column;
    min-height: 0;
  }
  .auth-modal-brand {
    flex: 0 0 auto;
  }
  .auth-modal-brand-inner {
    padding: 24px 20px 16px;
  }
  .auth-modal-benefits {
    margin-top: 16px;
  }
  .auth-modal-form-side {
    padding: 24px 20px 20px;
  }
  .auth-modal-x {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 1024px) {
  .hdr-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 12px;
  }
  .brand-lockup { grid-column: 1; grid-row: 1; }
  .hdr-loc-wrap { grid-column: 2; grid-row: 1; min-width: 0; }
  .hdr-utils {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .hdr-search-slot {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }
  .promo-deck { grid-template-columns: 1fr; }
}

/* Account sheet + scrim */
.hdr-account-scrim {
  position: fixed;
  inset: 0;
  z-index: 6001;
  background: rgba(15, 23, 42, 0.48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.hdr-account-scrim[hidden] { display: none !important; }

.hdr-account-sheet-head {
  display: none;
}

body.hdr-account-sheet-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  :root { --page-gutter: 12px; }
  .shell-main, .site-ft { overflow-x: clip; }

  .hdr-shell { padding-left: 12px; padding-right: 12px; }
  .hdr-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 8px 10px;
    padding: 8px 0 6px;
    width: 100%;
    min-width: 0;
  }
  .brand-lockup {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .hdr-utils {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 2px;
    min-width: 0;
  }
  .hdr-loc-wrap {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100%;
    min-width: 0;
  }
  .hdr-search-slot {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .brand-logo-img { height: 32px; max-width: 118px; }

  .hdr-loc-chip {
    width: 100%;
    padding: 8px 10px;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .hdr-loc-text { min-width: 0; flex: 1; }
  .hdr-loc-text small { display: block; }
  .hdr-loc-text strong { max-width: none; font-size: 0.86rem; }
  .hdr-loc-caret { display: flex; }
  .hdr-loc-pop {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 108px;
    width: auto;
    max-width: none;
    z-index: 6100;
  }

  .hdr-search-slot { border-radius: 14px; }
  .hdr-search-svg { padding: 0 8px 0 10px; flex-shrink: 0; }
  .hdr-search-input { padding: 10px 6px; font-size: 0.88rem; }
  .hdr-search-go {
    flex: 0 0 auto;
    padding: 0 12px;
    font-size: 0.78rem;
    min-width: 0;
  }

  .hdr-util-hide-sm,
  .hdr-util-accent { display: none !important; }
  .hdr-account-wrap { max-width: none; flex: 0 0 auto; }
  .hdr-account-trigger {
    max-width: none;
    padding: 6px;
    gap: 0;
  }
  .hdr-account-lines,
  .hdr-account-chev { display: none !important; }
  .hdr-util-chip { max-width: none; padding: 6px !important; gap: 0 !important; }
  .hdr-util-chip img { width: 22px; height: 22px; }

  .hdr-account-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px 16px 8px;
    background: #fff;
    border-bottom: 1px solid #eef2f6;
  }
  .hdr-account-sheet-handle {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 99px;
    background: #d1d5db;
  }
  .hdr-account-sheet-head strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b1f3a;
    padding-top: 10px;
  }
  .hdr-account-sheet-x {
    margin-left: auto;
    margin-top: 8px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }
  .hdr-account-drop {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }
  .hdr-account-title { display: none; }
  .hdr-account-panel .hdr-account-item {
    min-height: 48px;
    padding: 14px 18px !important;
    font-size: 15px !important;
  }
  .hdr-account-coming {
    font-size: 10px;
    padding: 4px 8px;
  }

  .hdr-categories {
    position: relative;
  }
  .hdr-categories-track {
    justify-content: flex-start;
    gap: 6px;
    padding: 8px 20px 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .hdr-cat-tile {
    flex: 0 0 auto;
    min-width: 68px;
    max-width: 76px;
    font-size: 0.62rem !important;
    scroll-snap-align: start;
  }
  .hdr-cat-ico { width: 40px; height: 40px; }

  .shell-main { padding: 10px 12px 28px; }

  .home-page .home-hero.hero {
    padding: 16px 14px 18px;
    border-radius: 18px;
    margin-bottom: 1rem;
  }
  .home-page .home-hero h1 { font-size: 1.7rem; }
  .home-page .hero-lead { font-size: 0.92rem; max-width: none; }
  .home-page .hero-stats { gap: 8px; }
  .home-page .hero-stats li { padding: 0.55rem 0.55rem; }
  .home-page .hero-visual { max-width: 100%; }
  .hero-visual { max-width: 100%; }
  .hero .hero-actions { flex-direction: column; align-items: stretch; }
  .hero .hero-cta { width: 100%; max-width: none; text-align: center; }

  .home-picks-zone { padding: 1rem 0.85rem 1.1rem; border-radius: 16px; }
  .home-picks-head { flex-wrap: wrap; align-items: flex-start; }
  .home-page .home-product-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-page .product-card { border-radius: 14px; }

  .site-ft { padding: 22px 12px 88px; }
  .site-ft-inner { grid-template-columns: 1fr; gap: 18px; }
  .site-ft-brand { grid-column: auto; }

  .shop-page { padding: 4px 0 24px; }
  .shop-pdp-main-img { min-height: 240px; max-height: 300px; padding: 12px; }
  .shop-pdp-actions { flex-direction: column; }
  .shop-pdp-actions .shop-btn { min-width: 0; width: 100%; }
  .shop-pdp-tab-head { overflow-x: auto; }
  .shop-spec-table th { width: auto; }
  .home-bottom-cta-actions { width: 100%; }
  .home-bottom-cta-actions .shop-btn,
  .home-bottom-cta-actions a.shop-btn { width: 100%; justify-content: center; }

  .wa-live-chat { bottom: 14px; right: 12px; }

  .adm-columns { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hdr-util-hide-sm,
  br.hdr-hide { display: none !important; }
  .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .hero-cta {
    width: 100%;
    max-width: none;
  }
  .adm-columns { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
}

.auth-demo-hint {
  font-size: 0.72rem;
  color: #878787;
  margin: 0 0 12px;
  line-height: 1.45;
}

.auth-demo-hint strong {
  color: #475569;
  font-weight: 700;
}

.hdr-role-strip.seller-admin {
  background: linear-gradient(90deg, #eff6ff, #f8fafc);
  border-top-color: rgba(26, 111, 205, 0.2);
}

/* ─── Admin dashboards (UI preview) ─── */
.adm-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.adm-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.adm-hero h1 {
  margin: 8px 0 6px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-heading);
}

.adm-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.5;
}

.adm-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.adm-badge-super {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.adm-badge-store {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.adm-demo-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  padding: 6px 12px;
  border-radius: 999px;
}

.adm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.adm-stat {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.adm-stat-val {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
}

.adm-stat-lbl {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.adm-stat-warn { border-left: 4px solid #f59e0b; }
.adm-stat-info { border-left: 4px solid #3b82f6; }
.adm-stat-ok { border-left: 4px solid #10b981; }

.adm-sub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.adm-sub-active {
  background: linear-gradient(90deg, #ecfdf5, #fff);
  border-left: 4px solid #10b981;
}

.adm-sub-main strong {
  display: block;
  font-size: 1rem;
  color: var(--text-heading);
}

.adm-sub-main span {
  font-size: 0.85rem;
  color: var(--muted);
}

.adm-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.adm-quick-tile {
  display: block;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-white);
  text-decoration: none !important;
  color: inherit;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.adm-quick-tile:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(26, 111, 205, 0.1);
  text-decoration: none !important;
}

.adm-quick-tile strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.adm-quick-tile span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.adm-quick-tile--soon {
  opacity: 0.88;
  cursor: default;
}

.adm-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 7px;
  border-radius: 4px;
  font-style: normal;
}

.adm-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.adm-panel {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.adm-panel-wide {
  margin-bottom: 24px;
}

.adm-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.adm-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
}

.adm-panel-head a {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
}

.adm-muted {
  font-size: 0.78rem;
  color: var(--muted);
}

.adm-table { font-size: 0.85rem; }

.adm-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.adm-pill-warn { background: #fef3c7; color: #92400e; }
.adm-pill-info { background: #dbeafe; color: #1e40af; }
.adm-pill-ok { background: #d1fae5; color: #065f46; }

.adm-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.adm-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.adm-list li:last-child { border-bottom: none; }

.adm-list-main { font-weight: 600; color: var(--text-heading); }
.adm-list-meta { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }

.adm-trial-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.adm-trial-note strong {
  display: block;
  color: #1e40af;
  margin-bottom: 4px;
}

.adm-trial-note p {
  margin: 0;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .adm-quick { grid-template-columns: 1fr 1fr; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ Shop: cart, wishlist, product details ═══ */
.shop-page { width: 100%; max-width: none; margin: 0; padding: 8px 0 32px; }
.shop-breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.shop-breadcrumb a { color: var(--primary-blue); text-decoration: none; }
.shop-breadcrumb a:hover { text-decoration: underline; }
.shop-breadcrumb span { margin: 0 6px; }
.shop-page-head { margin-bottom: 20px; }
.shop-page-head h1 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 800; color: var(--text-heading); }
.shop-muted { color: var(--muted); font-size: 0.88rem; }
.shop-text-green { color: #0f9d6e; font-weight: 600; }
.shop-flash.ok { display: block; padding: 10px 14px; margin-bottom: 16px; border-radius: 8px; background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.shop-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 8px; font-size: 0.9rem; font-weight: 700; text-decoration: none !important; border: none; cursor: pointer; transition: background 0.15s, transform 0.1s; }
.shop-btn-primary { background: var(--btn-bg); color: var(--btn-color) !important; }
.shop-btn-primary:hover { background: var(--btn-hover-bg); color: var(--btn-hover-color) !important; }
.shop-btn-accent { background: #ff6f00; color: #fff !important; }
.shop-btn-accent:hover { background: #e65100; }
.shop-btn-ghost { background: #fff; color: var(--primary-blue) !important; border: 1px solid var(--border); }
.shop-btn-block { display: flex; width: 100%; margin-top: 8px; box-sizing: border-box; }
.shop-link { color: var(--primary-blue); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.shop-link:hover { text-decoration: underline; }
.shop-link-danger { color: #dc2626 !important; }

.shop-empty { text-align: center; padding: 48px 24px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; }
.shop-empty-ico { opacity: 0.45; margin-bottom: 12px; }
.shop-empty h2 { margin: 0 0 8px; font-size: 1.2rem; }
.shop-empty p { color: var(--muted); margin: 0 0 20px; }
.shop-empty .shop-btn { margin: 0 6px; }

/* Cart layout */
.shop-cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.shop-cart-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.shop-cart-card-head { display: none; }
.shop-cart-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.shop-cart-row:last-child { border-bottom: none; }
.shop-cart-product { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.shop-cart-thumb { width: 88px; height: 88px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--border); overflow: hidden; }
.shop-cart-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.shop-cart-title { display: block; font-weight: 600; color: var(--text-heading); text-decoration: none; font-size: 0.92rem; line-height: 1.35; margin-bottom: 4px; }
.shop-cart-title:hover { color: var(--primary-blue); }
.shop-cart-seller { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }
.shop-cart-remove { font-size: 0.78rem; }
.shop-cart-price { font-weight: 700; color: var(--text-heading); white-space: nowrap; }
.shop-cart-line-total { font-weight: 800; color: var(--primary-blue); white-space: nowrap; min-width: 72px; text-align: right; }
.shop-cart-qty-form { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.shop-qty-btn { width: 28px; height: 28px; border: 1px solid var(--border); background: #fff; border-radius: 6px; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--text-heading); }
.shop-qty-input { width: 44px; text-align: center; padding: 4px !important; max-width: 44px !important; border-radius: 6px !important; }
.shop-qty-update { font-size: 0.72rem; padding: 4px 8px; border: 1px solid var(--border); background: #f8fafc; border-radius: 6px; cursor: pointer; color: var(--primary-blue); font-weight: 600; }
.shop-cart-actions-row { display: flex; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; gap: 8px; }

.shop-summary { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 18px; position: sticky; top: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.shop-summary h2 { margin: 0 0 14px; font-size: 1rem; font-weight: 700; color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.04em; }
.shop-summary-lines { margin: 0 0 14px; }
.shop-summary-lines div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.88rem; }
.shop-summary-lines dt { margin: 0; color: var(--muted); font-weight: 500; }
.shop-summary-lines dd { margin: 0; font-weight: 600; color: var(--text-heading); }
.shop-summary-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 1rem; border-top: 2px solid var(--border); margin-bottom: 8px; }
.shop-summary-total strong { font-size: 1.15rem; color: var(--primary-blue); }
.shop-summary-note { font-size: 0.75rem; color: var(--muted); margin: 0 0 12px; line-height: 1.4; }

/* Wishlist */
.shop-wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.shop-wish-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: box-shadow 0.2s; }
.shop-wish-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.shop-wish-thumb { display: block; height: 180px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.shop-wish-thumb img { width: 120px; height: 120px; object-fit: contain; opacity: 0.9; }
.shop-wish-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.shop-wish-title { font-weight: 600; color: var(--text-heading); text-decoration: none; font-size: 0.92rem; line-height: 1.35; margin-bottom: 6px; display: block; }
.shop-wish-title:hover { color: var(--primary-blue); }
.shop-wish-price { font-size: 1.05rem; font-weight: 800; color: var(--primary-blue); margin: 8px 0; }
.shop-wish-price s { font-size: 0.82rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.shop-wish-price em { font-size: 0.78rem; color: #0f9d6e; font-style: normal; font-weight: 600; margin-left: 4px; }
.shop-wish-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.shop-wish-actions .shop-btn { flex: 1; min-width: 100px; font-size: 0.82rem; padding: 8px 12px; }

/* Product details (PDP) */
.shop-pdp { width: 100%; max-width: none; margin: 0; }
.shop-pdp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; align-items: start; }
.shop-pdp-gallery { position: sticky; top: 12px; }
.shop-pdp-main-img { border-radius: 12px; border: 1px solid var(--border); min-height: 360px; max-height: 420px; display: flex; align-items: center; justify-content: center; padding: 24px; margin-bottom: 0; overflow: hidden; background: #f8fafc; }
.shop-pdp-main-img img { display: block; width: auto; height: auto; max-width: 100%; max-height: 360px; object-fit: contain; }
.shop-pdp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.shop-pdp-thumb { width: 72px; height: 72px; flex: 0 0 72px; border: 2px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; padding: 0; overflow: hidden; line-height: 0; }
.shop-pdp-thumb.is-active { border-color: var(--primary-blue); box-shadow: 0 0 0 1px var(--primary-blue); }
.shop-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.shop-pdp-thumb span { display: block; width: 100%; height: 100%; border-radius: 6px; background: linear-gradient(145deg,#e2e8f0,#cbd5e1); }
.shop-pdp-title { margin: 0 0 10px; font-size: 1.45rem; font-weight: 700; line-height: 1.3; color: var(--text-heading); }
.shop-pdp-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.shop-pdp-rating-badge { background: #0f9d6e; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 0.82rem; font-weight: 700; }
.shop-pdp-badge-ok { font-size: 0.72rem; font-weight: 700; color: #1d4ed8; background: #dbeafe; padding: 3px 8px; border-radius: 999px; }
.shop-pdp-seller { font-size: 0.88rem; color: var(--muted); margin: 0 0 16px; }
.shop-pdp-price-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.shop-pdp-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.shop-pdp-price { font-size: 1.75rem; font-weight: 800; color: var(--text-heading); }
.shop-pdp-mrp { color: var(--muted); font-size: 0.95rem; }
.shop-pdp-off { color: #0f9d6e; font-style: normal; font-weight: 700; font-size: 0.88rem; }
.shop-pdp-highlights { margin: 0 0 16px; padding: 0; list-style: none; }
.shop-pdp-highlights li { padding: 6px 0 6px 22px; position: relative; font-size: 0.88rem; color: var(--text-heading); }
.shop-pdp-highlights li::before { content: "✓"; position: absolute; left: 0; color: #0f9d6e; font-weight: 700; }
.shop-pdp-delivery { display: flex; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 18px; font-size: 0.85rem; }
.shop-pdp-delivery strong { display: block; margin-bottom: 2px; }
.shop-pdp-delivery span { color: var(--muted); }
.shop-pdp-buy { margin-bottom: 12px; }
.shop-pdp-buy-row {
  display: grid;
  grid-template-columns: 100px minmax(180px, 240px);
  gap: 10px 20px;
  align-items: start;
  margin-bottom: 14px;
}
.shop-pdp-qty-block,
.shop-pdp-size-block {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  min-width: 0;
}
.shop-pdp-size-select,
.shop-pdp-buy-control.shop-qty-input,
.shop-pdp-qty-block .shop-qty-input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 0.75rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  background: #fff !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  color: var(--text-heading);
  vertical-align: middle;
}
.shop-pdp-size-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem !important;
  cursor: pointer;
}
.shop-pdp-qty-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.shop-pdp-qty { margin-bottom: 0; }
@media (max-width: 520px) {
  .shop-pdp-buy-row { grid-template-columns: 1fr 1fr; }
}
.shop-cart-variant {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.shop-pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-pdp-actions .shop-btn { min-width: 140px; }
.shop-pdp-tabs { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 28px; overflow: hidden; }
.shop-pdp-tab-head { display: flex; gap: 0; border-bottom: 1px solid var(--border); background: #f8fafc; }
.shop-pdp-tab-head span { padding: 12px 20px; font-size: 0.88rem; font-weight: 600; color: var(--muted); cursor: default; }
.shop-pdp-tab-head span.is-active { color: var(--primary-blue); border-bottom: 2px solid var(--primary-blue); margin-bottom: -1px; background: #fff; }
.shop-pdp-tab-body { padding: 18px 20px; font-size: 0.92rem; line-height: 1.55; color: var(--text-heading); }
.shop-spec-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.88rem; }
.shop-spec-table th { text-align: left; padding: 10px 12px; background: #f8fafc; color: var(--muted); font-weight: 600; width: 140px; border: 1px solid var(--border); }
.shop-spec-table td { padding: 10px 12px; border: 1px solid var(--border); }
.shop-pdp-related { margin-bottom: 24px; }
.shop-pdp-related h2 { font-size: 1.15rem; margin: 0 0 14px; font-weight: 800; }
.shop-card-thumb-link { display: block; height: 160px; border-radius: 8px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.shop-card-thumb-link .product-thumb { margin-bottom: 0; border: none; background: transparent; height: 120px; }

.hdr-util-wish img { filter: none; }

@media (max-width: 900px) {
  .shop-cart-layout { grid-template-columns: 1fr; }
  .shop-cart-row { grid-template-columns: 1fr; gap: 10px; }
  .shop-cart-line-total { text-align: left; }
  .shop-summary { position: static; }
  .shop-pdp-layout { grid-template-columns: 1fr; }
  .shop-pdp-gallery { position: static; }
  .shop-pdp-main-img { min-height: 260px; }
  .shop-checkout-layout,
  .shop-order-detail-layout { grid-template-columns: 1fr; }
}

/* Auth — customer vs seller */
.auth-role-pick {
  border: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-role-pick legend {
  margin-bottom: 4px;
}
.auth-role-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-heading);
  cursor: pointer;
}
.auth-role-opt input { margin-top: 3px; }

/* Checkout & orders (customer storefront) */
.shop-checkout-layout,
.shop-order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
.shop-checkout-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.shop-checkout-card h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 14px;
}
.shop-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.shop-field span { color: var(--muted); font-weight: 600; }
.shop-input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.92rem;
  width: 100%;
  box-sizing: border-box;
}
.shop-textarea { min-height: 80px; resize: vertical; }
.shop-pin-row { display: flex; gap: 8px; align-items: stretch; }
.shop-pin-input { flex: 1; }
.shop-pin-btn { white-space: nowrap; flex: 0 0 auto; }
.shop-pin-msg { font-size: 0.82rem; font-weight: 600; margin-top: 4px; }
.shop-pin-msg.is-ok { color: #15803d; }
.shop-pin-msg.is-bad { color: #b91c1c; }
.shop-pay-options { display: block; }
.shop-pay-options br { display: none; }
.shop-pay-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.shop-pay-options label {
  position: relative;
  display: block;
  padding: 16px 16px 16px 52px;
  margin-bottom: 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface-white, #fff);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .12s ease;
}
.shop-pay-options label:last-of-type { margin-bottom: 0; }
.shop-pay-options label:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(37,99,235,.10);
  transform: translateY(-1px);
}
.shop-pay-options label::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.shop-pay-options label::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand, #2563eb);
  transition: transform .15s ease;
}
.shop-pay-options input:checked + label {
  border-color: var(--brand, #2563eb);
  background: linear-gradient(180deg, rgba(37,99,235,.07), rgba(37,99,235,.02));
  box-shadow: 0 10px 24px rgba(37,99,235,.14);
  color: var(--text-heading, #0f172a);
}
.shop-pay-options input:checked + label::before {
  border-color: var(--brand, #2563eb);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.shop-pay-options input:checked + label::after { transform: translateY(-50%) scale(1); }
.shop-pay-options input:focus-visible + label {
  outline: 2px solid var(--brand, #2563eb);
  outline-offset: 2px;
}
.shop-pay-note {
  font-size: 0.8rem;
  margin: 14px 0 0;
  padding: 10px 12px;
  background: rgba(15,23,42,0.03);
  border-radius: 10px;
  line-height: 1.45;
}
.shop-checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.88rem;
}
.shop-checkout-line:last-child { border-bottom: none; }
.shop-checkout-summary { position: sticky; top: 88px; }

.shop-order-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.shop-order-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.shop-order-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.shop-order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.shop-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.shop-status-badge.is-placed { background: #fef3c7; color: #92400e; }
.shop-status-badge.is-pending { background: #fce7f3; color: #9d174d; }
.shop-status-badge.is-shipped { background: #dbeafe; color: #1e40af; }
.shop-status-badge.is-delivered { background: #d1fae5; color: #065f46; }

.shop-upi-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
    margin: 1rem 0;
}
.shop-upi-qr {
    border: 1px solid var(--shop-border, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}
.shop-upi-details {
    margin: 0;
    flex: 1;
    min-width: 200px;
}
.shop-upi-details div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--shop-border, #f3f4f6);
}
.shop-upi-details dt { margin: 0; color: #6b7280; font-weight: 500; }
.shop-upi-details dd { margin: 0; font-weight: 600; text-align: right; }
.shop-upi-id {
    font-family: ui-monospace, monospace;
    font-size: 0.95rem;
    background: #f3f4f6;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}
.shop-payment-card .shop-btn { margin-top: 0.75rem; }

.shop-track-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-track-timeline li {
  display: flex;
  gap: 12px;
  padding: 0 0 18px 0;
  position: relative;
  opacity: 0.45;
}
.shop-track-timeline li.is-done { opacity: 1; }
.shop-track-timeline li.is-pending { opacity: 0.5; }
.shop-track-timeline li:last-child { padding-bottom: 0; }
.shop-track-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.shop-track-timeline li.is-done:not(:last-child)::before { background: #10b981; }
.shop-track-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  box-sizing: border-box;
}
.shop-track-timeline li.is-done .shop-track-dot {
  border-color: #10b981;
  background: #10b981;
}
.shop-track-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 0;
}
.shop-track-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
}
.shop-track-when {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
.shop-order-item-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.shop-order-item-row:last-child { border-bottom: none; padding-bottom: 0; }
.shop-order-item-row:first-child { padding-top: 0; }
.shop-order-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
}
.shop-order-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-order-item-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}
.shop-order-item-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
  text-decoration: none;
  line-height: 1.35;
}
.shop-order-item-name:hover { color: var(--primary-blue); }
.shop-order-item-variant,
.shop-order-item-qty {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.shop-order-item-total {
  font-weight: 800;
  color: var(--primary-blue);
  white-space: nowrap;
  font-size: 1rem;
  padding-top: 4px;
  text-align: right;
}
.shop-order-detail-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
@media (max-width: 560px) {
  .shop-order-item-row {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "thumb meta"
      "thumb total";
  }
  .shop-order-item-thumb { grid-area: thumb; width: 64px; height: 64px; }
  .shop-order-item-meta { grid-area: meta; }
  .shop-order-item-total { grid-area: total; text-align: left; padding-top: 0; }
}
.shop-review-stars { color: #f59e0b; font-size: 1.2rem; letter-spacing: 2px; }

/* ─── Info / policy modals (footer & legal links) ─── */
body.info-modal-open {
  overflow: hidden;
}

.info-modal-root {
  position: fixed;
  inset: 0;
  z-index: 7500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 24px);
}

.info-modal-root[hidden] {
  display: none !important;
}

.info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.info-modal-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 32px);
}

.info-modal-x {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #334155;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

.info-modal-x:hover {
  background: #f1f5f9;
  transform: scale(1.05);
}

.info-modal-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.info-modal-head {
  position: relative;
  padding: 22px 24px 18px;
  background:
    linear-gradient(135deg, rgba(26, 111, 205, 0.08) 0%, rgba(13, 148, 136, 0.06) 100%),
    #fff;
  border-bottom: 1px solid var(--border);
}

.info-modal-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a6fcd, #0d9488, #34d399);
}

.info-modal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e40af;
  background: linear-gradient(135deg, #dbeafe, #ecfdf5);
  border: 1px solid rgba(26, 111, 205, 0.2);
  margin-bottom: 10px;
}

.info-modal-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.info-modal-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.info-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
  scrollbar-width: thin;
}

.info-modal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

.info-modal-updated {
  font-size: 0.78rem;
  color: #94a3b8;
}

.info-modal-ok {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 111, 205, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.info-modal-ok:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 111, 205, 0.4);
}

.info-lead {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid rgba(26, 111, 205, 0.12);
  color: var(--text-heading);
  font-size: 0.92rem;
}

.info-block {
  margin-bottom: 20px;
}

.info-block h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  padding-left: 12px;
  border-left: 3px solid var(--accent-teal-muted);
}

.info-block p {
  margin: 0 0 8px;
  color: #475569;
}

.info-block ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
}

.info-block li {
  margin-bottom: 8px;
}

.info-block code {
  font-size: 0.82rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #334155;
}

.info-faq {
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.info-faq[open] {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border-color: rgba(26, 111, 205, 0.25);
}

.info-faq summary {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.info-faq summary::-webkit-details-marker { display: none; }

.info-faq summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.info-faq[open] summary::after {
  content: "−";
}

.info-faq p {
  margin: 0;
  padding: 0 16px 14px;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

.info-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.info-help-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.info-help-ico {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.info-help-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
}

.info-help-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

a.js-info-open {
  cursor: pointer;
}

@media (max-width: 640px) {
  .info-modal-body { padding: 16px 18px; }
  .info-modal-head { padding: 18px 18px 14px; }
  .info-modal-foot { padding: 12px 18px; }
}

/* ═══════════════════════════════════════════════════════════
   Home page — marketplace (page-home body class)
   ═══════════════════════════════════════════════════════════ */

.page-home .hdr-categories {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.page-home .hdr-role-strip.seller {
  background: linear-gradient(90deg, #ecfdf5 0%, #eff6ff 50%, #f0fdf4 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.page-home .shell-main {
  padding-top: 8px;
  background: transparent;
}

.home-page {
  position: relative;
  isolation: isolate;
}

.home-page .home-hero.hero {
  margin-bottom: 1.35rem;
  min-height: 0;
  padding: clamp(22px, 3vw, 36px) clamp(18px, 3vw, 32px);
  border: none;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 20%, rgba(13, 148, 136, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 70% at 0% 80%, rgba(26, 111, 205, 0.16), transparent 50%),
    linear-gradient(145deg, #f4f8ff 0%, #eefbf6 55%, #f7f4ff 100%);
  box-shadow: 0 18px 40px rgba(15, 74, 158, 0.08);
}

.home-page .hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.home-page .hero-orb--a {
  width: 220px; height: 220px;
  right: 18%; top: -60px;
  background: rgba(56, 189, 248, 0.22);
}
.home-page .hero-orb--b {
  width: 160px; height: 160px;
  left: 8%; bottom: -50px;
  background: rgba(52, 211, 153, 0.2);
}

.home-page .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.home-page .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f4a9e;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 219, 254, 0.9);
}

.home-page .home-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.home-page .home-hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: #0d9488;
}

.home-page .hero-lead {
  font-size: 1.02rem;
  max-width: 38ch;
  color: #475569;
}

.home-page .hero-stats {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.home-page .hero-stats li {
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.home-page .hero-stats strong {
  display: block;
  font-size: 0.88rem;
  color: #0b1f3a;
}
.home-page .hero-stats span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: #64748b;
}

.home-page .hero-visual-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(540px, 100%);
}

.home-filters {
  margin: 0 0 0.75rem;
}

.home-picks-zone {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.2rem 1.4rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.home-picks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.1rem;
}

.home-picks-badge {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f4a9e;
  background: linear-gradient(135deg, rgba(26, 111, 205, 0.12), rgba(13, 148, 136, 0.12));
  border: none;
}

.home-picks-title {
  margin: 0 0 0.25rem;
  padding: 0;
  border: none;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0b1f3a;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.home-picks-zone .home-section-lead {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
  max-width: none;
}

a.home-picks-all {
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f4a9e !important;
  text-decoration: none !important;
  white-space: nowrap;
}
a.home-picks-all:hover { color: #0d9488 !important; }

.home-page .home-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  .home-page .home-product-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.home-page .product-card {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: #fff;
}

.home-page .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 111, 205, 0.35);
  box-shadow: 0 16px 32px rgba(26, 111, 205, 0.12);
}

.home-page a.product-card-media {
  display: block;
  position: relative;
  background: linear-gradient(160deg, #f8fafc, #eef6ff);
  text-decoration: none !important;
}

.home-page .product-card .product-thumb {
  height: 200px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.home-page .product-card-chip {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f4a9e;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
}

.home-page .product-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.home-page .product-card h3 {
  font-size: 1rem;
  font-weight: 700;
}
.home-page .product-card h3 a {
  color: #0b1f3a !important;
  text-decoration: none !important;
}
.home-page .product-card h3 a:hover { color: #0f4a9e !important; }

.home-page .product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.home-page .product-card .price {
  font-size: 1.15rem;
  color: #0f4a9e;
}
.home-page .product-card .price small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
}

a.product-card-go {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #1a6fcd, #0d9488);
}

.home-page .product-card--feature {
  grid-column: auto;
}

.home-how--slim {
  margin: 0 0 1.75rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-how-intro {
  margin-bottom: 0.9rem;
}
.home-how-intro h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  color: #0b1f3a;
}

.home-how-slim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}

.home-how-slim-item {
  padding: 1.3rem 1.15rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e6eef8;
  box-shadow: 0 8px 22px rgba(15, 74, 158, 0.05);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-how-slim-item:hover {
  border-color: #bfdbfe;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(26, 111, 205, 0.1);
}

.home-how-slim-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #1a6fcd, #0d9488);
}

.home-how-slim-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b1f3a;
}

.home-how-slim-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
}

@media (max-width: 720px) {
  .home-page .hero-stats { grid-template-columns: 1fr; }
  .home-picks-head { flex-direction: column; align-items: flex-start; }
}

.home-bottom-cta {
  position: relative;
  overflow: hidden;
  margin: 0 0 0.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.4rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(110deg, #0f4a9e 0%, #1a6fcd 48%, #0d9488 100%);
  box-shadow: 0 18px 40px rgba(15, 74, 158, 0.2);
  min-height: 0;
}

.home-bottom-cta-media { display: none; }

.home-bottom-cta::before {
  content: none;
}

.home-bottom-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.home-bottom-cta-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.95);
}

.home-bottom-cta h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}

.home-bottom-cta p {
  margin: 0;
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.home-bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-bottom-cta-actions .shop-btn,
.home-bottom-cta-actions a.shop-btn {
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.home-bottom-cta-actions .shop-btn-primary,
.home-bottom-cta-actions a.shop-btn-primary {
  background: #ffffff !important;
  color: #0f4a9e !important;
  border: 2px solid #ffffff !important;
}

.home-bottom-cta-actions .shop-btn-primary:hover,
.home-bottom-cta-actions a.shop-btn-primary:hover {
  background: #eef6ff !important;
  color: #0a3a7a !important;
  border-color: #eef6ff !important;
}

.home-bottom-cta-actions .shop-btn-ghost,
.home-bottom-cta-actions a.shop-btn-ghost {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
}

.home-bottom-cta-actions .shop-btn-ghost:hover,
.home-bottom-cta-actions a.shop-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

.page-home .site-footer,
.page-home footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .home-how-slim-grid {
    grid-template-columns: 1fr;
  }

  .home-bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Customer account dashboard
   ============================================================ */
body.page-account .shell-main {
  background:
    radial-gradient(1100px 480px at 12% -10%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(900px 460px at 100% 0%, rgba(16,185,129,0.10), transparent 55%),
    linear-gradient(180deg, #f6f9ff 0%, #eef2f9 100%);
}

/* Profile: no category strip / WhatsApp float — account sidebar is enough */
body.page-account .hdr-categories,
body.page-account .wa-live-chat {
  display: none !important;
}

.acct-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.acct-dash {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

/* Sidebar */
.acct-side {
  position: sticky;
  top: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
  overflow: hidden;
}

.acct-side-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 100%);
  color: #fff;
}

.acct-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.acct-side-id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-side-id strong { font-size: 1rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-side-id span { font-size: 0.76rem; opacity: 0.92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-role-pill {
  align-self: flex-start;
  margin-top: 4px;
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.68rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.acct-menu { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.acct-menu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 11px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.acct-menu-item img { opacity: 0.78; }
.acct-menu-item span { flex: 1; text-align: left; }
.acct-menu-chev { font-style: normal; color: #cbd5e1; font-size: 1.1rem; }
.acct-menu-item:hover { background: #f1f5fb; color: #1d4ed8; }
.acct-menu-item.is-active { background: rgba(37,99,235,0.10); color: #1d4ed8; }
.acct-menu-item.is-active img { opacity: 1; }
.acct-menu-logout { color: #dc2626; }
.acct-menu-logout:hover { background: #fef2f2; color: #b91c1c; }

/* Main */
.acct-main { display: flex; flex-direction: column; gap: 20px; }

.acct-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 26px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  box-shadow: 0 16px 36px rgba(30,58,138,0.22);
  overflow: hidden;
}
.acct-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(14,165,233,0.45), transparent 65%);
}
.acct-hero-text { position: relative; z-index: 1; }
.acct-hero-eyebrow { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.acct-hero-text h1 { margin: 6px 0 8px; font-size: 1.7rem; font-weight: 800; }
.acct-hero-text p { margin: 0 0 16px; font-size: 0.92rem; opacity: 0.92; max-width: 520px; }
.acct-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.acct-hero-actions .shop-btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); }
.acct-hero-actions .shop-btn-ghost:hover { background: rgba(255,255,255,0.2); }
.acct-hero-badge {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 84px; height: 84px;
  border-radius: 22px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
}
.acct-hero-badge img { filter: brightness(0) invert(1); opacity: 0.92; }

.acct-section-title { margin: 0 0 2px; font-size: 1.05rem; font-weight: 700; color: var(--text-heading); }

.acct-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.acct-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(15,23,42,0.05);
  text-decoration: none;
  color: var(--text-heading);
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.acct-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,23,42,0.12); border-color: #c7d2fe; }
.acct-card strong { font-size: 0.98rem; }
.acct-card small { color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.acct-card-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  background: #eef2ff;
}
.acct-card--orders .acct-card-ico { background: #e0edff; }
.acct-card--wish   .acct-card-ico { background: #ffe4ec; }
.acct-card--cart   .acct-card-ico { background: #e6f7ef; }
.acct-card--reviews .acct-card-ico { background: #fff2da; }
.acct-card--returns .acct-card-ico { background: #f3e8ff; }
.acct-card--seller .acct-card-ico { background: #dcfce7; }

.acct-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.acct-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(15,23,42,0.05);
}
.acct-detail-list { margin: 12px 0 0; display: flex; flex-direction: column; gap: 0; }
.acct-detail-list div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.acct-detail-list div:last-child { border-bottom: none; }
.acct-detail-list dt { margin: 0; color: var(--muted); font-size: 0.85rem; }
.acct-detail-list dd { margin: 0; font-weight: 600; color: var(--text-heading); font-size: 0.88rem; text-align: right; word-break: break-word; }

.acct-location-body { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.acct-location-ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: #e0edff;
  display: flex; align-items: center; justify-content: center;
}
.acct-location-body strong { display: block; font-size: 0.98rem; color: var(--text-heading); }
.acct-location-body p { margin: 2px 0 0; font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.acct-location-hint { margin: 14px 0 0; font-size: 0.78rem; color: var(--muted); background: rgba(15,23,42,0.03); padding: 9px 11px; border-radius: 9px; }

@media (max-width: 900px) {
  .acct-dash { grid-template-columns: 1fr; }
  .acct-side { position: static; }
  .acct-cards { grid-template-columns: repeat(2, 1fr); }
  .acct-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .acct-cards { grid-template-columns: 1fr; }
  .acct-hero { flex-direction: column; align-items: flex-start; }
  .acct-hero-badge { display: none; }
}

/* Account tabs (in-page sections) */
.acct-tab { display: none; }
.acct-tab.is-active { display: flex; flex-direction: column; gap: 20px; }

.acct-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.acct-frame-title { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--text-heading); }
.acct-frame-back {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
}
.acct-frame-back:hover { background: #f1f5fb; }

.acct-frame-shell {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(15,23,42,0.05);
  overflow: hidden;
  min-height: 520px;
}
.acct-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 230px);
  min-height: 520px;
  border: 0;
  background: #fff;
}
.acct-frame-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.85);
  z-index: 2;
}
.acct-spin {
  width: 18px; height: 18px;
  border: 2px solid #cbd5e1;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: acct-spin 0.7s linear infinite;
}
@keyframes acct-spin { to { transform: rotate(360deg); } }

/* Embed mode: feature pages hosted inside the account dashboard iframe */
body.embed-mode { background: #fff; }
body.embed-mode .site-header,
body.embed-mode .hdr-shell,
body.embed-mode .hdr-main,
body.embed-mode .hdr-categories,
body.embed-mode .hdr-role-strip,
body.embed-mode .site-ft,
body.embed-mode .wa-live-chat,
body.embed-mode .jt-ai,
body.embed-mode .shop-breadcrumb,
body.embed-mode .auth-modal-root {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body.embed-mode .shell-main { padding: 0 !important; min-height: auto !important; }
body.embed-mode .shop-page,
body.embed-mode .shell-main > * { padding-left: 16px; padding-right: 16px; }

/* ── Register page ── */
body.page-register .shell-main {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(26, 111, 205, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 18%, rgba(16, 185, 129, 0.12), transparent 50%),
    linear-gradient(180deg, #e8f1fb 0%, #f4f7fb 48%, #eef2f7 100%);
}

.reg-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 4px 1rem;
  animation: reg-rise 0.55s ease both;
}

@keyframes reg-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.reg-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) 1.15fr;
  min-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 24px 60px rgba(15, 40, 80, 0.14);
}

.reg-brand {
  position: relative;
  color: #fff;
  background: #0d3d8a;
  overflow: hidden;
  min-height: 100%;
}

.reg-brand-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  animation: reg-media-in 0.9s ease both;
}

@keyframes reg-media-in {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.02); }
}

.reg-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 40, 90, 0.55) 0%, rgba(10, 55, 120, 0.42) 38%, rgba(8, 35, 80, 0.78) 100%),
    linear-gradient(115deg, rgba(13, 61, 138, 0.55) 0%, rgba(26, 111, 205, 0.18) 55%, transparent 78%);
  pointer-events: none;
}

.reg-brand::after {
  content: "";
  position: absolute;
  inset: auto -15% -25% auto;
  z-index: 1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.reg-brand-inner {
  position: relative;
  z-index: 2;
  padding: 2.4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.reg-brand-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.reg-brand-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.reg-brand-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28ch;
}

.reg-brand-list {
  list-style: none;
  margin: auto 0 0;
  padding: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.reg-brand-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.reg-brand-check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
}

.reg-brand-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.reg-form-side {
  padding: 2rem 2rem 1.75rem;
  background: #fff;
}

.reg-form-head {
  margin-bottom: 1.35rem;
}

.reg-form-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.reg-form-head p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.reg-form-head a {
  color: #1a6fcd !important;
  font-weight: 700;
  text-decoration: none !important;
}

.reg-form-head a:hover {
  text-decoration: underline !important;
}

.reg-msg {
  display: block;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.reg-msg--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.reg-role {
  margin-bottom: 1.25rem;
}

.reg-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.reg-label em {
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #94a3b8;
  margin-left: 0.25rem;
}

.reg-role-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reg-role-list input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.reg-role-list label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid #dbe3ef;
  background: #f8fafc;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.reg-role-list label:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.reg-role-list input[type="radio"]:checked + label {
  background: linear-gradient(135deg, #1a6fcd, #1457b8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 111, 205, 0.28);
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}

.reg-field {
  display: block;
  margin: 0;
}

.reg-field--full {
  grid-column: 1 / -1;
}

.reg-input,
.reg-form-side select.reg-input {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #d7e0ec;
  border-radius: 12px;
  background: #fbfcfe;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.reg-input:focus {
  outline: none;
  border-color: #1a6fcd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 111, 205, 0.16);
}

.reg-seller {
  margin-top: 1.35rem;
  padding: 1.1rem 1rem 1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fbff, #f5f7fb);
  animation: reg-rise 0.4s ease both;
}

.reg-seller.is-collapsed {
  display: none;
}

.reg-seller-head {
  margin-bottom: 0.95rem;
}

.reg-seller-head h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.reg-seller-head p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.reg-cat-grid {
  margin-top: 0.15rem;
}

.reg-legal {
  margin: 1.15rem 0 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
}

.reg-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a6fcd 0%, #0f4a9e 100%);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(26, 111, 205, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.reg-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(26, 111, 205, 0.34);
}

.reg-submit:active {
  transform: none;
}

@media (max-width: 860px) {
  .reg-shell {
    grid-template-columns: 1fr;
  }

  .reg-brand {
    min-height: 220px;
  }

  .reg-brand-inner {
    padding: 1.6rem 1.4rem 1.35rem;
  }

  .reg-brand-list {
    margin-top: 1.25rem;
    padding-top: 0;
  }

  .reg-form-side {
    padding: 1.5rem 1.25rem 1.4rem;
  }

  .reg-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── JT Guide (AI shopping assistant) ─── */
.jt-ai {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: calc(56px + clamp(28px, 3vw, 40px));
  z-index: 1490;
  font-family: var(--font-body);
}

button.linkish,
.linkish {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-blue-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.jt-ai-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 12px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #0f4a9e 0%, #0d9488 55%, #16a34a 100%);
  box-shadow: 0 10px 28px rgba(15, 74, 158, 0.35);
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.jt-ai-fab:hover,
.jt-ai-fab.is-open {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.jt-ai-fab-glow {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.35);
  animation: jt-ai-pulse 2.2s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes jt-ai-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.35); opacity: 0; }
}

.jt-ai-fab-ico,
.jt-ai-fab-text {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.jt-ai-fab-text {
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.jt-ai-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(380px, calc(100vw - 28px));
  height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #cfe0f5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.22);
}

.jt-ai-panel[hidden] {
  display: none !important;
}

.jt-ai-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.jt-ai-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  background: linear-gradient(135deg, #0f4a9e, #0d9488);
  color: #fff;
  flex: 0 0 auto;
}

.jt-ai-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.jt-ai-head span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  opacity: 0.92;
}

.jt-ai-close {
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.jt-ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 0;
}

.jt-ai-chip {
  border: 1px solid #bfd4f0;
  background: linear-gradient(135deg, #eef6ff, #e8f8f2);
  color: #0f4a9e;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.jt-ai-chip:hover { border-color: #0d9488; color: #0f766e; }

.jt-ai-messages {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}

.jt-ai-bubble {
  max-width: 92%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.jt-ai-bubble--bot {
  align-self: flex-start;
  background: #f1f5f9;
  color: #0b1f3a;
  border-bottom-left-radius: 4px;
}

.jt-ai-bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #1a6fcd, #0f4a9e);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.jt-ai-products { padding: 0 12px 10px; }

.jt-ai-product-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

a.jt-ai-product-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none !important;
  color: #0b1f3a !important;
  transition: border-color 0.15s ease, transform 0.15s ease;
  flex: 0 0 132px;
  width: 132px;
}

a.jt-ai-product-card:hover {
  border-color: #1a6fcd;
  transform: translateY(-1px);
}

.jt-ai-product-card img,
.jt-ai-product-ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f7;
}

.jt-ai-product-card strong {
  font-size: 0.75rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jt-ai-product-card span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f4a9e;
}

.jt-ai-compose {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  flex: 0 0 auto;
}

.jt-ai-compose input {
  flex: 1;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.88rem;
}

.jt-ai-compose button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #1a6fcd, #0d9488);
}

.jt-ai-compose button:disabled { opacity: 0.6; cursor: wait; }

@media (max-width: 720px) {
  .jt-ai {
    bottom: calc(52px + 18px);
    right: 12px;
    z-index: 6200;
    overflow: visible;
  }
  .jt-ai-fab-text { display: none; }
  .jt-ai-fab {
    padding: 12px;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  body.jt-ai-open .jt-ai,
  .jt-ai.is-open {
    inset: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    height: auto;
    z-index: 7000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(15, 23, 42, 0.48);
    overflow: hidden;
  }
  body.jt-ai-open .jt-ai-fab,
  .jt-ai.is-open .jt-ai-fab {
    display: none;
  }
  body.jt-ai-open .wa-live-chat {
    visibility: hidden;
    pointer-events: none;
  }
  .jt-ai-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100% !important;
    max-width: 100%;
    height: min(88vh, 640px);
    height: min(88dvh, 640px);
    max-height: 100%;
    flex: 0 0 auto;
    border-radius: 20px 20px 0 0;
    z-index: 1;
    padding-bottom: env(safe-area-inset-bottom, 8px);
  }
}

body.jt-ai-open { overflow: hidden; }

body.page-account .jt-ai { display: none !important; }

/* Phone header — last so it wins over earlier grid rules */
@media (max-width: 720px) {
  .hdr-main {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .brand-lockup { grid-column: 1 !important; grid-row: 1 !important; }
  .hdr-utils { grid-column: 2 !important; grid-row: 1 !important; }
  .hdr-loc-wrap { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  .hdr-search-slot { grid-column: 1 / -1 !important; grid-row: 3 !important; }
  .hdr-account-lines { display: none !important; }
  .reg-form-grid,
  .reg-layout { grid-template-columns: 1fr !important; }
}

