/* ==========================================================================
   Novara Supply LLC — Official B2B Corporate Theme
   Aesthetic: Quiet Luxury, Editorial Minimalism, High-Trust Corporate Design
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #f8fafc;
  
  --accent-gold: #c59b27;
  --accent-gold-hover: #b48c1e;
  --accent-gold-soft: rgba(197, 155, 39, 0.12);
  --accent-navy: #0f172a;
  
  --border-light: #e2e8f0;
  --border-gold: rgba(197, 155, 39, 0.35);
  
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* 顶部企业合规与联系条 */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-badge {
  color: var(--accent-gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 导航头 */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-navy);
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 9.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
}

.btn-inquire {
  background-color: var(--accent-navy);
  color: #fff;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--accent-navy);
  transition: all 0.3s ease;
}

.btn-inquire:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
}

/* 巨幕 Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 140px 24px;
  text-align: center;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #fff;
  padding: 14px 34px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--accent-gold);
}
.btn-primary:hover {
  background-color: var(--accent-gold-hover);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  padding: 14px 34px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  border-color: #fff;
  background-color: rgba(255,255,255,0.1);
}

/* 信任微标 Ribbon */
.trust-ribbon {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.trust-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  font-size: 26px;
  color: var(--accent-gold);
}

.trust-text h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.trust-text p {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 通用容器与标题 */
.section {
  padding: 90px 24px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-navy);
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 核心品类网格 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

.category-overlay h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.category-overlay p {
  font-size: 12px;
  color: var(--accent-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 精选批发款式列表 (Catalog Preview) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.product-img-box {
  aspect-ratio: 1/1;
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-sku {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-material {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-specs {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 11px;
  color: #475569;
  margin-bottom: 10px;
  line-height: 1.5;
}

.product-specs strong {
  color: var(--accent-navy);
  font-weight: 600;
}

.product-pricing {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.product-price-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-navy);
}

.product-moq {
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 600;
}

/* 批发采购流程 (4 步) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  position: relative;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.8;
  margin-bottom: 12px;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-navy);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 条款法律政策布局 (Legal Editorial) */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-header {
  border-bottom: 2px solid var(--border-gold);
  padding-bottom: 28px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 24px;
}

.legal-body {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-navy);
  margin: 36px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.legal-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin: 24px 0 10px;
}

.legal-body p, .legal-body ul {
  margin-bottom: 18px;
}

.legal-body ul {
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-badge-box {
  display: flex;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.legal-badge-item {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 批发咨询与企业联系表单 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-info-panel {
  background: var(--bg-dark);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #fff;
  margin-bottom: 16px;
}

.contact-detail-item {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-item .icon {
  font-size: 20px;
  color: var(--accent-gold);
}

.contact-form-panel {
  padding: 48px;
}

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

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--accent-gold);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* 官方页脚 */
.footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 70px 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand .brand-title {
  color: #fff;
  font-size: 24px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* 响应式断点 */
@media (max-width: 992px) {
  .hero-title { font-size: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .product-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 90px 20px; }
  .hero-title { font-size: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .category-grid, .product-grid, .process-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Compliance & Cookie Consent Notification
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background-color: #0f172a;
  color: #f8fafc;
  padding: 22px 26px;
  border-radius: 4px;
  border-left: 4px solid var(--accent-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  font-size: 13px;
  line-height: 1.6;
  display: none;
  animation: slideUpFade 0.4s ease-out;
}

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

.cookie-banner p {
  color: #cbd5e1;
  margin-bottom: 14px;
}

.cookie-banner a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn-accept {
  background-color: var(--accent-gold);
  color: #0f172a;
  border: none;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept:hover {
  background-color: var(--accent-gold-hover);
}

.cookie-btn-decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-decline:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* ==========================================================================
   Wholesale FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 70px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--accent-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--accent-gold);
  font-weight: 500;
}

details[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 20px 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}


/* 整改稿（11-13）：精简首屏、十二个品类、品类页、展示款 */
.hero-compact { padding: 80px 24px; }

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

.range-card {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.range-card:hover { border-color: var(--accent-gold); }
.range-num { font-size: 12px; color: var(--accent-gold); font-weight: 600; letter-spacing: 1px; }
.range-card h3 { font-family: var(--font-serif); font-size: 19px; color: var(--accent-navy); margin: 8px 0; }
.range-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }

.category-list { max-width: 820px; }
.category-block { border-bottom: 1px solid #e2e8f0; padding: 26px 0; }
.category-block h2 { font-family: var(--font-serif); font-size: 24px; color: var(--accent-navy); margin-bottom: 8px; }
.category-block p { font-size: 14.5px; line-height: 1.7; color: var(--text-main); }
.category-note { margin-top: 6px; font-size: 13px !important; color: var(--text-muted) !important; }

@media (max-width: 1024px) { .range-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .range-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .5rem; padding-block: .6rem; height: auto; }
  .nav-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; justify-content: flex-start; font-size: .8rem; }
  .nav-links .btn-inquire { display: none; }
  .contact-detail-item, .contact-form-panel { overflow-wrap: anywhere; }
}
