/*
Theme Name: OralCare B2B Export
Theme URI: https://yourdomain.com
Author: OralCare Team
Author URI: https://yourdomain.com
Description: Professional B2B WordPress theme for oral care products export. Supports Ready to Ship, OEM/ODM customization, and brand private label services. Optimized for SEO and conversion.
Version: 1.0.0
License: GPL v2 or later
Text Domain: oralcare-b2b
*/

/* ===== CSS Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0077B6;
  --primary-dark: #005f8c;
  --accent: #00B4D8;
  --success: #2D6A4F;
  --warning: #F77F00;
  --danger: #D62828;
  --dark: #1B1B3A;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --white: #FFFFFF;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.site-logo span { color: var(--accent); }

.main-nav { display: flex; gap: 8px; align-items: center; }

.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--gray-800);
  transition: all 0.2s;
}

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

.nav-badge {
  background: var(--warning);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 20px;
  margin-left: 4px;
  vertical-align: super;
}

.nav-cta a {
  background: var(--warning);
  color: var(--white);
  font-weight: 700;
}

.nav-cta a:hover {
  background: #e06d00;
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* ===== Hero Section ===== */
.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}

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

.hero-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 32px;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--warning);
  color: var(--white);
}

.btn-accent:hover {
  background: #e06d00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ===== Advantages Bar ===== */
.advantages-bar {
  background: var(--gray-100);
  padding: 32px 0;
}

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

.adv-item {
  text-align: center;
  padding: 16px;
}

.adv-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.adv-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.adv-item p {
  font-size: 0.825rem;
  color: var(--gray-600);
}

/* ===== Section Styles ===== */
.section {
  padding: 64px 0;
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

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

.product-image {
  height: 200px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray-600);
  position: relative;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-ready { background: var(--success); color: var(--white); }
.badge-custom { background: var(--primary); color: var(--white); }
.badge-hot { background: var(--danger); color: var(--white); }
.badge-oem { background: var(--accent); color: var(--white); }

.product-info {
  padding: 16px;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.meta-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  background: var(--gray-100);
  border-radius: 4px;
  color: var(--gray-600);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.product-price span {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 400;
}

/* ===== Service Split (Ready to Ship vs OEM) ===== */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

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

.service-ready {
  background: linear-gradient(135deg, var(--success), #40916C);
  color: var(--white);
}

.service-oem {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 24px;
  opacity: 0.95;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  padding: 6px 0;
  font-size: 0.925rem;
  opacity: 0.9;
}

.service-features li::before {
  content: "✓ ";
  font-weight: 700;
}

/* ===== Trust Section ===== */
.trust-section {
  background: var(--gray-100);
}

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

.trust-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trust-card .trust-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.trust-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.client-logos {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
  opacity: 0.6;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.925rem;
  opacity: 0.85;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--warning), #e06d00);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.cta-section h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cta-section p {
  margin-bottom: 24px;
  opacity: 0.95;
}

/* ===== Blog Section ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card .blog-thumb {
  height: 180px;
  background: var(--gray-200);
}

.blog-card .blog-content {
  padding: 20px;
}

.blog-card .blog-date {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

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

.blog-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--gray-300);
  font-size: 0.875rem;
}

.footer-col ul li a:hover { color: var(--white); }

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

/* ===== Page Templates ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero .breadcrumb {
  font-size: 0.875rem;
  opacity: 0.8;
}

.page-hero .breadcrumb a {
  color: var(--white);
  text-decoration: underline;
}

/* ===== OEM Flow ===== */
.oem-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.oem-step {
  text-align: center;
  position: relative;
}

.oem-step::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 24px;
  font-size: 1.5rem;
  color: var(--gray-300);
}

.oem-step:last-child::after { display: none; }

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.oem-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.oem-step p {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ===== Inquiry Form ===== */
.inquiry-form {
  max-width: 640px;
  margin: 40px auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.925rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== Certifications ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.cert-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.cert-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cert-card p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ===== Product Filter Bar ===== */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  background: var(--white);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-split { grid-template-columns: 1fr; }
  .oem-flow { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow-md); }
  .mobile-menu-toggle { display: block; }
  .hero-banner h1 { font-size: 1.75rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .oem-flow { grid-template-columns: 1fr; }
  .oem-step::after { display: none; }
}
