/* Phones Arcade — Professional shop category system */

.shop-hero {
  margin: 2rem 0 1.5rem;
  text-align: center;
}

.shop-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary, #0d1a3a);
  margin-bottom: 0.5rem;
}

.shop-hero p {
  color: var(--text-secondary, #5a6480);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* Two main departments on Home */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 1.75rem;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 14px 36px rgba(13, 26, 58, 0.14);
}

.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}

.dept-card--phones::before {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.22), transparent 45%),
    linear-gradient(135deg, #1e5fff 0%, #2b32b2 48%, #0d1a3a 100%);
}

.dept-card--accessories::before {
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,0.2), transparent 42%),
    linear-gradient(135deg, #7c3aed 0%, #5b21b6 50%, #1e0b4b 100%);
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(13, 26, 58, 0.22);
}

.dept-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.dept-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.dept-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  max-width: 20rem;
}

.dept-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(6px);
}

/* Category chips / brand & type cards */
.cat-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 118px;
  padding: 1rem 0.75rem;
  background: #fff;
  border: 1.5px solid var(--border, #e2e6f2);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text-primary, #0d1a3a);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  text-align: center;
  font-family: inherit;
}

.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent, #7b2ff7);
  box-shadow: 0 12px 28px rgba(30, 95, 255, 0.12);
}

.cat-tile.is-active {
  border-color: var(--accent, #7b2ff7);
  background: linear-gradient(180deg, #f8f5ff 0%, #fff 100%);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.14);
}

.cat-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.cat-tile-name {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.cat-tile-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary, #5a6480);
}

.section-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.section-eyebrow,
.section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, #7b2ff7);
  margin-bottom: 0.35rem;
}

.results-meta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary, #5a6480);
  margin: 0 0 1rem;
}

/* Professional category / brand / catalog system */
.shop-tabs-panel {
  background: #fff;
  border: 1px solid #e6eaf3;
  border-radius: 18px;
  padding: 0;
  margin-bottom: 1.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 26, 58, 0.04), 0 12px 32px rgba(13, 26, 58, 0.06);
}

.shop-tabs-row {
  padding: 1rem 1.15rem 1.05rem;
}

.shop-tabs-row + .shop-tabs-row {
  border-top: 1px solid #eef1f7;
  background: #fafbfe;
}

.shop-tabs-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a849c;
  margin-bottom: 0.75rem;
}

.shop-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid #e8ecf4;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shop-tabs::-webkit-scrollbar {
  display: none;
}

.shop-tab {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.75rem 1.05rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5a6480;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s ease;
}

.shop-tab::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: -1px;
  height: 2.5px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  transition: background 0.18s ease;
}

.shop-tab:hover {
  color: #0d1a3a;
}

.shop-tab.is-active {
  color: #0d1a3a;
  font-weight: 700;
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.shop-tab.is-active::after {
  background: #1e5fff;
}

.shop-tab-ico {
  display: none;
}

.brand-tabs-wrap {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow: visible;
  padding: 0;
}

.brand-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  border: 1px solid #e2e7f1;
  background: #fff;
  color: #1a2440;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.brand-tab:hover {
  border-color: #b8c4de;
  background: #fff;
  box-shadow: 0 4px 12px rgba(13, 26, 58, 0.06);
  transform: none;
}

.brand-tab.is-active {
  border-color: #1e5fff;
  background: #eff4ff;
  color: #123a9c;
  box-shadow: inset 0 0 0 1px rgba(30, 95, 255, 0.14);
}

.brand-tab-mark {
  display: none;
}

.brand-tab-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: #7a849c;
  margin-left: 0.35rem;
}

.brand-tab.is-active .brand-tab-count {
  color: #1e5fff;
}

/* Professional accessory brands strip */
.brand-strip-pro {
  position: relative;
  margin: 0 0 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e6eaf3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 26, 58, 0.04), 0 14px 36px rgba(13, 26, 58, 0.06);
}

.brand-strip-pro-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem 0.85rem;
  border-bottom: 1px solid #eef1f7;
}

.brand-strip-pro-head h2 {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0d1a3a;
}

.brand-strip-pro-head p {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: #6b758f;
  font-weight: 500;
}

.brand-strip-track-wrap {
  position: relative;
}

.brand-strip-track-wrap::before,
.brand-strip-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 2;
  pointer-events: none;
}

.brand-strip-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc, transparent);
}

.brand-strip-track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc, transparent);
}

.brand-strip-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 1rem 1.25rem 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.brand-strip-track::-webkit-scrollbar {
  display: none;
}

.brand-strip-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 128px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.7rem;
  border-radius: 14px;
  border: 1px solid #e4e9f3;
  background: #fff;
  color: #0d1a3a;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.brand-strip-item:hover {
  border-color: #c5d0e6;
  box-shadow: 0 10px 22px rgba(13, 26, 58, 0.08);
  transform: translateY(-2px);
}

.brand-strip-item.is-active {
  border-color: #1e5fff;
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
  box-shadow: 0 10px 24px rgba(30, 95, 255, 0.14);
}

.brand-strip-logo {
  width: 100%;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0f172a;
}

.brand-strip-item[data-brand="Anker"] .brand-strip-logo { color: #0084c7; }
.brand-strip-item[data-brand="Aspor"] .brand-strip-logo { color: #c2410c; }
.brand-strip-item[data-brand="Foneng"] .brand-strip-logo { color: #15803d; }
.brand-strip-item[data-brand="Samsung"] .brand-strip-logo { color: #1428a0; letter-spacing: 0.04em; font-weight: 700; }
.brand-strip-item[data-brand="Apple"] .brand-strip-logo { color: #111827; }
.brand-strip-item[data-brand="Oraimo"] .brand-strip-logo { color: #16a34a; }
.brand-strip-item[data-brand="Joyroom"] .brand-strip-logo { color: #1d4ed8; }
.brand-strip-item[data-brand="Xiaomi"] .brand-strip-logo { color: #ff6900; }
.brand-strip-item[data-brand="Infinix"] .brand-strip-logo { color: #0f766e; }
.brand-strip-item[data-brand="Spigen"] .brand-strip-logo { color: #475569; letter-spacing: 0.08em; font-weight: 700; text-transform: uppercase; font-size: 0.86rem; }
.brand-strip-item[data-brand="Memo"] .brand-strip-logo { color: #7c3aed; }
.brand-strip-item[data-brand="UGREEN"] .brand-strip-logo { color: #4d7c0f; letter-spacing: 0.04em; }
.brand-strip-item[data-brand="Mcdodo"] .brand-strip-logo { color: #b91c1c; }
.brand-strip-item[data-brand="OnePlus"] .brand-strip-logo { color: #eb0029; }
.brand-strip-item[data-brand="all"] .brand-strip-logo { color: #1e5fff; }

.brand-strip-meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a93a8;
}

.brand-strip-item.is-active .brand-strip-meta {
  color: #1e5fff;
}

@media (max-width: 640px) {
  .brand-strip-item {
    width: 112px;
    min-height: 84px;
  }

  .brand-strip-pro-head {
    padding: 0.95rem 1rem 0.75rem;
  }

  .brand-strip-track {
    padding: 0.9rem 1rem 1.05rem;
    gap: 0.6rem;
  }
}

/* Catalog toolbar */
.catalog-panel {
  background: #fff;
  border: 1px solid #e6eaf3;
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.35rem;
  box-shadow: 0 1px 2px rgba(13, 26, 58, 0.04), 0 12px 32px rgba(13, 26, 58, 0.05);
}

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef1f7;
}

.catalog-head h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0d1a3a;
  margin: 0 0 0.25rem;
}

.catalog-head p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b758f;
}

.catalog-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f3f6fb;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.filter-bar.pro {
  background: #f7f9fc;
  border: 1px solid #e8ecf4;
  border-radius: 14px;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.filter-bar.pro .filter-label {
  display: none;
}

.filter-bar.pro .filter-select {
  width: 100%;
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #dde3ef;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-weight: 600;
  color: #1a2440;
}

.catalog-panel .products-grid {
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .filter-bar.pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .filter-bar.pro {
    grid-template-columns: 1fr;
  }

  .shop-tabs-row {
    padding: 0.9rem 0.85rem;
  }

  .brand-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .brand-tabs::-webkit-scrollbar {
    display: none;
  }
}

/* Phone brand logo strip — one elegant horizontal line */
.brand-logo-rail-wrap {
  position: relative;
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(13, 26, 58, 0.04), 0 14px 40px rgba(13, 26, 58, 0.06);
  overflow: hidden;
}

.brand-logo-rail-wrap::before,
.brand-logo-rail-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.brand-logo-rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 10%, transparent);
}

.brand-logo-rail-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff 10%, transparent);
}

.brand-logo-rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem;
}

.brand-logo-rail::-webkit-scrollbar {
  display: none;
}

.brand-logo-tile {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  min-width: 118px;
  height: 88px;
  min-height: 88px;
  margin: 0;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 0;
  border-right: 1px solid #eef1f7;
  border-radius: 0;
  text-decoration: none;
  color: #0d1a3a;
  cursor: pointer;
  font: inherit;
  scroll-snap-align: start;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-tile:last-child {
  border-right: 0;
}

.brand-logo-tile:hover {
  background: #f7f9fc;
  transform: none;
  box-shadow: none;
}

.brand-logo-tile.is-active {
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
  box-shadow: inset 0 -3px 0 #1e5fff;
  border-color: #eef1f7;
}

.brand-logo-img-wrap {
  width: 100%;
  height: 52px;
  display: grid;
  place-items: center;
  background: transparent;
}

.brand-logo-img {
  max-width: 96px;
  max-height: 44px;
  width: auto;
  height: 44px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.22s ease;
}

.brand-logo-tile:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-logo-img--light,
.brand-logo-img--dark {
  mix-blend-mode: normal !important;
  filter: none !important;
}

.brand-logo-all {
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e5fff;
  letter-spacing: -0.02em;
}

.brand-logo-wordmark {
  display: block;
  max-width: 100%;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-logo-wordmark[data-brand="Anker"] { color: #0084c7; }
.brand-logo-wordmark[data-brand="Aspor"] { color: #c2410c; }
.brand-logo-wordmark[data-brand="Foneng"] { color: #15803d; }
.brand-logo-wordmark[data-brand="Oraimo"] { color: #16a34a; }
.brand-logo-wordmark[data-brand="Joyroom"] { color: #1d4ed8; }
.brand-logo-wordmark[data-brand="Spigen"] { color: #475569; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.brand-logo-wordmark[data-brand="Memo"] { color: #7c3aed; }
.brand-logo-wordmark[data-brand="UGREEN"] { color: #4d7c0f; letter-spacing: 0.03em; }
.brand-logo-wordmark[data-brand="Mcdodo"] { color: #b91c1c; }
.brand-logo-wordmark[data-brand="OnePlus"] { color: #eb0029; }
.brand-logo-wordmark[data-brand="Google"] { color: #4285f4; }
.brand-logo-wordmark[data-brand="ESR"] { color: #0f172a; letter-spacing: 0.08em; }
.brand-logo-wordmark[data-brand="Ronin"] { color: #111827; }
.brand-logo-wordmark[data-brand="Beclad"] { color: #0369a1; }
.brand-logo-wordmark[data-brand="Yopod"] { color: #7c3aed; }
.brand-logo-wordmark[data-brand="IMILAB"] { color: #0ea5e9; letter-spacing: 0.04em; font-size: 0.84rem; }
.brand-logo-wordmark[data-brand="Hainoteko"] { color: #334155; font-size: 0.78rem; }
.brand-logo-wordmark[data-brand="Matrix"] { color: #1e293b; }
.brand-logo-wordmark[data-brand="JUNBEST"] { color: #64748b; letter-spacing: 0.04em; font-size: 0.78rem; }
.brand-logo-wordmark[data-brand="AKG"] { color: #f59e0b; letter-spacing: 0.1em; }
.brand-logo-wordmark[data-brand="Generic"] { color: #64748b; font-weight: 700; }

.brand-logo-name {
  display: none !important;
}

.section-header--compact {
  margin-bottom: 0.85rem;
}

.section-header--compact h2 {
  margin: 0.15rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0d1a3a;
}

/* Accessories brand marquee — smooth infinite moving strip */
.brand-marquee-wrap {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e8ecf4;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(13, 26, 58, 0.04), 0 14px 40px rgba(13, 26, 58, 0.06);
  overflow: hidden;
  padding: 0.35rem 0;
}

.brand-marquee-wrap::before,
.brand-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 3;
  pointer-events: none;
}

.brand-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 8%, transparent);
}

.brand-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff 8%, transparent);
}

.brand-marquee {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brand-marquee-scroll 48s linear infinite;
}

.brand-marquee-wrap:hover .brand-marquee,
.brand-marquee-wrap:focus-within .brand-marquee {
  animation-play-state: paused;
}

.brand-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.brand-marquee-track .brand-logo-tile {
  flex: 0 0 auto;
  width: 124px;
  min-width: 124px;
  height: 84px;
  min-height: 84px;
  border-right: 1px solid #eef1f7;
}

.brand-marquee-track .brand-logo-tile:last-child {
  border-right: 1px solid #eef1f7;
}

@keyframes brand-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee {
    animation: none;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .brand-marquee::-webkit-scrollbar {
    display: none;
  }

  .brand-marquee-track[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 768px) {
  .brand-marquee {
    animation-duration: 36s;
  }

  .brand-marquee-wrap::before,
  .brand-marquee-wrap::after {
    width: 28px;
  }

  .brand-marquee-track .brand-logo-tile {
    width: 104px;
    min-width: 104px;
    height: 72px;
    min-height: 72px;
  }
}

@media (max-width: 768px) {
  .dept-grid {
    grid-template-columns: 1fr;
  }

  .dept-card {
    min-height: 170px;
  }

  .cat-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .cat-tile {
    min-height: 100px;
    padding: 0.75rem 0.4rem;
    border-radius: 14px;
  }

  .cat-tile-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .cat-tile-name {
    font-size: 0.75rem;
  }

  .brand-logo-rail-wrap::before,
  .brand-logo-rail-wrap::after {
    width: 28px;
  }

  .brand-logo-tile {
    width: 100px;
    min-width: 100px;
    height: 76px;
    min-height: 76px;
    padding: 0.7rem 0.75rem;
  }

  .brand-logo-img-wrap {
    height: 44px;
  }

  .brand-logo-img {
    max-width: 82px;
    max-height: 36px;
    height: 36px;
  }
}

@media (max-width: 420px) {
  .cat-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}
