/* Product cards only: leave the single-product summary layout intact. */
body .woocommerce ul.products li.product .product-meta,
body ul.products li.product .woocommerce-loop-product__title,
body ul.products li.product h2,
body ul.products li.product .price{ text-align:center!important; }
body ul.products li.product .product-meta{width:100%}
/* WooCommerce uses this same markup for catalog, cart, checkout and mini-cart. */
body .woocommerce-Price-currencySymbol{font-size:.8em!important}

/* Shared storefront button surface, including icon and quantity controls. */
body :is(button,[role="button"],input[type="submit"],input[type="button"],input[type="reset"],a.button,.nectar-button,.wp-block-button__link,.wc-block-components-button,.wpcf7-submit,.product-add-to-cart a,.nectar-quick-view-box .nectar-full-product-link a,.quantity .plus,.quantity .minus,.slide-out-widget-area-toggle a,.slide_out_area_close,.nectar-quick-view-box .close,.search-button a,#search-outer .close-wrap a,#to-top,.flickity-prev-next-button,.swiper-button-next,.swiper-button-prev):not(#wpadminbar *){
 background:linear-gradient(rgba(255,255,255,.35),rgba(255,255,255,0) 55%),linear-gradient(180deg,rgba(232,211,160,.9),rgba(207,177,105,.88))!important;
 background-color:#d8bc7e!important;
 color:#594116!important;
 border:0!important;
 border-radius:999px!important;
 backdrop-filter:blur(16px) saturate(140%);
 -webkit-backdrop-filter:blur(16px) saturate(140%);
 box-shadow:0 0 0 1px rgba(142,112,48,.38),inset 0 0 0 1.5px rgba(255,248,224,.85),inset 0 -3px 2px rgba(255,244,202,.95),inset 0 -8px 14px rgba(246,225,168,.5),inset 0 3px 6px rgba(255,255,255,.4),0 1px 2px rgba(95,70,24,.1),2px 8px 20px -6px rgba(153,115,37,.3)!important;
 text-shadow:none!important;
 padding-top:10px!important;padding-bottom:10px!important;
 box-sizing:border-box!important;min-height:40px; height:auto!important;
}
body :is(button,[role="button"],input[type="submit"],input[type="button"],input[type="reset"],a.button,.nectar-button,.wp-block-button__link,.wc-block-components-button,.wpcf7-submit,.product-add-to-cart a,.nectar-quick-view-box .nectar-full-product-link a,.quantity .plus,.quantity .minus,.slide-out-widget-area-toggle a,.slide_out_area_close,.nectar-quick-view-box .close,.search-button a,#search-outer .close-wrap a,#to-top,.flickity-prev-next-button,.swiper-button-next,.swiper-button-prev):not(#wpadminbar *):hover{
 background:linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,0) 55%),linear-gradient(180deg,rgba(241,223,180,.94),rgba(218,189,123,.92))!important;
 color:#594116!important;
}
body :is(button,[role="button"],input[type="submit"],input[type="button"],input[type="reset"],a.button,.nectar-button,.wp-block-button__link,.wc-block-components-button,.wpcf7-submit,.product-add-to-cart a,.nectar-quick-view-box .nectar-full-product-link a,.quantity .plus,.quantity .minus,.slide-out-widget-area-toggle a,.slide_out_area_close,.nectar-quick-view-box .close,.search-button a,#search-outer .close-wrap a,#to-top,.flickity-prev-next-button,.swiper-button-next,.swiper-button-prev):not(#wpadminbar *):focus-visible{outline:2px solid #795f27!important;outline-offset:4px}
body :is(button,input,a.button):is(:disabled,[aria-disabled="true"],.disabled){opacity:.5!important}
/* Salient's product action bar must also lose its solid background. */
body ul.products li.product .product-add-to-cart{background:transparent!important}
body ul.products li.product .product-add-to-cart a{background-color:transparent!important}

/* Match the approved demo: floating, separate pill buttons, not a joined bar.
   Salient Classic supplies absolute positions and !important split radii. */
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart{
 position:absolute!important;top:auto!important;left:22px!important;right:22px!important;bottom:22px!important;
 width:auto!important;display:flex!important;align-items:stretch;gap:10px!important;
 padding:0!important;margin:0!important;border:0!important;background:transparent!important;
 overflow:visible!important;z-index:25;opacity:0;transform:translateY(10px)!important;
 transition:opacity .25s ease,transform .25s ease;
}
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a{
 position:relative!important;inset:auto!important;float:none!important;
 display:flex!important;align-items:center;justify-content:center;gap:10px;
 flex:1 1 0;min-width:0;width:auto!important;min-height:48px;
 margin:0!important;padding:12px 24px!important;box-sizing:border-box;
 border:0!important;border-radius:999px!important;transform:none!important;
 font-size:15px!important;line-height:1.5!important;
}
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a.nectar_quick_view{
 flex:0 0 52px!important;width:52px!important;padding:12px 16px!important;
}
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a.nectar_quick_view::after{display:none!important}
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a i{margin:0!important;flex-shrink:0}
body #ajax-content-wrap ul.products li.product .product-wrap:hover .product-add-to-cart,
body #ajax-content-wrap ul.products li.product .product-wrap:focus-within .product-add-to-cart{
 opacity:1!important;transform:translateY(0)!important;
}
/* Preserve Salient's switch to the View cart link after a successful add. */
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a.add_to_cart_button.added{display:none!important}
@media(hover:none),(max-width:690px){
 body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart{opacity:1!important;transform:none!important}
}
@media(prefers-reduced-motion:reduce){body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart{transition:none}}

/* Product-card price typography and title-to-price spacing. */
body #ajax-content-wrap ul.products li.product .woocommerce-loop-product__title,
body #ajax-content-wrap ul.products li.product h2,
body #ajax-content-wrap ul.products li.product h3{
 margin-bottom:0!important;padding-bottom:0!important;
}
body #ajax-content-wrap ul.products li.product .product-meta > a{margin-bottom:0!important;padding-bottom:0!important}
body #ajax-content-wrap ul.products li.product .price{
 font-size:18px!important;line-height:1.5!important;margin-top:5px!important;margin-bottom:2em;
 padding-top:0!important;display:block;
}
body #ajax-content-wrap ul.products li.product .price :is(.amount,bdi){font-size:inherit!important}
body #ajax-content-wrap ul.products li.product .price .woocommerce-Price-currencySymbol{font-size:.8em!important}

/* Mobile product lists: keep cards 30px inside the list's containing block. */
@media(max-width:690px){
 body #ajax-content-wrap ul.products{
  box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;
  margin-left:0!important;margin-right:0!important;
  padding-left:30px!important;padding-right:30px!important;
 }
}

/* Quick view: two separate glass pills with panel inset, retaining theme width. */
body .nectar-quick-view-box .single_add_to_cart_button_wrap{
 box-sizing:border-box!important;padding:22px!important;gap:10px!important;
 align-items:stretch!important;background:transparent!important;
 max-width:100%!important;
}
body .nectar-quick-view-box .single_add_to_cart_button_wrap > a.single_add_to_cart_button,
body .nectar-quick-view-box .single_add_to_cart_button_wrap > .nectar-full-product-link{
 flex:1 1 0!important;min-width:0!important;width:auto!important;margin:0!important;
}
body .nectar-quick-view-box .single_add_to_cart_button_wrap > a.single_add_to_cart_button,
body .nectar-quick-view-box .single_add_to_cart_button_wrap .nectar-full-product-link a{
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-width:0!important;min-height:48px!important;padding:12px 16px!important;
 border:0!important;border-radius:999px!important;box-sizing:border-box!important;
 font-size:15px!important;line-height:1.5!important;text-align:center!important;
 margin:0!important;height:100%;white-space:normal!important;
}
body .nectar-quick-view-box .summary-content{padding-bottom:120px!important}

/* Salient renders a solid layer on top of the menu button; remove that layer. */
body #header-outer .slide-out-widget-area-toggle[data-custom-color="true"] a::before,
body #header-outer .slide-out-widget-area-toggle[data-custom-color="true"] a::after{background:transparent!important;box-shadow:none!important}
/* Preserve SVG shape while following the shared button foreground. */
body :is(button,[role="button"],.nectar-button,.quantity .plus,.quantity .minus) svg{color:inherit}

/* Do not allow Salient's fixed line-height/height to flatten menu and remove. */
body #header-outer .slide-out-widget-area-toggle a,
body .nectar-slide-in-cart .woocommerce-mini-cart .remove,
body .widget_shopping_cart .woocommerce-mini-cart .remove{
 padding-top:10px!important;padding-bottom:10px!important;
 height:auto!important;min-height:40px!important;line-height:1.5!important;
 box-sizing:border-box!important;
}
/* Match 10px vertical padding in the more-specific product action rules too. */
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a,
body .nectar-quick-view-box .single_add_to_cart_button_wrap > a.single_add_to_cart_button,
body .nectar-quick-view-box .single_add_to_cart_button_wrap .nectar-full-product-link a{
 padding-top:10px!important;padding-bottom:10px!important;
}
/* The mini-cart has an outer .quantity price row and an inner quantity input.
   Only lay out the inner control; leave the price row and hidden inputs alone. */
body :is(.nectar-slide-in-cart,.widget_shopping_cart) .modify > .quantity:not(.hidden){
 display:inline-grid!important;grid-template-columns:36px 40px 36px!important;
 align-items:center!important;gap:6px!important;
 width:auto!important;min-width:0!important;height:auto!important;
 padding:0!important;float:none!important;position:relative!important;
}
body :is(.nectar-slide-in-cart,.widget_shopping_cart) .modify > .quantity > :is(.minus,.plus,input.qty){
 position:static!important;inset:auto!important;float:none!important;
 margin:0!important;transform:none!important;box-sizing:border-box!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 grid-row:1!important;text-align:center!important;
}
body :is(.nectar-slide-in-cart,.widget_shopping_cart) .modify > .quantity > .minus{grid-column:1!important;padding:10px 0!important;line-height:20px!important;height:40px!important}
body :is(.nectar-slide-in-cart,.widget_shopping_cart) .modify > .quantity > input.qty{grid-column:2!important;padding:0!important;height:40px!important}
body :is(.nectar-slide-in-cart,.widget_shopping_cart) .modify > .quantity > .plus{grid-column:3!important;padding:10px 0!important;line-height:20px!important;height:40px!important}

/* WooCommerce inserts a View cart link after AJAX success. Salient hides
   its text with text-indent:-9999px; restore it for our floating action row. */
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a.added_to_cart{
 text-indent:0!important;visibility:visible!important;opacity:1!important;
 color:#594116!important;font-size:15px!important;line-height:1.5!important;
 overflow:visible!important;white-space:normal!important;
}

/* Mini-cart removal: reserve a leading column before the product thumbnail.
   Keep the existing AJAX link, data attributes and accessible product label. */
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item{
 position:relative!important;padding-left:48px!important;
}
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item a.remove{
 position:absolute!important;left:0!important;right:auto!important;top:50%!important;
 transform:translateY(-50%)!important;display:flex!important;
 align-items:center!important;justify-content:center!important;
 width:36px!important;min-width:36px!important;max-width:36px!important;
 height:40px!important;min-height:40px!important;box-sizing:border-box!important;
 padding:10px 0!important;margin:0!important;float:none!important;
 font-size:0!important;line-height:20px!important;text-indent:0!important;
 z-index:2;
}
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item a.remove::before{
 content:"×"!important;position:static!important;display:block!important;
 font-family:Arial,sans-serif!important;font-size:22px!important;line-height:20px!important;
 width:auto!important;height:auto!important;background:none!important;color:#594116!important;
 transform:none!important;opacity:1!important;
}
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item a.remove::after{display:none!important}

/* Remove is now a direct child of the row, outside all positioned metadata. */
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item > a.remove{
 left:0!important;top:50%!important;right:auto!important;
}

/* Keep the price away from the quantity controls in the slide-in cart. */
body .nectar-slide-in-cart .woocommerce-mini-cart .product-meta > .quantity{
 display:flex!important;align-items:center!important;gap:20px!important;
}
body .nectar-slide-in-cart .woocommerce-mini-cart .product-meta > .quantity > .modify{
 flex:0 0 auto!important;margin-right:0!important;
}
body .nectar-slide-in-cart .woocommerce-mini-cart .product-meta > .quantity > .product-price{
 margin-left:0!important;white-space:nowrap;
}
body .nectar-slide-in-cart .woocommerce-mini-cart .modify > .quantity:not(.hidden){gap:12px!important}
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item > a.remove{
 left:0!important;right:auto!important;top:50%!important;
}
@media(max-width:480px){
 body .nectar-slide-in-cart .woocommerce-mini-cart .product-meta > .quantity{flex-wrap:wrap!important;gap:12px!important}
}

/* Full cart: use WooCommerce's native checkout node, never clone it. */
body .wc-block-cart .wc-block-cart__submit,
body .wc-proceed-to-checkout{
 display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:stretch;gap:14px!important;
}
body .wc-block-cart .wc-block-cart__submit-container{
 position:static!important;flex:0 1 300px!important;width:300px!important;max-width:100%!important;
 margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;
}
body .wc-block-cart .wc-block-cart__submit :is(.wc-block-cart__submit-button,.pl-continue-shopping),
body .wc-proceed-to-checkout :is(.checkout-button,.pl-continue-shopping){
 display:flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;width:300px!important;max-width:100%!important;
 min-height:44px!important;height:auto!important;padding:10px 24px!important;
 margin:0!important;font-size:16px!important;line-height:24px!important;
}
/* Product row: removal | fixed thumbnail | information and quantity | subtotal. */
body #ajax-content-wrap .wc-block-cart-items{width:100%!important;table-layout:auto!important}
body #ajax-content-wrap .wc-block-cart-items tbody{display:block!important;width:100%!important}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-items__row{
 display:grid!important;grid-template-columns:80px minmax(0,1fr) minmax(130px,auto)!important;
 align-items:center!important;column-gap:24px!important;position:relative!important;
 padding:24px 0 24px 48px!important;border-bottom:1px solid #dedede;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__image{
 grid-column:1!important;display:block!important;box-sizing:border-box!important;
 width:80px!important;min-width:80px!important;max-width:80px!important;padding:0!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__image :is(a,img){
 display:block!important;width:80px!important;min-width:80px!important;max-width:80px!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__image img{height:80px!important;object-fit:cover;border-radius:10px!important}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__product{
 grid-column:2!important;display:block!important;position:static!important;width:auto!important;padding:0!important;min-width:0;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__wrap{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;column-gap:24px!important;row-gap:6px!important;
 position:static!important;padding:0!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__wrap > *{grid-column:1!important;margin:0!important}
body #ajax-content-wrap .wc-block-cart-items .wc-block-components-product-name{grid-row:1;font-size:18px!important;color:#303934!important}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__prices{grid-row:2}
body #ajax-content-wrap .wc-block-cart-items .wc-block-components-product-metadata{grid-row:3}
body #ajax-content-wrap .wc-block-cart-items .wc-block-components-product-metadata p{margin:0!important}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__wrap > .wc-block-cart-item__quantity{
 grid-column:2!important;grid-row:1 / span 3!important;position:static!important;align-self:center!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__total{
 grid-column:3!important;display:block!important;width:auto!important;padding:0!important;
 text-align:right!important;white-space:nowrap;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-components-quantity-selector{
 display:inline-flex!important;align-items:center;gap:12px!important;width:auto!important;margin:0!important;border:0!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-components-quantity-selector input{
 width:40px!important;min-width:40px!important;max-width:40px!important;padding:0!important;height:40px!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-components-quantity-selector button{
 position:static!important;flex:0 0 36px!important;width:36px!important;min-height:40px!important;padding:10px 0!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__remove-link{
 position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;
 display:flex!important;align-items:center;justify-content:center;width:36px!important;height:40px!important;
 min-width:36px!important;min-height:40px!important;padding:10px 0!important;margin:0!important;
 font-size:0!important;line-height:20px!important;text-decoration:none!important;
}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__remove-link::before{content:'×';font:22px/20px Arial,sans-serif;color:#594116}
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__remove-link svg{display:none!important}
body .wc-block-components-formatted-money-amount__currency-symbol{font-size:.8em!important}
body .woocommerce-cart-form .product-remove a.remove{font-size:0!important;display:inline-flex!important;align-items:center;justify-content:center;width:36px!important;min-height:40px!important;padding:10px 0!important}
body .woocommerce-cart-form .product-remove a.remove::before{content:'×'!important;font:22px/20px Arial,sans-serif;color:#594116}
body .woocommerce-cart-form .product-remove a.remove :is(svg,i){display:none!important}
body .woocommerce-cart-form .product-quantity .quantity{display:inline-flex!important;align-items:center;gap:12px}
body .woocommerce-cart-form .product-quantity .quantity > :is(.plus,.minus,.qty){position:static!important;float:none!important;margin:0!important}
@media(max-width:760px){
 body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-items__row{grid-template-columns:64px minmax(0,1fr)!important;column-gap:16px!important;padding-left:44px!important}
 body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__image,
 body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__image :is(a,img){width:64px!important;min-width:64px!important;max-width:64px!important}
 body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__image img{height:64px!important}
 body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__wrap{grid-template-columns:minmax(0,1fr)!important}
 body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__wrap > .wc-block-cart-item__quantity{grid-column:1!important;grid-row:4!important;margin-top:10px!important}
 body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__total{grid-column:2!important;grid-row:2!important;text-align:left!important;margin-top:12px!important}
 body .wc-block-cart .wc-block-cart__submit{justify-content:center!important}
}

/* Back-to-top is an icon control, not a content-sized text button.
   Hide Salient's paired animated icons and draw one centered chevron. */
body #to-top{
 box-sizing:border-box!important;width:44px!important;min-width:44px!important;max-width:44px!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;
 padding:10px!important;line-height:24px!important;border-radius:50%!important;
 overflow:hidden!important;font-size:0!important;
}
body #to-top > :is(i,span,svg){display:none!important}
body #to-top::before{
 content:""!important;display:block!important;position:absolute!important;
 left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;
 width:8px!important;height:8px!important;box-sizing:border-box!important;
 background:none!important;border:0!important;border-top:2px solid #594116!important;
 border-left:2px solid #594116!important;border-radius:0!important;
 transform:translate(-50%,-25%) rotate(45deg)!important;opacity:1!important;
 box-shadow:none!important;
}
body #to-top::after{display:none!important}

/* Checkout: hide only the duplicate top toggle, not the order contents/totals. */
body #ajax-content-wrap .wc-block-checkout .wc-block-components-checkout-order-summary__title{display:none!important}
/* Address forms own their grid; do not grid the entire checkout form. */
body #ajax-content-wrap .wc-block-checkout .wc-block-components-address-form{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-address-form > *{
 grid-column:1 / -1;min-width:0;width:100%!important;margin:0!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-address-form > :is(.wc-block-components-address-form__first_name,.wc-block-components-address-form__last_name,.wc-block-components-address-form__city,.wc-block-components-address-form__state,.wc-block-components-address-form__postcode){grid-column:span 1}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-address-form :is(.wc-block-components-text-input,.wc-blocks-components-select,.wc-block-components-combobox){margin-top:0!important;margin-bottom:0!important}
body #ajax-content-wrap .wc-block-checkout :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-textarea){border-color:#c8cec9!important;border-radius:8px!important;background-color:#fff!important}
body #ajax-content-wrap .wc-block-checkout :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-textarea):focus{border-color:#8d7136!important;outline-color:#8d7136!important}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-address-form__address_2-toggle{
 justify-self:start;width:auto!important;padding:10px 18px!important;text-align:left!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-checkout__actions{display:block!important;width:100%!important;min-width:0!important}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-checkout-place-order-button{
 flex:0 1 300px!important;width:300px!important;max-width:100%!important;
 min-height:44px!important;padding:10px 24px!important;font-size:16px!important;
}
/* Read-only summary: image | product/unit price | quantity | line subtotal. */
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary{container-type:inline-size}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item{
 display:grid!important;grid-template-columns:80px minmax(0,1fr) 64px max-content;
 gap:16px!important;align-items:center!important;padding:24px 0!important;
 border-bottom:1px solid #e2e5e1;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__image{display:contents!important}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__image img{
 grid-column:1;grid-row:1;width:80px!important;min-width:80px!important;max-width:80px!important;
 height:80px!important;object-fit:cover;border-radius:10px!important;margin:0!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__description{
 grid-column:2;grid-row:1;min-width:0;margin:0!important;padding:0!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{font-size:18px!important;line-height:1.5!important;margin:0 0 5px!important;color:#303934!important}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__description p{margin:5px 0 0!important}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__quantity{
 grid-column:3;grid-row:1;position:static!important;inset:auto!important;transform:none!important;
 display:flex!important;align-items:center;justify-content:center;gap:4px;
 width:auto!important;min-width:0!important;height:auto!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;color:#424242!important;font-size:16px!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__quantity::before{content:'×';font-size:14px}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__total-price{
 grid-column:4;grid-row:1;min-width:0;margin:0!important;padding:0!important;text-align:right!important;
}
@container(max-width:560px){
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item{grid-template-columns:64px minmax(0,1fr) max-content}
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__image img{width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important}
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__quantity{grid-column:3;grid-row:1}
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__total-price{grid-column:2 / -1;grid-row:2}
}
@media(max-width:480px){
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-address-form{grid-template-columns:minmax(0,1fr)}
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-address-form > *{grid-column:1!important}
}

/* WooCommerce mounts the lower summary inside checkout actions on small layouts.
   Keep that host block-level so the summary cannot shrink beside Place order. */
body #ajax-content-wrap .wc-block-checkout .wc-block-checkout__actions{
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
body #ajax-content-wrap .wc-block-checkout :is(
 .wc-block-components-checkout-order-summary__content,
 .wc-block-components-checkout-order-summary__content-container,
 .wp-block-woocommerce-checkout-order-summary-block,
 .wc-block-components-order-summary
){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body #ajax-content-wrap .wc-block-checkout .wc-block-checkout__actions > :not(button):not(a){
 width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-checkout-place-order-button{
 display:flex!important;width:300px!important;max-width:100%!important;
 margin:24px 0 0 auto!important;clear:both;float:none!important;
}
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__quantity,
body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__quantity span{
 color:#424242!important;background:transparent!important;box-shadow:none!important;
}
/* A narrow panel needs two rows so long monetary amounts cannot overlap quantity. */
@container(max-width:560px){
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item{grid-template-columns:64px minmax(0,1fr)!important}
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__description{grid-column:2;grid-row:1}
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__quantity{grid-column:1;grid-row:2;justify-self:center}
 body #ajax-content-wrap .wc-block-checkout .wc-block-components-order-summary-item__total-price{grid-column:2;grid-row:2}
}

/* Icon controls must be square before applying a circular radius.
   Match the specificity of previous cart layout rules. */
body #ajax-content-wrap .wc-block-cart-items .wc-block-components-quantity-selector button,
body #ajax-content-wrap .wc-block-cart-items .wc-block-cart-item__remove-link,
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item a.remove,
body .nectar-slide-in-cart .woocommerce-mini-cart > li.woocommerce-mini-cart-item > a.remove,
body :is(.nectar-slide-in-cart,.widget_shopping_cart) .modify > .quantity > :is(.minus,.plus),
body .woocommerce-cart-form .product-remove a.remove,
body .woocommerce-cart-form .product-quantity .quantity > :is(.minus,.plus),
body .nectar-quick-view-box .quantity :is(.minus,.plus),
body .single-product .quantity :is(.minus,.plus),
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart > a.nectar_quick_view{
 box-sizing:border-box!important;
 width:40px!important;min-width:40px!important;max-width:40px!important;
 height:40px!important;min-height:40px!important;max-height:40px!important;
 flex:0 0 40px!important;aspect-ratio:1!important;border-radius:50%!important;
 padding:10px 0!important;line-height:20px!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
/* The miniature cart's control columns follow the same 40px diameter. */
body :is(.nectar-slide-in-cart,.widget_shopping_cart) .modify > .quantity:not(.hidden){grid-template-columns:40px 40px 40px!important}
body #ajax-content-wrap ul.products li.product .product-wrap .product-add-to-cart{align-items:center!important}
