/* style.css - The Timber Yard */
:root {
  --brown-900: #4b2e1e;--brown-700: #6b4226;
  --gold: #d4af37;
  --muted: #f3f3f3;
  --dark: #111;
  --radius: 8px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--muted);
  color: #222;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

/* HEADER */
.site-header {
  background: linear-gradient(90deg, var(--brown-900), var(--brown-700));
  color: #fff;
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.brand svg { height: 50px; width: 50px; }
.brand h1 { margin: 0; font-size: 20px; }
.brand p { margin: 0; font-size: 12px; color: var(--gold); }

/* NAVIGATION */
.main-nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

/* SECTIONS */
.section { padding: 30px 0; }
.section-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* THE GALLERY GRID (This makes it show correctly) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ddd;
  background: white;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 10px;
  text-align: center;
  font-weight: bold;
  color: var(--brown-900);
}

/* WHATSAPP & FOOTER */
.whatsapp-float, .cart-float {
  position: fixed; bottom: 20px;
  width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 30px; z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp-float { right: 20px; background: #25D366; color: white; }
.cart-float { right: 90px; background: var(--brown-900); color: white; cursor: pointer; }
.snipcart-items-count {
    position: absolute; top: 0; right: 0;
    background: var(--gold); color: black; font-size: 12px;
    font-weight: bold; border-radius: 50%; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
}

/* BUTTONS & PRICING */
.btn, .btn-buy {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s;
}

.btn { background: var(--brown-900); color: white; }
.btn-buy { background: var(--gold); color: black; margin-left: 10px; border: none; cursor: pointer; }

.price-tag {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--brown-900);
    margin-bottom: 5px;
}

.site-footer {
  background: var(--dark); color: white;
  text-align: center; padding: 20px; font-size: 14px;
}