@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Playfair+Display:wght@400;700&display=swap");

:root {
  --bg-color: #f4f1ea;
  --text-color: #1b2621;
  --accent-color: #8c7b58;
  --white: #ffffff;
}

* {
  box-sizing: border_box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Lato", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

/* Header */
header {
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(27, 38, 33, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

nav a {
  margin-left: 2rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
nav a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: #555;
}

.btn {
  padding: 1rem 2.5rem;
  background-color: var(--text-color);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  border: 1px solid var(--text-color);
}
.btn:hover {
  background-color: transparent;
  color: var(--text-color);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
}
.btn-outline:hover {
  background: var(--text-color);
  color: var(--white);
}

/* Shop Grid */
.container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

.product-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 1rem;
  background-color: #eee;
}

.product-info {
  text-align: center;
}
.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.product-price {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

/* Admin styles (simple) */
.admin-panel {
  max-width: 800px;
  margin: 2rem auto;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
