/* Product page additions: gallery thumbnails, strength chips with thumbnails, where to buy. */
.pdp-top > * { min-width: 0; }
.pdp-gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; align-self: start; }
.pdp-gallery .pdp-media { position: static; margin: 0; }
@media (max-width: 980px) { .pdp-gallery { position: static; } }
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumbs button { width: 76px; height: 76px; padding: 4px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs button.sel, .pdp-thumbs button:hover { border-color: var(--mint-2); }

.pdp-strengths .opt { display: inline-flex; align-items: center; gap: 9px; background: var(--card); cursor: pointer; font: inherit; font-weight: 650; color: var(--ink); padding: 6px 14px 6px 6px; }
.pdp-strengths .opt img { width: 34px; height: 34px; object-fit: contain; border-radius: 7px; background: #fff; }
.pdp-strengths .opt .op { font-size: .78rem; color: var(--muted); font-weight: 600; }
.pdp-strengths .opt.oos { opacity: .55; text-decoration: line-through; }
.pdp-strengths .opt:hover { border-color: var(--mint-2); }

.wtb { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-sm); overflow: hidden; margin-bottom: 18px; }
.wtb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.wtb-head h2 { font-size: 1.1rem; margin: 0; }
.wtb-head span { font-size: .78rem; color: var(--muted); }
.wtb-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.wtb-row:last-of-type { border-bottom: 0; }
.wtb-row.rec { background: var(--mint-tint); }
.wtb-store { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wtb-store b { font-family: var(--disp); font-size: 1rem; }
.wtb-store small { color: var(--muted); font-size: .78rem; }
.wtb-tag { display: inline-block; align-self: flex-start; background: var(--mint); color: var(--ink); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; }
.wtb-price { text-align: right; white-space: nowrap; }
.wtb-price .from { display: block; font-size: .72rem; color: var(--muted); }
.wtb-price .amt { font-family: var(--disp); font-weight: 800; font-size: 1.25rem; }
.wtb-stock { font-size: .78rem; font-weight: 700; color: var(--mint-deep); }
.wtb-stock.out { color: var(--save); }
.wtb-row .btn { white-space: nowrap; }
.wtb-row .na { font-size: .78rem; color: var(--muted); text-align: right; min-width: 92px; }
.wtb-foot { font-size: .76rem; color: var(--muted); padding: 10px 18px 14px; margin: 0; }
@media (max-width: 560px) {
  .wtb-row { grid-template-columns: 1fr auto; }
  .wtb-row .btn, .wtb-row .na { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 560px) { .wtb-row .na:empty { display: none; } }

/* Brand carousel (nicotine pouches hub): one row of white cards, tin above the name */
.brand-carousel { position: relative; margin: 8px 0 28px; }
.bc-track { display: flex; gap: 20px; overflow-x: auto; padding: 10px 6px 18px; scrollbar-width: none; }
.bc-track::-webkit-scrollbar { display: none; }
.bc-card { flex: 0 0 144px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px 18px; background: #fff; border: 0; border-radius: 14px; box-shadow: 0 2px 10px rgba(10, 15, 20, .07), 0 1px 2px rgba(10, 15, 20, .05); text-decoration: none; color: var(--ink); text-align: center; transition: box-shadow .15s, transform .15s; }
.bc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(10, 15, 20, .12); }
.bc-img { width: 104px; height: 104px; display: grid; place-items: center; }
.bc-img img { width: 100%; height: 100%; object-fit: contain; }
.bc-img b { font-family: var(--disp); font-size: 1.2rem; }
.bc-name { font-size: 1rem; font-weight: 500; line-height: 1.2; }
.bc-arrow { position: absolute; top: 50%; transform: translateY(-60%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(10, 15, 20, .15); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.bc-arrow.prev { left: -14px; } .bc-arrow.next { right: -14px; }
.bc-arrow:hover { color: var(--mint-deep); }
@media (max-width: 560px) { .bc-card { flex-basis: 120px; padding: 16px 10px 14px; } .bc-img { width: 84px; height: 84px; } .bc-arrow { display: none; } }

/* Grid "show all" control */
.grid-more { text-align: center; margin: 18px 0 6px; }
.product-card[data-more] { display: none; }
.product-grid.expanded .product-card[data-more]:not([hidden]) { display: flex; }

/* Multi-buy tiers under the headline price */
.tier-row { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 20px; }
.tier { display: inline-flex; flex-direction: column; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: .8rem; color: var(--muted); }
.tier b { color: var(--ink); font-size: .84rem; }
.tier.best { border-color: var(--mint-2); background: var(--mint-050); }
.tier.best b { color: var(--mint-deep); }

.home-brands { padding: 34px 0 8px; }
.home-brands .brand-carousel { margin: 0; }
.product-card[hidden] { display: none !important; }

/* Accessibility: AA contrast for small text, heading levels without changing the look */
:root { --mint-deep: #047857; --muted: #56636f; }
.site-footer .wa { color: var(--ink); }
.footer-col h2.fc-h { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 16px; line-height: 1.4; font-weight: 700; }
.step h3.step-h { margin: 0 0 4px; font-size: .95rem; font-family: var(--disp); }

.pdp-strengths .opt .op { color: var(--muted); }
.rewards .eyebrow, .section-dark .eyebrow { color: var(--mint); }
.pdp-strengths .opt.oos { opacity: 1; color: var(--muted); }
.pdp-strengths .opt.oos img { opacity: .45; }
