/* UK Vape Kings cart page — what the copied store stylesheet cannot know about Porto, plus the pieces
   the store renders from apps (yellow marquee, Trustpilot band, BLOY box). Every number is measured on
   ukvapekings.com/cart; see design/CHECKOUT-FLOW-PARITY-PASS.md. */

/* Porto's page shell: no page title band, no bootstrap gutter, no "Cart updated" message. */
body.ukvk-cart-page .page-wrapper > .porto-block,
body.ukvk-cart-page .page-top,
body.ukvk-cart-page .woo-page-header,
body.ukvk-cart-page .woocommerce-notices-wrapper .woocommerce-message { display: none !important; }
body.ukvk-cart-page .row.main-content-wrap > .main-content { padding-top: 0; padding-bottom: 0; }
body.ukvk-cart-page .woocommerce { margin: 0; padding: 0; }
body.ukvk-cart-page .cart-v2 { display: none; }

/* The scope root behaves like the store's <body>. */
.ukvk-sf { display: block; }
.ukvk-sf, .ukvk-sf * { box-sizing: border-box; }
.ukvk-sf .page-width { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--px-mobile); }

/* The yellow BXGY marquee the store runs above its cart (app "dn-marquee": #ffd700 / #373737, 22px 600, 12px pad). */
.ukvk-cart-marquee { --dn-bg: #ffd700; --dn-text: #373737; --dn-size: 22px; --dn-weight: 600; --dn-speed: 20s;
  background: var(--dn-bg); color: var(--dn-text); padding: 12px 0; overflow: hidden; width: 100%; }
.ukvk-cart-marquee .dn-marquee-bar__wrapper { width: 100%; overflow: hidden; }
.ukvk-cart-marquee .dn-marquee-bar__track { display: flex; align-items: center; gap: 60px; width: max-content; animation: ukvk-dn-marquee var(--dn-speed) linear infinite; }
.ukvk-cart-marquee .dn-marquee-bar__item { display: flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: Barlow, sans-serif; font-size: var(--dn-size); font-weight: var(--dn-weight); line-height: 24px; text-transform: uppercase; }
.ukvk-cart-marquee .dn-marquee-bar__icon { display: flex; align-items: center; }
@keyframes ukvk-dn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ukvk-cart-marquee .dn-marquee-bar__track { animation: none; } }
@media (max-width: 749px) { .ukvk-cart-marquee .dn-marquee-bar__item { font-size: 16px; line-height: 22px; } .ukvk-cart-marquee .dn-marquee-bar__track { gap: 36px; } }

/* Trustpilot band: the store's app block sits on #f9fafb with the TrustBox at 240px. */
.ukvk-trustband { background: #f9fafb; }
.ukvk-trustband .trustpilot-widget { display: flex; justify-content: center; width: 100%; padding: 10px 0; min-height: 260px; }

/* BLOY's "Log in to redeem points" box next to the cart title. */
.ukvk-sf .ukvk-bloy-cart { display: flex; justify-content: flex-end; }
.ukvk-sf .ukvk-bloy-cart__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #E8ECFF; border-radius: 8px; padding: 12px; margin: 8px 0 0; font-size: 14px; line-height: 25.7895px; color: #303030; }
.ukvk-sf .ukvk-bloy-cart__text { font-size: 14px; line-height: 25.8px; color: #303030; }
.ukvk-sf .ukvk-bloy-cart__login { font-size: 14px; line-height: 25.8px; color: #303030; text-decoration: underline; }
.ukvk-sf cart-items.is-empty ~ .ukvk-bloy-cart, .ukvk-sf .is-empty .ukvk-bloy-cart { justify-content: flex-end; }

/* Star strip inside the store-markup cards (the store uses Judge.me's badge). */
.ukvk-sf .ukvk-sf-stars { position: relative; display: inline-block; width: 78px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 14'><g fill='%23dcdcdc'><path d='M7 0l2 4.6 5 .5-3.8 3.3L11.3 13 7 10.5 2.7 13l1.1-4.6L0 5.1l5-.5z'/><path d='M23 0l2 4.6 5 .5-3.8 3.3L27.3 13 23 10.5 18.7 13l1.1-4.6L16 5.1l5-.5z'/><path d='M39 0l2 4.6 5 .5-3.8 3.3L43.3 13 39 10.5 34.7 13l1.1-4.6L32 5.1l5-.5z'/><path d='M55 0l2 4.6 5 .5-3.8 3.3L59.3 13 55 10.5 50.7 13l1.1-4.6L48 5.1l5-.5z'/><path d='M71 0l2 4.6 5 .5-3.8 3.3L75.3 13 71 10.5 66.7 13l1.1-4.6L64 5.1l5-.5z'/></g></svg>") no-repeat; }
.ukvk-sf .ukvk-sf-stars::after { content: ""; position: absolute; inset: 0; width: var(--pct, 0%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 14'><g fill='%23f5e121'><path d='M7 0l2 4.6 5 .5-3.8 3.3L11.3 13 7 10.5 2.7 13l1.1-4.6L0 5.1l5-.5z'/><path d='M23 0l2 4.6 5 .5-3.8 3.3L27.3 13 23 10.5 18.7 13l1.1-4.6L16 5.1l5-.5z'/><path d='M39 0l2 4.6 5 .5-3.8 3.3L43.3 13 39 10.5 34.7 13l1.1-4.6L32 5.1l5-.5z'/><path d='M55 0l2 4.6 5 .5-3.8 3.3L59.3 13 55 10.5 50.7 13l1.1-4.6L48 5.1l5-.5z'/><path d='M71 0l2 4.6 5 .5-3.8 3.3L75.3 13 71 10.5 66.7 13l1.1-4.6L64 5.1l5-.5z'/></g></svg>") no-repeat; }
.ukvk-sf .ukvk-sf-stars__count { font-size: 12px; line-height: 1; }

/* Reward points pill inside the cards (the store paints it inline on every card). */
.ukvk-sf:not(#ukvk-x) .reward-points-hint { background: linear-gradient(180deg, #8C00FC 0%, #5900C6 100%); color: #fff; margin: 10px 0; font-weight: 700; line-height: 19.8947px;
  display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px; font-size: 14px; border-radius: 4px; }
.ukvk-sf:not(#ukvk-x) .reward-points-hint img { display: block; margin: 0; width: 20px; height: 20px; }
.ukvk-sf .ukvk-sf-card__link { position: absolute; inset: 0; z-index: 1; }


/* Woo hooks that must stay invisible: the hidden update button, cart.js's blockUI overlay tint. */
.ukvk-sf .ukvk-cart-update { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ukvk-sf .blockUI.blockOverlay { background: #fff !important; opacity: .6 !important; }

/* ---- Porto ships Bootstrap 4, whose spacing/flex/border utilities carry !important and share class
   names with the store's utility classes. Re-state the store's values at ID-level specificity. ---- */
.ukvk-sf:not(#ukvk-x) .p-2 { padding: 19px !important; }
.ukvk-sf:not(#ukvk-x) .pl-2 { padding-left: 19px !important; }
.ukvk-sf:not(#ukvk-x) .pr-2 { padding-right: 19px !important; }
.ukvk-sf:not(#ukvk-x) .pt-1 { padding-top: 9.5px !important; }
.ukvk-sf:not(#ukvk-x) .pb-1 { padding-bottom: 9.5px !important; }
.ukvk-sf:not(#ukvk-x) .pb-2 { padding-bottom: 19px !important; }
.ukvk-sf:not(#ukvk-x) .pt-15 { padding-top: 14.25px !important; }
.ukvk-sf:not(#ukvk-x) .p-15 { padding: 14.25px !important; }
.ukvk-sf:not(#ukvk-x) .m-0 { margin: 0 !important; }
.ukvk-sf:not(#ukvk-x) .mt-0 { margin-top: 0 !important; }
.ukvk-sf:not(#ukvk-x) .mb-0 { margin-bottom: 0 !important; }
.ukvk-sf:not(#ukvk-x) .mb-1 { margin-bottom: 9.5px !important; }
.ukvk-sf:not(#ukvk-x) .mb-2 { margin-bottom: 19px !important; }
.ukvk-sf:not(#ukvk-x) .mt-1 { margin-top: 9.5px !important; }
.ukvk-sf:not(#ukvk-x) .mb-15 { margin-bottom: 14.25px !important; }
.ukvk-sf:not(#ukvk-x) .mt-05 { margin-top: 4.75px !important; }
.ukvk-sf:not(#ukvk-x) .gap-05 { gap: 4.75px !important; }
.ukvk-sf:not(#ukvk-x) .gap-1 { gap: 9.5px !important; }
.ukvk-sf:not(#ukvk-x) .gap-2 { gap: 19px !important; }
.ukvk-sf:not(#ukvk-x) .flex { display: flex !important; }
.ukvk-sf:not(#ukvk-x) .flex-col { flex-direction: column !important; }
.ukvk-sf:not(#ukvk-x) .flex-row { flex-direction: row !important; }
.ukvk-sf:not(#ukvk-x) .flex-wrap { flex-wrap: wrap !important; }
.ukvk-sf:not(#ukvk-x) .items-center { align-items: center !important; }
.ukvk-sf:not(#ukvk-x) .justify-between { justify-content: space-between !important; }
.ukvk-sf:not(#ukvk-x) .w-full { width: 100% !important; }
.ukvk-sf:not(#ukvk-x) .relative { position: relative !important; }
.ukvk-sf:not(#ukvk-x) .border { border: 1px solid rgba(var(--color-foreground), .08) !important; }
.ukvk-sf:not(#ukvk-x) .block { display: block !important; }
.ukvk-sf:not(#ukvk-x) .right { text-align: end !important; }
.ukvk-sf:not(#ukvk-x) h2.text-body, .ukvk-sf:not(#ukvk-x) p.text-body { color: inherit !important; }
.ukvk-sf:not(#ukvk-x) .card__heading.text-body { color: #090808 !important; }
.ukvk-sf:not(#ukvk-x) .text-current { color: currentColor !important; }
/* Bootstrap's .card / .media boxes: the store's card owns border, radius, background and layout. */
.ukvk-sf .card { min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; flex-direction: column; line-height: inherit; }
.ukvk-sf .media { align-items: initial; }
/* Porto colours headings, table cells and paragraphs itself; the store inherits them from the scheme. */
.ukvk-sf h1, .ukvk-sf h2, .ukvk-sf h3, .ukvk-sf h4, .ukvk-sf h5, .ukvk-sf h6, .ukvk-sf p, .ukvk-sf th, .ukvk-sf td, .ukvk-sf dt, .ukvk-sf dd, .ukvk-sf label { color: inherit; }
.ukvk-sf .underlined-link { text-decoration: underline; }
.ukvk-sf a.cart-item__name { color: currentColor; }
/* Porto's WooCommerce .price is 1.5em/600 and block; the store's line price is body size. */
.ukvk-sf .cart-item .cart-item__discounted-prices dd { display: block; margin: 0; }
.ukvk-sf .cart-item .quantity__input { line-height: normal; }
.ukvk-sf .cart-item .quantity__button { line-height: normal; }
.ukvk-sf input[type="checkbox"] { margin: 3px 3px 3px 4px; }
/* the marquee copy is set, not upper-cased, on the store */
.ukvk-cart-marquee .dn-marquee-bar__item { text-transform: none; line-height: 22px; letter-spacing: .0152px; }
/* the TrustBox sits inside the page width, on the grey band */
.ukvk-trustband > .page-width { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
/* BLOY's box is a third flex child of the cart container, between the lines and the summary */
.ukvk-sf .cart-container > .ukvk-bloy-cart { flex: 1 1 auto; margin-bottom: 16px; min-width: 0; }
.ukvk-sf .cart-container > #main-cart-items { flex: 0 1 auto; }
.ukvk-sf .ukvk-bloy-cart__inner { margin: 8px 0; }
.ukvk-sf .ukvk-bloy-cart__text { display: flex; align-items: center; gap: 5px; }
/* the store keeps its loyalty strip beside the items down to 990px (176px wide at 1100, 157px at 1024), then drops it under the
   items: 400px wide, right-aligned at 768; full width at 390 (measured 2026-09-25) */
@media screen and (max-width: 989px) { .ukvk-sf .cart-container > .ukvk-bloy-cart { flex: 0 0 auto; width: 100%; display: flex; justify-content: flex-end; margin-bottom: 0; } .ukvk-sf .cart-container > .ukvk-bloy-cart .ukvk-bloy-cart__inner { width: 400px; max-width: 100%; margin: 8px 0 0; } }

/* second pass after the 1440 diff */
.ukvk-sf .ukvk-bloy-cart__text { flex: 1 1 auto; }
.ukvk-sf .ukvk-bloy-cart__login { flex: 0 0 auto; white-space: nowrap; }
.ukvk-sf .footer-message label { display: inline; line-height: 1; }
.ukvk-sf .ukvk-sf-stars__count { font-size: 12px; }

/* Best Sellers: the store's featured-collection section. The row is a scroll slider: 330px slides, 16px
   gap, the first slide inset 9rem (85.5px). It scrolls inside its own box so the page never overflows. */
.ukvk-sf .ukvk-best-sellers .section__inner { padding: 75px 0; }
.ukvk-sf .ukvk-best-sellers .collection__title { padding: 0 20px; margin: 0 0 28.5px; }
.ukvk-sf .ukvk-best-sellers .section-title { margin: 0 0 4.75px; }
/* the Best Sellers slider is laid out by the ported theme CSS (grid--scaled / slider--desktop / page-width-desktop) — see ukvk-cart.php */
.ukvk-sf { --desktop-margin-left-first-item: max(47.5px, calc((100vw - 1368px + 95px - 16px) / 2 + 10px)); }
.ukvk-sf .ukvk-best-sellers__grid { list-style: none; padding: 0; }

/* third pass: ID-level where Porto's own selectors outrank a plain descendant rule */
.ukvk-sf:not(#ukvk-x) th, .ukvk-sf:not(#ukvk-x) td { color: inherit; }
.ukvk-sf:not(#ukvk-x) dt { font-weight: 400; }
.ukvk-sf:not(#ukvk-x) .card { line-height: inherit; }
.ukvk-sf:not(#ukvk-x) .cart-item .price { font-size: inherit; font-weight: 400; margin: 0; color: inherit; }
.ukvk-sf:not(#ukvk-x) .cart-item s.price-item--regular, .ukvk-sf:not(#ukvk-x) .cart-item .cart-item__old-price { font-weight: 400; opacity: .7; text-decoration: line-through; }
.ukvk-sf:not(#ukvk-x) .card--horizontal__quick-add .icon-wrap { display: flex; width: 17.09px; height: 17.09px; margin-left: 7.6px; }
.ukvk-sf:not(#ukvk-x) .card--horizontal__quick-add .icon-wrap svg { width: 100%; height: 100%; }
.ukvk-sf:not(#ukvk-x) .quick-add__submit[disabled] { opacity: 1; }

/* ---- 2026-09-25 fourth pass: card internals measured against the store's Best Sellers card ---- */
/* Bootstrap's .ratio > * { height: 100% } fought Dawn's top/bottom: 0 media box (store media = 318.63 inside a 330 square, ours 330) */
.ukvk-sf:not(#ukvk-x) .card__inner.ratio > .card__media { height: auto; }
.ukvk-sf:not(#ukvk-x) .card__inner.ratio > .card__media .media { height: auto; }
/* the rating row is a block with inline stars + count on the store (21.8 tall on the grid card), not a flex row with a 4.75 top margin */
.ukvk-sf:not(#ukvk-x) .card .card-rating-container { display: block !important; margin-top: 0 !important; min-height: 20px; }
.ukvk-sf:not(#ukvk-x) .card .card-rating-container .rating { display: inline; }
.ukvk-sf:not(#ukvk-x) .card .card-rating-container .rating-count { display: inline; margin: 0; }
/* section wrappers: Porto's <section> defaults off; the Trustpilot band sits on white; the marquee keeps the body colour */
.ukvk-sf section.ukvk-best-sellers { margin: 0; padding: 0; background: transparent; border: 0; }
.ukvk-trustband { background: #fff; }
.ukvk-cart-marquee { color: rgb(44, 70, 61); }
.ukvk-cart-marquee .dn-marquee-bar__item { color: var(--dn-text); }

/* Bootstrap gives tables a bottom margin that collapses through cart-items into #main-cart-items (+15px vs the store) */
.ukvk-sf:not(#ukvk-x) cart-items table, .ukvk-sf:not(#ukvk-x) cart-items .cart__items { margin-bottom: 0; }

/* "You may also like" image box: the store's product images are all square; ours are not always (SKE Bar is portrait), so the box is held square */
.ukvk-sf:not(#ukvk-x) .card--horizontal .card__inner { aspect-ratio: 1 / 1; }
.ukvk-sf:not(#ukvk-x) .card--horizontal .card__inner .card__media .media img { object-fit: contain; }

/* members: the strip carries the redemption panel (balance, 1,000-point slider, Apply) in the same box */
.ukvk-sf .ukvk-bloy-cart--member .ukvk-bloy-cart__inner { display: block; }
.ukvk-sf .ukvk-bloy-cart--member .ukvk-redeem { background: transparent; border-radius: 0; padding: 0; margin: 0; font-size: 14px; line-height: 25.7895px; color: #303030; }
.ukvk-sf .ukvk-bloy-cart--member .ukvk-redeem__head { margin-bottom: 4px; }
.ukvk-sf .ukvk-bloy-cart--member .ukvk-redeem .button { padding: 6px 14px; font-size: 13px; }
/* below 990 the store's "You may also like" keeps its 400px column beside the totals (768) and bleeds 1px each side at 390 */
@media screen and (max-width: 989.98px) { .ukvk-sf:not(#ukvk-x) .cart__footer .cart__recommendations { width: 400px; max-width: 100%; flex: 0 1 auto; } }
@media screen and (max-width: 749px) { .ukvk-sf:not(#ukvk-x) .cart__footer .cart__recommendations { width: calc(100% + 2px); max-width: none; margin-left: -1px; margin-right: -1px; } }

/* the Best Sellers slider's prev/next + scrollbar block is desktop-only on the store (section 904.7 tall at 768, ours was 935.2) */
@media screen and (max-width: 989.98px) { .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .slider-buttons.page-width { display: none; } }

/* owner's call (2026-09-25): on phones the totals block spans the page; the store keeps a 257px content-width block */
@media screen and (max-width: 749px) { .ukvk-sf:not(#ukvk-x) .cart__footer .cart__blocks { width: 100%; max-width: 100%; } }
/* the band moved under the cart: same 20px gutters as the cart container, no top overlap with the sticky totals */
.ukvk-sf ~ .ukvk-trustband, .ukvk-cart-template + .ukvk-trustband { position: relative; z-index: 1; }

/* ---- Best Sellers under 990px: owner's call (2026-09-25). The store pins product-card to 320px inside 245px (768) / 187px (390)
   slides, so its cards overlap each other on phones. Here a card fills its slide and the internals scale to it. ---- */
@media screen and (max-width: 989.98px) {
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers product-card.block.card-wrapper.product-card-wrapper,
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card { width: 100% !important; max-width: 100%; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card__content { grid-template-columns: minmax(0, 1fr); padding: 6px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card__information { padding: 6px 6px 0; min-width: 0; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .product-vendor { font-size: 11px; margin-bottom: 4px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card__heading { font-size: 14px; line-height: 18px; min-height: 36px; margin-bottom: 6px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card__heading a { font-size: 14px; line-height: 18px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card-rating-container { min-height: 18px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card-rating-container .rating-star { --font-size: 1.4; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card-information { padding-top: 6px; gap: 6px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .price-combo-main { flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .price .price-item--sale,
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .price .price-item--regular { font-size: 18px; line-height: 26px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .price s.price-item--regular { font-size: 11px; line-height: 16px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers div#combo-text-ah p { font-size: 11px; padding: 4px 8px !important; margin: 0; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .reward-points-hint { font-size: 12px; line-height: 16px; height: 34px; padding: 8px; margin: 6px 0; gap: 6px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .reward-points-hint img { width: 16px; height: 16px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .quick-add { width: 100%; margin: 0 0 6px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .quick-add__submit { width: 100%; min-height: 36px; padding: 10px 6px; font-size: 11px; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .quick-add__submit svg { width: 16px; height: 16px; margin-right: 4px !important; }
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .product-badge-main span { font-size: 10px; line-height: 18px; }
}
@media screen and (max-width: 749px) {
  .ukvk-sf:not(#ukvk-x) .ukvk-best-sellers .card__heading { min-height: 54px; }
}
