/**
 * ============================================================
 *  PETSHOP HERO — Premium Editorial E-commerce Theme (.ph-)
 *  Design: Warm terracotta editorial, Cormorant Garamond + DM Sans
 * ============================================================
 */

/* ================================================================
   CSS CUSTOM PROPERTIES — Warm Editorial Palette
   ================================================================ */
:root {
    --ph-bg:          #FAF8F5;
    --ph-bg-card:     #FFFFFF;
    --ph-warm:        #C8773A;
    --ph-warm-light:  #F5EDE6;
    --ph-warm-dark:   #A65C25;
    --ph-text:        #1C1917;
    --ph-text-muted:  #78716C;
    --ph-text-light:  #A8A29E;
    --ph-border:      #E7E3DC;
    --ph-shadow-sm:   0 1px 3px rgba(28,25,23,0.06);
    --ph-shadow-md:   0 4px 16px rgba(28,25,23,0.08);
    --ph-shadow-lg:   0 12px 40px rgba(28,25,23,0.12);
    --ph-shadow-warm: 0 8px 32px rgba(200,119,58,0.15);
    --ph-radius:      12px;
    --ph-radius-sm:   8px;
    --ph-transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   BASE: Container & Typography
   ================================================================ */
.ph-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

a.ph-link { text-decoration: none; color: inherit; }

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.ph-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.ph-reveal.ph-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   HERO SECTION — 2-column: Category Nav + Swiper Banner
   ================================================================ */
.ph-hero-section {
    background: var(--ph-bg);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}
.ph-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ph-warm), #E8A87C, var(--ph-warm));
    z-index: 10;
}

.ph-hero-layout {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    min-height: 520px;
    align-items: stretch;
}
.ph-hero-fallback .ph-hero-layout {
    min-height: 360px;
    align-items: center;
    justify-content: center;
}

/* ================================================================
   CATEGORY NAVIGATION (3-Level Mega Menu)
   ================================================================ */
.ph-cat-nav {
    background: var(--ph-bg-card);
    border: 1px solid var(--ph-border);
    border-right: none;
    border-radius: var(--ph-radius) 0 0 var(--ph-radius);
    overflow: visible;
    position: relative;
    z-index: 200;
}

.ph-cat-nav-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--ph-warm);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--ph-radius) 0 0 0;
    letter-spacing: 0.02em;
}
.ph-cat-nav-header svg { flex-shrink: 0; }

.ph-cat-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

/* Level 1 */
.ph-cat-item {
    position: relative;
}
.ph-cat-l1 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ph-text);
    transition: all 0.2s;
    border-left: 3px solid transparent;
    text-decoration: none;
}
.ph-cat-l1:hover,
.ph-cat-item:hover .ph-cat-l1 {
    background: var(--ph-warm-light);
    border-left-color: var(--ph-warm);
    color: var(--ph-warm-dark);
}
.ph-cat-l1-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ph-bg);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ph-border);
}
.ph-cat-l1-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ph-cat-l1 span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ph-cat-arrow {
    flex-shrink: 0;
    color: var(--ph-text-light);
    transition: transform 0.2s, color 0.2s;
}
.ph-cat-item:hover .ph-cat-arrow {
    transform: translateX(3px);
    color: var(--ph-warm);
}

/* Mega Panel — Level 2 & 3 */
.ph-cat-panel {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 560px;
    background: var(--ph-bg-card);
    border: 1px solid var(--ph-border);
    border-radius: 0 var(--ph-radius) var(--ph-radius) 0;
    box-shadow: var(--ph-shadow-lg);
    z-index: 300;
}
.ph-cat-panel-inner {
    padding: 16px;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
}

/* Level 2: Sub-category list */
.ph-cat-l2-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ph-cat-l2-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ph-text);
    border-radius: var(--ph-radius-sm);
    transition: all 0.2s;
    text-decoration: none;
}
.ph-cat-l2-item:hover {
    background: var(--ph-warm-light);
    color: var(--ph-warm-dark);
}
.ph-cat-l2-item svg { color: var(--ph-text-light); flex-shrink: 0; }
.ph-cat-l2-item:hover svg { color: var(--ph-warm); }

/* Level 3: Tags within each L2 */
.ph-cat-l3-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ph-cat-l3-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ph-cat-l3-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ph-text);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid var(--ph-border);
    transition: color 0.2s;
}
.ph-cat-l3-title:hover { color: var(--ph-warm); }
.ph-cat-l3-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ph-cat-l3-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--ph-text-muted);
    background: var(--ph-bg);
    border: 1px solid var(--ph-border);
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}
.ph-cat-l3-tag:hover {
    background: var(--ph-warm);
    border-color: var(--ph-warm);
    color: #fff;
}

/* ================================================================
   HERO BANNER SWIPER
   ================================================================ */
.ph-hero-banner-wrap {
    position: relative;
    overflow: hidden;
    background: #f0ece6;
    border-radius: 0 var(--ph-radius) var(--ph-radius) 0;
}
.ph-hero-swiper {
    width: 100%;
    height: 520px;
}
@media (max-width: 768px) {
    .ph-hero-swiper { height: 320px; }
}
@media (max-width: 576px) {
    .ph-hero-swiper { height: 260px; }
}
.ph-hero-fallback .ph-hero-banner-wrap { display: none; }

.ph-hero-slide {
    display: block;
    width: 100%;
    height: 100% !important;
    position: relative;
    overflow: hidden;
}
.ph-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
/* background-image 方式（由 fragment 的 <a> 承载） */
.ph-hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.ph-hero-slide:hover img { transform: scale(1.03); }

/* Slide text overlay */
.ph-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(28,25,23,0.75) 0%, rgba(28,25,23,0.2) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 40px 48px;
}
.ph-slide-content {
    max-width: 400px;
    animation: phSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes phSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.ph-slide-tag {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ph-warm);
    background: rgba(200,119,58,0.15);
    border: 1px solid rgba(200,119,58,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.ph-slide-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}
.ph-slide-content p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 20px;
}
.ph-slide-btn {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--ph-warm);
    padding: 10px 24px;
    border-radius: 24px;
    transition: all 0.25s;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.ph-slide-btn:hover {
    background: var(--ph-warm-dark);
    transform: translateX(4px);
}
/* 左下角文字布局 */
.ph-slide-overlay--bottom {
    align-items: flex-end;
    padding: 24px;
}
.ph-slide-content--bottom {
    max-width: none;
    animation: none;
    text-align: left;
    width: 100%;
}
.ph-slide-content--bottom h2 {
    margin: 0 0 8px;
}
.ph-slide-sub {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: rgba(255,255,255,0.75);
    margin: 0;
    letter-spacing: 1px;
}

/* Swiper pagination */
.ph-hero-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}
/* Swiper notification (ARIA live region - hidden) */
.swiper-notification {
    position: absolute;
    left: -9999px !important;
    top: auto !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px !important;
    color: #fff;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ph-hero-pagination .swiper-pagination-bullet {
    width: 28px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    opacity: 1;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.ph-hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 40px;
}
.ph-hero-btn-prev,
.ph-hero-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0;
}
.ph-hero-btn-prev { left: 16px; }
.ph-hero-btn-next { right: 16px; }
.ph-hero-btn-prev:hover,
.ph-hero-btn-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.08);
}
.ph-hero-btn-prev::after,
.ph-hero-btn-next::after {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    font-family: swiper-icons;
}

/* ================================================================
   HERO WELCOME (fallback, when no banners)
   ================================================================ */
.ph-hero-welcome {
    text-align: center;
    padding: 48px 24px;
    width: 100%;
}
.ph-welcome-tag {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ph-warm);
    background: var(--ph-warm-light);
    border: 1px solid rgba(200,119,58,0.25);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.ph-hero-welcome h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--ph-text);
    margin: 0 0 12px;
    line-height: 1.15;
}
.ph-hero-welcome h1 span { color: var(--ph-warm); }
.ph-hero-welcome p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--ph-text-muted);
    margin: 0 0 28px;
}
.ph-hero-cta {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--ph-warm);
    padding: 12px 32px;
    border-radius: 28px;
    transition: all 0.25s;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.ph-hero-cta:hover {
    background: var(--ph-warm-dark);
    transform: translateY(-2px);
    box-shadow: var(--ph-shadow-warm);
}

/* ================================================================
   PROMO FULL WIDTH
   ================================================================ */
.ph-promo-full { margin-bottom: 0; }
.ph-promo-full-link { display: block; overflow: hidden; line-height: 0; }
.ph-promo-full-link img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-promo-full-link:hover img { transform: scale(1.02); }

/* ================================================================
   CATEGORY STRIP
   ================================================================ */
.ph-category-strip {
    background: var(--ph-bg);
    padding: 24px 0;
    border-bottom: 1px solid var(--ph-border);
}
.ph-category-strip-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ph-category-strip-grid::-webkit-scrollbar { display: none; }
.ph-cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: var(--ph-radius-sm);
    transition: all 0.25s;
    border: 1px solid transparent;
    min-width: 80px;
}
.ph-cat-chip:hover {
    background: var(--ph-bg-card);
    border-color: var(--ph-border);
    transform: translateY(-3px);
    box-shadow: var(--ph-shadow-md);
}
.ph-cat-chip-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ph-warm-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200,119,58,0.15);
}
.ph-cat-chip-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ph-cat-chip span {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--ph-text-muted);
    text-align: center;
    white-space: nowrap;
}
.ph-cat-chip:hover span { color: var(--ph-warm-dark); }

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.ph-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ph-border);
    position: relative;
}
.ph-section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--ph-warm);
}
.ph-section-title-group { display: flex; flex-direction: column; gap: 4px; }
.ph-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ph-text);
    margin: 0;
    line-height: 1.2;
}
.ph-section-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--ph-text-muted);
    margin: 0;
}
.ph-section-more {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--ph-warm);
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-end;
}
.ph-section-more:hover { color: var(--ph-warm-dark); }

/* ================================================================
   FLASH SALE
   ================================================================ */
.ph-flash-sale {
    background: var(--ph-bg);
    padding: 40px 0;
    margin-bottom: 0;
}
.ph-flash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-bottom: none;
    padding-bottom: 0;
}
.ph-flash-header::after { display: none; }
.ph-flash-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ph-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.ph-countdown-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--ph-text-muted);
}
.ph-countdown {
    display: flex;
    align-items: center;
    gap: 3px;
}
.ph-countdown-num {
    background: var(--ph-text);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 4px;
    min-width: 36px;
    text-align: center;
    letter-spacing: 0.05em;
}
.ph-countdown-sep {
    color: var(--ph-text);
    font-weight: 700;
    font-size: 14px;
}
.ph-flash-scroll-wrap {
    position: relative;
    overflow: hidden;
}
.ph-flash-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.ph-flash-scroll::-webkit-scrollbar { display: none; }
.ph-flash-card {
    flex-shrink: 0;
    width: 210px;
    background: var(--ph-bg-card);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    overflow: hidden;
    transition: all var(--ph-transition);
    display: block;
    text-decoration: none;
}
.ph-flash-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ph-shadow-warm);
    border-color: var(--ph-warm);
}
.ph-flash-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--ph-bg);
}
.ph-flash-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.ph-flash-card:hover .ph-flash-img img { transform: scale(1.06); }
.ph-flash-discount {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--ph-warm);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.ph-flash-info { padding: 12px 14px 14px; }
.ph-flash-info h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ph-text);
    margin: 0 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.45;
    height: 38px;
}
.ph-flash-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.ph-flash-price-new {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ph-warm);
}
.ph-flash-price-old {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--ph-text-light);
    text-decoration: line-through;
}
.ph-flash-bar-wrap {
    height: 3px;
    background: var(--ph-border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}
.ph-flash-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ph-warm), #D4895A);
    border-radius: 2px;
    transition: width 0.8s ease;
}
.ph-flash-sold {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: var(--ph-text-muted);
}

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.ph-products-section {
    padding: 48px 0;
    background: var(--ph-bg);
}
.ph-products-section.ph-new-arrivals {
    background: var(--ph-bg-card);
}
.ph-products-section.ph-recommend {
    background: var(--ph-bg);
}

.ph-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ph-products-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.ph-product-card {
    background: var(--ph-bg-card);
    border-radius: var(--ph-radius);
    overflow: hidden;
    border: 1px solid var(--ph-border);
    transition: all var(--ph-transition);
    display: block;
    text-decoration: none;
    position: relative;
}
.ph-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ph-shadow-warm);
    border-color: rgba(200,119,58,0.3);
}

.ph-product-img-wrap {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--ph-bg);
}
.ph-product-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-product-card:hover .ph-product-img { transform: scale(1.08); }

.ph-product-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--ph-warm);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 20px;
    z-index: 2;
}
.ph-product-badge.ph-badge-new { background: #2D6A4F; }

/* Hover overlay */
.ph-product-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(to top, rgba(28,25,23,0.5), transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
}
.ph-product-card:hover .ph-product-overlay {
    opacity: 1;
    transform: translateY(0);
}
.ph-quick-add,
.ph-quick-fav {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 20px;
    padding: 7px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--ph-text);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.ph-quick-add:hover { background: var(--ph-warm); color: #fff; }
.ph-quick-fav {
    padding: 7px 10px;
    border-radius: 50%;
}
.ph-quick-fav.ph-fav-active {
    background: var(--ph-warm-light);
    color: var(--ph-warm);
}
.ph-quick-fav:hover { background: var(--ph-warm-light); color: var(--ph-warm); }

.ph-product-info { padding: 14px 16px 16px; }
.ph-product-info h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ph-text);
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.45;
    height: 38px;
    transition: color 0.2s;
}
.ph-product-card:hover .ph-product-info h3 { color: var(--ph-warm-dark); }

.ph-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ph-product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.ph-price-current {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ph-warm);
}
.ph-price-origin {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--ph-text-light);
    text-decoration: line-through;
}
.ph-product-meta { display: flex; align-items: center; gap: 4px; }
.ph-product-sales {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--ph-text-muted);
}

/* ================================================================
   CATEGORY BANNERS
   ================================================================ */
.ph-category-section {
    padding: 48px 0;
    background: var(--ph-bg);
    margin-bottom: 0;
}
.ph-cat-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ph-cat-banner-card {
    position: relative;
    border-radius: var(--ph-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    background: var(--ph-warm-light);
    transition: all var(--ph-transition);
    border: 1px solid rgba(200,119,58,0.12);
}
.ph-cat-banner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ph-shadow-warm);
    border-color: rgba(200,119,58,0.3);
}
.ph-cat-banner-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.ph-cat-banner-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.ph-cat-banner-card:hover .ph-cat-banner-img img { transform: scale(1.08); }
.ph-cat-banner-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 18px 18px;
    background: linear-gradient(to top, rgba(200,119,58,0.85) 0%, rgba(200,119,58,0.2) 70%, transparent 100%);
    color: #fff;
    z-index: 2;
}
.ph-cat-banner-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
}
.ph-cat-banner-overlay span {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}
.ph-cat-banner-card:hover .ph-cat-banner-overlay span { color: #fff; }
.ph-cat-banner-deco {
    position: absolute;
    top: -20px; right: -20px;
    width: 80px; height: 80px;
    border: 2px solid rgba(200,119,58,0.15);
    border-radius: 50%;
    z-index: 1;
}

/* ================================================================
   TABS (Recommended)
   ================================================================ */
.ph-tabs {
    display: flex;
    gap: 4px;
    background: var(--ph-bg-card);
    border: 1px solid var(--ph-border);
    padding: 4px;
    border-radius: 28px;
    align-self: flex-end;
}
.ph-tab {
    padding: 7px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ph-text-muted);
    background: transparent;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
}
.ph-tab:hover { color: var(--ph-text); }
.ph-tab.active {
    background: var(--ph-warm);
    color: #fff;
    font-weight: 600;
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.ph-empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--ph-bg-card);
    border-radius: var(--ph-radius);
    border: 1px dashed var(--ph-border);
}
.ph-empty-state svg { margin-bottom: 16px; opacity: 0.5; }
.ph-empty-state p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--ph-text-muted);
    margin: 0;
}

/* ================================================================
   SERVICE BAND
   ================================================================ */
.ph-service-band {
    padding: 40px 0;
    background: var(--ph-bg-card);
    border-top: 1px solid var(--ph-border);
    border-bottom: 1px solid var(--ph-border);
}
.ph-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ph-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--ph-radius);
    transition: all 0.2s;
}
.ph-service-item:hover {
    background: var(--ph-warm-light);
}
.ph-service-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    background: var(--ph-warm-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200,119,58,0.15);
    transition: all 0.2s;
}
.ph-service-item:hover .ph-service-icon {
    background: var(--ph-warm);
    border-color: var(--ph-warm);
}
.ph-service-item:hover .ph-service-icon svg { stroke: #fff; }
.ph-service-text h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ph-text);
    margin: 0 0 4px;
}
.ph-service-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--ph-text-muted);
    margin: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
    .ph-products-grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    .ph-cat-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .ph-hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .ph-cat-nav { display: none; }
    .ph-hero-swiper { min-height: 380px; }
    .ph-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ph-products-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ph-cat-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ph-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ph-products-grid,
    .ph-products-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ph-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ph-tabs { display: none; }
    .ph-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ph-flash-title-group {
        flex-wrap: wrap;
        gap: 10px;
    }
    .ph-countdown-wrap { margin-left: 0; }
}

@media (max-width: 576px) {
    .ph-container { padding: 0 12px; }
    .ph-hero-swiper { min-height: 240px; }
    .ph-products-grid,
    .ph-products-grid-5 { gap: 12px; }
    .ph-cat-banner-grid { grid-template-columns: 1fr; }
    .ph-service-grid { grid-template-columns: 1fr; }
    .ph-section-title { font-size: 20px; }
    .ph-slide-content h2 { font-size: 24px; }
}

/* ================================================================
   小米商城风格首页 (.mi-shop-page)
   ================================================================ */
.mi-shop-page {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    padding-bottom: 40px;
}

/* ==============================
   淘宝/京东式商城顶部 (shop-topbar + shop-header + shop-nav)
============================== */

/* ---- 第一行：顶部黑条 ---- */
.shop-topbar {
    background: #3c3c3c;
    height: 35px;
    line-height: 35px;
    font-size: 12px;
    color: #ccc;
}
.shop-topbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.shop-topbar-left { display: flex; align-items: center; gap: 4px; }
.shop-topbar-right { display: flex; align-items: center; gap: 2px; }
.shop-topbar-link {
    display: inline-block;
    padding: 0 8px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}
.shop-topbar-link:hover { color: #fff; }
.shop-topbar-login { color: #ff5000 !important; font-weight: 600; }
.shop-topbar-reg:hover { color: #ff5000; }
.shop-topbar-sep { color: #5a5a5a; user-select: none; }
.shop-topbar-cart {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    position: relative;
}
.shop-topbar-cart a { color: #ccc; text-decoration: none; transition: color 0.2s; }
.shop-topbar-cart a:hover { color: #ff5000; }
.shop-cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    background: #ff5000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    padding: 0 4px;
    text-align: center;
}
.shop-region {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    color: #ccc;
    cursor: default;
    user-select: none;
}
.shop-region:hover { color: #fff; }
.shop-region-name { color: #ff5000; font-weight: 600; }
.shop-topbar-more .shop-topbar-link {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* ---- 第二行：Logo + 搜索 ---- */
.shop-header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.shop-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.shop-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.shop-logo img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}
.shop-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #FF5000;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.shop-search-block {
    flex: 1;
    min-width: 0;
}
.shop-search-tabs {
    display: flex;
    margin-bottom: 0px;
}
.shop-search-tab {
    padding: 2px 14px;
    font-size: 14px;
    color: #3c3c3c;
    cursor: pointer;
    /*border: 1.5px solid #FF5000;*/
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    transition: background 0.2s, color 0.2s;
    user-select: none;
}
.shop-search-tab + .shop-search-tab { border-left: none; border-radius: 0; }
.shop-search-tab.active {
    background: #FF5000;
    color: #fff;
    font-weight: 600;
}
.shop-search-form {
    display: flex;
    border: 2px solid #FF5000;
    border-radius: 0 8px 8px 8px;
    overflow: hidden;
    background: #fff;
}
.shop-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    min-width: 0;
}
.shop-search-icon {
    position: absolute;
    left: 12px;
    color: #999;
    pointer-events: none;
}
.shop-search-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: none;
    font-size: 14px;
    outline: none;
    background: transparent;
}
.shop-search-input::placeholder { color: #b0b0b0; }
.shop-search-camera {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border: none;
    background: #fff;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
    flex-shrink: 0;
}
.shop-search-camera:hover { color: #FF5000; }
.shop-search-btn {
    padding: 0 28px;
    border: none;
    background: #FF5000;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.shop-search-btn:hover { background: #e64500; }
.shop-search-hot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 6px;
    padding-left: 2px;
}
.shop-search-hot-item {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}
.shop-search-hot-item:hover { color: #FF5000; }
.shop-search-hot-item:first-child { color: #FF5000; font-weight: 600; }

/* ---- 右侧二维码 ---- */
.shop-header-qr { flex-shrink: 0; }
.shop-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #999;
    font-size: 11px;
    transition: border-color 0.2s;
}
.shop-qr-box:hover { border-color: #FF5000; }
.shop-qr-box svg { color: #ccc; }

/* ---- 第三行：橙色分类导航 ---- */
.shop-nav {
    background: #fff;
    border-bottom: 2px solid #FF5000;
    position: relative;
    z-index: 500;
}
.shop-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

/* 全部商品分类 — 左侧固定黑色竖条 */
.shop-nav-all {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    z-index: 600;
}
.shop-nav-all-title {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 16px;
    background: #3c3c3c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: default;
    user-select: none;
    height: 44px;
    letter-spacing: 0.02em;
}
.shop-nav-cat-panel {
    display: none;
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    min-height: 400px;
    background: #1D2026;
    box-shadow: 4px 4px 16px rgba(0,0,0,0.2);
}
.shop-nav-all:hover .shop-nav-cat-panel,
.shop-nav-all:focus-within .shop-nav-cat-panel {
    display: block;
}
.shop-nav-cat-list { padding: 0; margin: 0; }
.shop-nav-cat-item {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: default;
    position: relative;
}
.shop-nav-cat-item:hover,
.shop-nav-cat-item.is-open {
    background: #FF5000;
}
.shop-nav-cat-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}
.shop-nav-cat-title a { color: inherit; text-decoration: none; }
.shop-nav-cat-title a:hover { text-decoration: underline; }
.shop-nav-cat-children {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 4px;
}
.shop-nav-cat-child {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.shop-nav-cat-child:hover { color: #fff; text-decoration: underline; }

/* 分类详情展开面板 */
.shop-nav-cat-detail {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 680px;
    min-height: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 4px 4px 20px rgba(0,0,0,0.15);
    padding: 20px 24px;
    z-index: 700;
}
.shop-nav-cat-item:hover .shop-nav-cat-detail,
.shop-nav-cat-item.is-open .shop-nav-cat-detail {
    display: block;
}
.shop-nav-cat-detail-hd {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.shop-nav-cat-detail-hd a {
    font-size: 15px;
    font-weight: 700;
    color: #FF5000;
    text-decoration: none;
}
.shop-nav-cat-detail-hd a:hover { text-decoration: underline; }
.shop-nav-cat-detail-bd {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 4px;
}
.shop-nav-cat-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #3c3c3c;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: 1px solid #eee;
}
.shop-nav-cat-detail-item:hover {
    background: #FF5000;
    color: #fff;
    border-color: #FF5000;
}
.shop-nav-cat-detail-item svg { opacity: 0.6; }

/* 右侧频道链接 */
.shop-nav-channels {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.shop-nav-channel {
    display: inline-block;
    padding: 0 20px;
    height: 44px;
    line-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: #3c3c3c;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.shop-nav-channel:hover { color: #FF5000; }
.shop-nav-channel--home {
    color: #FF5000 !important;
    background: linear-gradient(to right, rgba(255,80,0,0.08), transparent);
}

/* 顶部黑条响应式 */
@media (max-width: 768px) {
    .shop-topbar { height: auto; padding: 6px 0; }
    .shop-topbar-inner { flex-wrap: wrap; gap: 4px; }
    .shop-topbar-left { display: none; }
    .shop-topbar-right { flex-wrap: wrap; }
    .shop-topbar-sep { display: none; }
}

/* Logo+搜索响应式 */
@media (max-width: 992px) {
    .shop-header-qr { display: none; }
    .shop-header-inner { gap: 20px; }
}
@media (max-width: 768px) {
    .shop-logo-text { font-size: 18px; }
    .shop-search-tabs { display: none; }
    .shop-search-form { border-radius: 8px; }
    .shop-nav-all { width: 160px; }
}

/* 导航响应式 */
@media (max-width: 992px) {
    .shop-nav-cat-detail { display: none !important; }
    .shop-nav-all { width: auto; flex-shrink: 0; }
    .shop-nav-all-title span:not(.shop-nav-all-title svg) { display: none; }
    .shop-nav-all-title { padding: 0 12px; justify-content: center; }
    .shop-nav-channel { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 768px) {
    .shop-nav-channel { padding: 0 10px; font-size: 13px; }
    .shop-nav-channel:nth-child(n+7) { display: none; }
}

.mi-shop-hero {
    background: #f5f5f5;
    padding: 0px 0 24px;
    overflow: visible;
}
.mi-shop-hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
    min-height: 440px;
    overflow: visible;
    position: relative;
}
.mi-shop-hero--empty .mi-shop-hero-inner--welcome {
    width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    gap: 12px;
}
.mi-shop-hero--empty h1 { margin: 0; font-size: 28px; color: #333; }
.mi-shop-hero--empty p { margin: 0; color: #757575; }

/* 左侧分类（position: relative 使子级 mi-shop-mega 相对侧栏定位，top: 0 与侧栏顶部对齐） */
.mi-shop-sidebar {
    background: #1D2026;
    overflow: visible;
    position: relative;
    z-index: 200;
}
.mi-shop-cat-list {
    list-style: none;
    margin: 0;
    padding: 14px 0;
}
.mi-shop-cat-item {
    position: static;
}
.mi-shop-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 22px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    border-left: 3px solid transparent;
}
.mi-shop-cat-link:hover {
    background: #ff0000;
    color: #fff;
    border-left-color: #ff0000;
}

/* 向右展开的 mega（小米式：白底四列宫格，缩略图 + 文案；相对 mi-shop-sidebar 定位，全部 top: 0 对齐） */
.mi-shop-mega {
    display: none;
    position: absolute;
    left: calc(100% - 14px);
    top: 0;
    width: min(860px, calc(100vw - 256px - 32px));
    min-width: 480px;
    height: 100%;
    background: #fff;
    z-index: 300;
    padding: 24px 28px 28px;
    box-sizing: border-box;
    pointer-events: auto;
}
.mi-shop-cat-item:hover .mi-shop-mega,
.mi-shop-cat-item:focus-within .mi-shop-mega {
    display: block;
}
.mi-shop-mega-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 6px;
    align-content: start;
    max-height: min(392px, calc(70vh - 72px));
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}
.mi-shop-mega-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-sizing: border-box;
}
.mi-shop-mega-cell:hover {
    background: #FFF5F2;
}
.mi-shop-mega-cell:hover .mi-shop-mega-cell-name {
    color: #ff0000;
}
.mi-shop-mega-cell-img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 2px;
    overflow: hidden;
}
.mi-shop-mega-cell-img.is-empty {
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23ccc' stroke-width='1.5'%3E%3Crect x='4' y='5' width='16' height='14' rx='1'/%3E%3Ccircle cx='9' cy='10' r='1.5' fill='%23ccc' stroke='none'/%3E%3Cpath d='M4 17l5-5 3 3 4-4 4 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px 26px;
    border-color: #e8e8e8;
}
.mi-shop-mega-cell-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.mi-shop-mega-cell-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    color: #333;
}
@media (max-width: 1100px) {
    .mi-shop-mega-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .mi-shop-mega {
        min-width: 400px;
    }
    .mi-shop-mega-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 右侧轮播（低于侧栏及 flyout，避免挡住二级/三级面板） */
.mi-shop-slider-wrap {
    min-width: 0;
    position: relative;
    z-index: 1;
}
.mi-shop-swiper {
    width: 100%;
    height: 440px;
}
.mi-shop-slide-link {
    display: block;
    position: relative;
    width: 100%;
    height: 440px;
}
.mi-shop-slide-link img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.mi-shop-slide-link:hover img {
    transform: scale(1.03);
}
.mi-shop-slide-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26,26,46,0.72) 0%, rgba(26,26,46,0.2) 50%, transparent 75%);
    pointer-events: none;
}
.mi-shop-slide-caption {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 320px;
    z-index: 2;
    color: #fff;
    pointer-events: none;
}
.mi-shop-slide-link .mi-shop-slide-btn {
    pointer-events: auto;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: #ff0000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.mi-shop-slide-link:hover .mi-shop-slide-btn {
    background: #ff0000;
    transform: translateX(3px);
}
.mi-shop-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.mi-shop-slide-tag-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff0000, #FF9A6C);
}
.mi-shop-slide-title {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.5px;
}
.mi-shop-slide-desc {
    margin: 0 0 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
}
.mi-shop-slide-price {
    margin: 0;
    font-size: 15px;
    color: #FFB380;
    font-weight: 500;
}

/* 分页：胶囊进度条风格 */
.mi-shop-pagination.swiper-pagination-horizontal {
    left: auto !important;
    right: 24px !important;
    bottom: 24px !important;
    width: auto !important;
    transform: none !important;
    display: flex;
    gap: 8px;
    align-items: center;
}
.mi-shop-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s;
}
.mi-shop-pagination .swiper-pagination-bullet-active {
    width: 20px;
    height: 6px;
    border-radius: 3px;
    background: #ff0000 !important;
    border: none;
}
.mi-shop-nav-prev,
.mi-shop-nav-next {
    width: 40px !important;
    height: 60px !important;
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(26,26,26,0.4) !important;
    border-radius: 8px !important;
    color: #fff !important;
    opacity: 0;
    transition: opacity 0.3s;
}
.mi-shop-hero-inner:hover .mi-shop-nav-prev,
.mi-shop-hero-inner:hover .mi-shop-nav-next {
    opacity: 1;
}
.mi-shop-nav-prev { left: 0 !important; }
.mi-shop-nav-next { right: 0 !important; }
.mi-shop-nav-prev:hover,
.mi-shop-nav-next:hover {
    background: rgba(26,26,26,0.7) !important;
}
.mi-shop-nav-prev::after,
.mi-shop-nav-next::after {
    font-size: 16px !important;
    font-weight: 700;
}

/* 次行四栏 */
.mi-shop-subrow {
    max-width: 1440px;
    margin: 0 auto 26px;
    padding: 0 0;
}
.mi-shop-sub-inner {
    display: flex;
    gap: 14px;
    align-items: stretch;
    min-height: 170px;
}
.mi-shop-services {
    flex: 0 0 234px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1px;
    background: #716b66;
    border: 1px solid #716b66;
    box-sizing: border-box;
}
.mi-shop-svc-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #5f5750;
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    text-decoration: none;
    padding: 10px 6px;
    transition: background 0.2s;
    overflow: hidden;
}
.mi-shop-svc-cell:hover {
    background: #ff6700;
    color: #fff;
}
.mi-shop-svc-cell span:last-child {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    line-height: 1.3;
}
.mi-shop-svc-ic {
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(255,255,255,0.55);
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
}
.mi-ic-shield::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
    width: 12px;
    height: 14px;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 2px 2px 4px 4px;
}
.mi-ic-bld::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 12px;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 1px;
}
.mi-ic-f::after {
    content: 'F';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}
.mi-ic-card::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 11px;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 2px;
}
.mi-ic-loop::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 50%;
}
.mi-ic-phone::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 16px;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 2px;
}

.mi-shop-promo {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mi-shop-promo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.mi-shop-promo-img {
    flex: 1;
    min-height: 140px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.mi-shop-promo-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #FF9A6C);
    opacity: 0;
    transition: opacity 0.3s;
}
.mi-shop-promo:hover .mi-shop-promo-img::before {
    opacity: 1;
}
.mi-shop-promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.mi-shop-promo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255,102,54,0.1);
    border-radius: 50%;
    color: #ff0000;
}
.mi-shop-promo-text {
    padding: 16px 18px 18px;
    text-align: center;
    position: relative;
}
.mi-shop-promo-text h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: color 0.2s;
}
.mi-shop-promo:hover .mi-shop-promo-text h3 {
    color: #ff0000;
}
.mi-shop-promo-text p {
    margin: 0;
    font-size: 12px;
    color: #999;
}
.mi-shop-promo-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    color: #ff0000;
    opacity: 0;
    transition: all 0.3s ease;
}
.mi-shop-promo:hover .mi-shop-promo-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(4px);
}

/* 商品区 */
.mi-shop-goods {
    max-width: 1440px;
    margin: 0 auto 28px;
    padding: 0;
}
.mi-shop-goods-inner {
    background: #fff;
    padding: 28px 24px 32px;
}
.mi-shop-goods--alt .mi-shop-goods-inner {
    background: #fafafa;
    border: 1px solid #eee;
}
.mi-shop-goods-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.mi-shop-goods-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    color: #333;
}
.mi-shop-goods-head a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #757575;
    text-decoration: none;
}
.mi-shop-goods-head a:hover { color: #ff6700; }
.mi-shop-goods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.mi-shop-goods-grid--5 {
    grid-template-columns: repeat(5, 1fr);
}
.mi-shop-card {
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 16px 12px 20px;
    background: #fafafa;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mi-shop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.mi-shop-card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.mi-shop-card-img img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}
.mi-shop-card h4 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mi-shop-card-price {
    margin: 0;
    font-size: 14px;
    color: #333;
}
.mi-shop-empty {
    text-align: center;
    color: #999;
    padding: 40px;
    margin: 0;
}



@media (max-width: 1240px) {
    .mi-shop-hero-inner,
    .mi-shop-subrow,
    .mi-shop-goods {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 992px) {
    .mi-shop-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .mi-shop-sidebar {
        width: 100%;
    }
    .mi-shop-cat-list {
        display: flex;
        flex-wrap: wrap;
        padding: 8px 0;
    }
    .mi-shop-cat-item { flex: 1 1 50%; }
    .mi-shop-mega {
        display: none !important;
    }
    .mi-shop-swiper,
    .mi-shop-slide-link { min-height: 320px; }
    .mi-shop-sub-inner {
        flex-wrap: wrap;
    }
    .mi-shop-services {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .mi-shop-promo { flex: 1 1 calc(33.33% - 10px); }
    .mi-shop-goods-grid,
    .mi-shop-goods-grid--5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .mi-shop-float { display: none; }
}
@media (max-width: 576px) {
    .mi-shop-slide-title { font-size: 22px; }
    .mi-shop-slide-caption { left: 20px; max-width: 70%; }
    .mi-shop-goods-grid,
    .mi-shop-goods-grid--5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .mi-shop-promo { flex: 1 1 100%; }
}

/* ================================================================
   首页公告栏 (.mi-shop-notice)
   ================================================================ */
.mi-shop-notice {
    max-width: 1440px;
    margin:5px auto;

}
.mi-shop-notice-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #fff8e1 0%, #fff3cd 100%);
    border: 1px solid #ffeeba;
    border-radius: 6px;
    padding: 12px 20px;
}
.mi-shop-notice-icon {
    flex-shrink: 0;
    color: #e65100;
}
.mi-shop-notice-text {
    font-size: 13px;
    color: #795548;
    line-height: 1.5;
}

/* ================================================================
   技术文章区域 (.mi-shop-articles)
   ================================================================ */
.mi-shop-articles {
    max-width: 1440px;
    margin: 0 auto 28px;
    padding: 0 16px;
}
.mi-shop-articles-inner {
    background: #fff;
    padding: 28px 24px 32px;
    border-radius: 4px;
}
.mi-shop-articles-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.mi-shop-articles-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    color: #333;
}
.mi-shop-articles-head a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #757575;
    text-decoration: none;
}
.mi-shop-articles-head a:hover { color: #ff6700; }

.mi-shop-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mi-shop-article-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    background: #fafafa;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mi-shop-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.mi-shop-article-img {
    height: 140px;
    overflow: hidden;
    background: #eee;
}
.mi-shop-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.mi-shop-article-card:hover .mi-shop-article-img img {
    transform: scale(1.05);
}
.mi-shop-article-content {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mi-shop-article-content h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.mi-shop-article-card:hover h4 { color: #ff6700; }
.mi-shop-article-summary {
    margin: 0 0 10px;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mi-shop-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #bbb;
}
.mi-shop-article-author { color: #999; }
.mi-shop-article-date { color: #bbb; }

@media (max-width: 992px) {
    .mi-shop-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .mi-shop-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   团队信息区域 (.mi-shop-team)
   ================================================================ */
.mi-shop-team {
    max-width: 1440px;
    margin: 0 auto 28px;
    padding: 0 16px;
}
.mi-shop-team-inner {
    background: #fff;
    padding: 28px 24px 32px;
    border-radius: 4px;
}
.mi-shop-team-head {
    text-align: center;
    margin-bottom: 28px;
}
.mi-shop-team-head h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 400;
    color: #333;
}
.mi-shop-team-head p {
    margin: 0;
    font-size: 14px;
    color: #999;
}
.mi-shop-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mi-shop-team-card {
    text-align: center;
    padding: 24px 16px;
    background: #fafafa;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mi-shop-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mi-shop-team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: #fff3e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff6700;
}
.mi-shop-team-card h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}
.mi-shop-team-card p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #ff6700;
}
.mi-shop-team-card span {
    font-size: 12px;
    color: #999;
}

/* ================================================================
   案例展示区域 (.mi-shop-cases)
   ================================================================ */
.mi-shop-cases {
    max-width: 1440px;
    margin: 0 auto 28px;
    padding: 0 16px;
}
.mi-shop-cases-inner {
    background: #fff;
    padding: 28px 24px 32px;
    border-radius: 4px;
}
.mi-shop-cases-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.mi-shop-cases-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    color: #333;
}
.mi-shop-cases-head a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #757575;
    text-decoration: none;
}
.mi-shop-cases-head a:hover { color: #ff6700; }
.mi-shop-cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}
.mi-shop-case-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #434343 0%, #2a2a2a 100%);
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mi-shop-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.mi-shop-case-card--large {
    grid-row: span 2;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, #ff6700 0%, #c75b00 100%);
}
.mi-shop-case-img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mi-shop-case-card--large .mi-shop-case-img {
    width: 80px;
    height: 80px;
}
.mi-shop-case-info {
    flex: 1;
}
.mi-shop-case-tag {
    display: inline-block;
    font-size: 11px;
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.mi-shop-case-card h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}
.mi-shop-case-card p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}
.mi-shop-case-card--large h4 {
    font-size: 18px;
}
.mi-shop-case-card--large p {
    font-size: 14px;
}

/* ================================================================
   行业新闻区域 (.mi-shop-news)
   ================================================================ */
.mi-shop-news {
    max-width: 1440px;
    margin: 0 auto 28px;
    padding: 0 16px;
}
.mi-shop-news-inner {
    background: #fff;
    padding: 28px 24px 32px;
    border-radius: 4px;
}
.mi-shop-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.mi-shop-news-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    color: #333;
}
.mi-shop-news-head a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: #757575;
    text-decoration: none;
}
.mi-shop-news-head a:hover { color: #ff6700; }
.mi-shop-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mi-shop-news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: #fafafa;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s, transform 0.2s;
}
.mi-shop-news-item:hover {
    background: #fff3e0;
    transform: translateX(4px);
}
.mi-shop-news-date {
    flex-shrink: 0;
    width: 56px;
    text-align: center;
    padding: 8px 12px;
    background: #ff6700;
    border-radius: 4px;
    color: #fff;
}
.mi-shop-news-date .day {
    display: block;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}
.mi-shop-news-date .month {
    display: block;
    font-size: 11px;
    opacity: 0.9;
}
.mi-shop-news-content {
    flex: 1;
}
.mi-shop-news-content h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}
.mi-shop-news-item:hover h4 { color: #ff6700; }
.mi-shop-news-content p {
    margin: 0;
    font-size: 13px;
    color: #999;
}
.mi-shop-news-arrow {
    flex-shrink: 0;
    color: #ccc;
    transition: color 0.2s, transform 0.2s;
}
.mi-shop-news-item:hover .mi-shop-news-arrow {
    color: #ff6700;
    transform: translateX(4px);
}

/* ================================================================
   通用 Section 容器（团队 / 案例 / 新闻共用）
   ================================================================ */
.shop-section {
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 24px;
}
.shop-container {
    background: #fff;
    padding: 48px 36px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.shop-container .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
.shop-container .section-head.centered {
    justify-content: center;
    text-align: center;
}
.shop-container .section-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}
.shop-container .section-sub {
    margin: 4px 0 0;
    font-size: 14px;
    color: #999;
}
.shop-container .section-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #ff0000;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.2s;
}
.shop-container .section-more:hover {
    gap: 8px;
}

/* ================================================================
   团队信息（shop-section 风格）
   ================================================================ */
.team-section .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-section .team-card {
    position: relative;
    padding: 36px 20px 28px;
    border-radius: 14px;
    border: 1.5px solid #f0f0f0;
    text-align: center;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    overflow: hidden;
}
.team-section .team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #FF9A6C);
    border-radius: 14px 14px 0 0;
    opacity: 0;
    transition: opacity 0.25s;
}
.team-section .team-card:hover {
    border-color: #ff0000;
    box-shadow: 0 8px 28px rgba(255,102,54,0.12);
    transform: translateY(-4px);
}
.team-section .team-card:hover::before {
    opacity: 1;
}
.team-section .team-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF0EB, #FFE8DE);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    transition: background 0.25s;
}
.team-section .team-card:hover .team-icon {
    background: linear-gradient(135deg, #ff0000, #FF9A6C);
    color: #fff;
}
.team-section .team-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}
.team-section .team-card p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #ff0000;
    font-weight: 500;
}
.team-section .team-card > span {
    font-size: 12px;
    color: #999;
}

/* ================================================================
   案例展示（shop-section 风格）
   ================================================================ */
.cases-section .cases-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.cases-section .case-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}
.cases-section .case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.cases-section .case-card--hero {
    grid-row: span 2;
    min-height: 420px;
}
.cases-section .case-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}
.cases-section .case-card:hover .case-bg {
    transform: scale(1.05);
}
.cases-section .case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.1) 100%
    );
}
.cases-section .case-card--hero::after {
    background: linear-gradient(
        to top,
        rgba(26,26,46,0.95) 0%,
        rgba(26,26,46,0.5) 50%,
        rgba(26,26,46,0.1) 100%
    );
}
.cases-section .case-body {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: #fff;
}
.cases-section .case-card--hero .case-body {
    padding: 28px;
}
.cases-section .case-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
}
.cases-section .case-card--hero .case-tag {
    background: #ff0000;
}
.cases-section .case-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}
.cases-section .case-card--hero .case-body h3 {
    font-size: 20px;
}
.cases-section .case-body p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}
.cases-section .case-card--hero .case-body p {
    font-size: 13px;
}

/* ================================================================
   行业新闻（shop-section 风格）
   ================================================================ */
.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.news-section .news-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1.5px solid #f0f0f0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    background: #fff;
}
.news-section .news-card:hover {
    border-color: #ff0000;
    box-shadow: 0 8px 24px rgba(255,102,54,0.1);
    transform: translateY(-4px);
}
.news-section .news-thumb {
    height: 100px;
    background: linear-gradient(135deg, #FFF5F2, #FFE8DE);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    flex-shrink: 0;
}
.news-section .news-card:hover .news-thumb {
    background: linear-gradient(135deg, #ff0000, #FF9A6C);
    color: #fff;
}
.news-section .news-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-section .news-date {
    font-size: 11px;
    color: #bbb;
    margin-bottom: 8px;
    font-weight: 500;
}
.news-section .news-body h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    flex: 1;
    transition: color 0.2s;
}
.news-section .news-card:hover .news-body h3 {
    color: #ff0000;
}
.news-section .news-body p {
    margin: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* ================================================================
   合作伙伴区域 (.mi-shop-partners)
   ================================================================ */
.mi-shop-partners {
    max-width: 1440px;
    margin: 0 auto 28px;
    padding: 0 16px;
}
.mi-shop-partners-inner {
    background: #fafafa;
    padding: 28px 24px 32px;
    border-radius: 4px;
    border: 1px solid #eee;
}
.mi-shop-partners-head {
    text-align: center;
    margin-bottom: 28px;
}
.mi-shop-partners-head h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 400;
    color: #333;
}
.mi-shop-partners-head p {
    margin: 0;
    font-size: 14px;
    color: #999;
}
.mi-shop-partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}
.mi-shop-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mi-shop-partner-item:hover {
    border-color: #ff6700;
    box-shadow: 0 4px 12px rgba(255,103,0,0.1);
}
.mi-shop-partner-item span {
    font-size: 13px;
    color: #666;
    text-align: center;
}
.mi-shop-partner-item:hover span {
    color: #ff6700;
}

/* ================================================================
   company.html — category-section & hot-section
   ================================================================ */
@media (max-width: 992px) {
    .mi-shop-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mi-shop-cases-grid {
        grid-template-columns: 1fr;
    }
    .mi-shop-case-card--large {
        grid-row: span 1;
    }
    .mi-shop-partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 576px) {
    .mi-shop-team-grid {
        grid-template-columns: 1fr;
    }
    .mi-shop-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mi-shop-news-item {
        flex-wrap: wrap;
    }
    .mi-shop-news-arrow {
        display: none;
    }
    .shop-section {
        padding: 0 12px;
    }
    .shop-container {
        padding: 32px 20px;
    }
    .shop-container .section-head {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    .shop-container .section-title {
        font-size: 20px;
    }
    .team-section .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .cases-section .cases-grid {
        grid-template-columns: 1fr;
    }
    .cases-section .case-card--hero {
        grid-row: span 1;
        min-height: 200px;
    }
    .news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== category-section ========== */
.category-section {
    width: 100%;
    padding: 60px 0;
    background: #fff;
}
.category-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
.category-header {
    text-align: center;
    margin-bottom: 50px;
}
.category-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.category-title-highlight {
    color: #ff0000;
}
.category-subtitle {
    font-size: 16px;
    color: #666;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.category-card {
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
}
.category-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-card:hover .category-icon {
    border-color: #ff0000;
}
.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.category-card:hover .category-name {
    color: #ff0000;
}
.category-count {
    font-size: 14px;
    color: #999;
}

/* ========== hot-section ========== */
.hot-section {
    width: 100%;
    padding: 10px 0;
    background: #f5f5f5;
}
.hot-container {
    max-width: 1440px;
    margin: 0 auto;
}
.hot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.hot-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.hot-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}
.hot-tag {
    display: inline-block;
    padding: 6px 15px;
    background: #e5e5e5;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
}
.hot-viewall {
    color: #ff0000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hot-viewall:hover {
    text-decoration: underline;
}
.hot-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.hot-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}
.sidebar-title {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    height:572px;
}
.sidebar-menu li {
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.sidebar-menu li:hover,
.sidebar-menu li.active {
    background: #FFF5F0;
    color: #ff0000;
    border-left-color: #ff0000;
}
.sidebar-menu li.active {
    font-weight: bold;
}
/* 分类 Tab 容器 */
.hot-tabs-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* 每个 Tab 面板，默认隐藏 */
.tab-panel {
    display: none;
}
/* 默认激活的 Tab 面板 */
.tab-panel.active {
    display: block;
}
/* 每行 5 个产品 */
.product-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.product-row:last-child {
    margin-bottom: 0;
}
.hot-products {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 16px;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.product-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e5e5e5;
    color: #333;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}
.product-cert {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
}
.product-info {
    padding: 15px;
}
.product-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.product-price small {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}
.product-moq {
    font-size: 12px;
    color: #999;
}

/* ========== category-section & hot-section Responsive ========== */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .hot-sidebar {
        display: none;
    }
    .hot-products {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .category-title {
        font-size: 24px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .category-icon {
        width: 80px;
        height: 80px;
    }
    .hot-title {
        font-size: 22px;
    }
    .hot-products {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .category-icon {
        width: 70px;
        height: 70px;
    }
    .hot-products {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .product-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
