:root {
  --brand-red: #e50914;
  --brand-red-dark: #b80812;
  --ink: #151316;
  --muted: #6d6872;
  --line: #ebe7ea;
  --soft: #f8f5f6;
  --cream: #fff7f7;
  --success: #118a5b;
  --shadow: 0 18px 45px rgba(24, 19, 22, 0.11);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.68);
}

* {
  box-sizing: border-box;
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 9, 20, 0.72) rgba(21, 19, 22, 0.08);
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: rgba(21, 19, 22, 0.06);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: rgba(229, 9, 20, 0.72);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(184, 8, 18, 0.92);
  border: 2px solid transparent;
  background-clip: content-box;
}
body {
  font-family:
    "Montserrat",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.32;
}

a {
  color: inherit;
}
p {
  line-height: 1.35;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.badge {
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
.modal-title {
  line-height: 1.05;
}
.public-nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 16px 34px rgba(20, 18, 23, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}
.navbar-brand img {
  width: 170px;
  height: auto;
}
.nav-link {
  font-weight: 500;
  color: var(--ink);
}
.nav-link:hover {
  color: var(--brand-red);
}
.nav-icon-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(21, 19, 22, 0.12);
  border-radius: 8px;
  text-decoration: none;
}
.nav-icon-link:hover {
  color: var(--brand-red);
  border-color: rgba(229, 9, 20, 0.26);
}
.nav-icon-link svg {
  width: 18px;
  height: 18px;
}
.btn {
  border-radius: 8px;
  padding: 0.72rem 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.btn-sm {
  padding: 0.56rem 0.86rem;
}
.form-control,
.form-select {
  border-radius: 8px;
  border-color: rgba(21, 19, 22, 0.12);
}
.btn-red {
  color: #fff;
  border: 1px solid var(--brand-red);
  background: var(--brand-red);
  box-shadow: 0 12px 24px rgba(229, 9, 20, 0.16);
}
.btn-red:hover {
  color: #fff;
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
}
.icon-btn,
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.icon-btn svg,
.icon-link svg,
.trust-pill svg,
.verified-badge svg,
.rating-pill svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.btn > svg:only-child,
.btn > i:only-child {
  margin: 0;
}
.badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 1.48rem;
  line-height: 1;
  vertical-align: middle;
}
.flash-stack {
  position: relative;
  z-index: 4;
  padding-top: 1rem;
}

.burger-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 19, 22, 0.12);
  border-radius: 8px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  box-shadow: none;
}
.burger-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 9, 20, 0.12);
}
.burger-toggle span {
  width: 21px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.burger-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(255, 255, 255, 0.9),
      transparent 24rem
    ),
    linear-gradient(135deg, #fff 0%, #fff4f5 46%, #f2f4f7 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 640px;
  padding-block: 4rem 3rem;
}
.hero-copy h1,
.page-head h1,
.seller-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0.32rem 0 0.55rem;
  font-weight: 700;
}
.hero-copy p,
.page-head p,
.seller-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 58ch;
  margin-bottom: 0;
}
.eyebrow {
  color: var(--brand-red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: .2rem;
}
.hero-art {
  justify-self: center;
  width: min(420px, 90vw);
  padding: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
.hero-art img {
  width: 100%;
  display: block;
}
.search-shell {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  max-width: 690px;
  padding: 0.55rem;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.search-shell input {
  border: 0;
  outline: 0;
  min-width: 0;
  font-size: 1rem;
  background: transparent;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.brand-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
.brand-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(24, 19, 22, 0.12);
}

.section-pad {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin: 0;
  letter-spacing: 0;
  font-weight: 700;
}
.icon-link {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: none;
}
.soft-band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.item-grid:has(> :nth-child(9):last-child),
.item-grid:has(> :nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.item-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.item-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.item-grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.item-grid:has(> :only-child) {
  grid-template-columns: 1fr;
}
.market-card,
.panel,
.form-card,
.filter-panel,
.table-panel,
.review-card,
.seller-tile,
.feature-list article,
.stat-card {
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 14px 34px rgba(24, 19, 22, 0.08);
}
.market-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.market-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.market-card__image {
  display: block;
  aspect-ratio: 1 / 1.08;
  background: var(--soft);
  overflow: hidden;
}
.market-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}
.market-card:hover img {
  transform: scale(1.035);
}
.market-card__body {
  padding: 0.9rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
}
.market-card__title {
  font-size: 1rem;
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}
.price,
.detail-price {
  color: var(--brand-red);
  font-weight: 700;
  margin: 0.35rem 0;
}
.seller-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: auto;
}
.trust-pill,
.verified-badge,
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--success);
  font-weight: 600;
}
.trust-pill {
  color: var(--brand-red);
}
.verified-check {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-left: 0.28rem;
  border-radius: 999px;
  color: #fff;
  background: #0095f6;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.48),
    0 5px 12px rgba(0, 149, 246, 0.25);
  vertical-align: -3px;
}
.verified-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}
.seller-name {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.seller-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.seller-tile {
  padding: 1rem;
  text-decoration: none;
  display: grid;
  gap: 0.4rem;
}
.seller-tile strong {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.seller-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: var(--brand-red);
}
.cta-band {
  background: linear-gradient(135deg, var(--brand-red), #161113);
  color: #fff;
}
.cta-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  padding-block: 3rem;
}
.cta-grid p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.support-strip {
  background: linear-gradient(135deg, #fff, #fff2f3);
  border-top: 1px solid var(--line);
}
.support-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2.4rem;
}
.support-grid p {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}
.support-contact-stack {
  display: grid;
  gap: 0.85rem;
  align-self: start;
}
.contact-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 14px 34px rgba(24, 19, 22, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
}
.contact-card.subtle {
  box-shadow: none;
}
.contact-card > svg {
  color: var(--brand-red);
  flex: 0 0 auto;
}
.contact-card strong,
.contact-card a,
.contact-card span {
  display: block;
}
.contact-card strong {
  font-weight: 600;
}
.contact-card a {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 600;
}
.contact-card span {
  color: var(--muted);
  margin-top: 0.15rem;
}
.trust-note {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust-note__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust-note__inner svg {
  color: var(--brand-red);
  flex: 0 0 auto;
}
.trust-note__inner a {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 600;
  margin-left: auto;
}

.public-footer {
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.08), transparent 30%), #161113;
  color: #fff;
  padding-block: 3.25rem 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(
      2,
      minmax(150px, 0.65fr)
    ) minmax(140px, 0.5fr);
  gap: 1.5rem;
  align-items: start;
}
.footer-brand-block img {
  width: 170px;
}
.footer-brand-block p {
  color: rgba(255, 255, 255, 0.68);
  margin: 1rem 0;
  max-width: 48ch;
}
.footer-col {
  display: grid;
  gap: 0.55rem;
}
.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
}
.footer-col a:hover {
  color: #fff;
}
.footer-socials {
  display: flex;
  gap: 0.6rem;
}
.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}
.footer-powered {
  align-content: start;
  justify-items: start;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}
.footer-powered a {
  color: rgba(255, 255, 255, 0.74);
}
.footer-mini-links {
  display: flex;
  gap: 0.42rem;
}
.footer-mini-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-mini-links svg {
  width: 16px;
  height: 16px;
}

.page-head {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(135deg, #fff, #fff2f3);
  border-bottom: 1px solid var(--line);
}
.page-head.compact {
  padding-block: 2rem;
}
.filter-panel {
  padding: 1rem;
}
.filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(160px, 0.8fr)) auto;
  gap: 0.75rem;
  align-items: end;
}
.filter-grid--compact {
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 240px) auto;
}
.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  gap: 1rem;
}
.ad-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ad-unit {
  min-height: 92px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #1c171a, var(--brand-red));
  overflow: hidden;
}
.ad-unit img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}
.gallery-panel,
.detail-panel {
  border-radius: 8px;
}
.main-photo {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}
.thumb-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}
.thumb-row img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--line);
}
.detail-panel {
  padding: 1rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--shadow);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}
.spec-grid span {
  display: grid;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.spec-grid strong {
  color: var(--ink);
  font-weight: 600;
}
.seller-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
  border-radius: 8px;
  background: rgba(248, 245, 246, 0.78);
}
.seller-summary div {
  display: grid;
}
.seller-summary span {
  color: var(--muted);
}
.delivery-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0;
}
.delivery-icons span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.delivery-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.contact-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 247, 247, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(229, 9, 20, 0.18);
}
.contact-panel h2,
.seller-payment-preview h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.seller-payment-preview {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}
.seller-payment-preview span {
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem;
  border-radius: 8px;
  background: rgba(248, 245, 246, 0.78);
}
.seller-payment-preview strong {
  font-weight: 600;
  color: var(--brand-red);
}
.payment-disclaimer {
  color: var(--muted);
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.14);
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.seller-hero {
  background: linear-gradient(135deg, #1b1719, #2b1114);
  color: #fff;
  padding-block: 3rem;
}
.seller-hero__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.seller-mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-red);
}
.seller-mark svg {
  width: 38px;
  height: 38px;
}
.seller-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: end;
}
.review-grid,
.split-layout,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 1rem;
  align-items: stretch;
}
.split-layout--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
}
.review-card,
.form-card,
.panel {
  padding: 1rem;
  height: 100%;
}
.form-card,
.panel {
  display: flex;
  flex-direction: column;
}
.panel h2,
.form-card h2,
.feature-list h2 {
  line-height: 1.1;
}
.panel p,
.form-card p,
.feature-list p,
.review-card p {
  line-height: 1.35;
}
.review-card + .review-card {
  margin-top: 0.75rem;
}
.feature-list {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.feature-list article {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  min-height: 100%;
  align-items: flex-start;
}
.feature-list svg {
  color: var(--brand-red);
  flex: 0 0 auto;
  margin-top: 0.08rem;
}
.feature-list span {
  color: var(--brand-red);
  font-weight: 600;
  display: block;
}
.payment-toggle {
  width: 100%;
  justify-content: center;
}
.payment-methods-panel {
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 14px 34px rgba(24, 19, 22, 0.08);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    max-height 0.2s ease,
    padding 0.2s ease,
    margin 0.2s ease;
  overflow: hidden;
}
.payment-methods-panel.is-collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-width: 0;
  transform: translateY(-4px);
}
.stepped-form {
  align-self: start;
}
.stepper-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.stepper-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 44px;
  padding: 0.55rem;
  border: 1px solid rgba(21, 19, 22, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.stepper-tabs button span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.1);
  color: var(--brand-red);
  font-size: 0.78rem;
}
.stepper-tabs button.is-active {
  color: #fff;
  background: var(--brand-red);
  border-color: var(--brand-red);
}
.stepper-tabs button.is-active span {
  color: var(--brand-red);
  background: #fff;
}
.step-panel {
  display: none;
}
.step-panel.is-active {
  display: block;
}
.step-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.stepper-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 1rem;
}
.stepper-actions .btn {
  min-width: 112px;
}
.payment-panel-head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}
.payment-panel-head svg {
  color: var(--brand-red);
  flex: 0 0 auto;
}
.payment-panel-head h2 {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
}
.payment-panel-head p {
  color: var(--muted);
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
}
.payment-method-grid {
  display: grid;
  gap: 0.65rem;
}
.storefront-payments {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.payment-method-grid article {
  padding: 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}
.payment-brand-card {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding-left: 4rem !important;
}
.payment-brand-icon {
  position: absolute;
  top: 0.9rem;
  left: 0.85rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--brand-red);
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.14);
}
.payment-brand-icon img,
.payment-inline img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.payment-inline {
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 0.45rem;
}
.payment-inline svg {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
}
.payment-method-grid strong {
  display: block;
  font-weight: 600;
}
.payment-method-grid span {
  display: block;
  color: var(--brand-red);
  font-weight: 600;
}
.payment-method-grid small {
  display: block;
  color: var(--muted);
}
.payment-method-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}
.narrow-page {
  max-width: 840px;
}
.auth-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #fff, #fff2f3);
}
.auth-card {
  width: min(440px, 100%);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--shadow);
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.auth-links a {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 600;
}
.contact-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat-grid:has(> :nth-child(9):last-child),
.stat-grid:has(> :nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stat-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat-grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat-card {
  padding: 1rem;
  display: grid;
  gap: 0.2rem;
  min-height: 132px;
  align-content: space-between;
}
.stat-card svg {
  color: var(--brand-red);
}
.stat-card strong {
  font-size: 1.6rem;
  font-weight: 700;
}
.stack-list {
  display: grid;
  gap: 0.65rem;
}
.stack-list a,
.stack-list span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.stack-list a > span,
.stack-list span > span {
  min-width: 0;
}
.stack-list small {
  display: block;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.25;
}
.table-panel {
  padding: 1rem;
  overflow-x: auto;
}
.table-panel .table {
  min-width: 720px;
  margin-bottom: 0;
}
.table-panel .table th,
.table-panel .table td {
  line-height: 1.25;
  vertical-align: middle;
}
.table-panel .table small {
  line-height: 1.25;
}
.table-action-form {
  display: grid;
  grid-template-columns: minmax(130px, 0.85fr) minmax(180px, 1fr) auto;
  gap: 0.5rem;
  align-items: start;
  min-width: 420px;
}
.table-action-form .form-select,
.table-action-form .form-control,
.table-action-form .btn {
  min-height: 38px;
}
.empty-state {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}
.page-pill,
.page-number,
.page-ellipsis {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 600;
}
.page-number.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}
.page-pill.disabled {
  pointer-events: none;
  opacity: 0.45;
}
.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.seller-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.seller-dashboard-hero h1 {
  margin: 0.25rem 0;
}
.seller-dashboard-hero p {
  color: var(--muted);
  margin: 0;
}
.seller-dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}
.points-counter {
  min-height: 48px;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(178, 126, 0, 0.24);
  color: var(--ink);
  background: linear-gradient(135deg, #fff9e8, #fff);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(178, 126, 0, 0.12);
}
.points-counter svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: #b27e00;
}
.points-counter span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.points-counter strong {
  font-size: 1.15rem;
  line-height: 1;
}
.points-counter.is-boosted {
  animation: points-pop 0.72s ease;
}
.points-counter--large {
  min-width: 190px;
  justify-content: start;
}
.points-counter--large strong {
  font-size: 1.8rem;
}
.thrift-points-modal .modal-content {
  border: 1px solid rgba(178, 126, 0, 0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.points-burst {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #fff9e8;
  color: #7a5400;
}
.points-burst svg {
  color: #b27e00;
}
.points-burst strong {
  font-size: 1.8rem;
}
.points-modal-grid,
.reward-grid {
  display: grid;
  gap: 0.75rem;
}
.points-modal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.points-modal-grid div,
.reward-card,
.referral-box {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}
.points-modal-grid strong,
.reward-card strong,
.referral-box strong {
  font-weight: 700;
}
.points-modal-grid span,
.reward-card span,
.referral-box span {
  color: var(--muted);
}
.reward-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.referral-box input {
  font-size: 0.9rem;
}
@keyframes points-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.05); box-shadow: 0 18px 38px rgba(178, 126, 0, 0.2); }
  100% { transform: scale(1); }
}
.seller-guidance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.seller-guidance article {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 14px 34px rgba(24, 19, 22, 0.07);
}
.seller-guidance svg,
.panel-icon svg {
  color: var(--brand-red);
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 0.08rem;
}
.seller-guidance strong {
  display: block;
  font-weight: 600;
}
.seller-guidance span {
  color: var(--muted);
}
.seller-guidance a {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 600;
}
.panel-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(229, 9, 20, 0.08);
  margin-bottom: 0.65rem;
}
.floating-actions {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 20;
  display: grid;
  gap: 0.55rem;
}
.floating-action {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 32px rgba(24, 19, 22, 0.16);
  text-decoration: none;
}
.floating-action.whatsapp {
  color: #fff;
  background: #25d366;
  border-color: #25d366;
}
.floating-action svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 991px) {
  .item-grid,
  .item-grid:has(> :nth-child(9):last-child),
  .item-grid:has(> :nth-child(6):last-child),
  .item-grid:has(> :nth-child(5):last-child),
  .item-grid:has(> :nth-child(3):last-child),
  .seller-grid,
  .stat-grid,
  .stat-grid:has(> :nth-child(9):last-child),
  .stat-grid:has(> :nth-child(6):last-child),
  .stat-grid:has(> :nth-child(5):last-child),
  .stat-grid:has(> :nth-child(3):last-child),
  .seller-guidance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid,
  .detail-grid,
  .review-grid,
  .split-layout,
  .dashboard-grid,
  .seller-hero__inner {
    grid-template-columns: 1fr;
  }
  .seller-contact {
    justify-content: start;
  }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-grid--compact {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px) auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-showcase {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
  .seller-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .seller-dashboard-hero__actions {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .item-grid,
  .item-grid:has(> :nth-child(9):last-child),
  .item-grid:has(> :nth-child(6):last-child),
  .item-grid:has(> :nth-child(5):last-child),
  .item-grid:has(> :nth-child(3):last-child),
  .item-grid:has(> :nth-child(2):last-child),
  .seller-grid,
  .stat-grid,
  .stat-grid:has(> :nth-child(9):last-child),
  .stat-grid:has(> :nth-child(6):last-child),
  .stat-grid:has(> :nth-child(5):last-child),
  .stat-grid:has(> :nth-child(3):last-child),
  .stat-grid:has(> :nth-child(2):last-child),
  .seller-guidance {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    min-height: auto;
    padding-block: 2.5rem;
  }
  .search-shell {
    grid-template-columns: 22px 1fr;
  }
  .search-shell button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .filter-grid,
  .filter-grid--compact,
  .spec-grid,
  .ad-strip,
  .points-modal-grid,
  .reward-card {
    grid-template-columns: 1fr;
  }
  .filter-actions,
  .cta-grid,
  .section-head,
  .support-grid,
  .trust-note__inner {
    align-items: stretch;
    flex-direction: column;
  }
  .trust-note__inner a {
    margin-left: 0;
  }
  .stepper-tabs {
    grid-template-columns: 1fr;
  }
  .stepper-actions {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .market-card__image {
    aspect-ratio: 1 / 0.98;
  }
  .table-action-form {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}
