/* Agossa v4.4 — checkout rebuilt as a true split premium canvas */
:root{
  --ag44-ink:#171716;
  --ag44-muted:#6e6b66;
  --ag44-line:#deddd9;
  --ag44-soft:#faf7f5;
  --ag44-soft-2:#f6f3f1;
  --ag44-field:#ffffff;
  --ag44-focus:#6e6b65;
}

body.woocommerce-checkout{background:#fff!important;color:var(--ag44-ink)!important;overflow-x:hidden!important}
body.woocommerce-checkout .site-header,
body.woocommerce-checkout header.site-header,
body.woocommerce-checkout .agossa-site-header{display:none!important}
body.woocommerce-checkout .site-main,
body.woocommerce-checkout main.site-main,
body.woocommerce-checkout .woocommerce{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.woocommerce-checkout .agossa-checkout-form{width:100%!important;margin:0!important;padding:0!important;background:#fff!important}

/* Simple checkout masthead, matching the reference proportions. */
body.woocommerce-checkout .agossa-checkout-topbar{height:96px!important;border-bottom:1px solid #ecebe8!important;background:#fff!important}
body.woocommerce-checkout .agossa-checkout-topbar-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;width:min(calc(100% - 48px),1232px)!important;height:100%!important;margin:0 auto!important}
body.woocommerce-checkout .agossa-checkout-logo{display:inline-flex!important;align-items:center!important;margin:0!important;min-height:0!important;color:#151514!important;text-decoration:none!important}
body.woocommerce-checkout .agossa-checkout-logo img{display:block!important;width:auto!important;max-width:150px!important;max-height:44px!important}
body.woocommerce-checkout .agossa-checkout-back{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;border:0!important;background:transparent!important;color:#111!important;font-size:28px!important;font-weight:400!important;line-height:1!important;text-decoration:none!important}

/* Full-bleed two-tone checkout canvas. */
body.woocommerce-checkout .agossa-checkout-layout{
  display:grid!important;
  grid-template-columns:minmax(0,55.25%) minmax(0,44.75%)!important;
  width:100%!important;
  min-height:760px!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  background:linear-gradient(to right,#fff 0,#fff 55.25%,var(--ag44-soft) 55.25%,var(--ag44-soft) 100%)!important;
  overflow:visible!important;
}
body.woocommerce-checkout .agossa-checkout-left{width:100%!important;padding:30px 0 72px!important;background:#fff!important;border:0!important}
body.woocommerce-checkout .agossa-checkout-inner{width:min(calc(100% - 48px),628px)!important;max-width:628px!important;margin:0 72px 0 auto!important;padding:0!important}
body.woocommerce-checkout .agossa-checkout-right{position:relative!important;width:100%!important;padding:30px 0 72px 42px!important;background:var(--ag44-soft)!important;border-left:1px solid #e7e3e0!important}
body.woocommerce-checkout .agossa-order-summary{position:sticky!important;top:26px!important;width:min(calc(100% - 48px),500px)!important;max-width:500px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.woocommerce-checkout .agossa-order-summary-eyebrow,
body.woocommerce-checkout .agossa-order-summary-title,
body.woocommerce-checkout .agossa-checkout-intro{display:none!important}

/* Section rhythm on the form side. */
body.woocommerce-checkout .agossa-checkout-section{margin:0 0 34px!important;padding:0!important;border:0!important;background:transparent!important}
body.woocommerce-checkout .agossa-checkout-section>h2,
body.woocommerce-checkout .woocommerce-billing-fields h2,
body.woocommerce-checkout .agossa-checkout-payment>h2{margin:0 0 16px!important;padding:0!important;font-family:inherit!important;font-size:20px!important;line-height:1.25!important;font-weight:650!important;letter-spacing:-.025em!important;color:var(--ag44-ink)!important}
body.woocommerce-checkout .agossa-checkout-payment>p{margin:-9px 0 14px!important;font-size:11px!important;line-height:1.5!important;color:#8a8781!important}
body.woocommerce-checkout .agossa-checkout-fields,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col-1,
body.woocommerce-checkout .col-2{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important}
body.woocommerce-checkout .woocommerce-billing-fields>h3,
body.woocommerce-checkout .woocommerce-shipping-fields>h3{display:none!important}
body.woocommerce-checkout .agossa-contact-section{margin-bottom:34px!important}
body.woocommerce-checkout .agossa-delivery-section{margin-bottom:30px!important}
body.woocommerce-checkout .agossa-checkout-shipping-section{margin-top:2px!important}

/* Form grid and controls. */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{display:flex!important;flex-wrap:wrap!important;gap:10px 12px!important}
body.woocommerce-checkout .form-row{margin:0!important;padding:0!important}
body.woocommerce-checkout .form-row-wide{width:100%!important}
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last{width:calc(50% - 6px)!important;float:none!important}
body.woocommerce-checkout .agossa-postcode-row{order:47!important}
body.woocommerce-checkout .agossa-checkout-form label{font-size:11px!important;color:#57544f!important}
body.woocommerce-checkout .agossa-checkout-form input.input-text,
body.woocommerce-checkout .agossa-checkout-form textarea,
body.woocommerce-checkout .agossa-checkout-form select,
body.woocommerce-checkout .agossa-checkout-form .select2-container .select2-selection--single{
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #d7d5d1!important;
  border-radius:6px!important;
  background:var(--ag44-field)!important;
  box-shadow:none!important;
  color:#20201e!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:400!important;
}
body.woocommerce-checkout .agossa-checkout-form textarea{min-height:105px!important;padding-top:14px!important;line-height:1.55!important;resize:vertical!important}
body.woocommerce-checkout .agossa-checkout-form input.input-text:focus,
body.woocommerce-checkout .agossa-checkout-form textarea:focus,
body.woocommerce-checkout .agossa-checkout-form select:focus,
body.woocommerce-checkout .agossa-checkout-form .select2-container--focus .select2-selection--single{
  outline:0!important;border-color:#7b7872!important;box-shadow:0 0 0 1px #7b7872!important
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{height:52px!important;line-height:52px!important;padding:0 30px 0 0!important;color:#20201e!important;font-size:13px!important}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:52px!important;right:10px!important}
body.woocommerce-checkout .woocommerce-input-wrapper{display:block!important;width:100%!important}

/* Phone: one field, country prefix integrated into the left edge. */
body.woocommerce-checkout .agossa-phone-shell{display:grid!important;grid-template-columns:126px minmax(0,1fr)!important;width:100%!important;margin:0!important;border:1px solid #d7d5d1!important;border-radius:6px!important;background:#fff!important;overflow:hidden!important}
body.woocommerce-checkout .agossa-phone-shell.is-other{grid-template-columns:116px 86px minmax(0,1fr)!important}
body.woocommerce-checkout .agossa-phone-shell>.form-row{width:auto!important;min-width:0!important}
body.woocommerce-checkout .agossa-phone-shell>.form-row+.form-row{border-left:1px solid #e0dedb!important}
body.woocommerce-checkout .agossa-phone-shell input.input-text,
body.woocommerce-checkout .agossa-phone-shell select,
body.woocommerce-checkout .agossa-phone-shell .select2-container .select2-selection--single{height:54px!important;min-height:54px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
body.woocommerce-checkout .agossa-phone-shell:focus-within{border-color:#7b7872!important;box-shadow:0 0 0 1px #7b7872!important}
body.woocommerce-checkout #billing_phone_country_code_field[hidden]{display:none!important}
body.woocommerce-checkout #billing_phone{letter-spacing:.01em!important}

/* Checkbox rows as subtle full-width options. */
body.woocommerce-checkout .agossa-corporate-toggle-row,
body.woocommerce-checkout .agossa-marketing-checkbox,
body.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address{width:100%!important;margin-top:2px!important;padding:14px 16px!important;border-radius:6px!important;background:#faf7f5!important}
body.woocommerce-checkout .agossa-corporate-toggle-row label,
body.woocommerce-checkout .agossa-marketing-checkbox label,
body.woocommerce-checkout #ship-to-different-address label{display:flex!important;align-items:flex-start!important;gap:9px!important;font-size:11px!important;line-height:1.45!important;font-weight:500!important;color:#55524d!important}
body.woocommerce-checkout input[type="checkbox"]{width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;border:1px solid #cbc9c5!important;border-radius:4px!important;accent-color:#1b1b19!important}

/* Order notes stay calm and separated from core address fields. */
body.woocommerce-checkout .woocommerce-additional-fields{margin:26px 0 0!important;padding:0!important}
body.woocommerce-checkout .woocommerce-additional-fields>h3{display:none!important}
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper{display:block!important}

/* Shipping selector is physically moved here by checkout.js. */
body.woocommerce-checkout .agossa-shipping-methods-left{width:100%!important}
body.woocommerce-checkout .agossa-shipping-empty{padding:15px 16px!important;border:1px solid #d9d7d3!important;border-radius:6px!important;background:#fafafa!important;font-size:11px!important;line-height:1.45!important;color:#77736d!important}
body.woocommerce-checkout .agossa-shipping-table{width:100%!important;margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:transparent!important}
body.woocommerce-checkout .agossa-shipping-table tbody,
body.woocommerce-checkout .agossa-shipping-table tr,
body.woocommerce-checkout .agossa-shipping-table td{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.woocommerce-checkout .agossa-shipping-table .woocommerce-shipping-methods{display:grid!important;gap:8px!important;margin:0!important;padding:0!important;list-style:none!important}
body.woocommerce-checkout .agossa-shipping-table .woocommerce-shipping-methods li{position:relative!important;margin:0!important;padding:0!important}
body.woocommerce-checkout .agossa-shipping-table .woocommerce-shipping-methods input[type="radio"]{position:absolute!important;opacity:0!important;pointer-events:none!important}
body.woocommerce-checkout .agossa-shipping-table .woocommerce-shipping-methods label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;min-height:52px!important;margin:0!important;padding:14px!important;border:1px solid #bfc8d8!important;border-radius:5px!important;background:#f8faff!important;color:#272725!important;font-size:12px!important;font-weight:500!important;cursor:pointer!important}
body.woocommerce-checkout .agossa-shipping-table .woocommerce-shipping-methods label .amount{margin-left:auto!important;font-weight:700!important}

/* Payment — clean card container, not the old nested heavy block. */
body.woocommerce-checkout .agossa-checkout-payment{margin:0!important;padding:0!important;border:0!important}
body.woocommerce-checkout #payment{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.woocommerce-checkout #payment ul.payment_methods{margin:0!important;padding:0!important;border:1px solid #d8d6d2!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important}
body.woocommerce-checkout #payment ul.payment_methods>li{margin:0!important;padding:0!important;border:0!important;background:#fff!important}
body.woocommerce-checkout #payment ul.payment_methods>li+li{border-top:1px solid #e2e0dc!important}
body.woocommerce-checkout #payment ul.payment_methods>li>label{display:flex!important;align-items:center!important;gap:10px!important;min-height:58px!important;margin:0!important;padding:13px 16px!important;color:#22211f!important;font-size:13px!important;font-weight:600!important;cursor:pointer!important}
body.woocommerce-checkout #payment ul.payment_methods>li>label img{width:auto!important;max-height:24px!important;margin-left:auto!important}
body.woocommerce-checkout #payment div.payment_box{margin:0!important;padding:16px 18px!important;border:0!important;border-top:1px solid #e2e0dc!important;border-radius:0!important;background:#faf9f7!important;color:#4f4c47!important;box-shadow:none!important}
body.woocommerce-checkout #payment div.payment_box:before{display:none!important}
body.woocommerce-checkout #payment div.payment_box iframe{width:100%!important;max-width:100%!important;border-radius:6px!important}
body.woocommerce-checkout #payment .place-order{margin:14px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
body.woocommerce-checkout #payment #place_order{width:100%!important;min-height:56px!important;margin:0!important;padding:0 22px!important;border:1px solid #151514!important;border-radius:6px!important;background:#151514!important;color:#fff!important;box-shadow:none!important;font-size:11px!important;font-weight:700!important;letter-spacing:.07em!important;text-transform:uppercase!important}
body.woocommerce-checkout #payment #place_order:hover{background:#000!important;border-color:#000!important}
body.woocommerce-checkout .agossa-checkout-actions-bottom{margin-top:28px!important}
body.woocommerce-checkout .agossa-back-cart{font-size:11px!important;color:#6e6a64!important;text-decoration:none!important}

/* Summary: compact product rows, visible coupon, clear totals. */
body.woocommerce-checkout .agossa-review-order{width:100%!important;margin:0!important;padding:0!important}
body.woocommerce-checkout .agossa-review-products{display:grid!important;gap:0!important;margin:0!important;padding:0 0 18px!important;border-bottom:1px solid #d9d5d2!important}
body.woocommerce-checkout .agossa-review-product{position:relative!important;display:grid!important;grid-template-columns:66px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;margin:0!important;padding:9px 0!important;border:0!important;background:transparent!important}
body.woocommerce-checkout .agossa-review-product-image{position:relative!important;width:66px!important;height:66px!important;border:1px solid #ddd9d5!important;border-radius:6px!important;background:#fff!important;overflow:visible!important}
body.woocommerce-checkout .agossa-review-product-image img{display:block!important;width:64px!important;height:64px!important;border-radius:5px!important;object-fit:cover!important;background:#f2f1ee!important}
body.woocommerce-checkout .agossa-review-product-image span{position:absolute!important;top:-9px!important;right:-9px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;height:22px!important;padding:0 6px!important;border-radius:999px!important;background:#77736e!important;color:#fff!important;font-size:9px!important;font-weight:700!important;line-height:1!important}
body.woocommerce-checkout .agossa-review-product-info{min-width:0!important;padding:0!important}
body.woocommerce-checkout .agossa-review-product-info strong{display:block!important;margin:0!important;color:#22211f!important;font-size:12px!important;font-weight:600!important;line-height:1.4!important}
body.woocommerce-checkout .agossa-review-product-info .variation,
body.woocommerce-checkout .agossa-review-product-info dl.variation{margin:3px 0 0!important;color:#7b7771!important;font-size:10px!important;line-height:1.35!important}
body.woocommerce-checkout .agossa-review-product-price{padding-left:12px!important;color:#22211f!important;font-size:12px!important;font-weight:600!important;white-space:nowrap!important}
body.woocommerce-checkout .agossa-remove-checkout-item{display:none!important}
body.woocommerce-checkout .agossa-review-coupon{margin:0!important;padding:24px 0!important;border-bottom:1px solid #d9d5d2!important}
body.woocommerce-checkout .agossa-coupon-form{display:grid!important;grid-template-columns:minmax(0,1fr) 148px!important;gap:14px!important;margin:0!important}
body.woocommerce-checkout .agossa-coupon-code{width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;padding:0 14px!important;border:1px solid #cfcac6!important;border-radius:5px!important;background:#fff!important;color:#262522!important;font-size:12px!important;box-shadow:none!important}
body.woocommerce-checkout .agossa-apply-coupon{height:52px!important;min-height:52px!important;margin:0!important;padding:0 18px!important;border:0!important;border-radius:5px!important;background:#d5d2cf!important;color:#fff!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important}
body.woocommerce-checkout .agossa-apply-coupon:hover{background:#c4c0bc!important}
body.woocommerce-checkout .agossa-coupon-message{margin-top:7px!important;font-size:10px!important}
body.woocommerce-checkout .agossa-review-totals{margin:0!important;padding:22px 0 0!important}
body.woocommerce-checkout .agossa-review-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin:0!important;padding:5px 0!important;color:#3d3b37!important;font-size:12px!important;line-height:1.4!important}
body.woocommerce-checkout .agossa-review-row strong,
body.woocommerce-checkout .agossa-review-row .amount{color:#2b2926!important;font-size:12px!important;font-weight:500!important}
body.woocommerce-checkout #order_review .agossa-review-shipping-options{display:none!important}
body.woocommerce-checkout #agossa-shipping-methods-left .agossa-review-shipping-options{display:block!important}
body.woocommerce-checkout .agossa-review-total{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin-top:13px!important;padding-top:17px!important;border-top:0!important;color:#22211f!important}
body.woocommerce-checkout .agossa-review-total span{font-size:18px!important;font-weight:700!important;letter-spacing:-.02em!important}
body.woocommerce-checkout .agossa-review-total strong,
body.woocommerce-checkout .agossa-review-total .amount{font-size:22px!important;font-weight:700!important;letter-spacing:-.025em!important}
body.woocommerce-checkout .agossa-review-tax-note{margin-top:7px!important;color:#8b8781!important;font-size:9px!important}

/* Woo notices */
body.woocommerce-checkout .woocommerce-NoticeGroup,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info{width:min(calc(100% - 48px),1232px)!important;margin:16px auto!important;border:1px solid #dedbd7!important;border-radius:6px!important;background:#fff!important;color:#33312e!important;box-shadow:none!important;font-size:12px!important}

/* Footer must remain visible and start after the two-tone checkout area. */
body.woocommerce-checkout footer,
body.woocommerce-checkout .site-footer,
body.woocommerce-checkout .agossa-site-footer,
body.woocommerce-checkout .agossa-footer,
body.woocommerce-checkout .agossa-footer-feature-panels-area,
body.woocommerce-checkout .agossa-footer-icons-area,
body.woocommerce-checkout .agossa-footer-top,
body.woocommerce-checkout .agossa-footer-bottom{display:block!important;visibility:visible!important}

@media (max-width:1100px){
  body.woocommerce-checkout .agossa-checkout-layout{grid-template-columns:minmax(0,58%) minmax(0,42%)!important;background:linear-gradient(to right,#fff 0,#fff 58%,var(--ag44-soft) 58%,var(--ag44-soft) 100%)!important}
  body.woocommerce-checkout .agossa-checkout-inner{width:calc(100% - 44px)!important;margin-right:28px!important}
  body.woocommerce-checkout .agossa-checkout-right{padding-left:28px!important}
  body.woocommerce-checkout .agossa-order-summary{width:calc(100% - 28px)!important}
}

@media (max-width:820px){
  body.woocommerce-checkout .agossa-checkout-topbar{height:78px!important}
  body.woocommerce-checkout .agossa-checkout-topbar-inner{width:calc(100% - 32px)!important}
  body.woocommerce-checkout .agossa-checkout-logo img{max-width:132px!important;max-height:38px!important}
  body.woocommerce-checkout .agossa-checkout-layout{display:flex!important;flex-direction:column!important;background:#fff!important;min-height:0!important}
  body.woocommerce-checkout .agossa-checkout-right{order:1!important;width:100%!important;padding:24px 20px 28px!important;border-left:0!important;border-bottom:1px solid #e3dfdc!important;background:var(--ag44-soft)!important}
  body.woocommerce-checkout .agossa-order-summary{position:static!important;width:min(100%,680px)!important;max-width:680px!important;margin:0 auto!important}
  body.woocommerce-checkout .agossa-checkout-left{order:2!important;padding:28px 20px 54px!important}
  body.woocommerce-checkout .agossa-checkout-inner{width:min(100%,680px)!important;max-width:680px!important;margin:0 auto!important}
  body.woocommerce-checkout .agossa-review-product{grid-template-columns:58px minmax(0,1fr) auto!important;gap:11px!important}
  body.woocommerce-checkout .agossa-review-product-image{width:58px!important;height:58px!important}
  body.woocommerce-checkout .agossa-review-product-image img{width:56px!important;height:56px!important}
  body.woocommerce-checkout .agossa-review-products{max-height:330px!important;overflow:auto!important;padding-right:4px!important}
}

@media (max-width:560px){
  body.woocommerce-checkout .agossa-checkout-topbar-inner{width:calc(100% - 28px)!important}
  body.woocommerce-checkout .agossa-checkout-left{padding:24px 14px 44px!important}
  body.woocommerce-checkout .agossa-checkout-right{padding:20px 14px 24px!important}
  body.woocommerce-checkout .agossa-checkout-section{margin-bottom:28px!important}
  body.woocommerce-checkout .agossa-checkout-section>h2,
  body.woocommerce-checkout .agossa-checkout-payment>h2{font-size:18px!important;margin-bottom:13px!important}
  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last{width:100%!important}
  body.woocommerce-checkout .agossa-phone-shell{grid-template-columns:112px minmax(0,1fr)!important}
  body.woocommerce-checkout .agossa-phone-shell.is-other{grid-template-columns:102px 72px minmax(0,1fr)!important}
  body.woocommerce-checkout .agossa-checkout-form input.input-text,
  body.woocommerce-checkout .agossa-checkout-form textarea,
  body.woocommerce-checkout .agossa-checkout-form select,
  body.woocommerce-checkout .agossa-checkout-form .select2-container .select2-selection--single{min-height:52px!important;font-size:12px!important}
  body.woocommerce-checkout .agossa-coupon-form{grid-template-columns:minmax(0,1fr) 108px!important;gap:8px!important}
  body.woocommerce-checkout .agossa-review-product{grid-template-columns:52px minmax(0,1fr) auto!important;gap:9px!important}
  body.woocommerce-checkout .agossa-review-product-image{width:52px!important;height:52px!important}
  body.woocommerce-checkout .agossa-review-product-image img{width:50px!important;height:50px!important}
  body.woocommerce-checkout .agossa-review-product-info strong{font-size:11px!important}
  body.woocommerce-checkout .agossa-review-product-price{font-size:11px!important;padding-left:4px!important}
  body.woocommerce-checkout .agossa-review-total span{font-size:16px!important}
  body.woocommerce-checkout .agossa-review-total strong,
  body.woocommerce-checkout .agossa-review-total .amount{font-size:19px!important}
}
body.woocommerce-checkout .agossa-shipping-table th{display:none!important}
body.woocommerce-checkout #agossa-shipping-methods-left .agossa-review-shipping-summary{display:none!important}
