/* Aussie Bush Leather — shared stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, sans-serif;
  background: #f5f0e8;
  color: #3d2b1a;
  min-height: 100vh;
}

/* NAV */
nav {
  background: #2c1a0e;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  color: #e8c98a;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: #c8a87a;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: #e8c98a; }
.nav-links a.checkout {
  background: #8b3a1e;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
}
.nav-links a.checkout:hover { background: #a04520; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e8c98a;
  border-radius: 2px;
}

/* PAGE */
.page { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }

/* CARD */
.card {
  background: #fff;
  border-radius: 12px;
  border: 0.5px solid #ddd3c0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.card-title {
  font-size: 13px;
  font-weight: 500;
  color: #8b5e3c;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
  border-bottom: 0.5px solid #ede4d4;
  padding-bottom: 0.75rem;
}

/* HAT GRID */
.hat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.hat-card {
  background: #fff;
  border-radius: 12px;
  border: 0.5px solid #ddd3c0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.hat-card:hover { border-color: #c47d2b; }
.hat-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.hat-card-label {
  padding: 0.6rem 0.875rem;
  font-size: 13px;
  font-weight: 500;
  color: #5c2d0e;
}
.hat-card-price {
  padding: 0 0.875rem 0.75rem;
  font-size: 13px;
  color: #8b3a1e;
  font-weight: 500;
}

/* PAGE HEADER */
.page-header {
  margin-bottom: 1.5rem;
}
.page-header h1 {
  font-size: 24px;
  font-weight: 500;
  color: #5c2d0e;
  margin-bottom: 4px;
}
.page-header p {
  color: #8b5e3c;
  font-size: 14px;
}

/* DIVIDER */
hr.divider {
  border: none;
  border-top: 0.5px solid #ede4d4;
  margin: 1rem 0;
}

/* FOOTER */
footer {
  background: #2c1a0e;
  color: #8b6a4a;
  text-align: center;
  padding: 1.5rem;
  font-size: 13px;
  margin-top: 2rem;
}
footer a { color: #c8a87a; text-decoration: none; }
footer a:hover { color: #e8c98a; }

/* MOBILE */
@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #2c1a0e;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-top: 0.5px solid #3d2b1a;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hat-grid { grid-template-columns: repeat(2, 1fr); }
}
