.material-symbols-outlined.tm-fill {
  font-variation-settings: 'FILL' 1,'wght' 600,'GRAD' 0,'opsz' 24;
}

:root {
  --tm-accent: #7f13ec;
  --tm-accent-2: #9b4dff;
  --tm-ink: #140d1b;
  --tm-muted: #6b6472;
  --tm-soft: #f7f6f9;
  --tm-line: rgba(20, 13, 27, .08);
  --tm-card: rgba(255, 255, 255, .92);
  --tm-header-bg: #ffffff;
  --tm-header-text: #140d1b;
  --tm-logo-height: 68px;
  --tm-shadow: 0 18px 42px -30px rgba(20, 13, 27, .42);
  --tm-shadow-strong: 0 24px 58px -34px rgba(20, 13, 27, .5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--tm-soft);
  color: var(--tm-ink);
}

body.tm-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tm-page-shell {
  min-height: 100dvh;
  padding-bottom: 6.5rem;
}

.tm-nav-item {
  min-width: 58px;
  border-radius: 18px;
  padding: .45rem .35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .18rem;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.tm-nav-item.is-active {
  background: color-mix(in srgb, var(--tm-accent) 9%, white);
  color: var(--tm-accent);
}

.tm-nav-item:active {
  transform: scale(.98);
}

.tm-nav-icon {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tm-nav-label {
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tm-store-header {
  background: color-mix(in srgb, var(--tm-header-bg) 90%, transparent);
  color: var(--tm-header-text);
  box-shadow: 0 16px 34px -34px rgba(20, 13, 27, .55);
}

.tm-header-inner {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
}

.tm-store-header img[data-logo] {
  display: block;
  width: auto;
  height: var(--tm-logo-height);
  max-height: 92px;
  max-width: min(286px, 54vw);
  object-fit: contain;
}

.tm-icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(20, 13, 27, .06);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .86);
  color: var(--tm-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
  box-shadow: 0 12px 28px -24px rgba(20, 13, 27, .72);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.tm-icon-btn:hover {
  border-color: color-mix(in srgb, var(--tm-accent) 34%, transparent);
  color: var(--tm-accent);
  box-shadow: var(--tm-shadow);
  transform: translateY(-1px);
}

.tm-home-pill {
  min-height: 2.75rem;
  border: 1px solid rgba(127, 19, 236, .14);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tm-accent) 8%, white);
  color: var(--tm-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 0 .9rem;
  font-size: .78rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 28px -24px color-mix(in srgb, var(--tm-accent) 60%, black);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tm-home-pill:hover {
  background: var(--tm-accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -24px color-mix(in srgb, var(--tm-accent) 80%, black);
}

.tm-search-shell {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: .9rem;
}

.tm-search-box {
  min-height: 3.35rem;
  border: 1px solid rgba(127, 19, 236, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px -34px rgba(20, 13, 27, .55);
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .35rem .55rem .35rem 1rem;
}

.tm-search-box:focus-within {
  border-color: color-mix(in srgb, var(--tm-accent) 38%, transparent);
  box-shadow: 0 18px 42px -30px rgba(127, 19, 236, .38);
}

.tm-search-box input {
  min-width: 0;
}

.tm-search-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .55rem;
  overflow-x: auto;
  padding-bottom: .1rem;
  scrollbar-width: none;
}

.tm-search-tools::-webkit-scrollbar { display: none; }

.tm-search-select,
.tm-clear-filters {
  min-width: max-content;
  min-height: 2.3rem;
  border: 1px solid rgba(127, 19, 236, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--tm-ink);
  font-size: .72rem;
  font-weight: 800;
}

.tm-search-select {
  padding: 0 2rem 0 .85rem;
  cursor: pointer;
}

.tm-search-select:focus {
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tm-accent) 12%, transparent);
  outline: none;
}

.tm-clear-filters {
  border-color: color-mix(in srgb, var(--tm-accent) 28%, transparent);
  padding: 0 .9rem;
  background: color-mix(in srgb, var(--tm-accent) 9%, white);
  color: var(--tm-accent);
  cursor: pointer;
}

.tm-discovery-hidden { display: none !important; }

#catalogSection.tm-search-active { padding-top: 1rem; }

.tm-search-count {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0 .7rem;
  color: var(--tm-muted);
  background: rgba(247, 246, 249, .95);
  font-size: .72rem;
  font-weight: 800;
}

.tm-clear-btn {
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tm-accent) 10%, white);
  color: var(--tm-accent);
  font-size: .72rem;
  font-weight: 900;
  padding: .55rem .78rem;
}

.tm-hero {
  width: 100%;
  min-height: clamp(360px, 43vw, 590px);
  margin: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  border: 0;
  border-radius: 0;
  background: #111827;
  isolation: isolate;
  box-shadow: 0 22px 54px -42px rgba(20, 13, 27, .65);
}

.tm-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: opacity .45s ease, transform 1.6s ease;
  z-index: -2;
}

.tm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 5, 10, .54), rgba(7, 5, 10, .2) 50%, rgba(7, 5, 10, .04)),
    linear-gradient(0deg, rgba(0, 0, 0, .34), transparent 55%);
  z-index: -1;
}

.tm-hero-content {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.1rem) 0;
}

.tm-hero-panel {
  width: min(590px, 100%);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  color: var(--tm-ink);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 20px 52px -30px rgba(0, 0, 0, .58);
  backdrop-filter: blur(18px);
}

.tm-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tm-accent) 10%, white);
  color: var(--tm-accent);
  padding: .42rem .72rem;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tm-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  border-radius: 16px;
  background: var(--tm-accent);
  color: #fff;
  padding: .85rem 1.1rem;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 34px -22px color-mix(in srgb, var(--tm-accent) 80%, black);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tm-primary-btn:hover {
  background: color-mix(in srgb, var(--tm-accent) 88%, black);
  transform: translateY(-1px);
  box-shadow: 0 22px 42px -22px color-mix(in srgb, var(--tm-accent) 88%, black);
}

.tm-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  border: 1px solid rgba(127, 19, 236, .16);
  border-radius: 16px;
  background: color-mix(in srgb, var(--tm-accent) 8%, white);
  color: var(--tm-accent);
  padding: .85rem 1.1rem;
  font-size: .88rem;
  font-weight: 950;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.tm-secondary-btn:hover {
  background: color-mix(in srgb, var(--tm-accent) 13%, white);
  transform: translateY(-1px);
}

.tm-secondary-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.tm-section {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
}

.tm-section-block {
  padding-top: clamp(1.7rem, 4vw, 3rem);
}

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

.tm-eyebrow {
  color: var(--tm-accent);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tm-section-title {
  margin: .15rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 950;
  line-height: 1.05;
}

.tm-section-copy {
  color: var(--tm-muted);
  font-size: .9rem;
  margin-top: .35rem;
}

.tm-scroll-controls {
  display: none;
  align-items: center;
  gap: .5rem;
}

.tm-scroll-btn {
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -24px rgba(20, 13, 27, .72);
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.tm-scroll-btn:hover {
  border-color: color-mix(in srgb, var(--tm-accent) 34%, transparent);
  color: var(--tm-accent);
  transform: translateY(-1px);
}

.tm-rail {
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.tm-rail > * {
  scroll-snap-align: start;
}

.tm-category-card {
  min-width: 154px;
  width: 154px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(20, 13, 27, .08);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
  display: block;
  text-decoration: none;
  box-shadow: var(--tm-shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.tm-category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s ease;
}

.tm-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 8, 18, .7), rgba(12, 8, 18, .08) 62%, transparent);
}

.tm-category-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem;
  color: #fff;
  font-weight: 950;
  font-size: .82rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.tm-category-card:hover {
  border-color: color-mix(in srgb, var(--tm-accent) 28%, transparent);
  transform: translateY(-3px);
  box-shadow: var(--tm-shadow-strong);
}

.tm-category-card:hover img {
  transform: scale(1.06);
}

.tm-branch-chip {
  border: 1px solid rgba(127, 19, 236, .14);
  border-radius: 999px;
  padding: .68rem .95rem;
  background: rgba(255, 255, 255, .94);
  color: var(--tm-ink);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 28px -24px rgba(20, 13, 27, .75);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

.tm-branch-chip:hover {
  border-color: color-mix(in srgb, var(--tm-accent) 34%, transparent);
  color: var(--tm-accent);
}

.tm-branch-chip.active {
  background: var(--tm-accent);
  border-color: var(--tm-accent);
  color: #fff;
  box-shadow: 0 16px 32px -24px color-mix(in srgb, var(--tm-accent) 80%, black);
}

.tm-branch-band {
  margin-top: 1.3rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(250, 247, 255, .94));
  border: 1px solid rgba(127, 19, 236, .1);
  box-shadow: var(--tm-shadow);
}

.tm-offer-band {
  border: 1px solid rgba(127, 19, 236, .12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(127, 19, 236, .12), transparent 28%),
    linear-gradient(135deg, #fff, #faf7ff);
  padding: clamp(1rem, 2.4vw, 1.5rem);
  box-shadow: var(--tm-shadow);
}

.tm-filter-bar {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: none;
}

.tm-filter-bar::-webkit-scrollbar {
  display: none;
}

.tm-filter-chip {
  min-height: 2.45rem;
  border: 1px solid rgba(20, 13, 27, .08);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-ink);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0 .9rem;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 950;
  box-shadow: 0 10px 28px -24px rgba(20, 13, 27, .72);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.tm-filter-chip span {
  color: var(--tm-muted);
  font-size: .68rem;
}

.tm-filter-chip:hover,
.tm-filter-chip.active {
  border-color: var(--tm-accent);
  background: var(--tm-accent);
  color: #fff;
  transform: translateY(-1px);
}

.tm-filter-chip:hover span,
.tm-filter-chip.active span {
  color: rgba(255, 255, 255, .76);
}

.tm-product-card {
  min-width: 0;
  height: 100%;
  border: 1px solid rgba(20, 13, 27, .08);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 14px 34px -30px rgba(20, 13, 27, .6);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tm-product-card a {
  text-decoration: none;
}

.tm-product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tm-accent) 28%, transparent);
  box-shadow: var(--tm-shadow-strong);
}

.tm-product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fff, #f7f6f9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tm-product-media-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-product-media img,
.tm-product-media-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform .32s ease;
}

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

.tm-product-image-float {
  animation: tmProductFloat 5.5s ease-in-out infinite;
}

.tm-product-zoom {
  cursor: zoom-in;
}

.tm-zoom-lens {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(127, 19, 236, .18);
  border-radius: 999px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 230%;
  box-shadow: 0 18px 44px -24px rgba(20, 13, 27, .55);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.94);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 5;
}

.tm-zoom-lens.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.thumb {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--tm-shadow);
}

@keyframes tmProductFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.01); }
}

.tm-image-preview {
  position: absolute;
  right: .55rem;
  top: .55rem;
  z-index: 2;
  display: grid;
  gap: .35rem;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.tm-image-preview button {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(20, 13, 27, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 20px -16px rgba(20, 13, 27, .72);
  cursor: pointer;
}

.tm-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .2rem;
}

.tm-product-hover-action {
  border: 0;
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .7rem;
  z-index: 3;
  min-height: 2.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--tm-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .74rem;
  font-weight: 950;
  opacity: 0;
  transform: translateY(8px);
  box-shadow: 0 12px 28px -20px rgba(20, 13, 27, .7);
  backdrop-filter: blur(12px);
  transition: opacity .22s ease, transform .22s ease;
  cursor: pointer;
}

.tm-product-card:hover .tm-image-preview,
.tm-product-card:hover .tm-product-hover-action {
  opacity: 1;
  transform: translate(0);
}

.tm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  border-radius: 999px;
  padding: .34rem .55rem;
  font-size: .66rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.tm-badge-offer {
  background: #ef233c;
  color: #fff;
}

.tm-badge-branch {
  max-width: calc(100% - 1rem);
  background: rgba(255, 255, 255, .92);
  color: var(--tm-ink);
  box-shadow: 0 10px 22px -18px rgba(20, 13, 27, .8);
}

.tm-badge-stock {
  background: #ecfdf3;
  color: #147a3e;
}

.tm-badge-stock.is-out {
  background: #fff1f2;
  color: #be123c;
}

.tm-product-body {
  padding: .95rem;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.tm-product-title {
  min-height: 2.55rem;
  color: var(--tm-ink);
  font-size: .88rem;
  font-weight: 950;
  line-height: 1.25;
}

.tm-product-meta {
  min-height: 1.15rem;
  margin-top: .35rem;
  color: var(--tm-muted);
  font-size: .72rem;
}

.tm-product-price {
  color: var(--tm-accent);
  font-size: 1.04rem;
  font-weight: 950;
}

.tm-product-cta {
  margin-top: .8rem;
  min-height: 2.55rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tm-accent) 9%, white);
  color: var(--tm-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 950;
  position: relative;
  overflow: hidden;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.tm-product-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.75) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}

.tm-product-card:hover .tm-product-cta {
  background: var(--tm-accent);
  color: #fff;
  transform: translateY(-1px);
}

.tm-product-card:hover .tm-product-cta::after {
  transform: translateX(120%);
}

.tm-empty-state {
  grid-column: 1 / -1;
  border: 1px solid rgba(127, 19, 236, .12);
  border-radius: 24px;
  background: #fff;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--tm-shadow);
}

.tm-skeleton {
  display: block;
  background: linear-gradient(90deg, #ece8f2 0%, #f7f6f9 45%, #ece8f2 90%);
  background-size: 220% 100%;
  animation: tmSkeleton 1.15s ease-in-out infinite;
}

.tm-skeleton-card {
  pointer-events: none;
}

.tm-skeleton-img {
  width: 70%;
  height: 70%;
  border-radius: 24px;
}

@keyframes tmSkeleton {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.tm-brand-card,
.tm-trust-card,
.tm-feature-card {
  border: 1px solid var(--tm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px -30px rgba(20, 13, 27, .6);
}

.tm-brand-card {
  min-width: 134px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tm-brand-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tm-accent) 24%, transparent);
  box-shadow: var(--tm-shadow);
}

.tm-brand-logo {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 16px;
  background: #f7f6f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tm-brand-logo img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.tm-brand-logo.is-empty::before {
  content: "memory";
  color: var(--tm-accent);
  font-family: "Material Symbols Outlined";
  font-size: 1.35rem;
}

.tm-trust-card {
  padding: 1rem;
  display: flex;
  gap: .8rem;
}

.tm-trust-icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tm-accent) 10%, white);
  color: var(--tm-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tm-feature-card {
  padding: 1.1rem;
}

.tm-quick-view.hidden {
  display: none;
}

.tm-quick-view {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.tm-quick-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 27, .38);
  backdrop-filter: blur(10px);
}

.tm-quick-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(760px, calc(100dvh - 2rem));
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 28px;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  overflow: hidden;
  box-shadow: 0 28px 80px -30px rgba(20, 13, 27, .55);
  animation: tmQuickIn .22s ease both;
}

.tm-quick-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(20, 13, 27, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--tm-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tm-quick-media {
  min-height: 420px;
  background: linear-gradient(180deg, #fff, #f7f6f9);
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
}

.tm-quick-media > img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
}

.tm-quick-thumbs {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
}

.tm-quick-thumbs button {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(20, 13, 27, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  padding: .25rem;
}

.tm-quick-thumbs button.active {
  border-color: var(--tm-accent);
}

.tm-quick-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tm-quick-body {
  padding: clamp(1.25rem, 3vw, 2rem);
  align-self: center;
}

@keyframes tmQuickIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tm-fade-in {
  animation: tmFadeUp .45s ease both;
}

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

@media (min-width: 768px) {
  .tm-scroll-controls {
    display: inline-flex;
  }

  .tm-category-card {
    width: 190px;
    min-width: 190px;
  }

  .tm-product-body {
    padding: 1.05rem;
  }
}

@media (max-width: 640px) {
  .tm-store-header img[data-logo] {
    max-height: 68px;
    max-width: 55vw;
  }

  .tm-icon-btn {
    width: 2.55rem;
    height: 2.55rem;
  }

  .tm-home-pill {
    min-width: 2.55rem;
    min-height: 2.55rem;
    padding: 0;
  }

  .tm-home-pill span:last-child {
    display: none;
  }

  .tm-search-shell {
    width: min(100% - 20px, 1220px);
  }

  .tm-search-box {
    border-radius: 18px;
    padding-left: .85rem;
  }

  .tm-search-count {
    display: none;
  }

  .tm-hero {
    width: 100%;
    min-height: 330px;
    border-radius: 0;
  }

  .tm-hero-content {
    width: min(100% - 20px, 1220px);
    padding: .8rem 0;
  }

  .tm-hero-panel {
    border-radius: 20px;
    padding: 1rem;
  }

  .tm-category-card {
    width: 142px;
    min-width: 142px;
    border-radius: 18px;
  }

  .tm-section {
    width: min(100% - 20px, 1220px);
  }

  .tm-section-head {
    align-items: flex-start;
  }

  .tm-product-body {
    padding: .75rem;
  }

  .tm-product-title {
    font-size: .8rem;
  }

  .tm-product-cta {
    min-height: 2.35rem;
  }

  .tm-image-preview,
  .tm-product-hover-action {
    display: none;
  }

  .tm-filter-chip {
    min-height: 2.35rem;
    padding: 0 .8rem;
  }

  .tm-quick-view {
    padding: .6rem;
    align-items: end;
  }

  .tm-quick-dialog {
    max-height: calc(100dvh - 1rem);
    grid-template-columns: 1fr;
    border-radius: 24px;
    overflow-y: auto;
  }

  .tm-quick-media {
    min-height: 270px;
    padding: 1rem;
  }

  .tm-quick-media > img {
    max-height: 300px;
  }

  .tm-quick-body {
    padding: 1rem;
  }

  .tm-zoom-lens {
    display: none;
  }
}

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

  .tm-product-image-float {
    animation: none !important;
  }
}
