/* Willow & Grid: cart, checkout and order received (loaded only on those pages, after wg.css). */

/* ---------- Cart ---------- */
.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper .woocommerce-message{margin:0 0 6px}
.wg-cart-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.wg-cart-head p{margin:0;font-weight:700;color:var(--wg-ink)}
.wg-cart-back{font-weight:700;color:var(--wg-accent)!important;text-decoration:none!important}
.wg-cart-back:hover{text-decoration:underline!important;text-underline-offset:3px}
.woocommerce-cart-form table.shop_table{border:0!important;background:transparent!important;border-radius:0!important;margin:0!important}
.woocommerce-cart-form table.shop_table thead{display:none}
.woocommerce-cart-form table.shop_table tbody{display:block}
.woocommerce-cart-form tr.cart_item{display:grid!important;grid-template-columns:104px minmax(0,1fr) auto auto auto;grid-template-areas:"pic name price qty total";align-items:center;gap:6px 22px;background:#fff;border:1px solid var(--wg-line);border-radius:20px;padding:16px 50px 16px 16px;margin:0 0 12px;position:relative;transition:box-shadow .2s var(--wg-ease)}
.woocommerce-cart-form tr.cart_item:hover{box-shadow:var(--wg-lift)}
.woocommerce-cart-form tr.cart_item td{display:block!important;border:0!important;padding:0!important;background:none!important;text-align:left!important}
.woocommerce-cart-form tr.cart_item td::before{display:none!important}
.woocommerce-cart-form td.product-thumbnail{grid-area:pic}
.woocommerce-cart-form td.product-thumbnail img{width:104px!important;height:78px!important;object-fit:cover;border-radius:12px;background:var(--wg-stone);display:block;max-width:none!important}
.woocommerce-cart-form td.product-name{grid-area:name;display:flex!important;flex-direction:column;gap:4px;min-width:0}
.wg-ci-name{font-family:var(--wg-display);font-weight:700;font-size:1.12rem;line-height:1.25;color:var(--wg-ink)!important;text-decoration:none!important}
.wg-ci-name:hover{color:var(--wg-accent)!important}
.wg-ci-desc{font-size:.88rem;color:var(--wg-muted-text);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wg-ci-meta{font-size:.8rem;font-weight:700;color:var(--wg-accent)}
.woocommerce-cart-form td.product-price{grid-area:price;font-size:.9rem;color:var(--wg-muted-text);white-space:nowrap}
.woocommerce-cart-form td.product-quantity,.woocommerce-cart .product-quantity{grid-area:qty;display:block!important}
.woocommerce-cart-form td.product-subtotal{grid-area:total;font-weight:800;font-size:1.05rem;white-space:nowrap;min-width:64px;text-align:right!important}
.woocommerce-cart-form td.product-remove{position:absolute!important;top:12px;right:12px}
.woocommerce-cart-form td.product-remove a.remove{display:grid!important;place-items:center;width:30px!important;height:30px!important;border-radius:50%!important;font-size:1.2rem!important;line-height:1!important;color:var(--wg-muted-text)!important;background:var(--wg-stone)!important;text-decoration:none!important}
.woocommerce-cart-form td.product-remove a.remove:hover{background:#A33B2B!important;color:#fff!important}
.wg-qty{display:inline-flex!important;align-items:center;gap:0;border:1px solid var(--wg-line-strong);border-radius:var(--wg-pill);background:#fff;overflow:hidden}
.wg-qty input.qty{width:40px!important;height:38px;border:0!important;text-align:center;font-weight:700;background:transparent!important;-moz-appearance:textfield;padding:0!important;box-shadow:none!important}
.wg-qty input.qty::-webkit-outer-spin-button,.wg-qty input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.wg-qbtn{width:36px;height:38px;border:0;background:transparent;font:700 1.1rem/1 var(--wg-text);color:var(--wg-ink);cursor:pointer}
.wg-qbtn:hover{background:var(--wg-stone)}
.woocommerce-cart-form tr:not(.cart_item){display:block}
.woocommerce-cart-form td.actions{display:block!important;border:0!important;padding:8px 0 0!important;background:none!important}
.woocommerce-cart-form .coupon{display:flex!important;gap:8px;align-items:center;float:none!important;max-width:460px}
.woocommerce-cart-form .coupon input.input-text{flex:1;min-width:0;height:48px;border:1px solid var(--wg-line-strong)!important;border-radius:var(--wg-pill)!important;padding:0 18px!important;background:#fff!important;width:auto!important}
.woocommerce-cart-form .coupon .button{height:48px;border-radius:var(--wg-pill)!important;background:transparent!important;color:var(--wg-ink)!important;border:2px solid var(--wg-ink)!important;padding:0 20px!important;min-height:0!important}
.woocommerce-cart-form .coupon .button:hover{background:var(--wg-ink)!important;color:#fff!important}
.woocommerce-cart .cart_totals h2{font-size:1.6rem!important}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding:8px 0 0!important}
.woocommerce-cart .cart_totals .checkout-button{font-size:1.05rem!important;min-height:58px!important;border-radius:var(--wg-pill)!important}
.woocommerce-cart .cart_totals .ppc-button-wrapper{margin-top:10px!important}
.wg-cart-recs{grid-column:1/-1;margin:clamp(40px,5vw,64px) 0 0}
.wg-cart-recs h2{font-size:clamp(1.6rem,2.6vw,2.1rem)!important;margin:0 0 18px!important;text-align:center}
@media (max-width:1023px){.wg-cart-recs .wg-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 28 Nov: medium screens (laptop, tablet landscape): the cart column is narrow next to the summary, so the
   name gets its own line and price, copies and total sit under it. */
@media (min-width:701px) and (max-width:1359px){
  .woocommerce-cart-form tr.cart_item{grid-template-columns:96px minmax(0,1fr) auto auto;grid-template-areas:"pic name name name" "pic price qty total";gap:10px 18px}
  .woocommerce-cart-form td.product-price{align-self:center}
}
@media (max-width:700px){
  .woocommerce-cart-form tr.cart_item{grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"pic name name" "pic price price" "qty qty total";padding:14px 44px 14px 14px;gap:8px 14px}
  .woocommerce-cart-form td.product-thumbnail img{width:76px!important;height:57px!important}
  .woocommerce-cart-form td.product-subtotal{align-self:center}
  .woocommerce-cart-form .coupon{max-width:none}
}

/* ---------- Checkout ---------- */
.woocommerce-checkout .woocommerce-form-coupon-toggle,.woocommerce-checkout form.checkout_coupon{display:none!important}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.woocommerce-checkout #billing_first_name_field,.woocommerce-checkout #billing_last_name_field{grid-column:span 3!important}
.woocommerce-checkout #billing_email_field,.woocommerce-checkout #billing_country_field{grid-column:span 6!important}
.woocommerce-checkout #wg_phone_cc_field{grid-column:span 2!important}
.woocommerce-checkout #billing_phone_field{grid-column:span 4!important}
.woocommerce-checkout #wg_phone_cc{width:100%;height:52px;border:1px solid var(--wg-line-strong);border-radius:12px;padding:0 12px;background:#fff;font:500 .95rem var(--wg-text);color:var(--wg-ink)}
.woocommerce-checkout .form-row.woocommerce-invalid input,.woocommerce-checkout .form-row.woocommerce-invalid select{border-color:#A33B2B!important}
.woocommerce-checkout .form-row.woocommerce-validated input{border-color:var(--wg-accent)}
@media (max-width:600px){
  .woocommerce-checkout #billing_first_name_field,.woocommerce-checkout #billing_last_name_field{grid-column:span 6!important}
  .woocommerce-checkout #wg_phone_cc_field{grid-column:span 6!important}
  .woocommerce-checkout #billing_phone_field{grid-column:span 6!important}
}
#order_review .wg-co-coupon td{padding:14px 0 6px!important;border-top:0!important}
.wg-coupon-inline{display:flex;gap:8px}
.wg-coupon-inline input{flex:1;min-width:0;height:44px;border:1px solid var(--wg-line-strong);border-radius:var(--wg-pill);padding:0 16px;background:#fff;font:500 .95rem var(--wg-text)}
.wg-coupon-inline input:focus{outline:3px solid var(--wg-gold);outline-offset:2px}
.wg-coupon-apply{height:44px;border-radius:var(--wg-pill);border:2px solid var(--wg-ink);background:transparent;color:var(--wg-ink);font:700 .92rem var(--wg-text);padding:0 18px;cursor:pointer}
.wg-coupon-apply:hover{background:var(--wg-ink);color:#fff}
.wg-coupon-inline.is-busy{opacity:.5;pointer-events:none}
.wg-coupon-msg{margin:0 0 12px}
#order_review .wg-co-tax th,#order_review .wg-co-tax td{color:var(--wg-muted-text);font-weight:500!important;font-size:.92rem}
.wg-pay-head{margin:6px 0 12px}
.wg-pay-head h3{font-size:1.4rem!important;margin:0 0 6px!important}
.wg-pay-head p{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:.88rem;color:var(--wg-muted-text);line-height:1.45}
.wg-pay-head svg{flex:none;margin-top:2px;color:var(--wg-accent)}
#payment ul.payment_methods{border:0!important;padding:0!important;display:grid;gap:8px;margin:0 0 12px!important}
#payment ul.payment_methods li{background:#fff;border:1px solid var(--wg-line-strong);border-radius:14px;padding:12px 14px!important;margin:0!important;list-style:none}
#payment ul.payment_methods li:has(input:checked){border-color:var(--wg-accent);box-shadow:0 0 0 1px var(--wg-accent)}
#payment ul.payment_methods li label{font-weight:700;cursor:pointer}
#payment div.payment_box{background:var(--wg-stone)!important;border-radius:10px;margin:10px 0 0!important;font-size:.88rem}
#payment div.payment_box::before{display:none!important}
#payment .place-order{padding:8px 0 0!important}
#payment #place_order{width:100%;min-height:56px;border-radius:var(--wg-pill)!important;font-size:1.05rem!important}
#payment paypal-button{--paypal-button-border-radius:999px!important}

/* ---------- Order received ---------- */
.wg-ty{display:grid;gap:18px;max-width:880px}
.wg-ty-hero{background:var(--wg-deep);color:#fff;border-radius:var(--wg-r-panel);padding:clamp(24px,3.4vw,44px)}
.wg-ty-hero h2{color:#fff!important;font-size:clamp(1.8rem,3.4vw,2.6rem)!important;margin:12px 0 8px!important}
.wg-ty-hero p{color:#DDE6DF;margin:0;max-width:62ch}
.wg-ty-hero strong{color:#fff}
.wg-ty-check{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--wg-butter);color:var(--wg-ink)}
.wg-ty-hero.is-failed{background:#fff;color:var(--wg-ink);border:1px solid var(--wg-line)}
.wg-ty-hero.is-failed h2{color:var(--wg-ink)!important}
.wg-ty-hero.is-failed p{color:#33312D}
.wg-ty-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px!important}
.wg-ty-meta{list-style:none;margin:20px 0 0;padding:16px 0 0;border-top:1px solid rgba(255,255,255,.16);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.wg-ty-meta li{display:flex;flex-direction:column;gap:2px}
.wg-ty-meta span{font-size:.8rem;color:#BFCBC3}
.wg-ty-meta strong{font-size:1rem}
.wg-ty-files,.wg-ty-next,.wg-ty-summary{background:#fff;border:1px solid var(--wg-line);border-radius:22px;padding:clamp(18px,2.4vw,28px)}
.wg-ty-files h3,.wg-ty-summary h3{font-size:1.4rem!important;margin:0 0 10px!important}
.wg-ty-list{list-style:none;margin:0;padding:0}
.wg-ty-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--wg-line)}
.wg-ty-file{display:flex;flex-direction:column;min-width:0}
.wg-ty-pname{font-weight:700}
.wg-ty-fname{font-size:.86rem;color:var(--wg-muted-text);overflow-wrap:anywhere}
.wg-ty-dl{flex:none;padding:.65em 1.4em!important;min-height:0!important}
.wg-ty-note{margin:12px 0 0;font-size:.9rem;color:var(--wg-muted-text)}
.wg-ty-next{background:var(--wg-butter);border:0}
.wg-ty-next p{margin:0 0 6px}
.wg-ty-next a{font-weight:700;color:var(--wg-ink)!important;text-decoration:underline!important}
.wg-ty-table{width:100%;border-collapse:collapse}
.wg-ty-table td,.wg-ty-table th{padding:10px 0;border-top:1px solid var(--wg-line);text-align:left;vertical-align:top}
.wg-ty-table td:last-child,.wg-ty-table th+td{text-align:right;white-space:nowrap}
.wg-ty-qty{color:var(--wg-muted-text);font-size:.9rem}
.wg-ty-order_total th,.wg-ty-order_total td{font-weight:800;font-size:1.1rem}
@media (max-width:700px){.wg-ty-meta{grid-template-columns:1fr 1fr}.wg-ty-list li{flex-wrap:wrap}.wg-ty-dl{width:100%;text-align:center}}
.woocommerce-checkout .woocommerce-account-fields{margin-top:14px;background:#fff;border:1px solid var(--wg-line);border-radius:16px;padding:14px 18px}
.woocommerce-checkout .woocommerce-account-fields p{margin:0}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info{margin-bottom:14px}

/* Made-to-order note at checkout and on the order page */
.woocommerce-checkout .wg-service-note{background:#fff;border:1px solid var(--wg-rule,#e5e1d8);border-radius:14px;padding:12px 14px;margin:0 0 14px;font-size:.95rem;line-height:1.5}
.wg-ty-service{margin-bottom:18px}

/* 28 Nov: terms + download consent rows: checkbox and text side by side, asterisk right after the text */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .form-row,
.woocommerce-checkout #payment .wg-consent{margin:0 0 12px!important}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper .form-row label.checkbox,
.woocommerce-checkout #payment .wg-consent label.checkbox{display:flex!important;align-items:flex-start;gap:12px;margin:0!important;font-size:.95rem!important;line-height:1.5!important;font-weight:600!important;color:var(--wg-ink);cursor:pointer}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label.checkbox input,
.woocommerce-checkout #payment .wg-consent label.checkbox input{flex:none;width:20px!important;height:20px!important;margin:2px 0 0!important;accent-color:var(--wg-accent);cursor:pointer}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label.checkbox>span,
.woocommerce-checkout #payment .wg-consent label.checkbox>span{flex:1;min-width:0}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label.checkbox abbr.required,
.woocommerce-checkout #payment .wg-consent label.checkbox abbr.required{display:none}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label.checkbox>span::after,
.woocommerce-checkout #payment .wg-consent label.checkbox>span::after{content:" *";color:var(--wg-accent);font-weight:700}
.woocommerce-checkout #payment .wg-consent{background:var(--wg-butter)!important;border:0!important;border-radius:14px!important;padding:14px 16px!important}
.woocommerce-checkout #payment .wg-consent label.checkbox{font-weight:500!important}

/* 28 Nov: "Your order" rows at checkout: a normal table row (one unbroken line under each item), price top right, copies + Remove on one line */
#order_review table.woocommerce-checkout-review-order-table tr.cart_item td{display:table-cell!important;vertical-align:top!important;padding:16px 10px!important;border-bottom:1px solid var(--wg-line)!important;border-top:0!important;background:none!important}
#order_review table.woocommerce-checkout-review-order-table tr.cart_item td.product-name{width:auto!important}
#order_review table.woocommerce-checkout-review-order-table tr.cart_item td.product-total{width:1%!important;text-align:right!important;white-space:nowrap;font-weight:700;font-size:1rem;padding-top:17px!important}
#order_review .wg-co-qty{flex-wrap:nowrap;margin:10px 0 0 76px}
#order_review .wg-co-rm{margin-left:10px}
@media (max-width:600px){#order_review table.woocommerce-checkout-review-order-table thead{display:none}#order_review .wg-co-qty{margin-left:0}}
@media (max-width:340px){#order_review .wg-co-qty{flex-wrap:wrap}}

#order_review table.woocommerce-checkout-review-order-table tr.cart_item td.product-name{line-height:0!important}
#order_review table.woocommerce-checkout-review-order-table tr.cart_item td.product-name>*{line-height:1.4}

/* 28 Nov: Country / Region drop-down (selectWoo) in the site style */
.woocommerce-checkout .select2-container .select2-selection--single{height:52px!important;border:1px solid var(--wg-line-strong)!important;border-radius:12px!important;background:#fff!important;outline:0!important;transition:border-color .15s,box-shadow .15s}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{font-size:1rem!important;line-height:50px!important;color:var(--wg-ink)!important;padding:0 46px 0 17.6px!important}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:50px!important;width:44px!important;right:4px!important;top:0!important}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow b{display:none!important}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow::after{content:"";position:absolute;top:50%;left:50%;width:8px;height:8px;border-right:2px solid var(--wg-ink);border-bottom:2px solid var(--wg-ink);transform:translate(-50%,-70%) rotate(45deg);transition:transform .15s}
.woocommerce-checkout .select2-container--open .select2-selection--single .select2-selection__arrow::after{transform:translate(-50%,-25%) rotate(-135deg)}
.woocommerce-checkout .select2-container--open .select2-selection--single,.woocommerce-checkout .select2-container--focus .select2-selection--single{border-color:var(--wg-accent)!important;box-shadow:0 0 0 3px rgba(61,107,79,.16)!important;border-radius:12px!important}
.woocommerce-checkout .select2-dropdown{border:1px solid var(--wg-line-strong)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 22px 44px -20px rgba(15,26,20,.38)!important;overflow:hidden;font-family:var(--wg-text,inherit)}
.woocommerce-checkout .select2-dropdown--below{margin-top:6px!important}
.woocommerce-checkout .select2-dropdown--above{margin-top:-6px!important}
.woocommerce-checkout .select2-search--dropdown{padding:10px!important;border-bottom:1px solid var(--wg-line)}
.woocommerce-checkout .select2-search--dropdown .select2-search__field{height:44px!important;border:1px solid var(--wg-line-strong)!important;border-radius:999px!important;padding:0 16px 0 40px!important;font-size:1rem!important;color:var(--wg-ink)!important;outline:0!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6f6d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px 50%!important;background-size:17px!important;box-shadow:none!important}
.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus{border-color:var(--wg-accent)!important}
.woocommerce-checkout .select2-results>.select2-results__options{max-height:288px!important;padding:6px!important;overscroll-behavior:contain}
.woocommerce-checkout .select2-results__option{padding:10px 14px!important;margin:0 0 2px!important;border-radius:10px!important;font-size:.98rem!important;line-height:1.35;color:var(--wg-ink)!important;background:transparent!important}
.woocommerce-checkout .select2-results__option--highlighted[aria-selected],.woocommerce-checkout .select2-results__option--highlighted[data-selected]{background:var(--wg-stone)!important;color:var(--wg-ink)!important}
.woocommerce-checkout .select2-results__option[aria-selected=true],.woocommerce-checkout .select2-results__option[data-selected=true]{background:var(--wg-ink)!important;color:#fff!important;font-weight:700;padding-right:38px!important;position:relative}
.woocommerce-checkout .select2-results__option[aria-selected=true]::after,.woocommerce-checkout .select2-results__option[data-selected=true]::after{content:"";position:absolute;right:16px;top:50%;width:6px;height:11px;border-right:2px solid var(--wg-butter);border-bottom:2px solid var(--wg-butter);transform:translateY(-65%) rotate(45deg)}
.woocommerce-checkout .select2-results__message{color:var(--wg-muted-text)!important;font-size:.92rem!important}

/* 28 Nov: cart X button sits inside the card; order summary no longer follows the scroll (it covered "You may also like") */
.woocommerce-cart-form td.product-remove{width:30px!important;height:30px!important;top:14px!important;right:14px!important}
.woocommerce-cart .cart-collaterals{position:static!important;top:auto!important}
.cart_totals paypal-button,.cart_totals paypal-pay-later-button,.cart_totals paypal-credit-button,#payment paypal-pay-later-button{--paypal-button-border-radius:999px!important}

/* 28 Nov: checkout login box with a create-account path */
.woocommerce-checkout .wg-login-new{margin:14px 0 0!important;padding-top:14px;border-top:1px solid var(--wg-line);font-size:.95rem;color:var(--wg-ink)}
.woocommerce-checkout .wg-login-new a,.woocommerce-checkout .woocommerce-form-login-toggle a.wg-to-create{color:var(--wg-accent)!important;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.woocommerce-checkout .woocommerce-form-login-toggle .wg-or{color:var(--wg-muted-text);margin:0 2px}
.woocommerce-checkout .wg-flash{box-shadow:0 0 0 3px rgba(61,107,79,.28);border-radius:12px;transition:box-shadow .3s}
.woocommerce-checkout .woocommerce-form-login-toggle .wc-block-components-notice-banner__content{display:flex!important;flex-wrap:wrap;align-items:baseline;justify-content:flex-start!important;gap:4px 6px}
.woocommerce-checkout .woocommerce-form-login-toggle a.showlogin{color:var(--wg-accent)!important;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin:0!important;float:none!important}
.woocommerce-checkout .woocommerce-account-fields p.create-account{margin:0!important;padding:4px 6px}
.woocommerce-checkout .woocommerce-account-fields p.create-account label.checkbox{display:flex!important;align-items:flex-start;gap:12px;margin:0!important;font-size:.95rem!important;line-height:1.5!important;font-weight:600!important;cursor:pointer}
.woocommerce-checkout .woocommerce-account-fields p.create-account label.checkbox input{flex:none;width:20px!important;height:20px!important;margin:2px 0 0!important;accent-color:var(--wg-accent)}
/* 28 Nov: totals in "Your order" stay on one line (the price column is kept narrow) */
#order_review table.woocommerce-checkout-review-order-table tfoot tr:not(.wg-co-coupon) td{white-space:nowrap!important;text-align:right!important}

/* 28 Nov: payment method cards: radio + name on one line, the short description right under the name */
#payment ul.payment_methods li{display:flex!important;flex-wrap:wrap;align-items:center;gap:0 12px}
#payment ul.payment_methods li>input.input-radio{margin:0!important;flex:none;width:18px;height:18px;accent-color:var(--wg-accent)}
#payment ul.payment_methods li>label{display:inline-flex!important;align-items:center;gap:10px;margin:0!important;flex:1;min-height:28px;line-height:1.3}
#payment ul.payment_methods li>label img{max-height:24px!important;width:auto!important;margin:0!important;float:none!important}
#payment ul.payment_methods li div.payment_box{flex-basis:100%;background:none!important;padding:4px 0 0 30px!important;margin:0!important;font-size:.9rem!important;line-height:1.5;color:var(--wg-muted-text)!important;border-radius:0!important}
#payment ul.payment_methods li div.payment_box p{margin:0!important}
/* PayPal's own buttons (web components): round like ours, same height. While PayPal's card form is really
   showing (wg-cart.js adds .wg-card-open when its frame is taller than 40 px), the grey bar is hidden; after
   Cancel PayPal leaves an empty frame behind, the class goes away and the button is back. */
.wg-paybox paypal-button,.wg-paybox paypal-basic-card-button,.wg-paybox paypal-pay-later-button,.wg-paybox paypal-credit-button{--paypal-button-border-radius:999px!important;height:54px!important}
.wg-paybox [id^="ppc-button-ppcp"]{margin-top:16px}
.wg-paybox paypal-basic-card-container{display:block!important;width:100%!important}
.wg-paybox paypal-basic-card-container.wg-card-open > paypal-basic-card-button{display:none!important}
.wg-paybox paypal-basic-card-container.wg-card-open{background:#fff;border:1px solid var(--wg-line);border-radius:18px;padding:6px 4px 10px}
#payment ul.payment_methods li div.payment_box.payment_method_ppcp-gateway p{font-size:0!important}
#payment ul.payment_methods li div.payment_box.payment_method_ppcp-gateway p::after{content:"Log in to PayPal to pay. Your files are ready as soon as the payment goes through.";font-size:.9rem}
