/* [PPS-CARD-SHEET] update 348: product cards outside product pages: photo, name, price, one button; no size chips.
   "Select" (cards with more than one size) opens the size sheet (static/js/v7/card-sheet.js): a bottom sheet on
   phones, a centred 440px box from 768px. The v7 look: navy #0B1D4A, blue #2A82D4, white. Loaded after the v7 sheets. */

/* ------------------------------------------------------------------ cards: no size chips */
html body.hv2 .label-card.pc4.pc4-add .pc4-body .pc4-sizes,
html[data-v7-sizes="on"] body.hv2 .label-card.pc4.pc4-add .pc4-body .pc4-sizes { display: none !important; }
html body.hv2 #pv5 .pv5-card .pv5-sizes,
html body.hv2 #pv5 .pv5-card .h7-chips { display: none !important; }
html body.hv2 #pv5 .pv5-card .h7-card-sub { margin-bottom: 12px; }
/* a card with sizes shows its lowest price: "From" before it (as before the size chips) */
html[data-v7-sizes="on"] body.hv2 article.label-card.pc4.pc4-add.pps-sizes .pc4-price::before {
  content: "From"; display: inline; align-self: baseline; margin-right: 0;
  font: 500 12.5px/1 Inter, system-ui, sans-serif !important; color: #5D6B82 !important; }
html body.hv2 #pv5 .pv5-card:has(.pv5-sizes) .pv5-card-price::before {
  content: "From"; align-self: baseline; font: 500 12.5px/1.2 Inter, system-ui, sans-serif; color: #5D6B82; }

/* ------------------------------------------------------------------ the size sheet */
html.pcs-lock, html.pcs-lock body { overflow: hidden !important; }
.pcs { position: fixed; inset: 0; z-index: 2147481000; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0B1D4A; -webkit-text-size-adjust: 100%; }
.pcs *, .pcs *::before, .pcs *::after { box-sizing: border-box; }
.pcs-scrim { position: absolute; inset: 0; background: rgba(11, 29, 74, 0); cursor: pointer;
  -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition: background .26s ease, -webkit-backdrop-filter .26s ease, backdrop-filter .26s ease; }
.pcs.is-open .pcs-scrim { background: rgba(11, 29, 74, .46); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pcs-panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
  max-height: 86vh; max-height: min(86vh, 86dvh); background: #FFFFFF; border-radius: 24px 24px 0 0;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -24px 60px -24px rgba(11, 29, 74, .5);
  transform: translateY(104%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); outline: none; overscroll-behavior: contain; }
.pcs.is-open .pcs-panel { transform: none; }
.pcs-grab { flex: none; width: 44px; height: 5px; margin: 0 auto 12px; border-radius: 99px; background: #D3DCE9; }
.pcs-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 2px 0 14px; border-bottom: 1px solid #E3E9F2; }
.pcs-pic { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #F3F6FB; border: 1px solid #E3E9F2; }
.pcs-titles { flex: 1 1 auto; min-width: 0; }
.pcs .pcs-name { margin: 0; font: 800 17px/1.25 Manrope, Inter, system-ui, sans-serif; letter-spacing: -.01em; color: #0B1D4A;
  overflow-wrap: anywhere; }
.pcs .pcs-from { margin: 4px 0 0; font: 500 13.5px/1.35 Inter, system-ui, sans-serif; color: #5D6B82; }
.pcs .pcs-from b { font-weight: 700; color: #0B1D4A; }
.pcs-x { flex: none; align-self: flex-start; width: 40px; height: 40px; margin: -2px -4px 0 0; padding: 0; border: 0; border-radius: 999px;
  background: #F1F4F9; color: #0B1D4A; display: inline-grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .15s ease; }
.pcs-x:hover { background: #E3E9F2; }
.pcs-x:focus-visible { outline: 2px solid #2A82D4; outline-offset: 2px; }
.pcs .pcs-label { flex: none; margin: 16px 2px 10px; font: 700 11.5px/1.2 Inter, system-ui, sans-serif; letter-spacing: .16em;
  text-transform: uppercase; color: #5D6B82; }
.pcs .pcs-note { flex: none; margin: -4px 2px 10px; font: 500 12.5px/1.3 Inter, system-ui, sans-serif; color: #1B3A6B; }
.pcs-list { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  margin: 0 -4px; padding: 0 4px 2px; }
.pcs-opt { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 64px; margin: 0;
  padding: 10px 12px 10px 18px; border: 1.5px solid #E3E9F2; border-radius: 16px; background: #FFFFFF; color: #0B1D4A; text-align: left;
  font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, background .15s ease; }
.pcs-size { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 0 4px; font: 800 18px/1.4 Manrope, Inter, system-ui, sans-serif;
  letter-spacing: -.01em; color: #0B1D4A; }
.pcs-r { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.pcs .pcs-was { font: 500 13.5px/1.3 Inter, system-ui, sans-serif; color: #8A97AC; text-decoration: line-through; }
.pcs-price { font: 800 17px/1.3 Manrope, Inter, system-ui, sans-serif; color: #0B1D4A; font-variant-numeric: lining-nums tabular-nums; }
.pcs-plus { flex: none; width: 38px; height: 38px; border-radius: 999px; background-color: #0B1D4A; color: #FFFFFF;
  background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(#FFFFFF, #FFFFFF);
  background-size: 14px 2px, 2px 14px; background-position: center; background-repeat: no-repeat; transition: background-color .15s ease; }
.pcs-out { font: 600 13px/1.3 Inter, system-ui, sans-serif; color: #8A97AC; padding-right: 6px; }
.pcs-opt:disabled { cursor: not-allowed; background: #F7F9FC; border-color: #EEF2F7; }
.pcs-opt:disabled .pcs-size { color: #8A97AC; }
.pcs-opt:focus-visible { outline: 2px solid #2A82D4; outline-offset: 2px; }
@media (hover: hover) {
  .pcs-opt:not(:disabled):hover { border-color: #2A82D4; background: #F5F9FE; }
  .pcs-opt:not(:disabled):hover .pcs-plus { background-color: #2A82D4; }
}
.pcs-opt:not(:disabled):active, .pcs-opt.is-picked { border-color: #2A82D4; background: #EAF3FC; }
.pcs-opt.is-picked .pcs-plus { background-color: #2A82D4; }

@media (min-width: 768px) {   /* a centred box */
  .pcs-panel { left: 50%; right: auto; top: 50%; bottom: auto; width: 440px; max-width: calc(100vw - 32px); max-height: min(640px, calc(100vh - 64px));
    border-radius: 22px; padding: 20px 20px 20px; box-shadow: 0 30px 80px -24px rgba(11, 29, 74, .55);
    opacity: 0; transform: translate(-50%, -48%) scale(.97); transition: transform .24s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; }
  .pcs.is-open .pcs-panel { opacity: 1; transform: translate(-50%, -50%); }
  .pcs-grab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pcs-scrim, .pcs-panel { transition: none !important; }
}
/* v3 (Oct 30, owner): no Prime Rewards line in the slide-out cart; the points show on the cart page / checkout only */
.pcq-rw[data-pps-points="drawer"] { display: none !important; }
