/*
Theme Name: USED BD Store
Author: USED BD
Description: A responsive WooCommerce storefront built to work with Elementor and Elementor Pro Theme Builder.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: usedbd-store
*/

:root {
  --usedbd-ink: #063744;
  --usedbd-orange: #f7931e;
  --usedbd-orange-pale: #fff0da;
  --usedbd-red: #ed5a37;
  --usedbd-mint: #e7f4ed;
  --usedbd-paper: #fffdf9;
  --usedbd-surface: #ffffff;
  --usedbd-muted: #6b7b7f;
  --usedbd-line: #e7e4dc;
  --usedbd-shadow: 0 12px 32px -22px rgb(6 55 68 / 28%);
  --usedbd-font-body: "DM Sans", Arial, sans-serif;
  --usedbd-font-heading: "Sora", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--usedbd-paper); color: var(--usedbd-ink); font-family: var(--usedbd-font-body); }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.site-container { width: min(100% - 40px, 1280px); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.usedbd-button, .wp-element-button, .elementor-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--usedbd-orange); padding: 10px 18px; color: #fff; font-weight: 700; }
.usedbd-button:hover, .wp-element-button:hover, .elementor-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--usedbd-red); color: #fff; }
.site-main { min-height: 50vh; }
.content-area { padding-block: 36px 70px; }
.usedbd-empty-store { display: grid; min-height: 50vh; align-content: center; justify-items: start; gap: 12px; padding-block: 48px; }
.usedbd-empty-store h1 { margin: 0; color: var(--usedbd-ink); font-family: var(--usedbd-font-heading); font-size: 34px; }
.usedbd-empty-store p { margin: 0; color: var(--usedbd-muted); }
.entry-title, .page-title { color: var(--usedbd-ink); font-family: var(--usedbd-font-heading); }
.elementor-widget-heading .elementor-heading-title { color: var(--usedbd-ink); font-family: var(--usedbd-font-heading); }
.elementor-widget-text-editor { color: var(--usedbd-ink); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { overflow: hidden; border: 1px solid var(--usedbd-line); border-radius: 7px; background: var(--usedbd-surface); padding: 12px; box-shadow: var(--usedbd-shadow); }
.woocommerce ul.products li.product a img { border-radius: 5px; }
.woocommerce div.product .product_title { color: var(--usedbd-ink); font-family: var(--usedbd-font-heading); }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--usedbd-orange); font-weight: 700; }
.woocommerce span.onsale { min-height: 0; border-radius: 999px; background: var(--usedbd-red); padding: 6px 10px; line-height: 1.2; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--usedbd-orange); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--usedbd-orange); }
.woocommerce .quantity .qty { min-height: 42px; border: 1px solid var(--usedbd-line); border-radius: 6px; }
.woocommerce .star-rating { color: var(--usedbd-orange); }
.elementor-page .site-main { min-height: 0; }

@media (max-width: 760px) {
  .site-container { width: min(100% - 32px, 1280px); }
  .content-area { padding-block: 24px 48px; }
  .usedbd-empty-store h1 { font-size: 28px; }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}