/* Homepage details shared by the published storefront and its real preview. */
html[data-ds-theme] .index-container .banner-section {
  box-sizing:border-box;
  border:var(--ds-banner-border-width) solid var(--ds-banner-border-color) !important;
}
html[data-ds-theme] .index-container .banner-section::before,
html[data-ds-theme] .index-container .banner-section::after { border-color:var(--ds-banner-border-color); }
html[data-ds-theme] .index-container .index-banner-section {
  box-sizing:border-box;overflow:hidden;
  border:var(--ds-small-banner-border-width) solid var(--ds-small-banner-border-color) !important;
  border-radius:12px;
}
html[data-ds-theme][data-ds-notice] .index-container .notice-section { background:var(--ds-notice-bg) !important; }
html[data-ds-theme][data-ds-notice] .index-container .notice-section :is(.uv-notice__content__text,.uv-notice__content__text uni-text,.uv-notice-bar__content) { color:var(--ds-notice-color) !important; }
html[data-ds-theme][data-ds-notice="label"] .ds-notice-preset { background:var(--ds-notice-label-bg) !important;color:var(--ds-notice-label-color) !important; }
html[data-ds-theme] .custom-tabbar-wrap .custom-tabbar { box-sizing:border-box;border:var(--ds-nav-border-width) solid var(--ds-nav-border-color) !important; }
/* Keep selected navigation backgrounds pale in every theme. */
html[data-ds-theme][data-ds-nav]:not([data-ds-nav="current"]) .custom-tabbar::before { background:color-mix(in srgb,var(--ds-accent) 10%,var(--ds-surface)) !important; }
html[data-ds-theme]:is([data-ds-nav="outline-glass"],[data-ds-nav="highlight-glass"]) .custom-tabbar .tabbar-item.active::after { background:color-mix(in srgb,var(--ds-accent) 10%,var(--ds-surface)) !important;border-color:color-mix(in srgb,var(--ds-accent) 25%,var(--ds-surface)) !important; }
html[data-ds-theme]:is([data-ds-nav="floating"],[data-ds-nav="highlight-glass"]) .custom-tabbar .tabbar-item.active::before { background:var(--ds-accent) !important; }
html[data-ds-theme][data-ds-nav="floating"] .custom-tabbar .tabbar-item.active .tabbar-text { color:var(--ds-text) !important; }
html[data-ds-theme] .home-popup-content {
  box-sizing:border-box;background:var(--ds-popup-bg) !important;
  border:var(--ds-popup-border-width) solid var(--ds-popup-border-color) !important;
}
html[data-ds-theme] .home-popup-content :is(.home-popup-footer,.home-popup-close-btn) { background:var(--ds-popup-bg) !important; }
html[data-ds-theme] .uv-popup__content:has(.home-popup-content) { background:transparent !important; }
html[data-ds-theme="classic-gold"] .index-container { background:#f6f8fb !important; }
html[data-ds-theme="classic-gold"] .index-container .header-bg { visibility:visible; }
html[data-ds-theme="classic-gold"] .index-container .waterfall-item .home-goods-order-btn { background:#ffd000 !important;border-color:#ffd000 !important; }

/* Selection outlines exist only inside the isolated editor entry. */
html[data-ds-editor="home"] [data-ds-edit-component] { outline:1px dashed #a3aab6 !important;outline-offset:-1px;cursor:pointer; }
html[data-ds-editor="home"] [data-ds-edit-component]:hover { outline-color:#6d9dff !important; }
html[data-ds-editor="home"] [data-ds-edit-component][data-ds-edit-selected="true"] { outline:2px solid #3478f6 !important;outline-offset:-2px; }
html[data-ds-editor="home"][data-ds-editor-mode="preview"] [data-ds-edit-component] { outline:none !important;cursor:default; }
html[data-ds-editor="home"]:not([data-ds-editor-selected="popup"]) .uv-popup:has(.home-popup-content) { display:none !important; }
html[data-ds-editor="home"] .index-container .search-input input { pointer-events:none; }
html[data-ds-editor="home"] .home-popup-body:empty::after { content:'尚未设置公告内容';display:block;padding:20px 0;color:#8c95a4;font-size:14px; }

/* A compact announcement card for the selected classic preset. */
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section {
  box-sizing: border-box;
  min-height: 32px;
  margin: 0 var(--ds-page-gap, 12px) 10px !important;
  padding: 0 8px !important;
  border: 0 !important;
  background: var(--ds-notice-classic-bg, #fff4d8) !important;
  box-shadow: none !important;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section .uv-notice-bar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: auto !important;
  min-height: 32px;
  padding: 6px 0 !important;
  line-height: 20px !important;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section .uv-notice {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section .uv-notice__left-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  min-width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section .uv-notice__left-icon .uv-icon {
  display: none;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section .uv-notice__left-icon::before {
  content: '';
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: var(--ds-notice-classic-icon, #ffdd28);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20d%3D%22M778.634%20207.166a37.026%2037.026%200%200%200-51.205%2010.927v0.452a38.38%2038.38%200%200%200%2010.566%2052.378c4.064%202.8%20100.061%2069.176%20100.061%20234.8s-92.114%20232.001-95.726%20234.8a38.29%2038.29%200%200%200-10.385%2052.83A37.297%2037.297%200%200%200%20783.6%20803.74c5.328-3.522%20129.14-89.766%20129.14-298.015S784.143%20210.778%20778.634%20207.166z%22%20fill%3D%22%23FFDD28%22%2F%3E%3Cpath%20d%3D%22M668.278%20343.17a37.026%2037.026%200%200%200-49.308%2018.061%2038.652%2038.652%200%200%200%2017.068%2050.753c2.438%201.264%2058.52%2030.795%2058.52%20115.143%200%2090.307-52.47%20119.928-54.185%20120.922a38.29%2038.29%200%200%200-16.798%2051.024%2037.478%2037.478%200%200%200%2050.211%2017.068c3.974-2.077%2095.636-50.211%2095.636-188.924%200.362-133.927-96.629-181.79-101.144-184.047zM544.646%2091.933c-9.572-4.244-34.859-11.378-62.583%2013.908l-62.132%2056.713-124.173%20112.704H145.757a78.207%2078.207%200%200%200-77.846%2078.207v251.597a78.116%2078.116%200%200%200%2077.846%2078.207h104.666l169.508%20153.794%2062.222%2056.442a62.132%2062.132%200%200%200%2042.264%2018.062%2049.308%2049.308%200%200%200%2020.32-4.245c9.572-4.154%2031.698-18.061%2031.698-55.449v-704.4c0-26.1-11.83-46.69-31.789-55.54z%20m-124.715%20639.56L291.875%20614.815a39.465%2039.465%200%200%200-26.37-9.753H146.118V353.826h157.136a39.103%2039.103%200%200%200%2033.504-9.03l83.534-75.95%2078.207-71.072v605.062z%22%20fill%3D%22%23FFDD28%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20d%3D%22M778.634%20207.166a37.026%2037.026%200%200%200-51.205%2010.927v0.452a38.38%2038.38%200%200%200%2010.566%2052.378c4.064%202.8%20100.061%2069.176%20100.061%20234.8s-92.114%20232.001-95.726%20234.8a38.29%2038.29%200%200%200-10.385%2052.83A37.297%2037.297%200%200%200%20783.6%20803.74c5.328-3.522%20129.14-89.766%20129.14-298.015S784.143%20210.778%20778.634%20207.166z%22%20fill%3D%22%23FFDD28%22%2F%3E%3Cpath%20d%3D%22M668.278%20343.17a37.026%2037.026%200%200%200-49.308%2018.061%2038.652%2038.652%200%200%200%2017.068%2050.753c2.438%201.264%2058.52%2030.795%2058.52%20115.143%200%2090.307-52.47%20119.928-54.185%20120.922a38.29%2038.29%200%200%200-16.798%2051.024%2037.478%2037.478%200%200%200%2050.211%2017.068c3.974-2.077%2095.636-50.211%2095.636-188.924%200.362-133.927-96.629-181.79-101.144-184.047zM544.646%2091.933c-9.572-4.244-34.859-11.378-62.583%2013.908l-62.132%2056.713-124.173%20112.704H145.757a78.207%2078.207%200%200%200-77.846%2078.207v251.597a78.116%2078.116%200%200%200%2077.846%2078.207h104.666l169.508%20153.794%2062.222%2056.442a62.132%2062.132%200%200%200%2042.264%2018.062%2049.308%2049.308%200%200%200%2020.32-4.245c9.572-4.154%2031.698-18.061%2031.698-55.449v-704.4c0-26.1-11.83-46.69-31.789-55.54z%20m-124.715%20639.56L291.875%20614.815a39.465%2039.465%200%200%200-26.37-9.753H146.118V353.826h157.136a39.103%2039.103%200%200%200%2033.504-9.03l83.534-75.95%2078.207-71.072v605.062z%22%20fill%3D%22%23FFDD28%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section .uv-notice__content {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  overflow: hidden;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section :is(.uv-notice__content__text,.uv-notice__content__text uni-text,.uv-notice-bar__content) {
  font-size: 13px !important;
  font-weight: 400;
  line-height: 20px !important;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section.ds-notice-has-icon .uv-notice__left-icon {
  visibility: visible;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section.ds-notice-has-icon .uv-notice__left-icon::before {
  visibility: hidden;
}
html[data-ds-theme][data-ds-notice="classic"] .index-container .notice-section .ds-notice-custom-icon {
  width: 16px;
  height: 16px;
  left: 8px;
}

/* Compact primary-category frames. */
html[data-ds-theme][data-ds-category="image-label"] .index-container[data-v-0169fc58] .top_classify_box .classify_image,
html[data-ds-theme][data-ds-category="image-label"] .category-container[data-v-64370f3f] .primary-icon-wrap {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  border: 2px solid #fff !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .18s ease;
}
html[data-ds-theme][data-ds-category="image-label"] .index-container[data-v-0169fc58] .top_classify_box .select .classify_image,
html[data-ds-theme][data-ds-category="image-label"] .category-container[data-v-64370f3f] .primary-category-item.active .primary-icon-wrap {
  border-color: #111 !important;
}
html[data-ds-theme][data-ds-category="image-label"] .index-container[data-v-0169fc58] .top_classify_box .classify_item,
html[data-ds-theme][data-ds-category="image-label"] .category-container[data-v-64370f3f] .primary-category-item {
  padding-bottom: 15px !important;
}
html[data-ds-theme][data-ds-category="image-label"] .index-container[data-v-0169fc58] .top_classify_box .classify_underline {
  display: block !important;
  bottom: 8px !important;
}
html[data-ds-theme][data-ds-category="image-label"] .category-container[data-v-64370f3f] .primary-category-item.active::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 21px;
  height: 3px;
  border-radius: 999px;
  background: var(--ds-accent);
}
@media (prefers-reduced-motion: reduce) {
  html[data-ds-category="image-label"] .index-container .top_classify_box .classify_image,
  html[data-ds-category="image-label"] .category-container .primary-icon-wrap {
    transition: none;
  }
}
