/* Product Experience V2 */
/* Summary purchase tools */
.single-product .woocommerce-breadcrumb{font-size:.78rem;line-height:1.4}
.single-product .als-product-quick-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:.7rem 0 1rem}
.als-product-quick-spec{min-width:0;padding:.65rem .75rem;border:1px solid rgba(100,7,77,.1);border-radius:12px;background:#faf8f9;box-shadow:none!important;transform:none!important}
.als-product-quick-spec span,.als-product-quick-spec strong{display:block}
.als-product-quick-spec span{margin-bottom:.14rem;color:var(--als-muted);font-size:.69rem;font-weight:700}
.als-product-quick-spec strong{overflow:hidden;color:var(--als-ink);font-size:.82rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.als-product-quick-spec.is-positive strong{color:#167c4b}
.als-product-quick-spec.is-negative strong{color:#a12b2b}

.als-product-quantity-tools{display:flex;flex:1 0 100%;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;margin-top:.65rem}
.als-quantity-presets{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.als-quantity-presets>span{color:var(--als-muted);font-size:.72rem;font-weight:800}
.als-qty-preset{min-width:34px;height:32px;padding:0 .5rem;border:1px solid rgba(100,7,77,.16);border-radius:8px;background:#fff;color:var(--als-brand);font-size:.75rem;font-weight:900}
.als-qty-preset.is-active{border-color:var(--als-brand);background:var(--als-brand-soft)}
.als-live-line-total{display:flex;align-items:baseline;gap:.35rem;padding:.35rem .55rem;border-radius:8px;background:#f4fbf7}
.als-live-line-total span{color:var(--als-muted);font-size:.68rem;font-weight:700}
.als-live-line-total strong{color:#167c4b;font-size:.82rem;font-weight:900}

.als-product-bulk-panel{margin:.85rem 0;padding:.85rem;border:1px solid rgba(215,155,54,.25);border-radius:14px;background:#fffaf0;box-shadow:none!important}
.als-product-bulk-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.als-product-bulk-head span,.als-product-bulk-head strong{display:block}
.als-product-bulk-head>div>span{color:#826121;font-size:.69rem;font-weight:800}
.als-product-bulk-head>div>strong{color:var(--als-ink);font-size:.9rem}
.als-product-bulk-badge{padding:.25rem .5rem;border-radius:999px;background:#f3dfae;color:#62470f;font-size:.65rem;font-weight:900;white-space:nowrap}
.als-product-bulk-panel p{margin:.6rem 0;color:var(--als-muted);font-size:.75rem;line-height:1.7}
.als-product-bulk-panel>a{color:var(--als-brand);font-size:.76rem;font-weight:900}
.als-bulk-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin-top:.65rem}
.als-bulk-tier-grid>div{padding:.55rem;border:1px solid rgba(215,155,54,.22);border-radius:10px;background:#fff}
.als-bulk-tier-grid span,.als-bulk-tier-grid strong{display:block;font-size:.7rem}
.als-bulk-tier-grid strong{margin-top:.12rem;color:#167c4b;font-weight:900}

.als-product-trust-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;margin:.75rem 0 0}
.als-product-trust-strip span{display:flex;align-items:center;gap:.35rem;color:var(--als-muted);font-size:.69rem;font-weight:700}
.als-product-trust-strip i{display:inline-flex;flex:0 0 18px;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#eef8f3;color:#167c4b;font-size:.66rem;font-style:normal;font-weight:900}

/* Product decision, FAQ and completion sections */
.als-product-section-heading{margin:0 0 1rem}
.als-product-section-heading>span{display:block;margin-bottom:.2rem;color:var(--als-brand);font-size:.72rem;font-weight:900}
.als-product-section-heading h2{margin:0;color:var(--als-ink);font-size:clamp(1.25rem,2vw,1.65rem);font-weight:900}
.als-product-section-heading p{max-width:700px;margin:.35rem 0 0;color:var(--als-muted);font-size:.83rem;line-height:1.75}
.single-product div.product>.als-product-decision-section,
.single-product div.product>.als-product-faq-section,
.single-product div.product>.als-complete-order-section,
.single-product div.product>.als-recently-viewed-section{
	grid-column:1 / -1 !important;
	grid-row:auto !important;
	width:100% !important;
	max-width:100% !important;
	min-width:0;
	margin:0 !important;
	clear:both;
	align-self:stretch;
	justify-self:stretch;
}
.als-product-decision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.als-product-decision-card{padding:1rem;border:1px solid var(--als-border);border-radius:15px;background:#fff;box-shadow:none!important;transform:none!important}
.als-product-decision-card.is-yes{border-inline-start:3px solid #198754}
.als-product-decision-card.is-no{border-inline-start:3px solid #c38b20}
.als-product-decision-card h3{margin:0 0 .65rem;font-size:.95rem;font-weight:900}
.als-product-decision-card ul{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}
.als-product-decision-card li{position:relative;padding-inline-start:1.25rem;color:var(--als-muted);font-size:.8rem;line-height:1.65}
.als-product-decision-card li:before{position:absolute;inset-inline-start:0;color:#198754;content:"✓";font-weight:900}
.als-product-decision-card.is-no li:before{color:#c38b20;content:"!"}

.als-product-faq-list{display:grid;gap:.6rem}
.als-product-faq-list details{overflow:hidden;border:1px solid var(--als-border);border-radius:12px;background:#fff;box-shadow:none!important}
.als-product-faq-list summary{position:relative;padding:.85rem 2.7rem .85rem .9rem;cursor:pointer;list-style:none;color:var(--als-ink);font-size:.84rem;font-weight:900}
.als-product-faq-list summary::-webkit-details-marker{display:none}
.als-product-faq-list summary:before{position:absolute;inset-inline-start:.85rem;top:50%;width:24px;height:24px;border-radius:50%;background:var(--als-brand-soft);color:var(--als-brand);content:"+";line-height:24px;text-align:center;transform:translateY(-50%)}
.als-product-faq-list details[open] summary:before{content:"−"}
.als-product-faq-list details p{margin:0;padding:0 .9rem .9rem;color:var(--als-muted);font-size:.8rem;line-height:1.8}

.als-complete-order-grid,.als-recently-viewed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
.als-complete-order-card,.als-recently-viewed-card{overflow:hidden;border:1px solid var(--als-border);border-radius:14px;background:#fff;box-shadow:none!important;transform:none!important}
.als-complete-order-image,.als-recently-viewed-card>a:first-child{display:block;aspect-ratio:1/1;overflow:hidden;background:#faf8f9}
.als-complete-order-image img,.als-recently-viewed-card img{width:100%;height:100%;object-fit:cover}
.als-complete-order-body,.als-recently-viewed-body{padding:.8rem}
.als-complete-order-body{display:flex;min-height:154px;flex-direction:column}
.als-complete-order-body h3,.als-recently-viewed-body h3{margin:0 0 .45rem;font-size:.82rem;line-height:1.5;font-weight:900}
.als-complete-order-body h3 a,.als-recently-viewed-body h3 a{color:var(--als-ink)}
.als-complete-order-price,.als-recently-viewed-price{margin-bottom:.7rem;color:var(--als-brand);font-size:.82rem;font-weight:900}
.als-recently-viewed-price{display:flex;flex-wrap:wrap;align-items:center;gap:.38rem}
.als-recently-viewed-price del{color:var(--als-muted);font-size:.72rem;font-weight:700;opacity:.7}
.als-recently-viewed-price ins{color:var(--als-brand);font-weight:900;text-decoration:none}
.als-recently-viewed-grid.is-single{grid-template-columns:minmax(0,720px);justify-content:center}
.als-recently-viewed-grid.is-single .als-recently-viewed-card{display:grid;grid-template-columns:220px minmax(0,1fr);width:100%;max-width:720px}
.als-recently-viewed-grid.is-single .als-recently-viewed-body{display:flex;flex-direction:column;justify-content:center;padding:1rem 1.15rem}
.als-recently-viewed-grid.is-double{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;margin-inline:auto}
.als-complete-order-card .button{display:inline-flex!important;width:100%!important;min-height:44px!important;margin-top:auto!important;padding:.65rem .85rem!important;align-items:center;justify-content:center;border:1px solid var(--als-brand)!important;border-radius:10px!important;background:var(--als-brand)!important;color:#fff!important;box-shadow:none!important;font-size:.78rem!important;font-weight:900!important;line-height:1.2!important;text-align:center;text-decoration:none!important;transform:none!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease!important}
.als-complete-order-card .button:hover,.als-complete-order-card .button:focus-visible{border-color:var(--als-brand-dark)!important;background:var(--als-brand-dark)!important;color:#fff!important;transform:none!important}
.als-complete-order-card .button.loading{cursor:wait;opacity:.68}
.als-complete-order-card .button.added{border-color:#167c4b!important;background:#167c4b!important;color:#fff!important}
.als-complete-order-card .added_to_cart{display:inline-flex!important;width:100%!important;min-height:42px!important;margin-top:.45rem!important;padding:.58rem .8rem!important;align-items:center;justify-content:center;gap:.4rem;border:1px solid rgba(100,7,77,.22)!important;border-radius:10px!important;background:#fff!important;color:var(--als-brand)!important;box-shadow:none!important;font-size:.74rem!important;font-weight:900!important;line-height:1.2!important;text-align:center;text-decoration:none!important;transform:none!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease!important}
.als-complete-order-card .added_to_cart:before{content:"←";display:inline-flex;align-items:center;justify-content:center;font-size:.82rem;line-height:1;font-weight:900}
.als-complete-order-card .added_to_cart:hover,.als-complete-order-card .added_to_cart:focus-visible{border-color:var(--als-brand)!important;background:var(--als-brand-soft)!important;color:var(--als-brand-dark)!important;outline:none!important;transform:none!important}
.als-complete-order-card .added_to_cart:focus-visible{box-shadow:0 0 0 3px rgba(100,7,77,.10)!important}

/* Reviews dashboard */
.als-review-dashboard{display:grid;grid-template-columns:150px minmax(240px,1fr);gap:1.2rem;align-items:center;margin-bottom:1.25rem;padding:1rem;border:1px solid var(--als-border);border-radius:14px;background:#faf8f9}
.als-review-score{text-align:center}
.als-review-score>strong{color:var(--als-ink);font-size:2.2rem;line-height:1;font-weight:900}
.als-review-score>span,.als-review-score>small{display:block;color:var(--als-muted);font-size:.7rem}
.als-review-stars{margin:.35rem 0;color:#d79b36;letter-spacing:.08em}
.als-review-bars{display:grid;gap:.3rem}
.als-review-bars button{display:grid;grid-template-columns:56px 1fr 24px;gap:.45rem;align-items:center;width:100%;padding:0;border:0;background:transparent;color:var(--als-muted);font-size:.68rem;text-align:start}
.als-review-bars i{display:block;height:6px;overflow:hidden;border-radius:99px;background:#ece7ea}
.als-review-bars b{display:block;height:100%;border-radius:inherit;background:#d79b36}
.als-review-bars em{font-style:normal;text-align:end}
.als-review-filter-actions{display:flex;grid-column:1/-1;flex-wrap:wrap;gap:.4rem}
.als-review-filter-actions button{padding:.38rem .65rem;border:1px solid var(--als-border);border-radius:999px;background:#fff;color:var(--als-muted);font-size:.7rem;font-weight:800}
.als-review-filter-actions button.is-active{border-color:var(--als-brand);color:var(--als-brand);background:var(--als-brand-soft)}
#reviews .commentlist>li.is-filtered-out{display:none!important}

/* Native WooCommerce gallery enhancement */
.single-product .woocommerce-product-gallery{position:relative}
.single-product .woocommerce-product-gallery:after{position:absolute;top:.7rem;right:auto;bottom:auto;left:3.65rem;z-index:5;padding:.3rem .55rem;border:1px solid rgba(100,7,77,.12);border-radius:999px;background:rgba(255,255,255,.92);color:var(--als-brand);content:"تكبير الصورة";font-size:.66rem;font-weight:900;line-height:1.2;pointer-events:none;white-space:nowrap}
.single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin-top:.6rem!important}
.single-product .flex-control-thumbs li{width:auto!important;float:none!important}
.single-product .flex-control-thumbs img{width:100%!important;aspect-ratio:1/1;border:1px solid var(--als-border);border-radius:10px;object-fit:cover}

/* Sticky commerce bar */
.als-sticky-product-bar{position:fixed;inset:auto 50% 14px auto;z-index:1040;width:min(860px,calc(100% - 24px));border:1px solid rgba(100,7,77,.14);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(35,20,30,.10);transform:translateX(50%)}
.als-sticky-product-bar[hidden]{display:none!important}
.als-sticky-product-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem .7rem}
.als-sticky-product-info{display:flex;min-width:0;align-items:center;gap:.65rem}
.als-sticky-product-info img{flex:0 0 50px;width:50px;height:50px;border-radius:10px;object-fit:cover}
.als-sticky-product-info>div{min-width:0}
.als-sticky-product-info strong{display:block;overflow:hidden;max-width:420px;color:var(--als-ink);font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}
.als-sticky-product-info span{color:var(--als-brand);font-size:.76rem;font-weight:900}
.als-sticky-product-info [data-als-sticky-price]{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.als-sticky-product-info [data-als-sticky-price] del{color:var(--als-muted);font-size:.68rem;font-weight:700;opacity:.65}
.als-sticky-product-info [data-als-sticky-price] ins{color:var(--als-brand);font-weight:900;text-decoration:none}
.als-sticky-product-actions{display:flex;align-items:center;gap:.45rem}
.als-sticky-product-actions input{width:64px;height:40px;border:1px solid var(--als-border);border-radius:9px;text-align:center}
.als-sticky-product-actions button{min-height:40px;padding:.55rem 1rem;border:0;border-radius:9px;background:var(--als-brand);color:#fff;font-size:.76rem;font-weight:900}


/* Delivery governorate selector */
.als-delivery-location{margin:0 0 .55rem}
.als-delivery-location label{display:block;margin-bottom:.22rem;color:var(--als-muted);font-size:.67rem;font-weight:800}
.als-delivery-location select{width:100%;min-height:38px;padding:.35rem .55rem;border:1px solid rgba(100,7,77,.14);border-radius:9px;background:#fff;color:var(--als-ink);font-size:.76rem}
.als-delivery-route[hidden]{display:none!important}
.als-delivery-location-status{display:block;margin-top:.2rem;color:#167c4b;font-size:.65rem;font-weight:800}

/* FAQ contained in editorial description */
.woocommerce-Tabs-panel--description .als-inline-faq{display:grid;gap:.55rem;margin:1rem 0}
.woocommerce-Tabs-panel--description .als-inline-faq details{border:1px solid var(--als-border);border-radius:10px;background:#fff}
.woocommerce-Tabs-panel--description .als-inline-faq summary{padding:.7rem .8rem;cursor:pointer;font-weight:900}
.woocommerce-Tabs-panel--description .als-inline-faq p{margin:0;padding:0 .8rem .8rem}

@media(max-width:991.98px){
	.als-complete-order-grid,.als-recently-viewed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:575.98px){
	.single-product .als-product-quick-specs{gap:.4rem}
	.als-product-quantity-tools{align-items:stretch;flex-direction:column}
	.als-live-line-total{justify-content:space-between}
	.als-product-trust-strip{grid-template-columns:1fr}
	.als-product-decision-grid{grid-template-columns:1fr}
	.als-bulk-tier-grid{grid-template-columns:1fr}
	.als-complete-order-grid,.als-recently-viewed-grid{gap:.55rem}
	.als-recently-viewed-grid.is-single,.als-recently-viewed-grid.is-double{grid-template-columns:1fr;max-width:none;margin-inline:0}
	.als-recently-viewed-grid.is-single .als-recently-viewed-card{grid-template-columns:1fr;max-width:none}
	.als-recently-viewed-grid.is-single .als-recently-viewed-body{padding:.8rem}
	.als-review-dashboard{grid-template-columns:1fr}
	.als-sticky-product-bar{inset:auto 0 0 auto;width:100%;border-right:0;border-bottom:0;border-left:0;border-radius:14px 14px 0 0;transform:none}
	.als-sticky-product-inner{padding:.55rem .65rem max(.55rem,env(safe-area-inset-bottom))}
	.als-sticky-product-info img{width:42px;height:42px;flex-basis:42px}
	.als-sticky-product-info strong{max-width:36vw;font-size:.7rem}
	.als-sticky-product-actions input{display:none}
	.als-sticky-product-actions button{padding-inline:.8rem}

	.single-product .woocommerce-product-gallery:after{display:none}
	.single-product div.product>.als-product-decision-section,.single-product div.product>.als-product-faq-section,.single-product div.product>.als-complete-order-section,.single-product div.product>.als-recently-viewed-section{width:100%!important;max-width:100%!important;margin:0!important}
}

@media(prefers-reduced-motion:reduce){
	.als-sticky-product-bar,.als-product-quick-spec,.als-product-bulk-panel,.als-product-decision-card,.als-complete-order-card,.als-recently-viewed-card{transition:none!important}
}


