/* [PPS-CARD-PICK] Product cards on the shop, category and search pages (.pc4-add) and the front page's Best sellers
   (.pv5-pick); cards inside a product page are left as they are: no size buttons on the card, an "Add" button, and for
   products with more than one size a dark strength sheet that slides up inside the card (static/js/card-pick.js).
   Loaded after every other stylesheet. */

/* the card: photo, name, price right under it, and the button at the bottom (buttons line up across a row) */
body.hv2 .label-card.pc4.pc4-add { position: relative; }
body.hv2 .pc4.pc4-add .pc4-sizes { display: none !important; }
body.hv2 .pc4.pc4-add .pc4-body { gap: 6px; }
@media (min-width: 1024px) { body.hv2 .pc4.pc4-add .pc4-body { gap: 8px; } }
body.hv2 .pc4.pc4-add:has(select.label-pick) .pc4-price::before {
  content: "From"; align-self: baseline; font: 500 12.5px/1 var(--font-body); letter-spacing: .01em; color: #6B6E73; }
body.hv2 .pc4.pc4-add .pc4-body > .label-btn.pc4-btn { margin-top: auto !important; }
body.hv2 .pc4.pc4-add .pc4-price { margin-bottom: 6px; }

/* the "Add" button: a plus, then the word */
body.hv2 .pc4.pc4-add .label-btn.pc-quick.pc4-btn { gap: 8px; letter-spacing: .01em; }
body.hv2 .pc4.pc4-add .label-btn.pc-quick.pc4-btn::before {
  content: ""; flex: none; width: 13px; height: 13px;
  background: linear-gradient(currentColor, currentColor) center / 13px 2px no-repeat,
              linear-gradient(currentColor, currentColor) center / 2px 13px no-repeat; }
body.hv2 .pc4.pc4-add .label-btn.pc-quick.pc4-btn:disabled::before,
body.hv2 .pc4.pc4-add .label-btn.pc-quick.pc4-btn.is-added::before { display: none; }
body.hv2 .pc4.pcp-on .label-btn.pc-quick.pc4-btn { visibility: hidden; }

/* the strength sheet */
body.hv2 .pcp { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; justify-content: flex-end; }
body.hv2 .pcp .pcp-scrim { position: absolute; inset: 0; background: rgba(10,10,11,0); transition: background .24s ease; cursor: pointer; }
body.hv2 .pcp.is-open .pcp-scrim { background: rgba(10,10,11,.32); }
body.hv2 .pcp .pcp-sheet:focus { outline: none; }
body.hv2 .pcp .pcp-sheet {
  position: relative; container-type: inline-size; max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: #0A0A0B; color: #FFFFFF; border-radius: 16px 16px 0 0; padding: 12px 12px 8px;
  box-shadow: 0 -20px 44px -26px rgba(0,0,0,.7);
  transform: translateY(102%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
body.hv2 .pcp.is-open .pcp-sheet { transform: none; }
body.hv2 .pcp .pcp-sheet::before {   /* a thin blue edge on top: the brand colour */
  content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: #1F6FE5; }
body.hv2 .pcp .pcp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 6px 2px 10px 4px; }
body.hv2 .pcp .pcp-titles { min-width: 0; }
body.hv2 .pcp .pcp-kicker { display: block; font: 700 10.5px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #8A8B91; }
body.hv2 .pcp .pcp-name { display: block; margin-top: 4px; font: 650 15px/1.2 var(--font-body); color: #FFFFFF; overflow-wrap: anywhere; }
body.hv2 .pcp .pcp-x {
  flex: none; width: 36px; height: 36px; margin: -4px -6px 0 0; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: #C8C8CD; display: inline-grid; place-items: center; cursor: pointer; }
body.hv2 .pcp .pcp-x:hover { background: rgba(255,255,255,.08); color: #FFFFFF; }
body.hv2 .pcp .pcp-list { display: flex; flex-direction: column; }
body.hv2 .pcp .pcp-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 54px; margin: 0;
  padding: 8px 6px 8px 8px; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0; background: transparent;
  color: #FFFFFF; text-align: left; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .15s ease; }
body.hv2 .pcp .pcp-opt:first-child { border-top-color: rgba(255,255,255,.18); }
body.hv2 .pcp .pcp-l { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow: hidden; }
body.hv2 .pcp .pcp-l > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* never under the price */
body.hv2 .pcp .pcp-mg {
  font-family: "PV5 Condensed", "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
body.hv2 .pcp .pcp-pu { font: 500 11.5px/1 var(--font-body); color: #8A8B91; font-variant-numeric: tabular-nums; }
body.hv2 .pcp .pcp-r { display: inline-flex; align-items: center; gap: 8px; flex: none; }
body.hv2 .pcp .pcp-p { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }   /* crossed-out price above the price */
body.hv2 .pcp .pcp-price { font: 700 15.5px/1 var(--font-body); font-variant-numeric: lining-nums tabular-nums; }
body.hv2 .pcp .pcp-was { font: 500 12px/1 var(--font-body); color: #8A8B91; }
body.hv2 .pcp .pcp-plus {
  flex: none; width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55);
  background: linear-gradient(currentColor, currentColor) center / 11px 1.75px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.75px 11px no-repeat;
  transition: background-color .15s ease, border-color .15s ease; }
body.hv2 .pcp .pcp-out { font: 600 12px/1 var(--font-body); letter-spacing: .04em; color: #8A8B91; text-transform: uppercase; }
body.hv2 .pcp .pcp-opt:disabled { cursor: not-allowed; }
body.hv2 .pcp .pcp-opt:disabled .pcp-mg { color: #55565C; text-decoration: line-through; text-decoration-thickness: 1.5px; }
@media (hover: hover) {
  body.hv2 .pcp .pcp-opt:not(:disabled):hover { background: rgba(255,255,255,.06); }
  body.hv2 .pcp .pcp-opt:not(:disabled):hover .pcp-plus { background-color: #1F6FE5; border-color: #1F6FE5; }
}
body.hv2 .pcp .pcp-opt:focus-visible { outline: 2px solid #1F6FE5; outline-offset: -2px; border-radius: 8px; }
body.hv2 .pcp .pcp-x:focus-visible { outline: 2px solid #1F6FE5; outline-offset: 1px; }
body.hv2 .pcp .pcp-opt.is-picked { background: #1F6FE5; }
body.hv2 .pcp .pcp-opt.is-picked .pcp-plus { border-color: #FFFFFF; }

@media (max-width: 639.98px) {
  body.hv2 .pc4.pc4-add:has(select.label-pick) .pc4-price::before { font-size: 11.5px; }
  body.hv2 .pcp .pcp-sheet { padding: 10px 8px 6px; border-radius: 14px 14px 0 0; }
  body.hv2 .pcp .pcp-sheet::before { left: 10px; right: 10px; }
  body.hv2 .pcp .pcp-head { padding: 6px 0 8px 4px; }
  body.hv2 .pcp .pcp-kicker { font-size: 9.5px; letter-spacing: .07em; white-space: nowrap; }
  body.hv2 .pcp .pcp-name { font-size: 13.5px; }
  body.hv2 .pcp .pcp-x { width: 34px; height: 34px; margin: -6px -4px 0 0; }
  body.hv2 .pcp .pcp-opt { min-height: 48px; padding: 6px 2px 6px 6px; gap: 6px; }
  body.hv2 .pcp .pcp-mg { font-size: 19px; }
  body.hv2 .pcp .pcp-pu { font-size: 10.5px; }
  body.hv2 .pcp .pcp-price { font-size: 14px; }
  body.hv2 .pcp .pcp-was { display: none; }
  body.hv2 .pcp .pcp-r { gap: 6px; }
  body.hv2 .pcp .pcp-plus { width: 24px; height: 24px; }
}
/* a narrow card (320px phones; 3-across cards just above 640px): the row itself is the button, so the + circle goes
   first, then the per-mg price; the size and the price always show in full */
@container (max-width: 139px) {
  body.hv2 .pcp .pcp-plus { display: none; }
}
@media (min-width: 640px) {
  @container (max-width: 175px) {
    body.hv2 .pcp .pcp-plus { display: none; }
  }
}
@container (max-width: 100px) {
  body.hv2 .pcp .pcp-pu { display: none; }
}

/* the front page's Best sellers cards (home_v5.html, .pv5-pick): the same card treatment and the same sheet */
body.hv2 .pv5 .pv5-card.pv5-pick { position: relative; }
body.hv2 .pv5 .pv5-card.pv5-pick .pv5-sizes,
body.hv2 .pv5 .pv5-card.pv5-pick .pv5-card-meta { display: none !important; }
body.hv2 .pv5 .pv5-card.pv5-pick:has(.pv5-sizes) .pv5-card-price::before {
  content: "From"; margin-right: 6px; font: 500 12.5px/1 var(--font-body, inherit); letter-spacing: .01em; color: #6B6E73; }
body.hv2 .pv5 .pv5-card.pv5-pick .pv5-add[data-pv5-add] { gap: 8px; }
body.hv2 .pv5 .pv5-card.pv5-pick .pv5-add[data-pv5-add]::before {
  content: ""; flex: none; width: 13px; height: 13px;
  background: linear-gradient(currentColor, currentColor) center / 13px 2px no-repeat,
              linear-gradient(currentColor, currentColor) center / 2px 13px no-repeat; }
body.hv2 .pv5 .pv5-card.pv5-pick .pv5-add[data-pv5-add]:disabled::before,
body.hv2 .pv5 .pv5-card.pv5-pick .pv5-add[data-pv5-add].is-added::before { display: none; }
body.hv2 .pv5 .pv5-card.pcp-on .pv5-add[data-pv5-add] { visibility: hidden; }
body.hv2 .pv5 .pv5-card .pcp { overflow: hidden; }   /* the card itself lets the vial rise out of it; the sheet stays inside */

@media (prefers-reduced-motion: reduce) {
  body.hv2 .pcp .pcp-sheet, body.hv2 .pcp .pcp-scrim { transition: none; }
}

/* [PPS-KIT-BADGE] the slide-out cart's "10% kit discount": a small blue bubble (card-pick.js marks it) */
#pcqDrawer .pcq-free.pps-kit-badge {
  display: inline-block; margin-top: 6px; padding: 3px 9px 3px; border-radius: 999px; background: #1F6FE5; color: #FFFFFF !important;
  font: 700 10.5px/1.35 var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
