:root {
  --ink: #102033;
  --muted: #617084;
  --line: #d9e4ef;
  --blue: #0f5d9c;
  --blue-dark: #0f3d68;
  --gold: #b68b2d;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --danger: #b42318;
  --success: #147a45;
  --shadow: 0 18px 48px rgba(16, 32, 51, .11);
  --shadow-soft: 0 10px 28px rgba(16, 32, 51, .08);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 93, 156, .08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { min-height: 70vh; }
button, input, select, textarea { font: inherit; }
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 93, 156, .2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
button:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 93, 156, .24); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(182, 139, 45, .35);
  outline-offset: 3px;
}
button:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.secondary, button.secondary {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16, 32, 51, .08);
}
.btn.gold { background: var(--gold); box-shadow: 0 14px 30px rgba(182, 139, 45, .24); }
.btn.compact {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}
.muted { color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(217, 228, 239, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(16, 32, 51, .06);
}
.topbar-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 34px;
  color: #fff;
  margin: 0 calc(clamp(18px, 4vw, 56px) * -1);
  padding: 6px clamp(18px, 4vw, 56px);
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  font-size: 12px;
  font-weight: 850;
}
.topbar-service span,
.topbar-service a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar-service span::before,
.topbar-service a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}
.topbar-service a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.topbar-main {
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(280px, 560px) auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px 0;
}
.topbar-nav-row {
  display: flex;
  justify-content: center;
  min-height: 44px;
  border-top: 1px solid rgba(217, 228, 239, .72);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand-logo {
  width: auto;
  height: 46px;
  max-width: 190px;
  object-fit: contain;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 12px 24px rgba(15, 61, 104, .2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-weight: 800;
}
.nav a,
.nav-actions > a {
  padding: 9px 13px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover,
.nav a.active,
.nav-actions > a:hover {
  color: var(--blue-dark);
  background: var(--soft);
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--muted);
  font-weight: 800;
}
.nav-search {
  display: flex;
  align-items: center;
  justify-self: center;
  width: min(100%, 560px);
  min-width: 280px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 24px rgba(16, 32, 51, .07);
}
.nav-search input {
  width: 100%;
  min-height: 40px;
  border: 0;
  padding: 0 14px;
  background: transparent;
  outline: 0;
}
.nav-search button {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 12px;
  box-shadow: none;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-link strong {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
}
.nav-icon-link {
  border: 1px solid transparent;
}
.nav-icon-link:hover {
  border-color: var(--line);
}
.account-link {
  color: #fff !important;
  background: var(--blue-dark);
  box-shadow: 0 12px 24px rgba(15, 61, 104, .17);
}
.account-link:hover {
  color: #fff !important;
  background: var(--blue);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--ink);
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-title h1,
.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.grid { display: grid; gap: 22px; }
.grid.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary-card,
.panel,
.admin-panel,
.auth-card {
  border: 1px solid rgba(217, 228, 239, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
}
.summary-card {
  padding: 22px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.summary-card:hover,
.summary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 93, 156, .24);
  box-shadow: var(--shadow);
}
.summary-card strong { display: block; font-size: 18px; }
.summary-card h2 { margin: 12px 0 8px; line-height: 1.15; }
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(15, 93, 156, .16);
  border-radius: 999px;
  background: rgba(15, 93, 156, .08);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}
.alert {
  padding: 13px 15px;
  border: 1px solid rgba(182, 139, 45, .25);
  border-radius: var(--radius-sm);
  background: rgba(182, 139, 45, .1);
  color: #6f5217;
  font-weight: 700;
}
.alert.success { border-color: rgba(20, 122, 69, .22); background: rgba(20, 122, 69, .08); color: var(--success); }
.alert.error { border-color: rgba(180, 35, 24, .22); background: rgba(180, 35, 24, .08); color: var(--danger); }

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  padding: 84px clamp(18px, 6vw, 84px);
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(15, 61, 104, .95), rgba(15, 93, 156, .7) 48%, rgba(16, 32, 51, .18)),
    url("../img-placeholder.php") center/cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 7% 10% auto;
  width: min(420px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(4px);
}
.hero-content,
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.hero h1 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(54px, 8vw, 96px);
  line-height: .92;
  letter-spacing: -.045em;
}
.hero p {
  max-width: 620px;
  color: #eef6ff;
  font-size: clamp(17px, 2vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mode-switch,
.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.bulk-actions { margin: 0; }
.bulk-actions select { min-height: 44px; }
.bulk-select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
  font-weight: 900;
}
.bulk-select-all input {
  width: 18px;
  height: 18px;
}
.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-order-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.admin-order-hero h2 {
  margin: 8px 0 4px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}
.admin-order-status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.order-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.order-detail-list p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
}
.order-detail-list p.full {
  grid-column: 1 / -1;
}
.order-detail-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.order-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.order-workflow span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.order-workflow span.active {
  background: rgba(20, 122, 69, .1);
  color: var(--success);
}
.admin-order-item-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.admin-order-item-product img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}
.partner-link-panel .compact-title {
  margin-bottom: 14px;
}
.partner-link-table th:first-child,
.partner-link-table td:first-child {
  min-width: 280px;
}
.partner-link-table input {
  width: 100%;
  min-width: 0;
  max-width: none;
  font-size: 12px;
}
.partner-link-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px);
  gap: 12px;
  align-items: end;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
}
.partner-link-control {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 38px;
  align-items: center;
  gap: 8px;
  min-width: 240px;
  max-width: 360px;
}
.partner-link-control input {
  min-width: 0;
}
.copy-link-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
}
.copy-link-btn:hover,
.copy-link-btn.copied {
  border-color: rgba(20, 122, 69, .35);
  background: rgba(20, 122, 69, .1);
  color: var(--success);
}
.copy-link-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.copy-link-status {
  grid-column: 1 / -1;
  min-height: 14px;
  color: var(--success);
  font-size: 11px;
  font-weight: 900;
}
.partner-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.partner-product-cell img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.partner-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.compact-rewards-form {
  gap: 16px;
}
.admin-details {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  padding: 12px;
}
.admin-details summary,
.admin-details-panel summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--blue-dark);
}
.admin-details .form-grid {
  margin-top: 14px;
}
.admin-details-panel {
  padding: 16px;
  margin-top: 18px;
}
.admin-details-panel .table-wrap {
  margin-top: 14px;
}
.admin-mini-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.admin-mini-list h3 {
  margin: 0;
  font-size: 15px;
}
.admin-mini-list p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.admin-profile-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 93, 156, .08), rgba(182, 139, 45, .08));
}
.admin-profile-hero h2 {
  margin: 4px 0 2px;
  font-size: 26px;
}
.admin-profile-hero p {
  margin: 0 0 10px;
  color: var(--muted);
}
.admin-profile-avatar {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}
.admin-profile-grid {
  grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr);
  align-items: start;
}
.profile-security-note {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(15, 93, 156, .16);
  border-radius: var(--radius-sm);
  background: rgba(15, 93, 156, .05);
}
.profile-security-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.profile-meta-list {
  display: grid;
  gap: 12px;
}
.profile-meta-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.profile-meta-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.profile-meta-list span {
  color: var(--muted);
  font-weight: 800;
}
.admin-banner-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  align-items: start;
  margin-bottom: 22px;
}
.admin-banner-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}
.admin-banner-cell img {
  width: 96px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}
.admin-banner-cell strong,
.admin-banner-cell span {
  display: block;
}
.banner-current-image {
  display: grid;
  gap: 8px;
}
.banner-current-image img {
  width: min(100%, 420px);
  aspect-ratio: 16 / 6;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.banner-current-image span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.sms-message-preview {
  display: block;
  max-width: 360px;
  color: var(--text);
  line-height: 1.35;
}
.compact-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}
.compact-details pre {
  max-width: 380px;
  max-height: 160px;
  overflow: auto;
  margin: 8px 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  white-space: pre-wrap;
}
.preorder-detail-box {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(182, 139, 45, .28);
  border-radius: var(--radius-sm);
  background: rgba(182, 139, 45, .08);
}
.preorder-detail-box h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.preorder-detail-box p { margin: 6px 0; }
.rewards-public-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(182, 139, 45, .28);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.rewards-public-strip span,
.rewards-public-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(182, 139, 45, .1);
  color: #6f5217;
  font-weight: 800;
  font-size: 13px;
}
.rewards-public-strip a {
  background: var(--blue);
  color: #fff;
}
.preorder-season-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(182, 139, 45, .26);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(182, 139, 45, .09), rgba(15, 93, 156, .06));
}
.preorder-season-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}
.preorder-season-copy h3 {
  margin: 0;
  font-size: 30px;
}
.preorder-season-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.preorder-season-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.preorder-season-status {
  display: grid;
  gap: 0;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .76);
}
.preorder-season-status p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.preorder-season-status p:last-child {
  border-bottom: 0;
}
.preorder-season-status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.preorder-season-status strong {
  color: var(--blue-dark);
}
.rewards-product-card {
  margin: 16px 0;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-strip span,
.footer-badges span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 18px;
}
.promo-card {
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 30px;
  border-radius: calc(var(--radius) + 4px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.promo-card:nth-child(2) { background: linear-gradient(135deg, #102033, var(--gold)); }
.promo-card span { color: rgba(255, 255, 255, .78); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.promo-card h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1; }
.promo-card p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, .84); }
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: 24px;
  align-items: center;
  margin-bottom: 54px;
  padding: 34px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(15, 61, 104, .96), rgba(15, 93, 156, .88));
  color: #fff;
  box-shadow: var(--shadow);
}
.newsletter h2 { margin: 8px 0; font-size: clamp(30px, 5vw, 52px); line-height: 1; }
.newsletter p { color: #e8f4ff; }
.newsletter form {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
}
.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 14px;
  outline: 0;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(217, 228, 239, .9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 32, 51, .07);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 93, 156, .22);
  box-shadow: var(--shadow);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eef5fb, #fff);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-card-actions {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
}
.product-card:hover .product-card-actions,
.product-card:focus-within .product-card-actions {
  opacity: 1;
  transform: translateY(0);
}
.product-card-actions a,
.product-card-actions button {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--blue-dark);
  box-shadow: 0 10px 22px rgba(16, 32, 51, .12);
  font-size: 12px;
}
.product-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.product-card .body {
  display: grid;
  gap: 10px;
  padding: 16px;
  flex: 1;
}
.product-meta,
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rating { color: var(--gold); font-size: 12px; letter-spacing: .04em; }
.product-card h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.product-card h3 a:hover { color: var(--blue); }
.product-card p { margin: 0; min-height: 42px; }
.price-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.price {
  color: var(--blue-dark);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.02em;
}

form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 120px; resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 93, 156, .55);
  box-shadow: 0 0 0 4px rgba(15, 93, 156, .09);
  outline: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.compact-order-details {
  margin-top: 12px;
}
.compact-order-details p {
  min-height: auto;
}
.compact-details {
  padding: 0;
  overflow: hidden;
}
.compact-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
}
.compact-details summary::marker {
  color: var(--gold);
}
.compact-details .table-wrap {
  border-top: 1px solid var(--line);
}
.filters,
.admin-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
}
.inline-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-width: 360px;
}
.inline-form input {
  min-height: 38px;
}
.inline-form .btn {
  white-space: nowrap;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.pagination a {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
}
.pagination a:hover,
.pagination a.active {
  border-color: rgba(15, 93, 156, .28);
  background: var(--blue);
  color: #fff;
}
.pagination a.disabled {
  pointer-events: none;
  opacity: .45;
}
.empty-state {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}
.gallery-main {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.product-detail > div:nth-child(2) {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}
.product-detail h1 { margin: 12px 0 8px; font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.product-detail .panel { background: var(--soft); box-shadow: none; }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f9fbfe;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
tbody tr { background: #fff; transition: background .2s ease; }
tbody tr:hover { background: #f8fbff; }
.status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 93, 156, .08);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}
.status.paid,
.status.success,
.status.in_stock,
.status.completed { background: rgba(20, 122, 69, .1); color: var(--success); }
.status.pending,
.status.processing,
.status.low_stock { background: rgba(182, 139, 45, .12); color: #806019; }
.status.cancelled,
.status.failed,
.status.rejected,
.status.out_of_stock { background: rgba(180, 35, 24, .09); color: var(--danger); }
.status.earned,
.status.bonus,
.status.referral,
.status.rewarded,
.status.approved,
.status.received,
.status.delivered,
.status.ready_for_delivery { background: rgba(20, 122, 69, .1); color: var(--success); }
.status.redeemed,
.status.deduction,
.status.expired,
.status.waiting_supplier,
.status.in_transit { background: rgba(182, 139, 45, .12); color: #806019; }
.rewards-share-card,
.rewards-panel {
  padding: 18px;
  margin-bottom: 20px;
}
.rewards-share-card input {
  width: 100%;
  margin: 8px 0 14px;
}
.reward-note {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.reward-note:last-child { border-bottom: 0; }
.reward-note p { margin: 4px 0; }
.rewards-wallet-stats .summary-card {
  min-width: 0;
}
.reward-history-list {
  display: grid;
  gap: 10px;
}
.reward-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.reward-history-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.reward-history-main strong,
.reward-history-main .muted {
  overflow-wrap: anywhere;
}
.reward-points {
  flex: 0 0 auto;
  font-size: 18px;
  white-space: nowrap;
}
.reward-points.positive {
  color: var(--success);
}
.reward-points.negative {
  color: var(--danger);
}
.action-link {
  color: var(--blue);
  font-weight: 900;
}

.cart-qty {
  max-width: 92px;
  min-height: 40px;
  padding: 8px 10px;
}
.cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}
.cart-product-image {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}
.cart-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-product-title {
  display: block;
  font-weight: 900;
  line-height: 1.25;
}
.cart-product .muted {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}
.cart-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}
.checkout-summary {
  position: sticky;
  top: 92px;
}
.checkout-summary h2 { margin-top: 0; }
.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.summary-total {
  margin: 12px 0 16px;
  border-bottom: 0;
  font-size: 18px;
}
.summary-total strong { font-size: 26px; }

.auth-page {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 34px;
  align-items: center;
}
.auth-copy {
  min-height: 530px;
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: calc(var(--radius) + 8px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 61, 104, .94), rgba(15, 93, 156, .74)),
    url("../img-placeholder.php") center/cover;
  box-shadow: var(--shadow);
}
.auth-copy .badge { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); }
.auth-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: .95;
  letter-spacing: -.04em;
}
.auth-copy p { max-width: 520px; color: #e4f2ff; font-size: 18px; }
.auth-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}
.auth-card h2 { margin: 0; font-size: 28px; }
.auth-switch { margin: 0; color: var(--muted); }
.auth-switch a { color: var(--blue-dark); font-weight: 900; }
.google-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(16, 32, 51, .06);
}
.google-auth-btn svg { width: 24px; height: 24px; flex: 0 0 auto; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.auth-divider::before,
.auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.account-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.account-card {
  position: sticky;
  top: 92px;
}
.account-card h1 { margin: 12px 0 8px; line-height: 1.1; }
.account-form { padding: 22px; }

.contact-hero {
  min-height: 460px;
  display: grid;
  align-items: center;
  padding: 64px clamp(18px, 6vw, 84px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 36, 61, .94), rgba(15, 93, 156, .66), rgba(16, 32, 51, .2)),
    url("../img-placeholder.php") center/cover;
}
.content-hero {
  min-height: 460px;
  display: grid;
  align-items: center;
  padding: 64px clamp(18px, 6vw, 84px);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(15, 61, 104, .94), rgba(15, 93, 156, .62), rgba(16, 32, 51, .18)),
    url("../img-placeholder.php") center/cover;
}
.content-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .94;
  letter-spacing: -.04em;
}
.content-hero p,
.contact-hero p {
  max-width: 660px;
  color: #e4f2ff;
  font-size: 18px;
}
.contact-hero h1 {
  max-width: 780px;
  margin: 18px 0 14px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .95;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}
.contact-cards,
.feature-grid {
  display: grid;
  gap: 16px;
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contact-map-panel {
  display: grid;
  gap: 14px;
}
.contact-image,
.story-image {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-image img,
.story-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.contact-map-panel iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
}
.story-grid h2 {
  margin: 14px 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}
.promise-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  border-radius: calc(var(--radius) + 8px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: var(--shadow);
}
.promise-band div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
}
.promise-band strong,
.promise-band span { display: block; }
.promise-band span { color: #dcecff; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-hero-modern {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 64px);
  min-height: 520px;
  background:
    linear-gradient(105deg, rgba(15, 61, 104, .96), rgba(15, 93, 156, .78) 54%, rgba(16, 32, 51, .66)),
    url("../img-placeholder.php") center/cover;
}
.faq-hero-content {
  max-width: 780px;
}
.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.faq-hero-modern .btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .12);
}
.faq-hero-panel {
  display: grid;
  gap: 10px;
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(14px);
}
.faq-hero-panel span {
  color: #e6c879;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.faq-hero-panel strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.12;
}
.faq-hero-panel p {
  margin: 0;
  color: #dbeafa;
}
.faq-modern-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.faq-support-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}
.faq-support-card,
.faq-quick-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.faq-support-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.faq-support-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}
.faq-support-card p {
  margin: 0;
  color: var(--muted);
}
.faq-support-actions {
  display: grid;
  gap: 10px;
}
.faq-quick-card {
  display: grid;
  gap: 4px;
  padding: 16px;
}
.faq-quick-card strong {
  margin-bottom: 6px;
}
.faq-quick-card a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--blue-dark);
  font-weight: 900;
}
.faq-content {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.faq-category-strip {
  position: sticky;
  top: 82px;
  z-index: 4;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.faq-category-strip::-webkit-scrollbar {
  display: none;
}
.faq-category-strip a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}
.faq-group {
  scroll-margin-top: 120px;
}
.faq-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.faq-group-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.05;
}
.faq-group-heading span {
  order: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.faq-list-modern {
  display: grid;
  gap: 12px;
}
.faq-list-modern details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.faq-list-modern summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 950;
  list-style: none;
}
.faq-list-modern summary::-webkit-details-marker {
  display: none;
}
.faq-list-modern summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(15, 93, 156, .08);
  color: var(--blue-dark);
  font-size: 20px;
}
.faq-list-modern details[open] summary {
  border-bottom: 1px solid var(--line);
}
.faq-list-modern details[open] summary::after {
  content: "-";
  background: var(--blue);
  color: #fff;
}
.faq-list-modern p {
  margin: 0;
  padding: 18px 20px 20px;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, .7fr));
  gap: 28px;
  padding: 46px clamp(18px, 5vw, 72px);
  color: #dcecff;
  background: linear-gradient(135deg, #102033, #0f3d68);
}
.footer h3,
.footer strong { color: #fff; }
.footer h3 { margin: 0 0 10px; font-size: 28px; }
.footer p { max-width: 460px; color: #c7d9ea; }
.footer a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: #dcecff;
}
.footer a:hover { color: #fff; }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.whatsapp-bot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
}
.whatsapp-bot-toggle {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 18px;
  background: #25d366;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .28);
}
.whatsapp-bot-toggle svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-bot-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.whatsapp-bot-panel header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}
.whatsapp-bot-panel header span { display: block; color: #d8ecff; font-size: 12px; }
.whatsapp-bot-panel header button {
  min-height: 34px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.bot-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding: 14px;
}
.bot-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--soft);
}
.bot-message.user {
  justify-self: end;
  color: #fff;
  background: var(--blue);
}
.bot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}
.bot-quick-replies button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--blue-dark);
  background: var(--soft);
  box-shadow: none;
}
.whatsapp-bot-panel form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.bot-whatsapp-link {
  display: block;
  margin: 0 14px 14px;
  padding: 11px 14px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  text-align: center;
  font-weight: 900;
}

.admin-body {
  background:
    radial-gradient(circle at top right, rgba(15, 93, 156, .1), transparent 34rem),
    #f4f7fb;
}
.admin-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  color: #dcecff;
  background: linear-gradient(180deg, #102033, #0f3d68);
  overflow-y: auto;
}
.admin-brand {
  color: #fff;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.admin-logo { max-width: 150px; }
.admin-nav { display: grid; gap: 8px; }
.admin-nav-group {
  display: grid;
  gap: 6px;
}
.admin-nav-heading {
  width: 100%;
  min-height: 38px;
  margin: 4px 0 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: none;
}
.admin-nav-heading:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, .1);
}
.admin-nav-heading svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform .18s ease;
}
.admin-nav-group.open .admin-nav-heading svg {
  transform: rotate(180deg);
}
.admin-nav-group-items {
  display: none;
  gap: 6px;
}
.admin-nav-group.open .admin-nav-group-items {
  display: grid;
}
.admin-nav a,
.admin-sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #dcecff;
  font-weight: 800;
}
.admin-nav a span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.admin-nav-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.admin-nav a:hover,
.admin-sidebar-footer a:hover,
.admin-nav a.active,
.admin-sidebar-footer a.active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
.admin-sidebar-footer {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.admin-content {
  min-width: 0;
  padding: 28px;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}
.admin-eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.admin-top h1 {
  margin: 3px 0 4px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.025em;
}
.admin-top p { margin: 0; color: var(--muted); }
.admin-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-search {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.admin-search input {
  width: 220px;
  min-height: 34px;
  border: 0;
  padding: 0 10px;
}
.admin-search button,
.icon-btn {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
}
.notification-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #806019;
  background: rgba(182, 139, 45, .12);
  font-weight: 900;
}
.admin-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.admin-user > span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-dark);
  font-weight: 950;
}
.admin-user strong,
.admin-user small { display: block; line-height: 1.1; }
.admin-user small { color: var(--muted); }
.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}
.kpi-card span:first-child { color: var(--muted); font-weight: 850; }
.kpi-card strong {
  margin-top: 8px;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -.03em;
}
.kpi-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.trend { color: var(--success); font-weight: 900; }
.trend.warn { color: #806019; }
.trend.danger { color: var(--danger); }
.admin-dashboard-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  margin-bottom: 22px;
}
.admin-panel { overflow: hidden; }
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.admin-panel-header h2,
.mini-heading { margin: 0; }
.admin-panel-body { padding: 20px; }
.mini-chart {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 22px;
}
.mini-chart span {
  flex: 1;
  min-height: 8px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}
.report-overview-grid,
.admin-report-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  margin-bottom: 22px;
}
.report-chart-panel {
  min-width: 0;
}
.report-bar-chart {
  height: 270px;
  display: grid;
  grid-template-columns: repeat(14, minmax(34px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 22px;
}
.report-bar-chart-monthly {
  grid-template-columns: repeat(6, minmax(56px, 1fr));
}
.report-empty-state {
  grid-column: 1 / -1;
  align-self: center;
  justify-self: stretch;
  text-align: left;
}
.report-bar-item {
  min-width: 0;
  display: grid;
  grid-template-rows: 24px 1fr 22px;
  align-items: end;
  gap: 6px;
  text-align: center;
}
.report-bar-value {
  min-height: 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-bar {
  display: block;
  width: 100%;
  min-height: 8px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}
.report-bar-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.report-list {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.report-list.compact {
  gap: 10px;
  padding-top: 0;
}
.report-meter-row {
  display: grid;
  gap: 8px;
}
.report-meter-row > div:first-child,
.report-pill-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.report-meter-row strong {
  text-transform: capitalize;
}
.report-meter-row span {
  color: var(--muted);
  font-size: 13px;
}
.report-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}
.report-meter span,
.report-inline-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}
.report-divider {
  height: 1px;
  margin: 0 18px 14px;
  background: var(--line);
}
.report-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}
.report-product img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}
.report-product span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.report-inline-bar {
  width: 110px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}
.report-stock-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.report-stock-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.report-stock-item:hover {
  border-color: rgba(15, 93, 156, .25);
  background: #f8fbff;
}
.report-stock-item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 9px;
  background: var(--soft);
}
.report-stock-item strong,
.report-stock-item small {
  display: block;
}
.report-stock-item small {
  color: var(--muted);
  text-transform: capitalize;
}
.report-stock-item em {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(182, 139, 45, .12);
  color: #806019;
  font-style: normal;
  font-weight: 950;
}
.report-mix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}
.report-mix-card strong {
  margin-top: 12px;
  font-size: 24px;
}
.products-admin-table td {
  vertical-align: middle;
}
.admin-product-cell {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 310px;
}
.admin-product-thumb {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-product-name {
  display: block;
  color: var(--ink);
  font-weight: 950;
  line-height: 1.25;
}
.admin-product-cell .muted,
.admin-product-preview {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.admin-product-preview {
  color: var(--blue);
  font-weight: 900;
}
.admin-price-stack {
  display: grid;
  gap: 3px;
  min-width: 150px;
}
.admin-price-stack strong {
  color: var(--blue-dark);
  font-size: 16px;
}
.admin-price-stack span {
  color: var(--muted);
  font-size: 12px;
}
.admin-stock-cell {
  display: grid;
  gap: 6px;
  min-width: 94px;
}
.admin-stock-cell strong {
  font-size: 22px;
  line-height: 1;
}
.admin-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 150px;
}
.admin-badge-list .badge {
  min-height: 22px;
  padding: 3px 8px;
}
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 100px;
}
.danger-link {
  color: var(--danger);
}
.product-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
.editor-main { display: grid; gap: 22px; }
.editor-aside {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 18px;
}
.editor-actions { display: grid; gap: 10px; margin-top: 16px; }
.toggle-list { display: grid; gap: 12px; }
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.toggle-row input { width: auto; min-height: auto; margin-top: 4px; }
.toggle-row small { display: block; color: var(--muted); }
.checklist {
  display: grid;
  gap: 10px;
}
.checklist span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--soft);
}
.checklist .done { color: var(--success); font-weight: 900; }
.upload-zone {
  padding: 18px;
  border: 1px dashed rgba(15, 93, 156, .34);
  border-radius: var(--radius);
  background: rgba(15, 93, 156, .04);
}
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.image-tile {
  position: relative;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.image-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 9px;
}
.image-tile a,
.image-tile span { margin-top: 8px; font-size: 12px; font-weight: 900; }
.settings-form {
  display: grid;
  gap: 22px;
}
.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.settings-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.asset-upload {
  padding: 18px;
  border: 1px dashed rgba(15, 93, 156, .3);
  border-radius: var(--radius);
  background: rgba(15, 93, 156, .04);
}
.asset-preview {
  display: grid;
  place-items: center;
  min-height: 130px;
  margin: 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.asset-preview img {
  max-width: 86%;
  max-height: 100px;
  object-fit: contain;
}
.favicon-preview {
  min-height: 110px;
}

@media (max-width: 1180px) {
  .topbar { padding: 0 18px; }
  .topbar-service {
    margin: 0 -18px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .topbar-service::-webkit-scrollbar { display: none; }
  .topbar-main {
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }
  .nav-toggle { display: inline-grid; place-items: center; justify-self: end; }
  .topbar-main .nav-search,
  .topbar-main .nav-actions,
  .topbar-nav-row {
    display: none;
  }
  .topbar.menu-open .topbar-main .nav-search,
  .topbar.menu-open .topbar-main .nav-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .topbar.menu-open .topbar-nav-row {
    display: flex;
  }
  .nav {
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding: 12px 0;
  }
  .nav.open { display: flex; }
  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .nav-search {
    min-width: 0;
    flex: 1 1 320px;
  }
  .grid.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .admin-top { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px) {
  .grid.products,
  .promo-grid,
  .experience-grid,
  .admin-dashboard-grid,
  .admin-profile-grid,
  .admin-banner-grid,
  .preorder-season-panel,
  .report-overview-grid,
  .admin-report-grid,
  .checkout-layout,
  .product-detail,
  .auth-page,
  .account-layout,
  .contact-grid,
  .story-grid,
  .feature-grid,
  .promise-band,
  .settings-media-grid,
  .newsletter,
  .product-editor {
    grid-template-columns: 1fr;
  }
  .product-detail > div:nth-child(2),
  .checkout-summary,
  .account-card,
  .editor-aside {
    position: static;
  }
  .filters,
  .admin-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-layout { display: block; }
  .admin-sidebar {
    position: static;
    height: auto;
    border-radius: 0 0 22px 22px;
  }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-bar-chart {
    overflow-x: auto;
    grid-template-columns: repeat(14, 42px);
  }
  .report-bar-chart-monthly {
    grid-template-columns: repeat(6, 72px);
  }
  .report-mix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .topbar { padding: 0 14px; }
  .topbar-service {
    margin: 0 -14px;
    padding: 6px 14px;
  }
  .topbar-main {
    min-height: 64px;
    gap: 12px;
  }
  .brand-logo { height: 38px; max-width: 145px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand span:last-child { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar.menu-open .topbar-main .nav-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .nav-actions > a {
    justify-content: center;
    text-align: center;
  }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .nav-search { min-width: 0; flex-basis: 100%; }
  .hero { min-height: 560px; padding: 64px 18px; }
  .hero::after { display: none; }
  .trust-strip span { width: 100%; }
  .container { width: min(100% - 28px, var(--max)); padding: 38px 0; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .grid.products,
  .stats,
  .form-grid,
  .filters,
  .admin-filter,
  .footer { grid-template-columns: 1fr; }
  .newsletter {
    width: min(100% - 28px, var(--max));
    padding: 24px;
  }
  .newsletter form { flex-direction: column; border-radius: 16px; }
  .promo-card { min-height: 190px; padding: 24px; }
  .admin-content { padding: 18px; }
  .admin-top-actions,
  .admin-search { width: 100%; }
  .admin-search input { width: 100%; }
  .admin-user { width: 100%; }
  th, td { padding: 12px; }
  .auth-copy { min-height: auto; }
  .whatsapp-bot { right: 14px; bottom: 14px; }
  .report-product {
    min-width: 230px;
  }
  .report-product img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .report-stock-item {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
  .report-stock-item img {
    width: 48px;
    height: 48px;
  }
  .admin-product-cell {
    min-width: 250px;
  }
  .admin-product-thumb {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}

/* Final visual refinement layer */
:root {
  --line: #e3ebf3;
  --soft: #f7f9fc;
  --shadow: 0 18px 42px rgba(16, 32, 51, .09);
  --shadow-soft: 0 8px 22px rgba(16, 32, 51, .06);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  background: #fff;
  color: #102033;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
.btn {
  min-height: 42px;
  border-radius: 8px;
  box-shadow: none;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 93, 156, .14);
}

.btn.secondary,
button.secondary {
  background: #fff;
  box-shadow: none;
}

.topbar {
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(16, 32, 51, .05);
}

.topbar-service {
  min-height: 30px;
  justify-content: space-between;
  gap: 12px;
  color: #dfefff;
  background: #0f3d68;
  font-size: 11px;
  letter-spacing: .02em;
}

.topbar-service span::before,
.topbar-service a::before {
  width: 4px;
  height: 4px;
}

.topbar-main {
  grid-template-columns: minmax(180px, auto) minmax(300px, 520px) auto;
  min-height: 66px;
  gap: 18px;
}

.topbar-nav-row {
  min-height: 38px;
}

.brand {
  gap: 9px;
  font-size: 15px;
  letter-spacing: 0;
}

.brand-logo {
  height: 40px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav a,
.nav-actions > a {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
}

.nav a.active {
  color: var(--blue-dark);
  background: rgba(15, 93, 156, .08);
}

.nav-search {
  min-width: 260px;
  border-radius: 10px;
  box-shadow: none;
}

.nav-search input {
  min-height: 36px;
}

.nav-search button {
  min-height: 36px;
  border-radius: 8px;
}

.account-link {
  border-radius: 8px;
}

.container {
  padding: 44px 0;
}

.store-section {
  padding-top: 48px;
  padding-bottom: 24px;
}

.section-title {
  margin-bottom: 18px;
}

.section-title h1,
.section-title h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.015em;
}

.summary-card,
.panel,
.admin-panel,
.auth-card {
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.summary-card {
  padding: 18px;
}

a.summary-card:hover,
.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 6vw, 72px);
  min-height: 560px;
  padding: 72px clamp(20px, 6vw, 86px);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(15, 61, 104, .96), rgba(15, 93, 156, .82) 52%, rgba(16, 32, 51, .68)),
    url("../img-placeholder.php") center/cover;
}

.hero::after {
  display: none;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: .96;
  letter-spacing: -.035em;
}

.hero p {
  max-width: 580px;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 24px;
}

.trust-strip {
  gap: 8px;
  margin-top: 24px;
}

.trust-strip span {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.hero-showcase {
  align-self: center;
  display: grid;
  gap: 14px;
}

.showcase-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.showcase-card {
  min-height: 150px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}

.showcase-card.primary {
  min-height: 240px;
  background: rgba(255, 255, 255, .16);
}

.showcase-card span {
  color: #dbefff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.showcase-card strong {
  max-width: 320px;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 136px;
  display: grid;
  align-content: space-between;
  border-left: 3px solid var(--gold);
}

.category-card strong {
  font-size: 20px;
}

.promo-card {
  min-height: 190px;
  border-radius: 14px;
  box-shadow: none;
}

.promo-card h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.grid.products {
  gap: 18px;
}

.product-card {
  border-radius: 12px;
  box-shadow: none;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.product-media {
  aspect-ratio: 4 / 5;
  background: #f3f6fa;
}

.product-card-actions {
  opacity: 1;
  transform: none;
  left: 10px;
  right: 10px;
  bottom: 10px;
}

.product-card-actions a,
.product-card-actions button {
  min-height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: none;
}

.product-card .body {
  gap: 9px;
  padding: 14px;
}

.product-card h3 {
  font-size: 16px;
}

.product-card p {
  min-height: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.badge {
  min-height: 24px;
  border-radius: 8px;
  font-size: 11px;
}

.rating {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(182, 139, 45, .1);
  color: #806019;
  font-weight: 900;
}

.price {
  font-size: 20px;
}

.newsletter {
  margin-top: 34px;
  margin-bottom: 46px;
  padding: 30px;
  border-radius: 16px;
  background: #102033;
  box-shadow: none;
}

.newsletter h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.newsletter form {
  border-radius: 12px;
}

.filters,
.admin-filter {
  border-radius: 12px;
  box-shadow: none;
}

input,
select,
textarea {
  border-radius: 8px;
}

.footer {
  background: #102033;
}

.admin-sidebar {
  background: #102033;
}

.admin-top {
  border-radius: 14px;
  box-shadow: none;
}

.kpi-card strong {
  font-size: clamp(24px, 3vw, 34px);
}

.admin-login-body {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(15, 61, 104, .96), rgba(16, 32, 51, .92)),
    url("../img-placeholder.php") center/cover;
}

.admin-login {
  width: min(1120px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.admin-login-hero {
  color: #fff;
}

.admin-login-brand {
  width: fit-content;
  margin-bottom: 42px;
  color: #fff;
}

.admin-login-brand .brand-logo {
  max-width: 180px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18));
}

.admin-login-hero .eyebrow {
  color: #e6c879;
}

.admin-login-hero h1 {
  max-width: 660px;
  margin: 12px 0 16px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: .96;
  letter-spacing: -.04em;
}

.admin-login-hero p {
  max-width: 590px;
  color: #dbeafa;
  font-size: 18px;
}

.admin-login-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.admin-login-highlights div {
  min-height: 118px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
}

.admin-login-highlights strong,
.admin-login-highlights span {
  display: block;
}

.admin-login-highlights strong {
  color: #fff;
  font-size: 18px;
}

.admin-login-highlights span {
  color: #dbeafa;
  font-size: 13px;
  line-height: 1.45;
}

.admin-login-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.admin-login-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.admin-login-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.admin-login-card p {
  margin: 0;
}

.admin-login-card label {
  color: var(--ink);
}

.admin-login-card input {
  min-height: 50px;
  background: #f8fbff;
}

.admin-login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
}

.admin-login-note {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(182, 139, 45, .22);
  border-radius: 12px;
  background: rgba(182, 139, 45, .08);
}

.admin-login-note strong {
  color: #806019;
  font-size: 13px;
}

.admin-login-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .topbar-main {
    grid-template-columns: 1fr auto;
  }

  .topbar.menu-open .topbar-main .nav-search,
  .topbar.menu-open .topbar-main .nav-actions {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-login {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0;
  }

  .admin-login-brand {
    margin-bottom: 26px;
  }

  .admin-login-card {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .topbar-service {
    justify-content: flex-start;
  }

  .topbar-main {
    min-height: 62px;
  }

  .topbar.menu-open .topbar-main .nav-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 18px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .showcase-row,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-card.primary {
    min-height: 128px;
  }

  .cart-product {
    min-width: 220px;
    gap: 10px;
  }

  .cart-product-image {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .admin-login {
    width: min(100% - 28px, 1120px);
  }

  .admin-login-highlights {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .admin-login-highlights div {
    min-height: 92px;
  }

  .admin-login-card {
    padding: 22px;
    border-radius: 14px;
  }

  .admin-login-card h2 {
    font-size: 26px;
  }
}

/* Mobile resilience layer */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

table {
  min-width: 720px;
}

.table-wrap,
.admin-panel,
.panel,
.summary-card,
.auth-card,
.product-card {
  min-width: 0;
}

.container > form,
.container > table,
.admin-content,
.admin-panel-body,
.summary-card {
  overflow-x: auto;
}

.table-wrap {
  -webkit-overflow-scrolling: touch;
}

.table-wrap table,
.admin-panel table {
  width: max-content;
  min-width: 100%;
}

@media (max-width: 1024px) {
  .topbar {
    padding: 0 16px;
  }

  .topbar-service {
    margin: 0 -16px;
    padding-inline: 16px;
  }

  .container,
  .auth-page,
  .admin-login {
    width: min(100% - 32px, var(--max));
  }

  .grid.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters,
  .admin-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters button,
  .admin-filter button {
    width: 100%;
  }

  .product-detail,
  .checkout-layout,
  .auth-page,
  .faq-hero-modern,
  .faq-modern-layout,
  .product-editor,
  .account-layout,
  .contact-grid,
  .story-grid,
  .newsletter,
  .admin-dashboard-grid,
  .report-overview-grid,
  .admin-report-grid {
    grid-template-columns: 1fr;
  }

  .product-detail > div:nth-child(2),
  .checkout-summary,
  .faq-support-panel,
  .editor-aside,
  .account-card {
    position: static;
  }

  .admin-layout {
    display: block;
  }

  .admin-sidebar {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    border-radius: 0 0 16px 16px;
  }

  .admin-nav {
    display: grid;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav a {
    white-space: nowrap;
  }

  .admin-nav-heading {
    display: flex;
  }

  .admin-sidebar-footer {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-sidebar-footer a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .admin-content {
    padding: 22px;
  }

  .admin-top-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-search {
    flex: 1 1 280px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
    line-height: 1.55;
  }

  button,
  .btn,
  input,
  select,
  textarea {
    min-height: 44px;
  }

  button,
  .btn {
    padding-inline: 14px;
  }

  .topbar-main {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar.menu-open .topbar-main .nav-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .topbar.menu-open .topbar-main .nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nav-actions > a,
  .nav a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .container,
  .auth-page,
  .admin-login {
    width: min(100% - 24px, var(--max));
    padding-block: 30px;
  }

  .section-title {
    gap: 8px;
  }

  .section-title h1,
  .section-title h2,
  .product-detail h1,
  .auth-copy h1,
  .admin-login-hero h1 {
    overflow-wrap: anywhere;
  }

  .hero {
    padding: 36px 14px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1;
  }

  .hero-actions,
  .faq-hero-actions,
  .cart-actions,
  .editor-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .hero-actions button,
  .faq-hero-actions .btn,
  .faq-hero-actions button,
  .cart-actions .btn,
  .cart-actions button,
  .editor-actions .btn,
  .editor-actions button {
    width: 100%;
  }

  .grid.products,
  .stats,
  .form-grid,
  .filters,
  .admin-filter,
  .faq-modern-layout,
  .settings-media-grid,
  .report-mix-grid,
  .footer,
  .promo-grid,
  .experience-grid,
  .category-grid,
  .showcase-row,
  .admin-login-highlights {
    grid-template-columns: 1fr;
  }

  .summary-card,
  .panel,
  .admin-panel,
  .faq-support-card,
  .faq-quick-card,
  .faq-list-modern details,
  .auth-card {
    border-radius: 10px;
  }

  .summary-card,
  .auth-card,
  .admin-login-card,
  .admin-panel-body {
    padding: 16px;
  }

  .product-card-actions {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 12px 12px;
  }

  .product-card-actions a,
  .product-card-actions button {
    width: 100%;
  }

  .product-meta,
  .product-card-footer,
  .summary-row,
  .summary-total {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .rewards-wallet-stats {
    gap: 10px;
  }

  .rewards-share-card,
  .rewards-panel {
    padding: 14px;
  }

  .reward-history-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .reward-points {
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    text-align: right;
  }

  .product-detail > div:nth-child(2) {
    padding: 16px;
  }

  .faq-hero-panel,
  .faq-support-card {
    padding: 18px;
  }

  .faq-category-strip {
    top: 68px;
    margin-inline: -4px;
  }

  .faq-group {
    scroll-margin-top: 92px;
  }

  .faq-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .faq-group-heading span {
    order: 0;
  }

  .faq-list-modern summary {
    min-height: 56px;
    padding: 15px 16px;
  }

  .faq-list-modern p {
    padding: 15px 16px 18px;
  }

  .thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .checkout-summary button,
  .auth-card button,
  .settings-form > button {
    width: 100%;
  }

  .auth-copy {
    min-height: auto;
    padding: 24px;
  }

  .admin-content {
    padding: 16px 12px;
  }

  .admin-top {
    padding: 16px;
  }

  .admin-top-actions,
  .admin-search {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-user,
  .notification-pill,
  .icon-btn {
    width: 100%;
    justify-content: center;
  }

  .admin-product-cell,
  .cart-product,
  .report-product {
    min-width: 0;
  }

  .whatsapp-bot-panel {
    width: calc(100vw - 24px);
    right: 0;
  }
}

@media (max-width: 480px) {
  .topbar-service span {
    display: none;
  }

  .topbar-service a {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    max-width: 116px;
    height: 34px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-search {
    padding: 4px;
  }

  .nav-search button {
    padding-inline: 10px;
  }

  .container,
  .auth-page,
  .admin-login {
    width: min(100% - 20px, var(--max));
  }

  .section-title h1,
  .section-title h2 {
    font-size: 26px;
  }

  .product-detail h1,
  .auth-copy h1,
  .faq-hero-modern h1,
  .admin-login-hero h1 {
    font-size: 32px;
  }

  .faq-category-strip {
    top: 62px;
    padding: 8px;
  }

  .faq-category-strip a {
    padding: 7px 10px;
    font-size: 12px;
  }

  .faq-hero-panel strong,
  .faq-support-card h2 {
    font-size: 22px;
  }

  .price,
  .summary-total strong {
    font-size: 20px;
  }

  .cart-product {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .cart-product-image {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  th,
  td {
    padding: 10px;
  }

  table {
    min-width: 640px;
  }

  .whatsapp-bot {
    right: 10px;
    bottom: 10px;
  }

  .whatsapp-bot-toggle {
    width: 52px;
    height: 52px;
  }
}

/* System-wide design refresh */
:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e6eaf0;
  --blue: #1769aa;
  --blue-dark: #103f68;
  --gold: #c59a34;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --danger: #b42318;
  --success: #067647;
  --shadow: 0 18px 46px rgba(16, 24, 40, .12);
  --shadow-soft: 0 8px 24px rgba(16, 24, 40, .08);
  --radius: 8px;
  --radius-sm: 8px;
}

body {
  background:
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 36%, #f7f9fc 100%);
}

main {
  isolation: isolate;
}

a {
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

button,
.btn {
  border-radius: 8px;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: none;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(23, 105, 170, .16);
}

.btn.secondary,
button.secondary {
  background: #fff;
  color: var(--blue-dark);
}

.topbar {
  border-bottom: 1px solid rgba(230, 234, 240, .92);
  background: rgba(255, 255, 255, .96);
}

.topbar-service {
  background: #101828;
  color: #eef4ff;
}

.topbar-main {
  min-height: 68px;
}

.brand {
  color: var(--ink);
}

.brand-logo {
  height: 42px;
}

.brand-mark {
  border-radius: 8px;
  background: #103f68;
  box-shadow: none;
}

.nav,
.nav-actions {
  gap: 6px;
}

.nav a,
.nav-actions > a,
.account-link,
.icon-btn,
.notification-pill {
  border-radius: 8px;
}

.nav a.active,
.nav a:hover,
.nav-actions > a:hover {
  background: #eef5fb;
  color: var(--blue-dark);
}

.account-link {
  background: var(--ink);
}

.nav-search,
.admin-search {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.container {
  padding: 42px 0;
}

.section-title {
  align-items: center;
}

.section-title h1,
.section-title h2,
.content-hero h1,
.contact-hero h1,
.product-detail h1,
.auth-copy h1,
.admin-login-hero h1 {
  letter-spacing: 0;
}

.summary-card,
.panel,
.admin-panel,
.auth-card,
.faq-support-card,
.faq-quick-card,
.faq-list-modern details,
.product-card {
  border-color: var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.summary-card:hover,
a.summary-card:hover,
.product-card:hover {
  border-color: #c9d9e8;
  box-shadow: var(--shadow-soft);
}

.badge,
.status,
.rating,
.pagination a,
.trust-strip span,
.footer-badges span {
  border-radius: 8px;
}

.badge {
  border-color: #d4e6f5;
  background: #eef6fd;
}

.alert {
  border-radius: 8px;
}

.hero,
.content-hero,
.contact-hero,
.auth-copy,
.admin-login-body {
  background:
    linear-gradient(105deg, rgba(16, 24, 40, .92), rgba(16, 63, 104, .84) 52%, rgba(23, 105, 170, .55)),
    url("../img-placeholder.php") center/cover;
}

.hero {
  min-height: 520px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.hero-showcase,
.showcase-card,
.faq-hero-panel {
  border-radius: 8px;
}

.showcase-card,
.faq-hero-panel {
  background: rgba(255, 255, 255, .13);
}

.grid.products {
  gap: 20px;
}

.product-card {
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-media {
  background: #f2f5f8;
}

.product-ribbon {
  border-radius: 8px;
  background: var(--ink);
}

.product-card .body {
  padding: 16px;
}

.product-card h3 {
  color: var(--ink);
}

.product-card-footer {
  padding-top: 2px;
}

.price {
  color: var(--blue-dark);
  font-size: 21px;
}

input,
select,
textarea {
  border-color: #d9e1ea;
  border-radius: 8px;
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #98a2b3;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 170, .1);
}

.filters,
.admin-filter {
  border-radius: 8px;
  background: #fff;
}

.pagination {
  padding-top: 4px;
}

.pagination a.active {
  background: var(--ink);
  border-color: var(--ink);
}

.product-detail > div:nth-child(2),
.checkout-summary,
.account-card,
.editor-aside .admin-panel {
  box-shadow: var(--shadow-soft);
}

.gallery-main,
.thumbs img,
.cart-product-image,
.admin-product-thumb,
.asset-preview,
.image-tile,
.contact-image,
.story-image {
  border-radius: 8px;
}

table {
  border: 1px solid var(--line);
  border-radius: 8px;
}

th {
  background: #f8fafc;
  letter-spacing: .04em;
}

tbody tr:hover {
  background: #f8fbff;
}

.admin-body {
  background: #f6f8fb;
}

.admin-sidebar {
  background: #101828;
}

.admin-sidebar a {
  border-radius: 8px;
}

.admin-nav a.active,
.admin-nav a:hover,
.admin-sidebar-footer a:hover {
  background: rgba(255, 255, 255, .12);
}

.admin-top {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.kpi-card {
  border-top: 3px solid var(--blue);
}

.admin-panel-header {
  border-bottom-color: var(--line);
}

.faq-category-strip,
.faq-list-modern summary::after {
  border-radius: 8px;
}

.faq-list-modern details[open] summary::after {
  background: var(--ink);
}

.footer {
  background: #101828;
}

.whatsapp-bot-toggle {
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .24);
}

.whatsapp-bot-panel {
  border-radius: 8px;
}

@media (max-width: 760px) {
  .topbar {
    padding-inline: 12px;
  }

  .topbar-service {
    margin-inline: -12px;
  }

  .container {
    padding: 28px 0;
  }

  .section-title {
    align-items: flex-start;
  }

  .hero,
  .content-hero,
  .contact-hero {
    min-height: auto;
    padding: 38px 16px;
  }

  .summary-card,
  .panel,
  .admin-panel,
  .auth-card,
  .product-card {
    border-radius: 8px;
  }

  .product-card .body {
    padding: 14px;
  }
}

/* Premium navy and gold redesign */
:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e8dfca;
  --blue: #0f4f86;
  --blue-dark: #071f3a;
  --gold: #c8a24a;
  --gold-soft: #f7ecd0;
  --paper: #fffdf8;
  --soft: #fbf7ed;
  --danger: #b42318;
  --success: #087443;
  --shadow: 0 24px 60px rgba(7, 31, 58, .16);
  --shadow-soft: 0 12px 30px rgba(7, 31, 58, .1);
  --radius: 8px;
  --radius-sm: 8px;
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdf8 0%, #fbf7ed 48%, #ffffff 100%);
}

button,
.btn {
  background: linear-gradient(135deg, #0b3158, #0f4f86);
  color: #fff;
  border: 1px solid rgba(200, 162, 74, .24);
}

button:hover,
.btn:hover {
  background: linear-gradient(135deg, #071f3a, #0f4f86);
  box-shadow: 0 14px 30px rgba(7, 31, 58, .2);
}

.btn.secondary,
button.secondary {
  background: #fffdf8;
  color: var(--blue-dark);
  border: 1px solid rgba(200, 162, 74, .42);
}

.btn.gold {
  background: linear-gradient(135deg, #b98b26, #d6b45a);
  color: #071f3a;
}

.topbar {
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(200, 162, 74, .28);
  box-shadow: 0 12px 28px rgba(7, 31, 58, .08);
}

.topbar-service {
  background: linear-gradient(90deg, #071f3a, #0b3158);
  color: #fff7df;
}

.topbar-service span::before,
.topbar-service a::before {
  background: var(--gold);
}

.brand {
  color: var(--blue-dark);
}

.brand-mark {
  background: linear-gradient(135deg, #071f3a, #0f4f86);
  color: #f6d77a;
  border: 1px solid rgba(200, 162, 74, .36);
}

.nav a,
.nav-actions > a {
  color: #344054;
}

.nav a.active,
.nav a:hover,
.nav-actions > a:hover {
  background: var(--gold-soft);
  color: var(--blue-dark);
}

.account-link {
  background: linear-gradient(135deg, #071f3a, #0b3158);
  color: #fff !important;
  border: 1px solid rgba(200, 162, 74, .32);
}

.nav-search,
.filters,
.admin-filter,
.admin-search {
  border-color: rgba(200, 162, 74, .34);
  background: #fffdf8;
}

.nav-search button,
.admin-search button {
  background: var(--gold);
  color: #071f3a;
  border-color: rgba(7, 31, 58, .12);
}

.hero,
.content-hero,
.contact-hero,
.faq-hero-modern,
.auth-copy,
.admin-login-body {
  background:
    linear-gradient(105deg, rgba(7, 31, 58, .96), rgba(11, 49, 88, .88) 50%, rgba(200, 162, 74, .46)),
    url("../img-placeholder.php") center/cover;
}

.hero h1,
.content-hero h1,
.contact-hero h1,
.faq-hero-modern h1,
.auth-copy h1,
.admin-login-hero h1 {
  color: #fff;
}

.hero p,
.content-hero p,
.contact-hero p,
.faq-hero-modern p,
.auth-copy p,
.admin-login-hero p {
  color: #f3ead5;
}

.eyebrow,
.price-label,
.faq-hero-panel span,
.promo-card span,
.showcase-card span {
  color: var(--gold);
}

.hero-actions .btn.secondary,
.faq-hero-modern .btn.secondary {
  background: rgba(255, 253, 248, .1);
  color: #fff;
  border-color: rgba(200, 162, 74, .5);
}

.trust-strip span,
.footer-badges span,
.showcase-card,
.faq-hero-panel,
.admin-login-highlights div {
  border-color: rgba(200, 162, 74, .36);
  background: rgba(255, 253, 248, .1);
}

.summary-card,
.panel,
.admin-panel,
.auth-card,
.faq-support-card,
.faq-quick-card,
.faq-list-modern details,
.product-card,
.asset-upload,
.upload-zone,
.newsletter {
  border-color: rgba(200, 162, 74, .28);
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 10px 26px rgba(7, 31, 58, .08);
}

.summary-card:hover,
a.summary-card:hover,
.product-card:hover,
.faq-list-modern details[open] {
  border-color: rgba(200, 162, 74, .62);
  box-shadow: var(--shadow-soft);
}

.badge {
  border-color: rgba(200, 162, 74, .38);
  background: #fbf1d7;
  color: #071f3a;
}

.status,
.rating {
  border: 1px solid rgba(200, 162, 74, .3);
  background: #fbf1d7;
  color: #7a5b17;
}

.status.paid,
.status.success,
.status.in_stock,
.status.completed {
  background: #e8f5ee;
  border-color: #b7dfc8;
  color: var(--success);
}

.price {
  color: #071f3a;
}

.price::first-letter {
  color: var(--gold);
}

.product-card {
  border-top: 3px solid rgba(200, 162, 74, .72);
}

.product-ribbon {
  background: linear-gradient(135deg, #b98b26, #d6b45a);
  color: #071f3a;
}

.product-card-actions a,
.product-card-actions button,
.pagination a {
  border-color: rgba(200, 162, 74, .4);
  background: rgba(255, 253, 248, .96);
  color: var(--blue-dark);
}

.product-card-actions a:hover,
.product-card-actions button:hover,
.pagination a:hover,
.pagination a.active {
  background: var(--blue-dark);
  border-color: var(--gold);
  color: #fff;
}

input,
select,
textarea {
  border-color: rgba(200, 162, 74, .34);
  background: #fffdf8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 74, .16);
}

.gallery-main,
.thumbs img,
.cart-product-image,
.admin-product-thumb,
.asset-preview,
.image-tile,
.contact-image,
.story-image {
  border-color: rgba(200, 162, 74, .3);
  background: #fffdf8;
}

table {
  border-color: rgba(200, 162, 74, .32);
  background: #fffdf8;
}

th {
  background: #071f3a;
  color: #f9e7b2;
}

tbody tr {
  background: #fffdf8;
}

tbody tr:hover {
  background: #fbf1d7;
}

.checkout-summary,
.product-detail > div:nth-child(2),
.account-card,
.editor-aside .admin-panel {
  border-top: 3px solid var(--gold);
}

.summary-total {
  color: var(--blue-dark);
}

.summary-total strong {
  color: var(--gold);
}

.admin-body {
  background: #f7f2e8;
}

.admin-sidebar {
  background: linear-gradient(180deg, #071f3a, #0b3158);
  border-right: 1px solid rgba(200, 162, 74, .25);
}

.admin-brand,
.admin-sidebar a {
  color: #f8edd2;
}

.admin-nav-heading {
  color: #d6b45a;
}

.admin-nav a span {
  background: rgba(200, 162, 74, .16);
  color: #f6d77a;
}

.admin-nav a.active,
.admin-nav a:hover,
.admin-sidebar-footer a:hover {
  background: rgba(200, 162, 74, .14);
  color: #fff;
}

.admin-top,
.admin-panel {
  background: #fffdf8;
}

.admin-eyebrow,
.action-link,
.admin-product-preview,
.auth-switch a,
.faq-quick-card a {
  color: var(--blue);
}

.kpi-card {
  border-top-color: var(--gold);
}

.report-bar-fill,
.report-inline-bar span {
  background: linear-gradient(180deg, #d6b45a, #b98b26);
}

.newsletter,
.promo-card,
.promo-card:nth-child(2),
.promise-band,
.footer {
  background: linear-gradient(135deg, #071f3a, #0b3158);
  color: #fff;
}

.newsletter p,
.promo-card p,
.promise-band span,
.footer p,
.footer a {
  color: #f3ead5;
}

.newsletter button {
  background: var(--gold);
  color: #071f3a;
}

.faq-category-strip {
  border-color: rgba(200, 162, 74, .34);
  background: rgba(255, 253, 248, .96);
}

.faq-category-strip a,
.faq-list-modern summary::after {
  background: #fbf1d7;
  color: #071f3a;
}

.faq-list-modern details[open] summary::after {
  background: var(--gold);
  color: #071f3a;
}

.google-auth-btn {
  border-color: rgba(200, 162, 74, .34);
  background: #fffdf8;
}

.admin-login-card {
  border-color: rgba(200, 162, 74, .48);
  background: rgba(255, 253, 248, .97);
}

.whatsapp-bot-toggle {
  border: 1px solid rgba(255, 255, 255, .36);
  background: #0f8f5f;
}

.whatsapp-bot-panel header {
  background: linear-gradient(135deg, #071f3a, #0b3158);
}

@media (max-width: 760px) {
  .topbar {
    background: rgba(255, 253, 248, .98);
  }

  .topbar.menu-open .topbar-main .nav-actions,
  .topbar.menu-open .topbar-main .nav-search,
  .nav.open {
    padding-bottom: 10px;
  }

  .product-card {
    border-top-width: 2px;
  }
}

/* White base with true gold accents */
:root {
  --line: #e5e7eb;
  --gold: #d4af37;
  --gold-soft: #fff8df;
  --paper: #ffffff;
  --soft: #f8fafc;
  --shadow: 0 24px 60px rgba(7, 31, 58, .14);
  --shadow-soft: 0 12px 30px rgba(7, 31, 58, .08);
}

html,
body {
  background: #ffffff;
}

body {
  background: #ffffff;
}

.topbar {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: rgba(212, 175, 55, .32);
}

.nav-search,
.filters,
.admin-filter,
.admin-search,
.summary-card,
.panel,
.admin-panel,
.auth-card,
.faq-support-card,
.faq-quick-card,
.faq-list-modern details,
.product-card,
.asset-upload,
.upload-zone,
.google-auth-btn,
.admin-login-card,
input,
select,
textarea,
tbody tr,
table {
  background: #ffffff;
}

.badge,
.rating,
.status,
.faq-category-strip a,
.faq-list-modern summary::after {
  background: var(--gold-soft);
  color: #071f3a;
}

.product-card-actions a,
.product-card-actions button,
.pagination a,
.btn.secondary,
button.secondary {
  background: #ffffff;
}

.product-ribbon,
.newsletter button,
.nav-search button,
.admin-search button,
.faq-list-modern details[open] summary::after {
  background: var(--gold);
  color: #071f3a;
}

tbody tr:hover {
  background: #f8fafc;
}

.admin-body {
  background: #ffffff;
}

@media (max-width: 760px) {
  .topbar {
    background: rgba(255, 255, 255, .98);
  }
}

.partner-link-control {
  grid-template-columns: minmax(170px, 1fr) 84px;
}

.partner-link-control .copy-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 84px;
  min-width: 84px;
  height: 38px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(15, 93, 156, .22);
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transform: none;
}

.partner-link-control .copy-link-btn:hover,
.partner-link-control .copy-link-btn.copied {
  background: rgba(20, 122, 69, .1);
  color: var(--success);
  border-color: rgba(20, 122, 69, .38);
  box-shadow: none;
}

.partner-link-control .copy-link-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 16px;
}

/* Responsive safety layer for public, customer, affiliate, and dropshipper pages */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main,
.container,
.panel,
.summary-card,
.product-card,
.admin-panel,
.table-wrap,
.form-grid,
.grid,
.section-title,
.checkout-layout,
.product-detail,
.account-layout,
.auth-page {
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
strong,
span,
small,
td,
th,
label,
input,
textarea,
select,
.muted,
.badge,
.status,
.btn,
button,
.action-link,
.cart-product-title,
.product-card h3,
.section-title {
  overflow-wrap: anywhere;
}

.table-wrap {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.table-wrap table {
  min-width: 720px;
}

.compact-table-wrap table,
.wholesale-tier-table {
  min-width: 0;
}

.table-wrap th,
.table-wrap td {
  white-space: normal;
}

.actions,
.hero-actions,
.checkout-step-actions,
.cart-actions,
.admin-row-actions,
.inline-form,
.product-card-actions,
.partner-link-control,
.partner-link-filters,
.filters,
.admin-filter,
.bulk-actions {
  min-width: 0;
}

.checkout-progress {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.checkout-progress button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.checkout-cart-item,
.cart-product,
.partner-product-cell,
.admin-order-item-product,
.order-detail-list p,
.summary-row,
.summary-total,
.kpi-meta {
  min-width: 0;
}

.product-detail img,
.product-media img,
.cart-product-image img,
.partner-product-cell img,
.admin-product-thumb,
.admin-banner-cell img,
.admin-order-item-product img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .grid,
  .stats,
  .form-grid,
  .admin-dashboard-grid,
  .admin-profile-grid,
  .account-dashboard-grid,
  .account-layout,
  .checkout-layout,
  .product-detail,
  .auth-page,
  .contact-grid,
  .product-editor,
  .report-overview-grid,
  .admin-report-grid,
  .backup-action-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .compact-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title > .btn,
  .section-title > a,
  .compact-title > .btn,
  .compact-title > a {
    width: 100%;
  }

  .product-detail > div:nth-child(2),
  .checkout-summary,
  .editor-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    min-width: 320px;
  }

  .container {
    width: min(100% - 24px, var(--max));
    padding-block: 28px;
  }

  .panel,
  .summary-card,
  .product-card .body,
  .rewards-share-card,
  .rewards-panel {
    padding: 14px;
  }

  .stats {
    gap: 10px;
  }

  .actions,
  .hero-actions,
  .checkout-step-actions,
  .cart-actions,
  .admin-row-actions,
  .inline-form,
  .product-card-actions,
  .partner-link-filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .actions .btn,
  .actions button,
  .hero-actions .btn,
  .hero-actions button,
  .checkout-step-actions .btn,
  .checkout-step-actions button,
  .cart-actions .btn,
  .cart-actions button,
  .admin-row-actions .btn,
  .admin-row-actions a,
  .inline-form .btn,
  .inline-form button,
  .product-card-actions a,
  .product-card-actions button {
    width: 100%;
  }

  .topbar-service {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .topbar-main {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .topbar.menu-open .topbar-main .nav-actions {
    grid-template-columns: 1fr;
  }

  .nav-search {
    width: 100%;
  }

  .product-card-actions {
    position: static;
    opacity: 1;
    transform: none;
    margin-top: 8px;
  }

  .cart-product,
  .checkout-cart-item,
  .partner-product-cell,
  .admin-order-item-product {
    align-items: flex-start;
  }

  .partner-link-control {
    grid-template-columns: 1fr;
  }

  .partner-link-control .copy-link-btn {
    width: 100%;
    min-width: 0;
  }

  .checkout-progress {
    display: flex;
    gap: 8px;
    padding-bottom: 6px;
  }

  .checkout-progress button {
    min-width: 128px;
  }

  .table-wrap {
    margin-inline: -2px;
    border-radius: 8px;
  }

  .table-wrap table {
    min-width: 640px;
  }

  .compact-table-wrap table,
  .wholesale-tier-table {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  button,
  .btn,
  input,
  select,
  textarea {
    min-height: 44px;
  }

  .container {
    width: min(100% - 18px, var(--max));
  }

  .panel,
  .summary-card,
  .auth-card,
  .rewards-share-card,
  .rewards-panel {
    padding: 12px;
  }

  .cart-product,
  .checkout-cart-item,
  .partner-product-cell,
  .admin-order-item-product {
    gap: 10px;
  }

  .cart-product-image {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }

  .table-wrap table {
    min-width: 560px;
  }

  .compact-table-wrap table,
  .wholesale-tier-table {
    min-width: 0;
  }
}

/* Forgot password verification modal */
.auth-reset-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, .62);
  backdrop-filter: blur(8px);
}

.auth-reset-dialog {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-reset-dialog h2 {
  margin: 0;
}

.auth-reset-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  min-width: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 520px) {
  .auth-reset-dialog {
    padding: 22px;
    border-radius: 18px;
  }
}

/* Public header search sizing */
.nav-search {
  grid-template-columns: minmax(0, 1fr) auto;
}

.nav-search button {
  min-width: 92px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .topbar.menu-open .topbar-main .nav-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
    gap: 6px;
    padding: 6px;
  }

  .nav-search button {
    min-width: 96px;
    padding-inline: 14px;
  }
}

@media (max-width: 420px) {
  .topbar.menu-open .topbar-main .nav-search {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .topbar.menu-open .nav-search button {
    width: 100%;
  }
}
