/* ========================================================================== */
/* Storefront layout refresh — reference-led ecommerce structure              */
/* ========================================================================== */

.site-header {
  background: #fff;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: 0 1px 0 var(--line);
}

.promo-strip {
  background: var(--text);
}

.promo-strip__inner {
  min-height: 36px;
  padding: 0.45rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
}

.topbar {
  grid-template-columns: minmax(190px, 260px) minmax(320px, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 96px;
  padding: 1rem 0;
}

.topbar .brand {
  min-width: 0;
}

.topbar .brand__mark {
  width: 72px;
  height: 60px;
  flex: 0 0 72px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--primary);
  font-size: 0.76rem;
  line-height: 1.05;
}

.topbar .brand__mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar .brand__copy strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.topbar .brand__copy small {
  margin-top: 0.12rem;
  font-size: 0.72rem;
  line-height: 1.25;
}

.header-quick-search {
  width: 100%;
  max-width: none;
}

.header-search-shell {
  min-height: 50px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.header-search-shell:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.header-search-shell__input {
  padding-left: 0.2rem;
}

.header-search-shell__button {
  align-self: stretch;
  min-width: 96px;
  border-radius: 0;
  padding: 0 1.35rem;
  background: var(--primary);
  color: #fff;
}

.header-actions {
  flex-wrap: nowrap;
  gap: 0.55rem;
}

.header-actions .button,
.header-actions .ghost-button {
  min-height: 46px;
  white-space: nowrap;
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.primary-nav-bar {
  border-top: 1px solid var(--line);
  background: #fff;
}

.primary-nav-bar__inner {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: stretch;
  min-height: 54px;
}

.nav-dropdown--categories {
  display: flex;
}

.category-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.05rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.category-trigger__icon {
  width: 17px;
  display: grid;
  gap: 3px;
}

.category-trigger__icon i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.category-trigger__chevron {
  margin-left: auto;
  font-size: 0.68rem;
}

.nav-dropdown--categories .nav-dropdown__panel {
  top: 100%;
  left: 0;
  width: 330px;
  min-width: 330px;
  border-radius: 0 0 10px 10px;
  padding: 0.65rem;
}

.nav-dropdown--categories:hover .nav-dropdown__panel {
  display: grid;
}

.primary-nav-bar .main-nav {
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.25rem);
  padding: 0 1.8rem;
}

.primary-nav-bar .main-nav > a {
  padding: 1rem 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav-bar .main-nav > a::after {
  bottom: 0.45rem;
  height: 2px;
}

.nav-support-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  color: var(--text);
}

.nav-support-link > span:first-child {
  color: var(--primary);
  font-size: 1.3rem;
}

.nav-support-link > span:last-child {
  display: grid;
  gap: 0.05rem;
}

.nav-support-link small {
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-support-link strong {
  font-size: 0.78rem;
}

.home-hero {
  padding: 1.5rem 0 0;
}

.home-hero__layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 260px;
  gap: 1rem;
  align-items: stretch;
}

.home-category-rail,
.home-promo-card,
.home-hero__main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.045);
}

.home-category-rail {
  display: flex;
  flex-direction: column;
  min-height: 440px;
}

.home-category-rail__heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.home-category-rail__heading > span {
  color: var(--primary);
}

.home-category-rail__list {
  flex: 1;
  display: grid;
  align-content: start;
}

.home-category-rail__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  color: #4b5563;
  font-size: 0.8rem;
  transition: color 0.18s ease, background 0.18s ease, padding 0.18s ease;
}

.home-category-rail__item:hover {
  padding-left: 1.2rem;
  background: var(--surface-tint);
  color: var(--primary);
}

.home-category-rail__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 65%, white);
}

.home-category-rail__item small {
  color: var(--muted-soft);
  font-size: 0.68rem;
}

.home-category-rail__all {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-hero__main,
.home-hero__main .future-hero__banner,
.home-hero__main .future-hero__banner--full {
  min-height: 440px;
  border-radius: 8px;
}

.home-hero__main .future-hero__banner {
  border: 0;
  box-shadow: none;
}

.home-hero__main .hero-slide__image--feature {
  object-fit: cover;
}

.home-promo-stack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
}

.home-promo-card {
  padding: 1.45rem;
}

.home-promo-card--primary {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(145deg, var(--primary), var(--primary-deep));
  color: #fff;
}

.home-promo-card__eyebrow {
  width: fit-content;
  margin-bottom: auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-promo-card h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.home-promo-card p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.55;
}

.home-promo-card--primary a {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-promo-card--soft {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--surface-tint);
}

.home-promo-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
}

.home-promo-card--soft div {
  display: grid;
  gap: 0.3rem;
}

.home-promo-card--soft strong {
  font-size: 0.82rem;
}

.home-promo-card--soft small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.value-strip {
  padding: 1.35rem 0 0;
}

.value-strip__inner.value-strip__inner--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.value-strip__inner--four .value-card {
  min-width: 0;
  padding: 1.25rem 1.1rem;
  border-right: 1px solid var(--line);
}

.value-strip__inner--four .value-card:last-child {
  border-right: 0;
}

.value-strip__inner--four .value-card__icon {
  width: 44px;
  height: 44px;
}

.value-strip__inner--four .value-card__icon svg {
  width: 30px;
  height: 30px;
}

.value-strip__inner--four .value-card h3 {
  font-size: 0.86rem;
}

.value-strip__inner--four .value-card p {
  font-size: 0.72rem;
}

.home-categories,
.home-products {
  padding-top: 4rem;
  padding-bottom: 0;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.home-section-heading > div {
  display: grid;
  gap: 0.35rem;
}

.home-section-heading span {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.home-section-heading > a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-section-heading > a:hover {
  color: var(--primary);
}

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

.home-category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7f1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-category-card--2 {
  background: #f5f6f7;
}

.home-category-card--3 {
  background: color-mix(in srgb, var(--surface-tint) 60%, #fff);
}

.home-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.home-category-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.home-category-card__copy small {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
}

.home-category-card__copy strong {
  max-width: 180px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.home-category-card__copy em {
  margin-top: 0.45rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.home-category-card img,
.home-category-card__art {
  width: 42%;
  max-width: 145px;
  aspect-ratio: 1;
  object-fit: contain;
}

.home-category-card__art {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: color-mix(in srgb, var(--primary) 65%, white);
  font-size: 3.25rem;
  font-weight: 900;
}

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

.product-grid--home-reference .pcard {
  border-radius: 8px;
  box-shadow: none;
}

.product-grid--home-reference .pcard__media {
  border-radius: 4px;
}

.home-products .home-cta-strip {
  margin-top: 2.5rem;
  border-radius: 8px;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 210px minmax(280px, 1fr) auto;
  }

  .header-actions .ghost-button {
    display: none;
  }

  .primary-nav-bar__inner,
  .home-hero__layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .nav-support-link {
    display: none;
  }

  .home-promo-stack {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .home-promo-card--primary {
    min-height: 210px;
  }

  .home-promo-card__eyebrow {
    margin-bottom: 0;
  }

  .home-promo-card h2 {
    margin-top: 1.5rem;
  }

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

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
    min-height: 78px;
  }

  .header-quick-search,
  .primary-nav-bar {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .home-category-rail {
    display: none;
  }

  .home-promo-stack {
    grid-column: auto;
  }

  .value-strip__inner.value-strip__inner--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-strip__inner--four .value-card:nth-child(2) {
    border-right: 0;
  }

  .value-strip__inner--four .value-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .promo-strip__inner {
    grid-template-columns: 1fr auto;
  }

  #promo-center {
    display: none;
  }

  .topbar {
    gap: 0.6rem;
  }

  .topbar .brand__mark {
    width: 58px;
    height: 48px;
    flex-basis: 58px;
  }

  .topbar .brand__copy small {
    display: none;
  }

  .header-actions .button {
    display: none;
  }

  .home-hero {
    padding-top: 0.75rem;
  }

  .home-hero__main,
  .home-hero__main .future-hero__banner,
  .home-hero__main .future-hero__banner--full {
    min-height: 280px;
  }

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

  .home-promo-card--primary {
    min-height: 230px;
  }

  .value-strip__inner.value-strip__inner--four {
    grid-template-columns: 1fr;
  }

  .value-strip__inner--four .value-card,
  .value-strip__inner--four .value-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-strip__inner--four .value-card:last-child {
    border-bottom: 0;
  }

  .home-categories,
  .home-products {
    padding-top: 2.75rem;
  }

  .home-section-heading {
    align-items: flex-start;
  }

  .home-section-heading > a {
    max-width: 110px;
    text-align: right;
    line-height: 1.35;
  }

  .home-category-grid,
  .product-grid--home-reference {
    grid-template-columns: 1fr;
  }

  .home-category-card {
    min-height: 165px;
  }
}

/* SpiceBoss outer canvas — warm orange side treatment inspired by reference */
body {
  background-color: #fff3ea;
  background-image:
    radial-gradient(circle at -2% 13%, transparent 0 92px, rgba(255, 107, 53, 0.13) 93px 95px, transparent 96px),
    radial-gradient(circle at 102% 28%, transparent 0 118px, rgba(229, 85, 39, 0.11) 119px 121px, transparent 122px),
    radial-gradient(circle at 5% 72%, rgba(255, 140, 97, 0.1) 0 2px, transparent 3px),
    radial-gradient(circle at 95% 82%, rgba(255, 107, 53, 0.09) 0 2px, transparent 3px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.7), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.62));
  background-size: auto, auto, 34px 34px, 42px 42px, auto;
  background-attachment: fixed;
}

@media (max-width: 900px) {
  body {
    background-color: #fff7f2;
    background-image:
      radial-gradient(circle at 0 18%, transparent 0 70px, rgba(255, 107, 53, 0.09) 71px 73px, transparent 74px),
      linear-gradient(180deg, rgba(255, 243, 234, 0.92), rgba(255, 248, 243, 0.98));
    background-attachment: scroll;
  }
}

/* ========================================================================== */
/* Efway-reference composition, translated to the SpiceBoss storefront        */
/* ========================================================================== */

body {
  background-color: #fff4e9;
  background-image:
    radial-gradient(circle at -3% 8%, transparent 0 120px, rgba(215, 107, 45, 0.14) 121px 123px, transparent 124px),
    radial-gradient(circle at 103% 23%, transparent 0 150px, rgba(229, 85, 39, 0.12) 151px 153px, transparent 154px),
    radial-gradient(circle at 2% 57%, transparent 0 76px, rgba(255, 140, 97, 0.09) 77px 79px, transparent 80px),
    radial-gradient(circle at 98% 76%, transparent 0 105px, rgba(215, 107, 45, 0.09) 106px 108px, transparent 109px),
    repeating-linear-gradient(38deg, rgba(215, 107, 45, 0.026) 0 1px, transparent 1px 24px),
    linear-gradient(90deg, #fff7f0 0%, #fffdf9 17%, #fffdf9 83%, #fff7f0 100%);
  background-attachment: fixed;
}

.site-header {
  position: relative;
  top: auto;
  width: min(calc(100% - 2rem), var(--container));
  margin: 1.35rem auto 0;
  background: #fff;
  border: 1px solid rgba(215, 107, 45, 0.1);
  box-shadow: 0 8px 30px rgba(63, 41, 25, 0.06);
}

.site-header .container {
  width: 100%;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.promo-strip {
  background: #fff;
  border-bottom: 1px solid #ece9e4;
  color: var(--muted);
}

.promo-strip__inner {
  min-height: 42px;
  color: var(--muted);
  font-size: 0.72rem;
}

#promo-center {
  text-align: right;
}

#promo-right {
  text-align: right;
  padding-left: 1rem;
  border-left: 1px solid #ece9e4;
}

.topbar {
  grid-template-columns: 210px minmax(300px, 1fr) auto;
  gap: 1.4rem;
  min-height: 92px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.topbar .brand__mark {
  width: 82px;
  height: 62px;
  flex-basis: 82px;
}

.topbar .brand__copy strong {
  font-size: 1.15rem;
}

.header-search-shell {
  min-height: 44px;
  border-radius: 999px;
  background: #fff;
}

.header-search-shell__button {
  align-self: center;
  min-width: 94px;
  min-height: 36px;
  margin-right: 4px;
  border-radius: 999px;
  padding: 0 1.3rem;
}

.header-account-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  white-space: nowrap;
}

.header-account-link__icon,
.header-actions .nav-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #ebe8e2;
  border-radius: 50%;
  background: #fbfaf7;
  box-shadow: none;
}

.header-account-link > span:last-child {
  display: grid;
  line-height: 1.05;
}

.header-account-link strong {
  font-size: 0.8rem;
}

.header-account-link small {
  color: var(--muted);
  font-size: 0.64rem;
}

.header-register-link {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
}

.primary-nav-bar {
  border-top: 1px solid #ece9e4;
  border-bottom: 0;
}

.primary-nav-bar__inner {
  display: block;
  min-height: 52px;
}

.nav-dropdown--categories,
.nav-support-link {
  display: none;
}

.primary-nav-bar .main-nav {
  justify-content: center;
  min-height: 52px;
  padding: 0;
  gap: clamp(1.3rem, 3vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.primary-nav-bar .main-nav > a {
  padding: 1rem 0;
  font-size: 0.79rem;
}

.home-hero--reference {
  padding: 1.4rem 0 0;
}

.home-hero--reference .home-hero__main,
.home-hero--reference .future-hero__banner,
.home-hero--reference .future-hero__banner--full {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2.45 / 1;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.home-hero--reference .hero-slide__image--feature {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide--catalogue {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 140, 97, 0.18), transparent 20%),
    radial-gradient(circle at 64% 83%, rgba(215, 107, 45, 0.1), transparent 24%),
    linear-gradient(105deg, #fff 0%, #fffaf6 58%, #fff1e6 100%);
  color: var(--text);
}

.hero-slide__catalogue-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
}

.hero-slide__catalogue-copy > span {
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  font-style: italic;
}

.hero-slide__catalogue-copy h1 {
  margin: 1rem 0;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(2rem, 4.25vw, 4rem);
  line-height: 1.02;
}

.hero-slide__catalogue-copy p {
  max-width: 460px;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  line-height: 1.65;
}

.hero-slide__catalogue-copy a {
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-slide__catalogue-art {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-art-shape {
  position: absolute;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 15px rgba(89, 49, 27, 0.14));
}

.hero-art-shape--truck {
  right: 15%;
  bottom: 16%;
  font-size: clamp(6rem, 13vw, 12rem);
  transform: scaleX(-1);
}

.hero-art-shape--parcel {
  left: 9%;
  top: 24%;
  font-size: clamp(4rem, 8vw, 7rem);
}

.hero-art-shape--sweet {
  right: 7%;
  top: 10%;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  transform: rotate(12deg);
}

.hero-art-shape--drink {
  left: 30%;
  bottom: 6%;
  font-size: clamp(2rem, 4vw, 4rem);
  transform: rotate(-8deg);
}

.hero-art-shape--snack {
  right: 3%;
  bottom: 8%;
  font-size: clamp(2rem, 4vw, 4rem);
  transform: rotate(9deg);
}

.home-category-strip {
  padding: 1.5rem 0 0;
}

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

.home-category-tile {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #eee9e1;
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 15px rgba(58, 44, 34, 0.035);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-category-tile:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 42%, white);
}

.home-category-tile__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--surface-tint);
  font-size: 1.1rem;
}

.home-category-tile strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.home-reference-section--compact {
  padding-top: 2.2rem;
}

.home-reference-heading {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid #dfddd8;
}

.home-reference-heading h2 {
  margin: 0;
  padding-bottom: 0.85rem;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.home-reference-heading > a {
  padding-bottom: 0.85rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
}

.home-product-tabs {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  gap: 1.3rem;
}

.home-product-tabs__item {
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.home-product-tabs__item:hover,
.home-product-tabs__item.is-active {
  border-color: var(--primary);
  color: var(--primary);
}

.product-grid--home-reference,
.product-grid--home-reference.product-grid--shop {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0;
}

.product-grid--home-reference .pcard {
  min-width: 0;
  min-height: 400px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.product-grid--home-reference .pcard::before {
  display: none;
}

.product-grid--home-reference .pcard:hover,
.product-grid--home-reference .pcard:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(61, 41, 24, 0.08);
}

.product-grid--home-reference .pcard__name-row--badge-only {
  order: 0;
}

.product-grid--home-reference .pcard__media {
  order: 1;
  min-height: 220px;
  padding: 1.5rem 1.25rem 0.75rem;
  border: 0;
  background: #fff;
}

.product-grid--home-reference .pcard__img {
  max-height: 205px;
}

.product-grid--home-reference .pcard__img--art {
  position: relative;
  width: 112px;
  height: 150px;
  overflow: hidden;
  border: 1px solid rgba(215, 107, 45, 0.13);
  border-radius: 10px 10px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0 18%, transparent 18%),
    linear-gradient(145deg, #ffd9bd, #ff9f68);
  color: #fff;
  font-size: 2.25rem;
  text-shadow: 0 2px 0 rgba(169, 70, 23, 0.16);
  box-shadow: 0 14px 22px rgba(142, 69, 32, 0.12);
}

.product-grid--home-reference .pcard__img--art::before {
  content: "SPICEBOSS";
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  color: var(--primary-deep);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-align: center;
  text-shadow: none;
}

.product-grid--home-reference .pcard__img--art::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 17px;
  width: 42px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  transform: translateX(-50%);
}

.product-grid--home-reference .pcard:nth-child(2n) .pcard__img--art {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0 18%, transparent 18%),
    linear-gradient(145deg, #ffd46f, #ec7c2e);
}

.product-grid--home-reference .pcard:nth-child(3n) .pcard__img--art {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0 18%, transparent 18%),
    linear-gradient(145deg, #ffc5b1, #e65d43);
}

.product-grid--home-reference .pcard:nth-child(4n) .pcard__img--art {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0 18%, transparent 18%),
    linear-gradient(145deg, #ffdeaa, #d86b2e);
}

.product-grid--home-reference .pcard__name {
  order: 2;
  min-height: 42px;
  margin: 0;
  padding: 0.65rem 1rem 0.25rem;
  overflow: hidden;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
}

.product-grid--home-reference .pcard__price-wrap {
  order: 3;
  margin: 0;
  padding: 0.45rem 1rem 0.6rem;
  border: 0;
  background: #fff;
  text-align: center;
}

.product-grid--home-reference .pcard__uom1-price {
  justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
}

.product-grid--home-reference .pcard__inc-label,
.product-grid--home-reference .pcard__uom2-ref {
  font-size: 0.64rem;
}

.product-grid--home-reference .pcard__footer {
  order: 4;
  justify-content: center;
  padding: 0.6rem 1rem 1.15rem;
  border: 0;
  background: #fff;
}

.product-grid--home-reference .pcard__add-btn,
.product-grid--home-reference .pcard__login-cta {
  flex: 0 1 auto;
  min-height: 34px;
  padding: 0.5rem 0.85rem;
  border: 1px solid #dad7d1;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
}

.product-grid--home-reference .pcard__add-btn:hover,
.product-grid--home-reference .pcard__login-cta:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.product-grid--home-reference .pcard__qty-wrap {
  display: none;
}

.product-grid--best-sellers {
  row-gap: 1rem;
}

.home-split-ads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-split-ad {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  color: #fff;
}

.home-split-ad--recipes {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.2), transparent 24%),
    linear-gradient(135deg, #e7692d, #f5a028);
}

.home-split-ad--drinks {
  background:
    radial-gradient(circle at 78% 16%, rgba(255,255,255,0.12), transparent 26%),
    linear-gradient(135deg, #35342f, #6a4b32);
}

.home-split-ad__copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
}

.home-split-ad__copy small {
  margin-bottom: 0.3rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.7rem;
  font-style: normal;
}

.home-split-ad__copy strong {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 0.98;
}

.home-split-ad__copy em {
  margin-top: 1.35rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.home-split-ad__image {
  position: absolute;
  right: 2rem;
  bottom: -0.75rem;
  width: 42%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0,0,0,0.16));
}

.home-marketing-art {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.26);
  font-size: 9rem;
  font-weight: 900;
}

.home-wide-promo {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 38% 2rem 18%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.7), rgba(255,244,234,0.88)),
    var(--surface-tint);
  color: var(--text);
  text-align: center;
}

.home-wide-promo__eyebrow {
  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-wide-promo > strong {
  margin: 0.55rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.home-wide-promo__button {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.home-wide-promo__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-wide-promo__image {
  position: absolute;
  right: 6%;
  bottom: -4%;
  width: 28%;
  height: 94%;
  object-fit: contain;
}

.home-wide-promo__image--second {
  right: auto;
  left: 3%;
  width: 19%;
  height: 70%;
}

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

.home-story-card {
  overflow: hidden;
  background: #fff;
}

.home-story-card__media {
  height: 185px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-tint);
}

.home-story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-story-card__media span {
  font-size: 4rem;
}

.home-story-card__body {
  padding: 1rem 1rem 1.25rem;
}

.home-story-card__body small {
  color: var(--primary);
  font-size: 0.62rem;
}

.home-story-card__body h3 {
  min-height: 42px;
  margin: 0.4rem 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.home-story-card__body p {
  min-height: 74px;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.65;
}

.home-story-card__body > a {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border: 1px solid #dedbd5;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
}

.home-reference-section--about {
  padding-top: 4.4rem;
}

.home-about-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 390px;
  background: #fff;
}

.home-about-card__visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 22% 30%, rgba(255,255,255,0.6), transparent 24%),
    linear-gradient(135deg, #f0b384, #d45f2d);
}

.home-about-card__image {
  width: 48%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(79,39,17,0.18));
}

.home-about-card__image--small {
  width: 32%;
  height: 62%;
}

.home-about-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.home-about-card__copy > span {
  color: var(--primary);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-about-card__copy h2 {
  margin: 0.65rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.92;
}

.home-about-card__copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.home-about-card__copy a {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
}

.home-benefits {
  padding: 4.5rem 0;
}

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

.home-benefits article {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.home-benefits article > span {
  color: var(--primary);
  font-size: 1.7rem;
}

.home-benefits strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}

.home-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.55;
}

.home-newsletter {
  overflow: hidden;
  background: #fff;
  border-top: 1px solid rgba(215,107,45,0.1);
  border-bottom: 1px solid rgba(215,107,45,0.1);
}

.home-newsletter__inner {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
}

.home-newsletter__inner > div {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
}

.home-newsletter h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-newsletter p {
  margin: 0.6rem 0 1.35rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.home-newsletter__form {
  display: flex;
  padding: 4px;
  border: 1px solid #e7e3dc;
  border-radius: 999px;
  background: #fff;
}

.home-newsletter__form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0.7rem 1rem;
  background: transparent;
  font-size: 0.72rem;
}

.home-newsletter__form button {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-newsletter__art {
  position: absolute;
  top: 50%;
  color: color-mix(in srgb, var(--primary) 50%, white);
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: 0.25em;
  transform: translateY(-50%) rotate(-8deg);
  opacity: 0.48;
}

.home-newsletter__art--left {
  right: calc(50% + 330px);
}

.home-newsletter__art--right {
  left: calc(50% + 330px);
  transform: translateY(-50%) rotate(8deg);
}

.site-footer {
  margin-top: 0;
  padding-top: 3.5rem;
  background: #fff;
  color: var(--text);
}

.footer-grid {
  grid-template-columns: 1.45fr repeat(4, minmax(0, 0.8fr));
  gap: 2rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--text);
}

.site-footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid p,
.footer-note {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.65;
}

.footer-category-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top-color: #ebe8e2;
  color: var(--muted);
  font-size: 0.68rem;
}

@media (max-width: 1080px) {
  .header-register-link {
    display: none;
  }

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

  .product-grid--home-reference,
  .product-grid--home-reference.product-grid--shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
  }

  .topbar {
    grid-template-columns: 1fr auto auto;
    min-height: 76px;
  }

  .header-account-link,
  .header-actions .nav-icon--cart {
    display: none;
  }

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

  .home-split-ads,
  .home-about-card {
    grid-template-columns: 1fr;
  }

  .home-about-card__visual {
    min-height: 320px;
  }

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

@media (max-width: 640px) {
  .promo-strip__inner {
    grid-template-columns: 1fr auto;
  }

  #promo-right {
    border-left: 0;
  }

  .home-hero--reference {
    padding-top: 0.75rem;
  }

  .home-hero--reference .home-hero__main,
  .home-hero--reference .future-hero__banner,
  .home-hero--reference .future-hero__banner--full {
    aspect-ratio: 1.65 / 1;
  }

  .hero-slide--catalogue {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 1.5rem;
  }

  .hero-slide__catalogue-copy {
    max-width: 72%;
  }

  .hero-slide__catalogue-copy p {
    display: none;
  }

  .hero-slide__catalogue-art {
    position: absolute;
    inset: 0 0 0 42%;
    width: auto;
    opacity: 0.72;
  }

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

  .home-category-tile {
    min-height: 64px;
    padding: 0.7rem;
  }

  .home-reference-section {
    padding-top: 2.75rem;
  }

  .product-grid--home-reference,
  .product-grid--home-reference.product-grid--shop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .product-grid--home-reference .pcard {
    min-height: 330px;
  }

  .product-grid--home-reference .pcard__media {
    min-height: 155px;
    padding: 0.8rem;
  }

  .product-grid--home-reference .pcard__img {
    max-height: 145px;
  }

  .home-split-ads,
  .home-story-grid {
    grid-template-columns: 1fr;
  }

  .home-split-ad {
    min-height: 220px;
  }

  .home-wide-promo {
    min-height: 230px;
    padding: 1.5rem 30% 1.5rem 5%;
    align-items: flex-start;
    text-align: left;
  }

  .home-wide-promo__image--second {
    display: none;
  }

  .home-about-card__visual {
    min-height: 260px;
  }

  .home-about-card__copy {
    padding: 2.2rem 1.5rem;
  }

  .home-benefits {
    padding: 3rem 0;
  }

  .home-benefits__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-newsletter__art {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
