/** Shopify CDN: Minification failed

Line 142:0 Expected "}" to go with "{"

**/
section-tab-collections {
  display: block;
}

.TabCollections {
  border-top: 1px solid var(--tg-sys-color-outline);
}

.TabCollections__SectionHeader {
  align-items: center;
}
.TabCollections__SectionHeader .Nav--tabs {
  margin-top: -0.5rem;
}
.TabCollections__SectionHeader .Nav__Item {
  -webkit-margin-end: 1rem;
          margin-inline-end: 1rem;
  margin-top: 0.5rem;
}
.TabCollections__SectionHeader .Nav__Item:last-child {
  -webkit-margin-end: 0;
          margin-inline-end: 0;
}
.TabCollections__SectionHeader .Nav__Item:first-child {
  -webkit-margin-start: 0;
          margin-inline-start: 0;
}
.TabCollections__SectionHeader .Button--underline {
  opacity: 0.6;
}
.TabCollections__SectionHeader .Button--underline:hover, .TabCollections__SectionHeader .Button--underline:active, .TabCollections__SectionHeader .Button--underline.Active {
  opacity: 1;
  font-weight: 600;
}
.TabCollections__SectionHeader .Button--underline::after {
  height: 0px;
}
.TabCollections__SectionHeader .Button--underline:hover:after, .TabCollections__SectionHeader .Button--underline:active:after, .TabCollections__SectionHeader .Button--underline.Active:after {
  height: 2px;
}
/* ================================
   Tab Collections – Button Style Tabs
   ================================ */

/* 1. Tabs container: horizontal scroll, no wrap */
.TabCollections__SectionHeader .Nav.Nav--tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;

  gap: 0px;
  padding-bottom: 20px;
  padding-top: 15px;

  scrollbar-width: none;
}
.TabCollections__SectionHeader .Nav.Nav--tabs::-webkit-scrollbar {
  display: none;
}

.TabCollections__SectionHeader .Nav.Nav--tabs .Nav__Item {
  flex: 0 0 auto;
}

/* 2. Remove underline style completely */
.TabCollections__SectionHeader .Button--underline::after {
  display: none !important;
}

/* 3. Base tab button style (smaller font + border) */
.TabCollections__SectionHeader .Nav.Nav--tabs .Button {
  font-size: 12px;           /* 字体变小 */
  letter-spacing: 0.06em;    /* 更像材质标签 */
  font-weight: 400;

  padding: 6px 6px;
  border-radius: 0px;      /* 胶囊按钮 */
  border: 1px solid var(--tg-sys-color-outline);

  background: transparent;
  opacity: 0.6;

  white-space: nowrap;
  color: #000;                          /* 未选中：黑字 */
  background: transparent;
  border: 1px solid #000;
  opacity: 1;

  transition: background-color 0.2s ease, color 0.2s ease;
}

/* 4. Hover state */
.TabCollections__SectionHeader .Nav.Nav--tabs .Button:hover {
  opacity: 1;
  border-color: currentColor;
  background-color: rgba(0, 0, 0, 0.04);
}

/* 5. Active tab */
.TabCollections__SectionHeader .Nav.Nav--tabs .Button.Active {
  opacity: 1;
  font-weight: 500;
  background-color: #000;               /* 选中：黑底 */
  color: #fff;                          /* 白字 */
  border-color: #000
}

/* Make sure underline stays removed */
.TabCollections__SectionHeader .Button--underline::after {
  display: none !important;

/* 6. Optional: subtle background for active tab */
.TabCollections__SectionHeader .Nav.Nav--tabs .Button.Active {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Dark scheme fallback (optional)
.TabCollections.ColorScheme--scheme-2 
.TabCollections__SectionHeader .Nav.Nav--tabs .Button.Active {
  background-color: rgba(255, 255, 255, 0.08);
}
*/

/* Force the section title (e.g. "MOMO Modular Sofa") to be smaller */
section-tab-collections .TabCollections__SectionHeader h2.SectionHeader__Heading {
  font-size: 18px !important;   /* 改小：你可改 20/21/22 */
  line-height: 1.25 !important;
  letter-spacing: 0.02em;
  margin-top: 10px !important;  /* 👈 拉开与上方横线的距离 */
}



