/* ==========================================================
   Custom Designs LA — Production Stylesheet
   Updated: Nov 2025
   Purpose: Unified global + header + product layout styling
   ========================================================== */

/* === Global Reset & Base === */
body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #222;
}

/* === Header Styling (fixed logo + responsive nav) === */
header.site-header {
  background: #fff;
  color: #111;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Brand + Logo */
header a.flex {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #111;
}

header a.flex span {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

header img {
  height: 48px;               /* ✅ fixed logo height */
  width: auto;
  object-fit: contain;
  display: block;
  max-width: 180px;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
}

nav a {
  color: #111;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

nav a:hover {
  color: #555;
}

/* Responsive stacking under 700px */
@media (max-width: 700px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  nav {
    margin-top: 0.75rem;
    justify-content: center;
  }
}

/* === Main Content === */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* === Footer === */
footer.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  padding: 30px 0;
  border-top: 1px solid #ddd;
  background: #fafafa;
}

/* === Product Grid === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* === Buttons & Inputs === */
button,
select,
input {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

button {
  background: #333;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #555;
}

/* === Utilities === */
.text-center {
  text-align: center;
}
