:root {
  --srm-saffron: #e07a3c;
  --srm-saffron-dark: #c25e1f;
  --srm-deep:    #2b1a14;
  --srm-cream:   #fff8ef;
  --srm-muted:   #6b6258;
  --srm-line:    #e6dccb;
  --srm-success: #21864c;
}

* { box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--srm-deep);
  background: var(--srm-cream);
  margin: 0;
}

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--srm-line); z-index: 1020; }
.logo-link { text-decoration: none; }
.logo-text {
  font-family: 'Georgia', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--srm-deep); letter-spacing: 0.5px;
}
.logo-text em { font-style: italic; color: var(--srm-saffron); }

/* Option 2: logo badge next to wordmark */
.logo-link--badge { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 0 0 1px var(--srm-line);
}
.logo-text--compact { font-size: 1.25rem; line-height: 1; }
@media (max-width: 575.98px) {
  .logo-text--compact { display: none; }
}
.main-nav a { margin-left: 1.5rem; color: var(--srm-deep); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--srm-saffron); }
.cart-link { position: relative; font-size: 1.4rem; color: var(--srm-deep); }
.cart-badge {
  position: absolute; top: -6px; right: -10px;
  background: var(--srm-saffron); color: #fff;
  border-radius: 999px; font-size: 0.7rem;
  padding: 2px 6px; min-width: 20px; text-align: center;
}

/* Hero */
.hero { background-size: cover; background-position: center; position: relative; }
.hero-overlay { background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)); padding: 5rem 0; }
.hero-overlay--logo { background: linear-gradient(rgba(43,26,20,0.55), rgba(43,26,20,0.72)); padding: 4rem 0; }
.hero h1 { font-family: 'Georgia', serif; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
.hero .btn-primary { background: var(--srm-saffron); border-color: var(--srm-saffron); }
.hero .btn-primary:hover { background: var(--srm-saffron-dark); border-color: var(--srm-saffron-dark); }
.hero-logo {
  display: block;
  width: clamp(220px, 32vw, 340px);
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  background: var(--srm-cream);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hero-cta .btn { min-width: 160px; }
@media (max-width: 575.98px) {
  .hero-overlay--logo { padding: 2.5rem 0; }
  .hero-logo { margin-bottom: 1.25rem; }
}

/* Section helpers */
.section-title { font-family: 'Georgia', serif; font-size: 1.8rem; margin-bottom: 2rem; text-align: center; }

/* Category strip */
.category-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.category-card {
  background: #fff; border: 1px solid var(--srm-line);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.category-card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.category-card .label { padding: 0.6rem; text-align: center; font-weight: 600; font-size: 0.9rem; }

/* Catalog controls */
.category-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.category-pill {
  background: #fff; border: 1px solid var(--srm-line);
  border-radius: 999px; padding: 0.4rem 0.9rem;
  font-size: 0.85rem; cursor: pointer; white-space: nowrap;
}
.category-pill.active { background: var(--srm-saffron); color: #fff; border-color: var(--srm-saffron); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.product-card {
  background: #fff; border: 1px solid var(--srm-line);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
}
.product-card .img-wrap { aspect-ratio: 4 / 3; background: var(--srm-line); }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card .body { padding: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-card .name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; min-height: 2.6em; }
.product-card .cat-badge {
  align-self: flex-start; background: var(--srm-cream);
  border: 1px solid var(--srm-line); border-radius: 999px;
  padding: 1px 8px; font-size: 0.7rem; color: var(--srm-muted);
}
.product-card .price { font-weight: 700; font-size: 1.05rem; }
.product-card .price-bulk { color: var(--srm-muted); font-size: 0.8rem; }
.product-card .qty-row { display: flex; align-items: center; gap: 0.5rem; margin-top: auto; }
.product-card .qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--srm-line); border-radius: 8px; overflow: hidden;
}
.product-card .qty-stepper button { background: transparent; border: none; padding: 0.2rem 0.6rem; font-size: 1rem; cursor: pointer; }
.product-card .qty-stepper .qty-val { min-width: 1.8rem; text-align: center; font-weight: 600; }
.product-card .add-btn {
  flex: 1; background: var(--srm-saffron); color: #fff;
  border: none; border-radius: 8px; padding: 0.45rem 0.6rem;
  font-weight: 600; cursor: pointer;
}
.product-card .add-btn:hover { background: var(--srm-saffron-dark); }
.product-card .add-btn.added { background: var(--srm-success); }

/* Cart page */
.cart-table { width: 100%; }
.cart-table th, .cart-table td { padding: 0.75rem; border-bottom: 1px solid var(--srm-line); vertical-align: middle; }
.cart-table img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--srm-muted); }
.cart-qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--srm-line); border-radius: 8px;
}
.cart-qty-stepper button { background: none; border: none; padding: 0.2rem 0.5rem; cursor: pointer; }
.cart-qty-stepper .qty-val { min-width: 1.8rem; text-align: center; }
.order-form label { font-weight: 600; }

/* Footer */
.site-footer { background: var(--srm-deep); color: #f5e8d4; }
.site-footer a { color: #f5e8d4; }
.footer-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  filter: grayscale(1) brightness(1.15) opacity(0.7);
  box-shadow: 0 0 0 1px rgba(245,232,212,0.18);
}

/* Option 3: About section with logo beside text */
.about-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.about-logo {
  width: 140px; height: 140px;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.about-text { flex: 1; min-width: 260px; }
.about-text .section-title { margin-bottom: 1rem; }
@media (max-width: 575.98px) {
  .about-row { flex-direction: column; text-align: center; gap: 1.25rem; }
  .about-text .section-title { text-align: center !important; }
  .about-logo { width: 110px; height: 110px; }
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
  .hero-overlay { padding: 3rem 0; }
  .section-title { font-size: 1.4rem; margin-bottom: 1.25rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-card .name { font-size: 0.85rem; }
  .product-card .price { font-size: 0.95rem; }
  .main-nav { display: none; }
}
