/* ============================
   LX SHEET THEME — MAIN CSS
   Clone of oopbuy-sheet.com
   ============================ */

:root {
  --header-bg: #0d1117;
  --header-text: #f0f6fc;
  --header-nav-hover: #58a6ff;
  --body-bg: #ffffff;
  --body-text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --green: #16a34a;
  --green-hover: #15803d;
  --amber: #f59e0b;
  --price-color: #111827;
  --card-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --card-shadow-hover: 0 10px 25px rgba(0,0,0,.12);
  --footer-bg: #0d1117;
  --footer-text: #94a3b8;
  --footer-heading: #f8fafc;
  --radius: 8px;
  --radius-sm: 4px;
  --max-width: 1280px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}

.site-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -.02em;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.main-nav::-webkit-scrollbar { display: none; }

.main-nav a {
  color: #94a3b8;
  font-size: .8rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color .15s, background .15s;
}

.main-nav a:hover,
.main-nav a.current-menu-item {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-mobile-menu {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,.1);
  z-index: 999;
  padding: 12px 0;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: #94a3b8;
  padding: 10px 24px;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .15s;
}

.mobile-nav a:hover { color: #fff; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0f1923 0%, #1a2744 50%, #0f1923 100%);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  color: #93c5fd;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background .15s, transform .1s;
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -.02em;
}

.section-link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .15s;
}

.section-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---- PRODUCT GRID ---- */
.products-section { padding: 52px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.products-grid.featured {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}

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

.product-card .card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.product-card:hover .card-image img { transform: scale(1.05); }

.card-category {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 100px;
}

.card-body {
  padding: 12px 14px 14px;
}

.card-title {
  font-size: .85rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--price-color);
}

.card-price .original {
  font-size: .78rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

/* ---- PRODUCT SINGLE PAGE ---- */
.single-product-wrap {
  padding: 40px 0 60px;
}

.product-breadcrumb {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-breadcrumb a { color: var(--accent); }
.product-breadcrumb a:hover { text-decoration: underline; }
.product-breadcrumb span.sep { color: #d1d5db; }

.product-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 48px;
  align-items: start;
}

.product-image-wrap {
  position: sticky;
  top: 80px;
}

.product-image-main {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid var(--border);
}

.product-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.badge {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge-brand {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-category {
  background: #d1fae5;
  color: #065f46;
}

.product-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.03em;
  line-height: 1.3;
  margin-bottom: 16px;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--price-color);
  margin-bottom: 8px;
}

.product-price-cny {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.buy-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  transition: all .15s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.buy-btn-kakobuy { background: #16a34a; color: #fff; }
.buy-btn-kakobuy:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,163,74,.4); }

.buy-btn-oopbuy { background: #2563eb; color: #fff; }
.buy-btn-oopbuy:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.4); }

.buy-btn-allchinabuy { background: #dc2626; color: #fff; }
.buy-btn-allchinabuy:hover { background: #b91c1c; }

.buy-btn-superbuy { background: #7c3aed; color: #fff; }
.buy-btn-superbuy:hover { background: #6d28d9; }

.buy-btn-mulebuy { background: #0891b2; color: #fff; }
.buy-btn-mulebuy:hover { background: #0e7490; }

.buy-btn-litbuy { background: #f59e0b; color: #fff; }
.buy-btn-litbuy:hover { background: #d97706; }

.buy-btn-hipobuy { background: #db2777; color: #fff; }
.buy-btn-hipobuy:hover { background: #be185d; }

.buy-btn-mycnbox { background: #ea580c; color: #fff; }
.buy-btn-mycnbox:hover { background: #c2410c; }

.buy-btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all .15s;
  display: block;
}

.buy-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.buy-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
}

.product-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tag {
  background: #f3f4f6;
  color: #374151;
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}

.product-tag:hover { background: #e5e7eb; }

.product-description {
  margin-top: 24px;
  font-size: .9rem;
  color: #374151;
  line-height: 1.7;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.product-meta-info {
  margin-top: 20px;
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Related products */
.related-products-section {
  padding: 48px 0;
  background: #f9fafb;
  border-top: 1px solid var(--border);
}

/* ---- ABOUT SECTION ---- */
.about-section {
  padding: 72px 0;
  background: #f9fafb;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.about-subtitle {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.how-it-works {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.how-step {
  display: flex;
  gap: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.step-content p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-badges {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.step-badge {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}

.why-choose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.feature-title {
  font-size: .88rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- FAQ ---- */
.faq-section {
  padding: 64px 0;
}

.faq-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.03em;
  margin-bottom: 32px;
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: .92rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .15s;
}

.faq-question:hover { background: #f9fafb; }

.faq-icon {
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform .2s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: .88rem;
  color: #374151;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer { display: block; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f1923 100%);
  padding: 52px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.cta-banner p {
  color: #94a3b8;
  font-size: .95rem;
  margin-bottom: 24px;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background .15s, transform .1s;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--footer-bg);
  padding: 56px 0 24px;
  color: var(--footer-text);
}

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

.footer-brand .site-logo {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: block;
}

.footer-tagline {
  font-size: .83rem;
  color: var(--footer-text);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--footer-heading);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  color: var(--footer-text);
  font-size: .83rem;
  transition: color .15s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: .78rem;
  color: #475569;
}

/* ---- ARCHIVE PAGE ---- */
.archive-header {
  background: #f9fafb;
  border-bottom: 1px solid var(--border);
  padding: 32px 0 28px;
}

.archive-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}

.archive-description {
  font-size: .9rem;
  color: var(--muted);
}

.archive-products {
  padding: 40px 0 60px;
}

/* ---- PAGINATION ---- */
.lx-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}

.lx-pagination a,
.lx-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 500;
  transition: all .15s;
}

.lx-pagination a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.lx-pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- NOTICES ---- */
.lx-notice {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 16px;
}

.lx-notice.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.lx-notice.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-image-wrap { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .btn-mobile-menu { display: block; }
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 1.7rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-choose { grid-template-columns: 1fr; }
  .buy-buttons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
