/*
Theme Name: GT Woo Scratch
Theme URI: https://gold-list.com/
Author: Lucas / GT
Author URI: https://gold-ticket.com/
Description: Minimal WooCommerce-ready starter theme built from scratch for Gold-List.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gt-woo-scratch
*/

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  background: #f5f5f5;
  color: #222;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: #111827;
  color: #f9fafb;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-branding a {
  color: inherit;
  font-weight: 600;
  font-size: 1.25rem;
}

.site-header .site-tagline {
  font-size: 0.85rem;
  opacity: 0.7;
}

.primary-navigation ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.primary-navigation a {
  color: #e5e7eb;
  font-size: 0.95rem;
}

.primary-navigation a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.header-actions a {
  color: #e5e7eb;
}

.header-actions a:hover {
  color: #fff;
}

.header-cart-count {
  background: #f59e0b;
  color: #111827;
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  font-size: 0.75rem;
  margin-left: 0.35rem;
}

.site-main {
  max-width: 1100px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
}

.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: #e5e7eb;
}

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

/* Hero on front page */
.hero {
  background: #111827;
  color: #f9fafb;
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1rem;
  max-width: 35rem;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .button-primary,
.hero .button-secondary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero .button-primary {
  background: #f59e0b;
  color: #111827;
}

.hero .button-primary:hover {
  filter: brightness(1.03);
}

.hero .button-secondary {
  border: 1px solid #4b5563;
  color: #e5e7eb;
}

.hero .button-secondary:hover {
  border-color: #9ca3af;
}

/* Generic cards / posts */
.post-card {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.post-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.post-card .meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* WooCommerce tweaks */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.woocommerce div.product {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
}

.breadcrumbs {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .primary-navigation ul {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .site-main {
    margin-top: 1rem;
  }
}
