/* === Steady Meds — 色彩规范 v1.0 === */
/* 主色 #212121 | 点缀红 #DD3333 | 背景白 #FFFFFF | Footer黑 #000000 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #767676;
  line-height: 1.6;
  overflow-x: hidden;
  background: #FFFFFF;
}
a { color: #333333; text-decoration: none; transition: color .2s; }
a:hover { color: #DD3333; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header Banner */
.header-banner {
  background: #DD3333;
  color: #FFFFFF;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: .5px;
}

/* Header */
.whb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #EFEFEF;
}
.whb-general-header { padding: 15px 0; }
.whb-flex-row { display: flex; align-items: center; justify-content: space-between; }
.whb-col-left { flex: 0 0 auto; }
.whb-col-center { flex: 1; display: flex; justify-content: center; }
.whb-col-right { flex: 0 0 auto; }
.site-logo img { display: block; }

/* Navigation */
.wd-header-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.wd-header-nav > ul > li { position: relative; }
.wd-header-nav > ul > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333333;
}
.wd-header-nav > ul > li > a:hover,
.wd-header-nav > ul > li.current-menu-item > a { color: #DD3333; }
.wd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 220px;
  box-shadow: 0 5px 30px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 100;
  border-radius: 0 0 5px 5px;
}
.menu-item-has-children:hover .wd-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wd-sub-menu { list-style: none; padding: 10px 0; margin: 0; }
.wd-sub-menu li a { display: block; padding: 8px 25px; font-size: 14px; color: #767676; }
.wd-sub-menu li a:hover { background: #FAFAFA; color: #DD3333; }

/* Header Tools */
.header-tools { display: flex; align-items: center; gap: 20px; }
.header-tools a { font-size: 18px; color: #212121; position: relative; }
.cart-icon { position: relative; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #DD3333;
  color: #FFFFFF;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.toolbar-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #DD3333;
  color: #FFFFFF;
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile */
.mobile-header { display: none; padding: 12px 0; border-bottom: 1px solid #EFEFEF; }
.mobile-header .container { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-btn { background: none; border: none; font-size: 22px; cursor: pointer; padding: 5px; color: #212121; }
@media (max-width: 768px) {
  .whb-general-header { display: none; }
  .mobile-header { display: block; }
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
}
.mobile-nav-overlay.active { display: block; }
.mobile-nav {
  position: fixed;
  top: 0; left: -300px;
  width: 300px;
  height: 100%;
  background: #FFFFFF;
  z-index: 2001;
  transition: left .3s;
  overflow-y: auto;
  box-shadow: 2px 0 20px rgba(0,0,0,.1);
}
.mobile-nav.active { left: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #EFEFEF; }
.mobile-nav-header button { background: none; border: none; font-size: 28px; cursor: pointer; color: #212121; }
.mobile-menu { list-style: none; padding: 0; margin: 0; }
.mobile-menu li a { display: block; padding: 15px 20px; border-bottom: 1px solid #F5F5F5; font-size: 15px; color: #333333; }
.mobile-submenu { list-style: none; padding: 0; margin: 0; background: #FAFAFA; }
.mobile-submenu li a { padding-left: 35px; font-size: 14px; color: #767676; }
.mobile-menu li a:hover { background: #F5F5F5; color: #DD3333; }

/* Search Fullscreen */
.search-fullscreen {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.search-fullscreen.active { display: flex; }
.search-close { position: absolute; top: 30px; right: 30px; font-size: 40px; cursor: pointer; color: #212121; background: none; border: none; }
.search-fullscreen-content { width: 100%; max-width: 600px; text-align: center; padding: 20px; }
.search-input {
  width: 100%;
  padding: 20px;
  font-size: 24px;
  border: none;
  border-bottom: 2px solid #212121;
  background: transparent;
  outline: none;
  font-family: 'Inter', sans-serif;
  color: #242424;
}
.search-submit { display: none; }
.search-info { margin-top: 20px; color: #838383; font-size: 14px; }

/* Hero Slider */
.hero-slider {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #212121;
}
.slider-container { width: 100%; }
.slide {
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 80px 0;
}
.slide-content { max-width: 600px; padding: 0 15px; }
.slide-subtitle {
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.slide-title {
  color: #FFFFFF;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 25px;
  font-family: 'Josefin Sans', sans-serif;
}
.slide-desc { color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: 35px; line-height: 1.8; }
@media (max-width: 768px) {
  .hero-slider, .slide { min-height: 400px; }
  .slide-title { font-size: 36px; }
  .slide-desc { font-size: 15px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all .3s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.btn-black { background: #212121; color: #FFFFFF; }
.btn-black:hover { background: #333333; color: #FFFFFF; }
.btn-primary { background: #212121; color: #FFFFFF; }
.btn-primary:hover { background: #333333; color: #FFFFFF; }
.btn-outline { background: transparent; border: 2px solid #EFEFEF; color: #333333; }
.btn-outline:hover { border-color: #212121; color: #212121; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-lg { padding: 15px 40px; font-size: 14px; }
.btn-large { padding: 18px 50px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Sections */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  font-family: 'Josefin Sans', sans-serif;
  color: #242424;
}
@media (max-width: 768px) { .section-title { font-size: 24px; } }

/* Features */
.features-section { padding: 80px 0; background: #FAFAFA; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-box { text-align: center; padding: 30px; }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.feature-box h3 { font-size: 18px; margin-bottom: 10px; color: #242424; }
.feature-box p { color: #767676; font-size: 14px; line-height: 1.7; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* About */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-content h3 { font-size: 24px; margin-bottom: 25px; color: #242424; }
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 16px; color: #767676; }
.check-icon { color: #99B998; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.about-image img { width: 100%; border-radius: 10px; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* Products Grid */
.products-section { padding: 80px 0; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .products-grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.product-card {
  background: #FFFFFF;
  border: 1px solid #EFEFEF;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .3s;
}
.product-card:hover { box-shadow: 0 5px 25px rgba(0,0,0,.08); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 1; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateX(10px);
  transition: all .3s;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.action-btn {
  width: 35px;
  height: 35px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: all .2s;
}
.action-btn:hover { background: #212121; color: #FFFFFF; }
.product-info { padding: 20px; }
.product-category { font-size: 12px; color: #838383; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.product-info h3 { font-size: 16px; margin: 0 0 10px; font-weight: 600; }
.product-info h3 a { color: #333333; }
.product-info h3 a:hover { color: #DD3333; }
.product-price { font-size: 18px; font-weight: 700; color: #DD3333; margin-bottom: 15px; }
.no-products { grid-column: 1 / -1; text-align: center; padding: 40px; color: #838383; }

/* Page Title */
.page-title {
  background: #F5F5F5;
  padding: 40px 0 30px;
  text-align: center;
}
.page-title h1 { margin: 0; font-size: 42px; font-family: 'Josefin Sans', sans-serif; color: #242424; }
.breadcrumbs { font-size: 14px; color: #838383; margin: 10px 0; }
.breadcrumbs a { color: #838383; }
.breadcrumbs a:hover { color: #333333; }
.breadcrumbs span { color: #767676; }
.category-nav { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.category-nav a {
  padding: 8px 20px;
  border: 1px solid #EFEFEF;
  border-radius: 30px;
  font-size: 13px;
  color: #767676;
  transition: all .2s;
}
.category-nav a:hover, .category-nav a.active {
  background: #212121;
  color: #FFFFFF;
  border-color: #212121;
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #EFEFEF;
  margin-bottom: 30px;
}
.toolbar-left p { margin: 0; color: #838383; font-size: 14px; }
.sort-form select {
  padding: 8px 15px;
  border: 1px solid #EFEFEF;
  border-radius: 30px;
  font-size: 13px;
  background: #FFFFFF;
  font-family: 'Inter', sans-serif;
  color: #767676;
}

/* Shop Layout */
.shop-content { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
@media (max-width: 768px) { .shop-content { grid-template-columns: 1fr; } }
.shop-sidebar .widget { margin-bottom: 30px; }
.shop-sidebar .widget h3 {
  font-size: 16px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #212121;
  color: #242424;
}
.shop-sidebar .widget ul { list-style: none; padding: 0; }
.shop-sidebar .widget ul li { margin-bottom: 8px; }
.shop-sidebar .widget ul li a {
  font-size: 14px;
  color: #767676;
  display: block;
  padding: 5px 0;
}
.shop-sidebar .widget ul li a:hover,
.shop-sidebar .widget ul li a.active { color: #DD3333; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 40px; }
.pagination a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #EFEFEF;
  border-radius: 50%;
  font-size: 14px;
  color: #767676;
  transition: all .2s;
}
.pagination a:hover, .pagination a.active { background: #212121; color: #FFFFFF; border-color: #212121; }
.no-results { text-align: center; padding: 60px 20px; color: #767676; }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 40px 0; }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.main-image { border: 1px solid #EFEFEF; border-radius: 8px; overflow: hidden; }
.main-image img { width: 100%; display: block; }
.product-summary .product-category { font-size: 13px; margin-bottom: 10px; color: #838383; }
.product-summary h1 { font-size: 32px; margin: 0 0 15px; font-family: 'Josefin Sans', sans-serif; color: #242424; }
.product-price-lg { font-size: 32px; font-weight: 700; color: #DD3333; margin-bottom: 5px; }
.product-compare-price { font-size: 18px; color: #838383; margin-bottom: 20px; text-decoration: line-through; }
.product-description { margin: 25px 0; line-height: 1.8; color: #767676; }
.product-meta { margin-bottom: 8px; font-size: 14px; color: #838383; }
.product-stock { margin: 20px 0; }
.in-stock { color: #99B998; font-weight: 600; }
.out-of-stock { color: #DD3333; font-weight: 600; }
.product-cart-actions { display: flex; align-items: center; gap: 20px; margin: 25px 0; }
.quantity-selector { display: flex; align-items: center; border: 1px solid #EFEFEF; border-radius: 5px; overflow: hidden; }
.quantity-selector button {
  width: 40px; height: 40px;
  border: none;
  background: #FAFAFA;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
  color: #212121;
}
.quantity-selector button:hover { background: #F5F5F5; }
.quantity-selector input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid #EFEFEF;
  border-right: 1px solid #EFEFEF;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: #242424;
}
.product-categories { font-size: 14px; color: #838383; }
.related-products { margin-top: 60px; padding-top: 40px; border-top: 1px solid #EFEFEF; }

/* Lab Results */
.lab-content { margin: 40px 0; }
.lab-info-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 768px) { .lab-info-grid { grid-template-columns: 1fr; } }
.lab-info h2 { color: #242424; }
.lab-info p { color: #767676; }
.lab-rebate { background: #212121; color: #FFFFFF; padding: 40px; border-radius: 10px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.lab-rebate h2 { margin: 0 0 10px; font-size: 18px; color: rgba(255,255,255,.8); }
.rebate-amount { font-size: 36px !important; color: #FFFFFF !important; margin: 10px 0 !important; }
.lab-rebate p { margin: 10px 0 25px; font-size: 16px; color: rgba(255,255,255,.7); }
.lab-rebate .btn { background: #FFFFFF; color: #212121; }
.lab-rebate .btn:hover { background: #F5F5F5; }

/* Footer */
.wd-footer { background: #000000; color: rgba(255,255,255,.8); }
.main-footer { padding: 60px 0; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .footer-row { grid-template-columns: 1fr; } }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 15px; color: rgba(255,255,255,.7); }
.footer-title { font-size: 16px; font-weight: 600; color: #FFFFFF; margin-bottom: 20px !important; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col ul li a:hover { color: #FFFFFF; }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all .3s;
  color: #FFFFFF !important;
}
.social-icon.facebook { background: #3b5998; }
.social-icon.instagram { background: #e4405f; }
.social-icon.whatsapp { background: #25d366; }
.social-icon:hover { opacity: .8; transform: translateY(-2px); }
.footer-disclaimer { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-disclaimer p { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.5); }
.copyrights { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.copyrights .container { display: flex; justify-content: space-between; align-items: center; }
.copyrights p { margin: 0; font-size: 13px; color: rgba(255,255,255,.6); }
.copyrights img { max-height: 30px; }
@media (max-width: 768px) { .copyrights .container { flex-direction: column; gap: 10px; text-align: center; } }

/* Sticky Toolbar */
.sticky-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #EFEFEF;
  display: none;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,.05);
}
@media (max-width: 768px) { .sticky-toolbar { display: flex; } }
.sticky-toolbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #838383;
  position: relative;
  gap: 3px;
}
.sticky-toolbar a i { font-size: 18px; }
.sticky-toolbar a:hover { color: #212121; }
@media (max-width: 768px) {
  body { padding-bottom: 60px; }
}
