:root {
    --fish-ink: #263241;
    --fish-muted: #6c7785;
    --fish-soft: #eef7f6;
    --fish-paper: #ffffff;
    --fish-line: #dbe8e7;
    --fish-blue: #2f80ed;
    --fish-teal: #19aebd;
    --fish-yellow: #f5b642;
    --fish-green: #23a36b;
    --fish-shadow: 0 18px 42px rgba(40, 70, 86, .11);
}

html,
body {
    min-height: 100%;
}

body {
    color: var(--fish-ink);
    background:
        linear-gradient(180deg, #f5fbfb 0%, #fffaf0 46%, #ffffff 100%);
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

a {
    color: var(--fish-ink);
}

a:hover {
    color: var(--fish-teal);
}

.header {
    padding: 12px 0;
    border-bottom: 1px solid rgba(38, 50, 65, .08);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 30px rgba(38, 50, 65, .06);
}

.store-header {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 32px;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    color: var(--fish-ink) !important;
    text-decoration: none;
    white-space: nowrap;
}

.store-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.store-brand span {
    color: var(--fish-ink);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0;
}

.store-header-main {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 24px;
}

.store-nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.store-nav-links .nav-link {
    position: relative;
    color: var(--fish-muted);
    font-size: 16px;
    padding: 10px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.store-nav-links .nav-link::after {
    position: absolute;
    right: 12px;
    bottom: 6px;
    left: 12px;
    height: 2px;
    content: "";
    background: transparent;
}

.store-nav-links .nav-link.active,
.store-nav-links .nav-link:hover {
    color: var(--fish-ink);
}

.store-nav-links .nav-link.active::after,
.store-nav-links .nav-link:hover::after {
    background: var(--fish-yellow);
}

.store-search {
    display: flex;
    align-items: center;
    flex: 0 1 320px;
    gap: 8px;
    margin-left: auto;
}

.store-search .form-control {
    min-width: 0;
    flex: 1 1 0;
    width: auto;
    height: 42px;
    border: 1px solid var(--fish-line);
    border-radius: 8px;
    color: var(--fish-ink);
    background: #fff;
    box-shadow: none;
}

.store-search .form-control:focus {
    border-color: var(--fish-teal);
    box-shadow: 0 0 0 3px rgba(25, 174, 189, .12);
}

.store-search .btn {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--fish-ink);
    color: #fff;
}

.store-search .btn:hover {
    background: var(--fish-teal);
}

.store-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 38px;
    border-bottom: 1px solid rgba(38, 50, 65, .08);
    background:
        linear-gradient(135deg, rgba(231, 249, 248, .96) 0%, rgba(255, 249, 230, .98) 100%);
}

.store-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .36;
    background-image:
        linear-gradient(120deg, rgba(25, 174, 189, .14) 0 1px, transparent 1px 24px),
        linear-gradient(0deg, rgba(255, 255, 255, .62) 0 1px, transparent 1px 18px);
}

.store-hero .container {
    position: relative;
}

.store-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 28px;
    align-items: stretch;
}

.store-hero-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.store-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--fish-teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.store-hero h1 {
    margin: 0;
    color: var(--fish-ink);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: 0;
}

.store-hero-copy p {
    max-width: 520px;
    margin: 16px 0 0;
    color: #566474;
    font-size: 18px;
    line-height: 1.8;
}

.store-stats {
    display: grid;
    width: 100%;
    max-width: 520px;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.store-stats div {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(25, 174, 189, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .66);
}

.store-stats strong {
    display: block;
    color: var(--fish-ink);
    font-size: 28px;
    line-height: 1.1;
}

.store-stats span {
    display: block;
    margin-top: 5px;
    color: var(--fish-muted);
    font-size: 13px;
}

.notice-panel {
    min-width: 0;
    min-height: 210px;
    padding: 22px;
    border: 1px solid rgba(38, 50, 65, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--fish-shadow);
}

.notice-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--fish-ink);
    font-size: 18px;
    font-weight: 700;
}

.notice-panel-header i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--fish-soft);
    color: var(--fish-teal);
}

.notice-panel-body {
    max-height: 145px;
    overflow: auto;
    color: #526170;
    font-size: 15px;
    line-height: 1.8;
}

.notice-panel-body p {
    margin-bottom: 0;
}

.store-main {
    padding-bottom: 30px;
}

.category {
    padding: 34px 0 24px;
}

.store-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.store-section-head h2 {
    margin: 0;
    color: var(--fish-ink);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
}

.store-section-head p {
    max-width: 520px;
    margin: 0;
    color: var(--fish-muted);
    font-size: 16px;
    line-height: 1.8;
}

.category-menus {
    padding: 12px;
    border: 1px solid rgba(38, 50, 65, .07);
    border-radius: 8px;
    background: rgba(255, 255, 255, .74);
}

.category-menus li {
    display: inline-block;
    margin: 4px;
}

.category-menus .btn {
    min-width: 82px;
    border-color: var(--fish-line);
    border-radius: 8px;
    color: var(--fish-muted);
    background: #fff;
    font-weight: 600;
}

.category-menus .btn.active,
.category-menus .btn:hover {
    border-color: var(--fish-teal);
    background: var(--fish-teal);
    color: #fff;
}

.goods-list {
    min-height: 210px;
}

.product-card {
    overflow: hidden;
    border: 1px solid rgba(38, 50, 65, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(38, 50, 65, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    border-color: rgba(25, 174, 189, .36);
    box-shadow: 0 18px 34px rgba(38, 50, 65, .13);
    transform: translateY(-3px);
}

.product-media {
    position: relative;
    display: flex;
    aspect-ratio: 1 / .72;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(25, 174, 189, .08), rgba(245, 182, 66, .15));
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delivery-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    padding: 6px 9px;
    font-weight: 600;
}

.delivery-auto {
    background: rgba(35, 163, 107, .92);
}

.delivery-manual {
    background: rgba(245, 182, 66, .95);
    color: var(--fish-ink);
}

.product-card .card-body {
    display: flex;
    min-height: 168px;
    flex-direction: column;
    padding: 14px;
}

.product-card .card-title {
    min-height: 42px;
    margin: 0 0 10px;
    color: var(--fish-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-tags {
    display: flex;
    min-height: 27px;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 8px;
    color: var(--fish-muted);
    background: #f4f8f8;
    font-size: 12px;
}

.product-tag-sale {
    color: #8a5a00;
    background: #fff3cf;
}

.product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: #d87918;
    white-space: nowrap;
}

.product-price small {
    font-size: 13px;
}

.product-price strong {
    font-size: 24px;
    line-height: 1;
}

.product-buy-btn {
    display: inline-flex;
    min-width: 86px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: var(--fish-teal);
    color: #fff;
    font-weight: 700;
}

.product-buy-btn:hover {
    background: var(--fish-blue);
    color: #fff;
}

.store-empty {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 16px;
    border: 1px dashed rgba(25, 174, 189, .36);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.store-empty-small {
    min-height: 180px;
}

.store-empty img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    margin-bottom: 14px;
}

.store-empty h3 {
    margin: 0 0 8px;
    color: var(--fish-ink);
    font-size: 20px;
    font-weight: 800;
}

.store-empty p {
    margin: 0;
    color: var(--fish-muted);
}

.footer {
    margin-top: 36px;
    border-top: 1px solid rgba(38, 50, 65, .08);
    background: #fff;
    color: var(--fish-muted);
}

.footer .author {
    font-weight: 600;
}

.footer .custom {
    margin-top: 6px;
}

.footer .custom:empty {
    display: none;
}

.recommend p {
    font-size: 14px;
}

.goods-buy {
    line-height: 40px;
    font-size: 13px;
}

.goods-introduction-cate {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.buy-form label {
    font-size: 16px;
}

@media (max-width: 991px) {
    .header {
        padding: 10px 0;
    }

    .store-header {
        gap: 20px;
    }

    .store-brand img {
        width: 48px;
        height: 48px;
    }

    .store-brand span {
        font-size: 23px;
    }

    .store-search {
        flex-basis: 260px;
    }
}

@media (max-width: 767px) {
    .store-header {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .store-brand {
        justify-content: flex-start;
        width: 100%;
    }

    .store-header-main {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
        border: 1px solid var(--fish-line);
        border-radius: 8px;
        background: rgba(255, 255, 255, .78);
    }

    .store-nav-links {
        flex-wrap: wrap;
        gap: 2px 8px;
    }

    .store-search {
        width: 100%;
        flex-basis: auto;
        margin-left: 0;
    }

    .store-search .btn {
        display: none;
    }

    .store-hero {
        padding: 28px 0 24px;
    }

    .store-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .store-hero h1 {
        font-size: 34px;
    }

    .store-hero-copy p {
        font-size: 16px;
    }

    .store-stats {
        max-width: none;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .store-stats div {
        padding: 12px 8px;
    }

    .store-stats strong {
        font-size: 23px;
    }

    .notice-panel {
        min-height: 0;
        padding: 18px;
    }

    .store-section-head {
        display: block;
    }

    .store-section-head h2 {
        font-size: 24px;
    }

    .store-section-head p {
        margin-top: 10px;
        font-size: 15px;
    }

    .category {
        padding: 26px 0 18px;
    }

    .category-menus .nav {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .category-menus li {
        flex: 0 0 auto;
    }

    .product-card .card-body {
        min-height: 190px;
        padding: 12px;
    }

    .goods .row-cols-2 > * {
        width: 100%;
    }

    .product-action {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-buy-btn {
        width: 100%;
    }
}
