/* NABAT v7.3 — scoped product card/detail enhancement, Arabic-first and accessible. */
.nabat-product-card{border-radius:14px;display:flex;flex-direction:column;min-width:0;overflow:hidden;}
.nabat-product-card>a{display:block;aspect-ratio:1 / 1;background:#f4f1eb;overflow:hidden;}
.nabat-product-card>a img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center;background:#f4f1eb;}
.nabat-product-card .product-info{display:flex;flex-direction:column;flex:1;min-width:0;gap:3px;}
.nabat-product-card .product-info h3{line-height:1.65;overflow-wrap:anywhere;}
.nabat-product-card .product-info p{direction:ltr;text-align:right;overflow-wrap:anywhere;}
.nabat-product-card .product-actions{margin-top:auto;gap:9px;flex-wrap:wrap;align-items:stretch;}
.nabat-product-card .product-actions a,.nabat-product-card .product-actions button{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:43px;padding:9px 12px;line-height:1.5;font-size:13px;font-weight:700;border-radius:9px;white-space:normal;flex:1 1 118px;}
.nabat-product-card .product-actions a{border:1px solid #d6d8d6;background:#fff;color:#252929;}
.nabat-product-card .product-actions button{border:1px solid #252929;background:#252929;color:#fff;}
.nabat-product-card .product-actions button:hover,.nabat-product-ctas .btn.dark:hover{background:#3b4340;color:#fff;}
.nabat-product-card .product-actions a:hover{background:#f5f6f5;}
.nabat-product-card :is(a,button):focus-visible,.nabat-product-detail :is(a,button,input,select):focus-visible{outline:3px solid #a37a42;outline-offset:3px;}
.nabat-product-detail{align-items:start;}
.nabat-product-detail>div{min-width:0;}
.nabat-product-image{display:block;background:#f5f2eb;border:1px solid #ebebe7;border-radius:17px;object-fit:contain!important;max-width:100%;}
.nabat-product-thumbs{scroll-snap-type:x mandatory;padding:4px 0;}
.nabat-product-thumbs button{border-radius:9px;overflow:hidden;min-height:84px;scroll-snap-align:start;}
.nabat-product-thumbs button img{display:block;background:#f5f2eb;}
.nabat-image-note{font-size:11px;line-height:1.8;color:#737573;margin:10px 2px 0;}
.nabat-product-detail .detail-copy h1{font-size:clamp(27px,3vw,42px);margin:8px 0;line-height:1.55;overflow-wrap:anywhere;}
.nabat-product-detail .detail-copy .en{direction:ltr;text-align:right;font-size:16px;line-height:1.8;color:#707473;margin:0 0 16px;}
.nabat-product-detail .product-bilingual{gap:13px;margin:18px 0 22px;}
.nabat-product-detail .product-bilingual section{background:#fff;border:1px solid #e8e9e6;border-right:3px solid #9cae9f;border-radius:11px;padding:15px 16px;}
.nabat-product-detail .product-bilingual section[dir=ltr]{border:1px solid #e8e9e6;border-left:3px solid #9cae9f;text-align:left;direction:ltr;}
.nabat-product-detail .product-bilingual h2{font-size:14px;margin:0 0 7px;}
.nabat-product-detail .product-bilingual p{font-size:14px;line-height:1.95;overflow-wrap:anywhere;color:#555c59;}
.nabat-product-detail .pack-picker{padding:16px;border:1px solid #e5e7e4;border-radius:12px;background:#fff;gap:15px;}
.nabat-product-detail .pack-picker label{flex:1 1 150px;min-width:0;}
.nabat-product-detail .pack-picker :is(input,select){width:100%;min-width:0;border-radius:8px;background:#fff;min-height:46px;}
.nabat-quantity-summary{font-size:13px;color:#455a4b;background:#eef4ed;border:1px solid #dde7dd;padding:10px 13px;margin:0 0 13px;border-radius:9px;line-height:1.7;}
.nabat-product-ctas{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;margin-top:8px;}
.nabat-product-ctas button{flex:1 1 185px;min-height:48px;border-radius:9px;line-height:1.65;text-align:center;white-space:normal;padding:11px 17px;}
@media(max-width:850px){.nabat-product-detail{gap:26px;}}
@media(max-width:620px){.nabat-product-card .product-info{padding:12px 10px;}.nabat-product-card .product-actions a,.nabat-product-card .product-actions button{font-size:12px;min-height:43px;padding:8px 7px;}.nabat-product-detail .product-bilingual section{padding:13px;}.nabat-product-detail .detail-copy h1{font-size:28px;}.nabat-product-ctas{flex-direction:column;}.nabat-product-ctas button{width:100%;flex-basis:auto;}.nabat-product-detail .pack-picker{padding:12px;}}
@media(prefers-reduced-motion: reduce){.nabat-product-card{transition:none!important;}}
