/* SMB Product Carousel: the product grid's cards in one sliding row. */
.smbc { --smbc-red: #F8002F; --smbc-navy: #000C14; --smbc-gap: 12px; position: relative; font-family: inherit; }
.smbc *, .smbc *::before, .smbc *::after { box-sizing: border-box; }

.smbc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.smbc .smbc-title { position: relative; margin: 0; padding-left: 14px; color: var(--smbc-navy); font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.smbc .smbc-title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 3px; background: var(--smbc-red); }

.smbc-nav { display: flex; gap: 8px; margin-left: auto; }
.smbc .smbc-nav button { display: inline-flex !important; align-items: center; justify-content: center; width: 38px; height: 38px; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--smbc-navy) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(0,12,20,.18) !important; cursor: pointer; transition: background .15s, transform .15s, opacity .15s; }
.smbc .smbc-nav button:hover, .smbc .smbc-nav button:focus-visible { background: var(--smbc-red) !important; transform: translateY(-1px); }
.smbc .smbc-nav button:disabled { opacity: .35; cursor: default; transform: none; }
.smbc-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* The row: native horizontal scrolling (touch and trackpads), snapping to each card. */
.smbc .smbc-track { display: flex; gap: var(--smbc-gap); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 0 10px; margin: -4px 0 -10px; outline: none; }
.smbc .smbc-track::-webkit-scrollbar { display: none; }
.smbc .smbc-track.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.smbc .smbc-track.is-drag a { pointer-events: none; }
.smbc .smbc-track > .smbg-item { flex: 0 0 calc((100% - (var(--smbg-cols, 5) - 1) * var(--smbc-gap)) / var(--smbg-cols, 5)); scroll-snap-align: start; }
.smbc .smbc-track > .smbg-item.is-out, .smbc .smbc-track > .smbg-item.is-limit { display: none; }
.smbc .smbc-track > .smbg-none { flex: 1 0 100%; }
.smbc .smbc-track:focus-visible { box-shadow: 0 0 0 2px rgba(248,0,47,.35); border-radius: 12px; }

/* Why it's suggested: bottom right of the image (labels use the other corners). */
.smbc-why { position: absolute; right: 7px; bottom: 7px; z-index: 2; max-width: calc(100% - 14px); padding: 4px 9px; border-radius: 999px; background: rgba(0,12,20,.86); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1.2; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px); pointer-events: none; }

.smbc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.smbc-dots:empty { display: none; }
.smbc .smbc-dots button { width: 8px; height: 8px; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 999px !important; background: #cfd5db !important; box-shadow: none !important; cursor: pointer; transition: width .25s, background .25s; }
.smbc .smbc-dots button[aria-selected="true"] { width: 26px; background: var(--smbc-red) !important; }
.smbc .smbc-dots button:hover { background: var(--smbc-navy) !important; }

/* Staff: view the carousel as one of the top clients. */
.smbc-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; padding: 12px 14px; border: 2px dashed #000C14; border-radius: 14px; background: #fff; font-size: 14px; }
.smbc-pick-tag { padding: 3px 9px; border-radius: 999px; background: #000C14; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.smbc-pick label { margin: 0; font-weight: 700; }
.smbc-pick select { min-width: 280px; max-width: 100%; height: 38px; padding: 0 10px; border: 1px solid #cfd5db; border-radius: 10px; background: #fff; font: inherit; }
.smbc-pick small { flex-basis: 100%; color: #5f6b76; font-size: 12.5px; }

@media (max-width: 767px) {
	.smbc { --smbc-gap: 10px; }
	.smbc .smbc-nav button { width: 34px; height: 34px; }
	.smbc-pick select { min-width: 0; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.smbc .smbc-track { scroll-behavior: auto; }
}

/* Ordered Before: a calendar and the words, no count. */
.smbc-why.is-ordered { display: inline-flex; align-items: center; gap: 5px; background: rgba(248,0,47,.92); }
.smbc-why.is-ordered svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Compact cards: a smaller image (the whole photo, on a soft background) and a shorter card. */
.smbc.is-compact .smbc-track > .smbg-item { container-type: inline-size; }
.smbc.is-compact .smbg-media { aspect-ratio: auto; height: 68cqw; }
.smbc.is-compact .smbg-media img { object-fit: contain; padding: 6px; }
.smbc.is-compact .smbg-item.is-pre .smbg-media { height: calc(68cqw - 8px - var(--smbg-rib)); padding: 4%; }
.smbc.is-compact .smbg-item.is-pre .smbg-media img { padding: 0; }
.smbc.is-compact .smbg-body { gap: 3px; padding: 6px 8px 8px; }
.smbc.is-compact .smbg-desc { -webkit-line-clamp: 2; }
.smbc.is-compact .smbg-title { font-size: 13px; }

/* One line each for brewery, name, ABV + format and style ("…" when too long; hover the name for all of it), so every
   card is the same height and the price sits just below the text instead of at the foot of a stretched card. */
.smbc .smbg-body { position: relative; }
.smbc .smbg-brew { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.smbc .smbg-brew a { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.smbc .smbg-title, .smbc .smbg-desc { display: block; -webkit-line-clamp: unset; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smbc .smbg-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smbc .smbg-row { margin-top: 2px; }
/* "✓ 1 in your basket": a badge at the foot of the image instead of an extra line under Add. */
.smbc .smbg-buy .added_to_cart { position: absolute; left: 7px; top: -27px; z-index: 2; max-width: calc(50% - 10px); padding: 4px 9px; border-radius: 999px; background: #16a34a; color: #fff !important; font-size: 10.5px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.smbc .smbg-buy .added_to_cart b { display: none; }
.smbc .smbg-buy .added_to_cart .smbg-inb { color: inherit; font-size: inherit; }
.smbc .smbg-buy .added_to_cart:hover { background: var(--smbc-navy); }