/* Root Site Styles (Public Homepage) */

:root {
  /* Match static demo yellow theme */
  --brand-primary: #fcb800;
  --brand-secondary: #ffe08a; /* lighter variant for gradients */
  --brand-dark: #111827;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #fff9e6;
  --accent: #10b981; /* emerald accent for CTAs */
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Hero */
.hero {
  background: linear-gradient(
    135deg,
    #0a2d57 50%,
    #fc7303 50%
  );
  color: #fff;
  padding: 64px 0;
}
.hero .lead {
  color: #e5e7eb;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Section */
.section {
  padding: 48px 0;
}
.section-title {
  font-weight: 700;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Feature cards */
.feature-card {
  background: var(--bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a2d57;
  color: #fc7303;
}

/* Category cards */
.category-card {
  background: var(--bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.category-card:hover {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}
.category-badge {
  font-size: 12px;
  color: var(--text-muted);
}

.category-thumb {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff4cc;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-thumb__placeholder {
  font-weight: 700;
  font-size: 28px;
  color: var(--brand-primary);
}

.subcategory-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.subcategory-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 10px;
  border-radius: 999px;
  background: transparent;
  color: #0b1a3a;
  font-size: 13px;
  border: none;
}

.subcategory-pill--more {
  background: #0b1a3a;
  color: #fff;
  border-color: #0b1a3a;
}

/* Product grid */
.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.product-media {
  height: 160px;
  background: linear-gradient(135deg, #fff7e6, #fff1cc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 42px;
}
.product-body {
  padding: 14px;
}
.product-title {
  font-weight: 600;
}
.product-price {
  font-weight: 700;
  color: var(--brand-dark);
}

/* Newsletter */
.newsletter {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 24px;
}

/* Buttons - use dark blue with white text across pages */
.btn-primary,
.btn-primary:focus,
.btn-primary:active {
  background-color: #0a2d57 !important;
  border-color: #0b1a3a !important;
  color: #fc7303 !important;
  box-shadow: 0 6px 18px rgba(11, 26, 58, 0.25);
}

.btn-primary:hover {
  background-color: #0a2d57 !important;
  border-color: #0f2550 !important;
  color: #ffffff !important;
}

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #0b1a3a !important;
  border-color: #0b1a3a !important;
}

.btn-outline-primary:hover {
  background-color: #0b1a3a !important;
  border-color: #0b1a3a !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(11, 26, 58, 0.25);
}

/* Footer */
footer {
  margin-top: auto;
  background: #fc7303;
  color: #fff;
}

/* Footer links on yellow background */
footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
}
footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.small-muted {
  color: var(--text-muted);
}

a {
  text-decoration: none !important;
}
