/**
 * Clover Global brand layer for SHOPLINE OS 3.0 (Bottle fork).
 * Aligns with DESIGN.md + app/app.css tokens — complements theme.config color_schemes.
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  /*
   * Bottle / base/index.css typography is driven by theme settings → --sort-* variables.
   * Override here so every .body1–.body6, .title0–.title6, title-font-bold, and body {}
   * use Clover stacks regardless of legacy admin font picks (e.g. Brygada 1918).
   */
  --sort-title-font: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sort-body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sort-title-font-style: normal;
  --sort-body-style: normal;
  --sort-title-font-weight: 600;
  --sort-body-weight: 400;
  --sort-body-weight-bold: 600;
  --sort-title-text-transform: none;
  --sort-title-letter-spacing: -0.02em;
  --sort-body-letter-spacing: 0.01em;

  --clover-navy: 4, 51, 130;
  --clover-navy-dark: 2, 36, 99;
  --clover-navy-light: 230, 237, 248;
  --clover-azure: 18, 89, 210;
  --clover-azure-dark: 14, 71, 168;
  --clover-azure-light: 232, 240, 251;
  --clover-tertiary: 241, 247, 255;
  --warm-amber: 244, 185, 66;
  --brand-dark: 11, 26, 56;
  --brand-text: 31, 42, 68;
  --brand-muted: 107, 119, 144;
  --brand-border: 225, 230, 238;
  --brand-surface: 247, 248, 251;
  --clover-surface-alt: 242, 246, 252;
  --success: 22, 163, 74;
  --warning: 217, 119, 6;
  --error: 220, 38, 38;
  --font-body: var(--sort-body-font);
  --clover-radius: 12px;
  --clover-radius-lg: 24px;
  --clover-shadow: 0 18px 40px rgba(11, 26, 56, 0.10);
  --clover-shadow-sm: 0 10px 24px rgba(11, 26, 56, 0.08);
  --clover-shadow-md: 0 18px 44px rgba(11, 26, 56, 0.13);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Prevent any section's full-bleed breakout from creating a horizontal scrollbar.
     `clip` (vs hidden) does not establish a scroll container, so position: sticky on the
     header continues to work. */
  overflow-x: clip;
}

body {
  font-family: var(--sort-body-font);
  color: rgb(var(--brand-text));
  background: #fff;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sort-title-font);
  color: rgb(var(--brand-dark));
  letter-spacing: -0.02em;
}

.clover-home,
.clover-home *,
.clover-header,
.clover-header *,
.clover-footer,
.clover-footer *,
.clover-commerce-support,
.clover-commerce-support * {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.button,
button,
input,
select,
textarea {
  font-family: inherit;
}

.announcement-bar__group-item,
.announcement-bar__group-item *,
.announcement-bar__button {
  font-family: var(--font-body);
}

.announcement-bar__group-item-inner .rte,
.announcement-bar__group-item-inner .rte p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .01em;
}

.page-width,
.clover-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .page-width,
  .clover-container {
    padding-inline: 24px;
  }
}

.clover-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.clover-button:hover {
  transform: translateY(-1px);
}

.clover-button--primary {
  color: #fff !important;
  background: rgb(var(--clover-navy));
}

.clover-button--primary:hover {
  color: #fff !important;
  background: rgb(var(--clover-navy-dark));
  box-shadow: 0 14px 30px rgba(4, 51, 130, .20);
}

.clover-button--secondary {
  color: rgb(var(--clover-navy));
  background: #fff;
  border: 1px solid rgb(var(--clover-navy));
}

.clover-button--amber {
  color: rgb(var(--brand-dark));
  background: rgb(var(--warm-amber));
}

/* Header parity with Clover-Global-UI-v1 */
.clover-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-block-end: 1px solid rgb(var(--brand-border));
  backdrop-filter: blur(10px);
}

.clover-header__bar {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.clover-header__logo {
  display: block;
  text-decoration: none;
}

.clover-header__logo-img {
  display: block;
  height: 36px;
  width: auto;
}

.clover-header__logo-img--mark {
  display: none;
  height: 40px;
}

.clover-header__menu-btn {
  display: none;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgb(var(--brand-text));
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.clover-header__menu-btn:hover {
  background: rgb(var(--brand-surface));
}

.clover-header__menu-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.clover-header__menu-icon::before,
.clover-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.clover-header__menu-icon::before {
  top: -7px;
}

.clover-header__menu-icon::after {
  top: 7px;
}

.clover-header__backdrop {
  display: none;
}

@media (max-width: 1023px) {
  .clover-header.clover-header--drawer-open {
    z-index: 1100;
  }

  .clover-header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(var(--clover-navy), 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .clover-header--drawer-open .clover-header__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .clover-header__bar {
    justify-content: flex-end;
    gap: 10px;
    padding-inline-start: 48px;
    z-index: 1120;
    isolation: isolate;
  }

  /* Logo follows menu in DOM and is absolutely centred — without z-index it paints on top and steals taps. */
  .clover-header__menu-btn {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 0;
    z-index: 2;
    display: inline-flex;
    transform: translateY(-50%);
  }

  .clover-header__actions {
    position: relative;
    z-index: 2;
  }

  .clover-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
  }

  .clover-header__logo-img--full {
    display: none;
  }

  .clover-header__logo-img--mark {
    display: block;
    height: 40px;
    width: auto;
  }

  .clover-header--drawer-open .clover-header__menu-btn {
    z-index: 1130;
  }

  .clover-header__nav {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    z-index: 1110;
    box-sizing: border-box;
    width: min(22rem, calc(100vw - 2rem));
    height: 100dvh;
    max-height: 100dvh;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4.5rem 1.25rem 1.5rem;
    margin: 0;
    border-inline-end: 1px solid rgb(var(--brand-border));
    background: #fff;
    box-shadow: 8px 0 32px rgba(11, 26, 56, 0.12);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.22s ease, visibility 0.22s ease;
    visibility: hidden;
    pointer-events: none;
  }

  .clover-header__nav::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .clover-header--drawer-open .clover-header__nav {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .clover-header__nav > a {
    padding: 0.875rem 0;
    border-block-end: 1px solid rgb(var(--brand-border));
    font-weight: 600;
    font-size: 15px;
  }

  .clover-header__nav-item {
    border-block-end: 1px solid rgb(var(--brand-border));
  }

  .clover-header__nav-link--dropdown {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    font-weight: 600;
    font-size: 15px;
  }

  .clover-header__mega {
    position: static;
    inset: auto;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .clover-header__nav-item--open .clover-header__mega {
    display: block;
  }

  .clover-header__mega-inner,
  .clover-header__mega-inner--brands {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 16px;
    margin-block-end: 0.75rem;
  }

  .clover-header__nav-item--open .clover-header__chevron {
    transform: translateY(1px) rotate(225deg);
  }
}

.clover-header__nav {
  align-items: center;
  gap: 24px;
  color: rgb(var(--brand-text));
  font-size: 15px;
  font-weight: 500;
}

.clover-header__nav a,
.clover-header__nav-link {
  text-decoration: none;
  transition: color .16s ease;
}

.clover-header__nav-link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.clover-header__chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}

.clover-header__nav a:hover,
.clover-header__nav-item:focus-within > .clover-header__nav-link {
  color: rgb(var(--clover-azure));
}

.clover-header__nav-item {
  position: relative;
}

.clover-header__nav-item:hover .clover-header__chevron,
.clover-header__nav-item:focus-within .clover-header__chevron {
  transform: translateY(1px) rotate(225deg);
}

.clover-header__mega {
  position: absolute;
  inset-block-start: calc(100% + 18px);
  inset-inline-start: 50%;
  width: min(1040px, calc(100vw - 48px));
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .16s ease, transform .16s ease;
}

.clover-header__mega::before {
  content: "";
  position: absolute;
  inset-block-start: -22px;
  inset-inline: 0;
  height: 22px;
}

.clover-header__nav-item:hover .clover-header__mega,
.clover-header__nav-item:focus-within .clover-header__mega {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
}

.clover-header__mega-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 24px;
  border: 1px solid rgb(var(--brand-border));
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(11, 26, 56, .16);
  backdrop-filter: blur(12px);
}

.clover-header__mega-inner--brands {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.clover-header__mega-feature {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(var(--clover-navy)), rgb(var(--clover-azure)));
  color: #fff;
}

.clover-header__mega-eyebrow {
  display: block;
  margin-block-end: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.clover-header__mega-feature strong {
  display: block;
  margin-block-end: 10px;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

.clover-header__mega-feature p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  line-height: 1.55;
}

.clover-header__mega-feature a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: rgb(var(--clover-navy));
  font-size: 13px;
  font-weight: 800;
}

.clover-header__mega-group {
  display: grid;
  align-content: start;
  gap: 9px;
}

.clover-header__mega-group span {
  color: rgb(var(--clover-azure));
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.clover-header__mega-group a {
  display: block;
  padding: 7px 0;
  color: rgb(var(--brand-text));
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.clover-header__mega-group a:hover,
.clover-header__mega-group a:focus {
  color: rgb(var(--clover-azure));
}

@media (max-width: 1023px) {
  .clover-header .clover-header__mega {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
    display: none;
  }

  .clover-header .clover-header__mega::before {
    content: none;
  }

  .clover-header .clover-header__nav-item.clover-header__nav-item--open .clover-header__mega {
    display: block;
    transform: none;
  }

  .clover-header .clover-header__mega-inner,
  .clover-header .clover-header__mega-inner--brands {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.875rem;
    padding: 0.875rem;
    margin: 0 0 0.875rem;
    border-radius: 16px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .clover-header .clover-header__mega-feature {
    padding: 1rem;
    border-radius: 14px;
  }

  .clover-header .clover-header__mega-feature strong {
    font-size: 16px;
  }

  .clover-header .clover-header__mega-feature p {
    margin-block-end: 0.875rem;
    font-size: 12px;
  }

  .clover-header .clover-header__mega-group {
    gap: 0;
    padding-block-start: 0.25rem;
  }

  .clover-header .clover-header__mega-group + .clover-header__mega-group {
    border-block-start: 1px solid rgb(var(--brand-border));
    padding-block-start: 0.75rem;
  }

  .clover-header .clover-header__mega-group a {
    padding: 0.55rem 0;
    font-size: 13px;
  }
}

.clover-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clover-header__icon {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: rgb(var(--brand-text));
  text-decoration: none;
  transition: background-color .16s ease;
}

.clover-header__icon:hover {
  background: rgb(var(--brand-surface));
}

.clover-header__badge {
  position: absolute;
  inset-block-start: -2px;
  inset-inline-end: -2px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--clover-navy));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .clover-header__bar {
    position: static;
    padding-inline-start: 0;
    justify-content: space-between;
    isolation: auto;
  }

  .clover-header__menu-btn {
    display: none;
  }

  .clover-header__logo {
    position: static;
    transform: none;
    z-index: auto;
  }

  .clover-header__actions {
    position: static;
    z-index: auto;
  }

  .clover-header__logo-img--full {
    display: block;
  }

  .clover-header__logo-img--mark {
    display: none;
  }

  .clover-header__backdrop {
    display: none !important;
  }

  .clover-header__nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    display: flex;
  }

  .clover-header__nav > a {
    padding: 0;
    border: none;
    font-weight: 500;
  }

  .clover-header__nav-item {
    border: none;
  }

  .clover-header__nav-link--dropdown {
    display: inline-flex;
    width: auto;
    padding: 0;
    font-weight: 500;
  }

  .clover-header__mega {
    display: block;
  }
}

/* Home parity */
.clover-hero {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .clover-hero {
    padding: 96px 0;
  }
}

.clover-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.clover-hero__title {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgb(var(--clover-navy));
}

.clover-hero__body {
  max-width: 680px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.58;
  color: rgb(var(--brand-text));
}

.clover-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block-end: 32px;
}

.clover-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgb(var(--brand-text));
  font-size: 14px;
}

.clover-check {
  color: rgb(var(--success));
  font-weight: 700;
}

.clover-hero__image-card {
  position: relative;
  border: 1px solid rgb(var(--brand-border));
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(230,237,248,.98), rgba(232,240,251,.92));
  box-shadow: var(--clover-shadow);
}

.clover-hero__image-card > img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 236px;
  object-fit: cover;
}

.clover-hero__image-content {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  background: rgb(var(--clover-navy));
  color: #fff;
}

.clover-hero__image-content strong {
  display: block;
  margin-block-end: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.clover-hero__image-content p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.55;
}

/* Desktop hero: image fills the whole section; copy sits over tint (same idea as stacked mobile). */
@media (min-width: 1024px) {
  /*
   * Negative-margin breakout: avoids the 100vw + transform pitfalls
   * (vertical scrollbar gap, subpixel mismatch with the actual page width).
   * The body has `overflow-x: clip` so any small over-bleed is safely clipped.
   */
  main.clover-home > .clover-hero {
    width: auto;
    max-width: none;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    overflow: hidden;
    min-height: 544px;
    background: rgb(var(--clover-navy));
    padding-block: 0;
    padding-inline: 0;
  }

  main.clover-home > .clover-hero .clover-container {
    padding-block: 80px;
  }

  .clover-hero__grid {
    grid-template-columns: minmax(0, 760px);
    min-height: 352px;
    gap: 0;
    align-items: center;
  }

  .clover-hero__grid > div:first-child {
    position: relative;
    z-index: 2;
    max-width: 760px;
  }

  .clover-hero__title {
    color: #fff;
    text-shadow: 0 2px 22px rgba(var(--clover-navy), 0.44);
  }

  .clover-hero__body,
  .clover-hero__proof {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 14px rgba(var(--clover-navy), 0.42);
  }

  .clover-hero__image-card {
    position: absolute;
    z-index: 0;
    inset: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgb(var(--clover-navy));
  }

  .clover-hero__image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        rgba(var(--clover-navy), 0.9) 0%,
        rgba(var(--clover-navy), 0.76) 38%,
        rgba(var(--clover-azure), 0.48) 66%,
        rgba(var(--clover-navy), 0.34) 100%
      ),
      linear-gradient(
        180deg,
        rgba(var(--clover-navy), 0.3) 0%,
        rgba(var(--clover-navy), 0.62) 100%
      );
  }

  .clover-hero__image-card > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
  }

  .clover-hero__image-content {
    display: none;
  }
}

/* Stacked hero (tablet/phone): full-width image behind copy, navy scrim, hide redundant caption card */
@media (max-width: 1023px) {
  .clover-hero {
    --clover-hero-mobile-min-height: clamp(420px, 58vh, 500px);
    --clover-hero-mobile-pad-top: 28px;
    --clover-hero-mobile-pad-bottom: 40px;
    --clover-hero-mobile-pad-inline: 16px;
    position: relative;
    overflow: hidden;
    min-height: var(--clover-hero-mobile-min-height);
    padding-block: var(--clover-hero-mobile-pad-top) var(--clover-hero-mobile-pad-bottom);
  }

  .clover-hero .clover-container {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: max(
      0px,
      calc(
        var(--clover-hero-mobile-min-height) -
        var(--clover-hero-mobile-pad-top) -
        var(--clover-hero-mobile-pad-bottom)
      )
    );
  }

  .clover-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: end;
    min-height: 100%;
  }

  .clover-hero__grid > div:first-child {
    position: relative;
    z-index: 2;
    padding: 8px 0 0;
    max-width: 100%;
  }

  .clover-hero__title {
    margin-block-end: 18px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(var(--clover-navy), 0.45);
  }

  .clover-hero__body {
    margin-block-end: 22px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(var(--clover-navy), 0.4);
  }

  .clover-hero__actions {
    margin-block-end: 22px;
  }

  .clover-hero__proof {
    color: rgba(255, 255, 255, 0.9);
    margin-block-end: 0;
    padding-inline-end: 0.5rem;
  }

  .clover-hero__image-card {
    position: absolute;
    z-index: 0;
    inset:
      calc(var(--clover-hero-mobile-pad-top) * -1)
      calc(var(--clover-hero-mobile-pad-inline) * -1)
      calc(var(--clover-hero-mobile-pad-bottom) * -1);
    width: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgb(var(--clover-navy));
  }

  .clover-hero__image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(var(--clover-navy), 0.5) 0%,
      rgba(var(--clover-navy), 0.72) 45%,
      rgba(var(--clover-navy), 0.88) 100%
    );
  }

  .clover-hero__image-card > img {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .clover-hero__image-content {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .clover-hero {
    --clover-hero-mobile-pad-inline: 24px;
  }
}

@media (max-width: 640px) {
  .clover-hero {
    --clover-hero-mobile-min-height: clamp(390px, 56vh, 460px);
    --clover-hero-mobile-pad-top: 24px;
    --clover-hero-mobile-pad-bottom: 34px;
  }
}

.clover-section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .clover-section {
    padding: 80px 0;
  }
}

.clover-section--surface {
  background: rgb(var(--brand-surface));
}

.clover-section--tertiary {
  background:
    linear-gradient(180deg, rgba(var(--clover-tertiary), 0.98), rgba(var(--clover-azure-light), 0.58)),
    rgb(var(--clover-tertiary));
}

.clover-section--navy-light {
  background: rgb(var(--clover-navy-light));
}

.clover-section__head {
  margin: 0 auto 48px;
  text-align: center;
}

.clover-section__title {
  margin: 0 0 12px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
}

.clover-section__sub {
  margin: 0;
  color: rgb(var(--brand-muted));
}

.clover-trust {
  padding: 10px 0;
  background: rgb(var(--brand-surface));
  overflow: hidden;
}

/* Full section width + edge fade; inner __track centers the animated strip */
.clover-trust__viewport {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 16px;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

@media (min-width: 768px) {
  .clover-trust__viewport {
    padding-inline: 24px;
  }
}

.clover-trust__track {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.clover-trust__strip {
  --clover-marquee-strip-gap: 40px;
  display: flex;
  width: max-content;
  gap: 0;
  animation: clover-trust-marquee 42s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .clover-trust__strip {
    animation: none;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .clover-trust__set {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 960px;
  }

  .clover-trust__set--dup {
    display: none;
  }

  .clover-trust__viewport {
    mask-image: none;
    overflow: visible;
  }
}

/* Four equal sets; move exactly one set so there is always coverage during reset. */
@keyframes clover-trust-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-25%, 0, 0);
  }
}

.clover-trust__set {
  display: flex;
  gap: 40px;
  padding-inline-end: var(--clover-marquee-strip-gap);
  flex-shrink: 0;
}

.clover-card {
  border: 1px solid rgb(var(--brand-border));
  border-radius: 16px;
  background: #fff;
}

.clover-trust__item {
  box-sizing: border-box;
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: rgb(var(--brand-text));
  white-space: nowrap;
}

.clover-trust__item::after {
  content: "";
  position: absolute;
  inset-inline-end: -23px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--brand-muted), 0.45);
  transform: translateY(-50%);
}

.clover-trust__item br {
  display: none;
}

.clover-trust__item strong {
  color: rgb(var(--brand-text));
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.clover-trust__item span {
  color: rgb(var(--brand-muted));
  font-size: 13px;
  line-height: 1;
}

.clover-trust__item .clover-trust__icon {
  background: transparent;
  color: rgba(var(--clover-navy), 0.72);
}

.clover-trust__icon,
.clover-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgb(var(--clover-navy-light));
  color: rgb(var(--clover-navy));
}

.clover-trust__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.clover-trust__icon {
  width: 22px;
  height: 22px;
  margin: 0;
}

.clover-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .clover-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .clover-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clover-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clover-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .clover-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage category bands: 1 col → 2 → 3 (avoids overstretched 2-up cards) */
@media (min-width: 640px) {
  .clover-grid--category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .clover-grid--category {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.clover-category-group + .clover-category-group {
  margin-block-start: 48px;
}

.clover-eyebrow {
  margin: 0 0 24px;
  color: rgb(var(--clover-azure));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.clover-category-card,
.clover-product-card,
.clover-resource-card,
.clover-solution-card {
  display: block;
  border: 1px solid rgb(var(--brand-border));
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}

.clover-category-card:hover,
.clover-product-card:hover,
.clover-resource-card:hover,
.clover-solution-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--clover-azure), .35);
  box-shadow: var(--clover-shadow);
}

.clover-category-card {
  min-height: 156px;
  padding: 18px;
}

.clover-category-card__mosaic {
  height: 70px;
  margin-block-end: 14px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(var(--clover-navy), .08), rgba(var(--clover-azure), .14)),
    repeating-linear-gradient(45deg, rgba(var(--brand-border), .7), rgba(var(--brand-border), .7) 1px, transparent 1px, transparent 12px);
}

.clover-category-card__mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clover-category-card strong,
.clover-product-card strong,
.clover-resource-card strong {
  display: block;
  color: rgb(var(--brand-dark));
}

.clover-category-card span,
.clover-product-card span,
.clover-resource-card span {
  color: rgb(var(--brand-muted));
  font-size: 14px;
}

.clover-brands {
  border-block: 1px solid rgb(var(--brand-border));
  background: #fff;
  padding: 28px 0 32px;
  overflow: hidden;
}

/* Infinite horizontal marquee — same layout pattern as .clover-trust */
.clover-brands__viewport {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 16px;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

@media (min-width: 768px) {
  .clover-brands__viewport {
    padding-inline: 24px;
  }
}

.clover-brands__track {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.clover-brands__strip {
  --clover-marquee-strip-gap: 28px;
  display: flex;
  width: max-content;
  gap: 0;
  align-items: center;
  animation: clover-brands-marquee 56s linear infinite;
}

.clover-brands__strip:has(.clover-brand-logo:focus-visible) {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .clover-brands__strip {
    animation: none;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
  }

  .clover-brands__set {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    row-gap: 12px;
  }

  .clover-brands__set--dup {
    display: none;
  }

  .clover-brands__viewport {
    mask-image: none;
    overflow: visible;
  }
}

/* Four equal sets; move exactly one set so there is always coverage during reset. */
@keyframes clover-brands-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-25%, 0, 0);
  }
}

.clover-brands__set {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline-end: var(--clover-marquee-strip-gap);
  flex-shrink: 0;
}

.clover-brand-logo,
.clover-brand-chip {
  border: 1px solid rgb(var(--brand-border));
  border-radius: 999px;
  background: rgb(var(--brand-surface));
}

.clover-brand-logo {
  display: inline-flex;
  flex-shrink: 0;
  min-width: 120px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.clover-brand-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--clover-azure), .35);
  box-shadow: 0 12px 26px rgba(11, 26, 56, .08);
}

.clover-brand-logo img {
  display: block;
  width: auto;
  max-width: 136px;
  height: 42px;
  object-fit: contain;
}

.clover-brand-chip {
  padding: 10px 16px;
  color: rgb(var(--brand-text));
  font-weight: 600;
}

.clover-product-card {
  padding: 16px;
}

.clover-product-card__image {
  height: 150px;
  margin: -2px -2px 16px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(var(--clover-navy-light)), #fff);
}

.clover-product-card__image :where(img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
  mix-blend-mode: multiply;
}

.clover-product-card__image :where(svg) {
  width: 100%;
  height: 100%;
  padding: 32px;
  color: rgba(var(--clover-navy), 0.28);
}

.clover-product-card__sku {
  margin-block: 10px;
  color: rgb(var(--brand-muted));
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

.clover-product-card__price {
  margin-block-start: 10px;
  color: rgb(var(--clover-navy));
  font-weight: 700;
}

.clover-product-card__stock {
  display: inline-flex;
  margin-block-start: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(var(--success), .1);
  color: rgb(var(--success));
  font-size: 12px;
  font-weight: 700;
}

.clover-product-card__stock--low {
  background: rgba(var(--warning), .12);
  color: rgb(var(--warning));
}

.clover-product-card__stock--out {
  background: rgba(var(--brand-border), .35);
  color: rgb(var(--brand-muted));
}

.clover-popular-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border-radius: 16px;
  border: 1px dashed rgb(var(--brand-border));
  background: rgb(var(--brand-surface));
  color: rgb(var(--brand-muted));
  text-align: center;
}

.clover-popular-empty a {
  color: rgb(var(--clover-azure));
  font-weight: 600;
}

.main-collection-cover,
.main-collection-container,
theme-product-detail,
.recommended-product {
  font-family: var(--font-body);
}

.main-collection-cover {
  background: linear-gradient(180deg, rgb(var(--clover-navy-light)), rgb(var(--brand-surface)));
}

.main-collection-cover .block-main-collection-banner {
  margin-block-end: 0;
  background: transparent;
}

.main-collection-cover .block-main-collection-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 28px;
}

.main-collection-cover .clover-collection-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.main-collection-cover .clover-collection-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: rgb(var(--brand-muted));
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.main-collection-cover .clover-collection-breadcrumb a {
  color: rgb(var(--clover-azure));
  text-decoration: none;
}

.main-collection-cover .clover-collection-breadcrumb a:hover,
.main-collection-cover .clover-collection-breadcrumb a:focus {
  text-decoration: underline;
}

.main-collection-cover .clover-collection-breadcrumb__current {
  color: rgb(var(--brand-text));
  font-weight: 650;
}

.main-collection-cover .clover-collection-h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  max-width: 920px;
  color: rgb(var(--brand-dark));
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.main-collection-cover .clover-collection-h1__primary {
  display: block;
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
  color: rgb(var(--brand-dark));
}

.main-collection-cover .clover-collection-h1__secondary {
  display: block;
  max-width: 52rem;
  margin: 0;
  color: rgb(var(--brand-muted));
  font-family: var(--font-body);
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

.main-collection-cover .clover-collection-h1:is(.title0, .title1) .clover-collection-h1__secondary {
  font-size: clamp(15px, 2vw, 17px);
}

.main-collection-cover .block-main-collection-description,
.main-collection-cover [class*="description"] {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 0;
  color: rgb(var(--brand-muted));
  font-family: var(--font-body);
  line-height: 1.75;
}

.main-collection-container {
  background:
    linear-gradient(180deg, rgb(var(--brand-surface)) 0%, rgb(var(--clover-surface-alt)) 100%);
}

.main-collection {
  gap: 28px 36px;
  padding-block: 48px 64px;
}

.main-collection .facets-filtering,
.main-collection .facets-sorting,
.main-collection .facets-count {
  color: rgb(var(--brand-text));
}

.main-collection .facets-filtering {
  padding: 18px;
  border: 1px solid rgb(var(--brand-border));
  border-radius: var(--clover-radius-lg);
  background: rgb(var(--brand-surface));
  box-shadow: var(--clover-shadow-sm);
}

.main-collection__list {
  gap: 22px;
}

.block-product-card > a {
  height: 100%;
  padding: 12px;
  border: 1px solid rgb(var(--brand-border));
  border-radius: var(--clover-radius-lg);
  background: rgb(var(--brand-surface));
  box-shadow: var(--clover-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.block-product-card > a:hover {
  border-color: rgba(var(--clover-azure), .36);
  box-shadow: var(--clover-shadow-md);
  transform: translateY(-3px);
}

.block-product-card__layer-image-wrapper {
  padding: 0 !important;
}

.block-product-card__image-wrapper {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgb(var(--clover-navy-light)), rgb(var(--brand-surface)));
}

.block-product-card__image-wrapper > .block-product-card__image {
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
}

.block-product-card > a .block-product-card__title {
  box-sizing: border-box;
  /* Title sits inside the rounded card link; inset so line-clamp text does not kiss the radius. */
  padding: 10px 12px 8px;
  min-height: 44px;
  font-family: var(--sort-body-font);
  color: rgb(var(--brand-text));
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.block-product-card > a .block-product-card__title.product-card-style--card,
.block-product-card > a .block-product-card__price.product-card-style--card {
  padding-inline: 12px;
}

.block-product-card__price,
.block-product-card__price .product-price,
.block-product-card__price .product-price__item {
  font-family: var(--sort-body-font);
  color: rgb(var(--clover-azure));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.block-product-card__quick-add {
  margin: 10px;
  background-color: rgb(var(--clover-azure));
  box-shadow: 0 10px 24px rgba(var(--clover-azure), .25);
}

.block-product-card__quick-add:hover {
  background-color: rgb(var(--clover-navy));
}

theme-product-detail {
  display: block;
  background: rgb(var(--brand-surface));
}

.product-detail {
  max-width: 1280px;
  margin: 0 auto;
}

.product-detail__media-gallery {
  padding: 14px;
  border: 1px solid rgb(var(--brand-border));
  border-radius: var(--clover-radius-lg);
  background: linear-gradient(135deg, rgb(var(--clover-navy-light)), rgb(var(--brand-surface)));
  box-shadow: var(--clover-shadow-sm);
}

.product-detail__media-gallery .media-gallery__media,
.product-detail__media-gallery .media-gallery__placeholder,
.product-detail__media-gallery .media-gallery__thumbnail {
  border-radius: 18px;
  background-color: rgb(var(--brand-surface));
}

.product-detail__media-gallery .media-gallery__image {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-detail__info {
  padding: 24px;
  border: 1px solid rgb(var(--brand-border));
  border-radius: var(--clover-radius-lg);
  background: rgb(var(--brand-surface));
  box-shadow: var(--clover-shadow-sm);
}

.product-detail__title {
  color: rgb(var(--brand-text));
  font-family: var(--font-body);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.product-detail__price {
  color: rgb(var(--clover-azure));
  font-size: 24px;
  font-weight: 850;
}

.product-detail__sell-info {
  display: grid;
  gap: 12px;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid rgb(var(--brand-border));
  border-radius: 18px;
  background: rgb(var(--clover-navy-light));
}

.product-detail__sell-info li {
  color: rgb(var(--brand-text));
  font-weight: 650;
}

.product-detail__buy-buttons .button,
.product-detail__form .button {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 850;
}

.product-detail__buy-buttons .button--secondary {
  color: rgb(var(--brand-surface)) !important;
  background: rgb(var(--clover-azure)) !important;
  border-color: rgb(var(--clover-azure)) !important;
}

.product-detail__buy-buttons .button--secondary:hover {
  background: rgb(var(--clover-navy)) !important;
  border-color: rgb(var(--clover-navy)) !important;
}

.product-detail__description,
.product-detail__additional {
  color: rgb(var(--brand-muted));
  line-height: 1.75;
}

.clover-product-help-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-block-start: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgb(var(--clover-navy));
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
}

.clover-product-help-cta:hover {
  background: rgb(var(--clover-azure));
}

.recommended-product {
  background: rgb(var(--clover-surface-alt));
}

.recommended-product .block-product-card > a {
  background: rgb(var(--brand-surface));
}

.clover-solution-card {
  padding: 28px;
}

/* Brand hub (pages/brands + optional RTE). Section `clover-brand-hub` uses logo cards. */

.clover-brand-hub {
  display: grid;
  gap: 28px;
}

.clover-brand-hub__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.clover-brand-hub__intro p {
  color: rgb(var(--brand-muted));
  line-height: 1.7;
}

.clover-brand-hub__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 560px) {
  .clover-brand-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .clover-brand-hub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.clover-brand-hub__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(var(--brand-border));
  border-radius: 16px;
  background: #fff;
  color: rgb(var(--brand-text));
  text-decoration: none;
  box-shadow: var(--clover-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.clover-brand-hub__card:hover,
.clover-brand-hub__card:focus-visible {
  border-color: rgba(var(--clover-azure), .35);
  box-shadow: var(--clover-shadow);
  transform: translateY(-2px);
}

.clover-brand-hub__accent {
  display: block;
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}

/* Accent stripes — Clover blue palette + vendor blues (see app/lib/brands.ts). */
.clover-brand-hub__accent--brother {
  background: #0066b3;
}

.clover-brand-hub__accent--canon {
  background: #022463;
}

.clover-brand-hub__accent--casio,
.clover-brand-hub__accent--double-a,
.clover-brand-hub__accent--fellowes,
.clover-brand-hub__accent--lenovo,
.clover-brand-hub__accent--oki,
.clover-brand-hub__accent--paperone {
  background: #1259d2;
}

.clover-brand-hub__accent--cgpaper,
.clover-brand-hub__accent--fujifilm {
  background: #0e47a8;
}

.clover-brand-hub__accent--epson {
  background: #003399;
}

.clover-brand-hub__accent--hp {
  background: #0096d6;
}

.clover-brand-hub__card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
  flex: 1;
  min-height: 0;
}

/* Brand hub cards: kill RTE default link underline; wordmarks load from same folder as this stylesheet. */
.main-page__content.rte .clover-brand-hub__card,
.clover-brand-hub__card {
  text-decoration: none;
}

.main-page__content.rte .clover-brand-hub__card:hover,
.main-page__content.rte .clover-brand-hub__card:focus-visible,
.clover-brand-hub__card:hover,
.clover-brand-hub__card:focus-visible {
  text-decoration: none;
}

.clover-brand-hub__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.clover-brand-hub__wordmark {
  display: block;
  flex-shrink: 0;
  height: 44px;
  width: 112px;
  object-fit: contain;
  object-position: left center;
}

.clover-brand-hub__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 108px;
  object-fit: contain;
  flex-shrink: 0;
}

.clover-brand-hub__brand-row strong {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(var(--brand-dark));
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clover-brand-hub__tagline {
  display: block;
  margin: 0;
  color: rgb(var(--brand-muted));
  font-size: 0.875rem;
  line-height: 1.55;
  flex: 1;
  min-height: 2.75rem;
}

.clover-brand-hub__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(var(--clover-azure));
}

.clover-brand-hub__card:hover .clover-brand-hub__cta,
.clover-brand-hub__card:focus-visible .clover-brand-hub__cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Legacy RTE cards: only strong + span (no logo row). */
.clover-brand-hub__card:not(:has(.clover-brand-hub__card-inner)) {
  padding: 22px;
}

.clover-brand-hub__card:not(:has(.clover-brand-hub__card-inner)) strong {
  display: block;
  margin-block-end: 8px;
  color: rgb(var(--clover-navy));
  font-size: 20px;
}

.clover-brand-hub__card:not(:has(.clover-brand-hub__card-inner)) span {
  color: rgb(var(--brand-muted));
  font-size: 14px;
  line-height: 1.5;
}

.clover-solution-card h3,
.clover-rfq h3,
.clover-resource-card strong,
.clover-category-card strong,
.clover-product-card strong {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.clover-solution-card h3,
.clover-rfq h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 24px);
}

.clover-resource-card__thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(var(--clover-navy-light)), rgb(var(--clover-azure-light)));
}

.clover-resource-card__thumb img,
.clover-resource-card__thumb picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clover-resource-card__body {
  padding: 20px;
}

.clover-rfq {
  background: rgb(var(--clover-navy));
  color: #fff;
}

.clover-rfq h2,
.clover-rfq h3 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
}

.clover-rfq__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .clover-rfq__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.clover-rfq input {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  color: rgb(var(--brand-dark));
  background: #fff;
}

.clover-rfq form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.clover-rfq form input {
  flex: 1 1 240px;
}

.clover-footer {
  padding: 56px 0;
  background: rgb(var(--brand-dark));
  color: #fff;
}

.clover-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-block-end: 48px;
}

@media (min-width: 768px) {
  .clover-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .clover-footer__grid {
    grid-template-columns: 1.3fr repeat(4, 1fr);
  }
}

.clover-footer img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-block-end: 16px;
}

.clover-footer p,
.clover-footer a {
  color: rgba(255,255,255,.72);
}

.clover-footer h4 {
  margin: 0 0 16px;
  color: #fff;
}

.clover-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* Shop column: many collection links; scroll vertically without visible scrollbar */
.clover-footer__scroll-list {
  max-height: 11.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.clover-footer__scroll-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.clover-footer a {
  text-decoration: none;
}

.clover-footer a:hover {
  color: #fff;
}

.clover-footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clover-footer__chips span {
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

.clover-footer__bottom {
  border-block-start: 1px solid rgba(255,255,255,.12);
  padding-block-start: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.clover-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.clover-footer__social:focus-visible {
  outline: 2px solid rgba(255,255,255,.85);
  outline-offset: 4px;
  border-radius: 4px;
}

.clover-footer__social:hover .clover-footer__social-icon,
.clover-footer__social:focus-visible .clover-footer__social-icon {
  opacity: 0.92;
}

.clover-footer__social-icon {
  display: block;
  width: 28px;
  height: 28px;
}

.clover-footer__social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.clover-commerce-support {
  padding: 32px 0;
  background: rgb(var(--brand-surface));
  border-block: 1px solid rgb(var(--brand-border));
}

.clover-commerce-support__inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .clover-commerce-support__inner {
    grid-template-columns: 1fr auto;
  }
}

.clover-commerce-support .clover-eyebrow {
  margin-block-end: 8px;
}

.clover-commerce-support h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
}

.clover-commerce-support p {
  margin: 0;
  max-width: 760px;
  color: rgb(var(--brand-muted));
  line-height: 1.55;
}

/* Procurement-friendly commerce pages on Bottle templates */
.collection .product-card,
[class*="product-list"] [class*="card"],
[class*="main-product"] {
  border-radius: 12px;
}

[data-page-type="collection"] .page-width,
[data-page-type="product"] .page-width,
[data-page-type="cart"] .page-width,
[data-page-type="search"] .page-width {
  max-width: 1280px;
}

[data-page-type="product"] [class*="main-product"],
[data-page-type="cart"] [class*="main-cart"],
[data-page-type="collection"] [class*="main-collection"],
[data-page-type="search"] [class*="main-search"] {
  color: rgb(var(--brand-text));
}

[data-page-type="collection"] .shopline-section,
[data-page-type="blog"] .shopline-section,
[data-page-type="article"] .shopline-section,
[data-page-type="product"] .shopline-section,
[data-page-type="cart"] .shopline-section,
[data-page-type="search"] .shopline-section {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.main-blog,
.main-blog *,
.main-article,
.main-article *,
.block-article-card,
.block-article-card * {
  font-family: var(--font-body);
}

.main-blog :is(h1, h2, h3, .title1, .title2, .title3, .title4, .title5),
.main-article :is(h1, h2, h3, .title1, .title2, .title3, .title4, .title5),
.block-article-card__title {
  color: rgb(var(--brand-dark));
  font-family: var(--font-body);
  font-weight: 750;
  letter-spacing: -.02em;
}

.block-article-card__title {
  line-height: 1.18;
}

.block-article-card__info,
.block-article-card__excerpt,
.main-blog .body,
.main-blog .body1,
.main-blog .body2,
.main-blog .body3,
.main-blog .body4 {
  color: rgb(var(--brand-text));
  font-family: var(--font-body);
}

@media (max-width: 767px) {
  .clover-header__logo-img--full {
    height: 30px;
  }

  .clover-header__logo-img--mark {
    height: 36px;
  }

  .clover-header__icon--account {
    display: none;
  }
}

.clover-home-intro {
  background: rgb(var(--brand-surface));
  border-block-end: 1px solid rgb(var(--brand-border));
}

.clover-home-intro__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
}

@media (min-width: 960px) {
  .clover-home-intro__inner {
    padding-block: 3rem;
    padding-inline: 1.5rem;
  }
}

.clover-home-intro__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--clover-azure));
}

.clover-home-intro__heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: rgb(var(--brand-dark));
}

.clover-home-intro__body {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgb(var(--brand-muted));
}

.clover-home-intro__body a {
  color: rgb(var(--clover-azure));
  text-decoration: underline;
  text-underline-offset: 2px;
}
