﻿:root {
    --db-primary: #ff6900;
    --db-dark: #191919;
    --db-gray: #6b6b6b;
    --db-light: #f6f6f6;
    --db-price: #ff6900;
    --db-price-old: #999999;
}

body {
    font-family: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #111;
}

a { text-decoration: none; }

/* Unified Price Styles */
.price {
    color: var(--db-price);
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.price small,
.price .currency {
    font-size: 0.85em;
    font-weight: 500;
    margin-right: 1px;
}

.price-del {
    color: #b0b0b0;
    text-decoration: line-through;
    font-size: 0.8em;
    margin-left: 6px;
    font-weight: 400;
}

.price-dark {
    color: var(--db-dark);
    font-weight: 600;
}

.top-bar {
    background: #111;
    color: #bbb;
    font-size: 0.85rem;
    position: relative;
    z-index: 1030;
}
.top-bar a { color: #bbb; }

.main-nav { border-bottom: 1px solid rgba(0,0,0,0.05); background: #fff; }
.main-nav .navbar-brand { font-weight:700; color: var(--db-primary); padding: 0; }
.main-nav .navbar-brand img { height: 45px; width: auto; display: block; }

.product-nav a { font-weight:500; color:#222; padding:0.25rem 0.75rem; }
.product-nav a:hover, .product-nav a:focus, .product-nav a.active { color: var(--db-primary); }

.search-pill { border-radius: 999px; background: #f0f0f0; border: none; }
.search-group { border-radius: 999px; overflow: hidden; background: #f0f0f0; }
.search-group .form-control { font-size: 0.8rem; border-radius: 999px 0 0 999px; border: none; background: transparent; padding-inline: 1.25rem; padding-right: 0.75rem; }
.search-group .form-control:focus { box-shadow: none; background: #fff; }
.search-group .btn-search { border-radius: 0 999px 999px 0; padding-inline: 1.5rem; border: none; margin-left: 0; display: inline-flex; align-items: center; gap: 0.25rem; }
.search-group input::placeholder {
    font-size: 0.8rem; /* 或你需要的更小的尺寸 */
}

.icon-button { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f5f5f5; color: #222; padding: 0; flex: 0 0 44px; aspect-ratio: 1 / 1; }

.hero-stack { background: transparent; }

.category-panel { background: rgba(25,25,25,0.85); border-radius: 1.25rem; color: #fff; min-height: 200px; }
.category-link { color: #ddd; display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.5rem; border-radius: 0.75rem; }
.category-link:hover { background: rgba(255,255,255,0.1); color: #fff; }

.hero-carousel { height: 100%; min-height: 320px; }
.hero-carousel .carousel-inner, .hero-carousel .carousel-item { height: 100%; }
.hero-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
}
.hero-slide-link {
    display: block;
    height: 100%;
}
.hero-carousel .badge { letter-spacing: 0.2em; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.95); top: 50%; transform: translateY(-50%); opacity: 1; box-shadow: 0 10px 25px rgba(0,0,0,0.15); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hero-carousel .carousel-control-prev:hover, .hero-carousel .carousel-control-next:hover { transform: translateY(-50%) scale(1.05); box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
.hero-carousel .carousel-control-prev { left: -10px; }
.hero-carousel .carousel-control-next { right: -10px; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon { filter: invert(1); }

.curated-floor {
    background: linear-gradient(135deg, #fff, #fff7f1);
}
.curated-spotlight {
    background: #fff;
    border-radius: 1.75rem;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.curated-spotlight__media {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f5f5f5;
}
.curated-spotlight__media img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.curated-specs .list-inline-item {
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.05);
    margin: 0 0.35rem 0.35rem 0;
}
.curated-grid .col { display: flex; }
.curated-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.curated-card:hover { transform: translateY(-4px); box-shadow: 0 25px 55px rgba(0,0,0,0.12); }
.curated-card__img {
    border-radius: 0.9rem;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.curated-spotlight-goods img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-left: 8px;
    object-fit: cover;
}

.square-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.square-thumb {
    height: 140px;
    aspect-ratio: 1 / 1;
    width: auto;
    object-fit: cover;
    display: block;
}

.quick-links .card { border: none; border-radius: 1rem; background: transparent; box-shadow: none; }
.quick-grid .quick-card { position: relative; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 20px 45px rgba(0,0,0,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.quick-grid .quick-card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0,0,0,0.12); }
.quick-grid .quick-thumb { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.quick-grid .quick-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.25rem; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 80%); }
.quick-grid .quick-label small { letter-spacing: 0.1em; text-transform: uppercase; }

.mkt-card { border-radius: 1.5rem; overflow: hidden; position: relative; background: #fff; }
.mkt-card img {border-radius: 1.5rem; }
.mkt-card .badge { font-size: 0.75rem; }
.mkt-card-eImg {max-width: 165px; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

.mkt-card .d-flex.flex-wrap.justify-content-between {
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap !important;
}
.mkt-card .d-flex.flex-wrap.justify-content-between img,
.mkt-card .d-flex.flex-wrap.justify-content-between .img-fluid {
    align-self: center;
}

.mkt-card .d-flex.flex-wrap.justify-content-between > img.square-thumb,
.mkt-card .d-flex.flex-wrap.justify-content-between > .img-fluid.square-thumb {
    flex: 0 0 140px !important;
    width: 140px !important;
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 0.9rem;
}

@media (max-width: 767px) {
    .mkt-card .d-flex.flex-wrap.justify-content-between {
        flex-wrap: wrap;
    }
    .mkt-card .d-flex.flex-wrap.justify-content-between > img.square-thumb,
    .mkt-card .d-flex.flex-wrap.justify-content-between > .img-fluid.square-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: 140px;
    }
}
.mkt-card .d-flex.flex-wrap.justify-content-between > div {
    flex: 1 1 auto;
    min-width: 0;
}
.mkt-card h3, .mkt-card h4,
.product-wall-card h6, .goods-card h6, .curated-card h6, .curated-spotlight h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
    max-height: calc(1.15em * 2);
}

.mkt-card h4 {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.15;
    max-height: none;
}

/* 强制人气清单商品图片为正方形 */
.product-wall-card img.square-img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block;
    height: auto;
    max-width: 100%;
}

/* 人气清单“加入购”美化 */
.product-wall-card .btn-join {
    background: linear-gradient(90deg, #222 0%, #444 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(34,34,34,0.08);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.product-wall-card .btn-join:hover {
    background: linear-gradient(90deg, #111 0%, #333 100%);
    box-shadow: 0 6px 18px rgba(34,34,34,0.14);
    transform: translateY(-2px) scale(1.04);
    color: #fff;
}

.footer-goods-list {transition: transform 0.25s ease, box-shadow 0.25s ease;}
.footer-goods-list:hover { transform: translateY(-4px); box-shadow: 0 25px 55px rgba(0,0,0,0.12); }

.floor-title { font-size: 1.75rem; font-weight: 600; }
.floor-highlight { background: linear-gradient(120deg, #ffe5d2, #ffe6f2); border-radius: 1.5rem; padding: 2.5rem; gap: 1.5rem; }
.floor-highlight img { max-height: 320px; flex-shrink: 0; width: auto; }
.floor-highlight-body { max-width: 320px; }

.highlight-floor { background: #fff; }
.highlight-floor--premium { background: #fff8f2; }
.highlight-floor--premium .text-muted { color: #6e6d6d; }
.highlight-floor--premium .floor-title { color: #111; }
.premium-card {
    background: #fff;
    border-radius: 1.75rem;
    padding: 2rem;
    box-shadow: 0 20px 55px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.premium-card--hero { background: linear-gradient(135deg, #fff, #fff4eb); }
.premium-card__head p { max-width: 480px; }
.premium-chip-list .list-inline-item {
    background: rgba(0,0,0,0.05);
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    margin-bottom: 0.4rem;
}
.premium-card__image {
    border-radius: 1.25rem;
    overflow: hidden;
    height: 280px;
}
.premium-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.premium-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 1rem;
}
.mini-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mini-card--accent {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mini-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(17,17,17,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--db-dark);
}
.mini-card__media {
    border-radius: 0.9rem;
    overflow: hidden;
}
.mini-card__media img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.mini-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mini-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 0.75rem;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.floor-card-title { font-weight: 600; font-size: 1rem; }

.lifestyle-refresh { background: linear-gradient(135deg, #ffffff, #f4f7ff); }
.lifestyle-refresh-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lifestyle-refresh-card:hover { transform: translateY(-4px); box-shadow: 0 25px 55px rgba(0,0,0,0.12); }
.lifestyle-refresh-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.lifestyle-refresh-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.lifestyle-refresh-media .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.lifestyle-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.lifestyle-pill {
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.05);
    font-size: 0.8rem;
    color: #444;
}

.product-wall { background: #fff; }
.product-wall-grid .col-6 { display: flex; }
.product-wall-card {
    background: #fff;
    border-radius: 1.2rem;
    padding: 1.25rem;
    box-shadow: 0 20px 45px rgba(0,0,0,0.07);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-wall-card img {
    border-radius: 1rem;
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.product-wall-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.product-wall-card .btn { font-size: 0.85rem; }

@media (max-width: 575px) {
    .curated-spotlight,
    .lifestyle-refresh-card,
    .premium-card,
    .scene-showcase { padding: 1.5rem; }
    .curated-card__img,
    .product-wall-card img,
    .scene-tile__media { height: 140px; }
}

.goods-card { border: none; border-radius: 1.25rem; background: #fff; padding: 1.5rem; height: 100%; box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.goods-card img { max-height: 300px; margin-bottom: 1rem;  aspect-ratio: 1 / 1; border-radius: 0.9rem;}
.goods-card:hover { box-shadow: 0 20px 45px rgba(0,0,0,0.1); }
.smart-scene {
    background: linear-gradient(120deg, #fff7ed, #f2f7ff);
}
.scene-showcase {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 55px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}
.scene-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.scene-chip {
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.06);
    font-size: 0.82rem;
    color: #444;
}
.scene-showcase__media {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
}
.scene-showcase__media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.scene-showcase__overlay {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    background: rgba(17,17,17,0.8);
    color: #fff;
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
}
.scene-showcase__overlay strong {
    display: block;
    font-size: 1.2rem;
}
.scene-price {
    font-size: 2rem;
    font-weight: 700;
}
.scene-showcase__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.scene-grid .col-md-6 { display: flex; }
.scene-tile {
    background: #fff;
    border-radius: 1.2rem;
    padding: 1.25rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.scene-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.12);
}
.scene-tile__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.scene-tile__media {
    width: 100%;
    border-radius: 1rem;
    height: 140px;
    object-fit: cover;
}
.scene-tile__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.life-banner { border-radius: 2rem; background: linear-gradient(90deg, #111, #2b2b2b); color: #fff; padding: 3rem; overflow: hidden; }
.life-banner img { max-height: 240px; }

.service-tile { border-radius: 1rem; border: 1px solid #eee; padding: 1.5rem; background: #fff; transition: border-color 0.2s ease, transform 0.2s ease; }
.service-tile:hover { border-color: var(--db-primary); transform: translateY(-3px); }

.footer { background: var(--db-dark); color: #bbb; }
footer { background: var(--db-dark); color: #bbb; }
footer a { color: #ddd; font-size: 0.95rem; }

/* Brand page */
.brand-section { text-align: center; margin-bottom: 3rem; }
.brand-section p { color: var(--db-gray); }
.brand-grid .brand-tile { background: #fff; border-radius: 1.5rem; padding: 1.75rem 1.25rem; box-shadow: 0 15px 35px rgba(0,0,0,0.08); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.brand-grid .brand-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0,0,0,0.12); }
.brand-grid .brand-logo { width: 100%; max-width: 120px; height: 80px; object-fit: contain; }
.brand-grid h6 { font-weight: 600; margin: 0; }

/* Brand Page Beautification */
.brand-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #141E30, #243B55) !important;
}
.brand-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}
.brand-hero-badge {
    letter-spacing: 0.15em;
    animation: fadeInUp 0.6s ease-out;
}
.brand-hero-title {
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.brand-hero-desc {
    animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.brand-hero-btn {
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
}
.brand-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.3);
}
.brand-hero-btn-outline {
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
    border-width: 2px;
}
.brand-hero-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}
.brand-hero-visual {
    transform: rotate(-15deg) translateY(20px);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: rotate(-15deg) translateY(20px); }
    50% { transform: rotate(-12deg) translateY(30px); }
}
.brand-visual-block {
    width: 120px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.brand-visual-block-offset {
    margin-top: -40px;
    background: rgba(255,255,255,0.15);
}
.brand-visual-block-large {
    background: rgba(255,255,255,0.2);
}
.brand-hero:hover .brand-visual-block {
    transform: scale(1.05);
    background: rgba(255,255,255,0.15);
}
.brand-hero:hover .brand-visual-block-offset {
    background: rgba(255,255,255,0.2);
}
.brand-hero:hover .brand-visual-block-large {
    background: rgba(255,255,255,0.25);
}

/* Featured Brand Cards */
.brand-featured-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.brand-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}
.brand-logo-wrapper {
    position: relative;
    transition: transform 0.3s ease;
}
.brand-featured-card:hover .brand-logo-wrapper {
    transform: scale(1.1) rotate(5deg);
}
.brand-logo-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: all 0.3s ease;
}
.brand-featured-card:hover .brand-logo-img {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}
.brand-badge {
    transition: all 0.2s ease;
    font-size: 0.75rem;
}
.brand-featured-card:hover .brand-badge {
    background: var(--db-primary) !important;
    color: #fff !important;
    border-color: var(--db-primary) !important;
    transform: translateY(-2px);
}
.brand-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.brand-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.brand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Brand Index Bar */
.brand-index-bar {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.brand-index-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
}
.brand-index-link:hover {
    background: rgba(255,105,0,0.1);
    color: var(--db-primary);
    transform: translateY(-2px) scale(1.1);
}
.brand-index-link-active {
    background: var(--db-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255,105,0,0.3);
}
.brand-index-link-active:hover {
    background: #ff914e;
    color: #fff;
    transform: translateY(-2px) scale(1.1);
}

/* Brand Cards Grid */
.brand-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
}
.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--db-primary), #ff914e);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.brand-card:hover::before {
    opacity: 1;
}
.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15) !important;
}
.brand-image-wrapper {
    position: relative;
    transition: transform 0.3s ease;
}
.brand-card:hover .brand-image-wrapper {
    transform: scale(1.08);
}
.brand-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    transition: all 0.3s ease;
}
.brand-card:hover .brand-image {
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) !important;
}
.brand-name {
    transition: color 0.3s ease;
}
.brand-card:hover .brand-name {
    color: var(--db-primary) !important;
}

/* Brand Link Hover */
.brand-link-hover {
    transition: all 0.2s ease;
}
.brand-link-hover:hover {
    color: var(--db-primary) !important;
}
.brand-link-hover:hover i {
    transform: translateX(4px);
}
.brand-link-hover i {
    transition: transform 0.2s ease;
    display: inline-block;
}

/* Category page specific */
.breadcrumb-bg {
    background:#fff;
    border-radius:1rem;
    padding:1rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}
.breadcrumb-bg .breadcrumb-item a {
    color: #666;
    transition: color 0.2s ease;
}
.breadcrumb-bg .breadcrumb-item a:hover {
    color: var(--db-primary);
}
.category-sidebar {
    background:#fff;
    border-radius:1.25rem;
    padding:1.5rem;
    min-height:100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}
.category-sidebar h6 {
    color: var(--db-dark);
    font-weight: 700;
    font-size: 1.1rem;
}
.category-sidebar .subcat {
    display:flex;
    align-items:center;
    padding:.75rem 1rem;
    border-radius:.75rem;
    color:#444;
    transition: all 0.2s ease;
    font-weight: 500;
    margin-bottom: 0.35rem;
}
.category-sidebar .subcat i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}
.category-sidebar .subcat:hover {
    background: rgba(255,105,0,0.08);
    color: var(--db-primary);
    transform: translateX(4px);
}
.category-sidebar .subcat.active {
    background: rgba(255,105,0,0.1);
    color: var(--db-primary);
    font-weight: 600;
}

.product-card {
    background:#fff;
    border-radius:1.25rem;
    padding:1.5rem;
    height:100%;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0,0,0,0.15);
    border-color: rgba(255,105,0,0.2);
}
.product-card-badge {
    z-index: 2;
}
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #f8f9fa;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image-wrapper {
    transform: scale(1.05);
}
.product-card img {
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    border-radius:0.75rem;
    transition: transform 0.3s ease;
}
.product-card:hover img {
    transform: scale(1.08);
}
.product-card h6 {
    color: var(--db-dark);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}
/*.product-card:hover h6 {
    color: var(--db-primary);
}*/
.product-card .price {
    margin-top: auto;
    font-size: 1.25rem;
}
.card-body {
    padding: 1rem 0 0 0;
}
h4, h6 { color: var(--db-dark); }
/* .price class is now defined globally at the top */

@media (max-width: 991px) {
    .hero-carousel .carousel-item { padding: 2rem; text-align: center; }
    .floor-highlight { text-align: center; }
    .category-sidebar { margin-bottom:1rem }
}

/* Tag filter pills */
.tag-list { display:flex; gap:0.5rem; flex-wrap:wrap; }
.tag-pill {
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    background: #fff;
    color: #111;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tag-pill:hover {
    border-color: rgba(0,0,0,0.4);
    transform: translateY(-1px);
}
.tag-pill.active {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 10px 25px rgba(17,17,17,0.08);
}
.tag-group-title {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    font-weight: 600;
}
.tag-panel {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}
.tag-panel:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.tag-group-title {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.tag-group-title i {
    color: var(--db-primary);
    font-size: 1rem;
}
.tool-card {
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    gap: 0.7rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    color: #111;
}
.tool-card i {
    font-size: 1.4rem;
    color: #ff6952;
}
.stat-value {
    transition: border-color .2s ease, box-shadow .2s ease;
    color: #111 !important;
    border: 1px solid #e9e9e9 !important;
}
.pagination .page-link:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}
.pagination .page-item.active .page-link {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    align-items: center;
    gap: 0.4rem;
}
.member-links {
    background: transparent !important;
    border-color: transparent !important;
}

/* Sort buttons - Black & White style */

/* Reusable Black & White control wrapper */
.bw-controls {
    /* container for pagination, button groups, etc. */
}

.bw-controls .pagination { gap: 0.4rem; }
.bw-controls .pagination .page-link {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #e9e9e9 !important;
}
.bw-controls .pagination .page-link:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}
.bw-controls .pagination .page-item.active .page-link {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    box-shadow: none !important;
}
.bw-controls .pagination .page-item.disabled .page-link {
    color: #999 !important;
    background: transparent !important;
    border-color: transparent !important;
}
.pagination-bw .page-link {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
}
.pagination-bw .page-link:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}
.pagination-bw .page-item.active .page-link {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    box-shadow: none !important;
}
.pagination-bw .page-item.disabled .page-link {
    color: #aaa !important;
    background: transparent !important;
    border-color: transparent !important;
}
.pagination .page-item:first-child .page-link:hover {
    background: #111;
    color: #fff;
}

/* Sort buttons inside a bw-controls wrapper */
.bw-controls .btn-group[aria-label="排序"] .btn {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #e9e9e9 !important;
}
.bw-controls .btn-group[aria-label="排序"] .btn:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}
.bw-controls .btn-group[aria-label="排序"] .btn.btn-secondary,
.bw-controls .btn-group[aria-label="排序"] .btn.btn-secondary:focus {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}
.bw-controls .btn-group[aria-label="排序"] .btn span {
    color: #666 !important;
    margin-left: .35rem;
    font-size: .9em;
}
.bw-controls .btn-group[aria-label="排序"] .btn.btn-secondary span {
    color: #fff !important;
}

/* make group compact on small screens */
@media (max-width: 575px) {
    .bw-controls .btn-group[aria-label="排序"] { transform: scale(0.95); }
}

/* Reviews styling */
.review-list { margin-top: .5rem; }
.review-card { background: #fff; border-radius: .6rem; box-shadow: 0 8px 18px rgba(0,0,0,0.06); }
.review-avatar { width:56px; height:56px; object-fit:cover; border-radius:50%; }
.star-rating i { color: #f59e0b; margin-right:2px; }
.review-meta { font-size: .9rem; color: #6b6b6b; }
.review-text { color: #222; line-height:1.6; }
.review-actions .btn { padding: .25rem .5rem; font-size: .85rem; }
.review-summary { display:flex; gap:1.5rem; align-items:center; }
.review-summary .avg { font-size:1.6rem; font-weight:700; }
.review-summary .count { color: #6b6b6b; }

@media (max-width: 576px) {
    .review-summary { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

.review-page .review-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1rem;
    background: #fff;
}
.review-page .rating-stars {
    color: #ffb400;
    font-size: 1.1rem;
    display: inline-flex;
    gap: 0.1rem;
}
.review-page textarea.form-control {
    border-radius: 0.85rem;
    border: 1px solid rgba(0,0,0,0.08);
}
.review-actions .btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Thumbnail strip with left/right controls */
.thumb-strip { position: relative; display:flex; align-items:center; gap:.35rem; margin-top: .2rem; }
.thumbs-inner { overflow-x:auto; display:flex; gap:.5rem; padding: .25rem 0; scroll-behavior: smooth; }
.thumbs-inner::-webkit-scrollbar { height:8px; }
.thumbs-inner::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius:4px; }
.thumb-prev, .thumb-next { 
    flex:0 0 auto; 
    width:40px; 
    height:40px; 
    display:inline-flex; 
    align-items:center; 
    justify-content:center; 
    border-radius:50%; 
    background:#fff; 
    border:1px solid rgba(0,0,0,0.08); 
    box-shadow:0 8px 20px rgba(0,0,0,0.08); 
    color:var(--db-dark); 
    transition:transform .16s ease, background .16s ease, color .16s ease; 
    z-index:5; 
}
.thumb-prev { margin-right: .25rem; }
.thumb-next { margin-left: .25rem; }
.thumb-prev i, .thumb-next i { font-size:1.1rem; }
.thumb-prev:hover, .thumb-next:hover, .thumb-prev:focus, .thumb-next:focus {
    transform:translateY(-3px) scale(1.04);
    background:var(--db-dark);
    color:#fff;
    border-color:var(--db-dark);
    box-shadow:0 12px 30px rgba(0,0,0,0.14);
    outline: none;
}
.thumb-prev:active, .thumb-next:active { transform: translateY(-1px) scale(1.02); }
@media (max-width: 575px) {
    .thumb-prev, .thumb-next { display:none; }
}

/* Product gallery: make left column match right column height and center main image */
.product-gallery { display:flex; flex-direction:column; height:100%; }
.product-gallery .main-image-wrapper { flex: 1 1 auto; display:flex; align-items:flex-start; justify-content:center; padding:1rem 1rem 0; }
.product-gallery .main-image-wrapper img { max-width:100%; max-height:520px; object-fit:contain; cursor:zoom-in; border-radius:0.5rem; }
.product-gallery .thumbs-inner { padding: .5rem 0; }
.product-gallery .thumb-strip { margin-top: 0; }

@media (max-width: 991px) {
    .product-gallery .main-image-wrapper img { max-height:420px; }
}

.product-hero {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 25px 65px rgba(0,0,0,0.08);
}
@media (max-width: 991px) {
    .product-hero { padding: 1.25rem; }
}

.badge-soft {
    background: rgba(255,105,0,0.12);
    color: #c54b00;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.feature-pill {
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 0.3rem 0.95rem;
    font-size: 0.9rem;
}

.price-panel {
    background: #fff5ef;
    border: 1px solid rgba(255,105,0,0.15);
    border-radius: 1.25rem;
    padding: 1.5rem;
}
.price-panel .current-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--db-primary);
}
.price-panel .discount-tag {
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.shipping-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}
.shipping-line i { color: var(--db-primary); }

.option-btn {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 0.45rem 1.25rem;
    background: #fff;
    font-weight: 500;
}
.option-btn.active,
.option-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}
.qty-group { width: 180px; max-width: 100%; }

.action-buttons .btn { border-radius: 999px; }

.service-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0.9rem;
    padding: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 12px 25px rgba(0,0,0,0.05);
}
.service-card i {
    font-size: 1.4rem;
    color: var(--db-primary);
}

.spec-highlight {
    background: #111;
    border-radius: 1rem;
    padding: 1.25rem;
}
.spec-chip {
    background: rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    padding: 0.75rem;
    color: #fff;
}
.spec-chip .label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.65); }
.spec-chip .value { font-size: 0.95rem; font-weight: 600; }

.assurance-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #444;
}
.assurance-list i { color: var(--db-primary); }

/* Login page */
.login-hero {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}
.login-hero-left {
    background: linear-gradient(135deg, #111, #1f1f1f);
    color: #fff;
    min-height: 420px;
}
.login-hero-left .badge-soft {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.login-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.login-benefits i { color: var(--db-primary); }
.login-hero-right {
    background: #fff;
}
.login-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding-inline: 1.25rem;
}
@media (max-width: 991px) {
    .login-hero { border-radius: 1rem; }
    .login-card { padding: 1.5rem; }
}

/* Register page */
.register-hero {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}
.register-hero-left {
    background: linear-gradient(135deg, #fff3e6, #ffe0cc);
    color: #111;
}
.register-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.6);
    box-shadow: inset 0 0 0 1px rgba(255,105,0,0.15);
}
.register-highlight .value { font-size: 1.8rem; font-weight: 700; color: var(--db-primary); }
.register-highlight .label { font-size: 0.9rem; color: #555; }
.register-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-weight: 500;
}
.register-benefits i { color: var(--db-primary); }
.register-card { margin-left: auto; margin-right: auto; }
@media (max-width: 991px) {
    .register-hero { border-radius: 1rem; }
}

/* Cart page */
.cart-hero {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 55px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.cart-hero i { font-size: 2rem; color: var(--db-primary); }
.cart-steps { display: flex; gap: 1.5rem; }
.cart-steps .step { text-align: center; color: #aaa; font-size: 0.85rem; }
.cart-steps .step span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    margin-bottom: 0.35rem;
}
.cart-steps .step.active { color: #111; }
.cart-steps .step.active span { background: #111; color: #fff; border-color: #111; }

.cart-item {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.cart-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-item-body {
    display: grid;
    grid-template-columns: minmax(0,1.9fr) 0.9fr auto 0.9fr auto;
    gap: 1rem;
    align-items: center;
}
.cart-item .product-info { display: flex; align-items: center; gap: 0.75rem; }
.cart-item .product-info img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.6rem;
    background: #f8f8f8;
}
.cart-item .price { font-weight: 600; color: #333; }
.cart-item .subtotal { font-size: 1.05rem; color: var(--db-primary); }
@media (max-width: 991px) {
    .cart-item-body {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "info info"
            "price qty"
            "subtotal actions";
    }
    .cart-item .product-info { grid-area: info; }
}

.coupon-box {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.coupon-input .input-group-text { background: transparent; border-right: 0; }
.coupon-input .form-control { border-left: 0; }

.cart-summary {
    background: #111;
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}
.cart-summary .btn { border-radius: 999px; }
.cart-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
.cart-services i { color: var(--db-primary); margin-right: 0.35rem; }

@media (max-width: 575px) {
    .cart-hero { flex-direction: column; align-items: flex-start; }
    .cart-steps { width: 100%; justify-content: space-between; }
}

/* Checkout page */
.checkout-hero {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 22px 60px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(0,0,0,0.04);
}
.checkout-hero i { font-size: 2rem; color: var(--db-primary); }
.delivery-toggle { display: flex; gap: 0.5rem; }
.delivery-toggle .btn { border-radius: 999px; padding-inline: 1.5rem; }

.checkout-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}
.checkout-card + .checkout-card { margin-top: 1rem; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }

.address-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.address-card.active {
    border-color: var(--db-primary);
    box-shadow: 0 12px 30px rgba(255,105,0,0.2);
}
.pickup-card {
    border: 1px dashed rgba(0,0,0,0.15);
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pickup-card.active {
    border-color: #111;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.pickup-hint {
    border-radius: 0.75rem;
    background: rgba(17,17,17,0.04);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pickup-hint i { color: var(--db-primary); }
.member-links {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}
.member-links .link-card {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: #111;
}
.member-links .link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,105,0,0.7);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.member-links .link-card i {
    font-size: 1.35rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,105,0,0.15);
    color: #ff6952;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.member-links .link-card small {
    color: rgba(0,0,0,0.5);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 1rem;
}
.payment-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.payment-card input { display: none; }
.payment-card i { font-size: 1.4rem; color: var(--db-primary); }
.payment-card.active,
.payment-card:has(input:checked) {
    border-color: #111;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.installment-box {
    background: #f9f9f9;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 0.6rem;
    background: #f5f5f5;
}

.checkout-summary {
    background: #111;
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.checkout-summary .btn { border-radius: 999px; }
.summary-safe { color: rgba(255,255,255,0.75); font-size: 0.9rem; display: flex; flex-direction: column; gap: 0.45rem; }
.summary-safe i { color: var(--db-primary); margin-right: 0.35rem; }

@media (max-width: 575px) {
    .checkout-hero { flex-direction: column; align-items: flex-start; }
    .delivery-toggle { width: 100%; }
    .delivery-toggle .btn { flex: 1; text-align: center; }
}

/* Order success */
.success-hero {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(46,204,113,0.12);
    color: #2ecc71;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.success-hero .btn { border-radius: 999px; }
.success-meta { gap: 0.5rem; }
.meta-pill {
    background: #f6f6f6;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
    color: #555;
}
.meta-pill strong { color: #111; font-weight: 600; margin-left: 0.2rem; }
.success-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}
.order-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--db-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
.order-back-link:hover {
    color: #ff914e;
    transform: translateX(-3px);
}
.order-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}
.order-card .badge {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}
.order-item {
    flex: 0 0 auto;
}
.order-item img {
    border-radius: 0.75rem;
    background: #f6f6f6;
    object-fit: cover;
}
.order-card .btn {
    border-radius: 999px;
    padding: 0.35rem 1rem;
}
.order-card .btn-outline-dark {
    border-color: rgba(0,0,0,0.1);
}
.order-card .btn-outline-secondary {
    border-color: rgba(0,0,0,0.15);
    color: rgba(0,0,0,0.7);
}
.order-filter .btn-filter {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.07);
    background: transparent;
    color: #111;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.order-filter .btn-filter.active,
.order-filter .btn-filter:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.order-search {
    min-width: 260px;
    display: flex;
    align-items: center;
}
.order-search-input {
    width: 220px;
}
.order-search-input .form-control {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    padding: 0.4rem 0.75rem;
    height: 44px;
}
.order-search-input .input-group-text {
    border-radius: 999px 0 0 999px;
    border: 1px solid rgba(0,0,0,0.08);
    border-right: none;
    background: #f5f5f5;
    color: #888;
}
.order-search-input .form-control:focus {
    box-shadow: none;
    border-color: #111;
}
.order-search .btn-dark {
    border-radius: 999px;
    padding-inline: 1.5rem;
    border: 1px solid #111;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}
.order-search .btn-dark:hover {
    background: #222;
    transform: translateY(-1px);
}
.countdown-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.qr-panel {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px dashed rgba(0,0,0,0.08);
}
.qr-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 0.75rem;
    background: repeating-linear-gradient(45deg, rgba(0,0,0,0.08), rgba(0,0,0,0.08) 10px, transparent 10px, transparent 20px);
    border: 2px solid rgba(0,0,0,0.1);
}
.payment-steps li + li { margin-top: 0.35rem; }
.tips-card {
    background: #111;
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.tips-card i { color: var(--db-primary); }
.support-card {
    background: #111;
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}
.support-card .btn { border-radius: 0.85rem; }
.support-card .btn-outline-dark {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.support-card .btn-outline-dark:hover { border-color: #fff; }
.support-card .btn-outline-secondary { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
.support-card .btn-outline-secondary:hover { border-color: #fff; color: #fff; }

.member-hero {
    background: linear-gradient(135deg, #312b8f, #ff6952);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 65px rgba(0,0,0,0.25);
    color: #fff;
}
.member-hero-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #312b8f;
}
.member-actions .action-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.member-actions .action-card i {
    font-size: 1.5rem;
    color: #312b8f;
}
.benefit-item {
    background: #fff7f0;
    border-radius: 0.9rem;
    padding: 1rem;
    color: #111;
}
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.recent-item:last-child { border-bottom: none; }
.tool-card {
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: #111;
    gap: 0.7rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    color: #fff;
}
.member-chips {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.member-chips span {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    background: rgba(255,255,255,0.08);
    font-size: 0.85rem;
}
.member-stats {
    background: transparent;
}
.tool-card {
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    gap: 0.7rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    color: #111;
}
.tool-card i {
    font-size: 1.4rem;
    color: #ff6952;
}

.balance-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 25px 65px rgba(0,0,0,0.08);
}
.balance-amount {
    letter-spacing: 0.02em;
}
.member-return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    color: #111;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.member-return-link i {
    transition: transform 0.25s ease;
}
.member-return-link:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.member-return-link:hover i {
    transform: translateX(-3px);
}
.balance-price {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.25rem;
}
.balance-recharge-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}
.withdraw-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 35px 80px rgba(0,0,0,0.08);
}
.withdraw-form {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 1.75rem;
}
.withdraw-form textarea.form-control {
    border-radius: 0.85rem;
}
.balance-recharge-form .preset-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.amount-pill {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.45rem 1.5rem;
    background: #fff;
    color: #111;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.amount-pill.active,
.amount-pill:hover {
    border-color: #111;
    background: rgba(17,17,17,0.05);
}
.payment-methods {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1rem;
    padding: 1rem;
    background: #f9f9f9;
}
/* Payment Method */
.payment-option { border: 1px solid #eee; border-radius: 12px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.2s; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.payment-option:hover { background-color: #f8f9fa; }
.payment-option input[type="radio"] { display: none; }
.payment-option.active { border-color: #212529; background-color: #f8f9fa; font-weight: 600; }
.payment-icon { font-size: 1.5rem; color: #495057; }

.recharge-info .info-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    height: 100%;
}
.coupon-hero {
    background: linear-gradient(135deg, rgba(255,105,0,0.12), rgba(255,105,0,0));
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}
.coupon-grid .coupon-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.coupon-label {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    background: rgba(255,105,0,0.1);
    color: #ff6900;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}
.coupon-meta {
    letter-spacing: 0.02em;
    color: #6b6b6b;
}
.coupon-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.coupon-btn {
    border-radius: 0.85rem;
}
.coupon-btn:disabled {
    border-color: rgba(0,0,0,0.05);
    color: #999;
    background: #f2f2f2;
}
.coupon-tips .info-card {
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
.points-hero {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 25px 55px rgba(0,0,0,0.08);
}
.points-cards {
    gap: 1rem;
}
.points-card {
    flex: 1;
    background: #fafafa;
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.points-card--consume .badge {
    background: rgba(255,105,0,0.1);
    color: #ff6900;
}
.points-card--tier .badge {
    background: rgba(2,132,199,0.14);
    color: #0284c7;
}
.points-card .btn {
    align-self: flex-start;
    border-radius: 999px;
}
.points-progress {
    background: rgba(239,239,239,0.8);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}
.points-record-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.points-record-card .badge {
    margin-top: 0.35rem;
    border-radius: 999px;
    padding: 0.2rem 0.85rem;
}
@media (max-width: 767px) {
    .points-cards {
        flex-direction: column;
    }
    .points-card {
        min-width: 100%;
    }
}
.coupon-header .btn-outline-dark.active,
.coupon-header .btn-outline-dark.active:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}
.coupon-list .coupon-detail-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}
.coupon-detail-actions button.btn-dark {
    border-radius: 0.85rem;
}
.coupon-detail-actions .btn-outline-dark {
    border-radius: 0.85rem;
}
.favorites-header .btn-outline-dark.active,
.favorites-header .btn-outline-dark.active:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}
.favorite-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.favorite-media {
    flex: 0 0 160px;
    position: relative;
}
.favorite-media img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.favorite-body .btn {
    border-radius: 0.85rem;
}
.favorite-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
}
.favorite-body {
    flex: 1;
}
@media (min-width: 992px) {
    .favorite-card {
        flex-direction: row;
        align-items: center;
    }
}
@media (max-width: 991px) {
    .favorite-card {
        flex-direction: column;
    }
}
.favorites-header {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 25px 55px rgba(0,0,0,0.08);
}
.favorites-grid .favorite-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.favorites-grid .favorite-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.favorite-thumb .badge,
.favorite-media .badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
}
.balance-form input.form-control {
    letter-spacing: 0.35rem;
}
.balance-form .form-text { margin-top: 0.35rem; }
.timeline { display: flex; flex-direction: column; gap: 1.25rem; }
.timeline .step { display: flex; gap: 1rem; align-items: flex-start; position: relative; }
.timeline .step .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ccc;
    margin-top: 2px;
}
.timeline .step.done .dot { background: #2ecc71; border-color: #2ecc71; }
.timeline .step.active .dot { border-color: #111; }
.timeline .step::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background: rgba(0,0,0,0.08);
}
.timeline .step:last-child::after { display: none; }

.order-log {
    border-radius: 0.85rem;
    padding: 0.5rem 0;
}
.order-log-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0.6rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.order-log-entry:last-child {
    border-bottom: none;
}
.order-log-entry .log-time {
    flex-shrink: 0;
    width: 80px;
    font-size: 0.8rem;
    color: #6b6b6b;
}
.order-log-entry .badge {
    margin-left: auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 1rem;
}
.info-grid .label { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 0.08em; }

.success-summary {
    background: #111;
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.success-summary .btn { border-radius: 999px; }

@media (max-width: 575px) {
    .success-hero { flex-direction: column; align-items: flex-start; }
    .success-meta { flex-direction: column; width: 100%; }
    .success-pay-actions { flex-direction: column; align-items: flex-start; }
    .qr-panel { padding: 1.5rem; }
}

/* Sidebar ads */
.sidebar-ads a { display: block; }
.sidebar-ads img { width: 100%; height: auto; display: block; border-radius: 0.75rem; box-shadow: 0 8px 20px rgba(0,0,0,0.08); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.sidebar-ads img:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.12); }

@media (max-width: 991px) {
    /* hide sidebar ads on small screens (already applied via d-none d-lg-block) */
    .sidebar-ads { display: none !important; }
}

/* Make left sidebar height follow right content and keep ads at bottom */
.row.g-4 { align-items: stretch; }
.category-sidebar { display: flex; flex-direction: column; min-height:100px; }
.category-sidebar .subcat { flex: 0 0 auto; }
.sidebar-ads { margin-top: auto; }
.sidebar-ads a { flex: 0 0 auto; }

/* Unified Auth Pages (Login & Register) */
.auth-hero {
    background: #fff;
    border-radius: 1.75rem;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}
@media (min-width: 992px) {
    .auth-hero { /*flex-direction: row; min-height: 600px;*/ }
}

.auth-side-visual {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.auth-side-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,105,0,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.auth-side-visual .badge-soft {
    background: rgba(255,255,255,0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}
.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
}
.auth-benefits i {
    color: var(--db-primary);
    background: rgba(255,105,0,0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.auth-form-container {
    background: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.auth-card-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.auth-input-group { margin-bottom: 1.25rem; }
.auth-input-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}
.auth-input {
    background: #f7f7f7;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.auth-input:focus {
    background: #fff;
    border-color: var(--db-primary);
    box-shadow: 0 0 0 4px rgba(255,105,0,0.1);
}
.auth-input::placeholder { color: #aaa; }

.auth-btn-primary {
    background: #111;
    border: 1px solid #111;
    color: #fff;
    font-weight: 600;
    padding: 0.9rem;
    border-radius: 0.85rem;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}
.auth-btn-primary:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    color: #fff;
}

.social-login-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0 1.5rem;
}
.social-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}
.social-login-divider span {
    background: #fff;
    padding: 0 1rem;
    position: relative;
    color: #999;
    font-size: 0.85rem;
}

.social-btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.social-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    background: #fff;
}
.social-btn-circle:hover {
    border-color: #111;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.register-highlight-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.register-highlight-box .val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--db-primary);
    line-height: 1.2;
}
.register-highlight-box .lbl {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.25rem;
}

/* Member Center Beautification */
.member-hero-v2 {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 60, 114, 0.2);
}
.member-hero-v2::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.member-avatar-v2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}
/* 头像图片基础样式 */
.member-avatar-v2 .avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 头像图片悬停效果 */
.member-avatar-v2 .avatar-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.member-level-badge {
    background: #fff;
    color: #1e3c72;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Order List Beautification */
.order-page-header {
    margin-bottom: 2rem;
}
.order-filter-tabs {
    display: inline-flex;
    background: #f1f1f1;
    padding: 0.35rem;
    border-radius: 999px;
}
.order-filter-tabs .btn-filter {
    border: none;
    background: transparent;
    color: #666;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.order-filter-tabs .btn-filter.active {
    background: #fff;
    color: #111;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-weight: 600;
}
.order-filter-tabs .btn-filter:hover:not(.active) {
    color: #111;
    background: rgba(255,255,255,0.5);
}

.order-card {
    padding: 0; /* Reset padding for header/body split */
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.08);
}
.order-card-header {
    background: #fcfcfc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}
.order-card-body {
    padding: 1.5rem;
}
.order-product-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.order-product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    background: #f9f9f9;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.03);
}
.order-info-text {
    font-size: 0.9rem;
    color: #888;
}
.order-price-large {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}
.order-search-modern .input-group {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}
.order-search-modern .input-group:focus-within {
    border-color: #111;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.order-search-modern .form-control {
    border: none;
    background: transparent;
    padding-left: 1rem;
}
.order-search-modern .form-control:focus {
    box-shadow: none;
}
.order-search-modern .btn {
    border-radius: 999px;
    padding-inline: 1.25rem;
}

.order-item-separator {
    height: 1px;
    background-color: rgba(0,0,0,0.05);
    margin: 0.25rem 0;
}
.border-start-lg {
    border-left: 1px solid rgba(0,0,0,0.05);
}
@media (max-width: 991px) {
    .border-start-lg { border-left: none; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1rem; margin-top: 0.5rem; }
}
.dashboard-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.action-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}
.action-item:hover .action-icon-box {
    background: #111;
    color: #fff;
}
.wallet-value { font-size: 1.25rem; font-weight: 700; color: #111; }
.wallet-label { font-size: 0.85rem; color: #666; }

.quick-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1rem;
    text-align: center;
}
.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 1rem;
    transition: background 0.2s ease;
    color: #333;
}
.quick-link-item:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: #111;
}
.quick-link-icon {
    font-size: 1.6rem;
    color: #ff6900;
    margin-bottom: 0.2rem;
}

/* Security Center */
.security-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.security-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.15) !important;
}
.security-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.security-item:hover .security-icon {
    background: #111 !important;
    color: #fff !important;
}

/* Security Forms */
.security-step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}
.security-step-indicator::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #f0f0f0;
    z-index: 0;
}
.security-step {
    background: #fff;
    z-index: 1;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.security-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.security-step.active .security-step-dot {
    background: #111;
    border-color: #111;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.security-step.done .security-step-dot {
    background: #2ecc71;
    border-color: #2ecc71;
    color: #fff;
}
.security-step-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}
.security-step.active .security-step-label {
    color: #111;
    font-weight: 600;
}

.floating-sidebar {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn:hover {
    background-color: #212529;
    color: #fff;
    transform: translateY(-2px);
}

.floating-btn i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.floating-btn span {
    font-size: 10px;
    line-height: 1;
}

.floating-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 4px 6px;
    font-size: 9px;
}

.phone-qrcode-popup {
    display: none;
    position: fixed;
    right: 80px;
    bottom: 120px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    padding: 18px 24px 14px 24px;
    z-index: 2100;
    text-align: center;
    min-width: 180px;
}
.qrcode-title {
    font-weight: 600;
    color: #191919;
    margin-bottom: 8px;
}
.qrcode-img {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #f5f5f5;
}
.qrcode-tip {
    font-size: 0.95rem;
    color: #888;
}

/* Category Submenu */
.category-panel {
    position: relative;
}
.category-item {
    position: static;
}
.category-sub {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 800px;
    height: 100%;
    background: #fff;
    border-radius: 0 1.25rem 1.25rem 0;
    padding: 2rem;
    z-index: 1050;
    color: #333;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-left: 1px solid rgba(0,0,0,0.03);
}
/* Fix hover gap issue */
.category-sub::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 40px;
    height: 100%;
    background: transparent;
}
.category-item:hover .category-sub {
    display: block;
    animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
.sub-category-group {
    margin-bottom: 2rem;
}
.sub-category-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sub-category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f0f0f0;
}
.sub-category-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.sub-category-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.75rem;
}
.sub-category-link:hover {
    color: var(--db-primary);
    background: #f9f9f9;
    transform: translateX(4px);
}
.sub-category-link img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.sub-category-link:hover img {
    transform: scale(1.1);
}
/* Category Popup for More items */
.category-toggle-btn {
    position: relative;
}

.category-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(25,25,25,0.85);
    backdrop-filter: blur(10px);
    padding: 0 1rem 1rem 1rem;
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 1050;
    margin-top: 0;
}

.category-panel.popup-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* 客服弹窗统一首页色调 */
.customer-service-popup {
    display: none;
    position: fixed;
    right: 80px;
    bottom: 200px;
    min-width: 220px;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    padding: 22px 24px 18px 24px;
    z-index: 2000;
    font-size: 15px;
    color: #191919;
}
.customer-service-popup .cs-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #191919;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-align: left;
}
.customer-service-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.customer-service-popup .cs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
}
.customer-service-popup .cs-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 1.35rem;
    color: #ff6900;
    margin-right: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background 0.2s, color 0.2s;
}
.customer-service-popup .cs-item:hover .cs-icon {
    background: #ff6900;
    color: #fff;
}
.customer-service-popup .cs-label {
    font-weight: 600;
    color: #191919;
    min-width: 54px;
    font-size: 1rem;
}
.customer-service-popup .cs-value {
    font-weight: 500;
    color: #6b6b6b;
    word-break: break-all;
    flex: 1;
    text-align: right;
    font-size: 0.98rem;
}
.customer-service-popup .cs-divider {
    height: 1px;
    background: #eaeaea;
    margin: 0 0 0 38px;
    border: none;
}
.customer-service-btn {
    cursor: pointer;
    position: relative;
}
.customer-service-btn:hover {
    background: #111 !important;
    color: #fff !important;
}

.cart-spec {
    font-size: 0.92rem;
    color: #888;
    margin: 2px 0 0 0;
    line-height: 1.5;
    font-weight: 400;
    word-break: break-all;
}
/* 悬浮购物车弹窗样式 */
.cart-popup {
    display: none;
    position: fixed;
    right: 80px;
    bottom: 260px;
    min-width: 400px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    padding: 18px 20px 14px 20px;
    z-index: 2100;
    font-size: 15px;
    color: #191919;
}
.cart-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #191919;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.cart-list {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
}
.cart-item {
    /*display: flex;*/
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f2f2f2;
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #f5f5f5;
}
.cart-info {
    flex: 1;
    min-width: 0;
}
.cart-name {
    font-weight: 600;
    font-size: 1rem;
    color: #191919;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-meta {
    font-size: 0.95rem;
    color: #6b6b6b;
    margin-top: 2px;
}
.cart-price {
    color: #ff6900;
    font-weight: 600;
    margin-left: 8px;
}
.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}
.cart-total {
    font-size: 1rem;
    color: #191919;
}


/* Auth Tabs */
.auth-tabs {
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}
.auth-tab {
    font-size: 1.25rem;
    font-weight: 600;
    color: #999;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.auth-tab:hover {
    color: #333;
}
.auth-tab.active {
    color: #111;
    border-bottom-color: var(--db-primary);
}

select.auth-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}
.error-message ul {
    list-style: none;
}
.error-message li {
    list-style: none;
}

/* Custom Checkbox Style */
.form-check-input:checked {
    background-color: var(--db-dark);
    border-color: var(--db-dark);
}
.form-check-input:focus {
    border-color: var(--db-dark);
    box-shadow: 0 0 0 0.25rem rgba(25, 25, 25, 0.25);
}

/* Cart Page Styles */
.cart-header { background: #fff; padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.02); margin-bottom: 24px; }

/* Cart Item Styles */
.cart-item { background: #fff; padding: 24px; transition: all 0.2s; border: 1px solid #f0f0f0; }
.cart-item:hover { background-color: #fafafa; }

.cart-img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; background: #fff; border: 1px solid #eee; padding: 4px; }

.product-title { font-size: 1.1rem; font-weight: 600; color: #333; margin-bottom: 6px; display: block; text-decoration: none; }
.product-title:hover { color: #ff6900; }

.product-specs { display: inline-block; background: #f7f9fa; color: #888; font-size: 0.85rem; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }

.product-price { color: #ff6900; font-weight: 700; font-size: 1.25rem; }

.qty-control { border: 1px solid #ddd; border-radius: 6px; display: inline-flex; overflow: hidden; height: 32px; background: #fff; }
.qty-btn { border: none; background: #fff; width: 32px; height: 100%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; cursor: pointer; color: #666; }
.qty-btn:hover { background: #f5f5f5; color: #333; }
.qty-input { border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; width: 44px; text-align: center; font-size: 0.9rem; outline: none; color: #333; font-weight: 500; }

.delete-btn { color: #bbb; transition: color 0.2s; font-size: 1.1rem; }
.delete-btn:hover { color: #ff4d4f; }

.summary-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); position: sticky; top: 100px; }
.rec-card { background: #fff; border-radius: 12px; padding: 15px; transition: all 0.3s; border: 1px solid transparent; }
.rec-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: #eee; }
.rec-img { height: 220px; aspect-ratio:1 / 1; border-radius:0.75rem; object-fit: contain; margin-bottom: 1.5rem; }

/* Custom Product Page Styles (Migrated from product) */
.page-product-detail { font-family: 'Noto Sans SC', sans-serif; background-color: #f8f9fa; }

.page-product-detail .product-title { font-size: 1.1rem; font-weight: 600; color: #333; margin-bottom: 6px; display: block; text-decoration: none; }

.page-product-detail .product-gallery-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.page-product-detail .main-image-wrapper { position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 16px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.page-product-detail .main-image-wrapper img { max-height: 400px; transition: transform 0.3s ease; }
.page-product-detail .main-image-wrapper:hover img { transform: scale(1.05); }

.page-product-detail .thumb-strip { display: flex; gap: 10px; }
.page-product-detail .thumb { width: 70px; height: 70px; border-radius: 10px; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; opacity: 0.7; }
.page-product-detail .thumb:hover, .page-product-detail .thumb.active { border-color: #999; opacity: 1;}

.page-product-detail .product-info-card { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); height: 100%; }
.page-product-detail .product-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
.page-product-detail .product-subtitle { font-size: 1rem; color: #666; margin-bottom: 1.5rem; }

.page-product-detail .price-tag { font-size: 2.5rem; font-weight: 700; color: #ff6900; line-height: 1; }
.page-product-detail .price-old { font-size: 1.1rem; color: #999; text-decoration: line-through; margin-left: 10px; }
.page-product-detail .discount-badge { background: #ff4d4f; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; vertical-align: middle; margin-left: 10px; }

.page-product-detail .option-group-label { font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 10px; display: block; }
.page-product-detail .option-btn { border: 1px solid #e0e0e0; background: #fff; color: #333; padding: 10px 20px; border-radius: 8px; transition: all 0.2s; font-weight: 500; }
.page-product-detail .option-btn:hover { border-color: #999; background: #f8f9fa; }
.page-product-detail .option-btn.active { border-color: #000; background: #000; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.page-product-detail .qty-control { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; display: inline-flex; }
.page-product-detail .qty-btn { border: none; background: #fff; width: 40px; font-size: 1.2rem; color: #333; transition: background 0.2s; display: flex; align-items: center; justify-content: center; padding: 0; }
.page-product-detail .qty-btn:hover { background: #f0f0f0; }
.page-product-detail .qty-input { border: none; width: 50px; text-align: center; font-weight: 600; font-size: 1.1rem; outline: none; }

.page-product-detail .action-btn-lg { padding: 14px 0; border-radius: 12px; font-weight: 600; font-size: 1.1rem; transition: transform 0.2s; }
.page-product-detail .action-btn-lg:active { transform: scale(0.98); }

.page-product-detail .service-item { display: flex; align-items: center; gap: 10px; color: #666; font-size: 0.9rem; }
.page-product-detail .service-item i { color: #000; font-size: 1.2rem; }

.page-product-detail .nav-tabs .nav-link { border: none; color: #666; font-weight: 500; padding: 15px 25px; position: relative; }
.page-product-detail .nav-tabs .nav-link.active { color: #000; font-weight: 700; background: transparent; }
.page-product-detail .nav-tabs .nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 25px; right: 25px; height: 3px; background: #000; border-radius: 3px 3px 0 0; }

.page-product-detail .review-card { background: #f8f9fa; border-radius: 12px; padding: 20px; border: 1px solid #eee; }
.page-product-detail .review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* Coupon Styles - Scoped */
.page-product-detail .coupon-trigger { background: #fff5f5; border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; }
.page-product-detail .coupon-trigger:hover { background: #fff0f0; border-color: #ffcccc; }
.page-product-detail .mini-ticket { background: linear-gradient(135deg, #ff4d4f, #ff7875); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 12px; margin-right: 6px; position: relative; box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2); display: inline-block; }
.page-product-detail .mini-ticket::before, .page-product-detail .mini-ticket::after { content: ""; position: absolute; top: 50%; width: 4px; height: 4px; background: #fff5f5; border-radius: 50%; transform: translateY(-50%); }
.page-product-detail .mini-ticket::before { left: -2px; }
.page-product-detail .mini-ticket::after { right: -2px; }

/* Official Reply Styles */
.official-reply {
    background-color: #f8f9fa;
    border-left: 4px solid #e9ecef;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    position: relative;
}
.official-reply .reply-title {
    color: #495057;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.review-filter-btn { border-radius: 20px; padding: 6px 16px; font-size: 0.9rem; border: 1px solid #eee; background: #fff; color: #666; transition: all 0.2s; }
.review-filter-btn:hover { background: #f8f9fa; border-color: #ddd; }
.review-filter-btn.active { background: #000; color: #fff; border-color: #000; }
.review-item { border-bottom: 1px solid #eee; padding: 24px 0; }
.review-item:last-child { border-bottom: none; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: opacity 0.2s; }
.review-img:hover { opacity: 0.9; }
.progress-thin { height: 6px; border-radius: 3px; background-color: #f0f0f0; }

.failed-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220,53,69,0.12);
    color: #dc3545;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Offline Payment Styles */
.payment-method-card {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}
.payment-method-card:hover {
    border-color: var(--db-primary);
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.1);
}
.payment-method-card.active {
    border-color: var(--db-primary);
    background: rgba(255, 105, 0, 0.05);
}
.payment-method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 105, 0, 0.1);
    color: var(--db-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}
.payment-method-card.active .payment-method-icon {
    background: var(--db-primary);
    color: #fff;
}

.bank-info-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem;
}
.bank-info-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 0.75rem;
    padding: 2rem;
}
.bank-info-item {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

.order-info-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.support-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: #fff;
}
.support-card:hover {
    border-color: var(--db-primary);
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.1);
    transform: translateY(-2px);
}
.support-card i {
    font-size: 2rem;
    color: var(--db-primary);
    margin-bottom: 0.75rem;
}
.support-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.support-desc {
    font-size: 0.9rem;
    color: #666;
}

/* Membership Styles */
.membership-current-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
}

.membership-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.membership-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.membership-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.membership-card-active {
    border: 2px solid var(--db-primary);
    box-shadow: 0 4px 20px rgba(255, 105, 0, 0.15);
}

.membership-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--db-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.membership-card-header {
    padding: 1.5rem 1.5rem 0;
}

.membership-card-body {
    padding: 1.5rem;
}

.membership-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.membership-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--db-primary);
    line-height: 1;
}

.membership-description {
    line-height: 1.6;
}

.membership-benefits .badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.membership-status {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}
/* Membership Renew Options */
.renew-option {
    position: relative;
    display: block;
    border: 1px solid #e8e8e8;
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.renew-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.renew-option:hover {
    border-color: var(--db-primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.renew-option.active,
.renew-option input:checked + * {
    border-color: var(--db-primary);
    box-shadow: 0 8px 20px rgba(255,105,0,0.12);
}

.renew-option .h5 {
    color: var(--db-primary);
}

.renew-option.renew-pay {
    padding: 0.9rem 1rem;
}

.renew-tag {
    background: #f6f6f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

/*======================内容============================*/
.edit_table_css .selectTdClass{background-color:#edf5fa !important}
.edit_table_css table.noBorderTable{border:1px dashed #ddd !important}
.edit_table_css table{margin-bottom:10px;border-collapse:collapse;display:table;}
.edit_table_css td{ background:white; padding: 5px 10px;border: 1px solid #DDD;}
.edit_table_css th{ background:white; padding: 5px 10px;border: 1px solid #DDD;}
.edit_table_css caption{border:1px dashed #DDD;border-bottom:0;padding:3px;text-align:center;}
.edit_table_css th{border-top:2px solid #BBB;background:#F7F7F7;}

.ue-table-interlace-color-single{ background-color: #fcfcfc; }
.ue-table-interlace-color-single td { background-color: #fcfcfc; }
.ue-table-interlace-color-double{ background-color: #f7faff; }
.ue-table-interlace-color-double td { background-color: #f7faff; }