:root {
  --store-ink: #17211b;
  --store-muted: #68716a;
  --store-surface: #ffffff;
  --store-canvas: #f5f6f2;
  --store-line: #e4e8e2;
  --store-accent: #c86f3d;
  --store-accent-dark: #9c4f2b;
  --store-green: #264f3c;
  --store-lime: #ddecba;
  --store-radius-sm: 14px;
  --store-radius: 22px;
  --store-radius-lg: 34px;
  --store-shadow: 0 18px 48px rgba(23, 33, 27, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--store-canvas);
  color: var(--store-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(200, 111, 61, 0.34);
  outline-offset: 3px;
}

.site-announcement {
  background: var(--store-green);
  color: #f7faef;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  padding: 0.58rem 0;
}

.site-announcement i {
  color: #ddebba;
  margin-right: 0.35rem;
}

.storefront-navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(228, 232, 226, 0.86);
  box-shadow: 0 8px 30px rgba(23, 33, 27, 0.04) !important;
  min-height: 76px;
  padding: 0.7rem 0;
  backdrop-filter: blur(18px);
}

.storefront-brand {
  align-items: center;
  color: var(--store-ink);
  display: inline-flex;
  font-size: 1rem !important;
  gap: 0.65rem;
  letter-spacing: normal !important;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.storefront-brand:hover {
  color: var(--store-ink);
}

.brand-mark {
  align-items: center;
  background: var(--store-ink);
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.brand-name span {
  color: var(--store-accent);
}

.storefront-navbar .navbar-collapse {
  gap: clamp(0.75rem, 1.7vw, 1.6rem);
}

.storefront-links {
  flex-shrink: 0;
  gap: 0.05rem;
  margin-left: clamp(0.75rem, 1.8vw, 1.8rem);
}

.storefront-links .nav-link {
  border-radius: 999px;
  color: #39423c !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.56rem 0.68rem !important;
}

.storefront-links .nav-link:hover,
.storefront-links .nav-link:focus {
  background: #f0f2ed;
  color: var(--store-ink) !important;
}

.storefront-search {
  align-items: center;
  background: #f1f3ef;
  border: 1px solid transparent;
  border-radius: 999px;
  display: flex;
  flex: 1 1 360px;
  gap: 0.6rem;
  margin-left: auto;
  max-width: 460px;
  min-width: 190px;
  padding: 0.3rem 0.35rem 0.3rem 0.9rem;
  transition: 0.2s ease;
}

.storefront-search:focus-within {
  background: #fff;
  border-color: #b8c2ba;
  box-shadow: 0 0 0 4px rgba(38, 79, 60, 0.08);
}

.storefront-search > i {
  color: #667069;
  font-size: 0.9rem;
}

.storefront-search input {
  background: transparent;
  border: 0;
  color: var(--store-ink);
  flex: 1;
  font-size: 0.84rem;
  min-width: 80px;
  outline: 0;
  padding: 0.38rem 0;
}

.storefront-search input::placeholder {
  color: #7c857e;
}

.storefront-search button {
  align-items: center;
  background: var(--store-ink);
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  transition: 0.2s ease;
}

.storefront-search button:hover {
  background: var(--store-accent);
  transform: translateX(1px);
}

.storefront-actions {
  flex-shrink: 0;
  gap: 0.42rem;
}

.nav-icon-link {
  align-items: center;
  background: transparent;
  border: 1px solid var(--store-line);
  border-radius: 50%;
  color: var(--store-ink);
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 1rem;
  height: 40px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  transition: 0.2s ease;
}

.nav-icon-link:hover {
  background: var(--store-ink);
  border-color: var(--store-ink);
  color: #fff;
  transform: translateY(-1px);
}

.cart-count-badge {
  align-items: center;
  background: var(--store-accent);
  border: 2px solid var(--store-surface);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 0.62rem;
  font-weight: 850;
  height: 19px;
  justify-content: center;
  min-width: 19px;
  padding: 0 0.24rem;
  position: absolute;
  right: -5px;
  top: -6px;
}

.cart-switcher-menu {
  min-width: 270px;
}

.cart-switcher-menu .dropdown-item {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.cart-switcher-menu .dropdown-item > i {
  font-size: 1.05rem;
  width: 22px;
}

.cart-switcher-menu .dropdown-item span:not(.cart-menu-count) {
  display: grid;
  flex: 1;
}

.cart-switcher-menu .dropdown-item small {
  color: var(--store-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.cart-menu-count {
  align-items: center;
  background: #fff0e8;
  border-radius: 999px;
  color: var(--store-accent);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 850;
  justify-content: center;
  min-width: 24px;
  padding: 0.18rem 0.4rem;
}

[data-bs-theme="dark"] .cart-menu-count {
  background: #3b2a24;
}

.signin-link {
  color: var(--store-ink);
  font-size: 0.84rem;
  font-weight: 750;
  padding: 0.45rem;
  text-decoration: none;
}

.storefront-join-btn {
  background: var(--store-ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 750;
  padding: 0.58rem 1rem;
}

.storefront-join-btn:hover {
  background: var(--store-accent);
  color: #fff;
}

.account-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  color: var(--store-ink);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 750;
  gap: 0.45rem;
  padding: 0.25rem 0.62rem 0.25rem 0.25rem;
}

.account-avatar {
  align-items: center;
  background: #e8eddf;
  border-radius: 50%;
  color: var(--store-green);
  display: inline-flex;
  font-weight: 850;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.storefront-dropdown {
  border: 1px solid var(--store-line);
  border-radius: 16px;
  box-shadow: var(--store-shadow);
  margin-top: 0.7rem !important;
  min-width: 210px;
  overflow: hidden;
  padding: 0.45rem;
}

.storefront-dropdown .dropdown-item {
  border-radius: 10px;
  color: var(--store-ink);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
}

.storefront-dropdown .dropdown-item i {
  color: var(--store-muted);
  display: inline-block;
  margin-right: 0.55rem;
  width: 1rem;
}

.storefront-dropdown .dropdown-item:hover {
  background: #f1f3ef;
}

.storefront-navbar .navbar-toggler {
  border: 0;
  box-shadow: none;
  padding: 0.4rem;
}

.mobile-nav-actions {
  gap: 0.4rem;
}

/* Homepage */

.home-main {
  background: var(--store-canvas);
  overflow: hidden;
}

.home-section {
  padding: 4.8rem 0;
}

.home-section-compact {
  padding: 2rem 0 1rem;
}

.home-section-soft {
  background: #ecefe8;
}

.home-kicker {
  align-items: center;
  color: var(--store-accent-dark);
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 850;
  gap: 0.5rem;
  letter-spacing: 0.13em;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.home-kicker::before {
  background: currentColor;
  content: "";
  height: 2px;
  width: 26px;
}

.home-section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.home-section-heading h2 {
  color: var(--store-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}

.home-section-heading p {
  color: var(--store-muted);
  font-size: 0.95rem;
  margin: 0.45rem 0 0;
  max-width: 560px;
}

.home-text-link {
  align-items: center;
  color: var(--store-ink);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.55rem;
  text-decoration: none;
}

.home-text-link i {
  transition: transform 0.2s ease;
}

.home-text-link:hover {
  color: var(--store-accent-dark);
}

.home-text-link:hover i {
  transform: translateX(4px);
}

.home-hero-wrap {
  padding: 1.25rem 1.25rem 0;
}

.home-hero {
  align-items: center;
  background-color: #17211b;
  background-image: linear-gradient(90deg, rgba(13, 20, 16, 0.9) 0%, rgba(13, 20, 16, 0.7) 34%, rgba(13, 20, 16, 0.16) 68%, rgba(13, 20, 16, 0.05) 100%), var(--hero-image);
  background-position: center;
  background-size: cover;
  border-radius: var(--store-radius-lg);
  display: flex;
  isolation: isolate;
  min-height: min(710px, calc(100vh - 125px));
  overflow: hidden;
  position: relative;
}

.home-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--store-radius-lg) - 8px);
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.home-hero-content {
  color: #fff;
  max-width: 690px;
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.hero-eyebrow {
  align-items: center;
  color: #ddecba;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 0.6rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  background: #ddecba;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(221, 236, 186, 0.15);
  content: "";
  height: 7px;
  width: 7px;
}

.home-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 6.2vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
}

.home-hero h1 em {
  color: #e4efc9;
  font-weight: 400;
}

.home-hero-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  margin: 1.5rem 0 1.8rem;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-primary-btn,
.hero-secondary-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.88rem 1.35rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.hero-primary-btn {
  background: #fff;
  color: var(--store-ink);
}

.hero-primary-btn:hover {
  background: #ddecba;
  color: var(--store-ink);
  transform: translateY(-2px);
}

.hero-secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-proof {
  align-items: center;
  display: flex;
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.hero-proof-avatars {
  display: flex;
}

.hero-proof-avatar {
  align-items: center;
  background: #ddecba;
  border: 2px solid #26362d;
  border-radius: 50%;
  color: var(--store-green);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  margin-left: -8px;
  width: 34px;
}

.hero-proof-avatar:first-child {
  margin-left: 0;
}

.hero-proof span:last-child {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.77rem;
  line-height: 1.45;
}

.hero-proof strong {
  color: #fff;
  display: block;
  font-size: 0.86rem;
}

.home-trust-grid {
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.home-trust-item {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  padding: 1.3rem 1.4rem;
}

.home-trust-item + .home-trust-item {
  border-left: 1px solid var(--store-line);
}

.home-trust-icon {
  align-items: center;
  background: #eef2e6;
  border-radius: 50%;
  color: var(--store-green);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 1.05rem;
  height: 42px;
  justify-content: center;
}

.home-trust-item strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}

.home-trust-item span {
  color: var(--store-muted);
  display: block;
  font-size: 0.7rem;
  line-height: 1.35;
}

.home-category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-category-card {
  aspect-ratio: 4 / 4.7;
  background: #d9ded4;
  border-radius: var(--store-radius);
  color: #fff;
  display: block;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.home-category-card::after {
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.02) 35%, rgba(10, 14, 12, 0.82) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.home-category-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.6s ease;
  width: 100%;
  z-index: -2;
}

.category-fallback {
  align-items: center;
  background: linear-gradient(145deg, #496756, #172a21);
  display: flex;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: -2;
}

.home-category-grid .home-category-card:nth-child(2n) .category-fallback {
  background: linear-gradient(145deg, #b97852, #623923);
}

.home-category-grid .home-category-card:nth-child(3n) .category-fallback {
  background: linear-gradient(145deg, #707a5f, #30382a);
}

.home-category-card:hover {
  color: #fff;
  transform: translateY(-5px);
}

.home-category-card:hover img {
  transform: scale(1.045);
}

.home-category-content {
  bottom: 0;
  left: 0;
  padding: 1.4rem;
  position: absolute;
  right: 0;
  z-index: 2;
}

.home-category-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.home-category-content span {
  align-items: center;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 750;
  gap: 0.4rem;
}

.home-product-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-product-card {
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: 0.3s ease;
}

.home-product-card:hover {
  border-color: #d1d8d0;
  box-shadow: var(--store-shadow);
  transform: translateY(-5px);
}

.home-product-media {
  aspect-ratio: 4 / 4.8;
  background: #eef0ec;
  display: block;
  overflow: hidden;
  position: relative;
}

.home-product-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  width: 100%;
}

.home-product-card:hover .home-product-media img {
  transform: scale(1.045);
}

.home-product-badge {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--store-green);
  font-size: 0.62rem;
  font-weight: 850;
  left: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.62rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.75rem;
  z-index: 2;
}

.home-wishlist-form {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  z-index: 3;
}

.home-wishlist-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  color: var(--store-ink);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  transition: 0.2s ease;
  width: 38px;
}

.home-wishlist-button:hover {
  background: var(--store-accent);
  color: #fff;
}

.home-product-body {
  padding: 1rem 1rem 1.1rem;
}

.home-product-meta {
  color: var(--store-accent-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-product-name {
  color: var(--store-ink);
  display: -webkit-box;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
  margin: 0;
  min-height: 2.55em;
  overflow: hidden;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-name:hover {
  color: var(--store-accent-dark);
}

.home-product-seller {
  color: var(--store-muted);
  font-size: 0.7rem;
  margin: 0.3rem 0 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-footer {
  align-items: end;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.home-product-price strong {
  color: var(--store-ink);
  display: block;
  font-size: 1rem;
  font-weight: 850;
}

.home-product-price span {
  color: var(--store-muted);
  display: block;
  font-size: 0.58rem;
  margin-top: 0.1rem;
}

.home-product-rating {
  align-items: center;
  color: var(--store-muted);
  display: flex;
  font-size: 0.66rem;
  gap: 0.25rem;
}

.home-product-rating i {
  color: #e29b3e;
}

.home-product-arrow {
  align-items: center;
  background: #eef2e8;
  border-radius: 50%;
  color: var(--store-green);
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  text-decoration: none;
}

.home-product-arrow:hover {
  background: var(--store-green);
  color: #fff;
}

.home-empty-state {
  background: var(--store-surface);
  border: 1px dashed #cbd1ca;
  border-radius: var(--store-radius);
  color: var(--store-muted);
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  text-align: center;
}

.home-empty-state i {
  color: var(--store-green);
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.home-service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.home-service-card {
  border-radius: var(--store-radius);
  color: #fff;
  min-height: 295px;
  overflow: hidden;
  padding: 1.8rem;
  position: relative;
  text-decoration: none;
  transition: 0.3s ease;
}

.home-service-card:nth-child(1) {
  background: #224a37;
}

.home-service-card:nth-child(2) {
  background: #9a5131;
}

.home-service-card:nth-child(3) {
  background: #2e3f58;
}

.home-service-card::after {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  height: 210px;
  position: absolute;
  right: -75px;
  top: -75px;
  width: 210px;
}

.home-service-card:hover {
  color: #fff;
  transform: translateY(-5px);
}

.service-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  display: inline-flex;
  font-size: 1.4rem;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.home-service-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 2.8rem 0 0.65rem;
}

.home-service-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  max-width: 320px;
}

.home-service-card span {
  align-items: center;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 0.5rem;
}

.home-local-banner {
  align-items: center;
  background: #17211b;
  border-radius: var(--store-radius-lg);
  color: #fff;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}

.home-local-banner::after {
  background: radial-gradient(circle, rgba(221, 236, 186, 0.18) 0%, rgba(221, 236, 186, 0) 66%);
  content: "";
  height: 500px;
  position: absolute;
  right: -160px;
  top: -230px;
  width: 500px;
}

.home-local-banner h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 0;
}

.home-local-banner p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 600px;
}

.local-banner-list {
  display: grid;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.local-banner-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
}

.local-banner-item i {
  color: #ddecba;
  font-size: 1.1rem;
}

/* Footer */

.storefront-footer {
  background: #101713 !important;
  border-top: 0;
  color: #fff;
  margin-top: 0;
}

.footer-brand {
  color: #fff;
}

.footer-brand:hover {
  color: #fff;
}

.footer-brand .brand-mark {
  background: #ddecba;
  color: var(--store-green);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  margin: 1.4rem 0;
  max-width: 470px;
}

.footer-trust {
  color: #ddecba;
  font-size: 0.78rem;
  font-weight: 700;
}

.storefront-footer h2 {
  color: #fff;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.storefront-footer a:not(.storefront-brand) {
  color: rgba(255, 255, 255, 0.61);
  display: block;
  font-size: 0.8rem;
  margin: 0.72rem 0;
  text-decoration: none;
}

.storefront-footer a:not(.storefront-brand):hover {
  color: #ddecba;
}

.footer-small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.footer-small i {
  color: #ddecba;
  display: inline-block;
  width: 1.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  font-size: 0.7rem;
  justify-content: space-between;
  padding: 1.3rem 0 1.6rem;
}

/* Dark theme */

body.dark {
  --store-ink: #f0f3ed;
  --store-muted: #a8afa8;
  --store-surface: #1a211d;
  --store-canvas: #111613;
  --store-line: #303a33;
  background: var(--store-canvas);
  color: var(--store-ink);
}

body.dark .storefront-navbar {
  background: rgba(18, 24, 20, 0.95) !important;
}

body.dark .storefront-links .nav-link {
  color: #d7ddd7 !important;
}

body.dark .storefront-links .nav-link:hover,
body.dark .storefront-links .nav-link:focus,
body.dark .storefront-search,
body.dark .storefront-dropdown .dropdown-item:hover {
  background: #252e28;
}

body.dark .storefront-search input,
body.dark .storefront-dropdown .dropdown-item,
body.dark .storefront-brand,
body.dark .storefront-brand:hover,
body.dark .nav-icon-link,
body.dark .signin-link,
body.dark .account-button {
  color: var(--store-ink);
}

body.dark .storefront-dropdown {
  background: #1a211d;
}

body.dark .home-section-soft {
  background: #171d19;
}

body.dark .home-trust-icon,
body.dark .home-product-arrow {
  background: #2a352e;
  color: #ddecba;
}

body.dark .home-product-media {
  background: #202923;
}

@media (max-width: 1199.98px) {
  .storefront-links {
    margin-left: 0.8rem;
  }

  .storefront-links .nav-link {
    padding-left: 0.48rem !important;
    padding-right: 0.48rem !important;
  }

  .storefront-search {
    flex-basis: 240px;
  }
}

@media (max-width: 991.98px) {
  .storefront-navbar {
    min-height: 68px;
  }

  .storefront-navbar .navbar-collapse {
    border-top: 1px solid var(--store-line);
    margin-top: 0.75rem;
    padding: 1rem 0 0.4rem;
  }

  .storefront-links {
    align-items: stretch !important;
    margin: 0 0 0.75rem;
  }

  .storefront-links .nav-link {
    padding: 0.7rem 0.75rem !important;
  }

  .storefront-search {
    margin: 0 0 0.9rem;
    max-width: none;
    min-height: 46px;
    width: 100%;
  }

  .storefront-actions {
    border-top: 1px solid var(--store-line);
    padding-top: 0.8rem;
  }

  .account-menu {
    width: 100%;
  }

  .account-button {
    justify-content: space-between;
    width: 100%;
  }

  .home-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-trust-item:nth-child(3) {
    border-left: 0;
  }

  .home-trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--store-line);
  }

  .home-category-grid,
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 260px;
  }

  .home-local-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .site-announcement {
    font-size: 0.66rem;
    padding: 0.5rem 0;
  }

  .brand-mark {
    border-radius: 10px 10px 10px 4px;
    height: 34px;
    width: 34px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .home-section {
    padding: 3.6rem 0;
  }

  .home-section-compact {
    padding: 1.1rem 0 0;
  }

  .home-section-heading {
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.45rem;
  }

  .home-section-heading p {
    font-size: 0.82rem;
  }

  .home-section-heading .home-text-link {
    margin-top: 0.45rem;
  }

  .home-hero-wrap {
    padding: 0.7rem 0.7rem 0;
  }

  .home-hero {
    background-image: linear-gradient(180deg, rgba(13, 20, 16, 0.72) 0%, rgba(13, 20, 16, 0.57) 40%, rgba(13, 20, 16, 0.9) 100%), var(--hero-image);
    background-position: 66% center;
    border-radius: 25px;
    min-height: 650px;
  }

  .home-hero::after {
    border-radius: 19px;
    inset: 7px;
  }

  .home-hero-content {
    align-self: end;
    padding: 3rem 0.35rem 2.8rem;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .home-hero-copy {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 1.2rem 0 1.4rem;
    max-width: 480px;
  }

  .hero-actions {
    gap: 0.6rem;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    font-size: 0.78rem;
    padding: 0.78rem 1rem;
  }

  .hero-proof {
    margin-top: 2rem;
  }

  .home-trust-item {
    align-items: flex-start;
    padding: 1rem;
  }

  .home-trust-icon {
    flex-basis: 36px;
    font-size: 0.9rem;
    height: 36px;
  }

  .home-trust-item strong {
    font-size: 0.74rem;
  }

  .home-trust-item span {
    font-size: 0.63rem;
  }

  .home-category-grid {
    display: flex;
    margin: 0 -0.75rem;
    overflow-x: auto;
    padding: 0 0.75rem 0.8rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-category-grid::-webkit-scrollbar {
    display: none;
  }

  .home-category-card {
    flex: 0 0 min(76vw, 300px);
    scroll-snap-align: start;
  }

  .home-category-content {
    padding: 1.2rem;
  }

  .home-product-grid {
    gap: 0.75rem;
  }

  .home-product-card {
    border-radius: 16px;
  }

  .home-product-body {
    padding: 0.8rem 0.75rem 0.9rem;
  }

  .home-product-badge {
    left: 0.55rem;
    top: 0.55rem;
  }

  .home-wishlist-form {
    right: 0.5rem;
    top: 0.5rem;
  }

  .home-wishlist-button {
    height: 34px;
    width: 34px;
  }

  .home-product-name {
    font-size: 0.8rem;
  }

  .home-product-seller {
    font-size: 0.62rem;
    margin-bottom: 0.65rem;
  }

  .home-product-price strong {
    font-size: 0.88rem;
  }

  .home-product-arrow {
    display: none;
  }

  .home-service-card {
    min-height: 245px;
    padding: 1.45rem;
  }

  .home-service-card h3 {
    margin-top: 2.1rem;
  }

  .home-local-banner {
    border-radius: 24px;
    gap: 1.8rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (max-width: 420px) {
  .home-section-heading h2 {
    font-size: 1.85rem;
  }

  .home-section-heading p {
    display: none;
  }

  .home-section-heading .home-text-link span {
    display: none;
  }

  .home-hero {
    min-height: 620px;
  }

  .home-hero h1 {
    font-size: 3.15rem;
  }

  .hero-proof {
    gap: 0.8rem;
  }

  .home-product-rating {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
