/* "Olive & Linen" theme, loaded after style.css on every page.
   Warm linen background, olive green for buttons/footer, a gold serif
   wordmark, Bricolage Grotesque headings with Instrument Serif italic accent
   words (the <em> in a heading), and Instrument Sans body text.
   Most of the site picks this up through the token overrides below; the
   header, footer, homepage (.hx-*) and product cards are restyled here. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-latin-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-variable.woff2') format('woff2');
}

:root {
  /* off-white page; tiles and panels stay warm linen */
  --linen: #FBFBF8;
  --linen-deep: #F1EBE1;
  --olive: #4A5A3E;
  --olive-dark: #3C4A33;
  --olive-ink: #2F3A29;
  --sage: #E3E6DA;
  --gold-leaf: #B48A4E;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --bs-body-font-family: var(--sans);
  --bs-font-sans-serif: var(--sans);

  /* existing token names, new values */
  --ivory-blush: var(--linen);
  --paper: #FFFFFF;
  --tea-pink: var(--olive);
  --plum: var(--olive-ink);
  --dusty-rose: #C9B48F;
  --sand: var(--linen-deep);
  --gold: #D2A24C;
  --muted: #74786C;
  --muted-body: #55594E;
  --hairline: #E7E0D4;
  --hairline-strong: #D9D0C1;
  --ink-hover: var(--olive-dark);
  --success-dot: var(--olive);

  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --shadow-soft: 0 1px 2px rgba(60, 52, 38, 0.05), 0 14px 30px -16px rgba(60, 52, 38, 0.22);
  --shadow-soft-lg: 0 2px 6px rgba(60, 52, 38, 0.06), 0 22px 40px -24px rgba(60, 52, 38, 0.3);
  --shadow-lift: 0 1px 2px rgba(60, 52, 38, 0.05), 0 30px 56px -28px rgba(60, 52, 38, 0.34);
}

body {
  background-color: var(--linen);
  color: var(--olive-ink);
}

h1, h2, h3, .display-serif {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--olive-ink);
}

h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.1em;
  line-height: 0.9;
  color: var(--gold-leaf);
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

.sx-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-leaf);
}

.sx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  border: 1px solid var(--olive);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sx-btn:hover,
.sx-btn:focus-visible {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  color: #fff;
}

.sx-btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

.sx-btn-outline-light:hover,
.sx-btn-outline-light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--olive-dark);
}

.btn-plum,
.btn-hero-light {
  border-radius: 999px;
}



.sx-sprig {
  color: currentColor;
  pointer-events: none;
}

/* ---------- Top bar ---------- */
.announcement-bar.sx-topbar {
  background: var(--olive-dark);
  color: #EDEBE3;
  padding: 0.5rem 0;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.sx-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sx-topbar .announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .sx-topbar-inner {
    justify-content: center;
  }
  .sx-topbar .announcement-item:not(:first-child) {
    display: none;
  }
}

/* ---------- Navbar ---------- */
.navbar-shopxtra {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 1200px) {
  .navbar-links-collapse .navbar-links-row {
    padding-left: 1.5rem;
  }
}

.navbar-links-row a {
  color: var(--olive-ink);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-radius: 0;
  padding: 0.4rem 0.55rem;
}

.navbar-links-row a:hover,
.navbar-links-row a:focus-visible {
  background: none;
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.nav-dropdown-caret {
  color: var(--olive-ink);
}

.nav-dropdown-trigger a {
  padding-right: 0.1rem;
}

.nav-icon-btn,
.nav-bag-btn {
  background: none;
  border: none;
  color: var(--olive-ink);
  border-radius: 50%;
}

.nav-icon-btn:hover,
.nav-bag-btn:hover {
  background: var(--linen-deep);
  color: var(--olive);
  border: none;
}

#cart-count-badge {
  top: 0;
  right: -2px;
  background: var(--olive);
  color: #fff;
  border: 2px solid #fff;
  font-size: 0.6rem;
  min-width: 17px;
  height: 17px;
}

/* ---------- Product cards (site-wide) ---------- */
.product-card:hover {
  transform: translateY(-3px);
}

.product-image {
  background: var(--linen-deep);
  border-radius: var(--radius-sm);
}

.product-card .product-body {
  padding: 0.85rem 0.25rem 0.75rem;
  gap: 0.3rem;
}

.product-card .product-name {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--olive-ink);
}

.product-card-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olive-ink);
  font-variant-numeric: tabular-nums;
}

.product-card-price .compare-price {
  margin: 0 0.45rem 0 0;
  font-weight: 400;
}

.product-card .quick-add-btn {
  align-self: center;
  width: auto;
  min-width: 70%;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--olive);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-card .quick-add-btn:hover:not(:disabled) {
  background: var(--olive-dark);
}

.product-card-badge {
  background: var(--olive);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- Homepage ---------- */
.hx {
  background: var(--linen);
}

.hx-section {
  padding: 3.25rem 0;
}

.hx-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.hx-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.hx-head h2::before,
.hx-head h2::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--dusty-rose);
}

.hx-head p {
  margin: 0.5rem 0 0;
  color: var(--muted-body);
  font-size: 0.82rem;
}

/* hero: copy left, square photo right */
.hx-hero {
  position: relative;
  overflow: hidden;
}

.hx-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hx-hero-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--linen-deep);
}

.hx-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.hx-hero-copy {
  max-width: 470px;
}

.hx-hero h1 {
  font-size: clamp(2.8rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  margin: 1rem 0 1.25rem;
  color: var(--olive-dark);
}

.hx-hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.3rem);
  letter-spacing: -0.035em;
}

.hx-hero-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-body);
  max-width: 36ch;
  margin-bottom: 1.6rem;
}

.hx-hero-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  gap: 1.9rem;
}

.hx-hero-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--olive-ink);
}

.hx-hero-point-icon svg {
  width: 32px;
  height: 32px;
  color: var(--olive);
}

@media (max-width: 767.98px) {
  .hx-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 1.25rem;
  }
  .hx-hero-media {
    order: -1;
  }
  .hx-hero-points {
    gap: 0.9rem;
    justify-content: space-between;
  }
}

/* categories */
.hx-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.hx-category {
  display: flex;
  flex-direction: column;
  background: var(--linen-deep);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--olive-ink);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hx-category:hover {
  color: var(--olive-ink);
}

.hx-category-media {
  aspect-ratio: 1 / 0.98;
  overflow: hidden;
}

.hx-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hx-category:hover .hx-category-media img {
  transform: scale(1.05);
}

.hx-category-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem 1.1rem;
  gap: 0.25rem;
  flex: 1;
}

.hx-category-name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hx-category-desc {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted-body);
  max-width: 20ch;
}

.hx-category-arrow {
  margin-top: auto;
  padding-top: 0.6rem;
}

.hx-category-arrow svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 1px solid var(--olive-ink);
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hx-category:hover .hx-category-arrow svg {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

@media (max-width: 991.98px) {
  .hx-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .hx-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  /* five tiles in two columns: the last one takes the full row */
  .hx-category:last-child {
    grid-column: 1 / -1;
  }
  .hx-category:last-child .hx-category-media {
    aspect-ratio: 2 / 1;
  }
}

/* outlined circle behind an icon */
.hx-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.hx-ring svg {
  width: 24px;
  height: 24px;
}

.hx-hero-points .hx-ring {
  color: var(--olive);
  width: 34px;
  height: 34px;
}

.hx-hero-points .hx-ring svg {
  width: 20px;
  height: 20px;
}

/* nature banner */
.hx-nature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #4C603C 0%, #6E8458 40%, #6E8458 100%);
  color: #F3F1EA;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.hx-nature-media {
  position: absolute;
  inset: 0 0 0 40%;
}

.hx-nature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hx-nature-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #6E8458 0%, rgba(110, 132, 88, 0.6) 25%, rgba(110, 132, 88, 0) 55%);
}

.hx-nature-inner {
  position: relative;
  z-index: 1;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.hx-nature .sx-eyebrow {
  color: #E9E4D3;
}

.hx-nature h2 em,
.sx-footer h2 em {
  color: #F1E3C2;
}

.hx-nature h2 {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.08;
  margin: 0.6rem 0 1.4rem;
}

.hx-nature-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2.25rem;
}

.hx-nature-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.35;
}

/* why shopxtra */
.hx-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 1.75rem;
}

.hx-why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--olive-ink);
}

.hx-why-item + .hx-why-item {
  border-left: 1px solid var(--hairline-strong);
}

.hx-why-item svg {
  width: 38px;
  height: 38px;
  color: var(--olive-ink);
}

/* two story cards */
.hx-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.hx-duo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 250px;
  background: var(--linen-deep);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--olive-ink);
}

.hx-duo-card:hover {
  color: var(--olive-ink);
}

.hx-duo-copy {
  position: relative;
  z-index: 1;
  padding: 1.75rem 0 1.75rem 1.75rem;
}

.hx-duo-copy h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1;
  margin: 0.6rem 0 0.7rem;
  color: var(--olive-dark);
}

.hx-duo-copy p {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 22ch;
  margin-bottom: 1.1rem;
  color: var(--muted-body);
}

.hx-duo-copy .sx-btn {
  white-space: nowrap;
  font-size: 0.66rem;
  padding: 0.6rem 1.1rem;
}

.hx-duo-card:hover .sx-btn {
  background: var(--olive-dark);
}

.hx-duo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hx-duo-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 991.98px) {
  .hx-duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hx-nature {
    flex-direction: column;
    align-items: stretch;
  }
  .hx-nature-media {
    position: relative;
    inset: auto;
    height: 200px;
  }
  .hx-nature-media::before {
    background: linear-gradient(0deg, #6E8458 0%, rgba(110, 132, 88, 0) 50%);
  }
  .hx-nature-points {
    gap: 1rem;
    justify-content: space-between;
  }
  .hx-why-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.25rem;
  }
  .hx-why-item:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 479.98px) {
  .hx-duo-card {
    grid-template-columns: 1.35fr 0.65fr;
  }
  .hx-duo-copy {
    padding: 1.4rem 0.9rem 1.4rem 1.25rem;
  }
  .hx-duo-copy .sx-btn {
    white-space: normal;
    font-size: 0.62rem;
    padding: 0.55rem 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .hx-head h2 {
    gap: 0.75rem;
    font-size: 0.95rem;
  }
  .hx-head h2::before,
  .hx-head h2::after {
    width: 24px;
  }
}

/* reviews */
.hx-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hx-review {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  margin: 0;
  box-shadow: 0 1px 2px rgba(60, 52, 38, 0.04);
}

.hx-stars {
  color: #D99A3A;
  letter-spacing: 3px;
  font-size: 0.9rem;
}

.hx-star-off {
  color: var(--hairline-strong);
}

.hx-review blockquote {
  margin: 0.7rem 0 0.9rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--olive-ink);
}

.hx-review figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--olive-ink);
}

@media (max-width: 767.98px) {
  .hx-review-grid {
    grid-template-columns: 1fr;
  }
}

/* faq */
.hx-faq {
  padding-top: 1rem;
}

.hx-faq .faq-accordion details {
  background: #fff;
  border-color: var(--hairline);
  border-radius: var(--radius-md);
}

/* ---------- Community band ---------- */
.sx-community {
  position: relative;
  overflow: hidden;
  background: #EDE4D5;
  padding: 2.4rem 0;
}

.sx-community-sprig {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  width: 120px;
  height: 120px;
  color: rgba(60, 74, 51, 0.6);
}

.sx-community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-left: clamp(1rem, 8vw, 7rem);
}

.sx-community h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin: 0.3rem 0 0.2rem;
}

.sx-community p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted-body);
}

.sx-newsletter {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 4px;
  max-width: 460px;
}

.sx-newsletter input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  color: var(--olive-ink);
}

.sx-newsletter input:focus {
  outline: none;
}

.sx-newsletter:focus-within {
  box-shadow: 0 0 0 2px var(--olive);
}

.sx-newsletter button {
  border: none;
  border-radius: 999px;
  background: var(--olive-dark);
  color: #fff;
  padding: 0.55rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.sx-newsletter button:hover {
  background: var(--olive-ink);
}

#newsletter-msg:not(:empty) {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

@media (max-width: 767.98px) {
  .sx-community-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    text-align: center;
    padding-left: 12px;
  }
  .sx-newsletter {
    margin: 0 auto;
  }
  .sx-community-sprig {
    display: none;
  }
}

/* ---------- Footer ---------- */
.sx-footer {
  position: relative;
  background: var(--olive-dark);
  color: #D9DCCF;
  padding: 3rem 0 1.25rem;
  font-size: 0.8rem;
}

.sx-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.sx-footer-logo {
  display: inline-block;
}

/* the logo's wordmark is near-black, so it needs a light halo on the olive footer */
.sx-footer .logo-img-footer {
  height: 58px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
          drop-shadow(0 0 7px rgba(255, 255, 255, 0.45));
}

.sx-footer-brand p {
  margin: 0.9rem 0 1.1rem;
  max-width: 30ch;
  line-height: 1.6;
}

.sx-footer-social {
  display: flex;
  gap: 0.9rem;
}

.sx-footer-social a {
  color: #EDEFE6;
}

.sx-footer-social a:hover {
  color: #CFAE78;
}

.sx-footer h4 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.8rem;
}

.sx-footer-col a {
  display: block;
  color: #D9DCCF;
  padding: 0.15rem 0;
}

.sx-footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.sx-footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.6rem;
}

.sx-footer-contact p a {
  display: inline;
  padding: 0;
}

.sx-footer-contact svg {
  flex-shrink: 0;
}

.sx-footer-sprig {
  position: absolute;
  right: 2rem;
  bottom: 2.6rem;
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.22);
}

.sx-footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 0.74rem;
  color: #B9BDAE;
}

@media (max-width: 991.98px) {
  .sx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sx-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 479.98px) {
  .sx-footer-grid {
    grid-template-columns: 1fr;
  }
  .sx-footer-sprig {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-category,
  .hx-category-media img,
  .product-card {
    transition: none;
  }
  .hx-category:hover,
  .hx-category:hover .hx-category-media img {
    transform: none;
  }
}

/* ---------- Hover motion ---------- */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* nav links: underline grows from the left */
.navbar-links-row a {
  position: relative;
  transition: color 0.25s ease;
}

.navbar-links-row > li > a::after,
.nav-dropdown-trigger > a::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.navbar-links-row a:hover,
.navbar-links-row a:focus-visible {
  text-decoration: none;
}

.navbar-links-row > li > a:hover::after,
.navbar-links-row > li > a:focus-visible::after,
.nav-dropdown-trigger > a:hover::after,
.nav-dropdown-trigger > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-icon-btn,
.nav-bag-btn {
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out);
}

.nav-icon-btn:hover,
.nav-bag-btn:hover {
  transform: translateY(-2px);
}

/* buttons: lift, light sweep, arrow nudges forward */
.sx-btn,
.quick-add-btn,
.btn-plum,
.sx-newsletter button {
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.sx-btn::before,
.quick-add-btn::before,
.btn-plum::before,
.sx-newsletter button::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.sx-btn:hover::before,
a:hover > .sx-btn::before,
.quick-add-btn:hover:not(:disabled)::before,
.btn-plum:hover::before,
.sx-newsletter button:hover::before {
  left: 120%;
}

.sx-btn:hover,
.hx-duo-card:hover .sx-btn,
.quick-add-btn:hover:not(:disabled),
.btn-plum:hover,
.sx-newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(47, 58, 41, 0.55);
}

.sx-btn span[aria-hidden],
.quick-add-btn-icon {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}

.sx-btn:hover span[aria-hidden],
.hx-duo-card:hover .sx-btn span[aria-hidden] {
  transform: translateX(4px);
}

.quick-add-btn:hover:not(:disabled) .quick-add-btn-icon {
  transform: translateX(-2px) rotate(-12deg) scale(1.1);
}

/* product cards: lift, soft shadow, slow image zoom */
.product-card {
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-image {
  transition: box-shadow 0.4s ease;
}

.product-card:hover .product-image {
  box-shadow: 0 22px 36px -22px rgba(60, 52, 38, 0.45);
}

.product-image img {
  transition: transform 0.7s var(--ease-out), opacity 0.35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-card .product-name {
  transition: color 0.2s ease;
}

.product-card:hover .product-name {
  color: var(--olive);
}

/* category tiles: lift, zoom, arrow fills and turns */
.hx-category {
  transition: box-shadow 0.4s ease, translate 0.4s var(--ease-out);
}

.hx-category:hover {
  translate: 0 -6px;
  box-shadow: 0 24px 40px -26px rgba(60, 52, 38, 0.5);
}

.hx-category-media img {
  transition: transform 0.8s var(--ease-out);
}

.hx-category:hover .hx-category-media img {
  transform: scale(1.08);
}

.hx-category-arrow svg {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.4s var(--ease-out);
}

.hx-category:hover .hx-category-arrow svg {
  transform: rotate(-45deg);
}

/* story cards */
.hx-duo-card {
  transition: translate 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.hx-duo-card:hover {
  translate: 0 -4px;
  box-shadow: 0 26px 44px -30px rgba(60, 52, 38, 0.55);
}

.hx-duo-card img {
  transition: transform 0.9s var(--ease-out);
}

.hx-duo-card:hover img {
  transform: scale(1.07);
}

/* icon rows: icons hop, rings fill */
.hx-why-item svg,
.hx-value svg,
.hx-hero-points svg,
.hx-ring {
  transition: transform 0.4s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
}

.hx-why-item:hover svg,
.hx-hero-points li:hover svg {
  transform: translateY(-4px) scale(1.08);
}

.hx-why-item:hover {
  color: var(--olive);
}

.hx-nature-points li:hover .hx-ring {
  background: #fff;
  color: var(--olive);
  transform: translateY(-3px);
}

.hx-hero-points li:hover .hx-ring {
  background: var(--olive);
  color: #fff;
}

/* reviews */
.hx-review {
  transition: translate 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.hx-review:hover {
  translate: 0 -5px;
  box-shadow: 0 22px 40px -26px rgba(60, 52, 38, 0.4);
}

.hx-review .hx-stars {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}

.hx-review:hover .hx-stars {
  transform: scale(1.08);
  transform-origin: left center;
}

/* FAQ rows */
.faq-accordion details {
  transition: box-shadow 0.3s ease, translate 0.3s var(--ease-out);
}

.faq-accordion details:hover {
  translate: 3px 0;
  box-shadow: 0 10px 24px -18px rgba(60, 52, 38, 0.4);
}

/* footer */
.sx-footer-col a {
  transition: color 0.2s ease, transform 0.3s var(--ease-out);
}

.sx-footer-col a:hover {
  text-decoration: none;
  transform: translateX(4px);
}

.sx-footer-social a {
  display: inline-flex;
  transition: color 0.2s ease, transform 0.3s var(--ease-out);
}

.sx-footer-social a:hover {
  transform: translateY(-3px) scale(1.1);
}

.sx-footer-logo img {
  transition: transform 0.4s var(--ease-out);
}

.sx-footer-logo:hover img {
  transform: rotate(-6deg) scale(1.05);
}

.navbar-brand .logo-img {
  transition: height 0.3s ease, transform 0.4s var(--ease-out);
}

.navbar-brand:hover .logo-img {
  transform: translateX(-6.7%) rotate(-5deg) scale(1.05);
}

@media (hover: none) {
  .product-card:hover,
  .hx-category:hover,
  .hx-duo-card:hover,
  .hx-review:hover,
  .faq-accordion details:hover {
    translate: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
  .sx-btn::before,
  .quick-add-btn::before,
  .btn-plum::before,
  .sx-newsletter button::before {
    display: none;
  }
}
