/* Additions on top of the copied pages: shipping options, Whop card field, errors, busy buttons. */
.pf-ship-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}
.pf-ship-row + .pf-ship-row { margin-top: 8px; }
.pf-ship-row span { flex: 1; }
.pf-ship-row small { display: block; color: #707070; font-size: 12px; margin-top: 2px; }
.pf-ship-row b { font-weight: 600; white-space: nowrap; }
.pf-ship-row input { margin: 0; width: 16px; height: 16px; accent-color: #016a4c; }
.pf-ship-row--insured:has(input:checked) { border-color: #016a4c; background: #f3faf6; }

/* The source checkout hid this block; with insured shipping and sales tax the buyer needs the breakdown. */
.cart .cc-cart-details-block {
  display: grid !important;
  grid-template-columns: 1fr auto;
  row-gap: 6px;
  margin: 12px 0 4px;
  font-size: 14px;
}
.cart .cc-cart-details-block .cc-cart-details-value { text-align: right; }

/* Landing page promo bar: compact on phones (was 123px tall). funnel.js pins the header right below it. */
@media (max-width: 991px) {
  .banner.mobile-banner { padding: 4px 0 !important; }
  .banner.mobile-banner .bottom-bar { padding: 4px 12px !important; }
  .banner.mobile-banner .order-text { font-size: 12px !important; line-height: 14px !important; }
  .banner.mobile-banner .timer-wrapper { margin-top: 3px; }
  .banner.mobile-banner .code { padding: 1px 8px !important; line-height: 20px !important; font-size: 12px !important; }
}

/* Bundle page --------------------------------------------------------------------------------------- */
/* No "TARIFF FREE" badges anywhere */
.tariff-box, .cs2-tariff-badge, .checkout-footer .cta-head { display: none !important; }
/* Button spinners sit centred over the whole button (the hidden label kept pushing them right) */
[data-next-action] { position: relative; }
[data-next-action] .submit-button__loader { position: absolute !important; inset: 0; justify-content: center; align-items: center; }
/* Size picker as large as the colour picker (56px, 16px text) */
select.cs2-select--size { height: 56px !important; font-size: 16px !important; font-weight: 500 !important; color: #222 !important; padding-left: 14px !important; }
*:has(> select.cs2-select--size) { min-height: 56px !important; height: auto !important; border: 1px solid #d0d0d0 !important; border-radius: 8px !important; background: #fff !important; }
/* Size chart pop-up opened by funnel.js (its original script never faded it in and froze scrolling) */
pageblock-modal.pf-open [data-pb-modal="overlay"], pageblock-modal.pf-open [data-pb-modal="sheet"] { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
pageblock-modal.pf-open [data-pb-modal="sheet"] { max-height: 90vh; overflow-y: auto; }

/* PayPal's express button is gone; let Apple Pay and Google Pay share the row evenly. */
.express__btns { display: flex; gap: 10px; }
.express__btns > button { flex: 1 1 0; min-width: 0; justify-content: center; }

#pf-card { min-height: 120px; margin: 4px 0 6px; }
#pf-branding { width: 100%; min-height: 28px; margin-top: 10px; }

.pf-invalid { border-color: #e22120 !important; }
.pf-error {
  display: none;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff1f0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.4;
}

.pf-busy { opacity: 0.65; pointer-events: none; position: relative; }
.pf-busy::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: pf-spin 0.7s linear infinite;
}
@keyframes pf-spin { to { transform: rotate(360deg); } }

/* No tax is charged for now: hide the receipt's Sales Tax row */
#cc-id-4NfSC1g2TNu9, span.salesTax { display: none !important; }

/* Landing page gallery: every photo gets the same rounded frame; the seal and the doctor badge show on the first only */
.hero-slider--display { overflow: hidden !important; border-radius: 16px; }
.hero-slider--current-image img { border-radius: 16px !important; }
.hero-slider--guarantee-seal, .hero-slider--recommended-seal { transition: opacity .2s ease; }
.hero-slider--display-wrapper.pf-not-first .hero-slider--guarantee-seal,
.hero-slider--display-wrapper.pf-not-first .hero-slider--recommended-seal { opacity: 0; pointer-events: none; }

/* Funnel B: cart drawer rows inside the store theme's own drawer (#CartDrawer), see initProduct in funnel.js */
#CartDrawer .ajaxcart-loading { display: none; }
.pf-bcart { height: 100%; }
.pf-bcart .drawer__inner.pf-bcart__list { overflow-y: auto; flex: 1 1 auto; padding: 0 20px; }
.pf-bcart__item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.08); align-items: start; }
.pf-bcart__item img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; background: #f4f4f4; }
.pf-bcart__name { font-weight: 600; font-size: 14px; line-height: 1.35; }
.pf-bcart__variant { font-size: 13px; opacity: .7; margin: 4px 0 10px; line-height: 1.35; }
.pf-bcart__qty { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.pf-bcart__qty button[data-q="-1"], .pf-bcart__qty button[data-q="1"] { width: 32px; height: 32px; border: 1px solid rgba(0,0,0,.15); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: inherit; }
.pf-bcart__qty button[data-q="-1"] { border-radius: 6px 0 0 6px; }
.pf-bcart__qty button[data-q="1"] { border-radius: 0 6px 6px 0; }
.pf-bcart__qty button .material-icons-round { font-size: 18px; }
.pf-bcart__qty > span { min-width: 36px; height: 32px; line-height: 30px; text-align: center; border-top: 1px solid rgba(0,0,0,.15); border-bottom: 1px solid rgba(0,0,0,.15); font-size: 14px; }
.pf-bcart__remove { background: none; border: 0; padding: 0 0 0 12px; font-size: 12px; text-decoration: underline; cursor: pointer; color: inherit; opacity: .7; }
.pf-bcart__price { text-align: right; font-size: 14px; white-space: nowrap; }
.pf-bcart__price s { display: block; opacity: .55; font-size: 12px; }
.pf-bcart__price b { display: block; font-weight: 700; }
.pf-bcart__hint { margin: 16px 0 0; padding: 10px 12px; border-radius: 8px; background: #e1edea; color: #016a4c; font-size: 13px; font-weight: 600; text-align: center; }
.pf-bcart__note { margin: 12px 0 0; color: #d72c2c; font-size: 13px; text-align: center; }
.pf-bcart__foot { padding: 16px 20px 20px; border-top: 1px solid rgba(0,0,0,.08); }
.pf-bcart__row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.pf-bcart__save { color: #016a4c; font-weight: 600; }
.pf-bcart__total { font-size: 17px; font-weight: 700; margin: 4px 0 4px; }
.pf-bcart__ship { font-size: 12px; opacity: .65; margin: 0 0 12px; }
.pf-bcart__checkout { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pf-bcart__checkout .material-icons-round { font-size: 18px; }
/* cart drawer v2 (2026-10-17): reservation timer, Buy 2 Get 1 Free progress, totals, payment icons, trust */
.pf-bcart__reserved { display: flex; align-items: center; justify-content: center; gap: 6px; background: #016a4c; color: #fff; font-size: 13px; padding: 8px 12px; }
.pf-bcart__reserved .material-icons-round { font-size: 17px; }
.pf-bcart__reserved b { font-variant-numeric: tabular-nums; }
.pf-bcart__offer { margin: 16px 0 4px; padding: 12px 14px; border-radius: 10px; background: #e1edea; color: #12382c; }
.pf-bcart__offer p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.4; text-align: center; }
.pf-bcart__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pf-bcart__steps span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 0; border-radius: 999px; background: #fff; color: #8a9a94; border: 1px solid #c9dcd5; }
.pf-bcart__steps span.on { background: #016a4c; border-color: #016a4c; color: #fff; }
.pf-bcart__addfree { margin-top: 10px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 8px; border: 2px dashed #016a4c; background: #fff; color: #016a4c; font-weight: 700; font-size: 14px; cursor: pointer; }
.pf-bcart__addfree .material-icons-round { font-size: 18px; }
.pf-bcart__free { color: #016a4c; font-weight: 700; }
.pf-bcart__saved { margin: 2px 0 10px; text-align: center; font-size: 12.5px; font-weight: 700; color: #016a4c; background: #e1edea; border-radius: 6px; padding: 5px; }
.pf-bcart__pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 10px 0 6px; }
.pf-bcart__pay svg { width: 34px; height: 22px; }
.pf-bcart__trust { margin: 8px 0 6px; text-align: center; font-size: 13px; }
.pf-bcart__stars { color: #f5a623; letter-spacing: 1px; margin-right: 4px; }
.pf-bcart__perks { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; opacity: .8; }
.pf-bcart__perks li { display: flex; align-items: center; gap: 4px; }
.pf-bcart__perks .material-icons-round { font-size: 15px; color: #016a4c; }
.pf-bcart__foot .pf-bcart__total { border-top: 1px solid rgba(0,0,0,.08); padding-top: 8px; margin-top: 4px; }
.pf-bcart__freetag { display: inline-block; margin-top: 4px; padding: 2px 7px; border-radius: 999px; background: #016a4c; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
/* compact cart footer (2026-10-17): totals, Checkout, payment icons only */
.pf-bcart__foot { padding: 12px 20px 14px; }
.pf-bcart__foot .pf-bcart__row { margin-bottom: 3px; }
.pf-bcart__saved { margin: 2px 0 8px; }
.pf-bcart__pay { margin: 8px 0 0; }
.pf-bcart__list .pf-bcart__trust { margin: 14px 0 6px; }
.pf-bcart__foot .pf-bcart__total { border-top: 0; padding-top: 0; margin: 0 0 10px; }

/* bundle picker on the product page (2026-10-20): Buy 1 / Buy 2 Get 1 Free, each opening its colour + size pickers */
.pf-bundle { margin: 6px 0 16px; font-family: Poppins, sans-serif; }
.pf-bundle__head { margin: 0 0 8px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pf-bundle__opt { position: relative; border: 2px solid #d8e3df; border-radius: 10px; background: #fff; margin-bottom: 10px; transition: border-color .15s; }
.pf-bundle__opt.is-open { border-color: #016a4c; background: #f4faf7; }
.pf-bundle__bar { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.pf-bundle__radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9fb4ac; background: #fff; }
.pf-bundle__opt.is-open .pf-bundle__radio { border: 6px solid #016a4c; }
.pf-bundle__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-bundle__txt b { font-size: 15px; }
.pf-bundle__txt small { font-size: 12.5px; opacity: .75; }
.pf-bundle__price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.pf-bundle__price b { font-size: 16px; color: #016a4c; }
.pf-bundle__price s { font-size: 12.5px; opacity: .55; }
.pf-bundle__price em { font-style: normal; font-size: 11px; font-weight: 700; color: #016a4c; }
.pf-bundle__badge { position: absolute; top: -10px; right: 12px; padding: 2px 9px; border-radius: 999px; background: #016a4c; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; }
.pf-bundle__body { display: none; padding: 0 14px 14px; }
.pf-bundle__opt.is-open .pf-bundle__body { display: block; }
.pf-bundle__pair + .pf-bundle__pair { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #c9dcd5; }
.pf-bundle__pairlabel { font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.pf-bundle__free { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #016a4c; color: #fff; font-size: 10.5px; letter-spacing: .04em; }
.pf-bundle__selects { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.pf-bundle__selects label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; opacity: .9; }
.pf-bundle__selects select { width: 100%; min-width: 0; height: 40px; padding: 0 30px 0 10px; border: 1px solid #c9d6d1; border-radius: 6px; background-color: #fff; font: 13px Poppins, sans-serif; color: #111; }
@media (max-width: 420px) { .pf-bundle__selects { grid-template-columns: 1fr; } }

/* Peak Pro cart drawer: Orthora's UpCart drawer, measured 2026-10-23 (500px panel, Lato, green checkout) */
html.pf-noscroll{overflow:hidden}
.pf-pcart{position:fixed;inset:0;z-index:2147483000;pointer-events:none;font-family:Lato,sans-serif;color:#000}
.pf-pcart__shade{position:absolute;inset:0;background:rgba(0,0,0,.5);opacity:0;transition:opacity .25s}
.pf-pcart__panel{position:absolute;top:0;right:0;bottom:0;width:500px;max-width:100%;background:#fff;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .3s ease}
.pf-pcart.is-open{pointer-events:auto}
.pf-pcart.is-open .pf-pcart__shade{opacity:1}
.pf-pcart.is-open .pf-pcart__panel{transform:none}
.pf-pcart__head{display:flex;align-items:center;justify-content:space-between;padding:30px;border-bottom:1px solid rgba(0,0,0,.1);flex:none}
.pf-pcart__head h3{margin:0;font:700 18.72px/1.8 Lato,sans-serif;letter-spacing:0;color:#000}
.pf-pcart__close{width:30px;height:30px;border:0;border-radius:50%;background:rgba(0,0,0,.047);font-size:14px;line-height:30px;cursor:pointer;color:#000;padding:0}
.pf-pcart__body{flex:1;overflow-y:auto}
.pf-pcart__reward{padding:18px 30px 18px;border-bottom:1px solid rgba(0,0,0,.1)}
.pf-pcart__reward p{margin:0 0 6px;font:400 15px/20px Lato,sans-serif;text-align:center}
.pf-pcart__bar{height:10px;border-radius:16px;background:rgb(59,171,0);overflow:hidden}
.pf-pcart__bar i{display:block;height:100%;width:100%;background:rgb(59,171,0)}
.pf-pcart__item{display:flex;gap:20px;padding:20px 30px;border-bottom:1px solid rgba(0,0,0,.1)}
.pf-pcart__item>img{width:88px;height:88px;object-fit:cover;flex:none}
.pf-pcart__info{flex:1;min-width:0}
.pf-pcart__name{font:700 15px/20px Lato,sans-serif;margin-bottom:4px}
.pf-pcart__opt{font:400 14px/1.2 Lato,sans-serif;padding:6px 0}
.pf-pcart__row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:10px}
.pf-pcart__qty{display:flex}
.pf-pcart__qty button{width:30px;height:30px;border:1px solid #ddd;background:#fff;color:#000;font-size:16px;line-height:1;cursor:pointer;padding:0}
.pf-pcart__qty input{width:45px;height:30px;border:1px solid #ddd;border-left:0;border-right:0;text-align:center;font:400 14px Arial,sans-serif;padding:0;color:#000;background:#fff}
.pf-pcart__prices{text-align:right;font:400 15px/18px Lato,sans-serif;white-space:nowrap}
.pf-pcart__prices s{color:#000;margin-right:6px}
.pf-pcart__prices b{font-weight:500}
.pf-pcart__save{color:rgb(46,168,24);font-weight:800;margin-top:3px}
.pf-pcart__note{margin:12px 30px;font:400 14px Lato,sans-serif;color:#b00020;text-align:center}
.pf-pcart__foot{flex:none;padding:23px 23px 12px;border-top:1px solid rgba(0,0,0,.1);background:#fff}
.pf-pcart__total{display:flex;justify-content:space-between;padding:10px 0;font:400 20px/36px Lato,sans-serif}
.pf-pcart__checkout{display:block;width:100%;height:55px;border:0;border-radius:0;background:rgb(31,176,21);color:#fff;font:700 18px/27px Lato,sans-serif;cursor:pointer;letter-spacing:.5px}
.pf-pcart__trust{padding:10px 5px 0;text-align:center}
.pf-pcart__pay{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}
.pf-pcart__pay svg{width:38px;height:24px}
.pf-pcart__guarantee{margin-top:8px;font:700 13px/1.4 Lato,sans-serif;letter-spacing:.6px;border:1px solid #000;padding:6px 8px}
.pf-pcart__guarantee span{color:rgb(31,176,21);margin-right:6px}
.pf-pcart__empty{padding:40px 30px;text-align:center;font:400 16px Lato,sans-serif}
.pf-pcart__empty button{margin-top:14px;border:0;background:rgb(31,176,21);color:#fff;font:700 16px Lato,sans-serif;padding:14px 22px;cursor:pointer}
@media (max-width:749px){.pf-pcart__panel{width:100%}.pf-pcart__head{padding:20px}.pf-pcart__item{padding:16px 20px;gap:14px}.pf-pcart__reward{padding:14px 20px}}
/* bundle bars: Kaching draws the per-pair pickers only under the selected bar */
.kaching-bundles__bar:not(.kaching-bundles__bar--selected) .kaching-bundles__bar-variants{display:none}
.kaching-bundles__bar input[type=radio]{position:absolute;opacity:0;pointer-events:none}
[data-pf-pending]{display:none!important}

/* size & fit finder (Orthora's markup, our script): above the header, sticky bars and cart drawer */
.main_custom_size_inner_popup .ct-pop-overlay{z-index:2147483100}
.main_custom_size_inner_popup .ct-pop-overlay.ct-pop-guide{z-index:2147483101}
.main_custom_size_inner_popup [gen-abbr][hidden]{display:none!important}
.ct-pop-open{cursor:pointer}
/* desktop: show the whole image instead of cropping it to the text column's height (image-with-text, ticker) */
@media (min-width:750px){
  .image-with-text__media{height:auto!important;min-height:0!important;padding-bottom:0!important;align-self:center;background:transparent!important}
  .image-with-text__media-item{align-self:center}
  .image-with-text__media img,.image-with-text__media .image-with-text__image{position:static!important;height:auto!important;width:100%!important;object-fit:contain!important}
  .horizontal-ticker .image-container{height:auto!important}
  .horizontal-ticker .image-container img{height:auto!important;object-fit:contain!important}
}

/* "As seen in" strip: kept to the content width with even logo sizes, like Orthora (2026-10-29) */
@media (min-width:750px){
  .seen_wrapper_outer .as-seen-wrapper{max-width:1000px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:14px 24px;box-sizing:border-box}
  .seen_wrapper_outer .as-seen-wrapper>div{flex:0 0 auto}
  .seen_wrapper_outer .as-seen-wrapper .side-text{font-weight:700;font-size:18px}
  .seen_wrapper_outer .as-seen-wrapper .image1 img{height:44px;width:auto}
  .seen_wrapper_outer .as-seen-wrapper .image2 img{height:52px;width:auto}
  .seen_wrapper_outer .as-seen-wrapper .image3 img{height:30px;width:auto}
}

/* rating pop-up (product page): score + real total; the per-star bars only counted the 20 cards shown, so hidden */
.ortho-rating-dropdown .ortho-dropdown-bars,[class*="ortho-review-template"] .ortho-rating-dropdown .ortho-dropdown-bars{display:none!important}
.ortho-dropdown-total{margin:6px 0 0;text-align:center;font-size:15px;color:#555}

/* header bag: item count bubble (2026-10-29), green like the cart drawer */
.header__icon--cart{position:relative}
.pf-cart-bubble{position:absolute;right:-2px;bottom:4px;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:rgb(59,171,0);color:#fff;display:flex;align-items:center;justify-content:center;font:700 12px/1 Lato,sans-serif;pointer-events:none}
.pf-cart-bubble[hidden]{display:none}
/* footer: the payment-icons / copyright strip continues the green footer (Orthora's is one solid block), 2026-10-29 */
.footer__content-bottom{background:#016a4c;color:rgba(255,255,255,.85);margin-top:0;border-top:1px solid rgba(255,255,255,.15);padding-bottom:24px}
.footer__content-bottom .copyright__content,.footer__content-bottom .copyright__content a{color:rgba(255,255,255,.85)}
.footer-block--newsletter:empty,body>.footer-block--newsletter{display:none}
.footer-block--newsletter:empty,body>.footer-block--newsletter{display:none}

/* cart add-on: Premium Insoles 2-pack (2026-11-06) */
.pf-pcart__combo{border-top:1px solid #e6e6e6;padding:18px 20px 8px;text-align:center}
.pf-pcart__combo-h{margin:0 0 12px;font-weight:700;font-size:16px}
.pf-pcart__combo-row{display:flex;gap:14px;align-items:flex-start;text-align:left}
.pf-pcart__combo-row img{width:72px;height:72px;object-fit:cover;border-radius:6px;flex:none}
.pf-pcart__combo-info{flex:1;min-width:0}
.pf-pcart__combo-sub{font-size:13px;color:#666;margin:2px 0 6px}
.pf-pcart__combo-price{margin:0 0 8px;font-size:16px}
.pf-pcart__combo-price s{color:#777;margin-right:6px}
.pf-pcart__combo-act{display:flex;gap:8px;flex-wrap:wrap}
.pf-pcart__combo-act select{flex:1 1 140px;min-width:0;height:40px;border:1px solid #cfcfcf;border-radius:4px;background:#fff;padding:0 8px;font-size:14px}
.pf-pcart__combo-act button{flex:1 1 130px;height:40px;border:0;border-radius:4px;background:#e8812b;color:#fff;font-weight:700;font-size:14px;letter-spacing:.02em;cursor:pointer}
.pf-pcart__item--addon{position:relative}
.pf-pcart__del{position:absolute;top:8px;right:8px;border:0;background:none;color:#888;font-size:15px;cursor:pointer;padding:4px}
