/*
Theme Name: MahirCommerce
Description: Premium WooCommerce theme for modern online stores. Developed by Tech Mahir.
Version: 1.9.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: al-mahir-shop
*/

/* ==========================================================
   PART 1 — Original design CSS (from Fresh V1 HTML preview)
   ========================================================== */
:root{--green:#008865;--dark:#003e30;--mint:#e7f8f3;--accent:#ffd34b;--sale:#dc2626;--ink:#112620}*{box-sizing:border-box}body{margin:0;background:color-mix(in srgb, #fff 85%, var(--mint));color:var(--ink);font:15px Arial,sans-serif}button,input,select{font:inherit}button,a,select{cursor:pointer}button{border:0;border-radius:7px;padding:12px;background:var(--green);color:white}a{color:inherit;text-decoration:none}header .top{background:var(--dark);color:white;padding:10px;display:flex;justify-content:space-around;font-size:13px}.wrap{max-width:1280px;margin:auto;padding:0 28px}.head{display:flex;gap:35px;align-items:center;padding:20px 0}.nav{display:flex;align-items:center;gap:22px;padding-bottom:14px;font-size:13px}.nav a.active{border-bottom:3px solid var(--green);padding:10px 0}.nav .promo{margin-left:auto;display:flex;gap:7px}.promo button:first-child{background:var(--sale)}.promo button:last-child,.yellow{background:var(--accent);color:var(--ink)}.hero{width:100%;border-radius:12px;display:block}.cats{display:grid;grid-template-columns:repeat(10,1fr);gap:10px;margin:15px 0}.banners{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:15px 0}.banners img{width:100%;border-radius:10px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.homegrid{grid-template-columns:repeat(6,1fr)}.card{background:white;border:1px solid #edf0ee;border-radius:12px;padding:15px;position:relative;box-shadow:0 2px 8px #00003}.card img{width:100%;height:155px;object-fit:contain}.badge{position:absolute;top:10px;left:10px;color:white;background:var(--sale);padding:6px;border-radius:6px;font-weight:bold}.heart{position:absolute;right:10px;top:10px;background:white;color:var(--ink);padding:0;font-size:24px}.card h3{font-size:15px;margin:8px 0}.stars{color:color-mix(in srgb, var(--accent) 88%, #000)}.price{color:var(--green);font-weight:bold;font-size:21px}.old{color:color-mix(in srgb, var(--sale) 55%, #999);text-decoration:line-through;font-size:16px;margin-right:10px}.card .order{width:100%;padding:11px}.crumb{color:color-mix(in srgb, var(--mint) 5%, var(--green));margin:12px 0 20px;font-size:13px}.shophero{background:linear-gradient(120deg,var(--mint),color-mix(in srgb, var(--mint) 65%, var(--green)));border-radius:12px;display:flex;overflow:hidden;align-items:center;padding:22px 32px}.shophero img{width:50%}.sort{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.sort select{padding:12px;border:1px solid #eee;border-radius:7px;background:white}.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px}.gallery img{width:100%;border-radius:9px}.thumbs{margin-top:10px}.details h1{font-size:30px;margin:0 0 12px}.details p{line-height:1.9}.quantity button{background:white;color:var(--green);font-size:21px;padding:9px 12px}.quantity span{min-width:32px;text-align:center}.tabs{display:flex;margin-top:25px;gap:5px}.tabs button{background:#f0f2f5;color:var(--ink)}.tabs .active{background:var(--green);color:white}.trust{display:grid;grid-template-columns:repeat(4,1fr)}.trust div{background:var(--mint)}.cartlayout{display:grid;grid-template-columns:3fr 1.1fr;gap:22px}.panel{background:white;border:1px solid #eee;border-radius:10px;padding:18px}.cartrow{display:grid;gap:10px;align-items:center;border-bottom:1px solid #eee;padding:18px 0}.cartrow img{width:70px;height:90px;object-fit:contain}.cartrow h3{font-size:15px}.cartrow small{color:#69726e}.remove{background:white;color:color-mix(in srgb, var(--ink) 85%, #fff);padding:5px}.summary h2{font-size:23px}.summary p{display:flex;justify-content:space-between}.shipping{background:color-mix(in srgb, #fff 60%, var(--mint));padding:12px;border:1px solid color-mix(in srgb, var(--mint) 95%, var(--green));border-radius:8px}.shipping label{display:flex;gap:8px;align-items:center;padding:12px 5px}.shipping label span{margin-left:auto}.summary button{width:100%;font-size:20px}.cartactions{margin-top:15px}.coupon{display:flex;gap:10px;align-items:center;margin-top:20px}.coupon input{flex:1;min-width:0;padding:12px;border:1px solid #eee}.notice{background:color-mix(in srgb, var(--accent) 18%, #fff);padding:12px;font-size:13px;text-align:center}.empty{text-align:center;padding:50px}.footer{padding:25px;text-align:center;color:#60766c;border-top:1px solid #eee}
@media(max-width:700px){header .top span:not(:first-child){display:none}header .top{justify-content:flex-start;padding-left:16px}.wrap{padding:0 13px}.head{flex-wrap:wrap;gap:12px;padding:10px 0}.nav{display:none}.hero{height:185px;object-fit:cover;object-position:center}.cats{grid-template-columns:repeat(4,1fr);gap:5px}.banners{grid-template-columns:1fr}.banners img:not(:nth-child(2)){display:none}.grid,.homegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card{padding:10px}.card img{height:130px}.card h3{font-size:12px;line-height:1.4}.card .price{font-size:18px}.old{font-size:13px}.badge{font-size:12px;padding:4px}.card .order{font-size:12px}.shophero{padding:18px 12px;display:block}.shophero p{font-size:12px;margin:3px 0}.shophero img{width:100%;height:105px;object-fit:contain}.sort{align-items:flex-start;flex-direction:column;gap:12px}.product-layout{grid-template-columns:1fr;gap:10px}.details h1{font-size:22px}.details .price{font-size:27px;margin:14px 0}.details p{font-size:13px}.tabs{overflow:auto}.tabs button{white-space:nowrap;font-size:12px}.trust{grid-template-columns:repeat(2,1fr);gap:8px}.trust div{padding:12px;font-size:12px}.cartlayout{grid-template-columns:1fr;gap:15px}.cartrow{grid-template-columns:20px 70px 1fr 22px;gap:5px;padding:15px 0}.cartrow h3{margin:3px 0}.cartrow .itemprice{grid-column:3;grid-row:auto}.cartrow .quantity{grid-column:3;max-width:100px}.cartrow .remove{grid-column:4;grid-row:auto}.cartrow small{font-size:11px}.panel{padding:10px}.coupon{flex-wrap:wrap}.coupon h3{width:100%;margin:0}.summary{padding:16px}h1.carttitle{font-size:27px}.notice{font-size:11px}.footer{font-size:12px}}

body.checkout-mode{background:linear-gradient(120deg,color-mix(in srgb, #fff 55%, var(--mint)),var(--mint))}.checkout-mode>header{display:none}.checkout-mode #app{max-width:1240px}.checkout-head{display:flex;align-items:center;justify-content:space-between;padding:25px 10px}.checkout-assurance{display:flex;gap:28px;font-size:13px}.checkout-layout{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-bottom:25px}.checkout-panel{background:#ffffffdf;border:1px solid var(--mint);border-radius:15px;padding:18px}.checkout-title{background:linear-gradient(100deg,var(--mint),color-mix(in srgb, #fff 50%, var(--mint)));padding:14px;border-radius:14px;display:flex;align-items:center;gap:15px;margin-bottom:20px}.checkout-title .symbol{font-size:29px;background:color-mix(in srgb, var(--mint) 90%, var(--green));padding:10px;border-radius:50%;color:color-mix(in srgb, var(--green) 75%, var(--dark))}.checkout-title p{margin:4px 0 0;color:#5b7068;font-size:13px}.checkout-field{display:block;margin:19px 0 0;padding-left:48px;position:relative}.checkout-field .field-icon{position:absolute;left:6px;top:4px;font-size:25px;color:var(--green)}.checkout-field b{display:block;margin-bottom:9px}.checkout-field input,.checkout-field textarea{display:block;width:100%;padding:13px;border:1px solid color-mix(in srgb,var(--dark) 16%,#fff);border-radius:8px;background:white;font:inherit}.shipping-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ship-option{border:1px solid color-mix(in srgb, var(--mint) 90%, var(--green));border-radius:13px;background:white;padding:17px 12px;display:flex;gap:12px;cursor:pointer;align-items:flex-start}.ship-option.selected{border-color:var(--green);background:var(--mint);box-shadow:0 0 0 1px var(--green)}.shipping-block{background:color-mix(in srgb, #fff 45%, var(--mint));margin-top:22px;padding:12px;border-radius:12px}.shipping-block h3{margin:0 0 12px;font-size:20px}.checkout-item{display:flex;gap:12px;border:1px solid #e5eae7;border-radius:9px;padding:10px;margin:9px 0;align-items:center}.checkout-item img{width:65px;height:90px;object-fit:contain}.checkout-item h3{font-size:15px;margin:0 0 5px}.checkout-item p{margin:4px 0;color:#6c7c74;font-size:13px}.checkout-total{background:var(--mint);padding:15px!important;border-radius:12px;font-size:24px;font-weight:bold}.checkout-total b{color:var(--green)}.checkout-trust{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:24px 0;font-size:14px;line-height:1.7}.checkout-trust span{color:var(--green);font-size:27px;margin-right:7px}.checkout-mobile-submit{display:none}
@media(max-width:700px){.checkout-mode #app{padding:0 12px}.checkout-head{background:var(--dark);margin:0 -12px;padding:14px;justify-content:center}.checkout-assurance{display:none}.checkout-layout{grid-template-columns:1fr;gap:12px}.checkout-panel{padding:10px;border-radius:12px}.checkout-title{padding:10px;gap:10px;margin-bottom:10px}.checkout-title p{font-size:11px}.checkout-title .symbol{font-size:24px;padding:8px}.checkout-field{padding-left:38px;margin-top:17px;font-size:13px}.checkout-field .field-icon{font-size:23px;left:3px}.checkout-field input,.checkout-field textarea{padding:12px;font-size:14px}.ship-option{padding:12px 7px;gap:6px;font-size:12px}.ship-option small{font-size:10px}.shipping-options{gap:8px}.shipping-block{padding:9px}.checkout-mobile-submit{display:block;margin-top:16px;font-size:20px;padding:16px}.checkout-trust{gap:10px;font-size:12px}.checkout-total{font-size:21px}.checkout-title .count{font-size:12px}}

.cartrow{grid-template-columns:25px 85px 1.7fr 1fr 110px 1fr 44px}.cartrow .cart-delete{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:color-mix(in srgb, var(--sale) 7%, #fff);color:var(--sale);border:1px solid color-mix(in srgb, var(--sale) 22%, #fff);border-radius:9px}.cart-delete:hover{background:color-mix(in srgb, var(--sale) 15%, #fff)}.cart-delete:focus-visible{outline:3px solid var(--sale);outline-offset:2px}.cart-continue{margin:16px 0;font-size:13px;color:var(--green)}.cart-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #edf0ee}.cart-tools button{font-size:13px;padding:9px 12px;white-space:nowrap;height:36px}.cart-tools .cart-update{background:var(--mint);color:color-mix(in srgb, var(--green) 80%, var(--dark))}.cart-coupon{display:flex;align-items:center;gap:6px;max-width:290px;min-width:0}.cart-coupon input{border:1px solid color-mix(in srgb, var(--mint) 95%, var(--green));border-radius:6px;padding:8px 10px;height:36px;width:165px;min-width:0;font-size:13px}
@media(max-width:700px){.cartrow{grid-template-columns:20px 65px minmax(0,1fr) 44px}.cartrow .cart-delete{grid-column:4;grid-row:1 / span 3;align-self:center}.cart-tools{gap:6px}.cart-tools button{font-size:11px;padding:8px 7px}.cart-coupon{flex:1;gap:4px;max-width:none}.cart-coupon input{width:100%;flex:1;font-size:12px;padding:8px 6px}.cart-tools .cart-update{flex-shrink:0}.cart-continue{font-size:12px}}

/* Category dropdown: scoped layout repair */








/* ==========================================================
   PART 2 — WordPress / WooCommerce adaptations
   ========================================================== */
body{font-family:Arial,"Noto Sans Bengali","Hind Siliguri","Kalpurush",sans-serif}
img{max-width:100%;height:auto}
.screen-reader-text{left:-9999px}
.nav a.active,.nav .current-menu-item{border-bottom:3px solid var(--green);padding:10px 0}




.page-title,h1.carttitle{font-size:30px;margin:10px 0 15px}
.wp-block-image img{height:auto}
.am-content{background:#fff;border:1px solid #eee;border-radius:10px;padding:22px;line-height:1.9;margin:20px 0}


/* Product cards */
.products.grid{list-style:none;margin:0;padding:0}
.card .badge{z-index:2}
.card>a{display:block}
.card .price del,.details .price del{color:color-mix(in srgb, var(--sale) 55%, #999);font-size:16px;margin-right:10px;font-weight:400}
.card .price ins,.details .price ins{text-decoration:none;background:none}
.card .price .woocommerce-Price-amount{font-weight:bold}
.card .price del .woocommerce-Price-amount{font-weight:400}
.card a.order{text-align:center;border-radius:7px;background:var(--green);color:#fff}
.card a.order.disabled{background:#c9d3cf;pointer-events:none}
.stars{letter-spacing:1px}
.stars .off{color:color-mix(in srgb,var(--dark) 16%,#fff)}

/* Single product */

.woocommerce-product-gallery{position:relative;margin:0;opacity:1!important}
.woocommerce-product-gallery__wrapper{margin:0}

.woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:8px;list-style:none;margin:10px 0 0;padding:0}
.woocommerce-product-gallery .flex-control-thumbs li{width:20%;margin:0;float:none}
.woocommerce-product-gallery .flex-control-thumbs img{opacity:.6;cursor:pointer;border:1px solid #eee}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}
.woocommerce-product-gallery__trigger{position:absolute;top:10px;right:10px;z-index:9;background:#fff;border-radius:50%;width:36px;height:36px;text-align:center;line-height:36px;text-indent:0;font-size:0}


.details .price{font-size:34px;margin:20px 0;color:var(--green);font-weight:bold}
.details .price .off{font-size:17px;color:var(--sale);margin-left:8px}
.details .short-desc{line-height:1.9}
.details .stock-line{color:var(--ink)}
form.cart:not(.variations_form),.woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:15px 0 0}
form.cart:not(.variations_form) .quantity{order:1}
.am-buy-now{order:2;flex:1 1 calc(100% - 130px);display:block;text-align:center;font-size:22px;font-weight:bold;border-radius:7px;padding:12px;background:var(--green);color:#fff;box-shadow:0 0 10px var(--accent);border:2px solid color-mix(in srgb, var(--accent) 45%, #fff)}
form.cart .single_add_to_cart_button{order:3;flex:1 1 calc(50% - 5px);background:var(--accent)!important;color:var(--ink)!important;border-radius:7px;padding:12px;font-size:15px}
.am-whatsapp{order:4;flex:1 1 calc(50% - 5px);display:block;text-align:center;background:var(--green);color:#fff;border-radius:7px;padding:12px}
.woocommerce-variation-add-to-cart .quantity{order:1}



.quantity{display:inline-flex;border:1px solid #ddd;border-radius:6px;overflow:hidden;align-items:center;background:#fff}
.quantity input.qty{width:46px;border:0;text-align:center;padding:10px 0;font-size:16px;background:transparent;-moz-appearance:textfield}
.quantity input.qty::-webkit-outer-spin-button,.quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.quantity .am-qty-btn{background:#fff;color:var(--green);font-size:21px;padding:9px 12px;border-radius:0}

/* Tabs */
.woocommerce div.product .woocommerce-tabs{margin-top:25px}






.woocommerce div.product .woocommerce-tabs .panel{background:#fff;border:1px solid #eee;padding:25px;line-height:2;margin:0;border-radius:0 0 10px 10px}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:20px}



/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:9px;margin:12px 0}
.woocommerce-message{border-top-color:var(--green)}
.woocommerce-message::before{color:var(--green)}
.woocommerce-message .button,.woocommerce-info .button{background:var(--green);color:#fff}
.woocommerce-pagination{text-align:center;margin:25px 0}


.woocommerce-pagination .page-numbers{display:block;padding:9px 14px;border:1px solid color-mix(in srgb, var(--mint) 95%, var(--green));border-radius:7px;background:#fff}
.woocommerce-pagination .current{background:var(--green);color:#fff;border-color:var(--green)}
.woocommerce-result-count{margin:0}
.woocommerce-ordering{margin:0}
.woocommerce-ordering select{padding:12px;border:1px solid #eee;border-radius:7px;background:#fff}

/* Buttons from WooCommerce */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--green)!important;color:#fff!important;border-radius:7px;font-weight:400;padding:12px 16px}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--dark)!important}

/* Cart */
.cartrow .quantity{width:max-content}
.cartrow .product-name-wrap a{font-weight:bold}
.cartrow .itemprice,.cartrow .linetotal{color:var(--green);font-weight:bold}
.cart-delete svg{display:block}
.cart-empty{background:#fff;border:1px solid #eee;border-radius:10px;padding:40px;text-align:center}

.cart_totals{width:100%!important;float:none!important}




.cart_totals .order-total th,.cart_totals .order-total td{font-size:26px;font-weight:bold;border-top:1px solid #eee!important;padding-top:15px!important}
.cart_totals .order-total .amount{color:var(--green)}
.cart_totals ul#shipping_method{list-style:none;margin:0;padding:0;text-align:left}

.cart_totals .shipping-calculator-button{color:var(--green)}
.wc-proceed-to-checkout{padding:15px 0 0}
.wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;font-size:20px;padding:16px!important;border-radius:8px}
.cartactions{display:flex;justify-content:space-between}
.cart-coupon label{display:none}

/* Checkout */
.woocommerce-checkout #app,.checkout-mode #app{max-width:1240px}

.checkout-field.woocommerce-invalid input,.checkout-field.woocommerce-invalid textarea{border-color:var(--sale)}
.am-shipping-block .ship-option input{margin-top:6px}
.am-shipping-block .ship-option b{display:block}
.checkout-item .itemname{font-size:15px;margin:0 0 5px}
.checkout-item .itemline{color:var(--green);font-weight:bold}
.woocommerce-checkout-review-order-table .checkout-cost p{margin:0}








.checkout-assurance a{color:inherit}
.woocommerce-order{background:#fff;border:1px solid #eee;border-radius:12px;padding:22px;margin:20px 0}
.woocommerce-order ul.order_details{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0}


@media(max-width:700px){
  .am-buy-now{font-size:17px}
  
  
  
  .cartrow .linetotal{display:none}
  
  
}


/* Checkout fields: keep icon space (WooCommerce's .form-row padding was overriding it) */
.woocommerce form .checkout-field.form-row,.woocommerce-page form .checkout-field.form-row{display:block;margin:19px 0 0;padding:0 0 0 48px;position:relative;width:100%;float:none}

.ship-option small{display:block;color:#678278}


/* Checkout validation popup */
.am-modal{position:fixed;inset:0;background:color-mix(in srgb, var(--dark) 55%, transparent);display:flex;align-items:center;justify-content:center;z-index:999999;padding:20px;font-family:Arial,"Noto Sans Bengali","Hind Siliguri",sans-serif}
.am-modal-box{background:#fff;border-radius:18px;max-width:390px;width:100%;padding:28px 24px 24px;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.3);color:var(--ink)}
.am-modal-icon{width:58px;height:58px;margin:0 auto 12px;border-radius:50%;background:#fff3cd;color:#d97706;font-size:30px;line-height:58px}
.am-modal-box h3{margin:0 0 8px;font-size:21px}
.am-modal-box p{margin:0 0 20px;line-height:1.7;color:color-mix(in srgb, var(--ink) 85%, #fff);font-size:15px}
.am-modal-ok{border:0;border-radius:10px;background:var(--green);color:#fff;font-size:16px;font-weight:bold;padding:13px 22px;cursor:pointer;width:100%}
.am-modal-ok:hover{background:var(--dark)}


/* Checkout icons: force the left gutter so the icon never sits on the label */
.woocommerce form .checkout-field.form-row,.woocommerce-page form .checkout-field.form-row,.woocommerce-checkout .checkout-field{padding-left:48px!important;padding-top:0!important;padding-right:0!important;padding-bottom:0!important;margin:19px 0 0!important;position:relative!important}
.woocommerce-checkout .checkout-field .field-icon{position:absolute!important;left:6px!important;top:2px!important;font-size:25px;line-height:1;color:var(--green);font-family:"Segoe UI Symbol","Noto Sans Symbols2","Apple Symbols",Arial,sans-serif}
@media(max-width:700px){
  .woocommerce form .checkout-field.form-row,.woocommerce-page form .checkout-field.form-row,.woocommerce-checkout .checkout-field{padding-left:38px!important;margin-top:17px!important}
  .woocommerce-checkout .checkout-field .field-icon{left:3px!important;font-size:23px}
}


/* ==========================================================
   AL MAHIR SHOP — Premium shop archive refresh
   ========================================================== */
.am-premium-shophero{min-height:190px;margin:18px 0 20px;padding:24px 34px;background:linear-gradient(112deg,color-mix(in srgb,var(--green) 8%,#fff) 0%,color-mix(in srgb,var(--green) 20%,#fff) 55%,color-mix(in srgb,var(--green) 31%,#fff) 100%);border:1px solid color-mix(in srgb,var(--green) 16%,#fff);border-radius:18px;box-shadow:0 8px 26px color-mix(in srgb,color-mix(in srgb,var(--green) 76%,#000) 7%,transparent);position:relative}
.am-shophero-copy{position:relative;z-index:1;flex:1;min-width:0}
.am-shop-kicker{display:inline-flex;align-items:center;background:var(--green);color:#fff;border-radius:30px;padding:7px 14px;font-size:12px;font-weight:800;letter-spacing:.4px;margin-bottom:9px}

.am-premium-shophero p{font-size:18px;font-weight:700;color:var(--green);margin:0 0 12px}
.am-shop-promise{font-size:13px;font-weight:700;color:color-mix(in srgb,var(--dark) 86%,#fff)}


.am-premium-sort{margin:18px 0 14px;padding:0 2px;color:color-mix(in srgb,var(--dark) 94%,#fff);font-weight:600}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important;margin:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important}
.am-premium-card{min-width:0;display:flex;flex-direction:column;min-height:310px;padding:13px!important;border:1px solid color-mix(in srgb,var(--dark) 9%,#fff)!important;border-radius:17px!important;background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--green) 1%,#fff) 100%)!important;box-shadow:0 3px 12px color-mix(in srgb,color-mix(in srgb,var(--dark) 97%,#fff) 7%,transparent)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.am-premium-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--green) 27%,#fff)!important;box-shadow:0 10px 24px color-mix(in srgb,color-mix(in srgb,var(--green) 72%,#000) 12%,transparent)!important}
.am-premium-card .badge{top:12px;left:12px;background:var(--green);color:#fff;border-radius:20px;padding:6px 10px;font-size:13px;z-index:2}
.am-wishlist{position:absolute;right:12px;top:10px;width:34px;height:34px;padding:0!important;border:1px solid color-mix(in srgb,var(--dark) 9%,#fff)!important;border-radius:50%!important;background:#fff!important;color:color-mix(in srgb,var(--dark) 96%,#fff)!important;font-size:23px;line-height:1;box-shadow:0 2px 7px #0000000c;z-index:2}
.am-wishlist.is-active{color:#e34d65!important;border-color:#ffd4dc!important;background:#fff4f6!important}
.am-product-link{display:block;color:inherit!important}
.am-product-image{height:158px;display:flex;align-items:center;justify-content:center;margin:4px 0 8px;overflow:hidden;border-radius:12px;background:radial-gradient(circle,color-mix(in srgb,var(--green) 6%,#fff) 0%,#fff 68%)}
.am-premium-card .am-product-image img{width:100%!important;height:100%!important;max-height:158px!important;object-fit:contain!important;margin:0!important;transition:transform .25s ease}
.am-premium-card:hover .am-product-image img{transform:scale(1.045)}
.am-premium-card h3{font-size:15px!important;line-height:1.3!important;font-weight:800!important;color:color-mix(in srgb,var(--dark) 70%,#000)!important;margin:4px 0 8px!important;min-height:39px}
.am-card-price{font-size:21px!important;font-weight:900!important;color:var(--green)!important;margin:0 0 11px!important;line-height:1.25}
.am-card-price del{font-size:14px!important;color:#8c9691!important;opacity:1!important;font-weight:500;margin-right:6px}
.am-card-price ins{text-decoration:none!important}
.am-order-button{width:100%;margin-top:auto;padding:12px 14px !important;min-height:43px;border:0 !important;border-radius:10px !important;background:linear-gradient(100deg,color-mix(in srgb,var(--green) 96%,#000),color-mix(in srgb,var(--green) 93%,#fff)) !important;color:#fff !important;font-size:15px !important;font-weight:800 !important;text-align:center;box-shadow:0 4px 10px color-mix(in srgb,color-mix(in srgb,var(--green) 97%,#000) 16%,transparent);transition:filter .2s ease,transform .2s ease}
.am-order-button:hover{filter:brightness(1.06);transform:translateY(-1px);color:#fff!important}
.am-order-button span{font-size:20px;line-height:12px}
.am-order-button.disabled{background:#9aa7a1!important;box-shadow:none}
.am-shop-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:25px 0 28px;padding:15px 12px;border-radius:50px;background:linear-gradient(100deg,color-mix(in srgb,var(--green) 7%,#fff),color-mix(in srgb,var(--green) 11%,#fff));border:1px solid color-mix(in srgb,var(--green) 13%,#fff)}
.am-shop-trust div{display:flex;align-items:center;justify-content:center;gap:10px;color:color-mix(in srgb,var(--dark) 96%,#fff);font-size:13px;font-weight:800;text-align:center}

.am-shop-trust b{font-size:23px;color:var(--green)}
@media(max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.am-premium-shophero{min-height:150px;padding:18px 16px;border-radius:14px}.am-shop-promise{font-size:10px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.am-premium-card{min-height:285px;padding:9px!important;border-radius:13px!important}.am-product-image{height:125px}.am-premium-card .am-product-image img{max-height:125px!important}.am-premium-card h3{font-size:13px!important;min-height:50px}.am-card-price{font-size:18px!important}.am-card-price del{font-size:12px!important}.am-order-button{font-size:13px!important;padding:10px 6px!important}.am-shop-trust{grid-template-columns:repeat(2,1fr);border-radius:16px;padding:12px 8px}.am-shop-trust div{font-size:11px;padding:8px 2px}.am-shop-trust div:nth-child(even){border-left:1px solid color-mix(in srgb,var(--green) 30%,#fff)}}

/* AL MAHIR SHOP — premium single product page refresh */
body.single-product #app{max-width:1540px}.am-single-product{padding-bottom:12px}
body.single-product .woocommerce-breadcrumb{margin:16px 0 18px;color:#62766e;font-size:13px}
.am-product-layout{grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:30px;align-items:start}.am-product-gallery{min-width:0}
.am-product-gallery .woocommerce-product-gallery{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:start}
.am-product-gallery .woocommerce-product-gallery__wrapper{grid-column:2;grid-row:1;margin:0;background:color-mix(in srgb,var(--green) 5%,#fff);border-radius:13px;overflow:hidden}
.am-product-gallery .woocommerce-product-gallery__image img{width:100%;height:auto;aspect-ratio:1.12/1;object-fit:contain;border-radius:13px;background:color-mix(in srgb,var(--green) 5%,#fff)}
.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:10px;width:100%;margin:0;padding:0;list-style:none}
.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs li{width:100%;float:none;margin:0}
.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs img{width:100%;height:82px;object-fit:contain;padding:5px;background:#fff;border:1px solid color-mix(in srgb,var(--dark) 11%,#fff);border-radius:11px;opacity:1;transition:border-color .2s,box-shadow .2s}
.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs img.flex-active,.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs img:hover{border:2px solid var(--green);box-shadow:0 3px 12px color-mix(in srgb,var(--green) 13%,transparent)}
.am-product-gallery .woocommerce-product-gallery__trigger{top:12px;right:12px}
.am-product-details{padding:0 2px}
.am-product-details h1.product_title{font-size:clamp(26px,2.35vw,36px);line-height:1.18;font-weight:800;color:color-mix(in srgb,var(--dark) 76%,#000);margin:0 0 12px}
.am-product-short-desc{font-size:16px;line-height:1.75;color:#31463f;margin:0 0 12px}
.am-single-price{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 20px!important;font-size:36px!important;font-weight:800!important;color:var(--green)!important}.am-single-price .off{display:inline-flex;align-items:center;border-radius:25px;background:var(--sale);color:white;font-size:15px;font-weight:700;padding:6px 13px}
.am-product-details form.cart,.am-product-details .woocommerce-variation-add-to-cart{display:grid!important;grid-template-columns:minmax(150px,185px) minmax(0,1fr) 68px;grid-template-rows:60px 68px;gap:12px;align-items:stretch;margin:18px 0 0!important}
.am-product-details form.cart .quantity,.am-product-details .woocommerce-variation-add-to-cart .quantity{grid-column:1;grid-row:1;display:flex!important;align-items:center;justify-content:space-around;width:100%;height:60px;border:1px solid color-mix(in srgb,var(--green) 41%,#fff);border-radius:12px;background:#fff}
.am-product-details .quantity .am-qty-btn{height:100%;padding:8px 14px;background:transparent;color:var(--green);font-size:22px}.am-product-details .quantity input.qty{width:48px;height:100%;font-size:18px;font-weight:700;color:color-mix(in srgb,var(--dark) 97%,#fff)}
.am-product-details .am-buy-now{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;gap:12px;height:60px;padding:10px 16px;border:0;border-radius:12px;background:var(--green);color:#fff;font-size:21px;font-weight:800;box-shadow:none}
.am-product-details .am-single-wishlist{grid-column:3;grid-row:1;display:grid;place-items:center;width:68px;height:60px;padding:0;border:1px solid color-mix(in srgb,var(--green) 41%,#fff);border-radius:12px;background:#fff;color:color-mix(in srgb,var(--green) 66%,#000);font-size:32px;line-height:1}.am-product-details .am-single-wishlist.is-active{background:#fff0f2;color:#e11d48;border-color:#f3a2b4}
.am-product-details form.cart .single_add_to_cart_button,.am-product-details .woocommerce-variation-add-to-cart .single_add_to_cart_button{grid-column:1;grid-row:2;width:100%;height:68px;padding:12px 15px;border:1.5px solid var(--green)!important;border-radius:12px;background:#fff!important;color:color-mix(in srgb,var(--green) 66%,#000)!important;font-size:18px;font-weight:800}
.am-product-details .am-whatsapp{grid-column:2 / 4;grid-row:2;display:flex;align-items:center;justify-content:center;gap:12px;height:68px;padding:10px 14px;border-radius:12px;background:var(--green);color:#fff;font-size:17px;text-align:left}.am-product-details .am-whatsapp b{display:block;font-size:18px}.am-product-details .am-whatsapp small{display:block;font-size:12px;color:color-mix(in srgb,var(--green) 9%,#fff)}
.am-product-details .am-buy-now:hover,.am-product-details .am-whatsapp:hover{background:var(--dark);color:#fff}
.am-single-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 28px}.am-single-trust>div{display:flex;align-items:center;gap:13px;min-height:76px;padding:13px 16px;border-radius:12px;background:var(--mint);color:color-mix(in srgb,var(--dark) 93%,#fff)}.am-single-trust .am-trust-icon{flex:0 0 34px;text-align:center;font-size:26px;color:var(--green)}.am-single-trust b,.am-single-trust small{display:block}.am-single-trust b{font-size:14px;line-height:1.45}.am-single-trust small{margin-top:3px;color:#71847c;font-size:11px;line-height:1.4}
.am-product-information .woocommerce-tabs{margin-top:0!important}.am-product-information .woocommerce-tabs ul.tabs{border-bottom:1px solid color-mix(in srgb,var(--dark) 10%,#fff)!important}.am-product-information .woocommerce-tabs .panel{border-radius:0 0 12px 12px!important;box-shadow:0 3px 14px color-mix(in srgb,color-mix(in srgb,var(--dark) 97%,#fff) 3%,transparent)}.am-product-information .woocommerce-tabs .panel p{line-height:1.85}.am-product-information .woocommerce-tabs .panel h2{color:color-mix(in srgb,var(--green) 66%,#000);font-size:22px}
@media(max-width:900px){.am-product-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.am-product-gallery .woocommerce-product-gallery{grid-template-columns:76px minmax(0,1fr);gap:9px}.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs img{height:68px}.am-product-details form.cart,.am-product-details .woocommerce-variation-add-to-cart{grid-template-columns:130px minmax(0,1fr) 58px;gap:8px}.am-product-details .am-single-wishlist{width:58px}.am-single-trust{gap:8px}.am-single-trust>div{padding:10px;gap:8px}}
@media(max-width:700px){body.single-product #app{padding-left:13px;padding-right:13px}.am-product-layout{grid-template-columns:1fr;gap:17px}.am-product-gallery .woocommerce-product-gallery{grid-template-columns:66px minmax(0,1fr);gap:9px}.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs{gap:7px}.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs img{height:65px;border-radius:9px}.am-product-short-desc{font-size:14px;line-height:1.65}.am-single-price{font-size:29px!important;margin:10px 0 16px!important}.am-single-price .off{font-size:12px;padding:5px 10px}.am-product-details form.cart,.am-product-details .woocommerce-variation-add-to-cart{grid-template-columns:minmax(92px,112px) minmax(0,1fr) 48px;grid-template-rows:52px 58px;gap:8px}.am-product-details form.cart .quantity,.am-product-details .woocommerce-variation-add-to-cart .quantity{height:52px}.am-product-details .quantity .am-qty-btn{padding:5px 8px;font-size:18px}.am-product-details .quantity input.qty{width:30px;font-size:15px}.am-product-details .am-buy-now{height:52px}.am-product-details .am-single-wishlist{width:48px;height:52px;font-size:26px}.am-product-details form.cart .single_add_to_cart_button,.am-product-details .woocommerce-variation-add-to-cart .single_add_to_cart_button{height:58px;font-size:14px;padding:8px}.am-product-details .am-whatsapp{height:58px;font-size:14px;gap:7px;padding:8px}.am-product-details .am-whatsapp b{font-size:15px}.am-product-details .am-whatsapp small{font-size:10px}.am-single-trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:17px 0 20px}.am-single-trust>div{min-height:68px;padding:9px;border-radius:9px;gap:7px}.am-single-trust .am-trust-icon{flex-basis:25px;font-size:21px}.am-single-trust b{font-size:11px}.am-single-trust small{font-size:9px}.am-product-information .woocommerce-tabs .panel{padding:14px}}

/* Single product page: tighten the oversized gallery so the trust row and tabs
   appear immediately below the product area, like the approved reference. */
@media (min-width: 701px) {
  body.single-product #app { max-width: 1540px; }
  body.single-product #app > .wrap { max-width: 1540px; }
  .am-product-layout{grid-template-columns:minmax(0, 1fr) minmax(0, 1.08fr)}
  .am-product-gallery .woocommerce-product-gallery__wrapper { height: 415px; }
  .am-product-gallery .woocommerce-product-gallery__image,
  .am-product-gallery .woocommerce-product-gallery__image a { display: block; height: 415px; }
  .am-product-gallery .woocommerce-product-gallery__image img{width:100% !important}
  .am-single-trust { margin-top: 22px; }
}
.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 auto; }
.am-product-gallery .woocommerce-product-gallery .flex-control-thumbs img { display: block; }
.am-single-trust { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .am-product-gallery .woocommerce-product-gallery__wrapper { height: auto; }
  .am-product-gallery .woocommerce-product-gallery__image,
  .am-product-gallery .woocommerce-product-gallery__image a { height: auto; }
  
}


/* ==========================================================
   AL MAHIR SHOP — single product layout diagnosis fixes v3
   ========================================================== */
/* Full-bleed forest-green navigation band while keeping the
   menu contents aligned to the centered site container. */
header .wrap .nav{
  position:relative;
  isolation:isolate;
  min-height:48px;
  align-items:center;
  margin:0 -12px;
  padding:9px 12px;
  color:#fff;
}
header .wrap .nav::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:var(--dark);
}
header .wrap .nav a{color:#fff}
header .wrap .nav a.active{color:#fff;border-bottom-color:color-mix(in srgb,var(--green) 67%,#fff)}


header .wrap .nav .promo button{border-radius:8px;padding:11px 13px;font-weight:700}
header .wrap .nav .promo button:first-child{background:color-mix(in srgb,var(--green) 97%,#fff);color:#fff}
header .wrap .nav .promo button:nth-child(2){background:color-mix(in srgb,var(--green) 92%,#000);color:#fff}
header .wrap .nav .promo button:last-child{background:#f5c943;color:color-mix(in srgb,var(--dark) 96%,#fff)}
@media(max-width:700px){
  header .wrap .nav{display:none}
}

/* The former gallery CSS always reserved a 100px thumbnail column.
   WooCommerce omits .flex-control-thumbs when no gallery photos are
   attached, which caused the visible empty mint strip in the screenshot. */
@media(min-width:701px){
  
  body.single-product .am-product-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:30px}
}
.am-product-gallery.no-gallery-images .woocommerce-product-gallery{
  display:block!important;
  width:100%;
}
.am-product-gallery.no-gallery-images .woocommerce-product-gallery__wrapper{
  width:100%;
  height:415px;
  grid-column:auto!important;
  background:radial-gradient(ellipse at 50% 42%,color-mix(in srgb,var(--green) 12%,#fff) 0%,color-mix(in srgb,var(--green) 6%,#fff) 54%,color-mix(in srgb,var(--green) 10%,#fff) 100%);
  border-radius:14px;
  overflow:hidden;
}
.am-product-gallery.no-gallery-images .woocommerce-product-gallery__image,
.am-product-gallery.no-gallery-images .woocommerce-product-gallery__image a{
  display:block;
  height:415px;
}
.am-product-gallery.no-gallery-images .woocommerce-product-gallery__image img{
  display:block;
  width:100%!important;
  height:415px!important;
  max-height:415px;
  object-fit:contain;
  background:transparent!important;
}
/* With actual gallery photos, keep the vertical thumbnail rail. */
.am-product-gallery.has-gallery-images .woocommerce-product-gallery{
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:12px;
}
.am-product-gallery.has-gallery-images .woocommerce-product-gallery__wrapper{grid-column:2;grid-row:1}


.am-product-gallery.has-gallery-images .woocommerce-product-gallery .flex-control-thumbs img{height:82px;object-fit:contain;background:#fff;border:1px solid color-mix(in srgb,var(--dark) 14%,#fff);border-radius:11px;opacity:1}
.am-product-gallery.has-gallery-images .woocommerce-product-gallery .flex-control-thumbs img.flex-active{border:2px solid var(--green)}
/* The previous generic .details .price .off rule had higher specificity
   and painted the discount text red on a red badge. */
.am-product-details .am-single-price .off{color:#fff!important;background:#d92755!important;font-size:15px!important;font-weight:800!important;line-height:1.2;padding:7px 13px}
.am-product-details .am-single-price{gap:14px}
.am-product-details .am-product-short-desc{display:block;margin:0 0 12px}
.am-product-information{clear:both;margin-top:0}
@media(max-width:700px){
 .am-product-gallery.no-gallery-images .woocommerce-product-gallery__wrapper,
 .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image,
 .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image a{height:auto}
 .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image img{height:auto!important;max-height:390px;aspect-ratio:1/1}
 .am-product-gallery.has-gallery-images .woocommerce-product-gallery{grid-template-columns:66px minmax(0,1fr);gap:9px}
 
}


/* ==========================================================
   V4 refinement: balanced CTA buttons + more compact product image
   ========================================================== */
@media (min-width: 701px) {
  .am-product-layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
    gap: 26px !important;
    align-items: start;
  }
  .am-product-gallery .woocommerce-product-gallery__wrapper,
  .am-product-gallery .woocommerce-product-gallery__image,
  .am-product-gallery .woocommerce-product-gallery__image a {
    height: 350px !important;
    max-height: 350px !important;
  }
  .am-product-gallery .woocommerce-product-gallery__image img {
    height: 350px !important;
    max-height: 350px !important;
    object-fit: contain !important;
  }
  .am-product-details h1.product_title {
    font-size: clamp(25px, 2vw, 31px) !important;
    line-height: 1.2;
  }
  .am-product-details form.cart,
  .am-product-details .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: minmax(130px, 1.05fr) minmax(0, 1fr) minmax(0, 1fr) 62px !important;
    grid-template-rows: 56px 62px !important;
    gap: 10px !important;
    align-items: stretch;
  }
  .am-product-details form.cart .quantity,
  .am-product-details .woocommerce-variation-add-to-cart .quantity {
    grid-column: 1 !important; grid-row: 1 !important;
    height: 56px !important; min-width: 0;
  }
  .am-product-details .am-buy-now {
    grid-column: 2 / 4 !important; grid-row: 1 !important;
    height: 56px !important; min-width: 0;
  }
  .am-product-details .am-single-wishlist {
    grid-column: 4 !important; grid-row: 1 !important;
    width: 62px !important; height: 56px !important;
  }
  .am-product-details form.cart .single_add_to_cart_button,
  .am-product-details .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    grid-column: 1 / 3 !important; grid-row: 2 !important;
    width: 100% !important; height: 62px !important;
    min-width: 0; margin: 0 !important;
  }
  .am-product-details .am-whatsapp {
    grid-column: 3 / 5 !important; grid-row: 2 !important;
    width: 100% !important; height: 62px !important;
    min-width: 0; margin: 0 !important;
    justify-content: center !important;
  }
}
@media (max-width: 700px) {
  .am-product-gallery .woocommerce-product-gallery__wrapper,
  .am-product-gallery .woocommerce-product-gallery__image,
  .am-product-gallery .woocommerce-product-gallery__image a {
    max-height: 300px !important;
  }
  
  
  .am-product-details form.cart,
  .am-product-details .woocommerce-variation-add-to-cart {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: 48px 54px 54px !important;
    gap: 8px !important;
  }
  .am-product-details form.cart .quantity,
  .am-product-details .woocommerce-variation-add-to-cart .quantity {
    grid-column: 1 / 3 !important; grid-row: 1 !important;
    width: 100% !important; height: 48px !important;
  }
  .am-product-details .am-buy-now {
    grid-column: 1 / 3 !important; grid-row: 2 !important;
    height: 54px !important;
  }
  .am-product-details .am-single-wishlist {
    grid-column: 2 !important; grid-row: 1 !important;
    justify-self: end; width: 44px !important; height: 44px !important;
    z-index: 2;
  }
  .am-product-details form.cart .single_add_to_cart_button,
  .am-product-details .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    grid-column: 1 !important; grid-row: 3 !important;
    width: 100% !important; height: 54px !important;
  }
  .am-product-details .am-whatsapp {
    grid-column: 2 !important; grid-row: 3 !important;
    width: 100% !important; height: 54px !important;
    justify-content: center !important;
  }
}


/* Checkout order-summary editing controls (V5). */
.checkout-mode .woocommerce-form-coupon-toggle,
.checkout-mode .checkout_coupon,
.checkout-mode .woocommerce-info:has(a.showcoupon){display:none!important}

.checkout-item .itemname{font-weight:700;color:var(--ink);line-height:1.45}
.am-checkout-item-controls{display:flex;align-items:center;flex-wrap:wrap;margin-top:9px}
.am-checkout-qty{width:62px!important;height:34px!important;padding:5px 7px!important;border:1px solid color-mix(in srgb,var(--green) 21%,#fff)!important;border-radius:7px!important;background:#fff!important;text-align:center;font-weight:700;color:var(--ink)}
.am-checkout-update-qty,.am-checkout-remove{height:34px;padding:6px 10px;border-radius:7px;font-size:12px;font-weight:700;line-height:1.2}




.am-checkout-update-qty:disabled,.am-checkout-remove:disabled{opacity:.55;cursor:wait}

@media(max-width:700px){
 
 .am-checkout-qty{width:55px!important}
 .am-checkout-update-qty,.am-checkout-remove{padding:6px 8px;font-size:11px}
}


/* V6 — checkout quantity auto-update with premium icon controls. */
.am-checkout-item-controls{gap:9px}
.am-checkout-auto-status{display:inline-flex;align-items:center;gap:5px;color:#71877d;font-size:11px;line-height:1.3;min-height:28px}
.am-checkout-auto-status svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.am-checkout-auto-status.is-active{color:var(--green);font-weight:700}

@keyframes am-auto-spin{to{transform:rotate(360deg)}}
.am-checkout-remove{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:76px;height:36px;padding:6px 11px;border-radius:9px;background:#fff5f5;border:1px solid #f2c5c8;color:#c92f3c;font-size:12px;font-weight:700;transition:background .2s,border-color .2s,transform .2s}
.am-checkout-remove svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.am-checkout-remove:hover{background:#ffe8e9;border-color:#e99ba2;color:#b91c1c;transform:translateY(-1px)}
.checkout-item.is-updating{opacity:.72;pointer-events:none}
@media(max-width:700px){.am-checkout-auto-status{font-size:10px}}


/* V8 — checkout quantity stepper: minus / value / plus */
.checkout-item .am-checkout-qty-stepper{display:inline-flex;align-items:center;justify-content:center;gap:0;height:36px;border:1px solid color-mix(in srgb,var(--green) 21%,#fff);border-radius:9px;background:#fff;overflow:hidden;flex:0 0 auto;width:max-content}
.am-checkout-qty-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:34px;padding:0;border:0;background:color-mix(in srgb,var(--green) 6%,#fff);color:var(--green);font-size:21px;font-weight:700;line-height:1;cursor:pointer;transition:background .15s,color .15s}
.am-checkout-qty-btn:hover,.am-checkout-qty-btn:focus-visible{background:var(--green);color:#fff;outline:none}
.am-checkout-qty-stepper .am-checkout-qty{width:38px!important;min-width:38px!important;height:34px!important;margin:0!important;padding:2px!important;border:0!important;border-left:1px solid color-mix(in srgb,var(--green) 13%,#fff)!important;border-right:1px solid color-mix(in srgb,var(--green) 13%,#fff)!important;border-radius:0!important;background:#fff!important;text-align:center;font-size:14px!important;font-weight:700;color:var(--ink);box-shadow:none!important;appearance:textfield;-moz-appearance:textfield}
.am-checkout-qty-stepper .am-checkout-qty::-webkit-inner-spin-button,.am-checkout-qty-stepper .am-checkout-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:700px){.am-checkout-qty-stepper{height:34px}.am-checkout-qty-btn{width:30px;height:32px;font-size:20px}.am-checkout-item-controls{gap:7px!important}}

/* V7 — premium checkout product-delete confirmation modal. */
body.am-modal-open{overflow:hidden}
.am-checkout-delete-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.am-checkout-delete-modal.is-visible{opacity:1;visibility:visible}
.am-delete-backdrop{position:absolute;inset:0;background:color-mix(in srgb,color-mix(in srgb,var(--dark) 46%,#000) 72%,transparent)}
.am-delete-dialog{position:relative;z-index:1;width:min(100%,420px);padding:30px 28px 24px;border:1px solid rgba(255,255,255,.8);border-radius:22px;background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--green) 3%,#fff) 100%);box-shadow:0 24px 80px color-mix(in srgb,color-mix(in srgb,var(--green) 25%,#000) 24%,transparent);text-align:center;transform:translateY(12px) scale(.97);transition:transform .2s ease}
.am-checkout-delete-modal.is-visible .am-delete-dialog{transform:translateY(0) scale(1)}
.am-delete-icon{width:66px;height:66px;margin:0 auto 15px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:#fff1f1;border:1px solid #ffdada;color:#d83b46;box-shadow:0 8px 22px rgba(216,59,70,.09)}
.am-delete-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.am-delete-dialog h3{margin:0 0 9px;color:color-mix(in srgb,var(--dark) 97%,#fff);font-size:22px;font-weight:800;line-height:1.35}
.am-delete-product-name{margin:0 auto 7px;max-width:330px;color:color-mix(in srgb,var(--dark) 88%,#fff);font-size:14px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.am-delete-note{margin:0 auto 22px;color:#71847d;font-size:13px;line-height:1.6}
.am-delete-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}
.am-delete-actions button{min-height:46px;padding:10px 13px;border-radius:11px;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
.am-delete-cancel{border:1px solid color-mix(in srgb,var(--green) 21%,#fff);background:#fff;color:color-mix(in srgb,var(--dark) 88%,#fff)}
.am-delete-cancel:hover{background:color-mix(in srgb,var(--green) 7%,#fff)}
.am-delete-confirm{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #c9323e;background:linear-gradient(135deg,#e14b55,#c92f3c);color:#fff;box-shadow:0 7px 16px rgba(201,47,60,.18)}
.am-delete-confirm:hover{background:linear-gradient(135deg,#d83c48,#b92330);transform:translateY(-1px)}
.am-delete-confirm svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.am-delete-actions button:focus-visible{outline:3px solid color-mix(in srgb,var(--green) 28%,transparent);outline-offset:3px}
.am-delete-confirm:disabled{opacity:.7;cursor:wait}
@media(max-width:480px){.am-checkout-delete-modal{padding:16px}.am-delete-dialog{padding:25px 19px 19px;border-radius:19px}.am-delete-dialog h3{font-size:20px}.am-delete-actions{grid-template-columns:1fr 1.25fr;gap:8px}.am-delete-actions button{font-size:12px;padding:9px 7px}}
@media(prefers-reduced-motion:reduce){.am-checkout-delete-modal,.am-delete-dialog,.am-delete-actions button{transition:none}}

/* V8 — mobile checkout: remove add-to-cart notice, compact the top, keep the real WooCommerce submit button fixed. */
@media(max-width:700px){
  .checkout-mode .woocommerce-message,
  .checkout-mode .woocommerce-notices-wrapper .woocommerce-message{display:none!important}
  .checkout-mode .woocommerce-notices-wrapper:has(.woocommerce-message:only-child){display:none!important;margin:0!important;padding:0!important}
  .checkout-mode .checkout-head{min-height:0;padding:8px 12px!important;margin:0 -12px!important}
  .checkout-mode .checkout-head .logo{font-size:20px!important;line-height:1.12}
  .checkout-mode .checkout-head .logo small{font-size:9px!important;letter-spacing:3px!important;margin-top:3px}
  .checkout-mode .steps{padding:8px 0 13px!important;margin:0}
  .checkout-mode .steps:before{top:25px!important}
  .checkout-mode .steps b{width:34px!important;height:34px!important;padding:8px!important;margin-bottom:5px!important;font-size:16px!important}
  .checkout-mode .steps div{font-size:10px!important;line-height:1.25}
  .checkout-mode .checkout-layout{gap:9px!important;margin-bottom:12px!important}
  .checkout-mode .checkout-panel{padding:9px!important}
  .checkout-mode .checkout-title{padding:9px!important;margin-bottom:8px!important}
  .checkout-mode .checkout-field{margin-top:13px!important}
  .checkout-mode form.woocommerce-checkout{padding-bottom:94px!important}
  .checkout-mode #place_order{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 10px)!important;
    width:calc(100% - 24px)!important;
    max-width:680px!important;
    margin:0 auto!important;
    float:none!important;
    display:block!important;
    z-index:99990!important;
    min-height:54px!important;
    padding:13px 18px!important;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:15px!important;
    font-size:18px!important;
    line-height:1.25!important;
    box-shadow:0 8px 24px color-mix(in srgb,var(--dark) 28%,transparent),0 2px 7px rgba(0,0,0,.12)!important;
    transform:translateZ(0);
  }
  .checkout-mode #payment .form-row.place-order{padding-bottom:8px!important}
}


/* V9 — compact mobile checkout, outside-Dhaka default, and inline quantity/delete controls. */
@media (max-width:700px) {
  .checkout-mode #app { padding-left:8px!important; padding-right:8px!important; }
  .checkout-head { padding:9px 10px!important; }
  .checkout-head .logo { font-size:20px!important; line-height:1.15; }
  .steps { padding:10px 0 13px!important; }
  .steps:before { top:28px!important; }
  .steps b { width:34px!important; height:34px!important; padding:8px!important; margin-bottom:5px!important; }
  .steps div { font-size:10px!important; }
  .checkout-layout { gap:8px!important; margin-bottom:12px!important; }
  .checkout-panel { padding:8px!important; }
  .checkout-title { padding:8px!important; margin-bottom:8px!important; gap:8px!important; }
  .checkout-title h2 { font-size:19px!important; }
  .checkout-title p { font-size:10px!important; margin-top:2px!important; }
  .checkout-title .symbol { font-size:21px!important; padding:7px!important; }
  .checkout-field { margin-top:11px!important; padding-left:31px!important; font-size:12px!important; }
  .checkout-field b { margin-bottom:5px!important; }
  .checkout-field .field-icon { font-size:19px!important; left:1px!important; top:2px!important; }
  .checkout-field input,.checkout-field textarea { padding:9px 10px!important; font-size:13px!important; border-radius:8px!important; }
  .checkout-field textarea { min-height:62px!important; }
  .shipping-block { margin-top:12px!important; padding:8px!important; }
  .shipping-block h3 { font-size:17px!important; margin-bottom:8px!important; }
  .shipping-options { gap:7px!important; }
  .ship-option { padding:9px 7px!important; gap:5px!important; border-radius:10px!important; }
  .ship-option strong { font-size:19px!important; margin:5px 0!important; }
  .ship-option small { font-size:9px!important; line-height:1.2!important; }
  .checkout-summary .checkout-title { margin-bottom:7px!important; }
  .checkout-item {
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr)!important;
    align-items:start!important;
    gap:8px!important;
    padding:8px!important;
    margin:6px 0!important;
  }
  .checkout-item > img { grid-column:1!important; grid-row:1!important; width:58px!important; height:68px!important; object-fit:contain!important; align-self:start!important; }
  .checkout-item .checkout-item-info { grid-column:2!important; min-width:0!important; width:100%!important; }
  .checkout-item .itemname { font-size:13px!important; line-height:1.35!important; margin:0 0 4px!important; overflow-wrap:anywhere; }
  .checkout-item .itemline { font-size:14px!important; }
  .am-checkout-item-controls {
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    margin-top:7px!important;
    width:100%!important;
  }
  .am-checkout-qty { width:58px!important; min-width:58px!important; height:34px!important; padding:4px!important; font-size:14px!important; }
  .am-checkout-remove { min-width:72px!important; width:auto!important; height:34px!important; padding:5px 9px!important; font-size:11px!important; white-space:nowrap!important; }
  .am-checkout-remove svg { width:14px!important; height:14px!important; }
  .am-checkout-auto-status { display:none!important; }
  .am-checkout-sold-individually { font-size:12px!important; }
  .checkout-cost p { padding:7px 3px!important; margin:0!important; font-size:13px!important; }
  .checkout-total { padding:10px!important; font-size:19px!important; }
  .checkout-trust { padding:12px 0!important; gap:7px!important; font-size:10px!important; }
}

/* ==========================================================
   HEADER v2 — green e-commerce header (top bar / main bar / nav card)
   ========================================================== */
.am-hd{font-family:system-ui,-apple-system,"Segoe UI","Noto Sans Bengali","Hind Siliguri",Arial,sans-serif;position:relative;z-index:50}
.am-hd a{color:inherit;text-decoration:none}
.am-i{width:1.25em;height:1.25em;flex:0 0 auto;display:inline-block;vertical-align:middle}
.am-hd-in{max-width:1440px;margin:0 auto;padding:0 24px}

/* top bar */

/* main bar */
.am-hd-main{background:var(--dark)}
.am-hd-main-in{display:flex;align-items:center;gap:34px}
.am-hd-burger{display:none;background:transparent;color:#fff;padding:6px;border-radius:8px}
.am-hd-burger .am-i{font-size:26px}
.am-hd-logo{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.am-hd-logo-img{max-height:52px;width:auto;display:block}
.am-hd-mark{display:block;width:62px;position:relative}
.am-hd-mark b{display:block;font:italic 900 40px/1 Arial,sans-serif;letter-spacing:-5px;padding-left:3px}
.am-hd-mark svg{display:block;width:62px;height:11px;margin-top:-4px;color:color-mix(in srgb,var(--green) 45%,#fff)}
.am-hd-brand{font-size:27px;font-weight:800;letter-spacing:.5px;line-height:1;white-space:nowrap}
.am-hd-brand small{font-size:15px;font-weight:600;letter-spacing:5px;margin-left:8px;color:color-mix(in srgb,var(--green) 15%,#fff)}
.am-hd-search{flex:1;min-width:0;display:flex;align-items:center;margin:0;background:color-mix(in srgb,#fff 11%,var(--dark));overflow:hidden;border:1px solid color-mix(in srgb,#fff 8%,transparent)}
.am-hd-search-i{margin:0 12px 0 20px;font-size:22px;color:var(--mint)}
.am-hd-search input[type=search]{flex:1;min-width:0;height:100%;background:transparent;border:0;outline:0;color:#fff;font-size:15.5px;padding:0;-webkit-appearance:none}
.am-hd-search input::placeholder{color:color-mix(in srgb,var(--green) 19%,#fff)}
.am-hd-search button{height:100%;padding:0;display:flex;align-items:center;justify-content:center}
.am-hd-search button:hover{background:color-mix(in srgb,var(--green) 89%,#fff)}
.am-hd-search button .am-i{font-size:24px}
.am-hd-tools{display:flex;align-items:center;flex:0 0 auto}
.am-hd-tool{display:flex;align-items:center;gap:8px;position:relative;padding:0 24px;height:40px;white-space:nowrap}
.am-hd-tool+.am-hd-tool:before{content:"";position:absolute;left:0;top:50%;height:36px;margin-top:-18px;border-left:1px solid color-mix(in srgb,#fff 16%,transparent)}
.am-hd-tool:last-child{padding-right:0}
.am-hd-tool .am-i{font-size:28px}
.am-hd-account{font-size:14.5px;font-weight:600}
.am-hd-account .am-i{font-size:28px;opacity:.9}
.am-hd-account .am-hd-chev{font-size:17px}
.am-hd-badge,.am-hd-cart sup{position:absolute;top:-4px;right:12px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;color:#fff;font:700 11px/20px Arial,sans-serif;text-align:center;font-style:normal;vertical-align:baseline}

.am-hd-cart sup{right:-12px}
.am-hd-wish{cursor:default}

/* nav card */
.am-hd-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap;background:#fff;border-radius:18px;box-shadow:0 8px 24px color-mix(in srgb,var(--dark) 8%,transparent);margin:14px 0 6px;padding:11px 12px;row-gap:10px}
.am-hd-dd{position:relative;flex:0 0 auto}
.am-hd-catbtn{display:flex;align-items:center;gap:8px;background:#fff;color:var(--dark);border:1.5px solid var(--green);border-radius:999px;padding:0 14px;height:46px;font-size:14.5px;font-weight:700}
.am-hd-catbtn:hover{background:var(--mint)}
.am-hd-catbtn .am-i{font-size:24px}
.am-hd-catbtn .am-hd-chev{font-size:20px;transition:transform .15s}
.am-hd-dd.open .am-hd-chev{transform:rotate(180deg)}
.am-hd-dd-menu{display:none;position:absolute;top:calc(100% + 8px);left:0;z-index:1000;min-width:230px;max-height:360px;overflow-y:auto;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 14px 30px rgba(0,0,0,.14);padding:6px}
.am-hd-dd.open .am-hd-dd-menu{display:block}
.am-hd-dd-menu a{display:block;padding:10px 14px;border-radius:8px;font-size:14px;font-weight:500;color:var(--dark);white-space:nowrap}
.am-hd-dd-menu a:hover{background:var(--mint)}
.am-hd-links{display:flex;align-items:center;flex-wrap:nowrap;gap:0;margin-left:2px;flex:1 1 auto}
.am-hd-link{display:flex;align-items:center;gap:6px;padding:12px 6px;font-size:13.5px;font-weight:500;color:var(--dark);background:transparent;border-radius:0;position:relative;white-space:nowrap}
.am-hd-link .am-i{font-size:20px;color:var(--dark)}
.am-hd-link:hover{color:var(--green)}
.am-hd-link:hover .am-i{color:var(--green)}
.am-hd-link.is-active{color:var(--green);font-weight:700}
.am-hd-link.is-active .am-i{color:var(--green)}
.am-hd-link.is-active:after{content:"";position:absolute;left:6px;right:6px;bottom:-1px;height:3px;border-radius:3px;background:var(--green)}
.am-hd-others .am-hd-dd-menu{left:auto;right:0}
.am-hd-sep{width:1px;height:34px;background:color-mix(in srgb,var(--green) 25%,#fff);margin:0 2px;flex:0 0 auto}
.am-hd-pills{display:flex;gap:6px;flex:0 0 auto}
.am-hd-pill{display:flex;align-items:center;gap:6px;height:42px;padding:0 12px;border-radius:999px;border:1.5px solid var(--green);color:var(--dark);background:#fff;font-size:13.5px;font-weight:700;white-space:nowrap}
.am-hd-pill .am-i{font-size:20px;color:var(--green)}
.am-hd-pill:hover{background:var(--mint)}
.am-hd-pill.is-fill{background:var(--green);color:#fff}
.am-hd-pill.is-fill .am-i{color:#fff}
.am-hd-pill.is-fill:hover{background:var(--dark)}

.am-hd-mobile{display:none}

@media(max-width:1180px){
  .am-hd-main-in{gap:20px}
  .am-hd-tool{padding:0 14px}
  .am-hd-account span{display:none}
  .am-hd-account .am-hd-chev{display:none}
  .am-hd-sep{display:none}
  .am-hd-pills{margin-left:auto}
}
@media(max-width:700px){
  .am-hd-in{padding:0 12px}
  .am-hd-main-in{grid-template-columns:auto 1fr auto;padding-top:10px;padding-bottom:12px}
  
  
  
  
  
  .am-hd-brand{font-size:19px}
  
  
  
  .am-hd-wish{display:none}
  .am-hd-tool{padding:0 10px}
  .am-hd-tool .am-i{font-size:25px}
  
  
  .am-hd-search-i{margin:0 8px 0 14px;font-size:20px}
  .am-hd-search input[type=search]{font-size:14px}
  
  .am-hd-nav{display:none}
  .am-hd-mobile.open{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:10px 12px;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 10px 20px rgba(0,0,0,.08)}
  .am-hd-mobile a{display:flex;align-items:center;gap:10px;padding:11px 10px;border-radius:10px;font-size:14px;font-weight:600;color:var(--dark);background:color-mix(in srgb,var(--mint) 55%,#fff)}
  .am-hd-mobile .am-i{font-size:20px;color:var(--green)}
}

/* ==========================================================
   Wider layout — use more of large screens (header + content aligned)
   ========================================================== */
@media(min-width:701px){
  .wrap,.am-hd-in{max-width:1680px;padding-left:clamp(20px,3vw,56px);padding-right:clamp(20px,3vw,56px)}
  body.single-product .wrap{max-width:1680px}
}
@media(min-width:1500px){
  .cats{grid-template-columns:repeat(10,minmax(0,1fr))}
  .homegrid{grid-template-columns:repeat(6,minmax(0,1fr))}
}


/* ==========================================================
   AL MAHIR SHOP — B premium main header finish
   Only the middle branding/search row is restyled.
   Top information strip and white navigation remain unchanged.
   ========================================================== */
.am-hd-main{
  background:linear-gradient(112deg,color-mix(in srgb,var(--green) 56%,#000) 0%,color-mix(in srgb,var(--green) 63%,#000) 48%,color-mix(in srgb,var(--green) 54%,#000) 100%);
  color:#fff;
}
.am-hd-main-in{
  min-height:74px;
  gap:clamp(18px,2vw,28px);
}
.am-hd-logo{color:#fff}
.am-hd-mark b{color:#fff}
.am-hd-brand{color:#fff}
.am-hd-brand small{color:color-mix(in srgb,var(--green) 14%,#fff)}
.am-hd-search{
  height:48px;
  background:#fff;
  border:1px solid color-mix(in srgb,var(--green) 15%,#fff);
  border-radius:999px;
  box-shadow:0 3px 12px color-mix(in srgb,color-mix(in srgb,var(--green) 22%,#000) 10%,transparent);
}
.am-hd-search-i{color:color-mix(in srgb,var(--green) 62%,#000);opacity:1}
.am-hd-search input[type=search]{color:color-mix(in srgb,var(--dark) 96%,#fff)}
.am-hd-search input::placeholder{color:#71827b;opacity:1}
.am-hd-search button{
  width:64px;
  background:var(--green);
  color:#fff;
  border-radius:0 999px 999px 0;
}
.am-hd-search button:hover{background:color-mix(in srgb,var(--green) 85%,#000)}
.am-hd-tool{color:#fff}
.am-hd-tool+.am-hd-tool:before{
  border-left-color:color-mix(in srgb,color-mix(in srgb,var(--green) 10%,#fff) 24%,transparent);
}
.am-hd-badge,.am-hd-cart sup{background:color-mix(in srgb,var(--green) 80%,#fff)}
@media(min-width:701px){
  .am-hd-logo-img{max-height:46px}
  .am-hd-mark{width:56px}
  .am-hd-mark b{font-size:36px;letter-spacing:-4.5px}
  .am-hd-mark svg{width:56px}
  .am-hd-brand{font-size:24px}
  .am-hd-brand small{font-size:13px;letter-spacing:4px;margin-left:7px}
}
@media(max-width:700px){
  .am-hd-search{background:#fff}
  .am-hd-search-i{color:color-mix(in srgb,var(--green) 62%,#000)}
  .am-hd-search input[type=search]{color:color-mix(in srgb,var(--dark) 96%,#fff)}
  .am-hd-search input::placeholder{color:#71827b}
  
}

/* ==========================================================
   AL MAHIR SHOP — Premium single product layout (image-led)
   Matches the approved mint / emerald reference while keeping
   WooCommerce gallery, variations, stock, cart and checkout intact.
   ========================================================== */
@media (min-width: 701px) {
  body.single-product .wrap { max-width: 1680px; }
  .am-single-product-premium .am-product-layout{grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr) !important;gap:clamp(28px, 3vw, 46px) !important;margin-top:4px}
}



.am-single-product-premium .woocommerce-product-gallery {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  width: 100% !important;
  opacity: 1 !important;
}
.am-single-product-premium .woocommerce-product-gallery__wrapper {
  order: 1;
  width: 100%;
  height: clamp(390px, 36vw, 540px) !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 46%,#ffffff 0%,color-mix(in srgb,var(--green) 7%,#fff) 48%,color-mix(in srgb,var(--green) 19%,#fff) 100%);
}
.am-single-product-premium .woocommerce-product-gallery__image,
.am-single-product-premium .woocommerce-product-gallery__image a {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none !important;
}

.am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs {
  order: 2;
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  overflow-x: auto;
  list-style: none;
}
.am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 19%;
  width: 19% !important;
  margin: 0 !important;
  float: none !important;
}
.am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: contain;
  padding: 5px;
  border: 1px solid color-mix(in srgb,var(--dark) 13%,#fff);
  border-radius: 14px;
  background: #fff;
  opacity: 1;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs img:hover {
  border: 2px solid color-mix(in srgb,var(--green) 97%,#fff);
  box-shadow: 0 5px 14px color-mix(in srgb,color-mix(in srgb,var(--green) 86%,#000) 10%,transparent);
}
.am-single-product-premium .woocommerce-product-gallery__trigger {
  top: 18px !important;
  right: 18px !important;
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.am-single-product-premium .am-product-details { min-width: 0; }
.am-single-product-premium .am-bestseller-badge{display:inline-flex;align-items:center;gap:8px;border-radius:999px;color:#fff;background:linear-gradient(110deg,color-mix(in srgb,var(--green) 96%,#fff),color-mix(in srgb,var(--green) 89%,#000))}
.am-single-product-premium .am-bestseller-badge span { color: #ffe36b; font-size: 18px; }


.am-single-product-premium .am-product-details h1.product_title{color:color-mix(in srgb,var(--dark) 76%,#000);font-size:clamp(29px,2.4vw,42px) !important}
.am-single-product-premium .am-product-rating-row{display:flex;flex-wrap:wrap;align-items:center;color:color-mix(in srgb,var(--green) 62%,#000)}
.am-single-product-premium .am-rating-stars .star-rating {
  float: none;
  display: inline-block;
  width: 6.2em;
  margin: 0;
  color: #f4a900;
  font-size: 20px;
  vertical-align: middle;
}



.am-single-product-premium .am-rating-divider {
  width: 1px;
  height: 24px;
  margin: 0 8px;
  background: color-mix(in srgb,var(--green) 30%,#fff);
}
.am-single-product-premium .am-original-inline{display:inline-flex;align-items:center}
.am-single-product-premium .am-original-inline b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: color-mix(in srgb,var(--green) 97%,#fff);
}

.am-single-product-premium .am-single-price{display:flex;flex-wrap:wrap;align-items:center;color:var(--green) !important;font-size:clamp(34px,3vw,52px) !important;line-height:1.1}
.am-single-product-premium .am-single-price del { color: #929d98; font-size: .55em; font-weight: 500; }
.am-single-product-premium .am-single-price ins { color: var(--green); text-decoration: none; }
.am-single-product-premium .am-single-price .off{display:inline-flex;align-items:center;border-radius:999px;color:#fff !important;background:#e72d55 !important}

.am-single-product-premium .am-single-trust > div{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid color-mix(in srgb,var(--green) 15%,#fff);background:linear-gradient(145deg,color-mix(in srgb,var(--green) 6%,#fff),color-mix(in srgb,var(--green) 12%,#fff));text-align:center}
.am-single-product-premium .am-trust-icon{line-height:1}
.am-single-product-premium .am-single-trust b { display: block; color: color-mix(in srgb,var(--green) 63%,#000); font-size: 14px; line-height: 1.35; }
.am-single-product-premium .am-single-trust small { display: block; margin-top: 3px; color: #668078; font-size: 10px; line-height: 1.35; }
.am-single-product-premium .am-product-short-desc {
  margin: 0 0 14px;
  padding: 10px 13px;
  border-left: 3px solid color-mix(in srgb,var(--green) 95%,#fff);
  border-radius: 0 9px 9px 0;
  background: color-mix(in srgb,var(--green) 5%,#fff);
  color: #48665b;
  font-size: 13px;
  line-height: 1.65;
}

.am-single-product-premium form.cart,
.am-single-product-premium .woocommerce-variation-add-to-cart{display:grid !important;grid-template-columns:minmax(112px, .8fr) minmax(0,1.4fr) minmax(0,1.4fr) 62px !important;align-items:stretch;margin:15px 0 0 !important}
.am-single-product-premium form.cart .quantity,
.am-single-product-premium .woocommerce-variation-add-to-cart .quantity{grid-column:1 !important;grid-row:1 !important;display:flex !important;align-items:center;justify-content:space-around;width:100% !important;min-width:0;border:1px solid color-mix(in srgb,var(--green) 21%,#fff);background:#fff}
.am-single-product-premium form.cart .quantity input.qty{padding:8px 0;color:color-mix(in srgb,var(--green) 62%,#000)}

.am-single-product-premium .am-buy-now{grid-column:2 / 4 !important;grid-row:1 !important;display:flex !important;align-items:center;justify-content:center;min-width:0;border:0 !important;color:#fff !important;background:linear-gradient(105deg,color-mix(in srgb,var(--green) 96%,#fff),color-mix(in srgb,var(--green) 78%,#000)) !important;box-shadow:0 8px 18px color-mix(in srgb,color-mix(in srgb,var(--green) 88%,#000) 15%,transparent) !important}
.am-single-product-premium .am-single-wishlist{grid-column:4 !important;grid-row:1 !important;padding:0 !important;border:1px solid color-mix(in srgb,var(--green) 21%,#fff) !important;color:color-mix(in srgb,var(--green) 91%,#000) !important;background:#fff !important}
.am-single-product-premium .am-single-wishlist.is-active { color: #e72d55 !important; background: #fff4f6 !important; }
.am-single-product-premium form.cart .single_add_to_cart_button,
.am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button{grid-column:1 / 3 !important;grid-row:2 !important;width:100% !important;min-width:0;margin:0 !important;border:1px solid var(--green) !important;color:color-mix(in srgb,var(--green) 79%,#000) !important;background:#fff !important}
.am-single-product-premium .am-whatsapp{grid-column:3 / 5 !important;grid-row:2 !important;display:flex !important;align-items:center;justify-content:center;width:100% !important;min-width:0;margin:0 !important;border:1px solid color-mix(in srgb,var(--green) 95%,#fff) !important;color:#fff !important;background:var(--green) !important}
.am-single-product-premium .am-whatsapp small { display: block; color: color-mix(in srgb,var(--green) 7%,#fff); font-size: 11px; font-weight: 500; }


@media (max-width: 700px) {
  
  .am-single-product-premium .woocommerce-product-gallery__wrapper { height: min(92vw,430px) !important; border-radius: 15px; }
  .am-single-product-premium .woocommerce-product-gallery__image,
  .am-single-product-premium .woocommerce-product-gallery__image a { height: 100% !important; }
  
  .am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 19%; width: 19% !important; }
  .am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs img { height: 72px; border-radius: 10px; }
  .am-single-product-premium .woocommerce-product-gallery__trigger { top: 12px !important; right: 12px !important; width: 40px !important; height: 40px !important; line-height: 40px !important; }
  
  .am-single-product-premium .am-product-details h1.product_title{line-height:1.2}
  
  
  .am-single-product-premium .am-rating-divider { height: 18px; margin: 0 3px; }
  .am-single-product-premium .am-single-price { margin: 12px 0 15px !important; font-size: 34px !important; }
  .am-single-product-premium .am-single-price .off { padding: 7px 11px; font-size: 13px !important; }
  
  .am-single-product-premium .am-single-trust > div { min-height: 94px; border-radius: 12px; padding: 9px 6px; }
  .am-single-product-premium .am-trust-icon { font-size: 25px; }
  
  
  .am-single-product-premium form.cart,
  .am-single-product-premium .woocommerce-variation-add-to-cart{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important}
  .am-single-product-premium form.cart .quantity,
  .am-single-product-premium .woocommerce-variation-add-to-cart .quantity {
    grid-column: 1 / 3 !important; grid-row: 1 !important;
    width: 100% !important; height: 50px !important;
  }
  .am-single-product-premium .am-single-wishlist { grid-column: 2 !important; grid-row: 1 !important; width: 42px !important; height: 42px !important; justify-self: end; z-index: 2; }
  .am-single-product-premium .am-buy-now { grid-column: 1 / 3 !important; grid-row: 2 !important; height: 56px !important; font-size: 18px !important; }
  .am-single-product-premium form.cart .single_add_to_cart_button,
  .am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button { grid-column: 1 !important; grid-row: 3 !important; height: 56px !important; font-size: 14px !important; }
  .am-single-product-premium .am-whatsapp { grid-column: 2 !important; grid-row: 3 !important; height: 56px !important; font-size: 14px; }
  
}


/* ==========================================================
   AL MAHIR SHOP — single product refinement pass
   ========================================================== */
.am-single-product-premium .am-product-details h1.product_title{font-size:clamp(27px, 1.95vw, 36px) !important;overflow-wrap:anywhere;margin-bottom:10px !important}



.am-single-product-premium .am-single-trust > div {
  min-height: 108px;
  padding: 13px 9px;
  border-radius: 15px;
  background: linear-gradient(145deg,color-mix(in srgb,var(--green) 5%,#fff) 0%,color-mix(in srgb,var(--green) 10%,#fff) 100%);
}
.am-single-product-premium .am-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--green);
  font-size: 0;
}



.am-single-product-premium form.cart .quantity .am-qty-btn{display:inline-flex !important;align-items:center;justify-content:center;border:0 !important;outline:0 !important;box-shadow:none !important;border-radius:8px;background:transparent !important;color:var(--green) !important;line-height:1;-webkit-appearance:none;appearance:none}
.am-single-product-premium form.cart .quantity .am-qty-btn:focus,
.am-single-product-premium form.cart .quantity .am-qty-btn:active {
  outline: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
.am-single-product-premium form.cart .quantity .am-qty-btn:focus-visible {
  outline: 2px solid color-mix(in srgb,var(--green) 43%,#fff) !important;
  outline-offset: 1px;
}
.am-single-product-premium form.cart .quantity input.qty {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center;
  min-width: 32px;
}
.am-single-product-premium .am-buy-now,
.am-single-product-premium .am-single-wishlist,
.am-single-product-premium .am-whatsapp,
.am-single-product-premium form.cart .single_add_to_cart_button {
  align-self: stretch;
  box-sizing: border-box;
}
@media (min-width: 1200px) {
  .am-single-product-premium .am-product-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
    gap: clamp(28px, 3vw, 48px) !important;
  }
  .am-single-product-premium .woocommerce-product-gallery__wrapper {
    height: clamp(420px, 34vw, 520px) !important;
  }
  .am-single-product-premium .woocommerce-product-gallery__image,
  .am-single-product-premium .woocommerce-product-gallery__image a {
    height: 100% !important;
  }
  
}
@media (max-width: 1100px) and (min-width: 701px) {
  .am-single-product-premium .am-product-layout {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 22px !important;
  }
  .am-single-product-premium .am-product-details h1.product_title { font-size: 29px !important; }
  
  .am-single-product-premium form.cart,
  .am-single-product-premium .woocommerce-variation-add-to-cart {
    grid-template-columns: minmax(105px,.75fr) minmax(0,1.5fr) 54px !important;
    grid-template-rows: 58px 60px 60px !important;
  }
  .am-single-product-premium form.cart .quantity { grid-column: 1 !important; grid-row: 1 !important; }
  .am-single-product-premium .am-buy-now { grid-column: 2 / 4 !important; grid-row: 1 !important; }
  .am-single-product-premium .am-single-wishlist { grid-column: 3 !important; grid-row: 2 !important; width: 54px !important; height: 54px !important; }
  .am-single-product-premium form.cart .single_add_to_cart_button { grid-column: 1 / 3 !important; grid-row: 2 !important; }
  .am-single-product-premium .am-whatsapp { grid-column: 1 / 4 !important; grid-row: 3 !important; }
}
@media (max-width: 700px) {
  .am-single-product-premium .am-product-details h1.product_title { font-size: 24px !important; }
  
  .am-single-product-premium form.cart .quantity .am-qty-btn { min-height: 38px; }
}


/* ==========================================================
   AL MAHIR SHOP — refined compact product controls
   ========================================================== */

.am-single-product-premium .am-product-details h1.product_title {
  font-size: clamp(24px, 1.7vw, 31px) !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
  letter-spacing: -.35px !important;
  margin: 0 0 9px !important;
}
.am-single-product-premium .am-bestseller-badge {
  padding: 6px 11px !important;
  margin: 2px 0 8px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}
.am-single-product-premium .am-product-rating-row {
  font-size: 13px !important;
  font-weight: 500 !important;
  gap: 7px !important;
  margin: 8px 0 11px !important;
}
.am-single-product-premium .am-original-inline { gap: 6px !important; font-weight: 600 !important; }

.am-single-product-premium .am-single-price {
  font-size: clamp(31px, 2.45vw, 42px) !important;
  font-weight: 750 !important;
  gap: 12px !important;
  margin: 13px 0 16px !important;
}
.am-single-product-premium .am-single-price .off { padding: 6px 12px !important; font-size: 13px !important; font-weight: 700 !important; }
.am-single-product-premium .am-single-trust { gap: 7px !important; margin: 15px 0 14px !important; }

.am-single-product-premium .am-trust-icon,
.am-single-product-premium .am-trust-icon svg { width: 27px !important; height: 27px !important; }


.am-single-product-premium form.cart,
.am-single-product-premium .woocommerce-variation-add-to-cart {
  grid-template-rows: 52px 54px !important;
  gap: 8px !important;
  margin-top: 12px !important;
}
.am-single-product-premium form.cart .quantity,
.am-single-product-premium .woocommerce-variation-add-to-cart .quantity {
  height: 52px !important;
  border-radius: 11px !important;
}
.am-single-product-premium form.cart .quantity input.qty {
  width: 30px !important;
  font-size: 16px !important;
  font-weight: 650 !important;
}
.am-single-product-premium form.cart .quantity .am-qty-btn {
  min-width: 28px !important;
  min-height: 36px !important;
  padding: 3px 5px !important;
  font-size: 19px !important;
  font-weight: 500 !important;
}
.am-single-product-premium .am-buy-now {
  height: 52px !important;
  border-radius: 11px !important;
  box-shadow: 0 3px 10px color-mix(in srgb,color-mix(in srgb,var(--green) 88%,#000) 10%,transparent) !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  gap: 8px !important;
}
.am-single-product-premium .am-single-wishlist {
  width: 52px !important;
  height: 52px !important;
  border-radius: 11px !important;
  font-size: 23px !important;
  font-weight: 400 !important;
}
.am-single-product-premium form.cart .single_add_to_cart_button,
.am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  height: 54px !important;
  border-radius: 11px !important;
  font-size: 16px !important;
  font-weight: 650 !important;
}
.am-single-product-premium .am-whatsapp {
  height: 54px !important;
  border-radius: 11px !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  gap: 8px !important;
}

@media (max-width: 700px) {
  
  .am-single-product-premium form.cart,
  .am-single-product-premium .woocommerce-variation-add-to-cart { grid-template-rows: 46px 48px !important; gap: 7px !important; }
  .am-single-product-premium form.cart .quantity,
  .am-single-product-premium .woocommerce-variation-add-to-cart .quantity,
  .am-single-product-premium .am-buy-now,
  .am-single-product-premium .am-single-wishlist { height: 46px !important; }
  .am-single-product-premium form.cart .single_add_to_cart_button,
  .am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  .am-single-product-premium .am-whatsapp { height: 48px !important; }
}

/* V6 — tighten the desktop single-product gallery and the gap before tabs.
   Keep the same product image, header, and WooCommerce behavior. */
@media (min-width: 701px) {
  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__wrapper,
  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image,
  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image a{height:390px !important}
  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image img {
    height: 390px !important;
    max-height: 390px !important;
    object-fit: contain !important;
  }
  
}
@media (max-width: 700px) {
  .am-single-product-premium .am-product-information {
    margin-top: 20px !important;
  }
}

/* V7 — balanced, compact desktop product layout.
   Reduces oversized gallery height, keeps gallery thumbnails directly below
   the image, and removes excess vertical space before product information. */
@media (min-width: 701px) {
  .am-single-product-premium .am-product-layout {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) !important;
    gap: clamp(22px, 2.2vw, 34px) !important;
    align-items: start !important;
  }

  .am-single-product-premium .am-product-gallery,
  .am-single-product-premium .am-product-details {
    min-width: 0 !important;
  }

  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__wrapper {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: clamp(350px, 27vw, 410px) !important;
    max-height: 410px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image,
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image a {
    display: block !important;
    height: 100% !important;
    max-height: 410px !important;
  }

  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 410px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
  }

  .am-single-product-premium .am-product-gallery.has-gallery-images .woocommerce-product-gallery .flex-control-thumbs {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .am-single-product-premium .am-product-gallery.has-gallery-images .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 82px !important;
    width: 82px !important;
    margin: 0 !important;
    float: none !important;
  }

  .am-single-product-premium .am-product-gallery.has-gallery-images .woocommerce-product-gallery .flex-control-thumbs img {
    display: block !important;
    width: 82px !important;
    height: 72px !important;
    padding: 4px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
  }

  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__wrapper,
  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image,
  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__image a {
    height: clamp(350px, 27vw, 410px) !important;
    max-height: 410px !important;
  }

  .am-single-product-premium .am-product-information {
    margin-top: 20px !important;
  }

  .am-single-product-premium .am-single-trust {
    gap: 7px !important;
    margin: 13px 0 12px !important;
  }

  .am-single-product-premium .am-single-trust > div {
    min-height: 78px !important;
    padding: 8px 5px !important;
    border-radius: 11px !important;
  }

  .am-single-product-premium .am-trust-icon,
  .am-single-product-premium .am-trust-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  .am-single-product-premium .am-single-trust b { font-size: 11px !important; }
  .am-single-product-premium .am-single-trust small { font-size: 9px !important; }

  .am-single-product-premium form.cart,
  .am-single-product-premium .woocommerce-variation-add-to-cart {
    grid-template-rows: 48px 50px !important;
    gap: 7px !important;
    margin-top: 10px !important;
  }

  .am-single-product-premium form.cart .quantity,
  .am-single-product-premium .woocommerce-variation-add-to-cart .quantity,
  .am-single-product-premium .am-buy-now,
  .am-single-product-premium .am-single-wishlist {
    height: 48px !important;
  }

  .am-single-product-premium .am-buy-now { font-size: 16px !important; }
  .am-single-product-premium .am-single-wishlist { width: 48px !important; font-size: 21px !important; }

  .am-single-product-premium form.cart .single_add_to_cart_button,
  .am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  .am-single-product-premium .am-whatsapp {
    height: 50px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__wrapper,
  .am-single-product-premium .am-product-gallery.no-gallery-images .woocommerce-product-gallery__wrapper,
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image,
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image a {
    height: 340px !important;
    max-height: 340px !important;
  }
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image img {
    height: 340px !important;
    max-height: 340px !important;
  }
}


/* V8 — desktop title wrapping, gallery proportion and compact controls. */
@media (min-width: 1101px) {
  .am-single-product-premium .am-product-layout {
    grid-template-columns: minmax(0, .90fr) minmax(0, 1.10fr) !important;
    gap: clamp(24px, 2.2vw, 36px) !important;
  }
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__wrapper,
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image,
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image a {
    height: clamp(350px, 23vw, 390px) !important;
    max-height: 390px !important;
  }
  .am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image img {
    height: 100% !important;
    max-height: 390px !important;
    object-fit: contain !important;
  }
  .am-single-product-premium .am-product-details h1.product_title {
    font-size: clamp(23px, 1.55vw, 28px) !important;
    line-height: 1.22 !important;
    letter-spacing: -.25px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: pretty;
  }
  .am-single-product-premium .am-single-trust {
    gap: 7px !important;
    margin: 12px 0 11px !important;
  }
  .am-single-product-premium .am-single-trust > div {
    min-height: 76px !important;
    padding: 7px 5px !important;
    border-radius: 10px !important;
  }
  .am-single-product-premium .am-trust-icon,
  .am-single-product-premium .am-trust-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  .am-single-product-premium .am-single-trust b { font-size: 10.5px !important; }
  .am-single-product-premium .am-single-trust small { font-size: 8.5px !important; }
  .am-single-product-premium form.cart,
  .am-single-product-premium .woocommerce-variation-add-to-cart {
    grid-template-rows: 46px 48px !important;
    gap: 7px !important;
    margin-top: 9px !important;
  }
  .am-single-product-premium form.cart .quantity,
  .am-single-product-premium .woocommerce-variation-add-to-cart .quantity,
  .am-single-product-premium .am-buy-now,
  .am-single-product-premium .am-single-wishlist {
    height: 46px !important;
  }
  .am-single-product-premium .am-buy-now { font-size: 15px !important; }
  .am-single-product-premium .am-single-wishlist { width: 46px !important; font-size: 20px !important; }
  .am-single-product-premium form.cart .single_add_to_cart_button,
  .am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  .am-single-product-premium .am-whatsapp {
    height: 48px !important;
    font-size: 14px !important;
    border-radius: 9px !important;
  }
  .am-single-product-premium .am-product-information { margin-top: 26px !important; }
}


/* V9 — pure-white product gallery and narrower purchase controls.
   Preserve button heights, order, labels, links and WooCommerce behavior. */
.am-single-product-premium .am-product-gallery,
.am-single-product-premium .am-product-gallery .woocommerce-product-gallery,
.am-single-product-premium .am-product-gallery .woocommerce-product-gallery__wrapper,
.am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image,
.am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image a,
.am-single-product-premium .am-product-gallery .woocommerce-product-gallery__image img {
  background-color: #fff !important;
}

@media (min-width: 1101px) {
  .am-single-product-premium form.cart,
  .am-single-product-premium .woocommerce-variation-add-to-cart {
    width: min(88%, 760px) !important;
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}


/* V10 — premium, clean WooCommerce product description and specification area.
   Styling only: keeps the original product description, tab behavior and content intact. */

.am-single-product-premium .am-product-information .woocommerce-tabs {
  border: 0 !important;
  margin: 0 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 0 12px !important;
  border: 0 !important;
  background: transparent !important;
}

.am-single-product-premium .am-product-information .woocommerce-tabs ul.tabs li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid color-mix(in srgb,var(--green) 15%,#fff) !important;
  border-radius: 9px !important;
  background: color-mix(in srgb,var(--green) 3%,#fff) !important;
  box-shadow: none !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
}




.am-single-product-premium .am-product-information .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: clamp(20px, 2.4vw, 32px) !important;
  border: 1px solid color-mix(in srgb,var(--dark) 10%,#fff) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 26px color-mix(in srgb,color-mix(in srgb,var(--green) 42%,#000) 4.5%,transparent) !important;
  color: #344b43 !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel > :first-child {
  margin-top: 0 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel > :last-child {
  margin-bottom: 0 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h1,
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h2,
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h3,
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h4 {
  margin: 22px 0 12px !important;
  color: color-mix(in srgb,var(--green) 66%,#000) !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h2 {
  font-size: clamp(19px, 1.5vw, 23px) !important;
}

.am-single-product-premium .am-product-information .woocommerce-tabs .panel p {
  margin: 0 0 14px !important;
  color: #465b53 !important;
  line-height: 1.85 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel ul,
.am-single-product-premium .am-product-information .woocommerce-tabs .panel ol {
  margin: 10px 0 18px !important;
  padding-left: 23px !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel li {
  margin: 5px 0 !important;
  padding-left: 3px !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel li::marker {
  color: color-mix(in srgb,var(--green) 96%,#fff) !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel strong,
.am-single-product-premium .am-product-information .woocommerce-tabs .panel b {
  color: color-mix(in srgb,var(--dark) 95%,#fff) !important;
  font-weight: 700 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel a {
  color: var(--green) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel table {
  width: 100% !important;
  margin: 14px 0 20px !important;
  border: 1px solid color-mix(in srgb,var(--dark) 11%,#fff) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  font-size: 14px !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel th {
  background: color-mix(in srgb,var(--green) 6%,#fff) !important;
  color: color-mix(in srgb,var(--green) 66%,#000) !important;
  font-weight: 700 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel th,
.am-single-product-premium .am-product-information .woocommerce-tabs .panel td {
  padding: 11px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid color-mix(in srgb,var(--dark) 9%,#fff) !important;
  text-align: left !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel tr:last-child td {
  border-bottom: 0 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel blockquote {
  margin: 18px 0 !important;
  padding: 13px 17px !important;
  border-left: 3px solid color-mix(in srgb,var(--green) 96%,#fff) !important;
  border-radius: 0 8px 8px 0 !important;
  background: color-mix(in srgb,var(--green) 5%,#fff) !important;
  color: #35564a !important;
}
@media (max-width: 700px) {
  
  
  
  .am-single-product-premium .am-product-information .woocommerce-tabs .panel {
    padding: 17px !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
  }
  .am-single-product-premium .am-product-information .woocommerce-tabs .panel th,
  .am-single-product-premium .am-product-information .woocommerce-tabs .panel td {
    padding: 9px 10px !important;
    font-size: 12px !important;
  }
}

/* V11 — refined FAQ and product-description presentation. Content remains unchanged. */
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h2 {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  margin: 0 0 22px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid color-mix(in srgb,var(--dark) 9%,#fff) !important;
  color: color-mix(in srgb,var(--green) 66%,#000) !important;
  font-size: clamp(20px, 1.55vw, 24px) !important;
  letter-spacing: -.25px !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h2::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 5px !important;
  width: 5px !important;
  height: 25px !important;
  border-radius: 5px !important;
  background: color-mix(in srgb,var(--green) 96%,#fff) !important;
}
/* FAQ question headings (normally H3) */
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h3 {
  position: relative !important;
  margin: 20px 0 0 !important;
  padding: 15px 18px 12px 45px !important;
  border: 1px solid color-mix(in srgb,var(--green) 14%,#fff) !important;
  border-bottom: 0 !important;
  border-radius: 11px 11px 0 0 !important;
  background: color-mix(in srgb,var(--green) 5%,#fff) !important;
  color: color-mix(in srgb,var(--green) 66%,#000) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h3::before {
  content: "?" !important;
  position: absolute !important;
  left: 15px !important;
  top: 14px !important;
  display: grid !important;
  place-items: center !important;
  width: 21px !important;
  height: 21px !important;
  border-radius: 50% !important;
  background: var(--green) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
/* Answer directly following a question */
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h3 + p {
  margin: 0 0 8px !important;
  padding: 4px 18px 16px 45px !important;
  border: 1px solid color-mix(in srgb,var(--green) 14%,#fff) !important;
  border-top: 0 !important;
  border-radius: 0 0 11px 11px !important;
  background: #fff !important;
  color: #52665e !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h3 + p strong,
.am-single-product-premium .am-product-information .woocommerce-tabs .panel h3 + p b {
  color: color-mix(in srgb,var(--green) 66%,#000) !important;
}
@media (max-width: 700px) {
  .am-single-product-premium .am-product-information .woocommerce-tabs .panel h2 {
    margin-bottom: 16px !important;
    padding-bottom: 11px !important;
  }
  .am-single-product-premium .am-product-information .woocommerce-tabs .panel h3 {
    margin-top: 14px !important;
    padding: 12px 12px 10px 39px !important;
    font-size: 14px !important;
  }
  .am-single-product-premium .am-product-information .woocommerce-tabs .panel h3::before {
    left: 11px !important;
    top: 11px !important;
    width: 20px !important;
    height: 20px !important;
  }
  .am-single-product-premium .am-product-information .woocommerce-tabs .panel h3 + p {
    padding: 3px 12px 13px 39px !important;
    font-size: 13px !important;
  }
}


/* ==========================================================
   Checkout top (compact): notice bar, logo + trust cards, 3-step progress
   ========================================================== */
.checkout-mode .woocommerce-message,.checkout-mode .woocommerce-notices-wrapper .woocommerce-message{display:none!important}
.am-co-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 0 0}
.am-co-logo{display:block;color:color-mix(in srgb,var(--dark) 93%,#fff);text-decoration:none;line-height:1;flex:0 0 auto}



.am-co-trust{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.am-co-card{display:flex;align-items:center;gap:8px;background:#fff;border-radius:9px;padding:7px 12px;min-height:44px;box-shadow:0 3px 10px color-mix(in srgb,var(--dark) 8%,transparent);color:color-mix(in srgb,var(--dark) 93%,#fff);font-size:12px;font-weight:800;line-height:1.2}
.am-co-card .am-i{width:22px;height:22px;color:color-mix(in srgb,var(--dark) 91%,#fff)}
.am-co-card .am-i-cod{width:30px;height:19px}
.am-co-steps{display:flex;align-items:flex-start;max-width:520px;margin:12px auto 0;padding:0 8px 28px}
.am-co-step{position:relative;flex:0 0 38px;width:38px;height:38px}
.am-co-dot{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:15px;font-weight:800;color:#fff;background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--green) 85%,#fff),color-mix(in srgb,var(--dark) 91%,#fff));box-shadow:0 0 0 3px color-mix(in srgb,color-mix(in srgb,var(--dark) 91%,#fff) 12%,transparent),0 3px 8px color-mix(in srgb,color-mix(in srgb,var(--dark) 91%,#fff) 24%,transparent)}


.am-co-label{position:absolute;top:44px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:13px;font-weight:800;color:#8d9894}

.am-co-line{flex:1;height:4px;margin-top:17px;border-radius:4px;background:#cfd4d2}


@media(max-width:700px){
    .am-co-head{flex-direction:column;align-items:center;gap:8px;padding:10px 0 0}
  
  
  
  .am-co-trust{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:5px;width:100%}
  .am-co-card{flex-direction:column;justify-content:center;text-align:center;gap:3px;padding:6px 3px;min-height:48px;font-size:9.5px;border-radius:8px}
  .am-co-card .am-i{width:18px;height:18px}
  .am-co-card .am-i-cod{width:26px;height:16px}
  .am-co-steps{margin-top:10px;padding:0 6px 24px;max-width:340px}
  .am-co-step{flex-basis:30px;width:30px;height:30px}
  .am-co-dot{width:30px;height:30px;font-size:12px}
  .am-co-label{top:35px;font-size:11px}
  .am-co-line{height:3px;margin-top:13px}
}

/* ==========================================================
   MOBILE single product — app-style layout (v15)
   ========================================================== */

.am-whatsapp .am-wa-i{width:28px;height:28px;flex:0 0 auto}
@media(max-width:700px){
  body.single-product .am-single-product-premium .am-single-trust,
  body.single-product .am-single-product-premium .am-product-short-desc,
  body.single-product .am-single-product-premium .am-single-wishlist,
  body.single-product .am-single-product-premium .am-first-review,
  body.single-product .am-single-product-premium .am-rating-divider{display:none!important}

  /* gallery: swipe + dots instead of thumbnails */
  
  body.single-product .am-single-product-premium .woocommerce-product-gallery .flex-control-thumbs li{flex:0 0 10px!important;width:10px!important;height:10px!important;border-radius:10px;background:color-mix(in srgb,var(--dark) 17%,#fff);overflow:hidden;list-style:none;transition:all .2s}
  
  

  /* title + original line */
  
  body.single-product .am-single-product-premium .am-product-rating-row{margin:0 0 12px!important;font-size:15px!important}
  body.single-product .am-single-product-premium .am-original-inline{gap:9px;color:color-mix(in srgb,var(--green) 90%,#000);font-size:15px;font-weight:700}

  /* price row */
  body.single-product .am-single-product-premium .am-single-price{display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:16px!important;margin:0 0 14px!important;padding:0 0 14px;border-bottom:1px solid color-mix(in srgb,var(--dark) 11%,#fff);font-size:32px!important;line-height:1.1}
  
  
  

  /* buttons */
  body.single-product .am-single-product-premium form.cart,
  body.single-product .am-single-product-premium .woocommerce-variation-add-to-cart{grid-template-columns:repeat(20,minmax(0,1fr)) !important;margin:0 0 6px !important}
  body.single-product .am-single-product-premium form.cart .quantity,
  body.single-product .am-single-product-premium .woocommerce-variation-add-to-cart .quantity{grid-column:1/8!important;grid-row:1!important;height:54px!important;border:1.5px solid color-mix(in srgb,var(--dark) 16%,#fff)!important;border-radius:12px!important}
  body.single-product .am-single-product-premium .am-buy-now{grid-column:8/21!important;grid-row:1!important;height:54px!important;border-radius:12px!important;font-size:19px!important;gap:8px;background:color-mix(in srgb,var(--green) 96%,#fff)!important;box-shadow:none!important}
  body.single-product .am-single-product-premium .am-buy-now .am-buy-label{display:inline}
  body.single-product .am-single-product-premium .am-buy-now .am-en,
  body.single-product .am-single-product-premium .am-buy-now .am-bolt{display:none}
  
  body.single-product .am-single-product-premium .am-whatsapp{grid-column:10/21 !important;grid-row:2 !important;background:color-mix(in srgb,var(--green) 96%,#fff) !important;border-color:color-mix(in srgb,var(--green) 96%,#fff) !important;justify-content:center}
  
  

  /* description */
  body.single-product .am-single-product-premium .am-product-information{margin-top:22px!important}
  
  body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:16px!important}
  body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel h2{border-bottom:0!important;padding-bottom:0!important;margin-bottom:12px!important;font-size:21px!important}
  body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel h2::after{content:"";flex:1;height:1px;background:color-mix(in srgb,var(--dark) 13%,#fff)}
  body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel p{font-size:16px!important;line-height:1.7!important;color:#1f2f29!important}
  body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel ul{list-style:none!important;padding-left:0!important;margin:12px 0 16px!important}
  body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel ul li{position:relative;padding:0 0 0 40px!important;margin:0 0 11px!important;min-height:28px;font-size:16px;line-height:1.5;color:#1f2f29}
  body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel ul li::before{content:"";position:absolute;left:0;top:0;width:28px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2318a57c'/%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
}
@media(max-width:700px){
  body.single-product .am-single-product-premium .am-product-rating-row{margin-bottom:4px!important;row-gap:0!important}
  body.single-product .am-single-product-premium .am-single-price{margin-top:0!important}
}

/* v16 — slimmer Add to Cart + WhatsApp buttons (mobile) */
@media(max-width:700px){
  body.single-product .am-single-product-premium form.cart,
  body.single-product .am-single-product-premium .woocommerce-variation-add-to-cart{grid-template-rows:54px 44px!important;gap:8px 10px!important}
  body.single-product .am-single-product-premium form.cart .single_add_to_cart_button,
  body.single-product .am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button{height:44px!important;min-height:0!important;padding:0 8px!important;font-size:15px!important;border-radius:10px!important;line-height:1}
  body.single-product .am-single-product-premium .am-whatsapp{height:44px!important;min-height:0!important;padding:0 8px!important;gap:8px;border-radius:10px!important}
  body.single-product .am-single-product-premium .am-whatsapp .am-wa-i{width:22px;height:22px}
  body.single-product .am-single-product-premium .am-whatsapp span b{font-size:14.5px;line-height:1.05}
  body.single-product .am-single-product-premium .am-whatsapp small{font-size:10px!important;margin-top:1px;line-height:1.05}
}

/* V18 FIX — compact mobile purchase buttons.
   Covers common phone/tablet CSS viewport widths and overrides earlier 60px rules. */
@media screen and (max-width: 900px) {
  body.single-product .am-single-product-premium form.cart .single_add_to_cart_button,
  body.single-product .am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  body.single-product .am-single-product-premium a.am-whatsapp {
    box-sizing: border-box !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 8px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.single-product .am-single-product-premium form.cart .single_add_to_cart_button,
  body.single-product .am-single-product-premium .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  body.single-product .am-single-product-premium a.am-whatsapp {
    gap: 6px !important;
  }
  body.single-product .am-single-product-premium a.am-whatsapp .am-wa-i {
    width: 19px !important;
    height: 19px !important;
    flex: 0 0 19px !important;
  }
  body.single-product .am-single-product-premium a.am-whatsapp span b {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
  }
  body.single-product .am-single-product-premium a.am-whatsapp span small {
    display: block !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
    margin-top: 1px !important;
  }
}


/* ==========================================================
   V19 — Mobile homepage layout repair
   Fixes clipped header controls, cropped hero and empty banner gap.
   Scoped to small screens; desktop and product-page styles stay intact.
   ========================================================== */
@media (max-width: 700px) {
  html, body { max-width: 100%; overflow-x: hidden; }

  /* Keep hamburger, complete logo, account and cart inside the viewport. */
  .am-hd-in { padding-left: 12px !important; padding-right: 12px !important; }
  .am-hd-main-in {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 82px !important;
    grid-template-areas: "burger logo tools" "search search search" !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 12px 12px !important;
  }
  .am-hd-burger { grid-area: burger !important; width: 34px !important; min-width: 34px !important; padding: 4px !important; }
  .am-hd-burger .am-i { font-size: 25px !important; }
  .am-hd-logo {
    grid-area: logo !important;
    display: flex !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 6px !important;
  }
  .am-hd-logo-img { display: block !important; width: auto !important; max-width: 100% !important; max-height: 36px !important; object-fit: contain !important; object-position: left center !important; }
  .am-hd-mark { width: 42px !important; flex: 0 0 42px !important; }
  .am-hd-mark b { font-size: 28px !important; letter-spacing: -4px !important; }
  .am-hd-mark svg { width: 42px !important; }
  .am-hd-brand { min-width: 0 !important; font-size: clamp(14px, 4.5vw, 18px) !important; letter-spacing: 0 !important; white-space: nowrap !important; }
  .am-hd-brand small { font-size: 9px !important; letter-spacing: 2px !important; margin-left: 4px !important; }
  .am-hd-tools {
    grid-area: tools !important;
    display: flex !important;
    width: 82px !important;
    min-width: 82px !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }
  .am-hd-tool { height: 36px !important; min-width: 40px !important; justify-content: center !important; padding: 0 6px !important; }
  .am-hd-tool .am-i { font-size: 23px !important; }
  .am-hd-account { display: flex !important; }
  .am-hd-account span, .am-hd-account .am-hd-chev, .am-hd-wish { display: none !important; }
  .am-hd-cart { min-width: 40px !important; padding-right: 3px !important; }
  .am-hd-cart sup { right: -2px !important; top: -3px !important; }
  .am-hd-search { grid-area: search !important; width: 100% !important; min-width: 0 !important; height: 46px !important; margin: 0 !important; }
  .am-hd-search input[type="search"] { min-width: 0 !important; width: 100% !important; }

  /* Show the complete hero artwork instead of cutting off its Bengali text. */
  body.home #app > .hero,
  body.front-page #app > .hero {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 926 / 253 !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 14px !important;
  }

  /* Compact category shortcuts. */
  #app .cats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 12px 0 14px !important;
  }
  #app .cat {
    display: block !important;
    min-width: 0 !important;
    padding: 7px 2px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px color-mix(in srgb,var(--dark) 4.5%,transparent) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
  }
  #app .cat img { display: block !important; width: 100% !important; height: 52px !important; margin: 0 auto 4px !important; object-fit: contain !important; }

  /* The previous selector hid every banner image, leaving a large blank gap.
     Keep one useful promotional banner visible on phones. */
  #app .banners {
    display: block !important;
    width: 100% !important;
    margin: 12px 0 18px !important;
  }
  #app .banners a { display: none !important; width: 100% !important; }
  #app .banners a:nth-child(2) { display: block !important; }
  #app .banners a:nth-child(2) img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 12px !important;
    object-fit: contain !important;
  }

  /* Make the offer heading and product cards fit the narrow screen cleanly. */
  #app .section-title { gap: 8px !important; margin: 18px 0 12px !important; }
  #app .section-title h2 { min-width: 0 !important; font-size: clamp(17px, 5vw, 20px) !important; line-height: 1.3 !important; }
  #app .section-title > a { flex: 0 0 auto !important; font-size: 12px !important; white-space: nowrap !important; }
  #app .homegrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
  #app .homegrid .card { min-width: 0 !important; padding: 9px !important; border-radius: 13px !important; }
  #app .homegrid .card img { height: 118px !important; object-fit: contain !important; }
  #app .homegrid .card h3 { font-size: 12px !important; line-height: 1.35 !important; }
}

/* ==========================================================
   V20 — SHOP PAGE ONLY: mobile header + compact search + hide shop hero
   Scoped to the WooCommerce shop archive so other pages stay unchanged.
   ========================================================== */
@media (max-width: 700px) {
  body.woocommerce-shop .am-hd-in {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.woocommerce-shop .am-hd-main-in {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: 30px minmax(0, 1fr) 72px !important;
    grid-template-areas: "burger logo tools" "search search search" !important;
    align-items: center !important;
    column-gap: 7px !important;
    row-gap: 8px !important;
    padding: 9px 10px 10px !important;
    min-height: 0 !important;
  }

  body.woocommerce-shop .am-hd-burger {
    grid-area: burger !important;
    display: flex !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 34px !important;
    padding: 3px !important;
    justify-content: center !important;
    align-items: center !important;
  }
  body.woocommerce-shop .am-hd-burger .am-i { font-size: 23px !important; }

  body.woocommerce-shop .am-hd-logo {
    grid-area: logo !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 5px !important;
  }
  body.woocommerce-shop .am-hd-logo-img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 32px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  body.woocommerce-shop .am-hd-mark { width: 38px !important; flex: 0 0 38px !important; }
  body.woocommerce-shop .am-hd-mark b { font-size: 26px !important; letter-spacing: -4px !important; }
  body.woocommerce-shop .am-hd-mark svg { width: 38px !important; }
  body.woocommerce-shop .am-hd-brand { font-size: clamp(13px, 4vw, 16px) !important; letter-spacing: 0 !important; white-space: nowrap !important; }
  body.woocommerce-shop .am-hd-brand small { font-size: 8px !important; letter-spacing: 1.5px !important; margin-left: 3px !important; }

  body.woocommerce-shop .am-hd-tools {
    grid-area: tools !important;
    display: flex !important;
    width: 72px !important;
    min-width: 72px !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }
  body.woocommerce-shop .am-hd-tool {
    display: flex !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 34px !important;
    padding: 0 4px !important;
    justify-content: center !important;
    align-items: center !important;
  }
  body.woocommerce-shop .am-hd-tool .am-i { font-size: 22px !important; }
  body.woocommerce-shop .am-hd-wish,
  body.woocommerce-shop .am-hd-account span,
  body.woocommerce-shop .am-hd-account .am-hd-chev { display: none !important; }
  body.woocommerce-shop .am-hd-account { display: flex !important; }
  body.woocommerce-shop .am-hd-cart { width: 36px !important; min-width: 36px !important; padding: 0 3px !important; }
  body.woocommerce-shop .am-hd-cart sup { right: -1px !important; top: -3px !important; }

  /* Compact search bar: reduce its height, icon, button and input typography. */
  body.woocommerce-shop .am-hd-search {
    grid-area: search !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }
  body.woocommerce-shop .am-hd-search-i {
    flex: 0 0 auto !important;
    margin: 0 7px 0 12px !important;
    font-size: 17px !important;
  }
  body.woocommerce-shop .am-hd-search input[type="search"] {
    min-width: 0 !important;
    width: 100% !important;
    height: 36px !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    line-height: 36px !important;
  }
  body.woocommerce-shop .am-hd-search button {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 38px !important;
    padding: 0 !important;
  }
  body.woocommerce-shop .am-hd-search button .am-i { font-size: 19px !important; }

  /* Remove the large Shop-page promotional banner on mobile only. */
  body.woocommerce-shop #app > .am-premium-shophero,
  body.woocommerce-shop #app > .shophero {
    display: none !important;
  }
  body.woocommerce-shop #app > .am-premium-sort { margin-top: 12px !important; }
}


/* V22 — Cart page auto-update: remove coupon/update controls and their empty spacing. */
body.woocommerce-cart .cart-tools,
body.woocommerce-cart .cart-coupon,
body.woocommerce-cart .woocommerce-cart-form .coupon,
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  display: none !important;
}



/* V23 — Cart quantity stepper: always show both minus and plus controls. */




/* Mobile compact header: Menu | Logo | Search | Cart */
@media(max-width:700px){
 .am-hd{position:relative}
 .am-hd-in{padding-left:9px;padding-right:9px}
 .am-hd-main-in{display:grid;grid-template-columns:34px minmax(0,1fr) 38px 38px;grid-template-areas:"burger logo search cart";align-items:center;gap:5px;min-height:58px;padding:6px 7px}
 .am-hd-burger{grid-area:burger;display:flex;align-items:center;justify-content:center;width:34px;height:36px;padding:3px}
 .am-hd-burger .am-i{font-size:21px}
 .am-hd-logo{grid-area:logo;min-width:0;gap:5px}
 .am-hd-mark{width:35px}
 .am-hd-mark b{font-size:25px;letter-spacing:-3px}
 .am-hd-mark svg{width:35px;height:7px}
 .am-hd-brand{font-size:clamp(13px,3.5vw,17px);letter-spacing:0}
 .am-hd-brand small{font-size:9px;letter-spacing:2px;margin-left:3px}
 .am-hd-logo-img{max-height:29px;max-width:100%;width:auto}
 .am-hd-search{grid-area:search;width:36px;height:36px;min-width:36px;flex:none;overflow:visible;border:0;border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,var(--green) 89%,#000),color-mix(in srgb,var(--green) 56%,#000));box-shadow:0 0 0 1px rgba(160,255,220,.3),0 2px 8px rgba(0,0,0,.2);position:static}
 .am-hd-search-i,.am-hd-search input[type=search],.am-hd-search input[type=hidden]{display:none!important}
 .am-hd-search button{display:flex;width:36px;height:36px;border-radius:50%;padding:0;background:transparent;color:#fff;align-items:center;justify-content:center}
 .am-hd-search button .am-i{font-size:19px}
 .am-hd-search button:hover{background:transparent}
 .am-hd-tools{grid-area:cart;display:flex;justify-content:center;align-items:center;width:38px}
 .am-hd-account,.am-hd-wish{display:none!important}
 .am-hd-cart{display:flex!important;padding:0!important;width:38px;height:36px;justify-content:center;align-items:center}
 .am-hd-cart .am-i{font-size:21px!important}
 .am-hd-cart sup{right:-3px!important;top:-5px!important;min-width:15px;height:15px;padding:0 3px;font-size:9px;line-height:15px}
 .am-hd-tool+.am-hd-tool:before{display:none}
 .am-hd-search.is-expanded{position:absolute;left:8px;right:8px;top:calc(100% - 2px);z-index:1002;width:auto;height:43px;border-radius:24px;background:#fff;border:1px solid color-mix(in srgb,var(--green) 29%,#fff);box-shadow:0 8px 20px rgba(0,0,0,.16);display:flex;padding:0 5px 0 12px}
 .am-hd-search.is-expanded input[type=search]{display:block!important;flex:1;color:color-mix(in srgb,var(--dark) 97%,#fff);font-size:14px;padding:0 8px}
 .am-hd-search.is-expanded input::placeholder{color:#71847d}
 .am-hd-search.is-expanded button{width:34px;height:34px;border-radius:50%;background:var(--green)}
 .am-hd-search.is-expanded .am-hd-search-i{display:none!important}
}

/* V26: force a genuinely compact 4-item mobile header */
@media screen and (max-width:700px){
  header.am-hd .am-hd-main-in{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important;min-height:48px!important;height:48px!important;padding:4px 8px!important;}
  header.am-hd .am-hd-burger{display:flex!important;flex:0 0 29px!important;width:29px!important;height:32px!important;padding:0!important;}
  header.am-hd .am-hd-burger .am-i{font-size:19px!important;}
  header.am-hd .am-hd-logo{display:flex!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow:hidden!important;align-items:center!important;}
  header.am-hd .am-hd-mark{width:30px!important;flex:0 0 30px!important;}
  header.am-hd .am-hd-mark b{font-size:23px!important;}
  header.am-hd .am-hd-brand{font-size:clamp(11px,3.2vw,15px)!important;white-space:nowrap!important;}
  header.am-hd .am-hd-brand small{font-size:8px!important;letter-spacing:1px!important;}
  header.am-hd .am-hd-logo-img{max-width:100%!important;width:auto!important;max-height:25px!important;object-fit:contain!important;}
  header.am-hd .am-hd-search{display:flex!important;position:relative!important;flex:0 0 31px!important;width:31px!important;min-width:31px!important;height:31px!important;margin:0!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;}
  header.am-hd .am-hd-search button.am-mobile-search-trigger{display:flex!important;width:31px!important;height:31px!important;min-width:31px!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:transparent!important;}
  header.am-hd .am-hd-search button .am-i{font-size:17px!important;}
  header.am-hd .am-hd-tools{display:flex!important;flex:0 0 31px!important;width:31px!important;min-width:31px!important;margin:0!important;padding:0!important;justify-content:center!important;}
  header.am-hd .am-hd-account,header.am-hd .am-hd-wish{display:none!important;}
  header.am-hd .am-hd-cart{display:flex!important;width:31px!important;height:31px!important;min-width:31px!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;}
  header.am-hd .am-hd-cart .am-i{font-size:19px!important;}
  header.am-hd .am-hd-cart sup{min-width:13px!important;height:13px!important;line-height:13px!important;font-size:8px!important;right:-2px!important;top:-3px!important;}
  header.am-hd .am-hd-main{padding:0!important;}
  header.am-hd>.am-hd-in{display:none!important;}
  header.am-hd .am-hd-mobile{top:48px!important;}
  header.am-hd .am-hd-search.is-expanded{position:absolute!important;left:8px!important;right:8px!important;top:48px!important;z-index:9999!important;width:auto!important;height:42px!important;min-width:0!important;border-radius:22px!important;background:#fff!important;padding:0 5px 0 12px!important;display:flex!important;overflow:visible!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important;}
  header.am-hd .am-hd-search.is-expanded input[type=search]{display:block!important;flex:1!important;min-width:0!important;color:color-mix(in srgb,var(--dark) 97%,#fff)!important;}
}


/* V27 verified mobile header: force 4-item single row */
@media screen and (max-width:700px){
 html body header.am-hd .am-hd-main-in{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:5px!important;height:50px!important;min-height:50px!important;padding:4px 8px!important;width:100%!important;box-sizing:border-box!important;}
 html body header.am-hd .am-hd-burger{order:1!important;flex:0 0 28px!important;width:28px!important;height:30px!important;display:flex!important;}
 html body header.am-hd .am-hd-logo{order:2!important;flex:1 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;overflow:hidden!important;margin:0!important;}
 html body header.am-hd .am-hd-logo-img{max-height:25px!important;width:auto!important;max-width:100%!important;}
 html body header.am-hd .am-hd-mark{flex:0 0 29px!important;width:29px!important;}
 html body header.am-hd .am-hd-brand{font-size:clamp(10px,3vw,14px)!important;white-space:nowrap!important;}
 html body header.am-hd .am-hd-search{order:3!important;display:flex!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;position:relative!important;margin:0!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;}
 html body header.am-hd .am-hd-search input,html body header.am-hd .am-hd-search .am-hd-search-i{display:none!important;}
 html body header.am-hd .am-hd-search button.am-mobile-search-trigger{display:flex!important;width:32px!important;min-width:32px!important;height:32px!important;padding:0!important;margin:0!important;background:transparent!important;align-items:center!important;justify-content:center!important;}
 html body header.am-hd .am-hd-tools{order:4!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;}
 html body header.am-hd .am-hd-account,html body header.am-hd .am-hd-wish{display:none!important;}
 html body header.am-hd .am-hd-cart{display:flex!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;}
 html body header.am-hd .am-hd-cart .am-i{font-size:19px!important;}
 html body header.am-hd>.am-hd-in{display:none!important;}
 html body header.am-hd .am-hd-main{padding:0!important;margin:0!important;}
 html body header.am-hd .am-hd-search.is-expanded{position:absolute!important;order:initial!important;left:8px!important;right:8px!important;top:50px!important;z-index:99999!important;width:auto!important;height:42px!important;min-width:0!important;display:flex!important;overflow:visible!important;padding:0 5px 0 12px!important;border-radius:22px!important;background:#fff!important;}
 html body header.am-hd .am-hd-search.is-expanded input[type=search]{display:block!important;flex:1 1 auto!important;min-width:0!important;color:color-mix(in srgb,var(--dark) 97%,#fff)!important;}
 html body header.am-hd .am-hd-search.is-expanded button{width:34px!important;height:34px!important;border-radius:50%!important;background:var(--green)!important;}
}

/* V28: breathing room between compact mobile header and homepage hero */
@media screen and (max-width:700px){
  body.home #app > .hero, body.front-page #app > .hero { margin-top:12px !important; }
}

/* Al-Mahir Shop: customizable professional footer */
.am-footer{background:color-mix(in srgb,var(--green) 4%,#fff);border-top:1px solid color-mix(in srgb,var(--dark) 10%,#fff)}
.am-footer-inner{max-width:1280px;margin:0 auto;padding:36px 28px 26px;display:grid;grid-template-columns:1.45fr 1fr 1.2fr 1fr;gap:30px;align-items:start}
.am-footer-brand p{max-width:340px;line-height:1.8;margin:14px 0;color:inherit}
.am-footer-name{display:inline-block;font-size:22px;font-weight:800;color:var(--dark)}
.am-footer-logo .custom-logo{max-width:190px;height:auto}
.am-footer-col h3{margin:0 0 13px;color:var(--dark);font-size:16px;font-weight:800;letter-spacing:-.01em}
.am-footer-col nav ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.am-footer-col nav a,.am-footer-col>a{display:block;color:inherit;text-decoration:none;margin:0 0 9px;line-height:1.6;transition:color .18s ease}.am-footer-col .am-footer-whatsapp{display:inline-flex;align-items:center;gap:7px;margin-top:2px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--dark) 15%,#fff);border-radius:8px;color:var(--dark);font-size:13px;font-weight:700;background:rgba(255,255,255,.55)}.am-footer-col .am-footer-whatsapp:hover{border-color:var(--green);background:#fff}
.am-footer-col a:hover,.am-footer-social a:hover{color:var(--green)}


.am-footer-bottom{border-top:1px solid color-mix(in srgb,var(--dark) 11%,#fff);max-width:1280px;margin:0 auto;padding:14px 28px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}
@media(max-width:900px){.am-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;padding:32px 20px 24px}.am-footer-bottom{padding:15px 20px}}
@media(max-width:520px){.am-footer-inner{grid-template-columns:1fr;gap:22px;padding:28px 16px 20px}.am-footer-brand p{max-width:none}.am-footer-bottom{padding:14px 16px;flex-direction:column;gap:7px}}


/* Al-Mahir Shop v28: dark-green premium footer, desktop + mobile */
.am-footer{background:color-mix(in srgb,var(--green) 56%,#000) !important;border-top:4px solid color-mix(in srgb,var(--green) 78%,#000) !important}

.am-footer .am-footer-name,
.am-footer .am-footer-col h3{color:#fff !important}
.am-footer .am-footer-brand p,
.am-footer .am-footer-col p,
.am-footer .am-footer-col a,
.am-footer .am-footer-bottom{color:rgba(255,255,255,.84) !important}
.am-footer .am-footer-col h3{margin-bottom:16px}

.am-footer .am-footer-col nav a,
.am-footer .am-footer-col>a{display:inline-block;margin:0 0 10px;line-height:1.65;text-decoration:none}
.am-footer .am-footer-col a:hover,
.am-footer .am-footer-social a:hover{color:#fff !important;text-decoration:underline;text-underline-offset:4px}

.am-footer .am-footer-whatsapp:hover{border-color:rgba(255,255,255,.5) !important}


.am-footer .am-footer-bottom{flex-wrap:wrap}
@media(max-width:900px){
 .am-footer .am-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:34px 22px 26px}
 .am-footer .am-footer-brand{grid-column:1/-1;padding:0 0 22px;border-bottom:1px solid rgba(255,255,255,.16)}
 .am-footer .am-footer-brand p{max-width:560px;margin:12px 0 0}
 .am-footer .am-footer-col{padding:0}
 .am-footer .am-footer-bottom{padding:16px 22px}
}
@media(max-width:520px){
 .am-footer{margin-top:26px;border-top-width:3px}
 .am-footer .am-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:28px 16px 18px}
 .am-footer .am-footer-brand{grid-column:1/-1;padding:0 0 22px;margin-bottom:20px}
 .am-footer .am-footer-name{font-size:21px}
 .am-footer .am-footer-logo .custom-logo{max-width:158px}
 .am-footer .am-footer-brand p{font-size:13px;line-height:1.75}
 .am-footer .am-footer-col{padding:0 10px 20px 0;min-width:0}
 .am-footer .am-footer-col h3{font-size:14px;margin-bottom:12px}
 .am-footer .am-footer-col nav ul{gap:8px}
 .am-footer .am-footer-col nav a,
 .am-footer .am-footer-col>a{font-size:12px;line-height:1.6;margin-bottom:8px;overflow-wrap:anywhere}
 .am-footer .am-footer-whatsapp{padding:8px 10px !important;font-size:12px}
 
 
 .am-footer .am-footer-bottom{padding:16px;flex-direction:column;gap:8px;text-align:center;font-size:11px;line-height:1.6}
}

/* Reference-matched premium footer layout */




.am-footer{margin-top:0!important;background:var(--am-footer-bg,color-mix(in srgb,var(--green) 56%,#000))!important;color:var(--am-footer-text,#fff)!important;border:0!important;border-top:0!important;font-size:15px}
.am-footer .am-footer-inner{max-width:1480px;grid-template-columns:1.55fr 1fr 1fr 1fr;gap:42px;padding:48px 30px 40px;align-items:start}
.am-footer .am-footer-brand{min-width:0}
.am-footer .am-footer-name{color:var(--am-footer-text,#fff)!important;font-size:27px;font-weight:850;line-height:1.25;letter-spacing:.01em}
.am-footer .am-footer-logo .custom-logo{max-width:270px;max-height:66px;width:auto;height:auto;object-fit:contain}
.am-footer .am-footer-description{color:var(--am-footer-text,#fff)!important;opacity:.88;max-width:420px;font-size:15px;line-height:1.75;margin:12px 0 24px}
.am-footer .am-footer-col h3{color:var(--am-footer-text,#fff)!important;font-size:17px;font-weight:800;text-transform:uppercase;letter-spacing:.025em;margin:8px 0 20px}
.am-footer .am-footer-col nav ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.am-footer .am-footer-col nav li{margin:0;padding:0}
.am-footer .am-footer-col nav a{display:inline-block;color:var(--am-footer-text,#fff)!important;opacity:.88;font-size:15px;line-height:1.55;margin:0;text-decoration:none;transition:opacity .18s ease,transform .18s ease}
.am-footer .am-footer-col nav a:hover{opacity:1!important;text-decoration:underline;text-underline-offset:4px;transform:translateX(2px)}
.am-footer .am-footer-contact-list{display:grid;gap:18px;margin-top:20px}
.am-footer .am-footer-contact{display:flex;align-items:flex-start;gap:13px;color:var(--am-footer-text,#fff)!important;text-decoration:none;min-width:0}
.am-footer .am-footer-contact-icon{flex:0 0 34px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:27px;line-height:1}
.am-footer .am-footer-contact>span:last-child{display:grid;gap:3px;min-width:0}
.am-footer .am-footer-contact strong{font-size:16px;font-weight:750;line-height:1.35;color:#fff}
.am-footer .am-footer-contact>span:last-child>span{font-size:15px;line-height:1.5;opacity:.9;overflow-wrap:anywhere}
.am-footer .am-footer-address{margin:0;color:#fff!important;opacity:.85;line-height:1.6}
.am-footer .am-footer-bottom{max-width:1480px;margin:0 auto;border-top:1px solid rgba(255,255,255,.2);padding:20px 30px 26px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:14px;color:#fff!important}
.am-footer .am-footer-copyright{display:grid;gap:4px;line-height:1.6;color:#fff!important;opacity:.78}
.am-footer .am-footer-copyright span{color:#fff!important}
.am-footer .am-footer-bottom-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.am-footer .am-footer-whatsapp{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;padding:12px 20px!important;border:0!important;border-radius:999px;background:#20bd63!important;color:#fff!important;font-size:15px;font-weight:750;text-decoration:none;white-space:nowrap}
.am-footer .am-footer-whatsapp:hover{background:#18a955!important;color:#fff!important}
.am-footer .am-footer-social-icon{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid rgba(255,255,255,.8);border-radius:50%;color:#fff!important;font-size:22px;font-weight:700;text-decoration:none;transition:background .18s ease,color .18s ease}
.am-footer .am-footer-social-icon:hover{background:#fff;color:color-mix(in srgb,var(--green) 56%,#000)!important}
@media(max-width:1000px){
 
 
 .am-footer .am-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;padding:38px 24px 32px}
 .am-footer .am-footer-brand{grid-column:1/-1;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.16)}
 .am-footer .am-footer-description{max-width:680px}
 .am-footer .am-footer-bottom{padding:20px 24px 24px}
}
@media(max-width:560px){
 
 
 
 
 .am-footer .am-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:28px 18px 14px}
 .am-footer .am-footer-brand{grid-column:1/-1;padding:0 0 24px;margin:0 0 22px;border-bottom:1px solid rgba(255,255,255,.16)}
 .am-footer .am-footer-name{font-size:23px}
 .am-footer .am-footer-logo .custom-logo{max-width:220px;max-height:56px}
 .am-footer .am-footer-description{font-size:13px;line-height:1.7;margin:10px 0 18px}
 .am-footer .am-footer-contact-list{gap:14px;margin-top:16px}
 .am-footer .am-footer-contact{gap:10px}
 .am-footer .am-footer-contact-icon{flex-basis:28px;width:28px;height:28px;font-size:23px}
 .am-footer .am-footer-contact strong{font-size:13px}
 .am-footer .am-footer-contact>span:last-child>span{font-size:12px}
 .am-footer .am-footer-col{min-width:0;padding:0 10px 24px 0}
 .am-footer .am-footer-col h3{font-size:13px;margin:0 0 13px;line-height:1.4}
 .am-footer .am-footer-col nav ul{gap:10px}
 .am-footer .am-footer-col nav a{font-size:12px;line-height:1.55;overflow-wrap:anywhere}
 .am-footer .am-footer-about{padding-left:8px}
 .am-footer .am-footer-policies{grid-column:1/-1;padding-top:8px;border-top:1px solid rgba(255,255,255,.12)}
 .am-footer .am-footer-policies nav ul{columns:2;display:block;column-gap:18px}
 .am-footer .am-footer-policies nav li{break-inside:avoid;margin:0 0 10px}
 .am-footer .am-footer-policies nav a{font-size:12px}
 .am-footer .am-footer-bottom{padding:18px 16px 24px;flex-direction:column;align-items:center;gap:18px;text-align:center}
 .am-footer .am-footer-copyright{font-size:11px;gap:5px}
 .am-footer .am-footer-bottom-actions{justify-content:center;gap:9px}
 .am-footer .am-footer-whatsapp{padding:10px 16px!important;font-size:13px}
 .am-footer .am-footer-social-icon{width:40px;height:40px;font-size:19px}
}


/* V11 — Premium single-product page refinement (visual layer only). */
body.single-product .am-single-product-premium {
  --am-green:#008b64; --am-deep:#07543f; --am-mint:#effaf5; --am-line:#dceee6;
  color:color-mix(in srgb,var(--dark) 69%,#000);
}
body.single-product .am-single-product-premium .am-product-layout {
  grid-template-columns:minmax(0, .98fr) minmax(0, 1.02fr) !important;
  gap:clamp(24px,3vw,42px) !important;
  align-items:start !important;
}



body.single-product .am-single-product-premium .am-product-details {
  padding:2px 0 0 !important;
}


body.single-product .am-single-product-premium .am-product-rating-row {
  display:flex !important; align-items:center !important; flex-wrap:wrap !important;
  gap:7px 10px !important; margin:0 0 15px !important;
}
body.single-product .am-single-product-premium .am-single-price {
  display:flex !important; align-items:center !important; flex-wrap:wrap !important;
  gap:12px !important; margin:0 0 18px !important;
  color:var(--am-green) !important; font-size:clamp(31px,2.6vw,42px) !important;
  line-height:1.1 !important; font-weight:850 !important;
}



body.single-product .am-single-product-premium .am-single-trust {
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:9px !important; margin:17px 0 16px !important;
}



body.single-product .am-single-product-premium .am-trust-icon,
body.single-product .am-single-product-premium .am-trust-icon svg {width:27px !important;height:27px !important;color:var(--am-green) !important;}
body.single-product .am-single-product-premium .am-product-short-desc {
  margin:14px 0 15px !important; padding:13px 15px !important;
  border-left:3px solid color-mix(in srgb,var(--green) 94%,#fff) !important; border-radius:0 10px 10px 0 !important;
  background:color-mix(in srgb,var(--green) 5%,#fff) !important; color:#52665d !important;
  font-size:14px !important; line-height:1.7 !important;
}
body.single-product .am-single-product-premium form.cart,
body.single-product .am-single-product-premium .woocommerce-variation-add-to-cart {
  width:100% !important; max-width:none !important; margin:16px 0 0 !important;
  gap:9px !important;
}
body.single-product .am-single-product-premium .am-buy-now {
  background:linear-gradient(105deg,color-mix(in srgb,var(--green) 95%,#fff),color-mix(in srgb,var(--green) 77%,#000)) !important;
  box-shadow:0 7px 17px color-mix(in srgb,color-mix(in srgb,var(--green) 90%,#000) 16%,transparent) !important;
  font-weight:800 !important; letter-spacing:.1px !important;
}
body.single-product .am-single-product-premium .am-buy-now:hover {filter:brightness(1.05);transform:translateY(-1px);}
















/* V12 — Reference-inspired premium single-product layout */












body.single-product .am-single-product-premium .am-product-information .woocommerce-tabs .panel{padding:18px!important;margin:0!important}









/* Order card CTA icon refinement */
.am-order-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;}
.am-order-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0;}
.am-order-icon svg{display:block;width:19px;height:19px;}
.am-order-label{line-height:1.35;}
.am-order-arrow{display:inline-flex;align-items:center;line-height:1;font-size:20px;margin-left:2px;}

/* Footer refinement: retain the page-level service strip and remove duplicate footer strip. */
.trust{max-width:1480px;margin:26px auto 30px;padding:0 24px;gap:14px}
.trust div{min-height:70px;display:flex;align-items:center;gap:12px;padding:17px 20px;border:1px solid color-mix(in srgb,var(--green) 15%,#fff);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--green) 8%,#fff),color-mix(in srgb,var(--green) 12%,#fff));color:color-mix(in srgb,var(--dark) 94%,#fff);font-weight:600;box-shadow:0 5px 18px color-mix(in srgb,color-mix(in srgb,var(--green) 55%,#000) 4.5%,transparent)}
.am-footer{border-top:4px solid color-mix(in srgb,var(--green) 94%,#fff)!important}
.am-footer .am-footer-inner{padding-top:44px;padding-bottom:38px}
@media(max-width:1000px){.trust{padding:0 18px;margin:22px auto 26px}}
@media(max-width:560px){.trust{padding:0 12px;margin:18px auto 22px;gap:8px}.trust div{min-height:64px;padding:11px 10px;border-radius:11px;font-size:12px;line-height:1.4}.am-footer .am-footer-inner{padding-top:30px}}

/* AL MAHIR SHOP: concise, premium styling for core content and WooCommerce pages */
body.page:not(.woocommerce-cart):not(.woocommerce-checkout) #app{max-width:1160px;margin:30px auto 48px;padding:0 20px}
body.page:not(.woocommerce-cart):not(.woocommerce-checkout) .am-content{background:#fff;border:1px solid color-mix(in srgb,var(--dark) 10%,#fff);border-radius:18px;padding:clamp(20px,4vw,36px);box-shadow:0 8px 28px color-mix(in srgb,color-mix(in srgb,var(--dark) 95%,#fff) 4.5%,transparent)}
body.page:not(.woocommerce-cart):not(.woocommerce-checkout) .am-content .page-title{margin:0 0 20px;color:color-mix(in srgb,var(--green) 54%,#000);font-size:clamp(24px,3vw,34px);line-height:1.25;font-weight:800;padding-bottom:14px;border-bottom:1px solid color-mix(in srgb,var(--dark) 9%,#fff)}
body.page:not(.woocommerce-cart):not(.woocommerce-checkout) .am-content .entry-content{color:#34443d;line-height:1.8;font-size:16px}
body.page:not(.woocommerce-cart):not(.woocommerce-checkout) .am-content .entry-content h2,body.page:not(.woocommerce-cart):not(.woocommerce-checkout) .am-content .entry-content h3{color:color-mix(in srgb,var(--green) 66%,#000);line-height:1.35;margin:24px 0 10px}
body.page:not(.woocommerce-cart):not(.woocommerce-checkout) .am-content .entry-content a{color:color-mix(in srgb,var(--green) 95%,#000);text-decoration:underline;text-underline-offset:3px}
body.woocommerce-cart #app,body.woocommerce-checkout #app,body.woocommerce-account #app{max-width:1200px;margin:24px auto 46px;padding:0 18px}
body.woocommerce-cart .woocommerce,body.woocommerce-checkout .woocommerce,body.woocommerce-account .woocommerce{color:#253b32}
body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart-collaterals,body.woocommerce-checkout form.checkout,body.woocommerce-account .woocommerce{border:1px solid color-mix(in srgb,var(--dark) 10%,#fff);border-radius:16px;background:#fff;padding:clamp(14px,2.5vw,26px);box-shadow:0 7px 24px color-mix(in srgb,color-mix(in srgb,var(--dark) 95%,#fff) 4%,transparent)}


body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,body.woocommerce-checkout #place_order,body.woocommerce-account button.button,body.woocommerce-account a.button{background:color-mix(in srgb,var(--green) 90%,#000)!important;color:#fff!important;border:0!important;border-radius:11px!important;min-height:48px;font-weight:750!important;box-shadow:0 5px 14px color-mix(in srgb,color-mix(in srgb,var(--green) 87%,#000) 15%,transparent);transition:transform .18s ease,box-shadow .18s ease}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,body.woocommerce-checkout #place_order:hover,body.woocommerce-account button.button:hover,body.woocommerce-account a.button:hover{background:color-mix(in srgb,var(--green) 73%,#000)!important;transform:translateY(-1px);box-shadow:0 7px 18px color-mix(in srgb,color-mix(in srgb,var(--green) 87%,#000) 20%,transparent)}
body.woocommerce-checkout form.checkout .form-row input.input-text,body.woocommerce-checkout form.checkout .form-row textarea,body.woocommerce-account input.input-text{border:1px solid color-mix(in srgb,var(--dark) 14%,#fff);border-radius:9px;min-height:44px;padding:10px 12px}
body.woocommerce-checkout form.checkout .form-row input:focus,body.woocommerce-checkout form.checkout .form-row textarea:focus,body.woocommerce-account input.input-text:focus{outline:2px solid color-mix(in srgb,var(--green) 27%,#fff);outline-offset:1px;border-color:color-mix(in srgb,var(--green) 94%,#000)}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:11px 14px;border-radius:9px;background:color-mix(in srgb,var(--green) 5%,#fff);color:color-mix(in srgb,var(--dark) 92%,#fff);font-weight:650;text-decoration:none}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:color-mix(in srgb,var(--green) 90%,#000);color:#fff}
@media(max-width:600px){body.page:not(.woocommerce-cart):not(.woocommerce-checkout) #app,body.woocommerce-cart #app,body.woocommerce-checkout #app,body.woocommerce-account #app{padding:0 12px;margin:16px auto 30px}body.page:not(.woocommerce-cart):not(.woocommerce-checkout) .am-content{padding:18px;border-radius:14px}body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart-collaterals,body.woocommerce-checkout form.checkout,body.woocommerce-account .woocommerce{padding:12px;border-radius:13px}}

/* Fix Order Now / Bengali order label wrapping on desktop and mobile */
.card a.order{display:flex!important;align-items:center;justify-content:center;gap:8px;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;line-height:1.25;min-height:52px;font-size:clamp(14px,1.2vw,18px);padding:10px 8px!important}
.card a.order *{white-space:nowrap;word-break:keep-all;overflow-wrap:normal}
.am-buy-now,.am-single-product-premium .am-buy-now{white-space:nowrap;word-break:keep-all;overflow-wrap:normal}

@media(max-width:700px){.card a.order{font-size:14px;min-height:48px;padding:9px 5px!important;gap:5px}.am-product-details .am-buy-now{white-space:nowrap;font-size:15px!important;padding:6px 4px!important;gap:4px!important}}

/* MOBILE ONLY: Order Now / Add to Cart / WhatsApp buttons sit right under the price,
   and the 4 trust cards (delivery, original, COD, support) come below the buttons. */
@media (max-width: 700px) {
  .am-single-product-premium .am-product-details { display: flex; flex-direction: column; }
  .am-single-product-premium .am-product-details > * { order: 5; }
  .am-single-product-premium .am-product-details > .am-bestseller-badge { order: 0; align-self: flex-start; }
  .am-single-product-premium .am-product-details > h1.product_title { order: 1; }
  .am-single-product-premium .am-product-details > .am-product-rating-row { order: 2; }
  .am-single-product-premium .am-product-details > .am-single-price { order: 4; }
  .am-single-product-premium .am-product-details > form.cart,
  .am-single-product-premium .am-product-details > .variations_form { order: 5; margin: 0 0 14px !important; }
  .am-single-product-premium .am-product-details > .am-single-trust { order: 6; margin: 4px 0 16px !important; }
  .am-single-product-premium .am-product-details > .am-product-short-desc { order: 7; }
}

/* Promo box now shows the real product name (was hard-coded "Smart Watch") */


/* Promo box now shows the real product name (was hard-coded "Smart Watch") */


/* PC only: checkout qty stepper (- 1 +) and Delete button on the same line.
   The "auto update" note drops to its own line below them. */
@media (min-width: 701px) {
  .checkout-item .am-checkout-item-controls { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
  .checkout-item .am-checkout-item-controls .am-checkout-qty-stepper { order: 1; flex: 0 0 auto; }
  .checkout-item .am-checkout-item-controls .am-checkout-sold-individually { order: 1; flex: 0 0 auto; }
  .checkout-item .am-checkout-item-controls .am-checkout-remove { order: 2; flex: 0 0 auto; margin: 0 !important; width: auto !important; }
  .checkout-item .am-checkout-item-controls .am-checkout-auto-status { order: 3; flex: 0 0 100%; }
}

/* =====================================================================
   ORDER CONFIRMATION (thank-you) PAGE — PC + mobile
   ===================================================================== */






/* hero */




















/* summary chips */






.am-ty-sum .amount,.am-ty-totals .amount,.am-ty-price .amount{font-weight:800}

/* details */
























/* thanks + buttons */














@media(max-width:700px){
  
  
  
  
  
  
  /* summary becomes a single card with rows */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

/* ==========================================================================
   v1.3.7 — WhatsApp (fixed brand colour) + accessibility basics
   ========================================================================== */
:root{--am-wa:#20bd63;--am-wa-hover:#18a955}
/* WhatsApp buttons keep the real WhatsApp green; they never follow the store's main colour. */



.am-footer a.am-footer-whatsapp{background:var(--am-wa)!important;color:#fff!important}
.am-footer a.am-footer-whatsapp:hover{background:var(--am-wa-hover)!important}

/* Screen-reader-only text (WordPress standard) + skip link */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;margin:0;overflow:visible;left:12px;top:12px;z-index:100000;padding:12px 18px;background:#fff;color:var(--dark);border-radius:8px;box-shadow:0 4px 18px rgba(0,0,0,.35);font-weight:700;text-decoration:none}

/* Visible keyboard focus */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--green);outline-offset:2px}
.am-hd-main a:focus-visible,.am-hd-main button:focus-visible,.am-footer a:focus-visible,.am-footer button:focus-visible{outline-color:#fff}
.am-hd-search:has(input:focus-visible){outline:3px solid #fff;outline-offset:2px;border-radius:10px}
.am-single-product-premium form.cart .quantity:has(:focus-visible){outline:3px solid var(--green);outline-offset:2px;border-radius:10px}
