/* Always Near checkout: Jolly's v3 look on the Apollo commerce markup. Loaded last on checkout.html.

   css/jolly/checkout-v3.css styles the designer's own classes (.ck-*, .tc). The page's working parts
   keep the markup the SDK and js/customily-inline.js need (.rc cards, .oc ornament cards, the Apollo
   forms, payment list, summary, pay button, insurance switch), so this sheet gives that markup the
   same look. Layout and colour only: no prices, no behaviour. Scoped to body.ck. */

/* ---------- page ---------- */
.ck .an-checkout{background:#FCFCFC;color:#222;font-family:"Figtree",sans-serif}
.ck .ck-form{gap:16px}
.ck .c1-stack{display:flex;flex-direction:column;gap:16px}
.ck .checkout-selectors{display:block}
.ck .checkout-selectors>.c1-stack{gap:16px}

/* 90 day badge (Tereza, 2 Oct; Jolly's design of 3 Oct). The hero carries the landing's badge, placed as
   the landing's hero does. The header and the guarantee line carry the round seal from the dumpling
   calendar checkout. */
.ck .ck-hdr-badge{flex:none;width:60px;height:60px;object-fit:contain;display:block}
.ck .ck-guar-badge{flex:none;width:60px;height:60px;object-fit:contain;display:block}
.ck .ck-hero .ck-hero-badge{position:absolute;left:18px;top:18px;width:90px;height:100px;aspect-ratio:auto;object-fit:contain}
.ck .ck-logo{display:block}

/* ---------- step headings: the design has no number badge ---------- */
.ck .c1-step{display:block;margin-top:14px}
.ck .c1-step span{display:none}
.ck .c1-step h2{margin:0;font:700 20px/28px var(--font-heading);color:#222;letter-spacing:0}
.ck .checkout-selectors .c1-step:first-child{margin-top:0}
.ck .ck-paysub{margin:-10px 0 0;font:400 15px/22px "Figtree",sans-serif}

/* ---------- step 1: package cards (.rc) in the design's .tc look ---------- */
.ck .c1-tiers{gap:20px}
.ck .rc{gap:16px;min-height:112px;padding:14px 16px;background:#fff;border:1px solid #ECECEC;border-radius:0;box-shadow:0 0 0 1px #F6F6F6}
.ck .rc.next-selected{background:var(--color-background-brand-tint);border:3px solid var(--ck-gold);padding:12px 14px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.ck .rc:focus-visible{outline:2px solid #000;outline-offset:2px}
.ck .rc-radio{width:20px;height:20px;border:1px solid #D0D0D0;background:#fff}
.ck .rc.next-selected .rc-radio{border:2px solid var(--ck-gold)}
.ck .rc.next-selected .rc-radio::after{inset:3px;background:var(--ck-gold)}
.ck .rc-img{width:84px;height:84px;border-radius:4px}
.ck .rc-c{gap:8px;align-items:flex-start}
.ck .rc-name b{font:700 18px/24px "Figtree",sans-serif}
.ck .rc-name span{display:none}
.ck .rc-unit{gap:8px;min-height:0;flex-wrap:wrap}
.ck .rc-unit em{font:800 11px/14px "Figtree",sans-serif;text-transform:uppercase;background:#FFE135;border-radius:4px;padding:3px 8px;color:#222}
.ck .rc-ship{font:600 12px/16px "Figtree",sans-serif;color:#555}
.ck .rc-ship--free{color:#0F8A6A}
.ck .rc-p{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right;white-space:nowrap}
.ck .rc-flag{font:700 13px/18px "Figtree",sans-serif;color:#0F8A6A}
.ck .rc-flag--best{color:#1B6FB5}
.ck .rc-each{font:700 18px/26px "Figtree",sans-serif;color:#222}
.ck .rc-p s{font:400 17px/24px "Figtree",sans-serif;color:#222;text-decoration:line-through;text-decoration-color:#C62828}
.ck .rc-total{font:500 12px/16px "Figtree",sans-serif;color:#555}

/* ---------- step 2: photo guide link, notice ---------- */
.ck .pg-link{align-self:flex-start;margin:0;font-family:"Figtree",sans-serif;color:#111}
.ck .pm-sample{font-family:"Figtree",sans-serif;color:#111}
.ck .cz-status,.ck [data-cz-status]{font-family:"Figtree",sans-serif}

/* ---------- steps 3 and 4: fields. The design uses placeholders; the labels stay for screen readers ---------- */
.ck .an-checkout .form-section{gap:16px}
.ck .an-checkout .form-grid{gap:16px}
.ck .an-checkout .form-grid__row{gap:16px}
.ck .an-checkout .form-input{gap:0;position:relative}
.ck .an-checkout .label-checkout{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:1;transform:none}
.ck .an-checkout .input-flds{height:48px;min-height:48px;border:1px solid #BDBDBD;border-radius:6px;background-color:#fff;color:#222}
.ck .an-checkout input.input-flds,.ck .an-checkout select.input-flds{font:400 15px/22px "Figtree",sans-serif;padding-left:13px;padding-right:13px}
.ck .an-checkout select.input-flds{padding-right:36px}
.ck .an-checkout input.input-flds::placeholder{color:#666}
.ck .an-checkout .input-flds:hover{background-color:#fff}
.ck .an-checkout .input-flds:focus,.ck .an-checkout .input-flds.next-focused,.ck .an-checkout .input-flds.select-field:focus{border-color:#111;box-shadow:0 0 0 1px #111}
.ck .an-checkout .select-form-wrapper.has-flag select.input-flds{padding-left:48px}
.ck .an-checkout .c1-flag{left:13px}
.ck .ck-guar{margin:8px 0 0}

/* ---------- payment ---------- */
.ck .c1-xwrap{gap:10px}
.ck .c1-xbar .express-checkout__buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ck .c1-xbar .payment-btn{height:44px;min-height:44px;border-radius:4px}
.ck .c1-exlock{font:500 13px/18px "Figtree",sans-serif;color:#555}
.ck .an-checkout .payment-methods{border:1px solid #D8D8D8;border-radius:6px;background:#EFEFEF}
.ck .an-checkout .payment-method+.payment-method{border-top:1px solid #D8D8D8}
.ck .an-checkout .payment-method__header{padding:16px 15px}
.ck .an-checkout .payment-method__label{gap:10px}
.ck .an-checkout .payment-method__input{accent-color:var(--ck-gold)}
.ck .an-checkout .payment-method__title{font:700 16px/22px "Figtree",sans-serif}
.ck .an-checkout .payment-method__icon{width:34px;height:22px;background:#fff;border:1px solid #DDD}
.ck .an-checkout .payment-method__content{gap:16px;padding:16px;background:#EFEFEF;border-top:1px solid #D8D8D8}

/* ---------- order summary ---------- */
.ck .an-checkout .c1-sum{background:#fff;border:1px solid #F1D9CE;padding:22px 24px 24px;margin-top:16px;gap:0;font-family:"Figtree",sans-serif}
.ck .c1-sum>hr{display:none}
.ck .c1-sum .cs-h{display:flex;justify-content:space-between;font:700 16px/22px "Figtree",sans-serif;padding-bottom:9px;border-bottom:1px solid #E5D9C8}
.ck .c1-sum .sl{min-height:0;font:400 13.5px/18px "Figtree",sans-serif}
.ck .c1-sum .sl-item{padding:12px 0 10px 2px;border-bottom:1px solid #E5D9C8;font:700 15.5px/22px "Figtree",sans-serif}
.ck .c1-sum .sl-item small{display:block;margin-top:2px;font:400 12.5px/18px "Figtree",sans-serif;color:#555}
.ck .c1-sum .sl-item s{font-weight:400;text-decoration-color:#C62828}
.ck .c1-sum .sl-promo{margin:16px 0 0;background:var(--v3-green);text-align:right;font:800 13.5px/18px "Figtree",sans-serif;padding:8px 12px;color:#000}
.ck .c1-sum .sl-ship{margin-top:18px}
.ck .c1-sum .sl-save:not(.sl-savebig){margin-top:14px;color:#11734F;font-weight:700}
.ck .c1-sum .sl-total{margin-top:18px;font:800 18px/26px "Figtree",sans-serif}
.ck .c1-sum .sl-savebig{margin-top:10px;font:400 13.5px/18px "Figtree",sans-serif;color:#222}
.ck .c1-sum .sl-savebig span:last-child{font-weight:800;color:#E0401A}
.ck .c1-applied{font-family:"Figtree",sans-serif}

/* ---------- insurance (above the pay button) and the pay button ---------- */
.ck .c1-cta{gap:16px;align-items:stretch}
.ck .an-checkout .ins{margin-top:0;border:0;border-radius:14px;box-shadow:0 1px 6px rgba(0,0,0,.12);background:#fff;text-align:left}
.ck .an-checkout .submit-button{width:100%;min-height:60px;padding:8px 24px;border:1px solid #D9B000;border-radius:4px;background:var(--ck-yellow);color:#111;box-shadow:0 3px 6px rgba(0,0,0,.2);font-family:"Figtree",sans-serif}
.ck .an-checkout .submit-button:hover{background:#FFCC00}
.ck .an-checkout .submit-button:focus-visible{outline:2px solid #111;outline-offset:2px}
.ck .an-checkout .submit-button__main-text{font:800 20px/26px "Figtree",sans-serif;letter-spacing:.2px;color:#111}
.ck .an-checkout .submit-button__arrow{color:#111}
.ck .an-checkout .submit-button svg path{fill:#111}
.ck .ck-marks{margin-top:14px}

/* ---------- footer ---------- */
.ck .an-checkout .c1-foot{flex-direction:row;justify-content:space-between;align-items:center;gap:16px;background:var(--ck-yellow);padding:16px max(24px,calc((100% - 1200px) / 2))}
.ck .an-checkout .c1-foot nav{gap:16px}
.ck .an-checkout .c1-foot a{font:400 15px/22px "Figtree",sans-serif;color:#222}
.ck .an-checkout .c1-foot p{margin:0;font:400 12.5px/18px "Figtree",sans-serif;color:#222}

/* ---------- dialogs sit outside the page wrapper ---------- */
.ck .pm-dialog,.ck .pg{font-family:"Figtree",sans-serif}
.ck .pm-head h2,.ck .pg-head h2{font-family:var(--font-heading);font-weight:700}
.ck .pg .oc-btn{background:#111;color:#fff}

@media (max-width:1023px){
  .ck .ck-hero .ck-hero-badge{left:14px;top:14px}
}
@media (max-width:640px){
  .ck .ck-hdr-g span{display:none}
  .ck .ck-hdr-badge{width:40px;height:40px}
  .ck .c1-step h2{font-size:18px}
  .ck .c1-tiers{gap:14px}
  .ck .rc{gap:12px;min-height:86px;padding:12px}
  .ck .rc.next-selected{padding:10px}
  .ck .rc-img{width:56px;height:56px}
  .ck .rc-name b,.ck .rc-each{font-size:17px}
  .ck .rc-p s{font-size:16px}
  .ck .an-checkout .form-grid__row{flex-flow:column nowrap}
  .ck .c1-xbar .express-checkout__buttons{grid-template-columns:1fr;gap:10px}
  .ck .an-checkout .c1-sum{padding:20px 22px}
  .ck .c1-sum .sl-item{font-size:14.5px}
  .ck .an-checkout .c1-foot{flex-direction:column;gap:4px}
  .ck .ck-hero .ck-hero-badge{width:72px;height:80px}
}
