.fc-rebate-tag {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 2px 6px;
    margin: 5px 0;
    padding: 3px 8px;
    border-radius: 5px;
    background: #086047;
    color: #fff;
    font-weight: 650;
    font-size: 12px;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}
.fc-rebate-tag strong { color: inherit; white-space: nowrap; }
.fc-rebate-signin { background: #eaf4ee; color: #174b38; border: 1px solid #bad6c5; }
.fc-rebate-frame:empty { display: none; }
.fc-rebate-frame { margin: 6px 0; }
.fc-mobile-rebate { background: #fff; margin: 0; padding: 2px 14px; }
.fc-detail-estimate strong { color: #0a5e45; }
.fc-detail-estimate small { display: block; color: #535d58; }
.fc5-page .fc5-product img,.goods_img img,.goods-pic img { object-fit: contain; }
.fc-purchase-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-top: 14px; }
.fc-purchase-main { flex: 1 1 244px; min-width: 0; }
.fc-purchase-qr { flex: 0 0 auto; text-align: center; font-size: 12px; }
.fc-purchase-qr img { display: block; margin: 3px auto 0; }
.fc-buy-button.layui-btn { width: auto; max-width: 100%; min-width: 136px; height: auto; padding: 2px 17px; border-radius: 7px; font-weight: 700; white-space: normal; }
.detail .detail-coupon.fc-buy-button { box-sizing: border-box; width: calc(100% - 24px); border-radius: 7px; overflow: hidden; margin-inline: 12px; }
.fc-item-toolbar { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.fc-item-tools,.fc-item-tags { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px; }
.fc-item-tools { max-width: 100%; }
.fc-item-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    min-height: 30px;
    border: 1px solid #cbdad1;
    border-radius: 6px;
    background: #fff;
    color: #234735;
    font: 600 12px/1.25 system-ui,sans-serif;
    text-decoration: none;
}
.fc-item-action:hover,.fc-item-action:focus-visible { background: #e8f5ed; color: #123c2a; }
.fc-item-action.fc-item-line { background: #e8f5ed; border-color: #a9cdb7; color: #164c33; }
.fc-item-action img { display: block; flex: none; object-fit: contain; }
.fc-item-qr { border: 1px solid currentColor; border-radius: 2px; padding: 0 2px; font-size: 9px; }
.fc-item-share-links { position: relative; }
.fc-item-share-links summary { list-style: none; cursor: pointer; }
.fc-item-share-links summary::-webkit-details-marker { display: none; }
.fc-item-share-links label {
    position: absolute;
    z-index: 8;
    display: block;
    width: 197px;
    margin-top: 2px;
    padding: 7px;
    color: #253e31;
    border: 1px solid #bfcec5;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 20px #183e2a21;
    font-size: 12px;
}
.fc-item-share-links input { display: block; width: 100%; margin-top: 3px; }
.fc-item-tags a { display: block; padding: 5px 8px; color: #375445; background: #eef2ef; border-radius: 5px; font-size: 12px; }
.fc-coupon-time { margin-top: 6px; color: #535d58; font-size: 12px; }
.fc-mobile-tools { padding: 10px 12px 4px; }
.fc-mobile-tools .fc-item-action { min-height: 38px; }
.fc-mobile-tools .fc-item-share-links label { position: static; max-width: min(197px, 75vw); }
.fc5-more { min-height: 1px; text-align: center; color: #46594e; }
.fc5-more a { display: inline-block; padding: 7px 12px; color: #164c33; }
.fc5-more a[hidden] { display: none; }

.fc-category-directory {
    box-sizing: border-box;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 10px 56px;
    color: #263c31;
}
.fc-category-directory h1 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
}
.fc-category-floor {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #dee8e1;
    border-radius: 8px;
    background: #fff;
}
.fc-category-floor h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}
.fc-category-floor h2 a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    height: 100%;
    padding: 9px 12px;
    box-sizing: border-box;
    border-radius: 5px;
    background: #edf5ef;
    color: #174b38;
    overflow-wrap: anywhere;
}
.fc-floor-number { font-size: 13px; font-variant-numeric: tabular-nums; }
.fc-category-floor img,.fc-category-grid img { object-fit: contain; display: block; }
.fc-category-empty { align-self: center; margin: 8px; color: #52655a; }
.fc-category-nav { padding: 8px; }
.fc-category-nav summary { padding: 6px 0; cursor: pointer; color: #174b38; }
ul.fc-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fc-category-grid > li { min-width: 0; }
.fc-category-grid > li > a {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr) max-content;
    gap: 6px;
    align-items: center;
    min-height: 38px;
    padding: 3px 6px;
    border: 1px solid #e2eae4;
    border-radius: 5px;
    background: #fff;
    color: #293f32;
    font-size: 13px;
    line-height: 1.35;
}
.fc-category-grid a:hover,.fc-category-grid a:focus-visible,.fc-category-grid a[aria-current="page"] {
    border-color: #8bb7a0;
    background: #e8f4ec;
    color: #174b38;
}
.fc-category-name { overflow-wrap: anywhere; }
.fc-category-count { justify-self: end; white-space: nowrap; color: #475f51; font-variant-numeric: tabular-nums; }
.cxx-more-cate.fc-cate-panel { inset-inline: 0; min-width: 0; max-height: 60vh; overflow: auto; overscroll-behavior: contain; }
.cxx-more-cate .fc-category-grid > li { width: auto; float: none; height: auto; line-height: normal; }
.cxx-more-cate .fc-category-grid > li > a { height: auto; }

@media (max-width: 600px) {
    .fc-category-directory { padding: 12px 8px 68px; }
    .fc-category-directory h1 { font-size: 20px; }
    .fc-category-floor { grid-template-columns: 78px minmax(0, 1fr); gap: 6px; padding: 6px; }
    .fc-category-floor h2 { font-size: 14px; }
    .fc-category-floor h2 a { padding: 7px; }
    .fc-category-floor .fc-category-grid { grid-template-columns: minmax(0, 1fr); }
    .fc-category-nav .fc-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 340px) {
    .fc-category-nav .fc-category-grid { grid-template-columns: minmax(0, 1fr); }
}
