/**
 * Humble Help Theme - Main Stylesheet
 * A minimalist ecommerce theme inspired by Japanese stationery aesthetics
 * 
 * Version: 1.0.0
 */

/* ==========================================================================
   1. Bootstrap 5 Base
   ========================================================================== */
@import url('bootstrap/bootstrap.css');

/* ==========================================================================
   2. Icon Fonts
   ========================================================================== */
@import url('line-awesome/line-awesome.css');

/* ==========================================================================
   3. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* Primary Colors - Warm Neutrals */
  --hh-cream: #FAF8F5;
  --hh-paper: #F5F1EB;
  --hh-charcoal: #2D2D2D;
  --hh-gray: #6B6B6B;
  --hh-light-gray: #9B9B9B;
  --hh-border: #E8E4DE;
  
  /* Accent Colors */
  --hh-sage: #7D9B84;
  --hh-sage-dark: #6a8a71;
  --hh-sage-light: #a3b8a8;
  --hh-terracotta: #C4846C;
  --hh-indigo: #4A5568;
  --hh-gold: #D4A574;
  
  /* Functional Colors */
  --hh-success: #5B8C5A;
  --hh-warning: #D4A574;
  --hh-error: #C45C5C;
  --hh-info: #4A5568;
  
  /* Bootstrap Variable Overrides */
  --bs-primary: #7D9B84;
  --bs-primary-rgb: 125, 155, 132;
  --bs-secondary: #6B6B6B;
  --bs-secondary-rgb: 107, 107, 107;
  --bs-body-bg: #FAF8F5;
  --bs-body-color: #2D2D2D;
  --bs-border-color: #E8E4DE;
  --bs-link-color: #7D9B84;
  --bs-link-hover-color: #6a8a71;
  
  /* Typography */
  --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bs-font-monospace: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --hh-spacing-xs: 0.25rem;
  --hh-spacing-sm: 0.5rem;
  --hh-spacing-md: 1rem;
  --hh-spacing-lg: 1.5rem;
  --hh-spacing-xl: 2rem;
  --hh-spacing-2xl: 3rem;
  --hh-spacing-3xl: 4rem;
  --hh-spacing-4xl: 6rem;
  
  /* Border Radius */
  --hh-radius-sm: 2px;
  --hh-radius: 4px;
  --hh-radius-md: 8px;
  --hh-radius-lg: 12px;
  --hh-radius-xl: 16px;
  --hh-radius-pill: 9999px;
  
  /* Shadows */
  --hh-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --hh-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  --hh-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --hh-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --hh-shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --hh-transition-fast: 0.15s ease;
  --hh-transition: 0.2s ease;
  --hh-transition-slow: 0.3s ease;
}

/* Dark mode support */
[data-bs-theme="dark"] {
  --bs-body-bg: #1a1a1a;
  --bs-body-color: #FAF8F5;
  --bs-border-color: #333333;
  --hh-cream: #1a1a1a;
  --hh-paper: #242424;
  --hh-charcoal: #FAF8F5;
  --hh-border: #333333;
}

/* ==========================================================================
   4. Base Styles
   ========================================================================== */

/* Body */
body {
  font-family: var(--bs-font-sans-serif);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background-color: var(--hh-sage);
  color: white;
}

/* Focus outline */
:focus-visible {
  outline: 2px solid var(--hh-sage);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   5. Typography
   ========================================================================== */

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--bs-heading-font);
  font-weight: 600;
  line-height: 1.3;
  color: var(--hh-charcoal);
  margin-bottom: 0.5em;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* Display headings */
.display-1 { font-size: 4rem; font-weight: 500; }
.display-2 { font-size: 3.5rem; font-weight: 500; }
.display-3 { font-size: 3rem; font-weight: 500; }
.display-4 { font-size: 2.5rem; font-weight: 500; }
.display-5 { font-size: 2rem; font-weight: 500; }
.display-6 { font-size: 1.5rem; font-weight: 500; }

/* Lead paragraph */
.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Small text */
.small, small {
  font-size: 0.875rem;
}

/* Links */
a {
  color: var(--hh-sage);
  text-decoration: none;
  transition: color var(--hh-transition);
}

a:hover {
  color: var(--hh-sage-dark);
}

/* Text utilities */
.text-muted { color: var(--hh-gray) !important; }
.text-sage { color: var(--hh-sage) !important; }
.text-terracotta { color: var(--hh-terracotta) !important; }
.text-indigo { color: var(--hh-indigo) !important; }
.text-gold { color: var(--hh-gold) !important; }

/* Font weight utilities */
.fw-medium { font-weight: 500 !important; }

/* Letter spacing */
.ls-wide { letter-spacing: 0.05em; }
.ls-wider { letter-spacing: 0.1em; }
.ls-widest { letter-spacing: 0.2em; }

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.btn {
  font-family: var(--bs-font-sans-serif);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--hh-radius);
  transition: all var(--hh-transition);
  border: 1px solid transparent;
}

.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(125, 155, 132, 0.25);
}

/* Primary button */
.btn-primary {
  background-color: var(--hh-sage);
  border-color: var(--hh-sage);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--hh-sage-dark);
  border-color: var(--hh-sage-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary button */
.btn-secondary {
  background-color: var(--hh-gray);
  border-color: var(--hh-gray);
  color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--hh-charcoal);
  border-color: var(--hh-charcoal);
  color: white;
}

/* Outline buttons */
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--hh-sage);
  color: var(--hh-sage);
}

.btn-outline-primary:hover {
  background-color: var(--hh-sage);
  border-color: var(--hh-sage);
  color: white;
}

.btn-outline-secondary {
  background-color: transparent;
  border-color: var(--hh-charcoal);
  color: var(--hh-charcoal);
}

.btn-outline-secondary:hover {
  background-color: var(--hh-charcoal);
  border-color: var(--hh-charcoal);
  color: white;
}

/* Ghost button */
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--hh-charcoal);
}

.btn-ghost:hover {
  background-color: var(--hh-paper);
  color: var(--hh-charcoal);
}

/* Button sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Icon button */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--hh-border);
  color: var(--hh-gray);
}

.btn-icon:hover {
  background-color: var(--hh-sage);
  border-color: var(--hh-sage);
  color: white;
}

/* ==========================================================================
   7. Forms
   ========================================================================== */

.form-control,
.form-select {
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color var(--hh-transition), box-shadow var(--hh-transition);
  background-color: white;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--hh-sage);
  box-shadow: 0 0 0 0.2rem rgba(125, 155, 132, 0.15);
}

.form-control::placeholder {
  color: var(--hh-light-gray);
}

/* Floating labels */
.form-floating > .form-control,
.form-floating > .form-select {
  height: calc(3.5rem + 2px);
  padding: 1rem 1rem;
}

.form-floating > label {
  color: var(--hh-gray);
}

/* Form labels */
.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--hh-charcoal);
}

/* Form text */
.form-text {
  color: var(--hh-gray);
  font-size: 0.875rem;
}

/* Validation states */
.is-valid {
  border-color: var(--hh-success) !important;
}

.is-invalid {
  border-color: var(--hh-error) !important;
}

.valid-feedback {
  color: var(--hh-success);
  font-size: 0.875rem;
}

.invalid-feedback {
  color: var(--hh-error);
  font-size: 0.875rem;
}

/* Checkboxes and radios */
.form-check-input:checked {
  background-color: var(--hh-sage);
  border-color: var(--hh-sage);
}

.form-check-input:focus {
  border-color: var(--hh-sage);
  box-shadow: 0 0 0 0.2rem rgba(125, 155, 132, 0.25);
}

/* ==========================================================================
   8. Cards
   ========================================================================== */

.card {
  background-color: white;
  border: none;
  border-radius: var(--hh-radius-md);
  box-shadow: var(--hh-shadow);
  transition: all var(--hh-transition-slow);
}

.card:hover {
  box-shadow: var(--hh-shadow-lg);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--hh-border);
  padding: 1rem 1.25rem;
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  background-color: transparent;
  border-top: 1px solid var(--hh-border);
  padding: 1rem 1.25rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--hh-gray);
}

/* ==========================================================================
   9. Navigation
   ========================================================================== */

.navigation-humble {
  background-color: var(--hh-cream);
  padding: 1rem 0;
  transition: all var(--hh-transition-slow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.navigation-humble.sticky {
  background-color: rgba(250, 248, 245, 0.98);
  box-shadow: var(--hh-shadow);
  backdrop-filter: blur(10px);
}

/* Logo visibility */
.logo-sticky { display: none; }
.logo-default-dark { display: none; }
.logo-default-dark-sticky { display: none; }

.navigation-humble.sticky .logo-sticky { display: block; }
.navigation-humble.sticky .logo-default { display: none; }

/* Navbar */
.navigation-humble .navbar {
  padding: 0;
}

.navigation-humble .navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--hh-charcoal);
}

.navigation-humble .navbar-brand img {
  height: 32px;
  width: auto;
}

/* Nav links */
.navigation-humble .nav-link {
  color: var(--hh-charcoal);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  transition: color var(--hh-transition);
}

.navigation-humble .nav-link:hover {
  color: var(--hh-sage);
}

.navigation-humble .nav-link.active {
  color: var(--hh-sage);
}

/* Mobile toggle */
.navigation-humble .navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navigation-humble .navbar-toggler:focus {
  box-shadow: none;
}

.navigation-humble .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232D2D2D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menu */
.navigation-humble .dropdown-menu {
  border: none;
  box-shadow: var(--hh-shadow-lg);
  border-radius: var(--hh-radius-md);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.navigation-humble .dropdown-item {
  border-radius: var(--hh-radius);
  padding: 0.5rem 1rem;
  color: var(--hh-charcoal);
  font-size: 0.9375rem;
}

.navigation-humble .dropdown-item:hover,
.navigation-humble .dropdown-item:focus {
  background-color: var(--hh-paper);
  color: var(--hh-sage);
}

/* Cart icon in nav */
.nav-cart {
  position: relative;
}

.nav-cart .badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  font-size: 0.625rem;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   10. Hero Section
   ========================================================================== */

.hero-humble {
  background-color: var(--hh-cream);
  padding: 8rem 0 5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-sage);
  margin-bottom: 1rem;
  display: block;
}

.hero-humble h1 {
  margin-bottom: 1.5rem;
}

.hero-humble .lead {
  color: var(--hh-gray);
  margin-bottom: 2rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  border-radius: var(--hh-radius-lg);
  box-shadow: var(--hh-shadow-xl);
}

/* ==========================================================================
   11. Product Cards
   ========================================================================== */

.product-card {
  background-color: white;
  border-radius: var(--hh-radius-md);
  overflow: hidden;
  transition: all var(--hh-transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--hh-shadow-xl);
  transform: translateY(-4px);
}

.product-card .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background-color: var(--hh-paper);
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--hh-transition-slow);
}

.product-card .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .hover-img {
  opacity: 1;
}

.product-card:hover .primary-img {
  opacity: 0;
}

.product-card .product-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--hh-transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card .product-info {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-card .product-name a {
  color: var(--hh-charcoal);
}

.product-card .product-name a:hover {
  color: var(--hh-sage);
}

.product-card .product-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--hh-sage);
  margin-top: auto;
}

.product-card .product-price del {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--hh-gray);
  margin-left: 0.5rem;
}

/* Product badge */
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--hh-radius-pill);
  z-index: 1;
}

.product-badge.new {
  background-color: var(--hh-sage);
  color: white;
}

.product-badge.sale {
  background-color: var(--hh-terracotta);
  color: white;
}

/* ==========================================================================
   12. Sections
   ========================================================================== */

section {
  position: relative;
  padding: 5rem 0;
}

section[aria-label="hero"] {
  padding: 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header .section-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-sage);
  margin-bottom: 0.5rem;
}

.section-header .section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-header .section-subtitle {
  color: var(--hh-gray);
  font-size: 1.125rem;
}

/* Features section */
.features-section {
  background-color: white;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hh-paper);
  border-radius: 50%;
  color: var(--hh-sage);
}

.feature-icon i {
  font-size: 1.5rem;
}

.feature-item h5 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--hh-gray);
  font-size: 0.9375rem;
}

/* Products section */
.products-section {
  background-color: var(--hh-cream);
}

/* Testimonials section */
.testimonials-section {
  background-color: white;
}

.testimonial-card {
  background-color: var(--hh-cream);
  border-radius: var(--hh-radius-lg);
  padding: 2rem;
  height: 100%;
}

.testimonial-card .rating {
  color: var(--hh-gold);
  margin-bottom: 1rem;
}

.testimonial-card .quote {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .author-info h6 {
  font-weight: 600;
  margin-bottom: 0;
}

.testimonial-card .author-info span {
  font-size: 0.875rem;
  color: var(--hh-gray);
}

/* CTA section */
.cta-section {
  background-color: var(--hh-sage);
  color: white;
  padding: 4rem 0;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  opacity: 0.9;
}

.cta-section .btn {
  background-color: white;
  color: var(--hh-sage);
  border-color: white;
}

.cta-section .btn:hover {
  background-color: transparent;
  color: white;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.footer-humble {
  background-color: var(--hh-charcoal);
  color: white;
}

.footer-humble .footer-main {
  padding: 4rem 0;
}

.footer-humble .footer-logo {
  height: 32px;
  margin-bottom: 1rem;
}

.footer-humble p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-humble h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-humble ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-humble ul li {
  margin-bottom: 0.75rem;
}

.footer-humble ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--hh-transition);
}

.footer-humble ul a:hover {
  color: var(--hh-sage);
}

.footer-humble .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all var(--hh-transition);
}

.footer-humble .social-links a:hover {
  background-color: var(--hh-sage);
  color: white;
}

.footer-humble .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-humble .footer-bottom p,
.footer-humble .footer-bottom a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Newsletter form */
.newsletter-form .input-group {
  max-width: 400px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--hh-sage);
}

/* ==========================================================================
   14. Offcanvas Cart
   ========================================================================== */

.offcanvas {
  border: none;
}

.offcanvas-header {
  border-bottom: 1px solid var(--hh-border);
  padding: 1.5rem;
}

.offcanvas-title {
  font-weight: 600;
}

.offcanvas-body {
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hh-border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--hh-radius);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h6 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cart-item-info .variant {
  font-size: 0.875rem;
  color: var(--hh-gray);
}

.cart-item-info .price {
  font-weight: 600;
  color: var(--hh-sage);
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-quantity button {
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hh-radius);
  background-color: var(--hh-paper);
  border: none;
  color: var(--hh-charcoal);
}

.cart-quantity input {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 500;
}

.cart-summary {
  border-top: 1px solid var(--hh-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.cart-summary .summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cart-summary .summary-row.total {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--hh-border);
}

/* ==========================================================================
   15. Breadcrumb
   ========================================================================== */

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-item {
  font-size: 0.875rem;
}

.breadcrumb-item a {
  color: var(--hh-gray);
}

.breadcrumb-item a:hover {
  color: var(--hh-sage);
}

.breadcrumb-item.active {
  color: var(--hh-charcoal);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--hh-light-gray);
}

/* ==========================================================================
   16. Pagination
   ========================================================================== */

.pagination {
  gap: 0.25rem;
}

.page-link {
  border: none;
  border-radius: var(--hh-radius);
  padding: 0.5rem 1rem;
  color: var(--hh-charcoal);
  font-weight: 500;
}

.page-link:hover {
  background-color: var(--hh-paper);
  color: var(--hh-sage);
}

.page-item.active .page-link {
  background-color: var(--hh-sage);
  color: white;
}

.page-item.disabled .page-link {
  background-color: transparent;
  color: var(--hh-light-gray);
}

/* ==========================================================================
   17. Badges & Tags
   ========================================================================== */

.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: var(--hh-radius-pill);
}

.badge.bg-primary {
  background-color: var(--hh-sage) !important;
}

.badge.bg-secondary {
  background-color: var(--hh-gray) !important;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--hh-paper);
  border-radius: var(--hh-radius-pill);
  font-size: 0.875rem;
  color: var(--hh-charcoal);
  transition: all var(--hh-transition);
}

.tag:hover {
  background-color: var(--hh-sage);
  color: white;
}

/* ==========================================================================
   18. Alerts & Notifications
   ========================================================================== */

.alert {
  border: none;
  border-radius: var(--hh-radius-md);
  padding: 1rem 1.25rem;
}

.alert-success {
  background-color: rgba(91, 140, 90, 0.1);
  color: var(--hh-success);
}

.alert-danger {
  background-color: rgba(196, 92, 92, 0.1);
  color: var(--hh-error);
}

.alert-warning {
  background-color: rgba(212, 165, 116, 0.1);
  color: var(--hh-warning);
}

.alert-info {
  background-color: rgba(74, 85, 104, 0.1);
  color: var(--hh-info);
}

/* ==========================================================================
19. User Dropdown & Login Form
 ========================================================================== */

/* User dropdown toggle in navbar */
.navbar .dropdown-toggle.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all var(--hh-transition);
}

.navbar .dropdown-toggle.nav-link:hover {
  background-color: var(--hh-paper);
}

.navbar .dropdown-toggle.nav-link::after {
  display: none;
}

/* Login dropdown menu */
.login-box.user-box {
  min-width: 320px;
  padding: 0;
  border: none;
  border-radius: var(--hh-radius-lg);
  box-shadow: var(--hh-shadow-xl);
  background-color: var(--hh-cream);
  overflow: hidden;
}

/* Notifications area */
.login-box .notifications {
  padding: 0.75rem;
  background-color: transparent;
}

.login-box .alert {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  border-radius: var(--hh-radius);
}

.login-box .alert .icon {
  display: flex;
  align-items: center;
}

.login-box .alert .la-2x {
  font-size: 1.25rem;
}

/* Login form container */
.login-box .login-form,
.login-box .user-form {
  padding: 1.5rem;
}

/* Form inputs */
.login-box .form-control {
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all var(--hh-transition);
  background-color: white;
}

.login-box .form-control:focus {
  border-color: var(--hh-sage);
  box-shadow: 0 0 0 3px rgba(125, 155, 132, 0.15);
}

/* Floating label styles */
.login-box .form-label {
  font-size: 0.8125rem;
  color: var(--hh-gray);
  margin-bottom: 0;
}

/* Input group for password */
.login-box .input-group .form-control {
  border-right: none;
}

.login-box .input-group .btn {
  border-color: var(--hh-border);
  background-color: white;
  color: var(--hh-gray);
  transition: all var(--hh-transition);
}

.login-box .input-group .btn:hover {
  background-color: var(--hh-paper);
  color: var(--hh-charcoal);
}

/* Login button */
.login-box .btn-login {
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border-radius: var(--hh-radius);
  transition: all var(--hh-transition);
}

.login-box .btn-login:hover {
  transform: translateY(-1px);
  box-shadow: var(--hh-shadow);
}

/* Links in login form */
.login-box .login-form a {
  color: var(--hh-sage);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--hh-transition);
}

.login-box .login-form a:hover {
  color: var(--hh-sage-dark);
  text-decoration: underline;
}

/* Divider */
.login-box hr {
  margin: 1rem 0;
  border-color: var(--hh-border);
}

/* User menu (logged in state) */
.login-box .user-form .text-center {
  font-size: 0.9375rem;
  color: var(--hh-charcoal);
}

.login-box .user-form b {
  color: var(--hh-sage);
}

/* User menu list */
.login-box .user-form ul {
  margin: 0;
  padding: 0;
}

.login-box .user-form ul li {
  margin-bottom: 0.5rem;
}

.login-box .user-form ul li:last-child {
  margin-bottom: 0;
}

.login-box .user-form ul a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--hh-radius);
  color: var(--hh-charcoal);
  font-size: 0.9375rem;
  transition: all var(--hh-transition);
}

.login-box .user-form ul a:hover {
  background-color: var(--hh-paper);
  color: var(--hh-sage);
  text-decoration: none;
}

.login-box .user-form ul a i {
  width: 24px;
  text-align: center;
}

/* Logout button */
.login-box .user-form button[type="submit"] {
  margin-top: 1rem;
}

/* Dropdown divider */
.login-box .dropdown-divider {
  border-color: var(--hh-border);
}

/* ==========================================================================
20. Loading States
 ========================================================================== */

.spinner-border {
  width: 1.25rem;
  height: 1.25rem;
  border-width: 2px;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(250, 248, 245, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ==========================================================================
   20. Utilities
   ========================================================================== */

/* Background colors */
.bg-cream { background-color: var(--hh-cream) !important; }
.bg-paper { background-color: var(--hh-paper) !important; }
.bg-sage { background-color: var(--hh-sage) !important; }
.bg-sage-light { background-color: var(--hh-sage-light) !important; }

/* Border colors */
.border-sage { border-color: var(--hh-sage) !important; }
.border-light { border-color: var(--hh-border) !important; }

/* Min heights */
.min-vh-50 { min-height: 50vh; }
.min-vh-60 { min-height: 60vh; }
.min-vh-70 { min-height: 70vh; }

/* ==========================================================================
   21. Responsive Adjustments
   ========================================================================== */

/* Small devices (landscape phones) */
@media (max-width: 575.98px) {
  .hero-humble {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  
  .display-1 { font-size: 2.5rem; }
  .display-2 { font-size: 2.25rem; }
  .display-3 { font-size: 2rem; }
  .display-4 { font-size: 1.75rem; }
  
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.75rem; }
  
  section {
    padding: 3rem 0;
  }
  
  .footer-humble .footer-main {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets) */
@media (max-width: 767.98px) {
  .hero-humble {
    text-align: center;
  }
  
  .hero-image-wrapper {
    margin-top: 2rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
}

/* Large devices (desktops) */
@media (max-width: 991.98px) {
  .navigation-humble .navbar-collapse {
    background-color: var(--hh-cream);
    padding: 1rem;
    border-radius: var(--hh-radius-md);
    box-shadow: var(--hh-shadow-lg);
    margin-top: 1rem;
  }
}

/* ==========================================================================
   22. Print Styles
   ========================================================================== */

@media print {
  .navigation-humble,
  .footer-humble,
  .btn,
  .product-actions {
    display: none !important;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
