/* ===== Ayesha Mart on Hello Elementor: default WooCommerce markup + Elementor header ===== */
.am-home a,.am-pg a,.am-woo a,.am-shop a,.am-home a:hover{text-decoration:none}
.am-home{max-width:none}

/* product cards (home rows, archive, related) */
.am-row ul.products::before,.am-row ul.products::after,.am-cards ul.products::before,.am-cards ul.products::after{display:none!important}
.am-home ul.products li.product,.am-cards ul.products li.product{position:relative;display:flex!important;flex-direction:column;background:#fff;border:1px solid #E7E9F2;border-radius:16px;padding:12px!important;margin:0!important;float:none!important;width:auto!important;text-align:left;transition:.2s}
.am-home ul.products li.product:hover,.am-cards ul.products li.product:hover{border-color:#C9D3FF;box-shadow:0 12px 28px rgba(47,107,255,.12);transform:translateY(-2px)}
.am-home li.product a.woocommerce-LoopProduct-link,.am-cards li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;color:inherit}
.am-home li.product a img,.am-cards li.product a img{width:100%!important;height:auto;aspect-ratio:1/1;object-fit:contain;background:#F5F6FB;border-radius:12px;margin:0 0 10px!important;padding:6px}
.am-home li.product .woocommerce-loop-product__title,.am-cards li.product .woocommerce-loop-product__title{font-size:14.5px!important;font-weight:700;color:#141A33;line-height:1.35;min-height:2.7em;padding:0!important;margin:0 0 6px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.am-home li.product .price,.am-cards li.product .price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:0 8px;color:#2F6BFF!important;font-weight:800;font-size:16.5px!important;margin:0 0 8px!important}
.am-home li.product .price del,.am-cards li.product .price del{order:2;color:#9AA0B4!important;font-weight:500;font-size:13px;opacity:1}
.am-home li.product .price ins,.am-cards li.product .price ins{text-decoration:none;color:#2F6BFF}
.am-home li.product .onsale,.am-cards li.product .onsale{display:none!important}
.am-home li.product .compare,.am-cards li.product .compare,.am-home li.product .yith-wcwl-add-to-wishlist,.am-cards li.product .yith-wcwl-add-to-wishlist{display:none!important}
.am-home li.product a.button,.am-cards li.product a.button{display:block!important;width:100%;text-align:center;background:#F5F6FB!important;color:#141A33!important;border:1px solid #E7E9F2!important;border-radius:10px!important;padding:9px 0!important;font-weight:700!important;font-size:13px!important;margin:auto 0 6px!important;line-height:1.4}
.am-home li.product a.button:hover,.am-cards li.product a.button:hover{background:#141A33!important;color:#fff!important}
.am-home li.product a.added_to_cart,.am-cards li.product a.added_to_cart{display:block;text-align:center;font-size:12.5px;font-weight:700;color:#16A34A;margin:0 0 6px;padding:0}
.am-home li.product .am-buy,.am-cards li.product .am-buy{margin-top:0}
.am-home li.product .am-off,.am-cards li.product .am-off{position:absolute;left:20px;top:20px;z-index:2}
.am-home li.product .am-save,.am-cards li.product .am-save{order:3;align-self:flex-start;margin:-2px 0 8px}

/* Elementor header: account link, menu on one line */
.am-hdr-account .elementor-icon-list-item{white-space:nowrap}
.am-hdr-account .elementor-icon-list-text{white-space:nowrap;font-weight:600;color:#141A33}
.am-hdr-account .elementor-icon-list-icon i,.am-hdr-account .elementor-icon-list-icon svg{color:#141A33;fill:#141A33;font-size:18px;width:18px}
.am-hdr-nav .elementor-nav-menu--main>.elementor-nav-menu{flex-wrap:nowrap}
.am-hdr-nav .elementor-nav-menu--main .elementor-item{padding:12px 12px!important;font-size:14.5px;font-weight:600;color:#141A33;white-space:nowrap}
.am-hdr-nav .elementor-nav-menu--main .elementor-item:hover,.am-hdr-nav .elementor-nav-menu--main .elementor-item.highlighted{color:#2F6BFF}
.am-hdr-nav .elementor-nav-menu--main .elementor-item::after{background-color:#2F6BFF!important}
.am-hdr-nav .sub-menu{border-radius:12px;box-shadow:0 18px 40px rgba(20,26,51,.14);border:1px solid #E7E9F2;padding:8px 0;min-width:220px!important}
.am-hdr-nav .sub-menu .elementor-sub-item{font-size:14px;padding:10px 18px!important;color:#4A5068}
.am-hdr-nav .sub-menu .elementor-sub-item:hover{background:#F5F8FF;color:#2F6BFF}
.am-hdr-nav .elementor-menu-toggle{background:#F5F6FB;border-radius:10px}
.am-hdr-nav .elementor-nav-menu--dropdown{border-radius:0 0 14px 14px;box-shadow:0 18px 40px rgba(20,26,51,.12)}
@media(max-width:1200px){.am-hdr-nav .elementor-nav-menu--main .elementor-item{padding:12px 8px!important;font-size:13.5px}}
/* card order: price, OFF chip, add to cart, Buy Now; hide YITH compare in cards */
.am-home li.product a.compare.button,.am-cards li.product a.compare.button{display:none!important}
.am-home li.product>.am-save,.am-cards li.product>.am-save{order:1;margin:-4px 0 10px}
.am-home li.product>a.button,.am-cards li.product>a.button{order:2}
.am-home li.product>a.added_to_cart,.am-cards li.product>a.added_to_cart{order:3}
.am-home li.product>.am-buy,.am-cards li.product>.am-buy{order:4}
.am-home ul.products li.product,.am-cards ul.products li.product{flex-direction:column!important;min-width:0}
.am-home li.product>.am-buy,.am-cards li.product>.am-buy{display:block;width:100%;box-sizing:border-box}
/* product page: related products heading and card titles in brand colours */
.am-sp-related h2,.am-sp-related .related>h2,.related.products>h2{color:#141A33!important;font-size:22px!important;font-weight:800!important;margin:0 0 16px!important}
.am-cards li.product .woocommerce-loop-product__title,.am-home li.product .woocommerce-loop-product__title{color:#141A33!important}
.am-cards li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title{color:#2F6BFF!important}
/* home flash sale countdown on small phones */
@media(max-width:420px){
  .am-flash-head{flex-wrap:wrap}
  .am-count{width:100%;max-width:100%;flex-wrap:wrap;justify-content:flex-start;gap:4px}
  .am-count b{min-width:30px!important;font-size:14px!important;padding:4px 2px!important}
  .am-count small,.am-count i{font-size:10px!important}
}
/* home hero on very small phones */
@media(max-width:380px){
  .am-slide h2{font-size:21px!important;line-height:1.25!important}
  .am-slide .am-btn,.am-slide a.am-btn{white-space:nowrap;padding:9px 14px!important;font-size:13px!important}
  .am-slide-txt{max-width:62%!important}
}
/* Hello limits .site-main to 500/600/800/1140px; home and checkout have their own containers */
.site-main:has(.am-home),body.woocommerce-checkout .site-main,body.woocommerce-cart .site-main,body.woocommerce-account .site-main{max-width:none!important;width:100%;padding-left:0;padding-right:0}
body.woocommerce-checkout .site-main>.page-content,body.woocommerce-checkout .page-content{max-width:none}
