/* 基础样式已在common.css中定义 */
.tem_banner ul.am-slides{ padding-left:0; }
.none{ display:none; }
.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form .search-btn {
  position: absolute;
  left: 10px;
  z-index: 1;
  color: #6c757d;
}

.search-form input[type="search"] {
  padding-left: 40px;
}

.search-dropdown{top:2.35rem}

/* 侧边栏菜单样式 */
.offcanvas {
  width: 65% !important;
  transition: transform 0.3s ease-in-out !important;
}

.offcanvas .list-group-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease-in-out;
  color: #4a90e2;
}

.offcanvas .list-group-item {
  position: relative;
  padding-left: 3rem;
}

.offcanvas .list-group-item .bi {
  color: #adb5bd;
  font-size: 1.25rem;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.offcanvas.show .list-group-item {
  opacity: 1;
  transform: translateX(0);
      border-top: none;
    border-right: none;
    border-left: none;
}

.offcanvas.show .list-group-item:nth-child(1) { transition-delay: 0.1s; }
.offcanvas.show .list-group-item:nth-child(2) { transition-delay: 0.2s; }
.offcanvas.show .list-group-item:nth-child(3) { transition-delay: 0.3s; }
.offcanvas.show .list-group-item:nth-child(4) { transition-delay: 0.4s; }
.offcanvas.show .list-group-item:nth-child(5) { transition-delay: 0.5s; }

.offcanvas.offcanvas-start.showing,
.offcanvas.offcanvas-start.show {
  transform: translateX(0);
}

.offcanvas.offcanvas-start.showing ~ .container,
.offcanvas.offcanvas-start.show ~ .container {
  transform: translateX(30%);
  transition: transform 0.3s ease-in-out;
}

/* 二级菜单样式 */
.has-submenu {
  position: relative;
}

.submenu-icon {
  position: absolute !important;
  right: 1rem !important;
  left: auto !important;
  transition: transform 0.3s ease;
}

.has-submenu.active .submenu-icon {
  transform: translateY(-50%) rotate(180deg);
}

.submenu {
  display: none;
  background: rgba(74, 144, 226, 0.05);
}

.submenu.show {
  display: block;
}

.submenu-item {
  padding-left: 4rem !important;
  font-size: 0.95rem;
  background: transparent;
}

.submenu-item:hover {
  background: rgba(74, 144, 226, 0.1);
}



/* Logo和Banner样式 */
.logo-container {
  text-align: center;
  padding: 0.5rem 0;
}

.logo-container img {
  width: 200px;
  height: auto;
}

/* 轮播图容器样式 */
.banner-container {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

/* 轮播图幻灯片样式 */
.banner-container .swiper-slide {
  width: 100%;
  height: auto;
}

.banner-container .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 轮播图分页器样式 */
.banner-container .swiper-pagination {
  bottom: 20px;
}

.banner-container .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.5;
  margin: 0 5px;
}

.banner-container .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

/* 移动端轮播图样式适配 */
@media (max-width: 768px) {
  .banner-container {
    margin-bottom: 0;
  }
  
  .banner-container .swiper-pagination {
    bottom: 10px;
  }
}

@media (max-width: 768px) {
  .logo-container img {
    width: 150px;
  }
}

/* 费洛蒙模块样式 */
.pheromone-section {
  background: #4a1c1c;
  color: #fff;
  padding: 4rem 0;
  position: relative;
}

.pheromone-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.pheromone-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.btn-pheromone {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.btn-pheromone:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* 返回顶部按钮样式 */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 70px;
  width: 35px;
  height: 35px;
  background: #1E90FF;
  color: #fff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top .bi {
  font-size: 1.5rem;
}

.back-to-top.show {
  z-index: 100000;
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #4169E1;
  transform: translateY(-3px);
}

/* 白色情人节限定活动样式 */
.white-valentine-section {
  background: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

/* 空气中的隐形爱神模块样式 */
.invisible-love-section {
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.invisible-love-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.invisible-love-section .container {
  position: relative;
  z-index: 2;
}

.invisible-love-section h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.invisible-love-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.invisible-love-section .btn-shop {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.invisible-love-section .btn-shop:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.white-valentine-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(245, 245, 245, 0.8) 100%);
  z-index: 1;
}

.white-valentine-section .container {
  position: relative;
  z-index: 2;
}

.white-valentine-section h2 {
  color: #333;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.white-valentine-section .discount-tag {
  background: #daa520;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.white-valentine-section .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .white-valentine-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .white-valentine-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
}

.white-valentine-section .product-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.white-valentine-section .product-item:hover {
  transform: translateY(-10px);
}

.white-valentine-section .product-image {
  margin-bottom: 1.5rem;
}
.white-valentine-section .product-image h3{ font-size: 16px;

}
.white-valentine-section .product-image .poriginal{ font-size:14px; color:#daa520; }
.white-valentine-section .product-image .poriginal s{ color:#aaa; };

.white-valentine-section .product-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.white-valentine-section .product-image:hover {
  transform: translateY(-10px);
}

.white-valentine-section .product-image img {
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.white-valentine-section .product-image:hover img {
  transform: scale(1.05);
}

.white-valentine-section .btn-explore {
  background: linear-gradient(45deg, #daa520, #ffd700);
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem 3rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
  transition: all 0.3s ease;
}

.white-valentine-section .btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

@media (max-width: 768px) {
  .white-valentine-section h2 {
    font-size: 1.8rem;
  }
  
  .white-valentine-section .discount-tag {
    font-size: 1.4rem;
  }
  
  .white-valentine-section .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}

/* 科学月老模块样式 */
.matchmaker-section {
  background: #f8e5e5;
  color: #333;
}

.matchmaker-section .btn-secret {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(139, 42, 42, 0.3);
  color: #8b2a2a;
  padding: 0.5rem 2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.matchmaker-section .btn-secret:hover {
  background: rgba(139, 42, 42, 0.1);
  border-color: #8b2a2a;
}

/* 倒计时模块样式 */
.countdown-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  padding: 1.5rem 0;
  color: white;
}

.countdown-item {
  text-align: center;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.countdown-number {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.countdown-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* 法式情愫香水身体乳模块样式 */
.french-lotion-section {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)),
              url('data:image/svg+xml;utf8,<svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.french-lotion-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(218, 165, 32, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
  pointer-events: none;
}

.french-lotion-section .product-image {
  position: relative;
  padding: 2rem;
}

.french-lotion-section .product-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.5s ease;
}

.french-lotion-section .product-image:hover img {
  transform: translateY(-10px);
}

.french-lotion-section .product-info {
  padding: 2rem;
  color: #333;
}

.french-lotion-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #8B4513, #DAA520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.french-lotion-section h3 {
  font-size: 1.8rem;
  color: #8B4513;
  margin-bottom: 1.5rem;
}

.french-lotion-section p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .french-lotion-section {
    padding: 3rem 0;
  }
  
  .french-lotion-section h2 {
    font-size: 2rem;
  }
  
  .french-lotion-section h3 {
    font-size: 1.5rem;
  }
  
  .french-lotion-section p {
    font-size: 1.1rem;
  }
}

/* 费洛蒙三大功能模块样式 */
.features-section {
  background: #2c3e50;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon img {
  width: 100%;
  max-width: 416px;
  max-height: 267px;
  margin-bottom: 1rem;
}

.feature-item h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 文章中心模块样式 */
.article-section {
  background: #fff;
  padding: 3rem 0;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.article-item:hover {
  transform: translateY(-2px);
}

.article-content {
  flex: 1;
  padding-right: 1rem;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #999;
  font-size: 0.9rem;
}

.comment-count i {
  margin-right: 0.25rem;
}

.article-image {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* 会员模块样式 */
.member-section {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e8 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.member-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ff69b4' fill-opacity='0.05' d='M50,0 C55,25 75,45 100,50 C75,55 55,75 50,100 C45,75 25,55 0,50 C25,45 45,25 50,0'/%3E%3C/svg%3E") repeat;
  z-index: 1;
}

.member-section .container {
  position: relative;
  z-index: 2;
}

.member-section h2 {
  color: #ff69b4;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.member-section h2 i {
  color: #ffd700;
  margin-right: 0.5rem;
}

.member-benefits {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 15px 35px rgba(255, 105, 180, 0.15);
  transition: transform 0.3s ease;
}

.member-benefits:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  color: #ff69b4;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  color: #ff1493;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #666;
  font-size: 1.1rem;
}

.shipping-info {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(255, 105, 180, 0.15);
  transition: transform 0.3s ease;
}

.shipping-info:hover {
  transform: translateY(-5px);
}

.shipping-icon {
  font-size: 2.5rem;
  color: #ff69b4;
  margin-bottom: 1rem;
}

.shipping-info h3 {
  color: #ff69b4;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.shipping-info p {
  color: #ff1493;
  font-size: 2rem;
  font-weight: bold;
}

/* 导航菜单模块样式 */
.nav-menu-section {
  background: #333;
  padding: 1rem 0;
}

.nav-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.nav-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  padding: 1rem;
  transition: all 0.3s ease;
}

.nav-menu-item:hover {
  transform: translateY(-5px);
  color: #4a90e2;
}

/* 版权信息模块样式 */
.copyright-section {
  background: #333;
  color: #fff;
}

.copyright-section a{ color:#fff; }

.nav-menu-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.nav-menu-item span {
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Line官方客服模块样式 */
/* [fix-2026-10-27] 原为微信品牌绿 #00b900：它与站点酒红主色 #8c414d 强冲突，
   是移动端首屏之外最刺眼的一屏（绿底 + 纯红微信号 + 蓝二维码 = 三种强调色）。
   改为品牌酒红底 + 白色文字，二维码保持白底卡片，与全站同一套色彩。 */
.line-service-section {
  background: linear-gradient(135deg, #a65560 0%, #8c414d 100%);
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.line-service-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.line-service-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-line-join {
  background: #fff;
  color: #8c414d;
  font-weight: bold;
  padding: 0.8rem 2.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-line-join:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #8c414d;
  transform: translateY(-2px);
}

.shipping-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.option-item {
  text-align: left;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 105, 180, 0.2);
}

.option-item h4 {
  color: #ff69b4;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.option-item p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .member-section h2 {
    font-size: 1.8rem;
  }
  
  .benefit-item h3 {
    font-size: 1.3rem;
  }
  
  .shipping-info h3 {
    font-size: 1.5rem;
  }
  
  .shipping-info p {
    font-size: 1.8rem;
  }
  
  .shipping-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* 新品上架横幅样式 */
.new-products-banner {
  background: #fff;
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card .product-title {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.product-card .price-info {
  margin: 0.5rem 0;
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.search-dropdown {
  top: 2.35rem;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
}

.hot-keywords .badge {
  cursor: pointer;
  transition: background-color 0.2s;
}

.hot-keywords .badge:hover {
  background-color: #e9ecef !important;
}

/* 修复语言选择modal层级问题 */
#languageModal {
  z-index: 1060 !important;
}

#languageModal .modal-content {
  z-index: 1060 !important;
}
.modal-backdrop.show{ z-index:999; }
/* [fix-2026-10-27] 原 color:#f00（纯红压绿底），改为浅香槟色，与酒红底对比度约 7:1 */
.wechat-no{font-size: 24px; font-weight: bold; color: #f7ead6; margin-bottom: 10px;}
.wechat-cs-btn img{ padding:15px 0 10px 0; }
.wechat-cs-btn p span{ font-size:18px; }

/* === [fix-2026-07-04] 移动端商品列表页视觉优化 === */

/* 1. 面包屑导航下方分类菜单美化 */
.met-column-nav-ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 10px;
}
.met-column-nav-ul .list-none {
    list-style: none;
    margin: 0;
    padding: 0;
}
.met-column-nav-ul .navnow dt {
    margin: 0;
}
.met-column-nav-ul .navnow dt a {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.met-column-nav-ul .navnow dt a:hover {
    background: #fdf0f2;
    color: #8c414d;
    border-color: rgba(140, 65, 77, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(140, 65, 77, 0.1);
}
.met-column-nav-ul .navnow dt.on a {
    background: linear-gradient(135deg, #8c414d 0%, #a65560 100%);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(140, 65, 77, 0.3);
}

/* 2. 商品列表grid间距优化 */
.product-grid {
    gap: 12px !important;
    margin: 0 -6px;
}
.product-grid .product-card {
    padding: 6px !important;
}
.product-grid .product-card .product-card-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}
.product-grid .product-card .product-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(140, 65, 77, 0.15);
    border-color: rgba(140, 65, 77, 0.2);
}
.product-grid .product-card .product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.product-grid .product-card .product-image {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    display: block;
}
.product-grid .product-card:hover .product-image {
    transform: scale(1.03);
}
.product-grid .product-card .product-info {
    padding: 12px;
}
.product-grid .product-card .product-title {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}
.product-grid .product-card .product-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-grid .product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.product-grid .product-card .price-current {
    color: #e74c3c;
    font-size: 16px;
    font-weight: 700;
}
.product-grid .product-card .price-original {
    color: #aaa;
    font-size: 12px;
    text-decoration: line-through;
}
.product-grid .product-card .product-save {
    font-size: 11px;
    color: #e74c3c;
    background: #fff0f0;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.product-grid .product-card .product-btn {
    display: block;
    text-align: center;
    padding: 8px;
    background: linear-gradient(135deg, #8c414d 0%, #a65560 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 8px;
}
.product-grid .product-card .product-btn:hover {
    background: linear-gradient(135deg, #a65560 0%, #8c414d 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 65, 77, 0.3);
}

/* 商品badge标签美化 */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    color: #fff;
}
.badge-sale {
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
}

/* 移动端商品卡片响应式微调 */
@media (max-width: 767px) {
    .product-grid {
        gap: 10px !important;
        margin: 0 -5px;
    }
    .product-grid .product-card {
        padding: 5px !important;
    }
    .product-grid .product-card .product-info {
        padding: 10px 8px;
    }
    .product-grid .product-card .product-title {
        font-size: 12px;
    }
    .product-grid .product-card .price-current {
        font-size: 14px;
    }
    .product-grid .product-card .product-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
    .met-column-nav-ul {
        gap: 6px;
        padding: 10px 0;
    }
    .met-column-nav-ul .navnow dt a {
        padding: 6px 12px;
        font-size: 12px;
    }
}
/* ==========================================================================
   [fix-2026-10-27] 移动端小幅收口：网格列数 + 字号下限 + 触控目标
   1) 首页两个商品网格在 390px 下都塌成 1 列（实测单卡 351px / 341px）：商品图被
      拉到整屏宽、一屏只看得到 1 个商品。此前 foot.php 里"一排两个"的规则只命中
      .product-grid > .product-card，没命中首页实际用的 .product-item /
      .products-grid，这里补齐选择器，统一 2 列。
   2) 热门搜索关键词徽章实测 10.5px、"查看详情" 11px，低于可读下限 → 12 / 13px。
   3) 顶栏"登录"实测高 19px、底部导航项 41px，低于 44px 触控标准 → 补最小高度。
   ========================================================================== */
@media (max-width:767px){
  .white-valentine-section .product-grid,
  .products-grid{
    display:grid!important;
    grid-template-columns:repeat(2,1fr)!important;
    gap:10px!important;
    padding:0 8px!important;
  }
  .white-valentine-section .product-grid .product-item,
  .products-grid .product-card{
    width:auto!important;
    max-width:100%!important;
    flex:none!important;
    min-width:0!important;
    padding:8px!important;
    margin:0!important;
  }
  .white-valentine-section .product-grid .product-item h3,
  .products-grid .product-card .product-title{
    font-size:13px!important;
    line-height:1.5!important;
  }
}
.hot-keywords .badge{font-size:12px!important;line-height:1.7!important}
.btn-view{
  font-size:13px!important;
  min-height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
header a[href*="login.php"]{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 6px!important;
}
.fixed-bottom .col a{
  min-height:48px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
