/* ===== Yao Yoga Wear — Global Styles (Responsive Overhaul) ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Header ===== */
.header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.logo { font-size: 1.25rem; font-weight: 700; color: #1a1a2e; white-space: nowrap; }
.logo span { color: #16a34a; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { font-size: 0.9rem; color: #555; transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a.active { color: #16a34a; }
.header-cta { white-space: nowrap; flex-shrink: 0; }
.btn { display: inline-block; padding: .6rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; transition: all .2s; cursor: pointer; border: 2px solid transparent; text-align: center; }
.btn-primary { background: #16a34a; color: #fff; border-color: #16a34a; }
.btn-primary:hover { background: #15803d; border-color: #15803d; }
.btn-outline { background: transparent; color: #16a34a; border-color: #16a34a; }
.btn-outline:hover { background: #16a34a; color: #fff; }
.btn-sm { padding: .4rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: .8rem 2rem; font-size: 1.05rem; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #1a1a2e; padding: .25rem; line-height: 1; }

/* Mobile Nav Overlay */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 99; }
.nav-overlay.open { display: block; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #1a1a2e 0%, #16a34a 100%); color: #fff; padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
.hero-sub { font-size: 1.1rem; opacity: .9; max-width: 600px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; }
.stat span { font-size: 0.9rem; opacity: .8; }

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section-alt { background: #f9fafb; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: .5rem; }
.section-desc { text-align: center; color: #666; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Grids ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== Cards ===== */
.card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.card p { color: #666; font-size: 0.95rem; }
.card h4 { font-size: 1.05rem; margin-bottom: .5rem; }

/* ===== Product Card ===== */
.product-card { background: #fff; border-radius: 12px; padding: 1.5rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.product-img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.product-card h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.product-moq { color: #16a34a; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }

/* ===== Feature ===== */
.feature { margin-bottom: 1.5rem; }
.feature h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature p { color: #555; font-size: 0.95rem; }

/* ===== CTA Section ===== */
.section-cta { background: #1a1a2e; color: #fff; }
.section-cta h2 { font-size: 2rem; margin-bottom: 1rem; }

/* ===== Footer ===== */
.footer { background: #1a1a2e; color: #ccc; padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2rem; }
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer-col a { display: block; color: #aaa; padding: .25rem 0; font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: #16a34a; }
.footer-col p { font-size: 0.9rem; margin-bottom: .25rem; }
.footer-bottom { border-top: 1px solid #333; padding: 1rem 0; text-align: center; font-size: 0.85rem; color: #888; }

/* ===== WhatsApp Float — Right Side ===== */
.wa-float { position: fixed; top: 50%; right: 20px; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 998; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 16px rgba(37,211,102,.35); background: #25d366; }
.wa-float:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
.wa-float img { width: 32px; height: 32px; border-radius: 0; object-fit: contain; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== Product Page ===== */
.page-hero { background: #f0fdf4; padding: 3rem 0; text-align: center; }
.page-hero h1 { font-size: 2.2rem; margin-bottom: .5rem; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 0; }
.specs-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.specs-table th, .specs-table td { padding: .75rem 1rem; border-bottom: 1px solid #eee; text-align: left; }
.specs-table th { width: 140px; color: #666; font-weight: 500; }
.price-tier { background: #f0fdf4; border-radius: 8px; padding: 1rem; margin: .5rem 0; display: flex; justify-content: space-between; }
.price-tier .qty { font-weight: 600; }
.price-tier .price { color: #16a34a; font-weight: 700; }

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 0; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: .75rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 0.95rem; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.1); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.info-box { background: #f0fdf4; padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; }
.info-box h4 { margin-bottom: .5rem; }

/* ===== Factory Page ===== */
.factory-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.factory-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

/* ===== Custom Manufacturing ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 2rem 0; }
.step { text-align: center; padding: 1.5rem; background: #f0fdf4; border-radius: 12px; transition: transform .2s; }
.step:hover { transform: translateY(-2px); }
.step-num { font-size: 2rem; font-weight: 700; color: #16a34a; }

/* ===== Sample Kit Page ===== */
.sample-kit { text-align: center; }
.sample-kit .price { font-size: 3rem; font-weight: 700; color: #16a34a; margin: 1rem 0; }

/* ====================================================
   RESPONSIVE BREAKPOINTS
   ==================================================== */

/* --- Large Tablets & Small Desktops (1024px and below) --- */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.75rem; }
  .nav { gap: 1.25rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* --- Tablets (768px and below) --- */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .header-inner { height: 60px; }

  /* Mobile Navigation */
  .mobile-toggle { display: block; order: 3; }
  .nav { 
    display: none; 
    position: fixed; 
    top: 60px; left: 0; right: 0; bottom: 0;
    background: #fff; 
    flex-direction: column; 
    align-items: stretch; 
    padding: 1rem; 
    gap: 0; 
    z-index: 100; 
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .nav.open { display: flex; }
  .nav a { 
    padding: .85rem 1rem; 
    font-size: 1rem; 
    border-bottom: 1px solid #f0f0f0; 
  }
  .header-cta { order: 2; }
  .header-cta .btn-sm { padding: .35rem .75rem; font-size: 0.8rem; }

  /* Hero */
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; line-height: 1.25; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 2rem; }
  .stat strong { font-size: 1.6rem; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  /* Sections */
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 0.9rem; margin-bottom: 2rem; }

  /* Cards */
  .card { padding: 1.5rem; }

  /* Product Detail & Contact */
  .product-detail { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }

  /* Factory Gallery */
  .factory-gallery { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .factory-gallery img { height: 160px; }

  /* Process Steps */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Page Hero */
  .page-hero { padding: 2rem 0; }
  .page-hero h1 { font-size: 1.75rem; }

  /* CTA */
  .section-cta h2 { font-size: 1.5rem; }
  .btn-lg { padding: .7rem 1.5rem; font-size: .95rem; }

  /* WhatsApp Float */
  .wa-float { width: 50px; height: 50px; right: 16px; }
  .wa-float img { width: 28px; height: 28px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* --- Mobile (480px and below) --- */
@media (max-width: 480px) {
  .container { padding: 0 .875rem; }
  .header-inner { height: 56px; }
  .logo { font-size: 1.1rem; }
  .header-cta .btn-sm { padding: .3rem .6rem; font-size: 0.75rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: 1.6rem; line-height: 1.3; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .hero-actions { gap: .75rem; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .hero-stats { gap: 1.5rem; }
  .stat strong { font-size: 1.4rem; }
  .stat span { font-size: 0.8rem; }

  /* Grids — all single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }

  /* Sections */
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 1.35rem; }

  /* Cards */
  .card { padding: 1.25rem; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: 0.9rem; }

  /* Product Cards */
  .product-card { padding: 1rem; }
  .product-img { height: 180px; }
  .product-card h4 { font-size: 0.95rem; }

  /* Process Steps */
  .process-steps { grid-template-columns: 1fr; }
  .step { padding: 1.25rem; }
  .step-num { font-size: 1.5rem; }

  /* Factory Gallery */
  .factory-gallery { grid-template-columns: 1fr; }
  .factory-gallery img { height: 180px; }

  /* Page Hero */
  .page-hero { padding: 1.5rem 0; }
  .page-hero h1 { font-size: 1.4rem; }

  /* Contact Form */
  .contact-form input, .contact-form textarea, .contact-form select { padding: .65rem; font-size: 0.9rem; }

  /* Specs Table */
  .specs-table th, .specs-table td { padding: .5rem .75rem; font-size: 0.85rem; }
  .specs-table th { width: 110px; }
  .price-tier { padding: .75rem; font-size: 0.9rem; flex-wrap: wrap; gap: .25rem; }

  /* Footer */
  .footer { padding: 2rem 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col h4 { font-size: 0.95rem; }
  .footer-col a { font-size: 0.85rem; }
  .footer-bottom { font-size: 0.8rem; }

  /* CTA */
  .section-cta h2 { font-size: 1.25rem; }

  /* WhatsApp */
  .wa-float { width: 48px; height: 48px; right: 12px; }
  .wa-float img { width: 26px; height: 26px; }
  .wa-float svg { width: 22px; height: 22px; }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.gap-1 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }

/* ===== Smooth Transitions for All Interactive Elements ===== */
a, button, input, select, textarea { transition: all .2s ease; }

/* ===== Touch-Friendly Targets (min 44px for mobile) ===== */
@media (max-width: 768px) {
  .nav a { min-height: 44px; display: flex; align-items: center; }
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .footer-col a { min-height: 36px; display: flex; align-items: center; }
}

/* ===== Landscape Phone Adjustment ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { padding: 2rem 0 1.5rem; }
  .hero h1 { font-size: 1.5rem; }
  .nav { top: 56px; }
}

/* ===== Language Switcher — Bottom Left ===== */
.lang-switcher {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lang-toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #1a1a2e;
  color: #fff;
  border: 2px solid #333;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.lang-toggle:hover { background: #16a34a; border-color: #16a34a; }
.lang-options {
  display: none;
  flex-direction: column;
  gap: 4px;
}
.lang-switcher.open .lang-options { display: flex; }
.lang-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #1a1a2e;
  border: 2px solid #ddd;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.lang-btn:hover { border-color: #16a34a; color: #16a34a; }
.lang-btn.active { background: #16a34a; color: #fff; border-color: #16a34a; }

@media (max-width: 480px) {
  .lang-switcher { bottom: 12px; left: 12px; }
  .lang-toggle, .lang-btn { width: 40px; height: 40px; font-size: 0.7rem; }
}

/* ===== Print ===== */
@media print {
  .header, .wa-float, .hero-actions, .nav-overlay, .lang-switcher { display: none; }
  .hero { background: #f0fdf4 !important; color: #1a1a2e !important; padding: 1rem 0; }
  .section { padding: 1rem 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}