/* ===== ShineLux Trade Site ===== */
:root {
  --primary: #0b5fd0;
  --primary-dark: #084aa6;
  --accent: #ff9d00;
  --ink: #1a2433;
  --muted: #5c6b80;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #e3e9f2;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 40, 80, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* Topbar */
.topbar { background: var(--primary-dark); color: #dbe7ff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; padding: 6px 0; }
.topbar-mail:hover { text-decoration: underline; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.logo-mark { color: var(--accent); margin-right: 6px; }
.logo em { color: var(--primary); font-style: normal; }
.logo-light { color: #fff; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 8px 18px; border-radius: 999px;
}
.nav-cta:hover { background: var(--primary-dark); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  border: 1px solid var(--border); background: #fff; color: var(--muted);
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.lang-switch button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg img { width: 100%; height: 640px; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,25,55,.88) 20%, rgba(6,25,55,.45) 65%, rgba(6,25,55,.2));
}
.hero-content {
  position: absolute; inset: 0; top: 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.hero h1 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.15; max-width: 720px; }
.hero p { font-size: 17px; max-width: 620px; color: #d7e3f6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 8px;
  font-weight: 700; font-size: 16px; border: none; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--accent); color: #231a00; }
.btn-primary:hover { background: #ffb133; transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats { display: flex; gap: 40px; margin-top: 14px; flex-wrap: wrap; }
.hero-stats strong { font-size: 30px; display: block; color: var(--accent); }
.hero-stats span { font-size: 13px; color: #c9d8ef; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* Products */
.product-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card img { height: 210px; width: 100%; object-fit: contain; background: #fff; padding: 8px; }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-tag {
  font-size: 11px; font-weight: 700; color: var(--primary);
  background: #e8f0fd; padding: 3px 10px; border-radius: 999px; align-self: flex-start;
  text-transform: uppercase; letter-spacing: .5px;
}
.product-body h3 { font-size: 18px; }
.product-body p { color: var(--muted); font-size: 14px; flex: 1; }
.product-link { color: var(--primary); font-weight: 700; font-size: 14px; }
.product-link:hover { text-decoration: underline; }

/* Advantages */
.adv-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.adv-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: .25s;
}
.adv-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.adv-icon { font-size: 34px; margin-bottom: 12px; }
.adv-card h3 { font-size: 18px; margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: 14px; }

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); height: 400px; width: 100%; object-fit: cover; }
.about-text h2 { font-size: 32px; margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-list { list-style: none; margin-top: 8px; }
.about-list li { padding: 6px 0 6px 26px; position: relative; font-weight: 600; }
.about-list li::before { content: "✔"; color: var(--primary); position: absolute; left: 0; }

/* Inquiry */
.inquiry-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.inquiry-info h2 { font-size: 32px; margin-bottom: 12px; }
.inquiry-info > p { color: var(--muted); margin-bottom: 24px; }
.contact-item { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.inquiry-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: inherit; background: #fbfcfe;
  transition: .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.btn-block { width: 100%; }
.btn-block:disabled { opacity: .6; cursor: not-allowed; }
.form-status { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; }
.form-status.ok { color: #0a8a3d; font-weight: 700; }
.form-status.err { color: #c0392b; font-weight: 700; }

/* Footer */
.footer { background: #0d1b2e; color: #b8c6dc; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer a, .footer span { display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; padding: 18px 0; font-size: 13px; color: #7f90a8;
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-tip {
  position: absolute; right: 70px; white-space: nowrap;
  background: #0d1b2e; color: #fff; font-size: 13px;
  padding: 7px 14px; border-radius: 8px; opacity: 0; pointer-events: none; transition: .2s;
}
.wa-float:hover .wa-tip { opacity: 1; }

/* Responsive */
@media (max-width: 960px) {
  .about-inner, .inquiry-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-bg img { height: 560px; }
}
@media (max-width: 760px) {
  .topbar-inner { justify-content: center; }
  .topbar-mail { display: none; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 6%;
    border-bottom: 1px solid var(--border); gap: 14px;
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; margin-left: auto; }
  .lang-switch { margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .hero-bg img { height: 620px; }
  .hero-content { justify-content: flex-start; padding-top: 60px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== Filament-specific blocks ===== */
.hero-badge {
  display: inline-block; align-self: flex-start;
  background: rgba(255,157,0,.16); color: #ffc45c;
  border: 1px solid rgba(255,157,0,.45);
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  padding: 6px 14px; border-radius: 999px;
}

/* Spec table */
.spec-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.spec-table th, .spec-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.spec-table thead th { background: #0d1b2e; color: #fff; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; }
.spec-table tbody tr:nth-child(even) { background: #fafcff; }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--muted); font-weight: 600; }
.spec-note { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }

/* Packing cards */
.pack-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pack-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .25s; margin: 0;
}
.pack-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pack-card img { height: 260px; width: 100%; object-fit: cover; }
.pack-card figcaption { padding: 20px 22px 24px; }
.pack-card h3 { font-size: 18px; margin-bottom: 8px; }
.pack-card p { color: var(--muted); font-size: 14px; }

/* Colors */
.colors-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.colors-text h2 { font-size: 32px; margin-bottom: 16px; }
.colors-text p { color: var(--muted); margin-bottom: 14px; }
.colors-text .btn { margin-top: 10px; }
.colors-img img {
  border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
  padding: 12px; box-shadow: var(--shadow); max-height: 520px; object-fit: contain; width: 100%;
}

/* Offline hint */
.offline-hint {
  margin-top: 22px; padding: 14px 16px; border-radius: 10px;
  background: #fff7e8; border: 1px solid #ffd79a; font-size: 13px; line-height: 1.55;
}
.offline-hint strong { display: block; color: #a86a00; margin-bottom: 4px; }

@media (max-width: 960px) {
  .colors-inner { grid-template-columns: 1fr; }
  .colors-img { order: -1; }
}

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform .2s ease, background .2s ease;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { background: #1fbf5b; transform: scale(1.06); }
.wa-float svg { display: block; }

.wa-tip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0d1b2e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.wa-tip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0d1b2e;
  border-right: 0;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-tip { display: none; }
}
