/* ==========================================================================
   One Stop Bud Shop - redesign v2 (2026-10-16)
   Loaded after redesign.css + polish.css. Built from a competitor and
   sister-site pass: AlphaBuds (trust bar, shop-by-feel, photo tiles),
   Prime Buds (dark deals panel), Canna Club (image category tiles, bold
   how-to-order band). Everything stays scoped to .osbs or to product cards.
   ========================================================================== */

/* ------------------------------------------------------------ rhythm */
.osbs-home { --sp2: clamp(40px, 5vw, 64px); }
.osbs-home .osbs-section { padding-block: var(--sp2) !important; }
.osbs-home .osbs-section + .osbs-section { padding-top: 0 !important; }
.osbs-home .osbs-promo,
.osbs-home .osbs-areas-sec,
.osbs-home .osbs-faq-sec { margin-top: 0 !important; }

.osbs-home .osbs-sec-head { margin-bottom: clamp(18px, 2.4vw, 28px) !important; }
.osbs-home .osbs-sec-head h2 {
  font-size: clamp(24px, 2.6vw, 34px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--ink);
}
.osbs-home .osbs-sec-head p {
  font-size: clamp(15px, 1.3vw, 16.5px) !important;
  color: var(--ink-3);
  margin-top: 6px;
}

/* The old homepage-buttons plugin injects "Shop Shrooms" / "Shop Nicotine"
   boxes under any "category" heading with JS. Shrooms is already a tile here
   and the nicotine category has nothing in stock, so the boxes only broke
   the grid. */
.home .osbs-extra-cats { display: none !important; }

/* -------------------------------------------------------------- hero */
.osbs-home .osbs-hero-inner { padding-block: clamp(36px, 5.5vw, 68px) clamp(56px, 7vw, 84px) !important; }
.osbs-home .osbs-hero-title {
  font-size: clamp(30px, 4vw, 52px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.03em !important;
  margin-bottom: 16px !important;
  max-width: 21ch !important;
}
.osbs-home .osbs-hero-lede { color: rgba(255, 255, 255, .86); }
.osbs-home .osbs-hero-cta { margin-bottom: 18px !important; }

.osbs-hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 26px;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
}
.osbs-hero-stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.osbs-hero-proof-sep { opacity: .5; }

/* -------------------------------------------------------- trust bar */
.osbs-trustbar-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
}
.osbs-trustbar {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}
.osbs-trustbar > li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  min-width: 0;
}
.osbs-trustbar > li + li { border-left: 1px solid var(--line); }
.osbs-tb-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--g-050);
  color: var(--g-700);
}
.osbs-tb-star { background: #fff6d6; color: #a86f00; }
.osbs-tb-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.osbs-tb-txt strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.osbs-tb-txt span { font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------- category photo tiles
   Photo on top, a solid caption bar underneath. An overlay gradient was tried
   first (AlphaBuds style) but most OSBS category photos are products on white,
   and a dark fade over white reads as muddy rather than moody. */
.osbs-cats.osbs-cats-v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.osbs-cats-v2 .osbs-cat > a {
  display: flex !important;
  flex-direction: column;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: #fff;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.osbs-cats-v2 .osbs-cat-media {
  aspect-ratio: 4 / 3 !important;
  background: #f4f6f4 !important;
}
.osbs-cats-v2 .osbs-cat-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .35s ease;
}
.osbs-cats-v2 .osbs-cat-body {
  position: relative;
  display: flex !important;
  flex-direction: column;
  gap: 2px !important;
  padding: 13px 52px 14px 16px !important;
  border-top: 1px solid var(--line);
}
.osbs-cats-v2 .osbs-cat-body::after {
  content: "\2192";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--g-050);
  color: var(--g-700);
  font-weight: 800;
  font-size: 15px;
  transition: background-color .15s ease, color .15s ease;
}
.osbs-cats-v2 .osbs-cat-name {
  color: var(--ink) !important;
  font-size: clamp(16px, 1.4vw, 18px) !important;
  font-weight: 800 !important;
}
.osbs-cats-v2 .osbs-cat-count {
  color: var(--g-700) !important;
  font-size: 13px !important;
  font-weight: 700;
}
.osbs-cats-v2 .osbs-cat > a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--g-100) !important; }
.osbs-cats-v2 .osbs-cat > a:hover img { transform: scale(1.04); }
.osbs-cats-v2 .osbs-cat > a:hover .osbs-cat-body::after { background: var(--g-700); color: #fff; }
.osbs-cats-v2 .osbs-cat > a:focus-visible { outline: 3px solid var(--g-500); outline-offset: 3px; }

/* ----------------------------------------------------------- shop by feel */
.osbs-feel-sec { background: var(--bg-2); padding-top: var(--sp2) !important; }
.osbs-feel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.osbs-feel-card { margin: 0; --acc: var(--g-700); --acc-bg: var(--g-050); }
.osbs-feel-indica { --acc: #6d28d9; --acc-bg: #f1ebff; }
.osbs-feel-sativa { --acc: #c2410c; --acc-bg: #fff1e6; }
.osbs-feel-hybrid { --acc: #15803d; --acc-bg: #e9f8ee; }
.osbs-feel-card > a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--acc);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  transition: transform .14s ease, box-shadow .16s ease;
}
.osbs-feel-card > a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.osbs-feel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.osbs-feel-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--acc-bg);
  color: var(--acc);
}
.osbs-feel-count {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--acc-bg);
  color: var(--acc);
  font-size: 12.5px;
  font-weight: 800;
}
.osbs-feel-name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.osbs-feel-row { display: flex; flex-direction: column; gap: 1px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.osbs-feel-row em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acc);
}
.osbs-feel-go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--acc);
}
.osbs-feel-go::after { content: " \2192"; }
.osbs-feel-note { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* ------------------------------------------------------------ deals panel */
.osbs-deals {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 24px;
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(34, 197, 94, .22), transparent 60%),
    linear-gradient(150deg, #0b3d20 0%, #124d29 60%, #0e4524 100%);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.osbs-deals-kicker {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g-500);
}
.osbs-deals-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
.osbs-deals-copy p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.osbs-btn.osbs-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--g-800) !important;
  font-weight: 800;
  text-decoration: none;
}
.osbs-btn.osbs-btn-light:hover { background: var(--g-100); }

.osbs-deals-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.osbs-deals-list > li.osbs-deal {
  margin: 0;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  text-align: left !important;
}
.osbs-deal-btn.osbs-code-btn,
.osbs-deal-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: 100%;
  min-height: 64px !important;
  padding: 12px 14px 12px 18px !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
}
.osbs-deal-btn.osbs-code-btn:hover,
a.osbs-deal-row:hover { background: rgba(255, 255, 255, .14) !important; border-color: rgba(255, 255, 255, .34) !important; }
.osbs-deal-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.osbs-deal-what strong { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.25; }
.osbs-deal-what > span { font-size: 13.5px; color: rgba(255, 255, 255, .76); line-height: 1.4; }
.osbs-deal-code {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 112px;
  padding: 7px 12px;
  border: 2px dashed var(--gold);
  border-radius: 10px;
  background: rgba(255, 188, 0, .08);
}
.osbs-deals .osbs-code-txt { color: var(--gold) !important; font-size: 17px !important; letter-spacing: .08em !important; }
.osbs-deals .osbs-code-hint { color: rgba(255, 255, 255, .78) !important; font-size: 11px !important; }
.osbs-deals .osbs-code.is-applied .osbs-deal-code { border-style: solid; background: rgba(255, 188, 0, .2); }
.osbs-deal-tag {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .2);
  color: #b8f5cd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.osbs-deals-sec .osbs-codes-status { margin-top: 12px !important; }

/* -------------------------------------------------------- rails: on sale */
.osbs-rail-sale .osbs-sec-head h2::before {
  content: "SALE";
  display: inline-block;
  vertical-align: middle;
  margin: -4px 10px 0 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
}

/* --------------------------------------------- product cards: alignment
   Cards in a row ended at different heights and the buy controls sat on
   different lines: simple products put a quantity box BESIDE the button,
   variable products put a size dropdown ABOVE it, and titles ran one to two
   lines. Every card is now a column - text block grows, price sits at the
   bottom of the text, and the controls are always two rows of fixed height
   (picker, then button), so every button in a row lands on the same line. */
.products > .product-small.col { display: flex !important; }
.products > .product-small.col > .col-inner {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.products > .product-small.col > .col-inner > .product-small.box {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.products > .product-small.col .box-text-products {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
}
.products > .product-small.col .box-text-products .price-wrapper { margin-top: auto; padding-top: 4px; }

.products > .product-small.col .product-card,
.products > .product-small.col .qvp {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px !important;
  padding: 0 10px 12px !important;
  box-sizing: border-box;
  width: 100%;
}
.products > .product-small.col .product-card input.qty,
.products > .product-small.col .qvp .qvp-select {
  width: 100% !important;
  max-width: none !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
}
.products > .product-small.col .product-card input.qty { text-align: center; }
.products > .product-small.col .product-card .add_to_cart_button,
.products > .product-small.col .qvp .qvp-btn {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  white-space: nowrap;
  font-size: 13.5px !important;
  letter-spacing: .04em;
}
.products > .product-small.col .product-card .added_to_cart { grid-column: 1 / -1; text-align: center; font-size: 13px; }

/* ----------------------------------------------------- how it works band */
.osbs-home .osbs-step {
  border-radius: 16px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  box-shadow: var(--shadow-1);
}
.osbs-home .osbs-step-n {
  background: var(--g-700) !important;
  color: #fff !important;
}

/* ---------------------------------------------------------------- reviews */
.osbs-home .osbs-review {
  position: relative;
  border-radius: 16px !important;
  padding: 22px 20px 20px !important;
}
.osbs-home .osbs-review::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 16px;
  font-size: 54px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--g-100);
}

/* ================================================================ tablet */
@media (max-width: 1099px) {
  .osbs-trustbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .osbs-trustbar > li:nth-child(3) { border-left: 0; }
  .osbs-trustbar > li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .osbs-deals { grid-template-columns: 1fr; }
}
@media (max-width: 849px) {
  .osbs-cats.osbs-cats-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .osbs-feel { grid-template-columns: 1fr; gap: 12px; }
}

/* ================================================================ phone */
@media (max-width: 640px) {
  .osbs-home .osbs-section { padding-block: 34px !important; }
  .osbs-home .osbs-hero-inner { padding-block: 24px 52px !important; }
  .osbs-home .osbs-hero-title { font-size: 29px !important; }
  .osbs-hero-proof { font-size: 13px; margin-bottom: 18px; }

  .osbs-trustbar-wrap { margin-top: -34px; }
  .osbs-trustbar { padding: 4px; border-radius: 16px; }
  .osbs-trustbar > li { padding: 11px 10px; gap: 9px; }
  .osbs-tb-ico { width: 34px; height: 34px; border-radius: 10px; }
  .osbs-tb-ico svg { width: 18px; height: 18px; }
  .osbs-tb-txt strong { font-size: 13.5px; }
  .osbs-tb-txt span { font-size: 12px; }

  .osbs-cats-v2 .osbs-cat > a { border-radius: 14px !important; }
  .osbs-cats-v2 .osbs-cat-media { aspect-ratio: 1 / 1 !important; }
  .osbs-cats-v2 .osbs-cat-body { padding: 10px 40px 11px 12px !important; }
  .osbs-cats-v2 .osbs-cat-body::after { right: 10px; width: 24px; height: 24px; font-size: 13px; }
  .osbs-cats-v2 .osbs-cat-name { font-size: 15px !important; }
  .osbs-cats-v2 .osbs-cat-count { font-size: 12px !important; }

  .osbs-feel-card > a { padding: 16px 16px 14px; gap: 6px; }
  .osbs-feel-ico { width: 38px; height: 38px; }
  .osbs-feel-name { font-size: 19px; }
  .osbs-feel-row { font-size: 14px; }
  .osbs-feel-go { font-size: 14.5px; padding-top: 2px; }

  .osbs-deals { padding: 22px 16px; border-radius: 20px; }
  .osbs-deals-copy p { font-size: 14.5px; margin-bottom: 16px; }
  .osbs-deal-btn.osbs-code-btn,
  .osbs-deal-row { padding: 11px 11px 11px 14px !important; min-height: 60px !important; }
  .osbs-deal-what strong { font-size: 15.5px; }
  .osbs-deal-what > span { font-size: 12.5px; }
  .osbs-deal-code { min-width: 92px; padding: 6px 8px; }
  .osbs-deals .osbs-code-txt { font-size: 15px !important; }

  .products > .product-small.col .product-card,
  .products > .product-small.col .qvp { padding: 0 8px 10px !important; gap: 6px; }
  .products > .product-small.col .product-card .add_to_cart_button,
  .products > .product-small.col .qvp .qvp-btn { height: 42px !important; min-height: 42px !important; font-size: 12.5px !important; }
}
