/* Al Maha design system. Brand colors could not be reliably detected from the public site: the palette below is a neutral stand-in. Set the real colors in :root only; nothing else hardcodes color roles. */
:root{
	--am-primary:#1f6f5c;--am-primary-d:#175445;--am-accent:#f2a33a;--am-ink:#1d2433;--am-mute:#5b6577;
	--am-bg:#faf7f2;--am-card:#fff;--am-line:#e7e2d9;--am-sale:#d6455d;
	--am-r:14px;--am-r-s:8px;--am-sh:0 2px 10px rgba(0,0,0,.07);--am-gap:clamp(12px,2vw,24px);--am-wrapw:1360px;
	--am-fs:16px;--am-lh:1.6;
}
.am-wrap{max-width:var(--am-wrapw);margin-inline:auto;padding-inline:16px}
.am-btn,.am-grid .button,.woocommerce .button.alt,.single_add_to_cart_button{background:var(--am-primary);color:#fff;border-radius:999px;padding:.7em 1.4em;font-weight:600;display:inline-block;text-align:center;border:0}
.am-btn:hover,.am-grid .button:hover,.single_add_to_cart_button:hover{background:var(--am-primary-d);color:#fff}

/* Announcement + header */
.am-announce{background:var(--am-primary);color:#fff;text-align:center;font-size:.85rem;padding:6px 12px}
.am-hdr .ct-header,.am-hdr #header,.am-hdr .elementor-location-header{display:none}
.am-ftr .ct-footer,.am-ftr #footer,.am-ftr .elementor-location-footer{display:none}
.am-header{background:#fff;border-bottom:1px solid var(--am-line);position:sticky;top:0;z-index:50}
.am-bar{display:flex;align-items:center;gap:16px;padding-block:10px}
.am-logo{display:block;flex:0 0 auto;max-width:160px}
.am-logo img{max-height:44px;width:auto;display:block}
.am-search{flex:1;min-width:0}
.am-search form{display:flex;margin:0}
.am-search input[type=search]{flex:1;min-width:0;border:1px solid var(--am-line);border-radius:999px;padding:.55em 1em;height:42px}
.am-search button{display:none}
.am-actions{display:flex;align-items:center;gap:6px}
.am-ic{position:relative;width:40px;height:40px;display:grid;place-items:center;font-size:1.25rem;color:var(--am-ink);border-radius:50%}
.am-cart-n{position:absolute;top:0;inset-inline-end:0;min-width:18px;height:18px;border-radius:9px;background:var(--am-accent);color:var(--am-ink);font-size:.7rem;display:grid;place-items:center;font-weight:700}
.am-lang a{padding:4px 8px;font-size:.85rem;color:var(--am-mute)}
.am-lang a[aria-current]{color:var(--am-primary);font-weight:700}
.am-burger{display:none;width:40px;height:40px;border:0;background:none;position:relative}
.am-burger span,.am-burger span::before,.am-burger span::after{content:"";position:absolute;inset-inline:9px;height:2px;background:var(--am-ink)}
.am-burger span{top:19px}.am-burger span::before{top:-7px;inset-inline:0}.am-burger span::after{top:7px;inset-inline:0}
.am-nav{border-top:1px solid var(--am-line)}
.am-nav>.am-wrap>ul{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.am-nav a{display:block;padding:12px 14px;color:var(--am-ink);font-weight:600;font-size:.95rem}
.am-nav li{position:relative}
.am-sub{display:none;position:absolute;inset-inline-start:0;top:100%;min-width:230px;background:#fff;border:1px solid var(--am-line);border-radius:var(--am-r-s);box-shadow:var(--am-sh);list-style:none;margin:0;padding:6px}
.am-nav li:hover>.am-sub,.am-nav li:focus-within>.am-sub{display:block}
.am-sub a{font-weight:500;padding:8px 12px}
@media(max-width:900px){
	.am-burger{display:block}
	.am-bar{flex-wrap:wrap;gap:8px}
	.am-search{order:5;flex:1 0 100%}
	.am-actions{margin-inline-start:auto}
	.am-lang{display:none}
	.am-nav{display:none}
	.am-nav.open{display:block}
	.am-nav>.am-wrap>ul{flex-direction:column}
	.am-sub{display:block;position:static;border:0;box-shadow:none;padding-inline-start:14px}
}

/* Hero */
.am-hero{background:linear-gradient(135deg,var(--am-bg),#fff 60%);padding-block:clamp(28px,6vw,72px)}
.am-hero-in{display:grid;gap:32px;align-items:center;grid-template-columns:1fr}
.am-eyebrow{color:var(--am-primary);font-weight:700;margin:0 0 8px}
.am-hero h1{font-size:clamp(1.8rem,4.5vw,3.2rem);line-height:1.15;margin:0 0 14px;color:var(--am-ink)}
.am-hero p{color:var(--am-mute);max-width:46ch}
.am-hero-art{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.am-hero-art img{aspect-ratio:3/4;object-fit:cover;width:100%;height:auto;border-radius:var(--am-r-s);box-shadow:var(--am-sh)}
@media(min-width:900px){.am-hero-in{grid-template-columns:1fr 1.1fr}}
@media(max-width:600px){.am-hero-art{grid-template-columns:repeat(2,1fr)}}

/* Sections */
.am-section{padding-block:clamp(28px,5vw,56px)}
.am-section:nth-of-type(even){background:var(--am-bg)}
.am-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:20px}
.am-head h2{margin:0;font-size:clamp(1.3rem,2.4vw,1.9rem);color:var(--am-ink)}
.am-more{color:var(--am-primary);font-weight:600;white-space:nowrap}
.am-secondary .am-head h2{font-size:clamp(1.15rem,2vw,1.5rem)}
.am-feature .am-head h2{font-size:clamp(1.5rem,3vw,2.2rem)}
.am-tiles,.am-ages,.am-why,.am-posts{list-style:none;margin:0;padding:0;display:grid;gap:var(--am-gap)}
.am-tiles{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.am-tiles a{display:flex;justify-content:space-between;gap:8px;padding:18px 16px;background:#fff;border:1px solid var(--am-line);border-radius:var(--am-r);color:var(--am-ink);font-weight:600}
.am-tiles a:hover{border-color:var(--am-primary)}
.am-tiles small{color:var(--am-mute)}
.am-ages{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
.am-ages a{display:block;padding:22px 10px;text-align:center;border-radius:var(--am-r);background:var(--am-accent);color:var(--am-ink);font-weight:700}
.am-why{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.am-why li{background:#fff;border-radius:var(--am-r);padding:22px;box-shadow:var(--am-sh)}
.am-why h3{margin:0 0 6px;font-size:1.1rem}.am-why p{margin:0;color:var(--am-mute)}
.am-posts{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.am-posts img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--am-r-s)}
.am-posts h3{font-size:1.05rem;margin:10px 0 0;color:var(--am-ink)}

/* Product cards (homepage grids and archives) */
.am-grid,.am-archive ul.products{display:grid!important;gap:var(--am-gap);grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:0;padding:0}
@media(min-width:768px){.am-grid,.am-archive ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){.am-grid,.am-archive ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1500px){.am-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
li.product{background:var(--am-card);border-radius:var(--am-r);padding:10px;box-shadow:var(--am-sh);display:flex;flex-direction:column;width:auto!important;margin:0!important}
li.product img{aspect-ratio:3/4;object-fit:cover;width:100%;height:auto;border-radius:10px}
li.product .woocommerce-loop-product__title,li.product .woocommerce-loop-product__title a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.95rem;line-height:1.4;min-height:2.8em;color:var(--am-ink)}
li.product .price{font-weight:700;color:var(--am-primary)}
li.product .price del{color:var(--am-mute);font-weight:400}
li.product .onsale{background:var(--am-sale);color:#fff;border-radius:999px;min-height:0;line-height:1.6;padding:2px 10px;font-size:.75rem}
li.product .button{margin-top:auto}

/* Archives */
.am-pills{display:flex;gap:8px;overflow-x:auto;list-style:none;margin:0 0 16px;padding:0 0 6px;scrollbar-width:thin}
.am-pills a{display:block;white-space:nowrap;padding:8px 14px;border:1px solid var(--am-line);border-radius:999px;color:var(--am-ink);background:#fff}
.am-pills a:hover{border-color:var(--am-primary);color:var(--am-primary)}
.am-pills small{color:var(--am-mute)}
.am-filter-toggle{display:none;margin-bottom:12px;padding:8px 16px;border:1px solid var(--am-primary);color:var(--am-primary);background:#fff;border-radius:999px}
.am-more-btn{display:block;margin:28px auto 0;padding:.8em 2em;border-radius:999px;border:1px solid var(--am-primary);background:#fff;color:var(--am-primary);font-weight:600;cursor:pointer}
@media(max-width:900px){
	.am-filter-toggle{display:inline-block}
	.am-archive .ct-sidebar{display:none}
	.am-archive.am-filters-open .ct-sidebar{display:block}
}

/* Single product */
.single-product .single_add_to_cart_button{min-height:48px;padding-inline:2em}
.single-product .quantity{display:inline-flex;margin-inline-end:10px}
.single-product p.price{font-size:1.5rem;color:var(--am-primary)}
.single-product .stock.in-stock{color:var(--am-primary)}.single-product .stock.out-of-stock{color:var(--am-sale)}
.single-product .related h2,.single-product .upsells h2{font-size:1.4rem}

/* Quantity +/- (cart, product, checkout-compatible) */
.am-qty{display:inline-flex;align-items:center;gap:4px}
.am-qty button{width:34px;height:34px;border-radius:50%;border:1px solid var(--am-primary);background:#fff;color:var(--am-primary);font-size:1.2rem;line-height:1;cursor:pointer;padding:0}
.am-qty input.qty{width:56px;text-align:center;-moz-appearance:textfield}
.am-qty input.qty::-webkit-inner-spin-button{display:none}

/* Cart */
.woocommerce-cart-form__cart-item img{width:72px;height:auto;border-radius:var(--am-r-s)}
.cart_totals{background:var(--am-bg);border-radius:var(--am-r);padding:18px}
.wc-proceed-to-checkout .checkout-button{background:var(--am-primary);color:#fff;border-radius:999px;min-height:50px;font-weight:700}
@media(max-width:700px){
	.woocommerce-cart-form .shop_table_responsive tr{border:1px solid var(--am-line);border-radius:var(--am-r-s);margin-bottom:12px;display:block}
}

/* Checkout */
.woocommerce-checkout .col2-set,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--am-line);border-radius:var(--am-r);padding:18px}
.woocommerce-checkout #place_order{width:100%;min-height:52px;background:var(--am-primary);color:#fff;border-radius:999px;font-weight:700}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea{border-radius:var(--am-r-s)}

/* Safety: no horizontal overflow */
body{overflow-x:clip}img{max-width:100%;height:auto}
:focus-visible{outline:2px solid var(--am-primary);outline-offset:2px}

/* Footer */
.am-footer{background:var(--am-ink);color:#d7dbe4;margin-top:40px}
.am-foot-grid{display:grid;gap:28px;padding-block:40px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.am-foot-brand strong{display:block;color:#fff;font-size:1.25rem;margin-bottom:8px}
.am-foot-brand p{margin:0;max-width:34ch}
.am-foot-col h2{color:#fff;font-size:1rem;margin:0 0 12px}
.am-foot-col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.am-foot-col a{color:#d7dbe4}.am-foot-col a:hover{color:#fff;text-decoration:underline}
.am-foot-pay img{max-width:100%;height:auto;background:#fff;border-radius:var(--am-r-s);padding:4px}
.am-foot-copy{border-top:1px solid rgba(255,255,255,.12);padding-block:14px;font-size:.85rem}
