/* Purchase UI: preserve native WooCommerce markup and Shoptimizer layout hooks. */
body.agh-theme :is(.woocommerce,.woocommerce-page) :is(a.button,button.button,input.button,.checkout-button,#place_order),body.agh-theme :is(.checkout-button,#place_order){font-family:var(--sans)!important;font-size:16px!important;line-height:1.4;font-weight:600;letter-spacing:.035em;text-transform:none}
body.agh-theme :is(.checkout-button,#place_order){background:var(--brass-deep)!important;border-color:var(--brass-deep)!important;color:#fff!important;min-height:54px;padding:16px 24px;border-radius:5px;text-align:center;box-shadow:none}
body.agh-theme :is(.checkout-button,#place_order):is(:hover,:focus-visible){background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
body.agh-theme :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--brass-deep);outline-offset:3px}
body.agh-theme.agh-purchase-page .site-header{position:relative;top:auto}
body.agh-theme.agh-purchase-page .site-content{padding-top:28px}
body.agh-theme.agh-purchase-page #content>.shoptimizer-archive>.col-full{width:min(1200px,calc(100% - 48px));max-width:1200px;padding:0;margin-inline:auto}
body.agh-theme .agh-purchase-header{background:#fff;border-bottom:1px solid var(--hairline)}
body.agh-theme .agh-purchase-header>.site-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:24px}
body.agh-theme .agh-purchase-header>div>span{font-size:13px;color:var(--muted)}
body.agh-theme .agh-purchase-header a:not(.brand){font-size:14px;color:var(--brass-deep)}
body.agh-theme .agh-purchase-footer{padding-block:28px;display:flex;justify-content:space-between;gap:24px;font-size:12px;border-top:1px solid var(--hairline);margin-top:40px}
body.agh-theme .agh-purchase-footer nav{display:flex;gap:16px;flex-wrap:wrap}
body.agh-theme:is(.agh-purchase-page,.woocommerce-account) :is(.woocommerce,.woocommerce-checkout) .form-row{display:block;grid-template-columns:none;gap:0;min-width:0;float:none;margin:0 0 18px;padding:0}
body.agh-theme .woocommerce form .form-row label{display:block;width:100%;float:none;margin:0 0 7px;font-size:14px;font-weight:500;line-height:1.45}
body.agh-theme .woocommerce form .form-row .woocommerce-input-wrapper{display:block;width:100%;float:none}
body.agh-theme .woocommerce form .form-row :is(input.input-text,select,textarea){width:100%;max-width:100%;min-height:48px;padding:11px 13px;font-size:16px;line-height:1.4;border:1px solid #d9d3c7;border-radius:5px;background:#fff;box-shadow:none}
body.agh-theme .woocommerce form .form-row textarea{min-height:96px}
body.agh-theme .woocommerce form .form-row label.checkbox{display:flex;gap:10px;align-items:flex-start;font-weight:400}
body.agh-theme .woocommerce form .form-row input[type=checkbox]{flex:0 0 auto;margin-top:5px;width:18px;height:18px}
body.agh-theme .woocommerce form .form-row .description{display:block;font-size:12px;color:var(--muted);margin-top:5px}
body.agh-theme .agh-phone-help{display:block;font-size:12px;color:var(--muted);margin-top:5px}
body.agh-theme .woocommerce-billing-fields__field-wrapper,body.agh-theme .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}
body.agh-theme .agh-checkout-field-heading{grid-column:1/-1;margin:0 0 14px;font:600 14px/1.5 var(--sans);color:var(--ink)}
body.agh-theme .woocommerce form .form-row.form-row-wide{grid-column:1/-1;width:100%}
body.agh-theme .woocommerce form .form-row:is(.form-row-first,.form-row-last){width:100%;clear:none;margin-inline:0}
body.agh-theme.woocommerce-checkout #customer_details{width:57%;float:left;padding-right:5%;margin:0;box-sizing:border-box}
body.agh-theme.woocommerce-checkout #customer_details :is(.col-1,.col-2){width:100%;float:none;margin:0}
body.agh-theme.woocommerce-checkout #order_review_heading,body.agh-theme.woocommerce-checkout #order_review{width:43%;float:right;clear:right;padding:0;box-sizing:border-box}
body.agh-theme.woocommerce-checkout #order_review{border:0}
body.agh-theme.woocommerce-checkout #payment .place-order{display:block;width:100%;padding:20px 0 0;margin:0;float:none}
body.agh-theme.woocommerce-checkout #payment .place-order>*{width:100%;max-width:none;float:none;clear:both;box-sizing:border-box}
body.agh-theme.woocommerce-checkout #payment #place_order{display:block;width:100%;float:none;margin-top:20px}
body.agh-theme.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{display:block;font-size:13px;line-height:1.6}
body.agh-theme.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row{display:block;margin-top:16px}
body.agh-theme.woocommerce-checkout #payment{background:transparent;border:0;border-top:1px solid var(--hairline);padding-top:16px}
body.agh-theme :is(.cart_totals,.woocommerce-checkout-review-order-table){background:var(--alabaster);border:1px solid var(--hairline);border-radius:6px}
body.agh-theme :is(.cart_totals,.woocommerce-checkout-review-order-table) :is(th,td){padding:16px;border-color:var(--hairline);font-size:14px;vertical-align:top}
body.agh-theme .woocommerce table.shop_table{border-color:var(--hairline)}
body.agh-theme .woocommerce table.shop_table .product-name{line-height:1.5;overflow-wrap:anywhere}
body.agh-theme .woocommerce table.shop_table :is(.variation,small.agh-kit-parent){font-size:12px;color:var(--muted);line-height:1.5;margin-top:7px}
body.agh-theme .woocommerce table.shop_table dl.variation dt{font-weight:500}
body.agh-theme .woocommerce table.shop_table dl.variation dd{margin-bottom:3px}
body.agh-theme .woocommerce table.shop_table dl.variation{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 8px}
body.agh-theme .woocommerce table.shop_table dl.variation :is(dt,dd){float:none;margin:0;padding:0}
body.agh-theme .woocommerce table.shop_table dl.variation dd p{margin:0}
body.agh-theme.woocommerce-cart .actions .agh-purchase-disclosure{background:transparent!important;box-shadow:none;padding:6px 0;margin:0;font-size:13px!important;font-weight:400;letter-spacing:0;text-transform:none}
body.agh-theme.woocommerce-cart .actions .agh-purchase-disclosure:is(:hover,:focus-visible){color:var(--ink)!important;background:transparent!important}
body.agh-theme .checkout-wrap{margin:0 0 30px;padding-block:8px}
body.agh-theme .agh-kit-line td{background:#faf8f3;padding-top:12px!important;padding-bottom:12px!important;font-size:13px!important;border-top:0!important}
body.agh-theme .agh-kit-line .product-name{padding-left:24px!important}
body.agh-theme .agh-kit-icon{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;color:var(--brass-deep);vertical-align:middle}
body.agh-theme .agh-kit-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
body.agh-theme .agh-kit-label{display:inline;font-size:13px}
body.agh-theme .agh-kit-parent{display:block;font-weight:400}
body.agh-theme .agh-cart-heading{font-size:32px;margin:0 0 28px}
body.agh-theme .agh-checkout-intro{font-size:14px;margin-bottom:28px}
body.agh-theme .agh-checkout-intro a{margin-left:8px;text-decoration:underline;text-underline-offset:3px}
body.agh-theme :is(.agh-purchase-help,.agh-purchase-reassurance,.agh-confirmation-help){font-size:14px;line-height:1.65;text-align:left}
body.agh-theme .agh-purchase-help{border:1px solid var(--hairline);border-radius:6px;padding:22px;margin-top:24px;max-width:640px;background:var(--alabaster)}
body.agh-theme :is(.agh-purchase-help,.agh-purchase-reassurance) strong{font-weight:600;color:var(--ink);display:block;margin-bottom:5px}
body.agh-theme :is(.agh-purchase-help,.agh-purchase-reassurance) p{margin:0 0 10px;font-size:13px}
body.agh-theme .agh-purchase-help small{display:block;margin-top:14px;color:var(--muted);font-size:12px}
body.agh-theme .agh-purchase-reassurance{margin:18px 0 28px;padding:0}
body.agh-theme .agh-purchase-reassurance nav{display:flex;gap:18px;margin-top:8px;flex-wrap:wrap}
body.agh-theme :is(.agh-purchase-help,.agh-purchase-reassurance,.agh-confirmation-help) a{color:var(--brass-deep);text-decoration:underline;text-underline-offset:3px}
body.agh-theme .cart-custom-field .widget,body.agh-theme .cart-summary .widget{margin-bottom:0}
body.agh-theme .agh-purchase-disclosure{padding:0;background:none;border:0;color:var(--brass-deep);font:400 13px/1.6 var(--sans);text-transform:none;letter-spacing:0;text-decoration:underline;cursor:pointer;margin:0 0 14px}
body.agh-theme .agh-cart-coupon[hidden],body.agh-theme .agh-hidden-field[hidden]{display:none!important}
body.agh-theme .agh-confirmation-help{clear:both;padding:28px;background:var(--alabaster);border:1px solid var(--hairline);border-radius:6px;margin-block:28px}
body.agh-theme .woocommerce-order{max-width:960px;margin:0 auto 60px}
body.agh-theme .woocommerce-order .woocommerce-notice{font-family:var(--display)!important;font-size:28px;line-height:1.4;color:var(--ink);padding:24px;background:var(--alabaster);border-color:var(--brass-deep)}
body.agh-theme .woocommerce-order-overview{display:flex;gap:22px;flex-wrap:wrap;padding:24px 0;margin:0;list-style:none}
body.agh-theme .woocommerce-order-overview li{flex:1;min-width:130px;font-size:13px;border:0!important;margin:0!important;padding:0!important}
body.agh-theme .woocommerce-order-overview strong{display:block;font-size:16px;color:var(--ink)}
body.agh-theme .woocommerce .woocommerce-info{background:var(--alabaster);color:var(--body);border-color:var(--brass-deep)}
body.agh-theme :is(.woocommerce-progress,.shoptimizer-checkout-progress) :is(li,span,a){font-family:var(--sans)!important}
@media(max-width:767px){body.agh-theme.agh-purchase-page #content>.shoptimizer-archive>.col-full{width:calc(100% - 32px)}body.agh-theme.woocommerce-checkout :is(#customer_details,#order_review_heading,#order_review){width:100%;float:none;padding:0;clear:both}body.agh-theme .agh-purchase-header>.site-wrap{padding-block:18px;gap:14px;flex-wrap:wrap}body.agh-theme .agh-purchase-header>div>span{display:none}body.agh-theme .agh-purchase-header .brand-name{font-size:23px}body.agh-theme .agh-purchase-footer{display:block}body.agh-theme .agh-purchase-footer nav{margin-top:16px}body.agh-theme .woocommerce-billing-fields__field-wrapper,body.agh-theme .woocommerce-shipping-fields__field-wrapper{display:block}body.agh-theme .woocommerce-order-overview{gap:18px}body.agh-theme .agh-purchase-help{padding:18px}body.agh-theme .woocommerce table.shop_table td.product-name{font-size:14px}body.agh-theme .agh-kit-line .product-name{padding-left:12px!important}}

/* Refinement batch: native support UI, touch controls and compact cart hierarchy. */
body.agh-theme :is(.agh-purchase-help,.agh-purchase-reassurance){font-family:var(--sans)}
body.agh-theme :is(.agh-purchase-help,.agh-purchase-reassurance) strong{font:600 14px/1.5 var(--sans)}
body.agh-theme :is(.agh-purchase-help,.agh-purchase-reassurance) a{font:400 14px/1.6 var(--sans)}
body.agh-theme.woocommerce-cart .agh-purchase-help{padding:24px;margin-top:18px}
body.agh-theme.woocommerce-cart .agh-purchase-help small{margin-top:10px;font-size:12px}
body.agh-theme.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding:18px 24px 0}
body.agh-theme.woocommerce-cart .cart_totals .checkout-button{width:100%;box-sizing:border-box;margin-bottom:0}
body.agh-theme.woocommerce-cart .cart_totals .cart-custom-field{padding:0 24px 22px}
body.agh-theme.woocommerce-cart .cart-custom-field .agh-purchase-reassurance{margin:16px 0 0}
body.agh-theme.woocommerce-cart table.cart{margin-bottom:18px}
body.agh-theme.woocommerce-cart table.cart td.actions{padding-top:10px;padding-bottom:0}
@media(min-width:768px){body.agh-theme.woocommerce-cart table.cart tr.agh-kit-line>td:first-child{padding-left:24px!important}body.agh-theme.woocommerce-cart table.cart tr.agh-kit-line>.product-subtotal{padding-right:24px!important}}
body.agh-theme .agh-purchase-help small a{font-size:13px}
body.agh-theme table.cart .quantity{width:132px;height:44px;padding:0;box-sizing:border-box}
body.agh-theme table.cart .quantity :is(.qty,.quantity-button){width:44px;min-width:44px;height:44px;min-height:44px;box-sizing:border-box}
body.agh-theme table.cart .quantity .qty{font-size:16px;border:0;background:transparent}
body.agh-theme .agh-static-quantity{display:inline-block;font:400 13px/1.5 var(--sans);white-space:nowrap}
body.agh-theme .agh-mobile-order-summary{margin:0 0 24px;border:1px solid var(--hairline);border-radius:5px;background:var(--alabaster)}
body.agh-theme .agh-mobile-order-summary>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px;font:500 14px/1.5 var(--sans);cursor:pointer;list-style:none}
body.agh-theme .agh-mobile-order-summary>summary::-webkit-details-marker{display:none}
body.agh-theme .agh-mobile-order-summary>summary:after{content:'⌄';font-size:18px}
body.agh-theme .agh-mobile-order-summary[open]>summary:after{content:'⌃'}
body.agh-theme .agh-mobile-order-summary .agh-mobile-order-total{margin-left:auto;white-space:nowrap}
body.agh-theme .agh-mobile-order-summary>.shop_table{margin:0;border:0;border-top:1px solid var(--hairline)}
@media(max-width:767px){
 body.agh-theme .agh-has-mobile-summary #order_review_heading{display:none}
 body.agh-theme .woocommerce-cart-form table.cart :is(tbody,tr,td){display:block}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;padding:18px 0;border-bottom:1px solid var(--hairline)}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>td{border:0;padding:0!important;min-width:0;width:auto;text-align:left;background:transparent}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>td:before{display:none}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>.product-remove{position:absolute;right:0;top:8px;width:40px;height:44px;z-index:1}
 body.agh-theme .woocommerce-cart-form table.cart .product-remove a{width:40px;height:44px}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>.product-thumbnail{grid-column:1;grid-row:1/3;display:block}
 body.agh-theme .woocommerce-cart-form table.cart .product-thumbnail img{width:48px;max-width:48px;height:88px;object-fit:contain}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>.product-name{grid-column:2/4;grid-row:1;padding-right:38px!important;font-size:14px}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>.product-price{display:none}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>.product-quantity{grid-column:2;grid-row:2;align-self:center}
 body.agh-theme .woocommerce-cart-form table.cart tr.cart_item>.product-subtotal{grid-column:3;grid-row:2;align-self:center;font-size:16px;white-space:nowrap;text-align:right}
 body.agh-theme .woocommerce-cart-form table.cart dl.variation{display:flex;flex-wrap:wrap;gap:0 4px;margin-top:5px;font-size:12px}
 body.agh-theme .woocommerce-cart-form table.cart dl.variation dt{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 body.agh-theme .woocommerce-cart-form table.cart dl.variation dd:not(:last-child):after{content:' ·';margin-left:4px}
 body.agh-theme .woocommerce-cart-form table.cart tr.agh-kit-line{padding:12px 17px;background:#faf8f3;box-sizing:border-box}
 body.agh-theme .woocommerce-cart-form table.cart tr.agh-kit-line>.product-name{font-size:13px!important}
 body.agh-theme .woocommerce-cart-form table.cart .agh-kit-parent{font-size:12px}
 body.agh-theme .woocommerce-cart-form table.cart td.actions{padding-top:8px!important}
 body.agh-theme.woocommerce-cart .agh-purchase-help{padding:19px}
 body.agh-theme.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding-inline:17px}
 body.agh-theme.woocommerce-cart .cart_totals .cart-custom-field{padding-inline:17px;padding-bottom:18px}
 body.agh-theme .agh-purchase-disclosure,body.agh-theme .agh-purchase-reassurance a{min-height:44px;display:inline-flex;align-items:center}
 body.agh-theme .woocommerce form .form-row label.checkbox{min-height:44px}
 body.agh-theme .woocommerce-checkout-review-order-table :is(th,td){padding:12px;font-size:13px}
}

body.agh-theme.agh-cart-auto-ready [name="update_cart"]{display:none!important}

body.agh-theme .woocommerce form .form-row label.screen-reader-text{width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden}
body.agh-theme .agh-mobile-order-summary .product-name{width:75%}

/* Breathing room after the final action, including gateway-rendered buttons. */
body.agh-theme.woocommerce-checkout #payment .place-order{padding-bottom:24px}
body.agh-theme.woocommerce-checkout #payment #place_order{margin-bottom:20px}
body.agh-theme.woocommerce-checkout #payment .place-order>.ppc-button-wrapper{margin-bottom:20px}
body.agh-theme .agh-trade-price del{color:var(--muted);margin-right:6px}
body.agh-theme .agh-trade-price ins{background:transparent;text-decoration:none}
/* Receipt payment remains a clear primary action outside the totals column. */
body.agh-theme.woocommerce-order-received .agh-receipt-payment{margin:24px 0 36px}
body.agh-theme.woocommerce-order-received :is(.agh-receipt-payment-button,.woocommerce-thankyou-order-failed-actions .pay:first-child){display:inline-flex;align-items:center;justify-content:center;width:240px;max-width:100%;min-height:52px;box-sizing:border-box;padding:14px 24px;font:600 16px/1.4 var(--sans);text-align:center;white-space:normal;overflow-wrap:normal;background:var(--brass-deep)!important;color:#fff!important}
@media(max-width:767px){body.agh-theme.woocommerce-order-received :is(.agh-receipt-payment-button,.woocommerce-thankyou-order-failed-actions .pay:first-child){width:100%}}

body.agh-theme.woocommerce-order-received :is(.agh-receipt-payment-button,.woocommerce-thankyou-order-failed-actions .pay:first-child):is(:hover,:focus-visible){background:var(--ink)!important;color:#fff!important}
