/* ==========================================================================
   One Stop Bud Shop - redesign 2026
   A layer ON TOP of Flatsome, not a replacement. Scoped to .osbs so nothing
   here can leak into the theme's own header, footer or menus.

   Palette is taken from what the store already uses:
     #166534 deep forest   #16a34a mid green   #22c55e bright green
     #ffbc00 gold (Flatsome primary, used for ratings + promo)
     #1f1f1f ink
   Type is Lato, which the theme already loads - no extra font request.
   ========================================================================== */

.osbs {
  --g-900: #0b3d20;
  --g-800: #124d29;
  --g-700: #166534;
  --g-600: #16a34a;
  --g-500: #22c55e;
  --g-050: #eefaf1;
  --g-100: #d8f2e0;

  --gold: #ffbc00;
  --gold-d: #b98800;

  --ink: #16181a;
  --ink-2: #3d4348;
  --ink-3: #667079;

  --bg: #ffffff;
  --bg-2: #f6f8f6;
  --bg-3: #eef1ee;
  --line: #e2e7e3;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;

  --shadow-1: 0 1px 2px rgba(16, 24, 20, .06), 0 2px 8px rgba(16, 24, 20, .05);
  --shadow-2: 0 4px 12px rgba(16, 24, 20, .09), 0 12px 32px rgba(16, 24, 20, .08);

  --sp: clamp(44px, 6vw, 76px);

  color: var(--ink);
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Flatsome's page-blank template gives the content no gutter of its own. */
.osbs-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}
.osbs-wrap-narrow { max-width: 860px; }

.osbs-section { padding-block: var(--sp); }
.osbs-section + .osbs-section { padding-top: 0; }

/* ---------------------------------------------------------------- headings */
.osbs-sec-head { margin: 0 0 clamp(20px, 3vw, 32px); }
.osbs-sec-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.osbs-sec-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 62ch;
}
.osbs-sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.osbs-sec-head-center { text-align: center; }
.osbs-sec-head-center p { margin-inline: auto; }

/* The 2px underline read as a floating stub under the link on mobile, where
   the section header stacks. An arrow says "more" without the artefact. */
.osbs-seeall {
  flex: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--g-700);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.osbs-seeall::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.osbs-seeall:hover { color: var(--g-600); }

/* -------------------------------------------------------------------- hero */
.osbs-hero {
  background:
    radial-gradient(1100px 460px at 12% -10%, rgba(34, 197, 94, .16), transparent 62%),
    linear-gradient(168deg, #0b3d20 0%, #124d29 52%, #0e4524 100%);
  color: #fff;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.osbs-hero-inner {
  padding-block: clamp(40px, 7vw, 78px);
}

.osbs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #eafff1;
}
.osbs-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--g-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .28);
}

/* At 1440px a 17ch title wrapped to FOUR short lines and left the right 40% of
   the hero empty, which read as unbalanced rather than spacious. Widening the
   measure puts it on two lines and fills the band. */
.osbs-hero-title {
  margin: 0 0 16px;
  font-size: clamp(31px, 5.4vw, 58px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.028em;
  max-width: 24ch;
  color: #fff;
  text-wrap: balance;
}
.osbs-hero-lede {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
  max-width: 64ch;
}

.osbs-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.osbs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.osbs-btn:active { transform: translateY(1px); }
.osbs-btn-primary {
  background: var(--g-500);
  color: #06301a;
  box-shadow: 0 6px 18px rgba(34, 197, 94, .32);
}
.osbs-btn-primary:hover { background: #2fd96c; color: #06301a; }
.osbs-btn-ghost {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}
.osbs-btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* trust strip */
.osbs-trust {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
/* .08 white on dark green was so close to the background that the four cards
   read as one flat band in the 1:1 crop. Lifted, with a real border. */
.osbs-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--r);
  backdrop-filter: blur(2px);
}
.osbs-trust-ico {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  background: var(--g-500);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}
.osbs-ico-same-day { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm1 10.6 4 2.3-1 1.7-5-2.9V6h2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm1 10.6 4 2.3-1 1.7-5-2.9V6h2Z'/%3E%3C/svg%3E"); }
.osbs-ico-bc { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2c1.7 2.6 2.6 5 2.6 7.2A5.2 5.2 0 0 1 13 13l4-1.4-1.2 3.4 3.6-.6-2.6 2.9 3 .9-4.4 1.9L13 22h-2l-2.4-1.9-4.4-1.9 3-.9L4.6 14.4l3.6.6L7 11.6 11 13a5.2 5.2 0 0 1-1.6-3.8C9.4 7 10.3 4.6 12 2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2c1.7 2.6 2.6 5 2.6 7.2A5.2 5.2 0 0 1 13 13l4-1.4-1.2 3.4 3.6-.6-2.6 2.9 3 .9-4.4 1.9L13 22h-2l-2.4-1.9-4.4-1.9 3-.9L4.6 14.4l3.6.6L7 11.6 11 13a5.2 5.2 0 0 1-1.6-3.8C9.4 7 10.3 4.6 12 2Z'/%3E%3C/svg%3E"); }
.osbs-ico-discreet { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 1 3 5v6c0 5.2 3.8 10 9 12 5.2-2 9-6.8 9-12V5Zm0 10.5h7c-.5 4-3.3 7.7-7 9.2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 1 3 5v6c0 5.2 3.8 10 9 12 5.2-2 9-6.8 9-12V5Zm0 10.5h7c-.5 4-3.3 7.7-7 9.2Z'/%3E%3C/svg%3E"); }
.osbs-ico-pay { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 7H3V5h18Zm0 2v10H3V9Zm-5 7h3v-2h-3Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 7H3V5h18Zm0 2v10H3V9Zm-5 7h3v-2h-3Z'/%3E%3C/svg%3E"); }

.osbs-trust-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.osbs-trust-txt strong { font-size: 14.5px; font-weight: 800; color: #fff; line-height: 1.25; }
.osbs-trust-txt span   { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.3; }

/* hero area chips */
.osbs-hero-areas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.osbs-hero-areas-label {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .62);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.osbs-chiprow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.osbs-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.osbs-chip:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.osbs-chip-more { background: var(--g-500); border-color: var(--g-500); color: #06301a; }
.osbs-chip-more:hover { background: #2fd96c; color: #06301a; }

/* -------------------------------------------------------------- categories */
.osbs-cats {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.osbs-cat > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-1);
  transition: transform .14s ease, box-shadow .16s ease, border-color .16s ease;
}
.osbs-cat > a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--g-100);
}
.osbs-cat-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
  overflow: hidden;
}
.osbs-cat-media img {
  width: 100%; height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.osbs-cat-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 15px 16px; }
.osbs-cat-name { font-size: 16.5px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.osbs-cat-count { font-size: 13.5px; color: var(--ink-3); }

/* ------------------------------------------------------------------- rails */
/* A horizontal scroller on small screens, a plain grid once there is room.
   Flatsome's ul.products carries a ::before that eats a grid cell, so the track
   is flex, not grid. */
/* Flatsome cards are div.product-small.col, and Flatsome's .row/.col grid uses
   floats + negative margins that fight a flex track - hence the resets. */
.osbs-rail { margin-inline: -20px; padding-inline: 20px; }
.osbs-rail-track.products {
  display: flex !important;
  /* flex-wrap MUST be nowrap here. Flatsome's .row sets flex-wrap:wrap, and the
     rail carries that class - so without this the twelve 250px cards wrapped to
     one per row on a 390px screen and each rail became ~6,300px tall. The two
     rails alone were 12,381px of a 20,369px homepage. */
  flex-wrap: nowrap !important;
  gap: 16px;
  margin: 0 !important;
  padding: 4px 0 14px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.osbs-rail-track.products::before,
.osbs-rail-track.products::after { content: none !important; display: none !important; }

.osbs-rail-track.products > .product-small,
.osbs-rail-track.products > .product,
.osbs-rail-track.products > li.product {
  flex: 0 0 auto;
  /* Match the catalogue grid card. At 250px only one and a half fitted on a
     390px screen and each card ran ~530px deep; at 168px you get two and a bit,
     the card is the same size the shopper just saw on the category page, and
     the rail reads as a rail rather than as one giant product. */
  width: 168px;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start;
  float: none !important;
  clear: none !important;
}
.osbs-rail-track.products > .product-small > .col-inner { height: 100%; }

@media (min-width: 850px) {
  .osbs-rail { margin-inline: 0; padding-inline: 0; }
  .osbs-rail-track.products {
    overflow: visible;
    flex-wrap: wrap;
  }
  .osbs-rail-track.products > .product-small,
  .osbs-rail-track.products > .product,
  .osbs-rail-track.products > li.product {
    width: calc((100% - 4 * 16px) / 5);
  }
}

/* ------------------------------------------------------------------- promo */
.osbs-promo {
  background: linear-gradient(180deg, var(--g-050), #fff);
  border-block: 1px solid var(--line);
  padding-block: var(--sp);
  margin-top: var(--sp);
}
.osbs-promo + .osbs-section { padding-top: var(--sp); }

.osbs-codes {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 780px;
  margin-inline: auto;
}
.osbs-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  text-align: center;
}
.osbs-code-save { font-size: 21px; font-weight: 800; color: var(--g-700); letter-spacing: -.01em; }
.osbs-code-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  padding: 9px 16px;
  border: 2px dashed var(--g-600);
  border-radius: var(--r-sm);
  background: var(--g-050);
  cursor: pointer;
  font-family: inherit;
  transition: background-color .15s ease, border-color .15s ease;
}
.osbs-code-btn:hover { background: var(--g-100); border-color: var(--g-700); }
.osbs-code-btn:focus-visible { outline: 3px solid var(--g-500); outline-offset: 2px; }
.osbs-code-txt {
  font-size: 19px; font-weight: 800; letter-spacing: .09em;
  color: var(--g-800); font-variant-numeric: tabular-nums;
}
.osbs-code-hint { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.osbs-code.is-applied .osbs-code-btn { border-style: solid; background: var(--g-100); }
.osbs-code-min { font-size: 13.5px; color: var(--ink-3); }
.osbs-codes-status {
  margin: 16px 0 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--g-700);
  min-height: 22px;
}

/* ------------------------------------------------------------------- steps */
.osbs-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: osbs-step;
}
.osbs-step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.osbs-step-n {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--g-700);
  color: #fff;
  font-weight: 800; font-size: 17px;
}
.osbs-step h3 { margin: 0 0 7px; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.osbs-step p  { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ------------------------------------------------------------------- areas */
.osbs-areas-sec { background: var(--bg-2); border-block: 1px solid var(--line); margin-top: var(--sp); }
.osbs-areas {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.osbs-area {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 62px;
  justify-content: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.osbs-area:hover { border-color: var(--g-500); box-shadow: var(--shadow-1); }
.osbs-area-name { font-size: 16px; font-weight: 800; color: var(--ink); }
.osbs-area-cta  { font-size: 13px; color: var(--ink-3); }

/* ----------------------------------------------------------------- reviews */
.osbs-reviews {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.osbs-review {
  display: flex; flex-direction: column; gap: 11px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
}
.osbs-stars { color: var(--gold); font-size: 17px; letter-spacing: 2px; line-height: 1; }
.osbs-review blockquote {
  margin: 0; padding: 0; border: 0;
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.osbs-review cite {
  display: flex; flex-direction: column; gap: 1px;
  margin-top: auto;
  font-style: normal; font-size: 13.5px; font-weight: 800; color: var(--ink);
}
.osbs-review cite span { font-weight: 400; color: var(--ink-3); }

/* --------------------------------------------------------------------- FAQ */
.osbs-faq-sec { margin-top: var(--sp); }
.osbs-faq { display: flex; flex-direction: column; gap: 10px; }
.osbs-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.osbs-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 15px 18px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  list-style: none;
}
.osbs-faq-item > summary::-webkit-details-marker { display: none; }
.osbs-faq-item > summary::after {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--g-700);
  border-bottom: 2.5px solid var(--g-700);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .18s ease;
}
.osbs-faq-item[open] > summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.osbs-faq-item > summary:focus-visible { outline: 3px solid var(--g-500); outline-offset: -3px; }
.osbs-faq-a { padding: 0 18px 18px; }
.osbs-faq-a p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 70ch; }

/* ================================================================ responsive */
@media (max-width: 1024px) {
  .osbs-cats  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .osbs-steps { grid-template-columns: 1fr; }
  .osbs-reviews { grid-template-columns: 1fr; }
}

@media (max-width: 849px) {
  .osbs-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .osbs-hero { border-radius: 0 0 20px 20px; }
  .osbs-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .osbs-hero-cta .osbs-btn { flex: 1 1 100%; }
  .osbs-sec-head-row { align-items: flex-start; }
  .osbs-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .osbs-trust { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .osbs *, .osbs *::before, .osbs *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .osbs-cat > a:hover { transform: none; }
}

/* ------------------------------------------------- hero side visual (desktop) */
/*
 * At >=1100px the hero becomes two columns: copy on the left, a live
 * "selling today" card on the right. Below that it collapses back to one column
 * and the card is hidden - on a phone the products are already three sections
 * down as full rails, so repeating them in the hero only adds scroll.
 */
.osbs-hero-visual { display: none; }

/*
 * The first attempt gave every copy element its own grid ROW alongside a
 * row-spanning visual card. Because the card is much taller than any single
 * row, the rows stretched and the left column developed a ~150px hole between
 * the lede and the buttons. Wrapping the copy in one .osbs-hero-copy cell means
 * the two columns are simply two cells, and the copy stacks normally inside its
 * own flow.
 */
@media (min-width: 1100px) {
  .osbs-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    grid-template-areas:
      "copy   visual"
      "trust  trust"
      "areas  areas";
    column-gap: 48px;
    align-items: start;
  }
  .osbs-hero-copy   { grid-area: copy; }
  .osbs-trust       { grid-area: trust; }
  .osbs-hero-areas  { grid-area: areas; }
  .osbs-hero-title  { max-width: 18ch; }
  .osbs-hero-lede   { max-width: 52ch; }

  .osbs-hero-visual {
    display: block;
    grid-area: visual;
    align-self: start;
    padding: 18px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
  }
}

.osbs-hero-visual-label {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.osbs-hero-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.osbs-hero-grid > li { min-width: 0; }
.osbs-hero-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: #fff;
}
.osbs-hero-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}
.osbs-hero-thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.osbs-hero-grid a:hover .osbs-hero-thumb img { transform: scale(1.05); }

.osbs-hero-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.osbs-hero-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--g-500);
  overflow-wrap: anywhere;
}

/* Rows should size to their own content, not stretch to match the tall visual
   card - otherwise the left column develops large empty gaps between the lede
   and the buttons. */
@media (min-width: 1100px) {
  .osbs-hero-inner { align-content: start; }
  .osbs-hero-visual { align-self: start; }
  .osbs-hero-title { margin-bottom: 14px; }
  .osbs-hero-lede { margin-bottom: 24px; }
  .osbs-hero-cta { margin-bottom: 30px; }
  /* Equal-height rows inside the card so the two columns line up. */
  .osbs-hero-grid { grid-auto-rows: 1fr; }
  .osbs-hero-grid a { height: 100%; }
  .osbs-hero-name { min-height: 34px; }
}

/* A hero with no side visual is a single column.
   The city pages reuse the homepage hero but have no "selling today" card, so
   without this the grid still reserved a 380px second column and squeezed the
   copy and the four trust cards into what was left. */
@media (min-width: 1100px) {
  .osbs-hero-novisual .osbs-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "trust"
      "areas";
  }
  .osbs-hero-novisual .osbs-hero-title { max-width: 22ch; }
  .osbs-hero-novisual .osbs-hero-lede  { max-width: 62ch; }
}

/* The trust row must not inherit alignment from whatever wraps it. On the city
   pages the hero is injected into the page content, which sits inside a
   Flatsome column, and the cards came out centre-aligned while the identical
   component on the homepage was left-aligned. Components should look the same
   wherever they are dropped. */
.osbs-trust,
.osbs-trust-item,
.osbs-trust-txt,
.osbs-hero-copy,
.osbs-hero-areas { text-align: left; }
.osbs-trust-item { align-items: center; }
