@charset "UTF-8";
/**
 * 费洛蒙香水移动端整合样式
 * 整合自：mobile-design.css + pheromone-beauty-mobile.css
 * 优化：删除重复定义，统一品牌色值
 * 
 * 核心色值：
 * - 主色（玫瑰豆沙）：#E85D75
 * - 辅助色（浅香槟）：#F9EAE1
 * - 中性色（高级灰）：#F5F5F7
 * - 点缀色（鎏金）：#D4AF37
 */

/* ========================================
   第一部分：CSS变量定义
   ======================================== */

:root {
    --flm-primary: #E85D75;
    --flm-primary-hover: #C84B60;
    --flm-primary-light: #F5A3B0;
    --flm-secondary: #F9EAE1;
    --flm-neutral: #F5F5F7;
    --flm-gold: #D4AF37;
    --flm-gold-hover: #B8962E;
    --flm-text-primary: #2D2D2D;
    --flm-text-secondary: #666666;
    --flm-text-muted: #999999;
    --flm-white: #FFFFFF;
    --flm-shadow: 0 4px 12px rgba(232, 93, 117, 0.15);
    --flm-shadow-sm: 0 2px 8px rgba(232, 93, 117, 0.1);
    --flm-shadow-lg: 0 8px 24px rgba(232, 93, 117, 0.2);
    --flm-radius: 12px;
    --flm-radius-sm: 8px;
    --flm-radius-lg: 16px;
    --flm-radius-full: 50%;
    --flm-transition: all 0.3s ease;
    --flm-transition-fast: all 0.15s ease;
    --flm-font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    --safe-area-bottom: env(safe-area-inset-bottom);
}

/* ========================================
   第二部分：全局重置与基础样式
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--flm-font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--flm-text-primary);
    background-color: var(--flm-neutral);
    padding-bottom: calc(4.8rem + var(--safe-area-bottom));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--flm-primary);
    text-decoration: none;
    transition: var(--flm-transition);
}

a:hover,
a:active {
    color: var(--flm-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    color: var(--flm-text-primary);
    line-height: 1.4;
}

h1 { font-size: 22px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 15px; }
h6 { font-size: 13px; }

p {
    margin: 0;
    color: var(--flm-text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 去除点击边框 */
a:focus,
a:active,
button:focus,
button:active,
input:focus,
select:focus,
textarea:focus,
.btn:focus,
.btn:active,
[role="button"]:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

:focus { outline: none; }
::-moz-focus-inner { border: 0; }

/* ========================================
   第三部分：头部导航
   ======================================== */

.am-sticky-placeholder {
    background: var(--flm-white) !important;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--flm-white);
    box-shadow: var(--flm-shadow-sm);
}

header section {
    background: var(--flm-white);
}

header .tem_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    height: 48px;
    min-height: 48px;
    background: var(--flm-white);
    border-bottom: 1px solid var(--flm-neutral);
}

header .tem_top h1,
header .tem_top h2 {
    margin: 0;
}

header .tem_top h1 a,
header .tem_top h2 a {
    display: block;
}

header .tem_top h1 img,
header .tem_top h2 img {
    max-height: 36px;
    width: auto;
}

header .tem_top > i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flm-primary);
    font-size: 18px;
    cursor: pointer;
    border-radius: var(--flm-radius-sm);
    transition: var(--flm-transition);
    position: absolute;
    padding: 0;
    background: transparent;
}

header .tem_top > i:active {
    background: var(--flm-secondary);
    transform: scale(0.95);
}

header .tem_top i.fa-bars {
    top: 4px;
    right: 10px;
}

header .tem_top i.fa-globe {
    top: 4px;
    right: 55px;
}

header .tem_top i.met_now {
    background: var(--flm-secondary);
    color: var(--flm-primary);
    border-radius: var(--flm-radius-sm);
}

header .tem_head {
    background: var(--flm-white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

header .tem_head.am-in {
    max-height: 600px;
    box-shadow: var(--flm-shadow);
}

header .tem_head ul {
    background: var(--flm-white);
    margin: 0;
    padding: 0;
}

header .tem_head li {
    border-bottom: 1px solid var(--flm-neutral);
    list-style: none;
}

header .tem_head li:last-child {
    border-bottom: none;
}

header .tem_head li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--flm-text-primary);
    transition: var(--flm-transition);
}

header .tem_head li a:active,
header .tem_head li a.navdown,
header .tem_head li a.met_now {
    background: var(--flm-secondary);
    color: var(--flm-primary);
}

header .tem_head li a i {
    color: var(--flm-text-muted);
    font-size: 16px;
    transition: var(--flm-transition);
}

header .tem_langlist {
    background: var(--flm-neutral);
    padding: 12px 15px;
}

header .tem_langlist ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

header .tem_langlist ul li a {
    display: block;
    padding: 8px 16px;
    background: var(--flm-white);
    border-radius: var(--flm-radius-sm);
    font-size: 14px;
    color: var(--flm-text-secondary);
    border: 1px solid var(--flm-neutral);
    transition: var(--flm-transition);
}

header .tem_langlist ul li a.met_now {
    background: var(--flm-primary);
    border-color: var(--flm-primary);
    color: var(--flm-white);
}

/* ========================================
   第四部分：轮播Banner
   ======================================== */

.tem_banner {
    position: relative;
    overflow: hidden;
}

.tem_banner ul {
    margin: 0;
    padding: 0;
}

.tem_banner li {
    position: relative;
    list-style: none;
}

.tem_banner li img {
    width: 100%;
    display: block;
}

.am-slider-default .am-control-nav {
    bottom: 15px;
}

.am-slider-default .am-control-nav li a {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--flm-radius-full);
    border: none;
    transition: var(--flm-transition);
}

.am-slider-default .am-control-nav li a.am-active {
    background: var(--flm-primary);
    transform: scale(1.3);
}

/* ========================================
   第五部分：按钮样式
   ======================================== */

.btn,
button,
input[type="submit"],
input[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--flm-font-family);
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: var(--flm-radius);
    cursor: pointer;
    transition: var(--flm-transition);
    min-height: 44px;
}

.btn:active,
button:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    border-color: transparent;
}

.btn-primary:active {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
}

.btn-secondary {
    background-color: var(--flm-secondary);
    color: var(--flm-primary);
    border-color: transparent;
}

.btn-secondary:active {
    background-color: var(--flm-primary-light);
}

.btn-gold {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
    color: var(--flm-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--flm-primary);
    border: 2px solid var(--flm-primary);
}

.btn-outline-primary:active {
    background: var(--flm-primary);
    color: var(--flm-white);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--flm-radius-lg);
    min-height: 48px;
}

.submit {
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    border: none;
    border-radius: var(--flm-radius);
    padding: 14px 30px;
    font-weight: 500;
    transition: var(--flm-transition);
    min-height: 48px;
}

.submit:active {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
    transform: scale(0.98);
}

.tem_index_more,
.index-more {
    width: 100%;
    max-width: 200px;
    margin: 20px auto;
    padding: 0;
}

.tem_index_more a,
.index-more a {
    height: 44px;
    line-height: 42px;
    background: var(--flm-white);
    color: var(--flm-primary);
    border: 2px solid var(--flm-primary);
    border-radius: var(--flm-radius);
    font-weight: 500;
    transition: var(--flm-transition);
    display: block;
    text-align: center;
}

.tem_index_more a:active,
.index-more a:active {
    background: var(--flm-primary);
    color: var(--flm-white);
}

/* ========================================
   第六部分：表单样式
   ======================================== */

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea,
select {
    display: block;
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-family: var(--flm-font-family);
    font-size: 16px;
    color: var(--flm-text-primary);
    background-color: var(--flm-white);
    border: 1px solid #E5E5E5;
    border-radius: var(--flm-radius-sm);
    transition: var(--flm-transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--flm-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.15);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--flm-text-muted);
}

textarea.form-control,
textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.form-group {
    margin-bottom: 18px;
}

.form-label,
label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--flm-text-primary);
}

.v52fmbx {
    border: none;
    border-radius: var(--flm-radius-lg);
    overflow: hidden;
    box-shadow: var(--flm-shadow-sm);
    background: var(--flm-white);
}

.v52fmbx dl {
    border-top: 1px solid var(--flm-neutral);
    padding: 10px 0;
    margin: 0;
}

.v52fmbx dl:first-child {
    border-top: none;
}

.v52fmbx dl dt {
    font-weight: 500;
    color: var(--flm-text-primary);
    padding: 12px 15px 8px;
}

.v52fmbx dl dd {
    padding: 0 15px 10px;
}

.ftype_input .fbox input {
    width: 100%;
    height: 48px;
    font-size: 16px;
    border-radius: var(--flm-radius-sm);
    border: 1px solid #E5E5E5;
    transition: var(--flm-transition);
    padding: 12px 16px;
}

.ftype_input .fbox input:focus {
    border-color: var(--flm-primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.15);
}

.ftype_textarea textarea {
    width: 100%;
    font-size: 16px;
    border-radius: var(--flm-radius-sm);
}

/* ========================================
   第七部分：商品卡片
   ======================================== */

.page-content {
    padding: 15px;
}

.panel {
    background: var(--flm-white);
    border-radius: var(--flm-radius-lg);
    box-shadow: var(--flm-shadow-sm);
    margin-bottom: 15px;
    overflow: hidden;
    border: none;
}

.panel-heading {
    padding: 14px 16px;
    border-bottom: 1px solid var(--flm-neutral);
    background: linear-gradient(135deg, var(--flm-secondary) 0%, var(--flm-white) 100%);
}

.panel-heading h3,
.panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--flm-text-primary);
}

.panel-body {
    padding: 14px 16px;
}

.met-product {
    padding: 15px 0;
}

.met-product .container {
    padding: 0 10px;
}

.met-product ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
}

.met-product ul li {
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    overflow: hidden;
    box-shadow: var(--flm-shadow-sm);
    transition: var(--flm-transition);
    list-style: none;
}

.met-product ul li:active {
    transform: scale(0.98);
    box-shadow: var(--flm-shadow);
}

.met-product ul li a {
    display: block;
}

.met-product ul li a img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.met-product ul li a h3,
.met-product ul li a h4 {
    padding: 12px 10px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--flm-text-primary);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.met-product ul li:active a h3,
.met-product ul li:active a h4 {
    color: var(--flm-primary);
}

.tem_index_product {
    background: var(--flm-neutral);
}

.tem_index_product ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tem_index_product ul li .tem_wp2 {
    width: 50%;
    margin-bottom: 10px;
    float: left;
}

.tem_index_product ul li .tem_wp2 a {
    width: 95%;
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    overflow: hidden;
    box-shadow: var(--flm-shadow-sm);
    transition: var(--flm-transition);
    display: block;
    margin: 0 auto;
}

.tem_index_product ul li .tem_wp2 a:active {
    transform: scale(0.98);
}

.tem_index_product ul li .tem_wp2 a img {
    width: 100%;
    display: block;
}

.tem_index_product ul li h3 {
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    padding: 12px 10px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    height: auto;
    min-height: 60px;
    margin: 0;
}

.tem_index_product_tab,
.tem_index_news_tab,
.tem_index_comment_tab {
    margin: 15px 0;
    text-align: center;
}

.tem_index_product_tab li,
.tem_index_news_tab li,
.tem_index_comment_tab li {
    display: inline-block;
    margin: 0 5px;
}

.tem_index_product_tab li span,
.tem_index_news_tab li span,
.tem_index_comment_tab li span {
    padding: 6px 18px;
    background: var(--flm-neutral);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--flm-transition);
    display: inline-block;
}

.tem_index_product_tab li.am-active span,
.tem_index_news_tab li.am-active span,
.tem_index_comment_tab li.am-active span {
    background: var(--flm-primary);
    color: var(--flm-white);
}

.met_module3_list ul.list_1 {
    padding: 0 8px;
    margin: 0;
    list-style: none;
}

.met_module3_list ul.list_1 li {
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    overflow: hidden;
    box-shadow: var(--flm-shadow-sm);
    margin-top: 10px;
    max-width: none;
    width: 50%;
    padding: 0 5px;
    transition: var(--flm-transition);
    float: left;
    text-align: center;
}

.met_module3_list ul.list_1 li:active {
    transform: scale(0.98);
}

.met_module3_list ul.list_1 li .tem_wp2 {
    width: 100%;
    margin: 0;
}

.met_module3_list ul.list_1 li a {
    width: 100%;
    display: block;
}

.met_module3_list ul.list_1 li h2 {
    padding: 10px;
    font-weight: 500;
    font-size: 13px;
    border-top: none;
    text-align: left;
    margin: 0;
}

.met_module3_list ul.list_1 li .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--flm-gold);
}

.met_module3_list ul.list_1 li .view {
    margin-top: 8px;
}

.met_module3_list ul.list_1 li .view span {
    padding: 5px 20px;
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    border-radius: var(--flm-radius);
    font-size: 13px;
    color: var(--flm-white);
    display: inline-block;
}

.met_module3_list ul.list_1 li .view span:active {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
}

.met_module3_list ul.list_1 li .shipping {
    background: var(--flm-primary);
    border-radius: 0 0 var(--flm-radius-sm) 0;
    color: var(--flm-white);
    font-size: 12px;
    padding: 2px 8px;
}

.met_module3_list ul.list_1 li .category {
    border: 1px solid var(--flm-gold);
    color: var(--flm-gold);
    border-radius: var(--flm-radius-sm);
    font-size: 12px;
    padding: 2px 8px;
}

/* ========================================
   第八部分：新闻列表
   ======================================== */

.met-news {
    padding: 15px 0;
}

.met-news ul {
    margin: 0;
    padding: 0 10px;
}

.met-news ul li {
    padding: 14px 0;
    border-bottom: 1px solid var(--flm-neutral);
    list-style: none;
}

.met-news ul li:last-child {
    border-bottom: none;
}

.met-news ul li a {
    display: block;
}

.met-news ul li a h3,
.met-news ul li a h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--flm-text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.met-news ul li:active a h3,
.met-news ul li:active a h4 {
    color: var(--flm-primary);
}

.met-news ul li a p {
    margin: 0;
    font-size: 13px;
    color: var(--flm-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.met-news ul li a span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--flm-text-muted);
}


.tem_index_news_list .index-news-list {
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: var(--flm-shadow-sm);
    transition: var(--flm-transition);
}

.tem_index_news_list .index-news-list:active {
    transform: scale(0.99);
    background: var(--flm-secondary);
}

.tem_index_news_list .index-news-list .news_img {
    width: 28%;
    border-radius: var(--flm-radius-sm);
    overflow: hidden;
    float: left;
}

.tem_index_news_list .index-news-list .news_img img {
    border-radius: var(--flm-radius-sm);
    box-shadow: none;
    width: 100%;
}

.tem_index_news_list .index-news-list .news_info {
    width: 68%;
    float: right;
}

.tem_index_news_list h3 {
    font-weight: 600;
    font-size: 14px;
    color: var(--flm-text-primary);
    margin: 0 0 4px;
}

.tem_index_news_list p {
    font-size: 12px;
    color: var(--flm-text-muted);
    margin: 0;
}

.met_module2_list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--flm-neutral);
    list-style: none;
}

.met_module2_list li.list_2,
.met_module2_list li.list_3 {
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: var(--flm-shadow-sm);
}

.met_module2_list li.list_3 .NewsListPic {
    width: 28%;
    border-radius: var(--flm-radius-sm);
    overflow: hidden;
    float: left;
}

.met_module2_list li.list_3 img {
    border-radius: var(--flm-radius-sm);
    box-shadow: none;
}

.met_module2_list li.list_3 .NewsListInfo {
    width: 68%;
    float: right;
}

.met_module2 h1.met_title {
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
}

.met_module2 .met_infos {
    font-size: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    color: var(--flm-text-muted);
}

.met_module2 .met_editor p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--flm-text-secondary);
}

.met_module2 .met_editor p img {
    border-radius: var(--flm-radius-sm);
    box-shadow: var(--flm-shadow-sm);
}

/* ========================================
   第九部分：底部固定导航
   ======================================== */

.index-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    height: auto;
    min-height: 4.8rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--flm-neutral);
    padding: 6px 0;
    padding-bottom: calc(6px + var(--safe-area-bottom));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.index-footer ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
}

.index-footer ul li {
    width: auto;
    flex: 1;
    text-align: center;
    list-style: none;
}

.index-footer ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    color: var(--flm-text-secondary);
    transition: var(--flm-transition);
    position: relative;
    text-decoration: none;
}

.index-footer ul li a:active {
    color: var(--flm-primary);
}

.index-footer ul li a i {
    font-size: 20px;
    margin-bottom: 2px;
    color: var(--flm-primary);
    transition: var(--flm-transition);
}

.index-footer ul li a:active i {
    transform: scale(0.95);
}

.index-footer ul li a span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

#footer {
    height: auto;
    min-height: 45px;
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

#footer .footerbox {
    height: auto;
    min-height: 45px;
    padding: 6px 0;
    padding-bottom: var(--safe-area-bottom);
}

#footer ul li {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
}

#footer ul li:last-child {
    border-right: none;
}

#footer ul li a {
    color: var(--flm-white);
    height: auto;
    min-height: 45px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#footer .icon {
    font-size: 22px;
    color: var(--flm-white);
}

#footer .txt {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

.powered_by_metinfo {
    background: linear-gradient(135deg, var(--flm-primary-hover) 0%, #8B3A4A 100%);
    color: rgba(255, 255, 255, 0.8);
    padding-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

.powered_by_metinfo a {
    color: rgba(255, 255, 255, 0.9);
}

.tem_index_footer {
    background: var(--flm-neutral);
    border-top: none;
    margin-top: 15px;
}

.tem_index_footer dl dt {
    color: var(--flm-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--flm-primary-light);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.tem_index_footer_contact li i {
    border: 1px solid var(--flm-primary-light);
    color: var(--flm-primary);
    border-radius: var(--flm-radius-sm);
}

.tem_index_footer_attention li a {
    background-color: var(--flm-primary);
    border-radius: var(--flm-radius-sm);
}

.tem_footer {
    background: linear-gradient(135deg, var(--flm-primary-hover) 0%, #8B3A4A 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
}

.tem_footer a {
    color: rgba(255, 255, 255, 0.85);
}

.tem_footer a:active {
    color: var(--flm-gold);
}

/* ========================================
   第十部分：特色模块（pheromone-guide等）
   ======================================== */

.tem_inner {
    padding: 0 1rem;
}

section .tem_inner h2.box_title {
    text-align: center;
    margin: 15px 0;
}

section .tem_inner h2.box_title span {
    border-bottom: 2px solid var(--flm-primary);
    padding-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--flm-text-primary);
    display: inline-block;
}

section .tem_inner h2.box_title em {
    color: var(--flm-text-muted);
    font-size: 12px;
    margin-left: 8px;
    font-style: normal;
}

.about_content {
    text-indent: 2em;
    font-size: 14px;
    line-height: 1.8;
    color: var(--flm-text-secondary);
}

.pheromone-about {
    background: var(--flm-white);
    border-radius: var(--flm-radius-lg);
    padding: 15px;
    box-shadow: var(--flm-shadow-sm);
}

.pheromone-about p {
    text-indent: 2em;
    font-size: 14px;
    line-height: 1.8;
}

.pheromone-gx {
    margin-top: 15px;
}

.pheromone-gx img {
    border-radius: var(--flm-radius);
}

.pheromone-title {
    margin: 15px 0;
}

.pheromone-title img {
    width: 100%;
    border-radius: var(--flm-radius-sm);
}

.pheromone-guide {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
        background: var(--flm-secondary);
    border-radius: var(--flm-radius);
}

.pheromone-guide li {
    width: 33.33%;
    padding: 5px;
    float: left;
    list-style: none;
    box-sizing: border-box;
}

.pheromone-guide li img {
    width: 100%;
    border-radius: var(--flm-radius);
    border: none;
    box-shadow: var(--flm-shadow-sm);
    transition: var(--flm-transition);
}

.pheromone-guide li a {
    display: block;
}

.pheromone-guide li a:active img {
    transform: scale(0.98);
    box-shadow: var(--flm-shadow);
}

.min-guide {
    width: 33.33%;
    padding: 5px;
    text-align: center;
    box-sizing: border-box;
    float: left;
    list-style: none;
}

.min-guide a {
    font-size: 14px;
    width: 100%;
    border: 2px solid var(--flm-primary);
    border-radius: var(--flm-radius);
    box-shadow: none;
    min-height: 50px;
    height: auto;
    line-height: 1.4;
    padding: 10px 8px;
    color: var(--flm-primary);
    font-weight: 500;
    transition: var(--flm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: break-all;
    box-sizing: border-box;
    background: var(--flm-white);
}

.min-guide a:active {
    background: var(--flm-primary);
    color: var(--flm-white);
}

.i-zhuyi {
    color: var(--flm-primary);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 10px;
    background: var(--flm-secondary);
    border-radius: var(--flm-radius);
}

/* ========================================
   第十一部分：案例/图片列表
   ======================================== */

.tem_index_case_list .tem_list {
    width: 50%;
    padding: 0 5px;
    margin-bottom: 10px;
    float: left;
}

.tem_index_case_list .tem_list dt {
    padding: 0;
    border-radius: var(--flm-radius-sm);
    overflow: hidden;
    margin: 0;
}

.tem_index_case_list .tem_list dd {
    padding: 0 5px;
    margin: 0;
}

.tem_index_case_list .tem_list h3 {
    height: 40px;
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    border-radius: 0 0 var(--flm-radius-sm) var(--flm-radius-sm);
    font-weight: 500;
    font-size: 13px;
    line-height: 40px;
    text-align: center;
    margin: 0;
}

.tem_index_case_list .tem_list h3 a {
    color: var(--flm-white);
}

#imglist ul.list_1 li {
    width: 50%;
    margin-top: 10px;
    float: left;
    text-align: center;
    list-style: none;
}

#imglist ul.list_1 li a {
    width: 95%;
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    overflow: hidden;
    box-shadow: var(--flm-shadow-sm);
    border: none;
    display: block;
    margin: 0 auto;
}

#imglist ul.list_1 li h2 {
    padding: 10px;
    border-top: none;
    font-weight: 500;
    font-size: 13px;
    margin: 0;
}

#imglist ul a img {
    border-radius: var(--flm-radius) var(--flm-radius) 0 0;
}

.met-img ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.met-img ul li a {
    border-radius: var(--flm-radius-sm);
    display: block;
    overflow: hidden;
}

.met-img ul li a img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--flm-transition);
}

.met-img ul li:active a img {
    transform: scale(1.05);
}

/* ========================================
   第十二部分：商品详情页
   ======================================== */

.met-showproduct {
    padding-bottom: 90px;
}

.met-showproduct .product-intro {
    padding: 15px;
    background: var(--flm-white);
}

.met-showproduct .product-intro h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.met-showproduct .product-intro .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--flm-gold);
    margin-bottom: 12px;
}

.met-showproduct .product-intro .description {
    font-size: 14px;
    color: var(--flm-text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.met-showproduct .product-actions {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: var(--flm-white);
    border-top: 1px solid var(--flm-neutral);
    z-index: 100;
    padding-bottom: calc(10px + var(--safe-area-bottom));
}

.met-showproduct .product-actions .btn {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    border-radius: var(--flm-radius);
}

.met-showproduct .product-content {
    padding: 15px;
    background: var(--flm-white);
    margin-top: 15px;
}

.met-showproduct .product-content img {
    max-width: 100%;
    border-radius: var(--flm-radius-sm);
}

#showproduct dl.pshow {
    padding: 0 10px;
}

#showproduct dl.pshow dt .met_box {
    height: auto;
    min-height: 300px;
}

#showproduct dl.pshow dd .met_box h1 {
    font-size: 18px;
    padding: 15px 10px;
}

#showproduct dl.pshow dd .met_box ul li {
    padding: 10px 10px 10px 80px;
    font-size: 13px;
}

#showproduct dl.pshow dd .met_box ul li span {
    width: 70px;
    font-size: 13px;
}

#showproduct .met_related {
    font-size: 16px;
    padding: 12px 10px;
}

#showproduct .met_related_list li {
    width: 50%;
    margin-top: 10px;
    float: left;
    text-align: center;
    list-style: none;
}

#showproduct .met_related_list li a {
    width: 95%;
    border: none;
    border-radius: var(--flm-radius-sm);
    box-shadow: var(--flm-shadow-sm);
    display: block;
    margin: 0 auto;
}

#showproduct .met_related_list li h2 {
    padding: 10px;
    font-weight: 500;
    border-top: none;
    margin: 0;
}

/* ========================================
   第十三部分：新闻详情页
   ======================================== */

.met-shownews {
    padding: 15px;
    background: var(--flm-white);
}

.met-shownews h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.met-shownews .info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--flm-text-muted);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--flm-neutral);
}

.met-shownews .content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--flm-text-secondary);
}

.met-shownews .content img {
    max-width: 100%;
    border-radius: var(--flm-radius-sm);
    margin: 12px 0;
}

/* ========================================
   第十四部分：分页
   ======================================== */

.met-pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 15px 0;
}

.met-pager a,
.met-pager span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    color: var(--flm-text-secondary);
    background: var(--flm-white);
    border: 1px solid var(--flm-neutral);
    border-radius: var(--flm-radius-sm);
    transition: var(--flm-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.met-pager a:active,
.met-pager span.active {
    color: var(--flm-white);
    background: var(--flm-primary);
    border-color: var(--flm-primary);
}

.met_pager {
    padding: 20px 0;
    text-align: center;
}

.met_pager a {
    height: 36px;
    line-height: 34px;
    min-width: 36px;
    border-radius: var(--flm-radius-sm);
    border: 1px solid var(--flm-neutral);
    margin-right: 4px;
    display: inline-block;
    text-align: center;
    padding: 0 10px;
}

.met_pager a:active {
    background: var(--flm-primary);
    border-color: var(--flm-primary);
    color: var(--flm-white);
}

.met_pager .PreSpan,
.met_pager .NextSpan {
    height: 36px;
    line-height: 34px;
    min-width: 50px;
    background: var(--flm-neutral);
    border-radius: var(--flm-radius-sm);
    display: inline-block;
    text-align: center;
    padding: 0 10px;
}

.met_tools .met_page li {
    width: 100%;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ========================================
   第十五部分：面包屑
   ======================================== */

.met-position {
    padding: 10px 12px;
    font-size: 12px;
    color: var(--flm-text-muted);
    background: var(--flm-white);
}

.met-position a {
    color: var(--flm-text-muted);
}

.met-position a:active {
    color: var(--flm-primary);
}

.met_position {
    padding: 8px 10px;
}

.met_position a {
    color: var(--flm-text-muted);
    font-size: 12px;
}

/* ========================================
   第十六部分：侧栏
   ======================================== */

.met_section aside {
    display: none;
}

.met_section article {
    float: none;
    margin-left: 0;
    width: 100%;
}

.met_section article .met_article {
    margin-left: 0;
}

.met_section .met_article_head {
    height: auto;
    padding: 10px;
    margin-bottom: 10px;
}

.met_section .met_article_head h1 {
    font-size: 16px;
    line-height: 1.4;
}

.met_section .met_article_head h3 {
    position: static;
    height: auto;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
}

.met_section .met_article_head h3 i {
    width: 24px;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
}

/* ========================================
   第十七部分：返回顶部
   ======================================== */

.met-scroll-top {
    position: fixed;
    right: 15px;
    bottom: 90px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    border-radius: var(--flm-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--flm-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--flm-transition);
    z-index: 99;
}

.met-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.met-scroll-top:active {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
    transform: scale(0.95);
}

.met-scroll-top::before {
    content: "";
    width: 14px;
    height: 14px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg) translateY(2px);
}

/* ========================================
   第十八部分：提示框
   ======================================== */

.alert {
    padding: 12px 15px;
    border-radius: var(--flm-radius);
    margin-bottom: 15px;
    font-size: 13px;
}

.alert-success {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
}

.alert-danger {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #991B1B;
}

.alert-warning {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
}

/* ========================================
   第十九部分：浮动客服
   ======================================== */

.info-nr-menu {
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--flm-radius-full);
    bottom: calc(70px + var(--safe-area-bottom));
    box-shadow: var(--flm-shadow);
    background-color: var(--flm-primary);
    background-image: url("../plus.png");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.info-nr-menu:checked {
    background-color: var(--flm-gold);
}

.info-nr-phone > div {
    width: 40px;
    height: 40px;
    border-radius: var(--flm-radius-full);
    background: var(--flm-primary);
    margin-bottom: calc(55px + var(--safe-area-bottom));
    margin-left: 15px;
    box-shadow: var(--flm-shadow-sm);
}

.info-nr-phone > div:active {
    background: var(--flm-gold);
}

/* ========================================
   第二十部分：标签和徽章
   ======================================== */

.badge {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: var(--flm-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-primary {
    background: var(--flm-primary);
    color: var(--flm-white);
}

.badge-gold {
    background: var(--flm-gold);
    color: var(--flm-white);
}

/* ========================================
   第二十一部分：触摸反馈
   ======================================== */

.btn:active,
button:active {
    transform: scale(0.98);
}

.card:active,
.panel:active {
    transform: scale(0.99);
}

.met-product ul li:active,
.tem_index_product ul li:active,
.met_module3_list ul.list_1 li:active {
    transform: scale(0.98);
}

/* ========================================
   第二十二部分：安全区域适配
   ======================================== */

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: calc(4.8rem + env(safe-area-inset-bottom));
    }
    
    .index-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .met-showproduct .product-actions {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
    
    .info-nr-menu {
        bottom: calc(70px + env(safe-area-inset-bottom));
    }
}

/* ========================================
   第二十三部分：横屏适配
   ======================================== */

@media (orientation: landscape) and (max-height: 500px) {
    .tem_top {
        padding: 8px 15px;
    }
    
    header .tem_top h1 img,
    header .tem_top h2 img {
        max-height: 30px;
    }
    
    .index-footer {
        min-height: 3.5rem;
    }
    
    .index-footer ul li a {
        padding: 4px 0;
    }
    
    .index-footer ul li a i,
    .index-footer ul li a .icon {
        font-size: 18px;
    }
    
    .index-footer ul li a span,
    .index-footer ul li a .txt {
        font-size: 10px;
    }
}

/* ========================================
   第二十四部分：小屏幕适配
   ======================================== */

@media (max-width: 359px) {
    html {
        font-size: 14px;
    }
    
    .tem_index_product ul li .tem_wp2 {
        width: 100%;
    }
    
    .met-product ul {
        grid-template-columns: 1fr;
    }
    
    .met_module3_list ul.list_1 li {
        width: 100%;
    }
    
    .tem_index_case_list .tem_list {
        width: 100%;
    }
    
    #imglist ul.list_1 li {
        width: 100%;
    }
    
    .met-img ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
}

/* ========================================
   第二十五部分：加载动效
   ======================================== */

.loading {
    display: flex;
    justify-content: center;
    padding: 30px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--flm-neutral);
    border-top-color: var(--flm-primary);
    border-radius: var(--flm-radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.no-data {
    padding: 60px 20px;
    text-align: center;
}

.no-data .icon {
    font-size: 60px;
    color: var(--flm-neutral);
    margin-bottom: 16px;
}

.no-data p {
    margin: 0;
    font-size: 15px;
    color: var(--flm-text-muted);
}

/* ========================================
   第二十六部分：弹窗样式
   ======================================== */

.am-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.am-modal.am-active {
    display: flex;
}

.am-modal-dialog {
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    width: 100%;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.am-modal-hd {
    padding: 16px;
    border-bottom: 1px solid var(--flm-neutral);
    font-size: 16px;
    font-weight: 600;
}

.am-modal-bd {
    padding: 20px 16px;
}

.am-modal-ft {
    padding: 16px;
    border-top: 1px solid var(--flm-neutral);
    display: flex;
    gap: 10px;
}

.am-modal-ft .btn {
    flex: 1;
}

/* ========================================
   第二十七部分：文字高亮
   ======================================== */

.text-primary {
    color: var(--flm-primary) !important;
}

.text-gold {
    color: var(--flm-gold) !important;
}

.text-secondary {
    color: var(--flm-text-secondary) !important;
}

.text-muted {
    color: var(--flm-text-muted) !important;
}

.highlight {
    color: var(--flm-primary);
    font-weight: 600;
}

.highlight-gold {
    color: var(--flm-gold);
    font-weight: 600;
}

/* ========================================
   第二十八部分：辅助类
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.m-0 { margin: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }

.p-0 { padding: 0; }
.p-3 { padding: 16px; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }

.w-100 { width: 100%; }

.hidden { display: none; }

/* ========================================
   第二十九部分：页面动画
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.4s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* 禁用动画（用户偏好设置） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   第三十部分：AmazeUI组件覆盖
   ======================================== */

.am-collapse {
    display: none;
}

.am-collapse.am-in {
    display: block;
}

.am-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.am-dropdown {
    position: relative;
}

.am-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--flm-white);
    border-radius: var(--flm-radius);
    box-shadow: var(--flm-shadow-lg);
    min-width: 150px;
    display: none;
}

.am-active .am-dropdown-content {
    display: block;
}

/* ========================================
   第三十一部分：搜索区域样式
   ======================================== */

.met_index_search {
    margin-top:20px;
    padding: 15px;
    background: var(--flm-white);
    border-radius: var(--flm-radius-lg);
    box-shadow: var(--flm-shadow-sm);
}

.met_index_search form {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.met_index_search .input-text {
    flex: 1;
    height: 48px;
    padding: 12px 50px 12px 16px;
    font-size: 15px;
    color: var(--flm-text-primary);
    background-color: var(--flm-neutral);
    border: 2px solid transparent;
    border-radius: var(--flm-radius);
    transition: var(--flm-transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-sizing: border-box;
}

.met_index_search .input-text:focus {
    border-color: var(--flm-primary);
    background-color: var(--flm-white);
    box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.15);
}

.met_index_search .input-text::placeholder {
    color: var(--flm-text-muted);
    font-size: 14px;
}

.met_index_search .searchgo {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: var(--flm-radius-sm);
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    cursor: pointer;
    transition: var(--flm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
}

.met_index_search .searchgo:hover {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
}

.met_index_search .searchgo:active {
    transform: translateY(-50%) scale(0.95);
}

.met_index_search .searchgo::before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
}

/* 购物车角标样式 */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--flm-white);
    background: var(--flm-primary);
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(232, 93, 117, 0.3);
}

/* 购物车弹出框样式 */
.mobile-cart-preview {
    position: fixed;
    bottom: 70px;
    left: 10px;
    right: 10px;
    max-height: 70vh;
    background: var(--flm-white);
    border-radius: var(--flm-radius-lg);
    box-shadow: var(--flm-shadow-lg);
    z-index: 1000;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}

.cart-preview-close {
    color: var(--flm-white);
    font-size: 24px;
    text-decoration: none;
    line-height: 1;
    padding: 0 5px;
}

.cart-preview-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.cart-preview-item {
    display: flex;
    gap: 10px;
    padding: 12px 10px;
    background: var(--flm-white);
    border-bottom: 1px solid var(--flm-neutral);
    position: relative;
    align-items: flex-start;
}

.cart-preview-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    flex-shrink: 0;
}

.cart-preview-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--flm-radius-sm);
    flex-shrink: 0;
}

.cart-preview-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-preview-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--flm-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
    display: block;
    line-height: 1.3;
}

.cart-preview-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cart-preview-item-price {
    font-size: 14px;
    color: var(--flm-gold);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item-qty .qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid var(--flm-neutral);
    background: var(--flm-white);
    border-radius: 4px;
    font-size: 14px;
    color: var(--flm-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--flm-transition);
}

.cart-item-qty .qty-btn:active {
    background: var(--flm-primary);
    border-color: var(--flm-primary);
    color: var(--flm-white);
}

.cart-item-qty .qty-value {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--flm-text-primary);
}

.cart-item-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--flm-text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--flm-transition);
}

.cart-item-delete:active {
    background: var(--flm-secondary);
    color: var(--flm-primary);
}

.cart-preview-footer {
    padding: 12px 15px;
    border-top: 1px solid var(--flm-neutral);
    background: var(--flm-white);
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--flm-text-secondary);
}

.cart-total-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--flm-gold);
}

.cart-footer-btns {
    display: flex;
    gap: 10px;
}

.cart-continue-btn {
    flex: 1;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: var(--flm-white);
    color: var(--flm-primary);
    border: 2px solid var(--flm-primary);
    border-radius: var(--flm-radius);
    font-weight: 500;
    font-size: 14px;
    transition: var(--flm-transition);
}

.cart-continue-btn:active {
    background: var(--flm-secondary);
}

.cart-checkout-btn {
    flex: 1.5;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    border-radius: var(--flm-radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--flm-transition);
}

.cart-checkout-btn:active {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
    transform: scale(0.98);
}

.cart-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.cart-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--flm-text-muted);
    font-size: 14px;
}

.cart-loading i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    color: var(--flm-primary);
}

.cart-empty-tips {
    text-align: center;
    padding: 30px 20px;
}

.cart-empty-tips > i {
    font-size: 48px;
    color: var(--flm-neutral);
    margin-bottom: 15px;
    display: block;
}

.cart-empty-tips p {
    margin: 0 0 8px;
    color: var(--flm-text-secondary);
    font-size: 14px;
}

.cart-empty-tips .cart-empty-hint {
    font-size: 12px;
    color: var(--flm-text-muted);
    margin-bottom: 20px;
}

.cart-empty-btn {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    border-radius: var(--flm-radius);
    font-size: 14px;
    font-weight: 500;
    transition: var(--flm-transition);
}

.cart-empty-btn:active {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
    transform: scale(0.98);
}

ul.searchnavlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.searchnavlist .advsearch_searchword input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #E5E5E5;
    border-radius: var(--flm-radius-sm);
    transition: var(--flm-transition);
    outline: none;
}

ul.searchnavlist .advsearch_searchword input:focus {
    border-color: var(--flm-primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.15);
}

ul.searchnavlist .searchgo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 35px;
    height: 48px;
    border: none;
    border-radius: var(--flm-radius);
    background: linear-gradient(135deg, var(--flm-primary) 0%, var(--flm-primary-hover) 100%);
    color: var(--flm-white);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--flm-transition);
}

ul.searchnavlist .searchgo:hover {
    background: linear-gradient(135deg, var(--flm-gold) 0%, var(--flm-gold-hover) 100%);
}

ul.searchnavlist .searchgo:active {
    transform: scale(0.98);
}
