/**
 * Drizzle Factory — homepage + locations layout layer.
 */

/* ---------- 1. How ordering works: numbered timeline band ---------- */
.sbc-steps-band {
	background: linear-gradient(135deg, var(--sbc-dark-2) 0%, #2a0b3f 55%, var(--sbc-green-dark) 100%);
	color: #fff;
	padding: 64px 0;
}
.sbc-steps-band__title {
	color: #fff;
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 34px;
	text-align: center;
}
.sbc-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	counter-reset: sbstep;
}
.sbc-step {
	position: relative;
	padding: 26px 20px 22px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--sbc-radius-lg);
	background: rgba(255, 255, 255, 0.05);
}
.sbc-step::after {
	content: "";
	position: absolute;
	top: 46px;
	right: -14px;
	width: 20px;
	height: 2px;
	background: rgba(255, 255, 255, 0.28);
}
.sbc-step:last-child::after { display: none; }
.sbc-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sbc-green);
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	margin-bottom: 14px;
}
.sbc-step strong {
	display: block;
	font-size: 17px;
	margin-bottom: 6px;
	color: #fff;
}
.sbc-step span:not(.sbc-step__num) {
	display: block;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14.5px;
	line-height: 1.6;
}

/* ---------- 2. Why shoppers choose us: numbered rows ---------- */
.sbc-why {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}
.sbc-why__row {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 24px;
	border: 1px solid var(--sbc-line);
	border-radius: var(--sbc-radius-lg);
	background: var(--sbc-surface);
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.sbc-why__row:hover { box-shadow: var(--sbc-shadow); transform: translateY(-2px); }
.sbc-why__mark {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	color: var(--sbc-green);
	opacity: 0.35;
	flex: 0 0 auto;
}
.sbc-why__row h3 { margin: 0 0 8px; font-size: 18px; }
.sbc-why__row p { margin: 0; color: var(--sbc-ink-soft); font-size: 15px; line-height: 1.65; }

/* ---------- 3. Payments + shipping band ---------- */
.sbc-payband {
	background: var(--sbc-green-soft);
	padding: 62px 0;
}
.sbc-payband .sbc-container {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
	gap: 38px;
	align-items: center;
}
.sbc-payband__lead h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.22; }
.sbc-payband__lead p { margin: 0 0 20px; color: var(--sbc-ink-soft); }
.sbc-payband__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.sbc-paycard {
	background: var(--sbc-surface);
	border-radius: var(--sbc-radius-lg);
	border: 1px solid rgba(250, 43, 152, 0.18);
	padding: 22px 20px;
}
.sbc-paycard--hot {
	border-color: var(--sbc-green);
	box-shadow: 0 10px 26px rgba(250, 43, 152, 0.16);
}
.sbc-paycard__tag {
	display: inline-block;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 10px;
	color: var(--sbc-green-dark);
}
.sbc-paycard p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--sbc-ink-soft); }

/* ---------- 4. Finding the right product: sticky split ---------- */
.sbc-split {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
	gap: 40px;
	align-items: start;
}
.sbc-split__aside { position: sticky; top: 110px; }
.sbc-split__aside h2 { margin: 0 0 12px; font-size: 27px; line-height: 1.22; }
.sbc-split__aside p { color: var(--sbc-ink-soft); }
.sbc-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.sbc-guide-card {
	background: var(--sbc-surface);
	border: 1px solid var(--sbc-line);
	border-left: 4px solid var(--sbc-green);
	border-radius: var(--sbc-radius-lg);
	padding: 22px;
}
.sbc-guide-card h3 { margin: 0 0 8px; font-size: 17px; }
.sbc-guide-card p { margin: 0; color: var(--sbc-ink-soft); font-size: 15px; line-height: 1.65; }

/* ---------- 5. Dosing table ---------- */
.sbc-dose {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}
.sbc-dose__table {
	border: 1px solid var(--sbc-line);
	border-radius: var(--sbc-radius-lg);
	overflow: hidden;
	background: var(--sbc-surface);
}
.sbc-dose__row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--sbc-line);
	font-size: 15px;
}
.sbc-dose__row:last-child { border-bottom: 0; }
.sbc-dose__row--head {
	background: var(--sbc-dark-2);
	color: #fff;
	font-weight: 600;
}
.sbc-dose__row span:first-child { font-weight: 600; }
.sbc-dose__note {
	background: var(--sbc-bg-alt);
	border-radius: var(--sbc-radius-lg);
	padding: 24px;
	border: 1px solid var(--sbc-line);
}
.sbc-dose__note h3 { margin: 0 0 10px; font-size: 18px; }
.sbc-dose__note p { margin: 0 0 12px; color: var(--sbc-ink-soft); font-size: 15px; line-height: 1.65; }
.sbc-dose__note p:last-child { margin-bottom: 0; }

/* ---------- 6. FAQ ---------- */
.sbc-faq--wide {
	columns: 2;
	column-gap: 22px;
}
.sbc-faq--wide .sbc-faq__item { break-inside: avoid; margin-bottom: 12px; }

/* ---------- 7. Editorial + chips ---------- */
.sbc-editorial {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.sbc-editorial__main h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.22; }
.sbc-editorial__main h3 { margin: 28px 0 12px; font-size: 21px; }
.sbc-editorial__main p { color: var(--sbc-ink-soft); line-height: 1.75; margin: 0 0 14px; }
.sbc-quote {
	background: var(--sbc-dark-2);
	color: #fff;
	border-radius: var(--sbc-radius-lg);
	padding: 24px;
	margin-bottom: 24px;
	border-left: 5px solid var(--sbc-green);
}
.sbc-quote p { margin: 0; font-size: 17px; line-height: 1.55; }
.sbc-editorial__side h3 { margin: 0 0 12px; font-size: 18px; }
.sbc-chip-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sbc-chip-list a {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--sbc-green-soft);
	color: var(--sbc-green-dark);
	font-size: 14px;
	font-weight: 500;
	border: 1px solid rgba(250, 43, 152, 0.2);
}
.sbc-chip-list a:hover { background: var(--sbc-green); color: #fff; }

/* ---------- 8. Region grid ---------- */
.sbc-region-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
	margin-top: 22px;
}
.sbc-region-grid a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 18px;
	background: var(--sbc-surface);
	border: 1px solid var(--sbc-line);
	border-radius: var(--sbc-radius-lg);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.sbc-region-grid a:hover {
	border-color: var(--sbc-green);
	transform: translateY(-2px);
	box-shadow: var(--sbc-shadow);
}
.sbc-region-grid strong { font-size: 15.5px; }
.sbc-region-grid span { font-size: 13px; color: var(--sbc-ink-soft); }

/* ---------- 9. About band ---------- */
.sbc-about {
	background: var(--sbc-dark-2);
	color: #fff;
	padding: 62px 0;
}
.sbc-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.sbc-about h2 { color: #fff; margin: 0 0 14px; font-size: 28px; }
.sbc-about p { color: rgba(255, 255, 255, 0.76); line-height: 1.75; margin: 0 0 14px; }
.sbc-about__facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.sbc-about__facts li {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--sbc-radius-lg);
	padding: 18px;
}
.sbc-about__facts strong { display: block; color: var(--sbc-green-bright); font-size: 20px; margin-bottom: 4px; }
.sbc-about__facts span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.5; }

/* ---------- Locations hub + guides ---------- */
.page-template-page-locations .sbc-page-hero {
	background: linear-gradient(135deg, var(--sbc-dark-2), #3b0d55);
	border-bottom: 0;
	color: #fff;
	padding: 56px 0;
}
.page-template-page-locations .sbc-page-hero h1 { color: #fff; }
.page-template-page-locations .sbc-page-hero__lede { color: rgba(255, 255, 255, 0.8); max-width: 820px; }
.page-template-page-locations .sbc-page-hero .sbc-breadcrumbs,
.page-template-page-locations .sbc-page-hero .sbc-breadcrumbs a { color: rgba(255, 255, 255, 0.7); }

.sbc-loc-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sbc-loc-card {
	border-top: 4px solid var(--sbc-green);
	padding: 22px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sbc-loc-card:hover { transform: translateY(-3px); box-shadow: var(--sbc-shadow-lg); }
.sbc-loc-card__abbr {
	background: var(--sbc-green);
	border-radius: 999px;
	min-width: 46px;
	height: 32px;
}
.sbc-location-card__title { font-size: 1.15rem; line-height: 1.25; font-weight: 800; }
.sbc-loc-card__meta {
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--sbc-green-dark);
	margin: 12px 0 14px;
}
.sbc-loc-card__cities a { background: var(--sbc-bg-alt); }
.sbc-loc-card__cities a:hover { background: var(--sbc-green); color: #fff; border-color: var(--sbc-green); }
.sbc-loc-card__all { color: var(--sbc-green-dark); }

.sbc-loc-facts { gap: 10px; }
.sbc-loc-facts li::before { color: var(--sbc-green); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.sbc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbc-step::after { display: none; }
	.sbc-payband .sbc-container,
	.sbc-split,
	.sbc-dose,
	.sbc-editorial,
	.sbc-about__inner { grid-template-columns: minmax(0, 1fr); }
	.sbc-split__aside { position: static; }
	.sbc-payband__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.sbc-steps-band { padding: 44px 0; }
	.sbc-steps-band__title { font-size: 24px; }
	.sbc-steps,
	.sbc-why,
	.sbc-guide-grid,
	.sbc-payband__cards,
	.sbc-about__facts { grid-template-columns: minmax(0, 1fr); }
	.sbc-faq--wide { columns: 1; }
	.sbc-dose__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.sbc-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbc-editorial__main h2,
	.sbc-payband__lead h2,
	.sbc-about h2 { font-size: 23px; }
}

/* ==========================================================================
   Homepage blog row — horizontal, never stacked (v6.3.0)
   ========================================================================== */
.sbc-postgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1200px) {
  .sbc-postgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.sbc-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sbc-line);
  border-radius: var(--sbc-radius-lg, 16px);
  background: var(--sbc-surface);
  box-shadow: var(--sbc-shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.sbc-post-card:hover { transform: translateY(-3px); border-color: var(--sbc-green); }

.sbc-post-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sbc-bg-alt);
}
.sbc-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sbc-post-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 20px;
}
.sbc-post-card__cat {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sbc-green);
}
.sbc-post-card__title a {
  color: var(--sbc-ink);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
  text-decoration: none;
}
.sbc-post-card__title a:hover { color: var(--sbc-green-bright); }
.sbc-post-card__meta { font-size: 0.78rem; color: var(--sbc-ink-soft); }

/* Tablet: two across. Mobile: horizontal swipe row, still not stacked. */
@media (max-width: 1024px) {
  .sbc-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .sbc-postgrid,
  .sbc-postgrid--swipe {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .sbc-postgrid::-webkit-scrollbar { display: none; }
  .sbc-postgrid .sbc-post-card {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
  }
}
