:root {
  --tm-ink: #111827;
  --tm-muted: #64748b;
  --tm-line: #d9e2ef;
  --tm-soft: #f4f7fb;
  --tm-panel: #ffffff;
  --tm-primary: #1266f1;
  --tm-primary-dark: #0b4fc0;
  --tm-accent: #f97316;
  --tm-good: #12a150;
  --tm-danger: #dc2626;
  --tm-radius: 8px;
  --tm-shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --tm-shadow-soft: 0 8px 24px rgba(15, 23, 42, .08);
}

[data-bs-theme="dark"] {
  --tm-ink: #e5edf8;
  --tm-muted: #9aa8bb;
  --tm-line: #2e3a4b;
  --tm-soft: #111827;
  --tm-panel: #172033;
  --tm-primary: #62a1ff;
  --tm-primary-dark: #8bbaff;
  --tm-shadow: 0 14px 40px rgba(0, 0, 0, .28);
  --tm-shadow-soft: 0 8px 24px rgba(0, 0, 0, .22);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  color: var(--tm-ink);
  background: var(--tm-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 1080;
}

.app-shell {
  min-height: 64vh;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 1045;
  background: #111827;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.top-strip {
  background: #0f172a;
  color: #e5edf8;
  font-size: .85rem;
}

.navbar-main {
  background: rgba(17, 24, 39, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

[data-bs-theme="dark"] .navbar-main {
  background: rgba(17, 24, 39, .96);
}

.navbar-main .navbar-brand,
.navbar-main .navbar-brand:hover,
.navbar-main .nav-link,
.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus {
  color: #f8fafc;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus {
  color: #8bbaff;
}

.navbar-main .navbar-toggler {
  border-color: rgba(255, 255, 255, .22);
}

.navbar-main .navbar-toggler-icon {
  filter: invert(1);
}

.navbar-main .icon-btn {
  color: #f8fafc;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
}

.navbar-main .icon-btn:hover,
.navbar-main .icon-btn.active {
  color: #fff;
  background: var(--tm-primary);
  border-color: var(--tm-primary);
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1266f1, #14b8a6);
  border-radius: 8px;
  font-weight: 800;
}

.search-shell {
  position: relative;
}

.search-input {
  min-height: 46px;
  border-radius: 8px 0 0 8px;
}

.voice-btn,
.search-btn {
  min-width: 48px;
  border-radius: 0;
}

.search-btn {
  border-radius: 0 8px 8px 0;
}

.autocomplete-panel {
  position: absolute;
  z-index: 1040;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow: auto;
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow);
  display: none;
}

.autocomplete-panel.show {
  display: block;
}

.hero-band {
  background: #0b1220;
  color: #fff;
}

.hero-slide {
  min-height: clamp(430px, 58vh, 610px);
  display: grid;
  align-items: center;
  background: radial-gradient(circle at 72% 22%, rgba(18, 102, 241, .42), transparent 32%), #0b1220;
}

.hero-copy {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 5.7rem);
  line-height: .94;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-media {
  width: min(520px, 100%);
  aspect-ratio: 1.32;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, .36));
}

.section-band {
  padding: 2.2rem 0;
}

.section-title {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1rem;
}

.section-title h2,
.panel-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  margin: 0;
}

.flash-banner {
  background: linear-gradient(90deg, #121826, #1f3b73);
  color: #fff;
  border-radius: var(--tm-radius);
  padding: 1rem;
  box-shadow: var(--tm-shadow-soft);
}

.deal-clock {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.deal-clock span {
  min-width: 54px;
  text-align: center;
  padding: .45rem .55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.browse-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 1.35rem;
  color: #f8fafc;
  background: linear-gradient(135deg, #111827, #1f3b73);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
}

.browse-hero h1 {
  margin: 0 0 .4rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 850;
}

.browse-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(248, 250, 252, .76);
}

.browse-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: .65rem;
}

.browse-hero-stats div {
  min-width: 92px;
  padding: .75rem;
  text-align: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
}

.browse-hero-stats strong,
.browse-hero-stats span {
  display: block;
}

.browse-hero-stats strong {
  font-size: 1.25rem;
}

.browse-hero-stats span {
  color: rgba(248, 250, 252, .72);
  font-size: .78rem;
}

.quick-category-row {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding-bottom: .1rem;
}

.quick-category-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .45rem;
  padding: .62rem .85rem;
  color: var(--tm-ink);
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  box-shadow: var(--tm-shadow-soft);
}

.quick-category-chip:hover {
  color: #fff;
  background: var(--tm-primary);
  border-color: var(--tm-primary);
}

.browse-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
}

.browse-controls {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.browse-controls label {
  color: var(--tm-muted);
  font-size: .86rem;
}

.browse-controls .form-select {
  min-width: 172px;
}

.brand-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.brand-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  min-height: 118px;
  padding: .9rem;
  color: var(--tm-ink);
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  color: var(--tm-ink);
  border-color: rgba(18, 102, 241, .32);
  box-shadow: var(--tm-shadow);
}

.brand-card-featured {
  grid-column: span 2;
  color: #fff;
  background: linear-gradient(135deg, #111827, #1f3b73);
  border-color: rgba(255, 255, 255, .12);
}

.brand-card-featured:hover {
  color: #fff;
}

.brand-card-logo {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
}

.brand-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-card-body {
  min-width: 0;
}

.brand-card-body strong,
.brand-card-body span {
  display: block;
}

.brand-card-body strong {
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-card-body span {
  color: var(--tm-muted);
  font-size: .86rem;
}

.brand-card-featured .brand-card-body span {
  color: rgba(248, 250, 252, .72);
}

.brand-card-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.brand-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .48rem;
  color: var(--tm-muted);
  background: var(--tm-soft);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}

.brand-card-featured .brand-card-meta span {
  color: #f8fafc;
  background: rgba(255, 255, 255, .12);
}

.brand-card-meta i {
  color: #f59e0b;
}

.store-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.store-card {
  display: block;
  overflow: hidden;
  color: var(--tm-ink);
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  color: var(--tm-ink);
  border-color: rgba(18, 102, 241, .32);
  box-shadow: var(--tm-shadow);
}

.store-card-banner {
  height: 108px;
  background-position: center;
  background-size: cover;
}

.store-card-body {
  padding: .9rem;
}

.store-card-head {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-top: -2.2rem;
}

.store-card-head img {
  width: 68px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--tm-line);
  border-radius: 8px;
  box-shadow: var(--tm-shadow-soft);
}

.store-card-head strong,
.store-card-head span {
  display: block;
}

.store-card-head strong {
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-card-head span {
  color: #f59e0b;
  font-size: .82rem;
  font-weight: 700;
}

.store-card-body p {
  display: -webkit-box;
  min-height: 2.55rem;
  margin: .75rem 0;
  overflow: hidden;
  color: var(--tm-muted);
  font-size: .88rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.store-card-tags,
.store-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.store-card-tags span {
  padding: .25rem .45rem;
  color: var(--tm-muted);
  background: var(--tm-soft);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
}

.store-card-foot {
  justify-content: space-between;
  margin-top: .8rem;
  padding-top: .75rem;
  border-top: 1px solid var(--tm-line);
}

.store-card-foot span {
  color: var(--tm-muted);
  font-size: .78rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tm-shadow);
  border-color: rgba(18, 102, 241, .25);
}

.product-card.list-view {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.22;
  background: linear-gradient(180deg, #eef4fb, #f8fafc);
  overflow: hidden;
}

[data-bs-theme="dark"] .product-media {
  background: #111827;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.badge-stack {
  position: absolute;
  top: .65rem;
  left: .65rem;
  display: grid;
  gap: .35rem;
}

.card-actions {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: grid;
  gap: .35rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--tm-line);
  background: var(--tm-panel);
  color: var(--tm-ink);
  line-height: 1;
}

.icon-btn i {
  display: block;
  line-height: 1;
}

.icon-btn:hover,
.icon-btn.active {
  color: #fff;
  background: var(--tm-primary);
  border-color: var(--tm-primary);
}

.footer-socials {
  display: flex;
  gap: .5rem;
}

.footer-socials .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.footer-socials .icon-btn i {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.brand-logo {
  width: 54px;
  height: 28px;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--tm-line);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

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

.product-card-bottom {
  margin-top: auto;
}

.price {
  color: var(--tm-primary);
  font-size: 1.25rem;
  font-weight: 850;
}

.old-price {
  color: var(--tm-muted);
  text-decoration: line-through;
}

.rating {
  color: #f59e0b;
  white-space: nowrap;
}

.tiny-meta {
  color: var(--tm-muted);
  font-size: .84rem;
}

.surface {
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
}

.range-label {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--tm-muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 1.4rem;
}

.gallery-main {
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  transition: transform .18s ease;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
}

.thumbs img,
.placeholder-tile {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: var(--tm-panel);
  cursor: pointer;
}

.placeholder-tile {
  display: grid;
  place-items: center;
  color: var(--tm-muted);
  font-weight: 700;
}

.compare-table td {
  min-width: 190px;
}

.compare-product-head {
  position: relative;
  padding-right: 2.4rem;
}

.compare-product-head img {
  display: block;
}

.compare-table td strong {
  display: block;
  min-height: 2.6rem;
  font-size: .92rem;
  line-height: 1.3;
}

.compare-table .js-remove-compare {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--tm-danger);
}

.cart-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 150px;
  gap: 1rem;
  align-items: center;
}

.cart-row img {
  width: 110px;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: var(--tm-radius);
  border: 1px solid var(--tm-line);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.addon-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: .8rem;
  align-items: stretch;
  min-height: 142px;
  padding: .65rem;
  background: var(--tm-soft);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.addon-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 102, 241, .32);
  box-shadow: var(--tm-shadow-soft);
}

.addon-media {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  background: #e5edf8;
}

.addon-media img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
}

.addon-body {
  min-width: 0;
}

.addon-body h3 {
  display: -webkit-box;
  min-height: 2.55rem;
  margin: 0 0 .2rem;
  overflow: hidden;
  font-size: .92rem;
  line-height: 1.28;
  font-weight: 750;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.addon-body .price {
  font-size: 1rem;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 36px 46px 36px;
  align-items: center;
  border: 1px solid var(--tm-line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button,
.qty-control span {
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--tm-panel);
}

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

.metric-card {
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  padding: 1rem;
}

.metric-value {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 850;
}

.chat-shell {
  display: grid;
  grid-template-columns: 310px 1fr;
  min-height: 620px;
}

.chat-list {
  border-right: 1px solid var(--tm-line);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-height: 480px;
  overflow: auto;
}

.bubble {
  max-width: 74%;
  padding: .75rem .9rem;
  border-radius: 8px;
  background: var(--tm-soft);
}

.bubble.seller {
  margin-left: auto;
  color: #fff;
  background: var(--tm-primary);
}

.empty-state {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.store-hero {
  min-height: 290px;
  display: grid;
  align-items: end;
  color: #fff;
  background-position: center;
  background-size: cover;
  border-radius: var(--tm-radius);
  overflow: hidden;
}

.store-hero-inner {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .76));
}

.store-profile {
  display: flex;
  gap: 1rem;
  align-items: end;
}

.store-logo {
  width: 112px;
  height: 76px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  box-shadow: var(--tm-shadow);
}

.store-profile-copy {
  max-width: 780px;
}

.store-profile-copy h1 {
  margin: 0 0 .35rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 850;
}

.store-profile-copy p {
  margin: 0 0 .9rem;
  color: rgba(248, 250, 252, .78);
}

.store-hero-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.store-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  margin-top: 1.2rem;
}

.store-metrics div {
  padding: .75rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.store-metrics strong,
.store-metrics span {
  display: block;
}

.store-metrics strong {
  font-size: 1.2rem;
}

.store-metrics span {
  color: rgba(248, 250, 252, .72);
  font-size: .78rem;
}

.store-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .45rem;
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
}

.store-tabs a {
  flex: 0 0 auto;
  padding: .55rem .85rem;
  color: var(--tm-muted);
  border-radius: 6px;
  font-weight: 750;
}

.store-tabs a:hover,
.store-tabs a.active {
  color: #fff;
  background: var(--tm-primary);
}

.store-info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--tm-line);
}

.store-info-row:last-child {
  border-bottom: 0;
}

.store-info-row span {
  color: var(--tm-muted);
}

.store-category-list {
  display: grid;
  gap: .35rem;
}

.store-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem .65rem;
  color: var(--tm-ink);
  background: var(--tm-soft);
  border-radius: 6px;
}

.store-category-list a:hover {
  color: #fff;
  background: var(--tm-primary);
}

.store-policy {
  display: flex;
  gap: .55rem;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--tm-line);
}

.store-policy:last-child {
  border-bottom: 0;
}

.store-policy i {
  color: var(--tm-good);
}

.store-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #111827, #1f3b73);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
}

.store-promo strong,
.store-promo span {
  display: block;
}

.store-promo span {
  color: rgba(248, 250, 252, .72);
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.store-product-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: .9rem;
  min-height: 190px;
  padding: .75rem;
  background: var(--tm-panel);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.store-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 102, 241, .32);
  box-shadow: var(--tm-shadow);
}

.store-product-media {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  background: var(--tm-soft);
}

.store-product-media img {
  width: 100%;
  height: 100%;
  min-height: 174px;
  object-fit: cover;
}

.store-product-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.store-product-topline,
.store-product-bottom,
.store-product-actions,
.store-product-meta {
  display: flex;
  align-items: center;
}

.store-product-topline,
.store-product-bottom {
  justify-content: space-between;
  gap: .7rem;
}

.store-product-topline span {
  flex: 0 0 auto;
  padding: .18rem .42rem;
  color: var(--tm-danger);
  background: rgba(220, 38, 38, .08);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

.store-product-card h3 {
  display: -webkit-box;
  min-height: 2.65rem;
  margin: .65rem 0 .45rem;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.store-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  min-height: 1.55rem;
  margin-bottom: .55rem;
}

.store-product-specs span {
  max-width: 100%;
  overflow: hidden;
  padding: .22rem .42rem;
  color: var(--tm-muted);
  background: var(--tm-soft);
  border-radius: 999px;
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-product-meta {
  flex-wrap: wrap;
  gap: .55rem;
  min-height: 1.35rem;
  margin-bottom: .8rem;
  color: var(--tm-muted);
  font-size: .8rem;
}

.store-product-meta i {
  margin-right: .22rem;
  color: #f59e0b;
}

.store-product-bottom {
  margin-top: auto;
  padding-top: .7rem;
  border-top: 1px solid var(--tm-line);
}

.store-product-bottom strong,
.store-product-bottom span {
  display: block;
}

.store-product-bottom strong {
  color: var(--tm-primary);
  font-size: 1.12rem;
  font-weight: 850;
}

.store-product-bottom span {
  color: var(--tm-muted);
  font-size: .78rem;
  text-decoration: line-through;
}

.store-product-actions {
  gap: .4rem;
}

.store-product-actions .icon-btn {
  width: 36px;
  height: 36px;
}

.fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.fab .badge {
  position: absolute;
  top: -5px;
  right: -3px;
}

.loading-screen,
.skeleton {
  display: grid;
  place-items: center;
  min-height: 360px;
  color: var(--tm-muted);
}

.skeleton-line {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5e7eb, #f8fafc, #e5e7eb);
  background-size: 220% 100%;
  animation: shimmer 1.2s infinite;
}

.fade-in {
  animation: fadeIn .28s ease both;
}

.success-pulse {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--tm-good);
  animation: pulse .9s ease;
}

@keyframes shimmer {
  from { background-position: 180% 0; }
  to { background-position: -40% 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(.78); opacity: .4; }
  70% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}

@media (max-width: 1199.98px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .brand-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .store-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .store-product-grid {
    grid-template-columns: 1fr;
  }
  .browse-hero {
    grid-template-columns: 1fr;
  }
  .product-detail-grid,
  .chat-shell {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .top-strip {
    display: none;
  }

  .hero-slide {
    min-height: 620px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }
  .browse-hero {
    padding: 1rem;
  }
  .browse-hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .browse-toolbar,
  .browse-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .browse-controls .form-select {
    min-width: 100%;
  }
  .brand-showcase {
    grid-template-columns: 1fr;
  }
  .brand-card,
  .brand-card-featured {
    grid-column: span 1;
  }
  .store-directory-grid,
  .store-metrics {
    grid-template-columns: 1fr;
  }
  .store-profile,
  .store-promo {
    align-items: start;
    flex-direction: column;
  }
  .store-product-card {
    grid-template-columns: 1fr;
  }
  .store-product-media img {
    aspect-ratio: 1.45;
    min-height: 0;
  }
  .product-card.list-view,
  .cart-row {
    grid-template-columns: 1fr;
  }
  .addon-grid {
    grid-template-columns: 1fr;
  }
  .cart-row img {
    width: 100%;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    align-items: start;
    flex-direction: column;
  }
}
