/* Derby Sport Cards visual identity for WoodMart 8.3.9.
 * No WPBakery .vc_* or Slider Revolution styles are overridden.
 * Color/font choices are primarily editable in WoodMart Theme Settings (JSON import).
 */
:root {
  --dsc-bg: #090a0e;
  --dsc-surface: #12141b;
  --dsc-surface-raised: #191c26;
  --dsc-border: #252a38;
  --dsc-text: #f2f4f8;
  --dsc-muted: #98a1b5;
  --dsc-pink: #fa018c;
  --dsc-purple: #9300fb;
  --dsc-glow: rgba(250, 1, 140, .24);
}

/* Consistent fallback before and after WoodMart settings import. */
body { background-color: var(--dsc-bg); color: var(--dsc-text); }
body, body input, body textarea, body select { font-family: Inter, system-ui, sans-serif; }
body h1, body h2, body h3, body h4, body h5, body h6,
body .wd-entities-title, body .wd-el-title {
  font-family: Michroma, 'Eurostile', sans-serif;
  font-weight: 400;
}
body .wd-entities-title, body h1, body h2, body h3, body h4, body h5, body h6 {
  color: var(--dsc-text);
}

/* Dark WoodMart native shop cards. Do not change buttons, JS actions, or variations. */
body .wd-products .wd-product {
  background-color: var(--dsc-surface);
  border: 1px solid var(--dsc-border);
  border-radius: 12px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
body .wd-products .wd-product:hover {
  border-color: var(--dsc-pink);
  box-shadow: 0 10px 30px var(--dsc-glow);
  transform: translateY(-3px);
}
body .wd-products .wd-product .product-element-top,
body .wd-products .wd-product .product-image-link {
  border-radius: 11px 11px 0 0;
}
body .wd-products .wd-product .wd-entities-title,
body .wd-products .wd-product .wd-entities-title a {
  color: var(--dsc-text);
  font-size: 12px;
  line-height: 1.5;
}
body .wd-products .wd-product .price,
body.single-product .summary .price {
  color: var(--dsc-text);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
}

/* WoodMart category cards. Native links and editor remain intact. */
body .wd-cats-element .wd-cat,
body .wd-categories .wd-cat {
  border: 1px solid var(--dsc-border);
  border-radius: 12px;
  background: var(--dsc-surface);
  transition: border-color .25s ease, box-shadow .25s ease;
}
body .wd-cats-element .wd-cat:hover,
body .wd-categories .wd-cat:hover {
  border-color: var(--dsc-pink);
  box-shadow: 0 10px 24px var(--dsc-glow);
}

/* Native theme components – accents only, keep built-in interactivity. */
body .wd-page-title { border-bottom: 1px solid var(--dsc-border); }
body .wd-page-title .title { font-family: Michroma, 'Eurostile', sans-serif; }
body .wd-breadcrumbs, body .woocommerce-breadcrumb { color: var(--dsc-muted); }
body .wd-footer { border-top: 1px solid var(--dsc-border); }
body .wd-footer .widget-title { color: var(--dsc-text); }
body .wd-copyrights { border-top-color: var(--dsc-border); }
body .woocommerce-tabs .tabs li.active a { color: var(--dsc-pink); }

/* Helpers usable as optional WPBakery Extra class names later. */
.dsc-section-heading { font-family: Michroma, 'Eurostile', sans-serif; color: var(--dsc-text); }
.dsc-section-heading:after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  background: var(--dsc-pink);
  border-radius: 2px;
}
.dsc-accent-text { color: var(--dsc-pink); }

@media (prefers-reduced-motion: reduce) {
  body .wd-products .wd-product,
  body .wd-cats-element .wd-cat,
  body .wd-categories .wd-cat { transition: none; }
  body .wd-products .wd-product:hover { transform: none; }
}
