/* WFP Checkout. Brand tokens as on winterforestpress.com; the accent is the book's when the cart holds one book, ice blue otherwise (set inline on <body>). */
:root{--co-s1:#11161C;--co-s2:#1A1F26;--co-gray:#B3B3B3;--co-muted:#8C949C;--co-text2:#D0D0D0;--co-line:rgba(255,255,255,.12);--co-line2:rgba(255,255,255,.24);
  --co-serif:'WFP Serif','Goudy Old Style',Goudy,Georgia,serif;--co-sans:Lato,'Helvetica Neue',Arial,sans-serif;--co-ease:cubic-bezier(.2,.7,.2,1);
  --co-g:clamp(20px,4vw,64px);--co-gutter:max(var(--co-g),calc((100% - 1290px)/2 + var(--co-g)))}
*{box-sizing:border-box}
.wfpco-body [hidden]{display:none !important}
html{scroll-behavior:smooth}
body.wfpco-body{--accent:#739EBF;--accent-hover:#B4D8F9;--on-accent:#000;--accent-fg:#B4D8F9;margin:0;background:#000;color:#fff;font:17px/1.65 var(--co-sans);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;overflow-x:clip}   /* clip, not hidden: the page body must not become a scroll container (browser extensions place their overlays against it) */
.wfpco-body a{color:inherit;text-decoration:none;transition:color .2s ease}
.wfpco-body a.wfpco-btn{transition:var(--wfp-btn-transition,background-color .2s ease,border-color .2s ease,color .2s ease)}   /* beats the link rule above, so a button's background eases too */
.wfpco-body ::selection{background:var(--accent);color:var(--on-accent)}
.wfpco-body :focus-visible{outline:1px solid var(--accent-fg);outline-offset:3px}
.wfpco-glow{position:absolute;inset:0 0 auto 0;height:min(900px,110vh);background:radial-gradient(ellipse 60% 70% at 78% 4%,color-mix(in srgb,var(--accent) 22%,transparent) 0%,transparent 70%);pointer-events:none;z-index:0}

/* Entrance animations: CSS only, so they can never leave content hidden. */
@keyframes wfpco-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes wfpco-fade{from{opacity:0}to{opacity:1}}
@keyframes wfpco-slide{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
.wfpco-top{animation:wfpco-fade .6s var(--co-ease) both}
.wfpco-eyebrow{animation:wfpco-rise .7s var(--co-ease) .05s both}
.wfpco-h1{animation:wfpco-rise .8s var(--co-ease) .12s both}
.wfpco-sec{animation:wfpco-rise .8s var(--co-ease) both}
.wfpco-express{animation:wfpco-rise .8s var(--co-ease) .2s both}
#customer_details .wfpco-sec:nth-child(1){animation-delay:.22s}
#customer_details .wfpco-sec:nth-child(2){animation-delay:.32s}
.wfpco-pay{animation-delay:.42s}
.wfpco-summary{animation:wfpco-slide .9s var(--co-ease) .3s both}

/* Header */
.wfpco-top{position:relative;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;height:88px;padding:0 var(--co-g);border-bottom:1px solid var(--co-line)}
.wfpco-logo img{height:30px;width:auto;display:block}
.wfpco-logo{font-family:var(--co-serif);font-size:20px}
.wfpco-steps{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--co-muted)}
.wfpco-steps li{display:flex;align-items:center;gap:10px;white-space:nowrap}
.wfpco-steps li+li::before{content:"";width:48px;height:1px;background:var(--co-line2);margin-right:12px}
.wfpco-steps span{font-weight:400;letter-spacing:.1em;opacity:.7}
.wfpco-steps a{display:inline-flex;align-items:center;gap:10px}
.wfpco-steps a:hover{color:var(--accent-hover)}
.wfpco-steps .is-on{color:#fff}
.wfpco-back{justify-self:end;display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--co-gray)}
.wfpco-back:hover{color:var(--accent-hover)}

/* Page */
.wfpco-main{position:relative;z-index:1;flex:1;width:100%;padding:clamp(40px,6vw,72px) var(--co-gutter) clamp(72px,9vw,120px)}
.wfpco-hero{max-width:1100px;margin:0 auto 12px}
.wfpco-eyebrow,.wfpco-kicker{margin:0;font-size:12px;font-weight:700;letter-spacing:.32em;text-transform:uppercase;color:var(--accent-fg)}
.wfpco-kicker{font-size:11px;letter-spacing:.24em;color:var(--co-gray)}
.wfpco-h1{margin:14px 0 0;font:400 clamp(46px,6.2vw,88px)/1.02 var(--co-serif);color:#fff;text-wrap:balance}
.wfpco-lede{margin:18px 0 28px;color:var(--co-gray);max-width:46ch}
.wfpco-note{max-width:1100px;margin:0 auto;color:var(--co-gray)}
.wfpco-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr);gap:clamp(32px,6vw,88px);max-width:1100px;margin:32px auto 0;align-items:start}
.wfpco-left{min-width:0}

/* Sections */
.wfpco-sec{margin:0 0 56px}
.wfpco-sec-head{display:flex;align-items:baseline;gap:16px;padding-bottom:14px;margin-bottom:26px;border-bottom:1px solid var(--co-line)}
.wfpco-sec-head h2{margin:0;font:400 clamp(26px,2.6vw,32px)/1.1 var(--co-serif);color:#fff}
.wfpco-n{font-size:12px;letter-spacing:.2em;color:var(--co-muted)}
.wfpco-aside{margin-left:auto;font-size:14px;color:var(--co-muted);display:inline-flex;align-items:center;gap:6px}
.wfpco-aside a{color:var(--accent-fg);text-decoration:underline;text-underline-offset:3px}
.wfpco-aside a:hover{color:var(--accent-hover)}

/* Fields: the site's form style (labels in small caps, a line under each input) */
.wfpco-fields{display:flex;flex-wrap:wrap;gap:24px 28px}
.wfpco-fields .form-row{flex:1 1 100%;margin:0;padding:0;float:none;width:auto}
.wfpco-fields .form-row-first,.wfpco-fields .form-row-last{flex:1 1 calc(50% - 14px)}
.wfpco-fields #billing_city_field,.wfpco-fields #shipping_city_field,.wfpco-fields #billing_state_field,.wfpco-fields #shipping_state_field,.wfpco-fields #billing_postcode_field,.wfpco-fields #shipping_postcode_field{flex:1 1 calc(33% - 20px)}
.wfpco-body .form-row label{display:block;margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--co-muted);line-height:1.4}
.wfpco-body .form-row .required{color:var(--co-muted);text-decoration:none;border:0;font-weight:400}
.wfpco-body .form-row .optional{font-weight:400;letter-spacing:.1em;text-transform:none;opacity:.8}
.wfpco-body .woocommerce-input-wrapper{display:block}
.wfpco-body input[type=text],.wfpco-body input[type=email],.wfpco-body input[type=tel],.wfpco-body input[type=password],.wfpco-body input.input-text,.wfpco-body textarea,.wfpco-body select{
  display:block;width:100%;margin:0;padding:8px 0 10px;background:transparent;color:#fff;border:0;border-bottom:1px solid var(--co-line2);border-radius:0;box-shadow:none;font:400 18px/1.4 var(--co-sans);letter-spacing:normal;transition:border-color .2s var(--co-ease);-webkit-appearance:none;appearance:none}
.wfpco-body input::placeholder{color:color-mix(in srgb,var(--co-muted) 75%,transparent);opacity:1}
.wfpco-body input:hover,.wfpco-body select:hover{border-bottom-color:rgba(255,255,255,.4)}
.wfpco-body input:focus,.wfpco-body select:focus{outline:none;border-bottom-color:var(--accent-fg)}
.wfpco-body input:-webkit-autofill{-webkit-text-fill-color:#fff;transition:background-color 9999s ease-in-out 0s;box-shadow:0 0 0 1000px #000 inset}
.wfpco-body .woocommerce-invalid input,.wfpco-body .woocommerce-invalid select,.wfpco-body .woocommerce-invalid .select2-selection{border-bottom-color:#E07A7A !important}
.wfpco-body .woocommerce-invalid label{color:#F09090}
/* Country and state (selectWoo) */
.wfpco-body .select2-container{width:100% !important}
.wfpco-body .select2-container--default .select2-selection--single{height:auto;background:transparent;border:0;border-bottom:1px solid var(--co-line2);border-radius:0;padding:8px 0 10px;transition:border-color .2s var(--co-ease)}
.wfpco-body .select2-container--default .select2-selection--single:hover{border-bottom-color:rgba(255,255,255,.4)}
.wfpco-body .select2-container--open .select2-selection--single,.wfpco-body .select2-container--focus .select2-selection--single{border-bottom-color:var(--accent-fg)}
.wfpco-body .select2-container--default .select2-selection--single .select2-selection__rendered{color:#fff;padding:0;font:400 18px/1.4 var(--co-sans)}
.wfpco-body .select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;top:0;right:0}
.wfpco-body .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:var(--co-muted) transparent transparent}
.select2-dropdown{background:var(--co-s1) !important;border:1px solid var(--co-line2) !important;border-radius:12px !important;overflow:hidden;color:#fff;font:400 16px/1.4 Lato,sans-serif}
.select2-search--dropdown{padding:10px}
.select2-container--default .select2-search--dropdown .select2-search__field{background:#000;color:#fff;border:1px solid var(--co-line2);border-radius:8px;padding:8px 10px;font:400 16px/1.4 Lato,sans-serif}
.select2-container--default .select2-results__option{padding:9px 14px;color:var(--co-text2)}
.select2-container--default .select2-results__option--highlighted[data-selected=false],.select2-container--default .select2-results__option--highlighted[aria-selected=false]{background-color:color-mix(in srgb,var(--accent) 26%,transparent) !important;color:#fff !important}
.select2-container--default .select2-results__option[data-selected=true],.select2-container--default .select2-results__option[aria-selected=true]{background-color:color-mix(in srgb,var(--accent) 58%,transparent) !important;color:#fff !important}
.select2-container--default .select2-results__option[data-selected=true].select2-results__option--highlighted,.select2-container--default .select2-results__option[aria-selected=true].select2-results__option--highlighted{background-color:color-mix(in srgb,var(--accent) 70%,transparent) !important}
.select2-container--default .select2-search--dropdown .select2-search__field:focus{outline:none;border-color:var(--accent-fg) !important;box-shadow:none}
/* Checkboxes: the same box as WFP Forms and the forum (18px, 1px outline, 5px corners, a thin check) */
.wfpco-body input[type=checkbox]{-webkit-appearance:none;appearance:none;flex:none;display:inline-grid;place-content:center;width:18px;height:18px;margin:0;padding:0;background:transparent;border:1px solid rgba(255,255,255,.45);border-radius:5px;box-shadow:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.wfpco-body input[type=checkbox]::before{content:"";width:4px;height:8px;margin-top:-2px;background:none;border:solid var(--on-accent);border-width:0 1.5px 1.5px 0;clip-path:none;transform:rotate(45deg) scale(0);transition:transform .15s ease}
.wfpco-body input[type=checkbox]:hover:not(:checked){border-color:rgba(255,255,255,.65)}
.wfpco-body input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}
.wfpco-body input[type=checkbox]:checked::before{transform:rotate(45deg) scale(1)}
.wfpco-body input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wfpco-body label.checkbox,.wfpco-body .woocommerce-form__label-for-checkbox{display:flex !important;align-items:center;gap:12px;margin:0 !important;font-size:16px !important;font-weight:400 !important;letter-spacing:normal !important;text-transform:none !important;color:var(--co-text2) !important;cursor:pointer}
.woocommerce-account-fields{margin-top:24px}
#ship-to-different-address{margin:28px 0 22px;font:inherit}
.shipping_address{margin-top:0}

/* Notice card (ebook delivery) */
.wfpco-notice{display:flex;gap:18px;align-items:flex-start;margin:0 0 28px;padding:20px 22px;background:color-mix(in srgb,var(--accent) 7%,#000);border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:16px}
.wfpco-notice-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:50%;color:var(--accent-fg)}
.wfpco-notice p{margin:4px 0 0;font-size:15px;line-height:1.6;color:var(--co-text2)}
.wfpco-notice .wfpco-kicker{margin:0;color:var(--accent-fg)}
.wfpco-email{color:#fff;overflow-wrap:anywhere}

/* Express checkout */
.wfpco-express{margin:0 0 40px}
.wfpco-express[hidden]{display:none}
.wfpco-express-box{margin-top:14px}
.wfpco-express-box>*{margin-left:0;margin-right:0}
.wfpco-or{display:flex;align-items:center;gap:16px;margin:24px 0 0;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--co-muted)}
.wfpco-or::before,.wfpco-or::after{content:"";flex:1;height:1px;background:var(--co-line)}
.wfpco-or span{flex:none}
.wfpco-body #wc-stripe-express-checkout-element,.wfpco-body .wc-stripe-payment-request-wrapper,.wfpco-body [id*=express-checkout] {margin:0 !important}
.wfpco-body #wc-stripe-express-checkout__order-attribution-inputs{display:none}

/* Payment methods */
.wfpco-payment .wc_payment_methods{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-direction:column;gap:10px}
.wfpco-payment .wc_payment_method{margin:0;padding:0;background:var(--co-s1);border:1px solid var(--co-line);border-radius:14px;transition:border-color .2s ease}
.wfpco-payment .wc_payment_method:has(input[name=payment_method]:checked){border-color:color-mix(in srgb,var(--accent) 55%,transparent)}
.wfpco-payment .wc_payment_method>label{display:flex;align-items:center;gap:12px;margin:0;padding:16px 20px;font-size:16px;font-weight:400;letter-spacing:normal;text-transform:none;color:#fff;cursor:pointer}
.wfpco-payment .wc_payment_method>label img{margin-left:auto;max-height:24px;width:auto}
.wfpco-payment input[name=payment_method]{-webkit-appearance:none;appearance:none;flex:none;width:18px;height:18px;margin:0;padding:0;border:1px solid var(--co-line2);border-radius:50%;background:transparent;cursor:pointer;position:relative;transition:border-color .2s ease}
.wfpco-payment input[name=payment_method]:checked{border-color:var(--accent)}
.wfpco-payment input[name=payment_method]:checked::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--accent)}
.wfpco-payment .wc_payment_methods>.wc_payment_method:only-child input[name=payment_method]{display:none}
.wfpco-payment .payment_box{margin:0;padding:4px 20px 20px;background:transparent;color:var(--co-gray);font-size:15px;line-height:1.6}
.wfpco-payment .payment_box::before{display:none}
.wfpco-payment .payment_box p{margin:0 0 12px}
.wfpco-payment .payment_box fieldset{border:0;margin:0;padding:0}
.wfpco-payment .wc-stripe-elements-field,.wfpco-payment .wc-stripe-iban-element-field,.wfpco-payment .StripeElement{background:transparent;border:0;padding:0}   /* Stripe draws the lines inside its own frame */
.wfpco-nopay a{color:var(--accent-fg);text-decoration:none;transition:color .2s ease}
.wfpco-nopay a:hover{color:var(--accent-hover)}
.wfpco-nopay{padding:16px 20px;background:var(--co-s1);border:1px solid var(--co-line);border-radius:14px;color:var(--co-gray);font-size:15px}
.woocommerce-terms-and-conditions-wrapper{margin:0 0 24px;font-size:14px;color:var(--co-gray)}
.woocommerce-terms-and-conditions-wrapper a{color:var(--accent-fg);text-decoration:underline;text-underline-offset:3px}
.woocommerce-terms-and-conditions{margin:0 0 14px;padding:14px;border:1px solid var(--co-line);border-radius:12px;max-height:200px;overflow:auto}
.woocommerce-privacy-policy-text{margin:0 0 16px;font-size:13px;color:var(--co-muted)}
.woocommerce-privacy-policy-text a{color:var(--co-gray);text-decoration:underline;text-underline-offset:3px}
.wfpco-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 24px;padding-top:26px;border-top:1px solid var(--co-line)}
.wfpco-backlink{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--co-gray)}
.wfpco-backlink:hover{color:var(--accent-hover)}
.wfpco-fine{margin:18px 0 0;font-size:14px;color:var(--co-muted)}
.wfpco-payment .wfpco-fine{margin:0 0 28px;font-size:13px;line-height:1.6}   /* the same size as the privacy text above it */

/* Buttons: the site's button system (--wfp-btn-* from WFP Forum ▸ Buttons) */
.wfpco-btn,.wfpco-body button.button.alt,.wfpco-body #place_order{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--wfp-btn-h-lg,50px);padding:var(--wfp-btn-pad-lg,12px 32px);border:1px solid var(--accent);border-radius:var(--wfp-btn-radius,999px);background:var(--accent);color:var(--on-accent) !important;font-family:var(--wfp-btn-font,Lato,'Helvetica Neue',Arial,sans-serif);font-size:var(--wfp-btn-size,12px);font-weight:var(--wfp-btn-weight,700);letter-spacing:var(--wfp-btn-tracking,.22em);text-transform:uppercase;line-height:1;text-decoration:none;cursor:pointer;transition:var(--wfp-btn-transition,background-color .2s ease,border-color .2s ease,color .2s ease);box-shadow:none}
.wfpco-btn:hover,.wfpco-body #place_order:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.wfpco-btn-line,.wfpco-body .wfpco-btn.wfpco-btn-line{background:transparent;border-color:var(--wfp-btn-outline,rgba(255,255,255,.24));color:#fff !important}
.wfpco-btn-line:hover,.wfpco-body .wfpco-btn.wfpco-btn-line:hover{background:transparent !important;border-color:var(--accent-hover) !important;color:var(--accent-hover) !important}
.wfpco-btn-sm{min-height:var(--wfp-btn-h,44px) !important;padding:var(--wfp-btn-pad,10px 26px) !important}
.wfpco-body #place_order.processing,.wfpco-body #place_order:disabled{opacity:.55;cursor:default}

/* Summary */
.wfpco-summary{position:sticky;top:24px;padding:clamp(24px,3vw,36px);background:var(--co-s1);border:1px solid var(--co-line);border-radius:24px}
.wfpco-sum-title{margin:0 0 22px;font:400 28px/1.1 var(--co-serif);color:#fff}
.wfpco-lines{list-style:none;margin:0;padding:0 0 22px;display:flex;flex-direction:column;gap:18px;border-bottom:1px solid var(--co-line)}
.wfpco-line{display:flex;align-items:center;gap:16px}
.wfpco-thumb{position:relative;flex:none;width:56px}
.wfpco-thumb img{display:block;width:56px;height:auto}
.wfpco-qty{position:absolute;top:-8px;right:-8px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:99px;background:#fff;color:#000;font:700 11px/1 Lato,sans-serif}
.wfpco-line-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.wfpco-line-name{font:400 19px/1.25 var(--co-serif);color:#fff}
.wfpco-line-fmt{font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--accent-fg)}
.wfpco-line-price{flex:none;font-size:16px;color:#fff}
.wfpco-totals{margin:0;padding:0}
.wfpco-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:14px 0;border-bottom:1px solid var(--co-line);font-size:16px}
.wfpco-row dt{margin:0;color:var(--co-gray)}
.wfpco-row dd{margin:0;text-align:right;color:#fff}
.wfpco-muted{color:var(--co-muted)}
.wfpco-row.cart-discount dd{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.wfpco-row.cart-discount dd .woocommerce-Price-amount{color:#239900}
.wfpco-totals .woocommerce-remove-coupon{display:grid;place-items:center;width:24px;height:24px;margin:0 -4px 0 0;color:var(--co-muted);border-radius:50%;text-decoration:none;transition:color .2s ease}
.wfpco-body .wfpco-totals a.woocommerce-remove-coupon:hover{color:#E05A5A}
.wfpco-ship-opts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;text-align:left}
.wfpco-ship-opts li{display:flex;align-items:center;gap:10px}
.wfpco-ship-opts label{margin:0;font-size:15px;color:var(--co-text2);cursor:pointer}
.wfpco-ship-opts input{-webkit-appearance:none;appearance:none;flex:none;width:16px;height:16px;margin:0;padding:0;border:1px solid var(--co-line2);border-radius:50%;background:transparent;position:relative;cursor:pointer}
.wfpco-ship-opts input:checked{border-color:var(--accent)}
.wfpco-ship-opts input:checked::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--accent)}
.wfpco-total{align-items:center;border-bottom:0;padding:22px 0 0}
.wfpco-total dt{font-size:12px;font-weight:700;letter-spacing:.28em;text-transform:uppercase}
.wfpco-total dd{font:400 36px/1 var(--co-serif)}
.wfpco-total dd small{display:block;margin-top:6px;font:400 12px/1.4 var(--co-sans);color:var(--co-muted)}
.wfpco-coupon{padding:18px 0;border-bottom:1px solid var(--co-line)}
.wfpco-coupon-toggle{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;line-height:1;color:var(--co-gray);transition:color .2s ease}
.wfpco-chev{flex:none;transition:transform .3s var(--co-ease)}
.wfpco-coupon-toggle[aria-expanded=true] .wfpco-chev{transform:rotate(180deg)}
.wfpco-coupon-toggle:hover{color:var(--accent-hover)}
.wfpco-coupon-wrap{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .3s var(--co-ease),opacity .25s ease}
.wfpco-coupon-wrap.is-open{grid-template-rows:1fr;opacity:1}
.wfpco-coupon-wrap>.wfpco-coupon-row{overflow:hidden;min-height:0;display:flex;align-items:flex-end;gap:16px;padding-top:0}
.wfpco-coupon-wrap.is-open>.wfpco-coupon-row{padding-top:16px}
.wfpco-coupon-input{flex:1;min-width:0}
.wfpco-coupon-msg{min-height:0;margin:10px 0 0;font-size:14px;color:var(--co-muted)}
.wfpco-coupon-msg:empty{display:none}
.wfpco-coupon-msg.is-error{color:#F09090}

/* Notices (errors on submit, applied coupons, and so on) */
.woocommerce-notices-wrapper,.woocommerce-NoticeGroup{max-width:1100px;margin:0 auto}
.wfpco-body .woocommerce-error,.wfpco-body .woocommerce-message,.wfpco-body .woocommerce-info{list-style:none;margin:0 0 24px;padding:16px 20px;border-radius:12px;font-size:15px;line-height:1.55;background:rgba(180,216,249,.07);border:1px solid var(--co-line2);color:var(--co-text2)}
.wfpco-body .woocommerce-error{background:rgba(224,122,122,.1);border-color:rgba(224,122,122,.35);color:#F2B8B8}
.wfpco-body .woocommerce-error li{margin:0}
.wfpco-body .woocommerce-error a{text-decoration:underline;text-underline-offset:3px}   /* links in error messages stay as they are */
.wfpco-body .blockUI.blockOverlay{background:transparent !important;opacity:0 !important}   /* the first refresh, on load, must not flash */
.wfpco-body .blockUI.blockOverlay::before{display:none !important}

/* Footer */
.wfpco-foot{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;padding:34px var(--co-g);border-top:1px solid var(--co-line);font-size:14px;color:var(--co-muted)}
.wfpco-foot nav{display:flex;gap:28px}
.wfpco-foot a:hover{color:var(--accent-hover)}

@media (max-width:900px){
  .wfpco-top{grid-template-columns:1fr auto;height:72px}
  .wfpco-steps{display:none}
  .wfpco-grid{grid-template-columns:minmax(0,1fr)}
  .wfpco-summary{position:static;order:-1}
  .wfpco-left{order:2}
}
@media (max-width:560px){
  .wfpco-fields .form-row-first,.wfpco-fields .form-row-last,.wfpco-fields #billing_city_field,.wfpco-fields #shipping_city_field,.wfpco-fields #billing_state_field,.wfpco-fields #shipping_state_field,.wfpco-fields #billing_postcode_field,.wfpco-fields #shipping_postcode_field{flex:1 1 100%}
  .wfpco-back span{display:none}
  .wfpco-actions{flex-direction:column-reverse;align-items:stretch}
  .wfpco-actions .wfpco-place{width:100%}
  .wfpco-backlink{justify-content:center}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none !important;transition:none !important}html{scroll-behavior:auto}}

/* ── Cart ─────────────────────────────────────────────────────────── */
.wfpco-cart .wfpco-hero,.wfpco-received .wfpco-hero{margin-bottom:0}
.wfpco-cartgrid{margin-top:36px}
.wfpco-cartlist{list-style:none;margin:0;padding:0;border-top:1px solid var(--co-line)}
.wfpco-citem{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px 28px;padding:32px 0;border-bottom:1px solid var(--co-line);animation:wfpco-rise .8s var(--co-ease) both}
.wfpco-citem:nth-child(2){animation-delay:.1s}.wfpco-citem:nth-child(3){animation-delay:.2s}.wfpco-citem:nth-child(4){animation-delay:.3s}
.wfpco-cthumb img{display:block;width:112px;height:auto;box-shadow:0 18px 40px rgba(0,0,0,.6)}
.wfpco-cbody{min-width:0}
.wfpco-cfmt{color:var(--accent-fg);margin:0 0 6px;padding-right:36px}
.wfpco-cname{margin:0;font:400 clamp(26px,2.8vw,34px)/1.12 var(--co-serif)}
.wfpco-cname a:hover{color:var(--accent-hover)}
.wfpco-cmeta{margin:8px 0 0;font-size:15px;color:var(--co-gray)}
.wfpco-cship{display:flex;align-items:center;gap:10px;margin:16px 0 0;font-size:15px;color:var(--co-text2)}
.wfpco-cship svg{flex:none;color:var(--co-muted)}
.wfpco-crow{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.wfpco-once{font-size:14px;color:var(--co-muted)}
.wfpco-ctitle{display:flex;justify-content:space-between;align-items:baseline;gap:20px}
.wfpco-cprice{flex:none;font:400 clamp(22px,2.2vw,28px)/1.2 var(--co-serif);color:#fff;text-align:right;white-space:nowrap}
.wfpco-cprice del,.wfpco-line-price del{font-size:.65em;color:var(--co-muted);margin-right:6px}
.wfpco-cprice ins,.wfpco-line-price ins{text-decoration:none}
.wfpco-save{margin:14px 0 0;font-size:14px;color:#239900;text-align:right}   /* always this green, whatever the book's accent */
.wfpco-citem .product-remove{position:absolute;top:22px;right:-6px}   /* the X's strokes start level with the cover's top edge */
.wfpco-remove{display:grid;place-items:center;width:28px;height:28px;color:var(--co-muted);border-radius:50%;cursor:pointer;transition:color .2s ease}
.wfpco-body a.wfpco-remove:hover{color:#E05A5A}
.wfpco-stepper{display:inline-flex;align-items:center;border:1px solid var(--co-line2);border-radius:var(--wfp-btn-radius,999px);overflow:hidden}
.wfpco-step{all:unset;cursor:pointer;display:grid;place-items:center;width:44px;height:44px;font-size:20px;color:var(--co-gray);transition:color .2s ease,background-color .2s ease}
.wfpco-step:hover{color:var(--accent-hover);background:rgba(255,255,255,.04)}
.wfpco-stepper .quantity{margin:0}
.wfpco-stepper .quantity label{display:none}
.wfpco-stepper input.qty{width:44px;padding:0;text-align:center;border:0 !important;font-size:17px;-moz-appearance:textfield}
.wfpco-stepper input.qty::-webkit-outer-spin-button,.wfpco-stepper input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.wfpco-cartactions{margin:0}
.wfpco-go{width:100%;margin-top:26px}
.wfpco-go svg{flex:none;transition:transform .25s var(--co-ease)}
.wfpco-go:hover svg{transform:translateX(2px)}
.wfpco-summary.cart_totals .wfpco-total{padding-top:22px}
.wfpco-secure{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px 0 0;font-size:14px;color:var(--co-muted)}
.wfpco-express-cart{margin:20px 0 0}
.wfpco-express-cart .wfpco-or{margin-top:0}
.wfpco-cart .cart_totals.processing,.wfpco-cart .woocommerce-cart-form.processing{opacity:.6}
/* Empty cart */
.wfpco-empty{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(24px,6vw,96px);align-items:center;max-width:1100px;margin:28px auto 0;padding-top:48px;border-top:1px solid var(--co-line)}
.wfpco-empty-copy{animation:wfpco-rise .8s var(--co-ease) .1s both}
.wfpco-h2{margin:0;font:400 clamp(36px,4.2vw,56px)/1.08 var(--co-serif);color:#fff}
.wfpco-empty-actions{display:flex;flex-wrap:wrap;gap:14px 16px;margin:28px 0 30px}
.wfpco-empty-cover{display:flex;justify-content:center;padding-top:clamp(28px,5vw,72px);animation:wfpco-fade 1.1s var(--co-ease) .25s both}
.wfpco-empty-cover .wfp-book{margin:0 auto}
.wfpco-lede em{color:inherit}

/* ── Thank-you ─────────────────────────────────────────────────────── */
.wfpco-center{text-align:center}
.wfpco-hero.wfpco-center{margin-bottom:0}
.wfpco-hero.wfpco-center .wfpco-lede{margin-left:auto;margin-right:auto}
.wfpco-ty-cover{display:flex;justify-content:center;margin:0 0 34px;animation:wfpco-rise 1s var(--co-ease) both}
.wfpco-ty-cover img{width:150px;height:auto;box-shadow:0 0 80px 8px color-mix(in srgb,var(--accent) 26%,transparent)}   /* the glow is centered on the cover and reaches the same distance on every side */
.wfpco-actions-row{display:flex;flex-wrap:wrap;gap:14px 16px;justify-content:center;margin:56px 0 0}
.wfpco-actions-row + .wfpco-fine{margin-top:56px}
.wfpco-tygrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:clamp(32px,6vw,88px);max-width:1000px;margin:56px auto 0;align-items:start;animation:wfpco-rise .9s var(--co-ease) .3s both}
.wfpco-receipt{position:static;animation:none}
.wfpco-timeline{list-style:none;margin:22px 0 0;padding:0 0 0 28px}
.wfpco-timeline li{position:relative;padding:0 0 30px}
.wfpco-timeline li:last-child{padding-bottom:0}
.wfpco-timeline li::before{content:"";position:absolute;left:-34px;top:0;width:11px;height:11px;border-radius:50%;background:#000;border:1px solid var(--co-line2);z-index:1}
.wfpco-timeline li:not(:last-child)::after{content:"";position:absolute;left:-29px;width:1px;top:5.5px;bottom:-5.5px;background:var(--co-line2)}   /* from the middle of this dot to the middle of the next */
.wfpco-timeline li.is-now::before{background:var(--accent);border-color:var(--accent)}
.wfpco-tl-when{display:block;font-size:11px;line-height:11px;height:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--co-muted)}
.wfpco-timeline .is-now .wfpco-tl-when{color:var(--accent-fg)}
.wfpco-timeline h3{margin:10px 0 6px;font:400 24px/1.2 var(--co-serif);color:#fff}
.wfpco-timeline p{margin:0;font-size:15px;line-height:1.6;color:var(--co-gray)}
.wfpco-rlines{list-style:none;margin:0;padding:0 0 18px;border-bottom:1px solid var(--co-line);display:flex;flex-direction:column;gap:12px}
.wfpco-rlines li{display:flex;justify-content:space-between;gap:16px;font-size:15px;color:var(--co-text2)}
.wfpco-rlines em{display:block;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--accent-fg);margin-top:2px}
.wfpco-rlines b{font-weight:400;color:#fff;white-space:nowrap}
.wfpco-receipt .wfpco-fine{font-size:13px}
.wfpco-pi{max-width:720px;margin:36px auto 0;padding:22px 26px;background:var(--co-s1);border:1px solid var(--co-line);border-radius:16px;font-size:15px;color:var(--co-gray)}
.wfpco-pi h2,.wfpco-pi h3{margin:0 0 10px;font:400 22px/1.2 var(--co-serif);color:#fff}
.wfpco-pi ul{list-style:none;margin:0;padding:0}
.wfpco-pi li{margin:0 0 6px}
.wfpco-pi strong{color:#fff;font-weight:400}
.wfpco-next .wfpd-order-box{margin:36px 0 0}
.wfpco-fine a{color:var(--accent-fg);text-decoration:none;transition:color .2s ease}
.wfpco-fine a:hover{color:var(--accent-hover)}
.wfpco-ty .wfpco-eyebrow{animation-delay:.2s}

@media (max-width:900px){
  .wfpco-tygrid,.wfpco-empty{grid-template-columns:minmax(0,1fr)}
  .wfpco-empty-cover{order:-1}
  .wfpco-cart .wfpco-summary{order:2}
}
@media (max-width:560px){
  .wfpco-citem{grid-template-columns:84px minmax(0,1fr);gap:8px 18px}
  .wfpco-cthumb img{width:84px}
  .wfpco-crow{flex-wrap:wrap}
}
.wfpco-next .wfpd-order-box:not(:has(.wfpd-order-actions)){display:none}

/* Add a payment method (reached from the account page) */
.wfpco-addpm{max-width:640px;margin:36px auto 0;animation:wfpco-rise .8s var(--co-ease) .2s both}
.wfpco-addpm .woocommerce-PaymentMethods{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-direction:column;gap:10px}
.wfpco-addpm .woocommerce-PaymentMethod{margin:0;padding:0;background:var(--co-s1);border:1px solid var(--co-line);border-radius:14px;transition:border-color .2s ease}
.wfpco-addpm .woocommerce-PaymentMethod:has(input[name=payment_method]:checked){border-color:color-mix(in srgb,var(--accent) 55%,transparent)}
.wfpco-addpm .woocommerce-PaymentMethod>label{display:flex;align-items:center;gap:12px;margin:0;padding:16px 20px;font-size:16px;font-weight:400;letter-spacing:normal;text-transform:none;color:#fff;cursor:pointer}
.wfpco-addpm .woocommerce-PaymentMethod>label img{margin-left:auto;max-height:24px;width:auto}
.wfpco-addpm input[name=payment_method]{-webkit-appearance:none;appearance:none;flex:none;width:18px;height:18px;margin:0;padding:0;border:1px solid var(--co-line2);border-radius:50%;background:transparent;cursor:pointer;position:relative;float:none}
.wfpco-addpm input[name=payment_method]:checked{border-color:var(--accent)}
.wfpco-addpm input[name=payment_method]:checked::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--accent)}
.wfpco-addpm .woocommerce-PaymentMethods>.woocommerce-PaymentMethod:only-child input[name=payment_method]{display:none}
.wfpco-addpm .payment_box{margin:0;padding:4px 20px 20px;background:transparent;color:var(--co-gray);font-size:15px;line-height:1.6}
.wfpco-addpm .payment_box::before{display:none}
.wfpco-addpm .payment_box p{margin:0 0 12px}
.wfpco-addpm .payment_box fieldset{border:0;margin:0;padding:0}

/* No focus ring on notices, which WooCommerce focuses when they appear */
.wfpco-body .woocommerce-message:focus,.wfpco-body .woocommerce-error:focus,.wfpco-body .woocommerce-info:focus,.wfpco-body .woocommerce-NoticeGroup:focus,.wfpco-body .woocommerce-notices-wrapper:focus,.wfpco-body [role=alert]:focus,.wfpco-body [tabindex="-1"]:focus{outline:none !important;box-shadow:none}
.wfpco-body .woocommerce-message em,.wfpco-body .woocommerce-info em{font-style:italic;color:#fff}


/* The site's button transition, forced the way the site's button stylesheet does, so these buttons ease like every other one */
.wfpco-body :is(.wfpco-btn, #place_order, button.button.alt, a.button){transition:var(--wfp-btn-transition,background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,opacity .2s ease) !important}
/* After "Add" on the cart page the page reloads: what was already there (header, "Your Cart") does not animate in again */
.wfpco-keep .wfpco-top,.wfpco-keep .wfpco-hero > *{animation:none !important}

/* Add a payment method: just the logo and a way back */
body.wfpco-addpm .wfpco-top{grid-template-columns:1fr auto}

.wfpco-body #place_order,.wfpco-place{font-size:14px;letter-spacing:.2em}

.wfpco-totals .woocommerce-remove-coupon{position:relative}
.wfpco-totals .woocommerce-remove-coupon::before,.wfpco-totals .woocommerce-remove-coupon::after{content:"";position:absolute;left:50%;top:50%;width:13px;height:1.6px;border-radius:1px;background:currentColor}
.wfpco-totals .woocommerce-remove-coupon::before{transform:translate(-50%,-50%) rotate(45deg)}
.wfpco-totals .woocommerce-remove-coupon::after{transform:translate(-50%,-50%) rotate(-45deg)}
.wfpco-hero.wfpco-center .wfpco-lede{max-width:64ch}

/* The thank-you page: the WFP Snow plugin's lightest snow, fading in slowly instead of appearing at once */
@media (prefers-reduced-motion:no-preference){
  body.wfpco-received #wfp-snow-canvas{opacity:0;animation:wfpco-snowin 6s ease 1.2s forwards}
  @keyframes wfpco-snowin{to{opacity:.55}}
}
body.wfpco-received #wfp-snow-canvas{z-index:0}

/* Coupon line: the code is a small accent tag, the X sits beside it, the amount is green */
.wfpco-row.cart-discount dt{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wfpco-tag{display:inline-block;padding:3px 9px;border:1px solid var(--accent);border-radius:8px;color:var(--accent-fg);font-size:11px;font-weight:700;letter-spacing:.14em;line-height:1.3}
.wfpco-row.cart-discount dd{display:block}
.wfpco-disc,.wfpco-row.cart-discount dd .woocommerce-Price-amount{color:#239900}
#wfpco_coupon{text-transform:uppercase}
.wfpco-totals-rest{margin-top:0}
.wfpco-summary > .wfpco-totals:first-of-type{margin-bottom:0}
/* Messages and alerts: higher up, with room below */
.wfpco-main > .woocommerce-notices-wrapper,.wfpco-main > .woocommerce-NoticeGroup{margin-top:calc(-1 * clamp(20px,3.5vw,44px));margin-bottom:40px}
.wfpco-form > .woocommerce-NoticeGroup,.wfpco-form > .woocommerce-NoticeGroup-checkout{margin:calc(-1 * clamp(20px,3.5vw,44px)) auto 40px;max-width:1100px}

/* The shortcode wrapper is where WooCommerce puts messages: they sit high (into the top padding) with room below */
.wfpco-main .woocommerce > .woocommerce-notices-wrapper:empty{display:none}
.wfpco-main .woocommerce > :is(.woocommerce-message,.woocommerce-error,.woocommerce-info,.woocommerce-NoticeGroup,.woocommerce-notices-wrapper){max-width:1100px;margin-left:auto;margin-right:auto;margin-bottom:40px}
.wfpco-main .woocommerce > :is(.woocommerce-message,.woocommerce-error,.woocommerce-info,.woocommerce-NoticeGroup,.woocommerce-notices-wrapper):not(:is(.woocommerce-message,.woocommerce-error,.woocommerce-info,.woocommerce-NoticeGroup,.woocommerce-notices-wrapper:not(:empty)) ~ *){margin-top:calc(-1 * clamp(20px,3.5vw,44px))}

/* ── 3D paperback / hardcover in cart and checkout lines: no intro, no margins ── */
.wfpco-cthumb .wfp-book,.wfpco-thumb .wfp-book{margin:0 !important}
.wfpco-cthumb .wfp-book{--w:112px !important}
.wfpco-thumb .wfp-book{--w:56px !important}
.wfpco-thumb{width:56px;flex:none}
.wfpco-cthumb .wfp-book__hit,.wfpco-thumb .wfp-book__hit{perspective:600px}
/* delivery line with its icon, and the signed line */
.wfpco-cship{display:flex;align-items:center;gap:10px;margin:16px 0 0;font-size:15px;color:var(--co-text2)}
.wfpco-cship svg{flex:none;color:var(--co-muted)}
.wfpco-signed{display:flex;align-items:center;gap:10px;margin:10px 0 0;font-size:15px;color:var(--co-text2)}
.wfpco-signed svg{flex:none;color:var(--co-muted)}
.wfpco-signed-s{gap:6px;margin:4px 0 0;font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;line-height:1.2;color:var(--co-gray)}
.wfpco-signed-s svg{width:11px;height:11px;color:var(--co-gray)}
.wfpco-line-body{display:flex;flex-direction:column}
/* quantity: a number with two small arrows (like the Book Editor's), a grayed arrow when it can't go that way */
.wfpco-qty-pick{display:inline-flex;align-items:center;gap:2px;height:40px;padding:0 6px 0 14px;border:1px solid var(--co-line2);border-radius:12px}
.wfpco-qty-pick .quantity{margin:0}
.wfpco-qty-pick .quantity label{display:none}
.wfpco-qty-pick input.qty{width:34px;height:auto;padding:0;text-align:center;border:0 !important;font-size:16px;-moz-appearance:textfield}
.wfpco-qty-pick input.qty::-webkit-outer-spin-button,.wfpco-qty-pick input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.wfpco-qty-arrows{display:flex;flex-direction:column;justify-content:center;width:22px;height:20px}
.wfpco-qty-arrows button{all:unset;flex:1;display:grid;place-items:center;cursor:pointer;color:var(--co-gray);transition:color .2s ease}
.wfpco-qty-arrows button:hover{color:var(--accent-hover)}
.wfpco-qty-arrows button:disabled,.wfpco-qty-arrows button[aria-disabled=true]{color:var(--co-muted);opacity:.35;cursor:not-allowed}
.wfpco-qty-arrows button[aria-disabled=true]:hover{color:var(--co-muted)}
/* Add another format */
.wfpco-upsell{display:flex;align-items:center;justify-content:space-between;gap:20px 28px;flex-wrap:wrap;padding:26px 0;border-bottom:1px solid var(--co-line)}
.wfpco-upsell h3{margin:0;font:400 24px/1.2 var(--co-serif);color:#fff}
.wfpco-upsell p{margin:6px 0 0;font-size:15px;color:var(--co-gray)}
.wfpco-upsell .wfpco-btn svg{flex:none}
.wfpco-empty-copy .wfpco-lede{max-width:none}
/* The empty cart's sentence may run as wide as the heading above */

/* Thank-you covers: a row of flat covers (with the glow) or a row of 3D books (their own glow and intro) */
.wfpco-ty-covers{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:12px 40px;margin:0 0 34px}
.wfpco-ty-covers .wfpco-ty-cover{margin:0}
.wfpco-ty-covers.is-3d{gap:0 28px;margin-bottom:20px}
.wfpco-ty-covers.is-3d .wfp-book{margin:0 auto}

.wfpco-row.is-discount dd,.wfpco-row.is-discount dd .woocommerce-Price-amount{color:#239900}
.wfpco-timeline li::before{box-sizing:border-box}   /* pseudo-elements do not inherit the page's border-box: the dot's 11px includes its border, so it is centered on the line */
.wfpco-ty-covers.is-3d{margin-bottom:64px}
.wfpco-actions-row + .wfpco-fine{margin-top:52px}   /* the text's own line height adds a few px: this looks equal to the space above the button */

/* Links in messages (Undo, View cart): the accent, brighter on hover, no underline. Errors keep their links as they are. */
.wfpco-body :is(.woocommerce-message,.woocommerce-info) a,.wfpco-body :is(.woocommerce-message,.woocommerce-info) a.button{float:none;display:inline;margin:0 14px 0 0;padding:0;background:none !important;border:0;box-shadow:none;color:var(--accent-fg) !important;font:inherit;text-decoration:none !important;transition:color .2s ease}
.wfpco-body :is(.woocommerce-message,.woocommerce-info) a:hover,.wfpco-body :is(.woocommerce-message,.woocommerce-info) a.button:hover{color:var(--accent-hover) !important;background:none !important}
.wfpco-body :is(.woocommerce-message,.woocommerce-info) a.restore-item{margin:0 0 0 4px}
/* Messages under a field ("… is a required field."): the same light red as the other errors, a little smaller */
.wfpco-body .checkout-inline-error-message{margin:6px 0 0;font-size:13px;line-height:1.5;color:#F09090}
/* Country and state menus: no outline ring on the box after choosing with the keyboard (its line turns accent instead) */
.wfpco-body .select2-container :focus,.wfpco-body .select2-container :focus-visible,.wfpco-body .select2-selection:focus-visible{outline:none !important}

.wfpco-pay.is-free .wfpco-sec-head{display:none}

.admin-bar .wfpco-summary{top:56px}   /* keep the sticky summary below the admin bar */
@media (max-width:782px){.admin-bar .wfpco-summary{top:70px}}

/* The Customizer prints the theme's Style Guide panel at the foot of the page; it is styled by theme CSS these pages do not load, and has nothing to show here */
.wfpco-body .kt-style-guide-wrapper{display:none !important}

.wfpco-cart .wfpco-hero .wfpco-cartcount{margin-top:14px;animation-delay:.2s}   /* the item count sits under the heading */
