/* === NVC Smart Store - Custom Theme === */
:root {
  --nvc-green: #00d4aa;
  --nvc-dark: #0a0a0a;
  --nvc-card: #ffffff;
  --nvc-text: #1a1a1a;
  --nvc-muted: #666;
  --nvc-border: #e8e8e8;
}

body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f5f5; }

/* Hero Banner */
.nvc-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a2332 50%, #0a1628 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nvc-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,170,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.nvc-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; position: relative; color: #fff; }
.nvc-hero p { font-size: 18px; color: #aaa; margin-bottom: 32px; position: relative; }
.nvc-hero .wp-block-button__link {
  background: var(--nvc-green) !important;
  color: #000 !important;
  border-radius: 100px !important;
  padding: 14px 40px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  position: relative;
}

/* Product Grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nvc-border);
  transition: all 0.3s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: var(--nvc-green);
}
.woocommerce ul.products li.product a img {
  padding: 24px !important;
  background: #fafafa;
  height: 200px !important;
  object-fit: contain !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--nvc-text) !important;
}
.woocommerce ul.products li.product .price {
  padding: 0 16px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #e53e3e !important;
}
.woocommerce ul.products li.product .price del { color: #bbb !important; font-size: 13px !important; }
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  margin: 12px 16px 16px !important;
  background: var(--nvc-green) !important;
  color: #000 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  display: block !important;
  text-align: center !important;
}

/* Login price prompt */
.nvc-login-price {
  display: block;
  padding: 8px 16px;
  margin-top: 4px;
}
.nvc-login-price a {
  display: inline-block;
  background: var(--nvc-green);
  color: #000;
  padding: 6px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

/* Product Detail */
.woocommerce div.product .product_title { font-size: 28px !important; font-weight: 700 !important; }
.woocommerce div.product p.price { font-size: 32px !important; font-weight: 700 !important; color: #e53e3e !important; }
.woocommerce div.product .woocommerce-product-details__short-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
}
.woocommerce div.product .woocommerce-product-details__short-description td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.woocommerce div.product .woocommerce-product-details__short-description td:first-child {
  color: #888;
  width: 120px;
  font-weight: 500;
}
.woocommerce div.product .woocommerce-product-details__short-description h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
}

/* Buttons */
.woocommerce .button.alt, .woocommerce button.alt, .woocommerce #respond input#submit {
  background: var(--nvc-green) !important;
  color: #000 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

/* Widget */
.woocommerce .widget { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid var(--nvc-border); }

/* Mobile */
@media (max-width: 768px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .nvc-hero { padding: 48px 16px; }
  .nvc-hero h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .woocommerce ul.products li.product a img { height: 140px !important; padding: 12px !important; }
}
