/* WordPress/WooCommerce integration; approved visual tokens live in design.css. */
.ah-store{background:var(--cream);color:var(--ink)}[hidden]{display:none!important}.ah-logo{width:46px;height:52px;object-fit:contain}.ah-store .brand{min-width:0}.ah-store .desktop-nav ul{display:flex;list-style:none;gap:30px;margin:0;padding:0}.desktop-nav li{list-style:none}.desktop-nav .sub-menu{display:none}.desktop-nav li:hover>.sub-menu,.desktop-nav li:focus-within>.sub-menu{display:block;position:absolute;background:white;padding:12px;box-shadow:var(--shadow)}.ah-category-img{display:block;height:80px;margin-bottom:10px}.ah-category-img img{height:100%;max-width:90px;object-fit:contain;mix-blend-mode:multiply}.category-icon img{width:35px;height:35px;object-fit:contain}.category-tiles .category-tile{display:block;min-height:140px}.product-picture img{width:100%;height:100%;object-fit:contain;max-height:145px}.ah-store #ah-feed .product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.ah-store .product-card .quantity{float:none!important;width:auto!important;margin:0!important}.ah-store .product-card .price{color:var(--ink);font-size:17px}.ah-store .product-card .button{line-height:1.5}.ah-store .catalog-bar{top:var(--ah-header-height,137px)}.ah-store .catalog-section{scroll-margin-top:calc(var(--ah-header-height,137px) + 70px);border-bottom:1px solid var(--line);padding-bottom:30px}.ah-load-sentinel{min-height:45px;display:grid;place-items:center;font-size:13px;color:var(--muted)}.ah-search-form{margin:20px 0;max-width:900px}.ah-search-form input{padding:15px}.ah-page>h1{margin-bottom:25px}.ah-page .woocommerce{margin-top:20px}.ah-page :where(p,li){line-height:1.7}.woocommerce div.product{display:flow-root}.woocommerce div.product div.images{width:46%;float:left;background:white;border:1px solid var(--line);border-radius:12px;padding:25px}.woocommerce div.product div.images img{width:100%;height:auto;max-height:500px;object-fit:contain}.woocommerce div.product div.summary{width:49%;float:right}.woocommerce div.product .product_title{font-size:32px;margin:10px 0}.woocommerce div.product p.price{color:var(--green);font-size:23px}.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:30px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0;display:flex;gap:15px}.woocommerce div.product .woocommerce-tabs ul.tabs li{list-style:none;border:1px solid var(--line);padding:10px;background:white}.woocommerce div.product .woocommerce-tabs .panel{margin-top:15px}.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.woocommerce div.product form.cart .variations,.woocommerce div.product form.cart .single_variation_wrap{width:100%}.woocommerce div.product form.cart .quantity{width:100px;float:none;margin:0}.woocommerce .quantity input.qty{width:80px;height:44px}.woocommerce input[type=checkbox],.woocommerce input[type=radio]{width:auto!important}.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:var(--green);color:#fff;padding:11px 20px;border-radius:7px;min-height:44px;border:0;font-weight:600;display:inline-flex;justify-content:center;align-items:center}.woocommerce .button.alt{background:var(--green);color:white}.woocommerce form .form-row{display:block;padding:0;margin:12px 0}.woocommerce form .form-row label{display:block;margin-bottom:5px}.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:48%}.woocommerce form .form-row-wide{clear:both;width:100%}.woocommerce form .form-row-first{float:left}.woocommerce form .form-row-last{float:right}.woocommerce table.shop_table{border-collapse:separate;border-spacing:0;background:white;border:1px solid var(--line);border-radius:10px;width:100%;margin:20px 0}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:15px 12px;border-bottom:1px solid var(--line);text-align:left}.woocommerce table.shop_table img{max-width:70px;height:75px;object-fit:contain}.woocommerce .cart-collaterals .cart_totals{float:right;width:38%;background:white;border:1px solid var(--line);padding:25px;border-radius:12px}.woocommerce .coupon{display:flex;gap:8px}.woocommerce .coupon input{max-width:220px}.woocommerce .woocommerce-cart-form{margin-bottom:25px}.woocommerce .woocommerce-notices-wrapper{margin-bottom:15px}.woocommerce-error,.woocommerce-message,.woocommerce-info{padding:16px 20px;border-radius:8px;background:#edf3e8;border:1px solid #cadac6;list-style:none;margin:16px 0}.woocommerce-error{background:#fff0ed;color:#8e3022}.woocommerce .col2-set{width:57%;float:left}.woocommerce #order_review_heading,.woocommerce #order_review{width:39%;float:right}.woocommerce #payment{background:white;border:1px solid var(--line);padding:20px;border-radius:10px}.woocommerce .payment_methods{list-style:none;padding:0}.woocommerce .payment_methods li{margin:12px 0}.woocommerce .payment_box{padding:12px;background:var(--cream)}.woocommerce .woocommerce-checkout:after,.woocommerce .cart-collaterals:after{content:'';display:block;clear:both}.woocommerce .woocommerce-MyAccount-navigation{width:25%;float:left;background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}.woocommerce .woocommerce-MyAccount-navigation li{padding:12px;border-bottom:1px solid var(--line)}.woocommerce .woocommerce-MyAccount-navigation li.is-active{background:#edf3e8;color:var(--green);font-weight:600}.woocommerce .woocommerce-MyAccount-content{width:71%;float:right;background:white;border:1px solid var(--line);padding:25px;border-radius:12px}.woocommerce:after{content:'';display:block;clear:both}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;list-style:none;padding:0}.woocommerce ul.products li.product{width:auto!important;float:none!important;background:white;padding:15px;border:1px solid var(--line);border-radius:9px}.woocommerce ul.products li img{width:100%;height:150px;object-fit:contain}.woocommerce-order-received .woocommerce-thankyou-order-received{font:700 34px Georgia,serif;text-align:center;color:var(--green);margin:25px 0}.woocommerce-order-received .woocommerce-thankyou-order-received:before{content:'✓';display:grid;place-items:center;background:var(--green);color:white;border-radius:50%;width:70px;height:70px;margin:0 auto 20px;font-family:Arial}.woocommerce-order-overview{display:flex;gap:20px;list-style:none;flex-wrap:wrap;padding:20px;background:white;border-radius:10px}.woocommerce-order-overview strong{display:block}.ah-save-product{margin:10px 0}.ah-product-loading{opacity:.65}.ah-saved-card{padding:16px;background:white;border:1px solid var(--line);border-radius:9px}.ah-saved-card img{width:100%;height:145px;object-fit:contain}.ah-saved-card a{display:block}#ah-menu{border:0;margin:0;max-height:none;height:100dvh;width:min(340px,85vw);background:var(--cream);padding:25px;color:var(--ink)}#ah-menu::backdrop{background:#0006}#ah-menu nav{display:flex;flex-direction:column;gap:15px;margin-top:25px}#ah-menu li{list-style:none}#ah-menu-close{float:right;font-size:24px}.admin-bar #header{top:32px}#cartbar[hidden]{display:none!important}#cartbar a{align-items:center}.ah-store .woocommerce .variation{font-size:13px;margin:5px 0}.ah-store .woocommerce .variation dt{float:left;margin-right:6px}.ah-store .woocommerce .variation dd{margin:0}.ah-store .woocommerce .variation p{margin:0}.woocommerce .product_meta{font-size:13px;color:var(--muted);margin:20px 0}.woocommerce .product_meta>span{display:block}.woocommerce .woocommerce-product-details__short-description{color:var(--muted);margin:14px 0}.woocommerce .variations label{font-size:14px}.woocommerce .variations select{width:100%;min-height:44px}.woocommerce .variations td{padding:5px}.woocommerce .reset_variations{font-size:13px;color:var(--green)}.woocommerce .woocommerce-variation-add-to-cart{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.woocommerce .woocommerce-variation-add-to-cart .ah-selling{flex-basis:100%}.ah-store .header-inner .searchbox input[type=hidden]{display:none}
@media(min-width:768px) and (max-width:1023px){.ah-store #ah-feed .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ah-store .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.ah-logo{width:30px;height:35px}.ah-store #ah-feed .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ah-store .header-inner .brand strong{font-size:17px}.ah-store .header-inner .searchbox{flex-basis:100%}.ah-store .category-tile{min-height:118px}.ah-category-img{height:60px}.ah-category-img img{max-width:65px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%;float:none}.woocommerce div.product div.images{padding:20px}.woocommerce div.product div.images img{max-height:300px}.woocommerce div.product div.summary{margin-top:23px}.woocommerce div.product .product_title{font-size:27px}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.woocommerce .cart-collaterals .cart_totals,.woocommerce .col2-set,.woocommerce #order_review,.woocommerce #order_review_heading,.woocommerce .woocommerce-MyAccount-navigation,.woocommerce .woocommerce-MyAccount-content{float:none;width:100%;margin-top:20px}.woocommerce .woocommerce-MyAccount-navigation ul{display:flex;overflow:auto;gap:8px}.woocommerce .woocommerce-MyAccount-navigation li{white-space:nowrap;font-size:13px}.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:9px 6px;font-size:13px}.woocommerce-cart .shop_table thead{display:none}.woocommerce-cart .shop_table tr.cart_item{display:grid;grid-template-columns:24px 58px 1fr;padding:15px 0;border-bottom:1px solid var(--line)}.woocommerce-cart .shop_table tr.cart_item td{border:0}.woocommerce-cart .shop_table .product-thumbnail img{width:50px;height:60px}.woocommerce-cart .shop_table .product-price{grid-column:3}.woocommerce-cart .shop_table .product-quantity{grid-column:3}.woocommerce-cart .shop_table .product-subtotal{grid-column:3}.woocommerce .coupon{flex-wrap:wrap}.woocommerce .woocommerce-tabs ul.tabs{overflow:auto}.woocommerce .woocommerce-tabs ul.tabs li{white-space:nowrap;font-size:13px}.admin-bar #header{top:46px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.woocommerce-product-gallery{opacity:1!important}.woocommerce-cart .product-remove a{font-size:24px}.ah-category-placeholder{display:grid;place-items:center;height:100%;color:var(--green)}

/* Preserve storefront presentation when opening products from a builder page. */
body.ah-store.single-product h1.product_title{display:block!important;visibility:visible!important}
body.ah-store .woocommerce :is(a.button.alt,button.button.alt,input.button.alt,#respond input#submit.alt){background:var(--green)!important;color:#fff!important;border-radius:7px}
body.ah-store .woocommerce div.product .woocommerce-variation-price .price{color:var(--green)!important}
/* v1.1: purchase hierarchy and mobile safe areas. */
.ah-store{overflow-wrap:break-word}.ah-store #app{min-width:0}.ah-store .product-card{display:flex;flex-direction:column;min-width:0}.ah-store .product-card .product-name{min-height:40px}.ah-store .product-card .segmented{margin-top:auto}.ah-store .product-card .price{min-height:44px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;font-size:15px}.ah-store .product-card .button{margin-top:8px}.ah-store .product-card .quantity button{min-height:40px;min-width:40px}.woocommerce div.product .woocommerce-variation-price{display:none}.woocommerce div.product .summary .ah-packing{font-size:14px}.woocommerce div.product form.cart .single_add_to_cart_button{min-height:48px;flex:1}.woocommerce div.product form.cart .quantity.ah-stepper{width:auto}.woocommerce div.product form.cart .variations{border-spacing:0;margin-bottom:8px}.woocommerce div.product .product_title{font-size:28px}.woocommerce div.product .images{margin-bottom:16px}.woocommerce div.product .summary{margin-top:0}.woocommerce div.product .woocommerce-product-gallery__trigger{display:none}.ah-store .breadcrumbs{margin:12px 0}.ah-store #bottom{padding-bottom:env(safe-area-inset-bottom)}.ah-store .ah-commerce,.ah-store .ah-page{padding-bottom:calc(32px + env(safe-area-inset-bottom))}.ah-store .header-actions{align-items:center}.ah-store .ah-orders-list{display:grid;gap:16px}.ah-order-card{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff}.ah-order-card .button{margin-top:12px}.ah-order-card p{margin:5px 0}.ah-orders-pagination{display:flex;gap:16px;margin:20px 0}
@media(max-width:767px){.woocommerce div.product div.images{padding:12px;margin-bottom:12px}.woocommerce div.product div.images img{max-height:230px}.woocommerce div.product div.summary{margin-top:0}.woocommerce div.product .product_title{font-size:23px;margin:8px 0}.woocommerce div.product .ah-packing{padding:12px}.ah-store .ah-commerce,.ah-store .ah-page{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.woocommerce .woocommerce-MyAccount-content{padding:16px}.woocommerce .woocommerce-MyAccount-navigation{padding:8px}.ah-store .product-card .price{font-size:14px}.ah-store .product-card .segmented button{font-size:11px}.ah-store .header-inner .brand strong{font-size:clamp(12px,3.8vw,17px)}.woocommerce div.product form.cart{gap:8px}.ah-store .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.ah-store .product-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

@media(max-width:767px){#cartbar:not(:empty){bottom:calc(64px + env(safe-area-inset-bottom))}}
