/* ============================================
   悦购优选 - 全局样式
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff4400;
  --primary-light: #ff6a33;
  --primary-dark: #e03e00;
  --secondary: #1a1a2e;
  --accent: #ff6b35;
  --bg: #f5f5f7;
  --bg-white: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-light: #86868b;
  --border: #e5e5ea;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 60px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border-radius: 20px;
  padding: 6px 16px;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.header-search:hover {
  border-color: var(--primary);
  background: #fff;
}

.header-search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.85rem;
  width: 220px;
  color: var(--text);
}

.header-search .search-icon {
  font-size: 1rem;
  color: var(--text-light);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #ff4400 0%, #ff6b35 50%, #ff8c42 100%);
  padding: 60px 0 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero__badge__dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero__desc {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero__search {
  display: flex;
  max-width: 520px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__search input {
  flex: 1;
  padding: 14px 24px;
  font-size: 1rem;
  border: none;
  outline: none;
  color: var(--text);
}

.hero__search button {
  padding: 14px 28px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.hero__search button:hover {
  background: #2d2d4e;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.hero__stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.hero__stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- Platform Tags --- */
.platform-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.platform-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
}

.platform-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.platform-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- Sort Bar --- */
.sort-bar {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-height);
  z-index: 90;
}

.sort-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sort-options {
  display: flex;
  gap: 4px;
}

.sort-btn {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sort-btn:hover {
  background: var(--bg);
}

.sort-btn.active {
  background: var(--primary);
  color: #fff;
}

.sort-btn .arrow {
  font-size: 0.7rem;
}

.result-count {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Product Grid --- */
.product-section {
  padding: 24px 0 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg);
}

.product-card__body {
  padding: 12px;
}

.product-card__name {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  min-height: 2.4em;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card__price::before {
  content: '¥';
  font-size: 0.75rem;
  margin-right: 1px;
}

.product-card__platform {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
}

/* --- Loading --- */
.loading-more {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.loading-more .spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

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

.no-more {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.no-data {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.no-data .no-data-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.no-data p {
  font-size: 0.95rem;
}

/* --- Detail Page --- */
.detail-page {
  padding-bottom: 80px;
}

.detail-gallery {
  background: #fff;
  padding: 0;
}

.detail-gallery .swiper {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.detail-gallery .swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-gallery .swiper-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.detail-gallery .swiper-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.detail-gallery .swiper-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

.detail-info {
  background: #fff;
  padding: 20px 16px;
  margin-top: 8px;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.detail-price::before {
  content: '¥';
  font-size: 1rem;
}

.detail-original-price {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.detail-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 500;
}

.detail-name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text);
}

.detail-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.detail-desc-section {
  background: #fff;
  padding: 20px 16px;
  margin-top: 8px;
}

.detail-desc-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.detail-desc-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.detail-desc-content img {
  max-width: 100%;
  margin: 8px 0;
  border-radius: var(--radius-sm);
}

/* --- Bottom Action Bar --- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.bottom-bar .bar-btn {
  flex: 1;
  padding: 12px;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.bar-btn-share {
  background: var(--bg);
  color: var(--text-secondary);
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
}

.bar-btn-copy {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  flex: 1;
}

.bar-btn-copy:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.bar-btn-copy.copied {
  background: #4ade80;
}

/* --- Search Page --- */
.search-page {
  min-height: 100vh;
  background: var(--bg);
}

.search-header {
  background: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.search-back {
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg);
  border-radius: 20px;
  padding: 8px 16px;
  gap: 8px;
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text);
}

.search-input-wrap .search-btn {
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Search Source Picker */
.source-picker {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.source-picker label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-right: 8px;
}

.source-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.source-option {
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
}

.source-option:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.source-option.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Search Suggestions */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  max-height: 300px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}

.search-suggestions.show {
  display: block;
}

.suggestion-item {
  padding: 12px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggestion-item:hover {
  background: var(--bg);
}

.suggestion-item .s-icon {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Search History */
.search-history {
  background: #fff;
  margin-top: 8px;
  padding: 16px;
}

.search-history__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.search-history__header h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.search-history__clear {
  font-size: 0.8rem;
  color: var(--text-light);
  cursor: pointer;
}

.search-history__clear:hover {
  color: var(--primary);
}

.history-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.history-tag {
  padding: 6px 14px;
  background: var(--bg);
  border-radius: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.history-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* Recommend Searches */
.recommend-search {
  background: #fff;
  margin-top: 8px;
  padding: 16px;
}

.recommend-search h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.recommend-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recommend-tag {
  padding: 6px 14px;
  background: linear-gradient(135deg, #fff5f0, #ffe8e0);
  border-radius: 16px;
  font-size: 0.8rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.recommend-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Features Section --- */
.section-shell {
  padding: 48px 0;
}

.section-shell-alt {
  background: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  text-align: center;
  padding: 24px 16px;
}

.process-card .process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- FAQ --- */
.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--text-light);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- SEO Content --- */
.seo-content {
  max-width: 720px;
  margin: 0 auto;
}

.seo-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.seo-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- Trust Strip --- */
.trust-strip {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.trust-points {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-point::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* --- Footer --- */
.site-footer {
  background: var(--secondary);
  color: #fff;
  padding: 40px 0 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-brand strong {
  font-size: 1.1rem;
}

.footer-brand p {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-sites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-sites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-site-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  transition: var(--transition);
}

.footer-site-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-site-icon {
  font-size: 1.5rem;
}

.footer-site-card strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.footer-site-card span {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- QR CTA --- */
.qr-cta-card {
  background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.qr-cta-card .qr-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.qr-cta-card .qr-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.qr-cta-card .qr-image {
  text-align: center;
}

.qr-cta-card .qr-image img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.qr-cta-card .qr-image p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  font-size: 1.5rem;
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.contact-info-item strong {
  font-size: 0.95rem;
}

.contact-qr-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-qr-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-qr-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* --- Toast --- */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 9999;
  animation: toastIn 0.3s ease;
  pointer-events: none;
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 90;
  font-size: 1.2rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.1);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero__desc {
    font-size: 0.9rem;
  }

  .hero__stats {
    gap: 24px;
  }

  .hero__stat-value {
    font-size: 1.4rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .qr-cta-card {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }

  .trust-points {
    gap: 16px;
  }

  .header-search input {
    width: 120px;
  }

  .section-head h2 {
    font-size: 1.4rem;
  }

  .detail-price {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-card__body {
    padding: 8px;
  }

  .product-card__name {
    font-size: 0.8rem;
  }

  .product-card__price {
    font-size: 0.95rem;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero__search {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .hero__search button {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer-sites-grid {
    grid-template-columns: 1fr;
  }
}