/* Add custom CSS styles below */
/* DRMOVE 2026-11-21: product description shows 2 lines then inline read-more link with lime highlight */
.product__description.has-read-more-cls{position:relative}
/* DRMOVE 2026-11-21: collapse height by description format: no heading = 2 lines, h3 heading = heading + 2 lines, bold heading paragraph = as before */
.product__description:has(#btn-show-more:not(.is-expanded)) article{max-height:4.5rem!important}
.product__description:has(#btn-show-more:not(.is-expanded)) article:has(>h3:first-child){max-height:6.875rem!important}
.product__description:has(#btn-show-more:not(.is-expanded)) article:has(>p:first-child>strong:only-child){max-height:8rem!important}
.product__description #btn-show-more:not(.is-expanded){position:absolute;left:1.5rem;bottom:.5rem;z-index:1;isolation:isolate;display:inline-block;width:auto;margin:0;padding:0 .25rem 0 0;border:0;line-height:1.75rem;font-weight:800;font-size:1.05em;color:#11462C!important;background:#fff;box-shadow:1.75rem 0 1rem .25rem #fff}
.product__description #btn-show-more:not(.is-expanded)::before{content:'…  ';font-weight:400;color:#555}
.product__description #btn-show-more:not(.is-expanded)::after{content:'';position:absolute;left:0;right:.25rem;bottom:.2rem;height:.6rem;background:#F4EFAF;z-index:-1}
.product__description #btn-show-more.is-expanded{display:none}
/* DRMOVE 2026-11-21: product page structure v2: order, delivery line, installment carousel, unified buy card, mobile sticky bar, duplicates hidden */
html body .prod-main-content{display:flex;flex-direction:column}
html body .prod-main-content>*{order:40;min-width:0;max-width:100%}
html body .prod-main-content>.product-form~*{order:40}
html body .prod-main-content>h1.product-main-title{order:1}
html body .prod-main-content>.product-category-name{order:2}
html body .prod-main-content>.p-price-outer{order:3;flex-wrap:wrap}
html body .prod-main-content>.p-available-badge{order:4}
html body .prod-main-content>salla-installment{order:10}
html body .prod-main-content>.product-banners{order:12;margin-top:1rem}
html body .prod-main-content>.product__description{order:30}
html body .prod-main-content>.product-tags-wrapper{order:31}
html body .prod-main-content>.product-form{order:34}
html body .prod-main-content>.p-share{order:90}
html body .prod-main-content>.product-sku-wrapper{order:91}
html body .prod-main-content>salla-verified-review{display:none}
@media(min-width:768px){html body .prod-main-content>.product-form{order:20}html body .prod-main-content>.product-banners{order:35;margin-top:1.5rem}html body .sticky-product-bar .sticky-product-bar__price{display:none}}
html body .prod-main-content>.p-price-outer::after{content:'توصيل خلال 20 دقيقة داخل الأحياء المشمولة في الرياض.\A شحن مجاني للطلبات فوق 249 ريالًا.';white-space:pre-line;flex:0 0 100%;margin-top:.6rem;padding:.6rem .85rem;background:#EDF5F0;border-radius:12px;font-size:.85rem;line-height:1.75;color:#1c2b22;font-weight:500}
html body .prod-main-content>salla-installment{display:flex!important;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;margin-top:.6rem;scrollbar-width:none;align-items:stretch}
html body .prod-main-content>salla-installment::-webkit-scrollbar{display:none}
html body .prod-main-content>salla-installment>div{flex:0 0 84%;scroll-snap-align:start;margin:0!important}
html body .prod-main-content>salla-installment>div>*{height:100%}
html body .product-form .p-pay-m-wrapper{display:none}
html body .product-faqs .faq-container:has(.faq-item:nth-child(3)) .faq-item:nth-child(2){display:none}
html body .p-single-container~.similar-products,html body .p-single-container~* .similar-products{display:none}
html body.product-single .container--breadcrumbs .s-breadcrumb-wrapper{flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
html body.product-single .container--breadcrumbs .s-breadcrumb-wrapper>li:nth-last-of-type(-n+2){display:none}
@media(max-width:767px){html body .sticky-product-bar{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:10px}html body .sticky-product-bar .p-quan-container{flex:0 0 auto!important;width:auto!important;display:flex;flex-direction:row-reverse;align-items:center;gap:10px}html body .sticky-product-bar .sticky-product-bar__quantity{margin:0!important}html body .sticky-product-bar salla-add-product-button{margin:0!important;flex:1 1 0!important;width:auto!important;min-width:0}html body .sticky-product-bar .sticky-product-bar__price .before-price{display:none!important}}
@media(min-width:768px){html body .prod-main-content>salla-installment{background:#F4F7F5;border:1px solid #dfe7e2;border-bottom:0;border-radius:16px 16px 0 0;padding:12px 12px 10px;margin:.75rem 0 0;scrollbar-width:thin}html body .prod-main-content>salla-installment::-webkit-scrollbar{display:block;height:6px}html body .prod-main-content>salla-installment::-webkit-scrollbar-thumb{background:#92CAAF;border-radius:3px}html body .prod-main-content>salla-installment>div{flex-basis:62%}html body .prod-main-content>.product-form{margin-top:0!important}html body .prod-main-content>.product-form .sticky-product-bar{background:#F4F7F5!important;border:1px solid #dfe7e2;border-top:0;border-radius:0 0 16px 16px!important;padding:6px 12px 14px!important;display:flex;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:12px;margin:0!important}html body .sticky-product-bar .p-quan-container{flex:0 0 auto!important;width:auto!important;margin:0!important}html body .sticky-product-bar .sticky-product-bar__quantity{margin:0!important}html body .sticky-product-bar .sticky-product-bar__quantity label{display:none}html body .sticky-product-bar salla-add-product-button{flex:1 1 0!important;margin:0!important;min-width:0}}
/* DRMOVE 2026-11-21: yellow ad bar hidden on all store pages (owner decision); checkout page is outside theme CSS */
html body salla-advertisement{display:none!important}
/* DRMOVE 2026-11-21: loyalty points card under delivery box, only on products in the 8 point-eligible root categories (not medicines) */
html body.product-single:has(.s-breadcrumb-wrapper a[href*="c646224275"],.s-breadcrumb-wrapper a[href*="c1112459165"],.s-breadcrumb-wrapper a[href*="c364528537"],.s-breadcrumb-wrapper a[href*="c1736925850"],.s-breadcrumb-wrapper a[href*="c829260187"],.s-breadcrumb-wrapper a[href*="c1777337759"],.s-breadcrumb-wrapper a[href*="c1561841637"],.s-breadcrumb-wrapper a[href*="c1004348568"]) .prod-main-content::before{content:'\1F381   تكسب نقطة عن كل ريال في هذا المنتج';order:5;margin-top:.6rem;padding:.65rem .9rem .1rem;background:#F4EFAF;border:1.5px solid #11462C;border-bottom:0;border-radius:12px 12px 0 0;color:#11462C;font-weight:800;font-size:.95rem;line-height:1.7}
html body.product-single:has(.s-breadcrumb-wrapper a[href*="c646224275"],.s-breadcrumb-wrapper a[href*="c1112459165"],.s-breadcrumb-wrapper a[href*="c364528537"],.s-breadcrumb-wrapper a[href*="c1736925850"],.s-breadcrumb-wrapper a[href*="c829260187"],.s-breadcrumb-wrapper a[href*="c1777337759"],.s-breadcrumb-wrapper a[href*="c1561841637"],.s-breadcrumb-wrapper a[href*="c1004348568"]) .prod-main-content::after{content:'أول طلب لك؟ 100 نقطة هدية.\A 200 نقطة تساوي خصم 5 ريال على طلب 99 ريالًا فأكثر.';white-space:pre-line;order:6;padding:.1rem .9rem .65rem;background:#F4EFAF;border:1.5px solid #11462C;border-top:0;border-radius:0 0 12px 12px;color:#1c2b22;font-weight:500;font-size:.82rem;line-height:1.75}
/* DRMOVE 2026-11-21: product brand (logo + name) moved above the product title */
html body .prod-main-content>.product-brand-wrapper{order:0;margin:0 0 .35rem!important;padding:0!important;min-height:0;gap:.5rem}html body .prod-main-content>.product-brand-wrapper .product-brand{width:auto!important;height:auto!important}html body .prod-main-content>.product-brand-wrapper .brand-logo img{height:28px;width:auto}html body .prod-main-content>.product-brand-wrapper .product-brand-inner-name{color:#11462C;font-weight:700;margin:0}
/* DRMOVE 2026-11-21: description heading added only when the description text has no heading of its own; smaller gap under trust banner on mobile */
@media(max-width:767px){html body .prod-main-content>.product-banners{margin-bottom:1rem!important}}html body .prod-main-content>.product__description:not(:has(article>h3:first-child,article>p:first-child>strong:only-child))::before{content:'الوصف';display:block;font-weight:800;font-size:1.05rem;color:#11462C;margin:0 0 .15rem}
/* DRMOVE 2026-11-21: product subtitle (offer clarification) placed under the product title */
html body .prod-main-content>.product-entry__sub-title{order:1;margin:-.2rem 0 .45rem!important;color:#4b5a51!important;font-size:.9rem;font-weight:500;line-height:1.6}
/* DRMOVE 2026-11-22: category icons row (dm-cats): green frame around each icon; row title hidden on mobile to shorten the row */
html body .dm-cats .banner-entry{border:2px solid #11462C;box-sizing:border-box}@media(max-width:767px){html body .dm-cats .s-slider-block__title{display:none!important}}
/* DRMOVE 2026-11-22: category icons row (dm-cats): empty space under the row reduced (slider bottom padding 48px to 12px) */
html body .dm-cats .swiper-wrapper{padding-bottom:12px!important}