/* ====== Reset & Base ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
}

body {
  background: #f5f0e6; /* light beige background */
  color: #3e2f1c; /* dark brown text */
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ====== App Shell ====== */
.app-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ====== Header ====== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: #5a3e2b; /* dark brown header */
  color: #fdf3e7; /* light text */
  border-bottom: 2px solid #3e2f1c;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-round {
  width: 50px;
  height: 50px;
  background: #d4a373; /* light brown logo */
  border-radius: 50%;
}

.logo-area h1 {
  font-size: 1.6rem;
  margin-bottom: 2px;
}

.tagline {
  font-size: 0.9rem;
  color: #f3e0d3;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill {
  background: #e6cfa3;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  border: 1px solid #d4a373;
  color: #3e2f1c;
}

.btn {
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  background-color: #d4a373; /* light brown button */
  color: #3e2f1c;
  transition: 0.2s;
}

.btn:hover {
  background-color: #b5835a; /* darker hover */
  color: #fff;
}

.btn-outline {
  background: #f5f0e6;
  border: 1px solid #d4a373;
  color: #3e2f1c;
}

.btn-outline:hover {
  background: #d4a373;
  color: #fff;
}

.btn-sm {
  padding: 4px 10px;
  font-size: 0.75rem;
}

/* ====== Main Content ====== */
main {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

/* Left Panel */
.products-panel {
  flex: 3;
}

/* Hero Card */
.hero-card {
  background: #d4a373; /* light brown hero */
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #3e2f1c;
}

.hero-copy h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.hero-copy p {
  color: #3e2f1c;
  margin-bottom: 8px;
}

.hero-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: #3e2f1c;
}

/* Filters */
.filters-card {
  background: #fdf3e7; /* light beige filters */
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.filters-card h3 {
  margin-bottom: 12px;
  color: #3e2f1c;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.field select,
.field input {
  width: 100%;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #d4a373;
  background: #fff3e6;
  color: #3e2f1c;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

/* Card */
.card {
  background: #fdf3e7; /* light beige cards */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(62,47,28,0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
}

.card-main-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #d4a373;
}

.card-thumbs {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  flex-wrap: wrap;
}

.thumb-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #d4a373;
  transition: 0.2s;
}

.thumb-img:hover {
  border-color: #b5835a;
}

.card-body {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-title {
  font-weight: 600;
  font-size: 1rem;
}

.card-meta span {
  display: block;
  font-size: 0.85rem;
}

.card-tags .card-tag {
  background: #d4a373;
  color: #fff;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.price {
  font-weight: 600;
  font-size: 1rem;
  color: #3e2f1c;
}

.price small {
  font-weight: normal;
  font-size: 0.75rem;
  color: #3e2f1c;
}

/* Empty state */
.empty-state {
  text-align: center;
  color: #3e2f1c;
  margin-top: 24px;
  font-size: 0.95rem;
}

/* Right Panel */
.side-panel {
  flex: 1;
}

.panel-card {
  background: #fdf3e7;
  padding: 16px;
  border-radius: 8px;
}

.panel-card h3 {
  margin-bottom: 8px;
}

.steps-list {
  list-style-type: disc;
  margin-left: 16px;
  color: #3e2f1c;
}

/* Footer */
footer {
  margin-top: 32px;
  padding: 12px 0;
  font-size: 0.85rem;
  text-align: center;
  color: #3e2f1c;
  border-top: 2px solid #d4a373;
  background: #f5f0e6;
}
