/* صفحة المنتج 1.8.0 — داخل صفحة المنتج فقط (body.aqhpp)، لا يمس الهيدر ولا الفوتر. */
.aqhpp{--pp-ink:#0F2236;--pp-mute:#566779;--pp-line:#DAE3EC;--pp-navy:#003B6F;--pp-tint:#E7EEF6;--pp-gold:#A8833F;--pp-ok:#2F7D4F;--pp-okbg:#E6F2EA;--pp-warnbg:#FBF3E6;--pp-warn:#9A5B12}
.aqhpp .product-designer-bridge{display:none!important}
.aqhpp .product-image-stage{position:relative}
.aqhpp .aqhpp-brand{position:absolute;top:12px;inset-inline-start:12px;z-index:3;display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:var(--pp-tint);color:var(--pp-navy);font-size:13px;font-weight:600;text-decoration:none}
.aqhpp .aqhpp-stock{display:inline-flex;align-items:center;gap:6px;min-height:28px;margin:4px 0 6px;padding:0 10px;border-radius:999px;background:var(--pp-okbg);color:var(--pp-ok);font-size:13px;font-weight:600;line-height:1}
.aqhpp .aqhpp-stock i{width:7px;height:7px;border-radius:50%;background:currentColor}
.aqhpp .aqhpp-stock.is-out{background:#F7E9E7;color:#A33A2E}
.aqhpp .aqhsf-oos{display:none}
.aqhpp .aqhsf-assure-returns{display:none}

.aqhpp .aqhpp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;margin:12px 0;padding:0;list-style:none}
.aqhpp .aqhpp-facts li{border:1px solid var(--pp-line);background:#fff;border-radius:14px;padding:10px 10px 9px;min-width:0;margin:0}
.aqhpp .aqhpp-facts b{display:block;font-size:16px;line-height:1.3;color:var(--pp-navy);font-variant-numeric:tabular-nums}
.aqhpp .aqhpp-facts span{display:block;font-size:12px;color:var(--pp-mute);line-height:1.5}

.aqhpp form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.aqhpp form.cart .single_add_to_cart_button{flex:1;min-height:52px;border-radius:14px}
.aqhpp form.variations_form .single_variation_wrap{flex-basis:100%}
.aqhpp form.variations_form .woocommerce-variation-add-to-cart{display:flex;gap:10px;flex-wrap:wrap}
.aqhpp form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1}

.aqhpp .aqhpp-pay{margin:12px 0 4px}
.aqhpp .aqhpp-pay-logos{display:flex;flex-wrap:wrap;gap:5px}
.aqhpp .aqhpp-pay img{height:22px;width:auto;border-radius:4px;background:#fff;border:1px solid var(--pp-line)}
.aqhpp .aqhpp-pay p{margin:6px 0 0;font-size:13px;color:var(--pp-mute);line-height:1.6}

.aqhpp .aqhpp-dose{margin:14px 0;border-radius:18px;background:#fff;border:1px solid var(--pp-line);padding:16px;display:grid;gap:12px}
.aqhpp .aqhpp-dose h2{margin:0;font-size:18px;line-height:1.4;display:flex;align-items:center;gap:8px;color:var(--pp-ink)}
.aqhpp .aqhpp-dose h2 svg{width:22px;height:22px;fill:none;stroke:var(--pp-gold);stroke-width:1.8;stroke-linejoin:round}
.aqhpp .aqhpp-dose label{font-size:14px;color:var(--pp-mute)}
.aqhpp .aqhpp-dctl{display:flex;align-items:center;gap:10px}
.aqhpp .aqhpp-dctl input[type=range]{flex:1;min-width:0;accent-color:var(--pp-navy)}
.aqhpp .aqhpp-lit{display:flex;align-items:center;border:1px solid var(--pp-line);border-radius:12px;background:#F3F6F9;padding:0 10px;height:44px}
.aqhpp .aqhpp-lit input{width:64px;border:0;background:none;font-size:17px;font-weight:600;color:var(--pp-ink);text-align:center;font-variant-numeric:tabular-nums;padding:0;box-shadow:none}
.aqhpp .aqhpp-lit span{font-size:13px;color:var(--pp-mute)}
.aqhpp .aqhpp-dres{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
.aqhpp .aqhpp-dres div{background:var(--pp-tint);border-radius:12px;padding:10px 12px}
.aqhpp .aqhpp-dres b{display:block;font-size:22px;line-height:1.2;color:var(--pp-navy);font-variant-numeric:tabular-nums}
.aqhpp .aqhpp-dres span{font-size:12px;color:var(--pp-mute)}
.aqhpp .aqhpp-dsrc{margin:0;font-size:12px;color:var(--pp-mute);line-height:1.6}

.aqhpp .aqhpp-details,.aqhpp .aqhpp-similar{margin-top:28px}
.aqhpp .aqhpp-details h2,.aqhpp .aqhpp-similar h2{margin:0 0 12px;font-size:20px;line-height:1.4}
.aqhpp .aqhpp-details details{border:1px solid var(--pp-line);border-radius:16px;background:#fff;margin:0 0 8px}
.aqhpp .aqhpp-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;font-weight:600;font-size:16px;color:var(--pp-ink)}
.aqhpp .aqhpp-details summary::-webkit-details-marker{display:none}
.aqhpp .aqhpp-details summary::after{content:"";margin-inline-start:auto;width:9px;height:9px;border-inline-end:2px solid var(--pp-mute);border-bottom:2px solid var(--pp-mute);transform:rotate(45deg);transition:transform .2s}
.aqhpp .aqhpp-details details[open] summary::after{transform:rotate(-135deg)}
.aqhpp .aqhpp-details .aqhpp-in{padding:0 16px 16px;max-width:68ch;line-height:1.85}
.aqhpp .aqhpp-details .aqhpp-in > :first-child{margin-top:0}
.aqhpp .aqhpp-details .aqhpp-in > :last-child{margin-bottom:0}
.aqhpp .aqhpp-details details.is-warn{background:var(--pp-warnbg);border-color:transparent}
.aqhpp .aqhpp-details details.is-warn summary{color:var(--pp-warn)}

.aqhpp .aqhpp-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,44%);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0;padding:0 0 6px;list-style:none}
.aqhpp .aqhpp-rail li{scroll-snap-align:start;margin:0}
.aqhpp .aqhpp-rail a{display:grid;gap:6px;height:100%;border:1px solid var(--pp-line);border-radius:16px;background:#fff;padding:10px;color:var(--pp-ink);text-decoration:none}
.aqhpp .aqhpp-rail img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;border-radius:10px;background:#fff}
.aqhpp .aqhpp-rail b{font-size:14px;line-height:1.45;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.aqhpp .aqhpp-rail span{font-weight:700;font-variant-numeric:tabular-nums}
.aqhpp .aqhpp-more{display:inline-flex;margin-top:10px;font-weight:600;color:var(--pp-navy)}

.aqhpp-bar{position:fixed;inset:auto 0 0 0;z-index:40;background:#fff;border-top:1px solid #DAE3EC;box-shadow:0 -8px 24px rgb(0 30 54 / 8%);padding-bottom:env(safe-area-inset-bottom,0px);transform:translateY(110%);transition:transform .25s}
.aqhpp-bar.on{transform:none}
.aqhpp-bar-in{display:flex;align-items:center;gap:12px;padding:10px max(16px,env(safe-area-inset-right,0px)) 10px max(16px,env(safe-area-inset-left,0px))}
.aqhpp-bp{display:grid;line-height:1.3;min-width:0}
.aqhpp-bp small{color:#566779;font-size:12px;max-width:44vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aqhpp-bp b{font-size:18px;font-variant-numeric:tabular-nums}
.aqhpp-bp b del{font-size:13px;color:#566779;font-weight:400}
.aqhpp-bar-add{flex:1;min-height:48px;border:0;border-radius:14px;background:#003B6F;color:#fff;font-weight:600;font-size:16px;cursor:pointer}
@media (min-width:900px){.aqhpp-bar{display:none}.aqhpp .aqhpp-rail{grid-auto-columns:minmax(170px,1fr)}}
@media (prefers-reduced-motion:reduce){.aqhpp-bar,.aqhpp .aqhpp-details summary::after{transition:none}}

/* 1.8.1 ملاحظات المالك */
.aqhpp .product_title{font-size:21px!important;line-height:1.35!important;margin-bottom:6px}
@media (min-width:900px){.aqhpp .product_title{font-size:26px!important}}
.aqhpp .flex-control-thumbs{display:flex!important;flex-wrap:nowrap!important;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 0 4px!important;margin:0!important;grid-template-columns:none!important}
.aqhpp .flex-control-thumbs li{flex:0 0 68px!important;width:68px!important;max-width:68px!important;float:none!important;margin:0!important;scroll-snap-align:start}
.aqhpp .flex-control-thumbs img{width:68px!important;height:68px!important;object-fit:cover;border-radius:10px;border:1px solid var(--pp-line)}
.aqhpp .flex-control-thumbs img.flex-active{border-color:var(--pp-navy)}
.aqhpp .aqhpp-pts{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.aqhpp .aqhpp-pts li{position:relative;padding-inline-start:18px;margin:0;line-height:1.75}
.aqhpp .aqhpp-pts li::before{content:"";position:absolute;inset-inline-start:2px;top:.72em;width:6px;height:6px;border-radius:50%;background:var(--pp-navy)}
.aqhpp .is-warn .aqhpp-pts li::before{background:var(--pp-warn)}
.aqhpp .aqhpp-details .aqhpp-in,.aqhpp .aqhpp-pts li{font-size:15px;line-height:1.7}
.aqhpp .aqhpp-pts{gap:6px}
.aqhpp .aqhsf-sbuy{display:none!important}
.aqhpp .summary p.stock{display:none}

/* 1.8.2 الدفع آخر الصفحة بتركيز على التقسيط */
.aqhpp .aqhpp-pay{margin:28px 0 8px;display:grid;gap:10px}
.aqhpp .aqhpp-bnpl{border-radius:18px;background:#fff;border:1px solid var(--pp-line);padding:16px;display:grid;gap:4px}
.aqhpp .aqhpp-bnpl-logos{display:flex;gap:6px;margin-bottom:6px}
.aqhpp .aqhpp-bnpl-logos img{height:28px}
.aqhpp .aqhpp-bnpl-t{margin:0;font-size:18px;font-weight:700;line-height:1.4;color:var(--pp-ink)}
.aqhpp .aqhpp-bnpl-s{margin:0;font-size:14px;color:var(--pp-mute);line-height:1.7}
.aqhpp .aqhpp-bnpl-s b{color:var(--pp-navy);font-size:16px;font-variant-numeric:tabular-nums}
.aqhpp .aqhpp-bnpl-n{margin:4px 0 0;font-size:12px;color:var(--pp-mute)}
.aqhpp .aqhpp-paynow{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:13px;color:var(--pp-mute)}
.aqhpp .aqhpp-paynow span{margin-inline-end:4px}

/* 1.8.3 تقسيط مختصر */
.aqhpp .aqhpp-pay{gap:8px;margin:22px 0 6px}
.aqhpp .aqhpp-bnpl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;border-radius:14px}
.aqhpp .aqhpp-bnpl-logos{display:flex;gap:5px;margin:0}
.aqhpp .aqhpp-bnpl-logos img{height:22px}
.aqhpp .aqhpp-bnpl p{margin:0;font-size:14px;color:var(--pp-ink);line-height:1.5}
.aqhpp .aqhpp-bnpl p b{color:var(--pp-navy);font-variant-numeric:tabular-nums}
.aqhpp .aqhpp-paynow img{height:20px}
