/* ELECT B2B — German Dark Black-Gold Premium Theme */
:root {
  --bg: #0a0a0b;
  --bg-2: #131316;
  --bg-3: #1a1a1f;
  --bg-card: #16161a;
  --gold: #c9a96e;
  --gold-light: #e0c590;
  --gold-dark: #a08550;
  --text: #f0ede8;
  --text-muted: #8a8580;
  --text-dim: #5a5550;
  --border: #2a2a30;
  --border-light: #3a3a40;
  --white: #ffffff;
  --error: #e05858;
  --success: #5cb85c;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --font: 'Segoe UI', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; scrollbar-width: thin; scrollbar-color: var(--border-light) var(--bg); }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; max-width: 100vw; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 10px; border: 2px solid var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

/* === Layout === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* === Typography === */
h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 16px; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
p { color: var(--text-muted); line-height: 1.7; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; border-radius: var(--radius); transition: all var(--transition); text-transform: uppercase; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1a1f; }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a1a1f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.3); }
.btn-outline { border: 1px solid var(--border-light); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1a1f; }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a1a1f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.3); }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* === Header === */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,10,11,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: all var(--transition); }
.header.scrolled { background: rgba(10,10,11,0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em; color: var(--white); display: flex; align-items: center; gap: 6px; }
.logo span { color: var(--gold); }
.brand-icon { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: transparent; flex-shrink: 0; margin-right: 2px; }
.nav { display: flex; align-items: center; gap: 0; position: fixed; top: 0; left: 50%; transform: translateX(-50%); height: 72px; z-index: 1001; max-width: 840px; }
.nav-backdrop { display: none; }
.nav a { color: var(--text-muted); font-size: 0.7rem; font-weight: 500; padding: 8px 7px; border-radius: var(--radius); transition: all var(--transition); letter-spacing: 0.01em; white-space: nowrap; position: relative; }
.nav a:hover { color: var(--gold); background: rgba(201,169,110,0.08); }
.nav a.active { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switcher { position: relative; margin-left: 4px; flex-shrink: 0; }
.lang-btn { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.75rem; color: var(--text-muted); transition: all var(--transition); background: transparent; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); min-width: 180px; max-height: 360px; overflow-y: auto; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); z-index: 100; }
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover { background: rgba(201,169,110,0.08); color: var(--gold); }
.lang-dropdown a.active { color: var(--gold); }
.lang-flag { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 18px; font-size: 0.65rem; font-weight: 700; background: var(--bg-3); border-radius: 3px; color: var(--gold); }
.login-btn { padding: 8px 14px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1a1f; border-radius: var(--radius); font-size: 0.75rem; font-weight: 600; transition: all var(--transition); white-space: nowrap; flex-shrink: 0; }
.login-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,110,0.3); }
.staff-login-switcher { position: relative; flex-shrink: 0; }
.staff-login-btn { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.75rem; font-weight: 600; color: var(--text-muted); transition: all var(--transition); background: transparent; white-space: nowrap; }
.staff-login-btn:hover { border-color: var(--gold); color: var(--gold); }
.staff-login-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); min-width: 180px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); z-index: 100; }
.staff-login-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.staff-login-dropdown a { display: block; padding: 10px 16px; font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid var(--border); transition: all var(--transition); }
.staff-login-dropdown a:last-child { border-bottom: none; }
.staff-login-dropdown a:hover { background: rgba(201,169,110,0.08); color: var(--gold); }
.nav-staff-section { display: none; }
.nav-staff-label { display: block; font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; padding: 0 7px; }
.nav-staff-section a { display: block; padding: 8px 7px; font-size: 0.7rem; color: var(--text-muted); border-radius: var(--radius); transition: all var(--transition); }
.nav-staff-section a:hover { color: var(--gold); background: rgba(201,169,110,0.08); }
@media (max-width:768px){.nav-staff-section{display:block;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.nav-staff-section a{padding:10px 16px;min-height:40px;font-size:.85rem}}
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text); transition: all var(--transition); transform-origin: center; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.6) 50%, rgba(10,10,11,0.85) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content .hero-sub { font-size: 1.3rem; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.hero-content .hero-cn { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; }
.hero-content .hero-desc { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 36px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: 0.75rem; letter-spacing: 0.1em; animation: bounce 2s infinite; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (min-width: 1025px) {
  .hero-content h1 {
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }
}

/* === Advantage Cards === */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card { background: var(--bg-card); border: 1px solid var(--border);  padding: 36px 28px; transition: all var(--transition); position: relative; overflow: hidden; }
.adv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.adv-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(201,169,110,0.1); border-radius: 14px; margin-bottom: 20px; color: var(--gold); }
.adv-icon svg { width: 28px; height: 28px; }
.adv-card h3 { color: var(--white); }
.adv-card p { font-size: 0.9rem; }

/* === Product Cards === */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border);  overflow: hidden; transition: all var(--transition); }
.product-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: none; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.product-tag { font-size: 0.7rem; padding: 3px 10px; background: rgba(201,169,110,0.08); color: var(--gold); border-radius: 20px; border: 1px solid rgba(201,169,110,0.15); }
.product-actions { display: flex; gap: 8px; }

/* === Product image lightbox === */
.product-section .product-img { cursor: zoom-in; }
.product-section .product-img img { cursor: zoom-in; }
.product-title-link { color: var(--white); text-decoration: none; transition: color var(--transition); }
.product-title-link:hover { color: var(--gold); }
.product-lightbox { position: fixed; inset: 0; z-index: 2200; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.98); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.product-lightbox.open { display: flex; opacity: 1; pointer-events: auto; }
.product-lightbox-content { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 32px 88px 112px; }
.product-lightbox-content img { max-width: 100%; max-height: calc(100vh - 144px); width: auto; height: auto; object-fit: contain; display: block; animation: productLightboxFadeIn 0.25s ease; }
@keyframes productLightboxFadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.product-lightbox-close,
.product-lightbox-nav { position: fixed; z-index: 2202; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(10,10,11,0.55); border: 1px solid rgba(255,255,255,0.35); cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.product-lightbox-close { top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; }
.product-lightbox-nav { top: 50%; width: 52px; height: 72px; border-radius: 8px; transform: translateY(-50%); }
.product-lightbox-prev { left: 24px; }
.product-lightbox-next { right: 24px; }
.product-lightbox-close:hover,
.product-lightbox-nav:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.product-lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.product-lightbox-caption { position: fixed; left: 50%; bottom: 20px; z-index: 2203; transform: translateX(-50%); max-width: min(70vw, 720px); margin: 0; padding: 10px 18px; color: rgba(255,255,255,0.7); background: rgba(10,10,11,0.88); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; font-size: 0.82rem; line-height: 1.5; text-align: center; pointer-events: none; backdrop-filter: blur(8px); }
@media (max-width: 768px) {
  .product-lightbox-content { padding: 24px 56px 96px; }
  .product-lightbox-content img { max-height: calc(100vh - 128px); }
  .product-lightbox-close { top: 16px; right: 16px; width: 42px; height: 42px; }
  .product-lightbox-nav { width: 42px; height: 58px; }
  .product-lightbox-prev { left: 10px; }
  .product-lightbox-next { right: 10px; }
  .product-lightbox-caption { bottom: 12px; max-width: 78vw; font-size: 0.75rem; }
}

/* === Section Headers === */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { color: var(--white); }
.section-header p { max-width: 560px; margin: 0 auto; }

/* === Cooperation Summary === */
.coop-summary { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; display: flex; gap: 40px; align-items: center; }
.coop-text-side { flex: 1 1 60%; min-width: 0; }
.coop-image-side { flex: 0 0 360px; }
.coop-image-side img { width: 100%; height: auto;  object-fit: cover; display: block; }
.coop-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.coop-item { display: flex; align-items: center; gap: 12px; }
.coop-item .icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(201,169,110,0.1); border-radius: 10px; color: var(--gold); flex-shrink: 0; }
.coop-item .icon svg { width: 20px; height: 20px; }
.coop-item span { font-size: 0.9rem; color: var(--text); }

/* === Cooperation Partner List === */
.cooperation-partner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(201,169,110,0.2);
}
.cooperation-partner-list li {
  position: relative;
  padding: 16px 16px 16px 28px;
  color: var(--white);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.25s ease, background 0.25s ease;
}
.cooperation-partner-list li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.cooperation-partner-list li:hover {
  color: var(--gold-light);
  background: rgba(201,169,110,0.04);
}
@media (max-width: 768px) {
  .cooperation-partner-list { grid-template-columns: 1fr; }
}

/* === Footer === */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1.7fr) repeat(2, minmax(120px, 0.8fr)) minmax(260px, 1.3fr); gap: 32px; margin-bottom: 32px; }
.footer-brand h3 { color: var(--white); margin-bottom: 14px; }
.footer-brand p { max-width: 320px; font-size: 0.82rem; margin-bottom: 8px; line-height: 1.6; }
.footer-col h4 { color: var(--gold); margin-bottom: 12px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { display: block; font-size: 0.82rem; color: var(--text-muted); padding: 3px 0; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 0.76rem; color: var(--text-dim); flex-wrap: wrap; }
.footer-notice { text-align: left; flex: 1 1 100%; order: 2; margin-top: 4px; font-size: 0.64rem; line-height: 1.5; word-break: break-word; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* === Mobile-only utility === */
.mobile-only { display: none; }

/* === WhatsApp Float (mobile only) === */
.whatsapp-float { display: none; position: fixed; bottom: 24px; right: 24px; width: 36px; height: 36px; background: #25d366; border-radius: 50%; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 999; transition: all var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 18px; height: 18px; fill: white; }
@media (max-width: 768px) { .mobile-only { display: flex; } .whatsapp-float { display: flex; } }

/* === More dropdown WhatsApp (PC only) === */
.more-whatsapp-btn { display: flex; }
@media (max-width: 768px) { .more-whatsapp-btn { display: none; } }

/* === Share Popup (opened from more menu) === */
.share-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; max-width: 400px; min-width: 340px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 1100; }
.share-popup.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.share-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1098; opacity: 0; transition: opacity var(--transition); }
.share-backdrop.open { display: block; opacity: 1; pointer-events: auto; }
.share-popup h4 { color: var(--white); margin-bottom: 12px; }
.share-link-box { display: flex; gap: 8px; }
.share-link-box input { flex: 1; padding: 10px 14px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.8rem; }
.share-copy-btn { padding: 10px 16px; background: var(--gold); color: #1a1a1f; border-radius: var(--radius); font-size: 0.8rem; font-weight: 600; }
.share-toast { position: absolute; top: -40px; left: 0; background: var(--success); color: white; padding: 8px 16px; border-radius: var(--radius); font-size: 0.8rem; opacity: 0; transition: opacity var(--transition); }
.share-toast.show { opacity: 1; }
.share-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.share-channel { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.72rem; font-weight: 500; transition: all var(--transition); cursor: pointer; text-decoration: none; }
.share-channel:hover { background: var(--bg-4); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.share-channel svg { width: 24px; height: 24px; }
.wechat-qr-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999; align-items: center; justify-content: center; }
.wechat-qr-content { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; max-width: 320px; text-align: center; position: relative; }
.wechat-qr-content h4 { color: var(--white); margin-bottom: 8px; }
.wechat-qr-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.wechat-qr-close:hover { color: var(--white); }
.wechat-qr-box { background: #fff; padding: 16px; border-radius: var(--radius); display: inline-block; }

/* === Forms === */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.9rem; font-family: inherit; transition: border-color var(--transition); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }
textarea.auto-grow { min-height: 100px; max-height: 400px; resize: none; overflow-y: hidden; transition: height 0.15s ease; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); }
.form-checkbox label { font-size: 0.85rem; color: var(--text-muted); }
.form-notice { background: rgba(201,169,110,0.08); border: 1px solid rgba(201,169,110,0.2); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px; font-size: 0.85rem; color: var(--gold-light); }
.radio-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.radio-option { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--transition), background var(--transition); flex: 1; min-width: 200px; }
.radio-option:hover { border-color: var(--gold-dark); }
.radio-option input[type=radio] { width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; margin: 0; }
.radio-label { font-size: 0.9rem; color: var(--text); line-height: 1.4; }
.consumer-alert { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px 16px; background: rgba(231,76,60,0.08); border: 1px solid rgba(231,76,60,0.25); border-radius: var(--radius); font-size: 0.85rem; color: #e74c3c; line-height: 1.6; }
@media (max-width: 768px) { .radio-group { flex-direction: column; } .radio-option { min-width: 100%; } }

/* === Tabs === */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.tab { padding: 12px 20px; font-size: 0.85rem; color: var(--text-muted); border-bottom: 2px solid transparent; transition: all var(--transition); }
.tab:hover { color: var(--text); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* === Filter chips === */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 8px 16px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 20px; font-size: 0.8rem; color: var(--text-muted); transition: all var(--transition); }
.chip:hover { border-color: var(--gold-dark); color: var(--text); }
.chip.active { background: var(--gold); color: #1a1a1f; border-color: var(--gold); }

/* === Swatch grid === */
.swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.swatch-card { background: var(--bg-card); border: 1px solid var(--border);  overflow: hidden; transition: all var(--transition); }
.swatch-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.swatch-img { aspect-ratio: 1; overflow: hidden; }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; }
.swatch-info { padding: 12px; }
.swatch-info h4 { font-size: 0.85rem; color: var(--white); margin-bottom: 2px; }
.swatch-info .code { font-size: 0.75rem; color: var(--text-dim); }

/* === Material list === */
.material-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.material-item { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.material-item:hover { border-color: var(--gold-dark); }
.material-badge { padding: 4px 10px; background: rgba(201,169,110,0.1); color: var(--gold); border-radius: 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; }

/* === Disclaimer banner === */
.disclaimer { background: linear-gradient(135deg, rgba(201,169,110,0.08), rgba(201,169,110,0.03)); border: 1px solid rgba(201,169,110,0.2); border-radius: var(--radius-lg); padding: 32px; margin-top: 48px; text-align: center; }
.disclaimer p { color: var(--gold-light); font-size: 0.95rem; max-width: 800px; margin: 0 auto; }

/* === Gallery === */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 3/2; overflow: hidden;  cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,0.8), transparent 60%); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-size: 0.9rem; }

/* === Lightbox === */
.lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at center, rgba(10,10,12,0.98) 0%, rgba(0,0,0,1) 100%); z-index: 2000; display: none; overflow: hidden; -webkit-overflow-scrolling: touch; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.lightbox.open { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; gap: 0; width: 100vw; height: 100vh; opacity: 1; pointer-events: auto; }
.lightbox-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 100%; height: 100%; padding: 32px 72px 112px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 144px); width: auto; height: auto; object-fit: contain; border-radius: 0; flex-shrink: 1; display: block; animation: lbFadeIn 0.35s ease; }
@keyframes lbFadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.lightbox-caption { display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,0.92); font-size: 0.85rem; text-align: center; max-width: min(86vw, 820px); line-height: 1.6; padding: 14px 22px 16px; flex-shrink: 0; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; background: linear-gradient(180deg, rgba(20,18,14,0.96), rgba(10,10,11,0.98)); border: 1px solid rgba(201,169,110,0.28); border-radius: 10px; backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.lightbox-caption-title { color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
.lightbox-caption-description { color: rgba(255,255,255,0.72); font-size: 0.8rem; }
.lightbox-caption:empty, .lightbox-caption .lightbox-caption-title:empty ~ .lightbox-caption-description:empty { display: none; }
.lightbox.open .lightbox-caption { opacity: 1; }
.lightbox-counter { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); color: rgba(201,169,110,0.85); font-size: 0.78rem; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; z-index: 2002; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.lightbox.open .lightbox-counter { opacity: 0.9; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; background: rgba(10,10,11,0.6); border: 1px solid rgba(201,169,110,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(201,169,110,0.85); font-size: 1.3rem; z-index: 2002; backdrop-filter: blur(4px); transition: all 0.25s ease; opacity: 0.9; }
.lightbox-close:hover { opacity: 1; background: rgba(201,169,110,0.08); border-color: rgba(201,169,110,0.6); color: var(--gold); }

/* === Immersive lightbox (board detail page only) === */
.lightbox-immersive { background: rgba(0,0,0,0.996); }
.lightbox-immersive.open { padding: 0; }
.lightbox-immersive .lightbox-content { padding: 0; }
.lightbox-immersive img { max-width: 100vw; max-height: 100vh; width: auto; height: auto; object-fit: contain; object-position: center; flex-shrink: 1; }
.lightbox-immersive .lightbox-close { width: 44px; height: 44px; border: 1px solid rgba(201,169,110,0.2); border-radius: 50%; color: rgba(201,169,110,0.45); opacity: 0.5; transition: all 0.3s ease; }
.lightbox-immersive .lightbox-close:hover { opacity: 1; border-color: rgba(201,169,110,0.7); color: var(--gold); background: rgba(201,169,110,0.06); }
.lightbox-immersive .lightbox-close svg { width: 18px; height: 18px; }
.lightbox-immersive .lightbox-nav { width: 44px; height: 44px; border: 1px solid rgba(201,169,110,0.2); border-radius: 50%; color: rgba(201,169,110,0.45); opacity: 0.5; transition: all 0.3s ease; }
.lightbox-immersive .lightbox-nav:hover { opacity: 1; border-color: rgba(201,169,110,0.7); color: var(--gold); background: rgba(201,169,110,0.06); }
.lightbox-immersive .lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-immersive .lightbox-caption { opacity: 0.4; font-size: 0.75rem; bottom: 20px; }
.lightbox-immersive.open .lightbox-caption { opacity: 0.5; }

/* === Global Operators (inline in contact) === */
.global-operators-inline { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.global-operators-title { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 16px; text-align: left; }
.global-operator-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; text-align: left; }
.global-operator-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); white-space: nowrap; }
.global-operator-co { font-size: 0.82rem; color: var(--white); font-weight: 500; }
.global-operator-mail { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

/* === List search bar === */
.list-search-bar { position: relative; max-width: 480px; margin: 0 auto 32px; }
.list-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-dim); pointer-events: none; }
.list-search-input { width: 100%; padding: 12px 44px 12px 48px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 0.9rem; transition: border-color var(--transition); }
.list-search-input::placeholder { color: var(--text-dim); }
.list-search-input:focus { outline: none; border-color: var(--gold); }
.list-search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: none; border: none; color: var(--text-dim); cursor: pointer; transition: color var(--transition); padding: 0; }
.list-search-clear:hover { color: var(--text); }
.list-search-clear svg { width: 16px; height: 16px; }
.list-search-empty { text-align: center; color: var(--text-dim); font-size: 0.9rem; padding: 32px 0; }

/* === Article list === */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--bg-card); border: 1px solid var(--border);  overflow: hidden; transition: all var(--transition); }
.article-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-img { aspect-ratio: 16/9; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-img img { transform: scale(1.06); }
.article-body { padding: 24px; }
.article-date { font-size: 0.75rem; color: var(--gold); margin-bottom: 8px; }
.article-body h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.article-body p { font-size: 0.85rem; }

/* === Article detail === */
.article-detail { max-width: 800px; margin: 0 auto; }
.article-detail .article-cover { width: 100%; aspect-ratio: 21/9;  overflow: hidden; margin-bottom: 32px; }
.article-detail h1 { color: var(--white); margin-bottom: 16px; font-size: 2.2rem; }
.article-detail .article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; font-size: 0.85rem; color: var(--text-dim); }
.article-detail .article-content { font-size: 1rem; line-height: 1.8; color: var(--text-muted); }
.article-detail .article-content p { margin-bottom: 20px; }
.article-detail .article-content strong { color: var(--text); }
.article-detail .article-content h3 { color: var(--white); margin: 28px 0 12px; }

/* === FAQ Accordion === */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--bg-card); transition: border-color var(--transition); }
.accordion-item:hover { border-color: var(--border-light); }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; }
.accordion-header h3 { font-size: 1rem; color: var(--white); margin: 0; }
.accordion-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--gold); transition: transform var(--transition); }
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.accordion-item.open .accordion-body { max-height: 300px; }
.accordion-body-inner { padding: 0 24px 20px; }
.accordion-body-inner p { font-size: 0.9rem; }

/* === Brand page === */
.brand-hero { min-height: 60vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.brand-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,11,0.9), rgba(10,10,11,0.7)); }
.brand-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.brand-section img {  }
.factory-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.factory-image-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--border); background: var(--bg-card); cursor: zoom-in; transition: transform 0.35s ease, border-color 0.35s ease; }
.factory-image-grid img:hover { transform: scale(1.025); border-color: var(--gold); }
.factory-layout { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.factory-copy { max-width: 980px; margin: 0 auto 42px; padding: 0; text-align: center; }
.factory-copy h2 { margin-bottom: 28px; letter-spacing: -0.03em; }
.factory-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.factory-intro-card { min-height: 168px; padding: 24px 24px 22px; background: linear-gradient(145deg, rgba(29,29,32,0.92), rgba(18,18,20,0.92)); border: 1px solid rgba(201,169,110,0.18); border-top: 2px solid rgba(201,169,110,0.65); border-radius: 12px; box-shadow: 0 14px 32px rgba(0,0,0,0.18); transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.factory-intro-card:hover { transform: translateY(-4px); border-color: rgba(201,169,110,0.5); background: linear-gradient(145deg, rgba(38,35,31,0.96), rgba(20,20,22,0.96)); }
.factory-intro-index { display: block; margin-bottom: 18px; color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; }
.factory-intro-card p { margin: 0; max-width: none; color: var(--text-muted); font-size: 0.9rem; line-height: 1.9; }
.factory-media-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--text-dim); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.factory-media-heading i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-dark), transparent); }
.factory-media-heading span:last-child { color: var(--gold); white-space: nowrap; }
.product-lightbox-caption { display: flex; flex-direction: column; gap: 4px; }
.product-lightbox-caption strong { color: #fff; font-size: 0.95rem; }
.product-lightbox-caption span { color: rgba(255,255,255,0.7); }
.factory-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.factory-image-grid img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .factory-layout { grid-template-columns: 1fr; gap: 32px; }
  .factory-copy { position: static; padding-top: 0; }
}
@media (max-width: 900px) {
  .factory-intro { grid-template-columns: 1fr; gap: 12px; text-align: center; }
}
@media (max-width: 560px) {
  .factory-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .factory-image-grid img { aspect-ratio: 16 / 9; }
}
.brand-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-cert-card { background: var(--bg-card); border: 1px solid var(--border); cursor: pointer; transition: all var(--transition); overflow: hidden; }
.brand-cert-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brand-cert-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-3); }
.brand-cert-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.brand-cert-card:hover .brand-cert-thumb img { transform: scale(1.05); }
.brand-cert-label { display: block; padding: 10px 12px; font-size: 0.8rem; color: var(--gold); text-align: center; }

.cert-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.cert-detail-item { cursor: zoom-in; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); transition: border-color var(--transition); }
.cert-detail-item:hover { border-color: var(--gold-dark); }
.cert-detail-item img { width: 100%; height: auto; display: block; transition: opacity var(--transition); }
.cert-detail-item:hover img { opacity: 0.85; }

/* === Video placeholder === */
.video-placeholder { position: relative; aspect-ratio: 16/9;  overflow: hidden; cursor: pointer; background: var(--bg-card); }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80px; height: 80px; background: rgba(201,169,110,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.video-play svg { width: 32px; height: 32px; fill: #1a1a1f; margin-left: 4px; }
.video-placeholder:hover .video-play { transform: translate(-50%,-50%) scale(1.1); background: var(--gold); }

/* === Brand Video Player === */
.brand-video-player { position: relative; aspect-ratio: 16/9;  overflow: hidden; background: #0a0a0a; border: 1px solid var(--border); }
.brand-video-player video { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #0a0a0a; }
.brand-video-overlay img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; position: absolute; inset: 0; }
.brand-video-play-btn { position: relative; z-index: 2; width: 80px; height: 80px; border-radius: 50%; background: rgba(201,169,110,0.9); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
.brand-video-play-btn svg { width: 32px; height: 32px; fill: #1a1a1f; margin-left: 4px; }
.brand-video-play-btn:hover { transform: scale(1.1); background: var(--gold); }
.brand-video-controls { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); opacity: 0; transition: opacity 0.3s ease; z-index: 3; }
.brand-video-player:hover .brand-video-controls { opacity: 1; }
.brand-video-btn { background: none; border: none; color: var(--white); cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: color var(--transition); }
.brand-video-btn:hover { color: var(--gold); }
.brand-video-btn svg { width: 22px; height: 22px; }
.brand-video-progress { flex: 1; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; cursor: pointer; position: relative; }
.brand-video-progress-bar { height: 100%; background: var(--gold); border-radius: 2px; width: 0; transition: width 0.1s linear; }
.brand-video-time { color: var(--white); font-size: 0.78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 768px) {
  .brand-section { grid-template-columns: 1fr; gap: 28px; }
  .factory-image-grid { gap: 8px; }
  .brand-video-play-btn { width: 60px; height: 60px; }
  .brand-video-play-btn svg { width: 24px; height: 24px; }
  .brand-video-controls { gap: 8px; padding: 8px 12px; }
  .brand-video-btn svg { width: 18px; height: 18px; }
  .brand-video-time { font-size: 0.7rem; }
}

@media (max-width: 480px) {
  .brand-video-play-btn { width: 50px; height: 50px; }
  .brand-video-play-btn svg { width: 20px; height: 20px; }
}

/* === Dealer Dashboard === */
.dashboard-grid { display: grid; grid-template-columns: 240px 1fr; gap: 0; min-height: calc(100vh - 72px); }
.dashboard-sidebar { position: relative; z-index: 2; background: var(--bg-2); border-right: 1px solid var(--border); padding: 24px 0; }
.dashboard-sidebar h3 { padding: 0 24px; color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.dashboard-nav-item { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 24px; color: var(--text-muted); font-size: 0.9rem; transition: all var(--transition); border-left: 3px solid transparent; pointer-events: auto; }
.dashboard-nav-item:hover { background: rgba(201,169,110,0.05); color: var(--text); }
.dashboard-nav-item.active { background: rgba(201,169,110,0.08); color: var(--gold); border-left-color: var(--gold); }
.dashboard-nav-item svg { width: 20px; height: 20px; }
.dashboard-main { padding: 32px; }
.dashboard-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.dashboard-card h3 { color: var(--white); margin-bottom: 16px; }
.dashboard-table { width: 100%; border-collapse: collapse; }
.dashboard-table th { text-align: left; padding: 12px 16px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.dashboard-table td { padding: 12px 16px; font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.dashboard-table tr:hover td { background: rgba(201,169,110,0.03); }
.status-badge { padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.status-pending { background: rgba(224,88,88,0.15); color: var(--error); }
.status-contact { background: rgba(201,169,110,0.15); color: var(--gold); }
.status-quote { background: rgba(92,184,92,0.15); color: var(--success); }
.status-deal { background: rgba(92,184,92,0.2); color: var(--success); }
.status-invalid { background: rgba(90,85,80,0.2); color: var(--text-dim); }

/* === Member Login Modal === */
.member-login-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.member-login-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.member-login-card { position: relative; z-index: 1; width: 100%; max-width: 400px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; margin: 16px; }
.member-login-card h3 { color: var(--white); text-align: center; margin-bottom: 8px; font-size: 1.3rem; }
.member-login-desc { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
.member-login-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.member-login-close:hover { color: var(--white); }
.member-login-hint { font-size: 0.78rem; color: var(--text-dim); text-align: center; margin-top: 16px; line-height: 1.5; }
.member-code-row { display: flex; gap: 8px; align-items: center; }
.member-code-row .form-input { flex: 1; letter-spacing: 4px; text-align: center; font-size: 1.1rem; }
.member-login-msg { margin-top: 12px; font-size: 0.82rem; text-align: center; min-height: 20px; }
.member-login-msg.error { color: var(--error); }
.member-login-msg.success { color: var(--success); }
.member-login-code-display { margin-top: 16px; padding: 16px; background: var(--bg-3); border-radius: var(--radius); text-align: center; }
.member-login-code-display .code-label { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 4px; }
.member-login-code-display .code-value { font-size: 1.6rem; letter-spacing: 6px; color: var(--gold); font-weight: 700; }
.btn-block { width: 100%; justify-content: center; }
.member-login-btn { cursor: pointer; }

.brand-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.brand-video-card { cursor: pointer; transition: transform var(--transition); }
.brand-video-card:hover { transform: translateY(-4px); }
.brand-video-thumb { position: relative; aspect-ratio: 16/9;  overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); }
.brand-video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity var(--transition); }
.brand-video-card:hover .brand-video-thumb img { opacity: 0.5; }
.brand-video-card-title { margin: 10px 0 0; font-size: 0.9rem; color: var(--text); font-weight: 500; text-align: center; }

/* Product page feature video card */
.pv-feature-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; max-width: 560px; }

/* === Product Video Horizontal Scroll === */
.pv-hscroll-wrap { margin-bottom: 32px; overflow: hidden; }
.pv-video-filters { display: flex; gap: 30px; align-items: center; overflow-x: auto; margin: 0 0 24px; padding: 0 0 12px; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.pv-video-filters::-webkit-scrollbar { display: none; }
.pv-video-filter { position: relative; flex: 0 0 auto; padding: 8px 0; border: 0; background: transparent; color: var(--text-muted); cursor: pointer; font: inherit; font-size: 0.9rem; white-space: nowrap; transition: color var(--transition); }
.pv-video-filter::after { content: ''; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; background: transparent; transition: background var(--transition); }
.pv-video-filter:hover, .pv-video-filter.active { color: var(--gold); }
.pv-video-filter.active::after { background: var(--gold); }
.pv-video-chips { margin: -8px 0 28px; overflow-x: auto; scrollbar-width: none; }
.pv-video-chips::-webkit-scrollbar { display: none; }
.pv-video-chip-panel { gap: 8px; align-items: center; min-width: max-content; }
.pv-video-chip { flex: 0 0 auto; padding: 9px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-3); color: var(--text-muted); cursor: pointer; font: inherit; font-size: 0.84rem; white-space: nowrap; transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition); }
.pv-video-chip:hover { border-color: var(--gold); color: var(--text); transform: translateY(-1px); }
.pv-video-chip.active { border-color: var(--gold); background: var(--gold); color: var(--bg-1); }
.pv-video-list { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 2px 16px; scrollbar-width: thin; scrollbar-color: var(--border-light) transparent; }
.pv-video-list::-webkit-scrollbar { height: 6px; }
.pv-video-list::-webkit-scrollbar-track { background: transparent; }
.pv-video-list::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
.pv-video-list .mv-card { flex: 0 0 340px; scroll-snap-align: start; border-radius: 0 !important; background: var(--bg-3) !important; border-color: rgba(201,169,110,0.25) !important; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important; }
.pv-video-list .mv-card:hover { transform: translateY(-6px); border-color: var(--gold) !important; box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.pv-video-list .mv-card > div:first-child { aspect-ratio: 16/9; }
.pv-video-list .mv-card h4 { font-size: 1.05rem !important; line-height: 1.35; }
.pv-video-empty { padding: 28px 0 8px; color: var(--text-dim); text-align: center; }
.pv-hscroll { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--border-light) transparent; }
.pv-hscroll::-webkit-scrollbar { height: 6px; }
.pv-hscroll::-webkit-scrollbar-track { background: transparent; }
.pv-hscroll::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
.pv-hscroll .pv-feature-card { flex: 0 0 340px; scroll-snap-align: start; }
.pv-feature-card { position: relative; background: var(--bg-3); border: 1px solid rgba(201,169,110,0.25); overflow: hidden; cursor: pointer; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.pv-feature-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,169,110,0.3); }
.pv-feature-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-1); }
.pv-feature-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity 0.35s ease, transform 0.5s ease; }
.pv-feature-card:hover .pv-feature-thumb img { opacity: 0.78; transform: scale(1.03); }
.pv-feature-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 2; box-shadow: 0 0 0 3px rgba(201,169,110,0.1); }
.pv-feature-play svg { width: 18px; height: 18px; fill: var(--gold); margin-left: 2px; }
.pv-feature-card:hover .pv-feature-play { background: rgba(201,169,110,0.85); transform: translate(-50%,-50%) scale(1.08); box-shadow: 0 0 0 4px rgba(201,169,110,0.15); }
.pv-feature-card:hover .pv-feature-play svg { fill: #1a1a1f; }
.pv-feature-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.75); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border: 1px solid rgba(201,169,110,0.3); font-variant-numeric: tabular-nums; z-index: 2; }
.pv-feature-body { padding: 20px 24px 24px; }
.pv-feature-body h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 700; color: var(--white); letter-spacing: 0.01em; }
.pv-feature-body p { margin: 0; font-size: 0.82rem; line-height: 1.65; color: var(--text-dim); }
@media (max-width: 768px) { .pv-feature-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; } .pv-feature-body { padding: 18px 20px 22px; } .pv-feature-body h3 { font-size: 1.05rem; } .pv-feature-body p { font-size: 0.8rem; } .pv-hscroll .pv-feature-card, .pv-video-list .mv-card { flex-basis: 280px; } .pv-hscroll, .pv-video-list { gap: 16px; } }

/* Header "More" button */
.more-switcher { position: relative; flex-shrink: 0; }
.more-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); transition: all var(--transition); cursor: pointer; position: relative; z-index: 1; }
.more-btn:hover { border-color: var(--gold); color: var(--gold); }
.more-btn.active { border-color: var(--gold); color: var(--gold); }
.more-dropdown { position: fixed; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: row; gap: 8px; padding: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); z-index: 1002; }
.more-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.more-dropdown a.more-dropdown-item { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius); color: var(--text); transition: all var(--transition); position: relative; }
.more-dropdown a.more-dropdown-item:hover { background: rgba(201,169,110,0.12); color: var(--gold); transform: scale(1.08); }
.more-dropdown a.more-dropdown-item svg { flex-shrink: 0; transition: transform var(--transition); }
.more-dropdown a.more-dropdown-item:hover svg { transform: scale(1.1); }
.more-dropdown a.more-whatsapp-btn { color: #25d366; }
.more-dropdown a.more-whatsapp-btn:hover { color: #25d366; background: rgba(37,211,102,0.12); }

/* Comment Module */
.comment-section { background: var(--bg-2); padding: 48px 0; border-top: 1px solid var(--border); }
.comment-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.comment-header h3 { font-size: 1.3rem; font-weight: 700; color: var(--white); margin: 0; }
.comment-actions-bar { display: flex; gap: 8px; }
.comment-action-btn { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); font-size: 0.8rem; cursor: pointer; transition: all var(--transition); }
.comment-action-btn:hover { border-color: var(--gold); color: var(--gold); }
.comment-action-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,0.08); }
.comment-form-wrap { margin-bottom: 32px; }
.cm-contact-notice { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(201,169,110,0.08); border: 1px solid var(--gold); border-radius: var(--radius); color: var(--gold); font-size: 0.82rem; margin-bottom: 12px; flex-wrap: wrap; }
.cm-contact-notice svg { flex-shrink: 0; }
.cm-contact-notice span { flex: 1; min-width: 120px; }
.cm-bind-link { color: var(--gold); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.cm-bind-link:hover { opacity: 0.8; }
.comment-name-input:disabled, .comment-textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.comment-name-input { width: 100%; max-width: 300px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-1); color: var(--text); font-size: 0.85rem; margin-bottom: 10px; }
.comment-name-input:focus { outline: none; border-color: var(--gold); }
.comment-textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-1); color: var(--text); font-size: 0.9rem; line-height: 1.6; resize: vertical; min-height: 80px; font-family: inherit; }
.comment-textarea:focus { outline: none; border-color: var(--gold); }
.comment-form-wrap .btn-gold { margin-top: 10px; }
.cm-msg { margin-left: 12px; font-size: 0.8rem; color: var(--text-muted); }
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(201,169,110,0.1); }
.comment-item.comment-pinned { background: rgba(201,169,110,0.04); padding: 16px; border: 1px solid rgba(201,169,110,0.15); border-radius: var(--radius); }
.comment-avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: var(--gold); }
.comment-body { flex: 1; min-width: 0; }
.comment-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.comment-author { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.cm-pin-badge { font-size: 0.65rem; font-weight: 600; color: var(--bg-1); background: var(--gold); padding: 2px 6px; border-radius: 2px; }
.comment-date { font-size: 0.75rem; color: var(--text-dim); margin-left: auto; }
.comment-text { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); margin: 0; word-break: break-word; }
.comment-empty { text-align: center; padding: 32px 0; color: var(--text-dim); font-size: 0.9rem; }
@media (max-width: 768px) {
  .comment-section { padding: 32px 0; }
  .comment-header { flex-direction: column; align-items: flex-start; }
  .comment-actions-bar { width: 100%; }
  .comment-action-btn { flex: 1; justify-content: center; }
  .comment-name-input { max-width: 100%; }
}

/* CMS Comments Management */
.cms-comments-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.cms-comments-table th, .cms-comments-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.cms-comments-table th { color: var(--gold); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cms-comments-table td { color: var(--text-muted); }
.cms-comments-table .comment-status-approved { color: #4ade80; }
.cms-comments-table .comment-status-hidden { color: #f87171; }
.cms-comments-table .comment-status-pending { color: #fbbf24; }
.cms-comment-actions { display: flex; gap: 6px; }
.cms-comment-actions button { padding: 4px 10px; font-size: 0.75rem; border: 1px solid var(--border); border-radius: 4px; background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.cms-comment-actions button:hover { border-color: var(--gold); color: var(--gold); }
.cms-comment-actions button.danger:hover { border-color: #f87171; color: #f87171; }
.cms-comment-filter { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.cms-comment-filter button { padding: 6px 16px; font-size: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.cms-comment-filter button.active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,0.08); }

/* Fullscreen video player modal */
.bv-player-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.bv-player-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(4px); }
.bv-player-wrapper { position: relative; z-index: 1; width: 90%; max-width: 1100px; }
.bv-player-container { position: relative; aspect-ratio: 16/9; background: #0a0a0a; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.bv-player-container:fullscreen { max-width: none; width: 100vw; height: 100vh; border-radius: 0; border: none; }
.bv-player-container:-webkit-full-screen { max-width: none; width: 100vw; height: 100vh; border-radius: 0; border: none; }
.bv-player-container video { width: 100%; height: 100%; object-fit: contain; display: block; }
.bv-player-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; line-height: 1; z-index: 10; transition: color var(--transition); }
.bv-player-close:hover { color: var(--gold); }
.bv-player-controls { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); opacity: 0; transition: opacity 0.3s ease; z-index: 5; }
.bv-player-container:hover .bv-player-controls { opacity: 1; }
.bv-player-container:fullscreen .bv-player-controls { padding: 16px 24px; }

/* === Mobile Bottom Navigation === */
.mobile-bottom-nav { display: none; }

@media (max-width: 768px) {
  *, *::before, *::after { max-width: 100%; }
  html, body { max-width: 100vw; overflow-x: hidden; }
  .header-inner { gap: 4px; }
  .logo { min-width: 0; flex: 1 1 auto; font-size: 1.25rem; letter-spacing: 0.06em; gap: 3px; white-space: nowrap; }
  .header-actions { flex: 0 0 auto; gap: 4px; }
  .header-actions .lang-switcher { margin-right: 0; }
  .lang-btn { gap: 3px; padding: 6px 7px; font-size: 0.68rem; }
  .lang-flag { width: 20px; height: 16px; font-size: 0.58rem; }
  .login-btn { padding: 7px 9px; font-size: 0.68rem; white-space: nowrap; }
  .header-actions .member-login-btn { margin-left: 0 !important; }
  .mobile-toggle { min-width: 36px; min-height: 36px; padding: 6px; }
  .mobile-toggle span { width: 20px; }
  .mobile-bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 44px; background: #0a0a0b; border-top: 1px solid var(--border); z-index: 1000; justify-content: space-around; align-items: center; padding: 0; max-width: 100vw; overflow: hidden; }
  .mbn-item { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; flex: 1; height: 100%; color: var(--white); font-family: -apple-system, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; text-decoration: none; text-align: center; transition: color var(--transition); -webkit-tap-highlight-color: transparent; background: none; border: none; cursor: pointer; padding: 0 2px; overflow: hidden; white-space: nowrap; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; text-transform: uppercase; }
  html[lang="zh"] .mbn-item, html[lang="zh-tw" i] .mbn-item, html[lang="ja"] .mbn-item, html[lang="ar"] .mbn-item, html[lang="ar-eg"] .mbn-item { font-size: 0.82rem; }
  .mbn-item.active { color: var(--gold); }
  .mbn-item:active { color: var(--gold); }
  .whatsapp-float { bottom: 56px; }
  .share-popup { min-width: 280px; max-width: calc(100vw - 32px); padding: 20px !important; }
  body { padding-bottom: 44px; }
}

@media (max-width: 480px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .logo { font-size: 1.15rem; }
  .lang-btn { padding-left: 5px; padding-right: 5px; }
  .login-btn { padding-left: 7px; padding-right: 7px; }
  .mobile-toggle { min-width: 34px; }
  .mbn-item { font-size: 0.68rem; letter-spacing: 0.01em; }
  html[lang="zh"] .mbn-item, html[lang="zh-tw" i] .mbn-item, html[lang="ja"] .mbn-item, html[lang="ar"] .mbn-item, html[lang="ar-eg"] .mbn-item { font-size: 0.76rem; }
  .whatsapp-float { bottom: 52px; }
}

/* === Login page === */
.login-page { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-card { width: 100%; max-width: 420px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; }
.login-card h2 { color: var(--white); text-align: center; margin-bottom: 8px; }
.login-card .login-desc { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.login-error { background: rgba(224,88,88,0.1); border: 1px solid rgba(224,88,88,0.3); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 0.85rem; color: var(--error); }
.login-hint { margin-top: 24px; padding: 14px; background: var(--bg-3); border-radius: var(--radius); font-size: 0.8rem; color: var(--text-dim); text-align: center; }

/* === Craft detail === */
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.craft-card { background: var(--bg-card); border: 1px solid var(--border);  overflow: hidden; transition: all var(--transition); }
.craft-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); }
.craft-img { aspect-ratio: 16/9; overflow: hidden; }
.craft-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.craft-card:hover .craft-img img { transform: scale(1.06); }
.craft-body { padding: 20px; }
.craft-body h4 { color: var(--white); margin-bottom: 8px; }
.craft-body p { font-size: 0.85rem; }

/* === Craft Detail Page === */
.craft-detail-gallery { position: relative; width: 100%; max-width: 900px; margin: 0 auto; aspect-ratio: 16/9;  overflow: hidden; border: 1px solid var(--border); background: #0a0a0a; }
.craft-detail-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.craft-detail-slide.active { opacity: 1; pointer-events: auto; }
.craft-detail-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.craft-detail-thumbs { display: flex; gap: 12px; justify-content: center; margin: 16px auto 0; flex-wrap: wrap; max-width: 900px; }
.craft-detail-thumb { width: 80px; height: 50px;  overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; transition: border-color var(--transition); }
.craft-detail-thumb.active { border-color: var(--gold); }
.craft-detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.craft-detail-related .craft-card { cursor: pointer; }

/* === Hardware Detail Page === */
.hw-detail-gallery { position: relative; width: 100%; max-width: 900px; margin: 0 auto; aspect-ratio: 16/10;  overflow: hidden; border: 1px solid var(--border); background: #0a0a0a; }
.hw-detail-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; display: flex; align-items: center; justify-content: center; pointer-events: none; cursor: zoom-in; }
.hw-detail-slide.active { opacity: 1; pointer-events: auto; }
.hw-detail-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,0.45); border: none; color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); z-index: 10; }
.hw-gallery-nav:hover { background: rgba(0,0,0,0.75); }
.hw-gallery-nav svg { width: 24px; height: 24px; }
.hw-gallery-prev { left: 16px; }
.hw-gallery-next { right: 16px; }
.hw-detail-thumbs { display: flex; gap: 12px; justify-content: center; margin: 16px auto 0; flex-wrap: wrap; max-width: 900px; }
.hw-detail-thumb { width: 96px; height: 60px;  overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; transition: border-color var(--transition); }
.hw-detail-thumb.active { border-color: var(--gold); }
.hw-detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-specs-table { max-width: 800px; }
.hw-spec-row { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.hw-spec-row:last-child { border-bottom: none; }
.hw-spec-label { flex: 0 0 200px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.hw-spec-value { flex: 1; font-size: 0.95rem; color: var(--text); }
.hw-features-list { max-width: 800px; display: flex; flex-direction: column; gap: 20px; }
.hw-feature-item { display: flex; gap: 14px; align-items: flex-start; }
.hw-feature-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(201,169,110,0.1); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.hw-feature-icon svg { width: 16px; height: 16px; }
.hw-feature-item p { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); margin: 0; }
.hw-cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; }
.hw-case-card { background: var(--bg-card); border: 1px solid var(--border);  overflow: hidden; transition: all var(--transition); }
.hw-case-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.hw-case-img { aspect-ratio: 4/3; overflow: hidden; }
.hw-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hw-case-card:hover .hw-case-img img { transform: scale(1.05); }
.hw-case-info { padding: 16px; }
.hw-case-info h4 { color: var(--white); }

@media (max-width: 768px) {
  .hw-detail-gallery { aspect-ratio: 4/3; }
  .hw-detail-thumb { width: 64px; height: 40px; }
  .hw-spec-row { flex-direction: column; gap: 4px; padding: 12px 0; }
  .hw-spec-label { flex: none; }
  .hw-cases-grid { grid-template-columns: 1fr; }
  .hw-gallery-nav { width: 40px; height: 40px; }
  .hw-gallery-nav svg { width: 20px; height: 20px; }
  .hw-gallery-prev { left: 8px; }
  .hw-gallery-next { right: 8px; }
}

.product-detail-image { width: 100%; display: flex; justify-content: center; background: #0a0a0a; cursor: zoom-in; }
.product-detail-image img { max-width: 100%; max-height: 80vh; object-fit: contain; display: block; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(10,10,11,0.6); border: 1px solid rgba(201,169,110,0.3); color: rgba(201,169,110,0.85); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s ease; z-index: 2002; backdrop-filter: blur(4px); font-size: 1.5rem; opacity: 0.85; }
.lightbox-nav:hover { opacity: 1; background: rgba(201,169,110,0.08); border-color: rgba(201,169,110,0.6); color: var(--gold); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 768px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.25rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox-caption { font-size: 0.76rem; bottom: 14px; padding: 10px 16px 12px; max-width: 92vw; }
  .lightbox-caption-title { font-size: 0.88rem; }
  .lightbox-counter { font-size: 0.7rem; top: 12px; }
}

@media (max-width: 768px) {
  .craft-detail-gallery { aspect-ratio: 4/3; }
  .craft-detail-thumb { width: 60px; height: 38px; }
}

/* === Pagination === */
.load-more-wrap { text-align: center; margin-top: 40px; }

/* === Page header === */
.page-header { padding: 140px 0 60px; background: var(--bg-2); border-bottom: 1px solid var(--border); cursor: default !important; }
.page-header h1 { color: var(--white); margin-bottom: 12px; cursor: default !important; }
.page-header p { max-width: 600px; cursor: default !important; }
.page-header .eyebrow { cursor: default !important; }

/* === B2B notice === */
.b2b-notice { background: rgba(201,169,110,0.06); border: 1px solid rgba(201,169,110,0.15); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; font-size: 0.85rem; color: var(--gold-light); display: flex; align-items: flex-start; gap: 10px; cursor: default !important; }
.b2b-notice svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; cursor: default !important; }
.b2b-notice span { cursor: default !important; }

/* === Filter tabs and chips: always default/pointer cursor, never zoom-in === */
.products-page-header, .products-page-header * { cursor: default !important; }
.product-section > .container > .b2b-notice, .product-section > .container > .b2b-notice * { cursor: default !important; }
.product-section > .container > .tabs, .product-section > .container > .tabs * { cursor: default !important; }
.product-section > .container > .tab-panel, .product-section > .container > .tab-panel * { cursor: default !important; }
.product-section > .container > .tab-panel .chip { cursor: pointer !important; }
.product-section > .container > .tabs .tab { cursor: pointer !important; }
.product-section > .container > .tab-panel .filter-chips { cursor: default !important; }

/* === Responsive === */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .swatch-grid { grid-template-columns: repeat(4, 1fr); }
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .coop-items { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav { display: flex !important; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: 280px; max-width: 85vw; height: auto; background: var(--bg-2); flex-direction: column; padding: 80px 16px 24px; gap: 0; overflow-y: auto; z-index: 1003; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: -4px 0 24px rgba(0,0,0,0.5); }
  .nav.open { transform: translateX(0); }
  .nav-backdrop { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 1002; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; min-height: 48px; font-size: 0.9rem; border-radius: var(--radius); }
  .nav a:hover, .nav a.active { background: rgba(201,169,110,0.12); }
  .nav-desktop-only { display: none !important; }
  .nav a { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .logo { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .brand-icon { width: 32px; height: 32px; margin-right: 0; }
  .mobile-toggle { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .header-actions .lang-switcher { margin-right: 4px; }
  h1 { font-size: 1.75rem; font-weight: 700; }
  h2 { font-size: 1.45rem; font-weight: 700; }
  h3 { font-size: 1.15rem; font-weight: 600; }
  p { line-height: 1.75; }
  .section { padding: 48px 0; }
  .adv-grid { grid-template-columns: 1fr; gap: 20px; }
  .adv-card { display: flex; align-items: center; gap: 20px; padding: 24px 24px; border-radius: var(--radius-lg); }
  .adv-icon { width: 52px; height: 52px; min-width: 52px; border-radius: 14px; margin-bottom: 0; }
  .adv-icon svg { width: 26px; height: 26px; }
  .adv-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
  .adv-card p { font-size: 0.85rem; line-height: 1.7; margin: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-list { grid-template-columns: 1fr; gap: 16px; }
  .swatch-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .craft-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav-col { display: none; }
  .coop-items { grid-template-columns: 1fr; gap: 16px; }
  .brand-section { grid-template-columns: 1fr; gap: 32px; }
  .brand-cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-cert-label { font-size: 0.75rem; padding: 8px 10px; }
  .cert-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .material-list { grid-template-columns: 1fr; }
  .hero { min-height: 100vh; }
  .hero-content { max-width: 100%; }
  .hero-content h1 { font-size: 1.6rem; line-height: 1.25; }
  .hero-content .hero-sub { font-size: 1rem; }
  .hero-content .hero-cn { color: var(--white); }
  .hero-content .hero-desc { font-size: 0.9rem; margin-bottom: 24px; line-height: 1.75; color: var(--white); }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 12px 24px; font-size: 0.85rem; }
  .hero-scroll { display: none; }
  .coop-summary { padding: 24px 20px; flex-direction: column; gap: 24px; }
  .coop-image-side { flex: 0 0 auto; width: 100%; max-width: 400px; margin: 0 auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: 20px 16px; }
  .lang-dropdown { right: 0; min-width: 200px; max-width: calc(100vw - 32px); max-height: 320px; }
  .share-popup { min-width: 260px; max-width: calc(100vw - 32px); }
  .page-header { padding: 120px 0 40px; }
  .page-header h1 { font-size: 1.6rem; font-weight: 700; }
  .page-header p { font-size: 0.9rem; line-height: 1.7; color: var(--white); }
  .page-header h1 { color: var(--white); }
  .footer-contact-item { color: var(--white); }
  .footer-contact-item span { color: var(--white); }
  .brand-section p { color: var(--white); }
  .brand-hero p { color: var(--white) !important; }
  .login-card { padding: 32px 24px; }
  .article-detail h1 { font-size: 1.6rem; }
  .article-detail .article-cover { aspect-ratio: 16/9; }
  .whatsapp-float { width: 34px; height: 34px; bottom: 68px; right: 16px; }
  .whatsapp-float svg { width: 17px; height: 17px; }
  .footer { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-notice { text-align: left; font-size: 0.6rem; }
  .disclaimer { padding: 20px 16px; }
  .disclaimer p { font-size: 0.85rem; }
  .b2b-notice { padding: 14px 16px; font-size: 0.8rem; }
  .tabs { gap: 2px; }
  .tab { padding: 10px 14px; font-size: 0.8rem; }
  .filter-chips { gap: 6px; }
  .chip { padding: 7px 14px; font-size: 0.75rem; }
  .product-info { padding: 18px; }
  .product-info h3 { font-size: 1rem; font-weight: 600; }
  .product-tag { font-size: 0.7rem; padding: 3px 10px; }
  .btn-sm { padding: 10px 18px; font-size: 0.78rem; min-height: 40px; }
  .video-play { width: 60px; height: 60px; }
  .video-play svg { width: 24px; height: 24px; }
  .swatch-hero { flex-direction: column !important; gap: 24px; }
  .swatch-hero-img { flex: 0 0 auto !important; max-width: 100% !important; order: -1; }
  .swatch-hero-text { order: 1; }
  .product-card { border-radius: var(--radius-lg); }
  .product-img { aspect-ratio: 4/3; }
  .gallery-item { aspect-ratio: 4/3;  border: 1px solid var(--border); }
  .gallery-overlay { opacity: 1; background: linear-gradient(0deg, rgba(10,10,11,0.85), transparent 70%); }
  .article-card { border-radius: var(--radius-lg); }
  .article-body { padding: 20px; }
  .article-body h3 { font-size: 1.05rem; }
  .article-body p { font-size: 0.88rem; line-height: 1.7; }
  .craft-body { padding: 20px; }
  .craft-body h4 { font-size: 1rem; }
  .craft-body p { font-size: 0.88rem; line-height: 1.7; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.45rem; }
  .section-header p { font-size: 0.9rem; line-height: 1.7; }
  .eyebrow { font-size: 0.7rem; }
  .load-more-wrap { margin-top: 36px; }
  .load-more-btn { padding: 12px 32px; font-size: 0.85rem; min-height: 44px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content .hero-sub { font-size: 0.9rem; }
  .hero-content .hero-cn { color: var(--white); }
  .hero-content .hero-desc { font-size: 0.85rem; line-height: 1.75; color: var(--white); }
  .brand-hero p { color: var(--white) !important; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 36px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.3rem; }
  .adv-card { padding: 20px 18px; gap: 16px; }
  .adv-icon { width: 46px; height: 46px; min-width: 46px; }
  .adv-icon svg { width: 22px; height: 22px; }
  .adv-card h3 { font-size: 0.92rem; }
  .adv-card p { font-size: 0.82rem; line-height: 1.65; }
  .coop-summary { padding: 20px 16px; flex-direction: column; gap: 20px; }
  .coop-image-side { width: 100%; }
  .lang-dropdown { right: 0; min-width: 180px; max-width: calc(100vw - 28px); }
  .share-popup { min-width: 240px; max-width: calc(100vw - 28px); }
  .login-card { padding: 28px 20px; }
  .dashboard-card { padding: 18px; }
  .dashboard-table th, .dashboard-table td { padding: 10px 8px; font-size: 0.78rem; }
  .page-header { padding: 110px 0 32px; }
  .page-header h1 { font-size: 1.4rem; }
  .article-detail h1 { font-size: 1.4rem; }
  .article-body { padding: 18px; }
  .article-body h3 { font-size: 1rem; }
  .accordion-header { padding: 16px 18px; }
  .accordion-header h3 { font-size: 0.9rem; }
  .accordion-body-inner { padding: 0 18px 16px; }
  .brand-cert-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-cert-label { font-size: 0.7rem; padding: 6px 8px; }
  .brand-cert-thumb { aspect-ratio: 4/3; }
  .video-play { width: 50px; height: 50px; }
  .video-play svg { width: 20px; height: 20px; }
  .footer { padding: 40px 0 20px; }
  .whatsapp-float { width: 32px; height: 32px; bottom: 64px; right: 14px; }
  .whatsapp-float svg { width: 16px; height: 16px; }
  .product-info { padding: 16px; }
  .product-info h3 { font-size: 0.95rem; }
  .product-tag { font-size: 0.65rem; padding: 2px 8px; }
  .btn-sm { padding: 9px 16px; font-size: 0.75rem; min-height: 38px; }
}

@media (max-width: 768px) {
  html::-webkit-scrollbar, body::-webkit-scrollbar { width: 10px; }
  html::-webkit-scrollbar-track, body::-webkit-scrollbar-track { background: var(--bg); }
  html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb { background: var(--border-light); border: 2px solid var(--bg); border-radius: 10px; }
  .header, .header-inner, .header-actions { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .header-inner { min-width: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .header-actions { min-width: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  .lang-btn { padding: 4px 8px; gap: 3px; font-size: 0.65rem; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .lang-btn svg { shape-rendering: geometricPrecision; }
  .lang-flag { width: 22px; height: 16px; font-size: 0.55rem; -webkit-font-smoothing: antialiased; }
  .header-actions .login-btn { padding: 5px 8px; font-size: 0.6rem; white-space: nowrap; flex-shrink: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .header-actions .member-login-btn { margin-left: 0 !important; padding: 5px 8px; font-size: 0.6rem; white-space: nowrap; flex-shrink: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .mobile-toggle { display: flex !important; flex: 0 0 36px; min-width: 36px !important; width: 36px; }
  .mobile-toggle span { box-shadow: none; height: 2px; background: var(--white); }
  .whatsapp-float { bottom: 52px !important; right: 14px; z-index: 1100; }
  .logo { font-weight: 400; }
  .lang-btn { color: var(--white); font-weight: 400; }
  .lang-dropdown a { color: var(--white); font-weight: 400; }
  .lang-dropdown a:hover { color: var(--gold); }
  .header-actions .login-btn { font-weight: 400; }
  .nav a { color: var(--white); font-weight: 400; }
  .nav a:hover { color: var(--gold); }
  .nav a.active { color: var(--gold); font-weight: 500; }
  .footer-col a { color: var(--white); font-weight: 400; font-size: 0.95rem; }
  .footer-col a:hover { color: var(--gold); }
  .footer-bottom { color: var(--white); font-weight: 400; }
  .footer-brand p { color: var(--white); font-weight: 400; }
  .footer-nav-col { font-family: var(--font-serif); }
  .footer-col h4 { color: var(--gold); font-weight: 500; font-size: 0.95rem; }
}

/* === RTL === */
@media (min-width: 769px) and (max-width: 1280px) {
  .nav { max-width: 700px; }
  .nav a { font-size: 0.65rem; padding: 8px 5px; letter-spacing: 0; }
  .login-btn { padding: 7px 12px; font-size: 0.7rem; }
  .header-actions { gap: 8px; }
}
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav { transform: translateX(-50%); }
[dir="rtl"] .header-actions { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-overlay { background: linear-gradient(225deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.6) 50%, rgba(10,10,11,0.85) 100%); }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .adv-card::before { left: auto; right: 0; transform-origin: right; background: linear-gradient(270deg, var(--gold), transparent); }
[dir="rtl"] .adv-icon { margin-right: 0; margin-left: 0; }
@media (max-width: 768px) {
  [dir="rtl"] .adv-card { flex-direction: row-reverse; }
}
[dir="rtl"] .coop-item { flex-direction: row-reverse; }
[dir="rtl"] .coop-item .icon { margin-right: 0; margin-left: 20px; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-contact-item { flex-direction: row-reverse; }
[dir="rtl"] .footer-contact-item svg { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
[dir="rtl"] .share-popup { left: auto; right: 0; }
[dir="rtl"] .share-toast { left: auto; right: 0; }
[dir="rtl"] .dashboard-grid { grid-template-columns: 1fr 240px; }
[dir="rtl"] .dashboard-sidebar { border-right: none; border-left: 1px solid var(--border); }
[dir="rtl"] .dashboard-nav-item { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .dashboard-nav-item.active { border-left-color: transparent; border-right-color: var(--gold); }
[dir="rtl"] .dashboard-table th { text-align: right; }
[dir="rtl"] .form-checkbox { flex-direction: row-reverse; }
[dir="rtl"] .form-checkbox input { margin-right: 3px; margin-left: 0; }
[dir="rtl"] .list-search-icon { left: auto; right: 16px; }
[dir="rtl"] .list-search-input { padding: 12px 48px 12px 44px; }
[dir="rtl"] .list-search-clear { right: auto; left: 12px; }
[dir="rtl"] .accordion-header { flex-direction: row-reverse; }
[dir="rtl"] .accordion-icon { transition: transform var(--transition); }
[dir="rtl"] .accordion-item.open .accordion-icon { transform: rotate(180deg); }
[dir="rtl"] .product-actions { flex-direction: row-reverse; }
[dir="rtl"] .product-tags { justify-content: flex-end; }
[dir="rtl"] .filter-chips { justify-content: flex-end; }
[dir="rtl"] .tabs { justify-content: flex-end; }
[dir="rtl"] .material-item { flex-direction: row-reverse; }
[dir="rtl"] .brand-section { direction: rtl; }
[dir="rtl"] .video-play svg { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .lightbox-close { right: auto; left: 16px; }
[dir="rtl"] .btn { flex-direction: row-reverse; }
[dir="rtl"] .lang-btn { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown a { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .share-btn { flex-direction: row-reverse; }
[dir="rtl"] .share-link-box { flex-direction: row-reverse; }
[dir="rtl"] .article-meta { flex-direction: row-reverse; }
[dir="rtl"] .hero-scroll { left: 50%; }

/* === RTL Responsive === */
@media (max-width: 768px) {
  [dir="rtl"] .lang-dropdown { right: auto; left: 0; }
  [dir="rtl"] .share-popup { right: 0; left: auto; min-width: 280px; }
  [dir="rtl"] .dashboard-grid { grid-template-columns: 1fr; }
  [dir="rtl"] .dashboard-sidebar { display: none; }
  [dir="rtl"] .hero-actions { flex-direction: column; }
  [dir="rtl"] .hero-actions .btn { width: 100%; justify-content: center; }
  [dir="rtl"] .nav { left: 0; right: auto; transform: translateX(-100%); box-shadow: 4px 0 24px rgba(0,0,0,0.5); }
  [dir="rtl"] .nav.open { transform: translateX(0); }
}

.cms-upload-row { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.cms-upload-row .form-input { flex: 1; min-width: 220px; }
.cms-upload-btn { cursor: pointer; white-space: nowrap; }
.cms-upload-btn input { display: none; }
.cms-upload-status { font-size: 0.85rem; margin-top: 6px; display: none; }
.cms-upload-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cms-upload-preview img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.cms-category-row { display: flex; gap: 8px; align-items: flex-start; }
.cms-category-row .form-select { flex: 1; }
.cms-category-dialog { border: 1px solid var(--border-light); border-radius: var(--radius); background: var(--bg-2); color: var(--text); padding: 24px; width: min(420px, calc(100% - 32px)); box-shadow: var(--shadow-lg); }
.cms-category-dialog::backdrop { background: rgba(0,0,0,0.7); }
.cms-category-dialog h3 { margin-top: 0; }
.cms-select-search { margin-bottom: 8px; }
.cms-select-search + .form-select { width: 100%; }
.cms-category-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Privacy Policy Modal */
.privacy-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; opacity: 0; transition: opacity 0.3s ease;
}
.privacy-modal-overlay.active { display: flex; opacity: 1; }
.privacy-modal {
  background: #1a1a1a; color: #e0e0e0; border: 1px solid #3a3a3a;
  border-radius: 12px; padding: 32px; max-width: 600px; width: 90%;
  max-height: 80vh; overflow-y: auto; position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px); transition: transform 0.3s ease;
}
.privacy-modal-overlay.active .privacy-modal { transform: translateY(0); }
.privacy-modal-close {
  position: absolute; top: 12px; right: 16px; background: none;
  border: none; color: #999; font-size: 28px; cursor: pointer;
  line-height: 1; padding: 4px 8px; transition: color 0.2s;
}
.privacy-modal-close:hover { color: #fff; }
.privacy-modal-title {
  margin: 0 0 16px; font-size: 1.5rem; color: #fff;
  font-weight: 600; letter-spacing: 0.5px;
}
.privacy-modal-body h4 {
  color: #c9a96e; font-size: 1rem; margin: 20px 0 8px;
  font-weight: 600; letter-spacing: 0.3px;
}
.privacy-modal-body p {
  margin: 0 0 12px; line-height: 1.7; color: #b0b0b0; font-size: 0.9rem;
}
.privacy-policy-link {
  color: #c9a96e; text-decoration: underline; cursor: pointer;
  transition: color 0.2s;
}
.privacy-policy-link:hover { color: #fff; }
@media (max-width: 768px) {
  .privacy-modal { padding: 20px; width: 94%; max-height: 85vh; }
  .privacy-modal-title { font-size: 1.25rem; }
  .privacy-modal-body h4 { font-size: 0.9rem; }
  .privacy-modal-body p { font-size: 0.85rem; }
}

/* Remove rounded corners from all images and videos */
img, video { border-radius: 0 !important; }
.gallery-item, .product-card, .swatch-card, .article-card, .article-detail .article-cover,
.brand-section img, .video-placeholder, .brand-video-player, .brand-video-thumb,
.craft-card, .craft-detail-gallery, .craft-detail-thumb,
.hw-detail-gallery, .hw-detail-thumb, .hw-case-card,
.coop-image-side img, .adv-card, .cms-upload-preview img,
.product-detail-image, .product-img, .craft-img, .hw-case-img,
.brand-video-card, .brand-video-grid, .gallery-grid, .product-grid,
.article-cover, .article-card img, .brand-video-thumb img,
.swatch-card img, .product-card img, .gallery-item img,
.craft-card img, .hw-case-card img, .video-placeholder img,
.brand-video-player video, .lightbox img,
.brand-cert-card, .brand-cert-thumb, .brand-cert-thumb img,
.cert-detail-item, .cert-detail-item img {
  border-radius: 0 !important;
}

/* === Image lazy-load optimization === */
img[data-src] { background: var(--bg-3); opacity: 0; transition: opacity 0.4s ease; }
img[data-src].loaded { opacity: 1; }
.product-img, .gallery-item, .swatch-img, .cert-detail-item,
.craft-img, .product-detail-image, .coop-image-side { background: var(--bg-3); }
img[data-src]::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-3); }

/* === Pagination === */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination-btn { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all var(--transition); padding: 0 12px; }
.pagination-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.pagination-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.pagination-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pagination-ellipsis { color: var(--text-dim); padding: 0 4px; user-select: none; }
@media (max-width: 768px) {
  .pagination { gap: 6px; margin-top: 32px; }
  .pagination-btn { min-width: 36px; height: 36px; font-size: 0.85rem; padding: 0 8px; }
}

/* === News CMS editor image tools === */
.news-ai-field {
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-ai-field .form-input { flex: 1; }
.news-ai-field .btn:disabled { opacity: 0.55; cursor: wait; }
.news-content-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.news-upload-label { cursor: pointer; flex-shrink: 0; }
.news-content-lang {
  width: auto;
  min-width: 150px;
  padding: 8px 12px;
  flex-shrink: 0;
}
.news-content-image-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}
.news-content-image-status.is-error { color: var(--error); }

/* === News article body images === */
.article-content-media {
  margin: 24px 0;
  text-align: center;
}
.article-content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: inline-block;
}
.article-content p .article-content-image {
  display: inline-block;
  vertical-align: middle;
  margin: 8px 0;
}
.news-ai-panel { margin: 24px 0 32px; padding: 24px; border: 1px solid rgba(196, 158, 76, 0.35); background: linear-gradient(135deg, rgba(196,158,76,0.08), rgba(255,255,255,0.02)); }
.news-ai-panel-heading, .news-faq-heading, .news-form-actions, .news-cover-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.news-ai-panel-heading h3 { margin: 4px 0 0; }
.news-ai-badge { color: var(--gold); font-size: 0.78rem; border: 1px solid var(--gold); padding: 5px 9px; }
.news-ai-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.news-ai-main-button { margin-top: 20px; }
.news-en-field { margin-top: 12px; }
.news-field-count { display: block; text-align: right; color: var(--text-dim); font-size: 0.78rem; margin-top: 4px; }
.news-field-count.is-over { color: var(--error); }
.news-editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.news-editor-toolbar button { min-width: 36px; padding: 7px 10px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text-muted); cursor: pointer; }
.news-editor-toolbar button:hover { border-color: var(--gold); color: var(--gold); }
.news-editor-label { color: var(--gold); font-size: 0.82rem; margin: 14px 0 6px; }
.news-rich-editor { min-height: 220px; padding: 16px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text); line-height: 1.7; outline: none; }
.news-rich-editor:empty::before { content: attr(data-placeholder); color: var(--text-dim); }
.news-rich-editor:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,158,76,0.12); }
.news-rich-editor img { max-width: 100%; height: auto; }
.news-geo-panel { margin: 28px 0; border: 1px solid var(--border); background: var(--bg-3); }
.news-geo-panel summary { cursor: pointer; padding: 16px 20px; color: var(--gold); font-weight: 600; }
.news-geo-panel-body { padding: 0 20px 20px; }
.news-faq-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; margin: 10px 0; align-items: start; }
.news-cover-row { justify-content: flex-start; flex-wrap: wrap; }
.news-cover-preview img { display: block; max-width: 360px; max-height: 190px; margin-top: 12px; border: 1px solid var(--border); }
.news-market-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; color: var(--text-muted); }
.news-market-grid span { width: 100%; color: var(--text); }
.news-market-grid label { display: inline-flex; align-items: center; gap: 6px; }
.news-form-actions { justify-content: flex-start; margin-top: 24px; }
.news-score-card { margin-top: 24px; padding: 18px; border: 1px solid var(--border); background: var(--bg-3); }
.news-score-card h4 { margin: 0 0 12px; }
.news-score-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.news-score-item { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; align-items: center; padding: 8px 10px; border-left: 2px solid var(--error); background: rgba(255,255,255,0.02); }
.news-score-item.is-ok { border-left-color: var(--success); }
.news-score-item span { grid-row: span 2; font-size: 0.7rem; color: var(--error); }
.news-score-item.is-ok span { color: var(--success); }
.news-score-item strong { font-size: 0.82rem; }
.news-score-item small { color: var(--text-muted); font-size: 0.72rem; }
@media (max-width: 700px) {
  .news-score-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .news-ai-options, .news-faq-row { grid-template-columns: 1fr; }
  .news-ai-field { align-items: stretch; flex-direction: column; }
  .news-form-actions, .news-ai-panel-heading { align-items: flex-start; flex-direction: column; }
}

/* ===== News CMS: Content Type Cards ===== */
.news-type-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.news-type-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; border: 1px solid var(--border); background: var(--bg-3); cursor: pointer; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; text-align: center; }
.news-type-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.news-type-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.news-type-card.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,158,76,0.18); background: linear-gradient(135deg, rgba(196,158,76,0.10), rgba(255,255,255,0.02)); }
.news-type-icon { font-size: 2rem; line-height: 1; }
.news-type-name { font-size: 1rem; font-weight: 600; color: var(--text); }
.news-type-card.active .news-type-name { color: var(--gold); }
.news-type-desc { font-size: 0.76rem; color: var(--text-muted); }
@media (max-width: 700px) { .news-type-cards { grid-template-columns: 1fr; } }

/* ===== News CMS: Language Tabs ===== */
.news-lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.news-lang-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text-muted); cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
.news-lang-tab:hover { border-color: var(--gold); color: var(--text); }
.news-lang-tab.active { border-color: var(--gold); background: linear-gradient(135deg, rgba(196,158,76,0.12), rgba(255,255,255,0.02)); color: var(--gold); font-weight: 600; }
.news-master-tag { font-size: 0.68rem; padding: 2px 6px; background: var(--gold); color: var(--bg-1); font-weight: 700; letter-spacing: 0.02em; }
.news-lang-add { border-style: dashed; color: var(--text-dim); }
#ne-lang-add-select { padding: 8px 12px; border: 1px solid var(--border); background: var(--bg-3); color: var(--text); font-size: 0.85rem; }

/* ===== News CMS: Language Panels ===== */
.news-lang-panel { margin-top: 20px; padding: 24px; border: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.news-lang-translate-bar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.news-lang-outdated { margin-top: 8px; padding: 10px 16px; border: 1px solid rgba(255,193,7,0.4); background: rgba(255,193,7,0.08); color: #ffc107; font-size: 0.82rem; }

/* ===== News CMS: Gallery Editor ===== */
.news-gallery-editor { margin-top: 12px; }
.news-gallery-upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.news-gallery-upload-row input[type="file"] { flex: 1; min-width: 200px; }
.news-gallery-edit-list { display: flex; flex-direction: column; gap: 12px; }
.news-gallery-edit-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; padding: 12px; border: 1px solid var(--border); background: var(--bg-3); transition: border-color 0.2s, box-shadow 0.2s; }
.news-gallery-edit-item.dragging { opacity: 0.5; border-color: var(--gold); }
.news-gallery-edit-item:hover { border-color: rgba(196,158,76,0.4); }
.news-gallery-edit-thumb { width: 100px; height: 75px; overflow: hidden; border: 1px solid var(--border); }
.news-gallery-edit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-gallery-edit-fields { display: flex; flex-direction: column; gap: 8px; }
.news-gallery-edit-actions { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 700px) {
  .news-gallery-edit-item { grid-template-columns: 1fr; }
  .news-gallery-edit-thumb { width: 100%; height: 120px; }
  .news-gallery-edit-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ===== News CMS: Video Fields ===== */
.news-content-video .form-input { margin-bottom: 12px; }

/* ===== News Frontend: Gallery Grid ===== */
.news-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 32px 0; }
.news-gallery-item { margin: 0; border: 1px solid var(--border); background: var(--bg-3); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.news-gallery-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
.news-gallery-item img { display: block; width: 100%; height: 220px; object-fit: cover; cursor: pointer; transition: opacity 0.25s; }
.news-gallery-item img:hover { opacity: 0.88; }
.news-gallery-item figcaption { padding: 12px 16px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 700px) { .news-gallery-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ===== News Frontend: Video Wrapper + Transcript ===== */
.news-video-wrapper { margin: 32px 0; border: 1px solid var(--border); background: var(--bg-3); overflow: hidden; }
.news-video-wrapper iframe, .news-video-wrapper video { display: block; width: 100%; aspect-ratio: 16/9; border: none; }
.news-transcript { margin: 24px 0; border: 1px solid var(--border); background: var(--bg-3); }
.news-transcript summary { cursor: pointer; padding: 14px 20px; color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.news-transcript-body { padding: 16px 20px 20px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; }

/* ===== News Frontend: Type Badges ===== */
.news-type-badge { display: inline-block; padding: 3px 10px; font-size: 0.75rem; font-weight: 600; color: var(--gold); border: 1px solid var(--gold); margin-left: 8px; }
.news-type-corner-badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; font-size: 0.72rem; font-weight: 700; color: var(--bg-1); background: var(--gold); z-index: 2; letter-spacing: 0.02em; }
.article-img { position: relative; }
.article-img .news-type-corner-badge { position: absolute; top: 12px; right: 12px; }
@media (max-width: 700px) {
  .news-type-corner-badge { top: 8px; right: 8px; font-size: 0.68rem; padding: 3px 8px; }
}

/* ===== News CMS: AI Wizard Step Bar ===== */
.wizard-step-bar { display: flex; align-items: center; gap: 0; margin: 24px 0 32px; overflow-x: auto; padding-bottom: 8px; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 80px; position: relative; }
.wizard-step-num { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--border); border-radius: 50%; font-size: 0.9rem; font-weight: 700; color: var(--text-muted); background: var(--bg-3); transition: all 0.25s; }
.wizard-step.active .wizard-step-num { border-color: var(--gold); color: var(--gold); background: rgba(196,158,76,0.08); }
.wizard-step.done .wizard-step-num { background: var(--gold); border-color: var(--gold); color: var(--bg-1); }
.wizard-step-label { font-size: 0.76rem; color: var(--text-muted); white-space: nowrap; }
.wizard-step.active .wizard-step-label { color: var(--text); font-weight: 600; }
.wizard-step-line { flex: 1; min-width: 24px; height: 2px; background: var(--border); margin: 0 4px; align-self: flex-start; margin-top: 17px; }
.wizard-step-bar .wizard-step.done + .wizard-step-line { background: var(--gold); }
@media (max-width: 700px) { .wizard-step-label { font-size: 0.68rem; } .wizard-step { min-width: 60px; } .wizard-step-num { width: 30px; height: 30px; font-size: 0.8rem; } }

/* ===== News CMS: Wizard Panels ===== */
.wizard-panel { border: 1px solid var(--border); background: rgba(255,255,255,0.015); margin-bottom: 24px; }
.wizard-panel-body { padding: 28px; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--border); background: var(--bg-3); }
.wizard-nav .btn { min-width: 140px; }
.wizard-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.wizard-actions { display: flex; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.wizard-options-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 700px) { .wizard-panel-body { padding: 16px; } .wizard-nav { flex-wrap: wrap; padding: 12px 16px; } .wizard-nav .btn { min-width: auto; flex: 1; } .wizard-options-row { grid-template-columns: 1fr; } }

/* ===== News CMS: Wizard Candidate Cards (Step 1) ===== */
.wizard-candidate-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.wizard-candidate-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--border); background: var(--bg-3); transition: border-color 0.2s, box-shadow 0.2s; }
.wizard-candidate-card:hover { border-color: rgba(196,158,76,0.4); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.wizard-candidate-text { font-size: 1rem; color: var(--text); line-height: 1.5; }
.wizard-candidate-meta { font-size: 0.75rem; color: var(--text-dim); }
.wizard-candidate-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== News CMS: Wizard Locked Area ===== */
.wizard-locked-area { margin-top: 20px; padding: 20px; border: 1px solid rgba(34,197,94,0.3); background: rgba(34,197,94,0.05); }
.wizard-locked-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.wizard-locked-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: 0.78rem; font-weight: 600; color: #22c55e; border: 1px solid rgba(34,197,94,0.4); background: rgba(34,197,94,0.08); }
.wizard-locked-readonly { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid var(--border); background: var(--bg-3); }
.wizard-readonly-text { color: var(--text-muted); font-size: 0.88rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== News CMS: Wizard Body Candidates (Step 2) ===== */
.wizard-body-candidates { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.wizard-body-candidate { border: 1px solid var(--border); background: var(--bg-3); overflow: hidden; }
.wizard-body-candidate-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); font-size: 0.82rem; color: var(--text-muted); }
.wizard-rich-preview { padding: 16px; min-height: 120px; max-height: 400px; overflow-y: auto; line-height: 1.7; color: var(--text); outline: none; }
.wizard-rich-preview:focus { box-shadow: inset 0 0 0 1px var(--gold); }
.wizard-rich-preview img { max-width: 100%; height: auto; }
.wizard-rich-preview p { margin: 0 0 12px; }
.wizard-rich-preview h2, .wizard-rich-preview h3 { margin: 16px 0 8px; }
.wizard-rich-preview ul, .wizard-rich-preview ol { padding-left: 24px; margin: 0 0 12px; }

/* ===== News CMS: Wizard Gallery/Video Previews ===== */
.wizard-captions-preview { padding: 16px; border: 1px solid var(--border); background: var(--bg-3); margin-top: 12px; }
.wizard-captions-preview h4 { margin: 0 0 12px; font-size: 0.9rem; color: var(--gold); }
.wizard-caption-row { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-bottom: 8px; }
@media (max-width: 700px) { .wizard-caption-row { grid-template-columns: 1fr; } }

/* ===== News CMS: Wizard Optimize Bar ===== */
.wizard-optimize-bar { display: flex; gap: 8px; margin-top: 16px; padding: 12px 16px; border: 1px dashed var(--border); background: rgba(255,255,255,0.015); }
.wizard-optimize-bar .form-input { flex: 1; }

/* ===== News CMS: Wizard Version History ===== */
.wizard-version-history { margin-top: 16px; padding: 16px; border: 1px solid var(--border); background: var(--bg-3); }
.wizard-version-header { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.wizard-version-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.8rem; }
.wizard-version-item:last-child { border-bottom: none; }
.wizard-version-item span { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

/* ===== News CMS: Wizard Choice List (Step 3) ===== */
.wizard-choice-list { display: flex; flex-direction: column; gap: 8px; }
.wizard-choice-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--border); background: var(--bg-3); cursor: pointer; transition: border-color 0.2s; }
.wizard-choice-item:hover { border-color: rgba(196,158,76,0.4); }
.wizard-choice-item.selected { border-color: var(--gold); background: rgba(196,158,76,0.06); }
.wizard-choice-text { flex: 1; font-size: 0.88rem; color: var(--text); line-height: 1.5; }
.wizard-choice-meta { font-size: 0.75rem; color: var(--text-dim); white-space: nowrap; }

/* ===== News CMS: Wizard Keywords ===== */
.wizard-keyword-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wizard-keyword-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); background: var(--bg-3); font-size: 0.82rem; color: var(--text); cursor: grab; transition: border-color 0.2s; }
.wizard-keyword-chip:hover { border-color: var(--gold); }
.wizard-keyword-chip.dragging { opacity: 0.5; }
.wizard-keyword-remove { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 1rem; padding: 0; line-height: 1; }
.wizard-keyword-remove:hover { color: var(--error); }
.wizard-keyword-add { display: flex; gap: 8px; width: 100%; margin-top: 4px; }
.wizard-keyword-add .form-input { flex: 1; }

/* ===== News CMS: Wizard Geo & FAQ ===== */
.wizard-geo-list { display: flex; flex-direction: column; gap: 8px; }
.wizard-geo-row { display: flex; gap: 8px; }
.wizard-geo-row .form-input { flex: 1; }
.wizard-faq-list { display: flex; flex-direction: column; gap: 12px; }

/* ===== News CMS: Wizard Language Cards (Step 4) ===== */
.wizard-lang-checkboxes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.wizard-lang-checkboxes label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border); background: var(--bg-3); font-size: 0.85rem; cursor: pointer; transition: border-color 0.2s; }
.wizard-lang-checkboxes label:hover { border-color: var(--gold); }
.wizard-lang-checkboxes input:checked + span, .wizard-lang-checkboxes label:has(input:checked) { border-color: var(--gold); background: rgba(196,158,76,0.06); }
.wizard-lang-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.wizard-lang-card { border: 1px solid var(--border); background: var(--bg-3); overflow: hidden; }
.wizard-lang-card-header { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); cursor: pointer; background: rgba(255,255,255,0.02); }
.wizard-lang-card-header:hover { background: rgba(196,158,76,0.04); }
.wizard-lang-card-name { font-weight: 600; font-size: 0.92rem; color: var(--text); flex: 1; }
.wizard-lang-card-status { font-size: 0.76rem; padding: 3px 10px; border: 1px solid var(--border); }
.wizard-lang-card-status.status-pending { color: var(--text-dim); }
.wizard-lang-card-status.status-done { color: #22c55e; border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.06); }
.wizard-lang-card-status.status-dirty { color: #ffc107; border-color: rgba(255,193,7,0.4); background: rgba(255,193,7,0.08); }
.wizard-lang-card-actions { display: flex; gap: 8px; }
.wizard-lang-card-body { padding: 20px; }
.wizard-lang-card-body .news-rich-editor { min-height: 160px; }
@media (max-width: 700px) { .wizard-lang-card-header { flex-wrap: wrap; } .wizard-lang-card-actions { width: 100%; margin-top: 8px; } }

/* AI Config Banner (news page) */
.ai-config-banner { display: flex; align-items: center; gap: 12px; padding: 12px 20px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,0.02); }
.ai-config-banner-status { font-size: 0.85rem; flex: 1; }
.ai-config-banner-status.is-error { color: #ef4444; }
.ai-config-banner-status.is-ok { color: #22c55e; }

/* Mode Tabs */
.ne-mode-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid var(--border); }
.ne-mode-tab { padding: 12px 28px; border: none; background: none; color: var(--text-dim); font-size: 0.95rem; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.ne-mode-tab:hover { color: var(--white); }
.ne-mode-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Rich Text Toolbar */
.ne-rich-toolbar { display: flex; gap: 4px; margin-bottom: 8px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px 8px 0 0; background: rgba(255,255,255,0.03); flex-wrap: wrap; }
.ne-rich-toolbar button { padding: 4px 10px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-3); color: var(--text); font-size: 0.82rem; cursor: pointer; transition: all 0.15s; }
.ne-rich-toolbar button:hover { background: var(--gold); color: var(--bg-1); border-color: var(--gold); }
.ne-rich-toolbar + .wizard-rich-preview { border-radius: 0 0 8px 8px; border-top: none; }
.wizard-rich-preview[data-placeholder]:empty::before { content: attr(data-placeholder); color: var(--text-dim); font-style: italic; }

/* Settings page */
.settings-status-row { margin-bottom: 16px; }
.settings-status { font-size: 0.85rem; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--border); display: inline-block; }
.settings-status.is-error { color: #ef4444; border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.06); }
.settings-status.is-ok { color: #22c55e; border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.06); }
.settings-form-grid { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.settings-form-grid .form-group { flex: 1; min-width: 200px; }
@media (max-width: 700px) { .settings-form-grid { flex-direction: column; } .ai-config-banner { flex-wrap: wrap; } }
