/* =============================================================
   Demon Seed Skateboards — Main Stylesheet
   Dark skateboard brand. Florida's Swamp Company.
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0d0f14;
  color: #e8e8e8;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  color: #ffffff;
}

a { color: #c9a84c; text-decoration: none; }
a:hover { color: #e8c96a; }

img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
.site-header {
  background: #000000;
  border-bottom: 2px solid #c9a84c;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-branding .site-title a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #c9a84c;
  letter-spacing: 0.1em;
}

/* ── Navigation ── */
.main-navigation ul { list-style: none; display: flex; gap: 24px; }
.main-navigation ul li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e8e8e8;
  transition: color 0.2s;
}
.main-navigation ul li a:hover { color: #c9a84c; }

/* ── WooCommerce — Product Grid ── */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
}

.woocommerce ul.products li.product {
  background: #13161e;
  border: 1px solid #1e2230;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.woocommerce ul.products li.product:hover {
  border-color: #c9a84c;
  transform: translateY(-2px);
}

.woocommerce ul.products li.product img { width: 100%; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  padding: 12px 16px 4px;
}

.woocommerce ul.products li.product .price {
  color: #c9a84c;
  font-weight: 700;
  padding: 0 16px 12px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: block;
  margin: 0 16px 16px;
  padding: 10px 20px;
  background: #c9a84c;
  color: #000000;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.woocommerce ul.products li.product .button:hover { background: #e8c96a; }

/* ── WooCommerce — Single Product ── */
.woocommerce div.product {
  background: #13161e;
  padding: 32px;
  border-radius: 4px;
}

.woocommerce div.product .product_title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: #ffffff;
}

.woocommerce div.product p.price { color: #c9a84c; font-size: 1.4rem; font-weight: 700; }

.woocommerce div.product .single_add_to_cart_button {
  background: #c9a84c;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 2px;
  padding: 14px 32px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.woocommerce div.product .single_add_to_cart_button:hover { background: #e8c96a; }

/* ── Cart ── */
.woocommerce-cart .woocommerce { background: #13161e; padding: 32px; border-radius: 4px; }
.woocommerce table.cart th { color: #c9a84c; border-bottom: 1px solid #1e2230; }
.woocommerce table.cart td { border-bottom: 1px solid #1e2230; color: #e8e8e8; }
.woocommerce .cart-collaterals .cart_totals { background: #0d0f14; padding: 24px; border: 1px solid #1e2230; }

/* ── Checkout ── */
body.woocommerce-cart #content, body.woocommerce-checkout #content, body.woocommerce-cart .site-main, body.woocommerce-checkout .site-main { padding-top: 30px !important; }
.woocommerce-checkout .woocommerce { background: #13161e; padding: 32px; border-radius: 4px; }
.woocommerce-checkout input, .woocommerce-checkout select, .woocommerce-checkout textarea {
  background: #0d0f14;
  border: 1px solid #1e2230;
  color: #e8e8e8;
  border-radius: 2px;
  padding: 10px 12px;
  width: 100%;
}
.woocommerce-checkout input:focus, .woocommerce-checkout select:focus {
  border-color: #c9a84c;
  outline: none;
}

/* ── Footer ── */
.site-footer {
  background: #000000;
  border-top: 2px solid #c9a84c;
  color: #888;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a { color: #c9a84c; }
.site-footer a:hover { color: #e8c96a; }

/* ── Buttons (global) ── */
button, .button, input[type=submit] {
  background: #c9a84c;
  color: #000;
  border: none;
  border-radius: 2px;
  padding: 12px 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover, .button:hover, input[type=submit]:hover { background: #e8c96a; }

/* ── Sale Badge ── */
.woocommerce span.onsale {
  background: #c9a84c;
  color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  border-radius: 2px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .site-header { flex-direction: column; gap: 12px; }
  .main-navigation ul { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
}
