/* V9 – Celia (Barllina style) */
:root{--v9-dark:#2B2B2B;--v9-gold:#d8b484;--v9-text:#231f1e}
/* hero sticks to header */
main>section.advanced-slider:first-of-type,main>section:nth-child(2).advanced-slider{margin-top:0!important}
/* section titles: gold box behind first letters */
html body .s-slider-block__title{border:0!important;align-items:center!important;margin-bottom:18px!important}
html body .s-slider-block__title::after,html body .s-slider-block__title::before,html body .s-slider-block__title-right::after{display:none!important}
html body .s-slider-block__title-right{border:0!important}
html body .s-slider-block__title h2,html body .square-links__title,html body .v9-why-title{display:inline-block;font-size:26px!important;font-weight:800!important;color:var(--v9-text)!important;padding:4px 10px 0 0!important;border:0!important;background:linear-gradient(var(--v9-gold),var(--v9-gold)) no-repeat right 70%/32px 34px!important}
html body .s-slider-block__title h2::before,html body .s-slider-block__title h2::after{display:none!important}
html body .s-slider-block__display-all{font-size:14px;color:#6b6b6b!important;text-decoration:underline;text-underline-offset:4px}
.home-block-line{display:none!important}
.square-links__subtitle{margin-top:6px!important;font-size:15px!important}
/* categories: small boxes */
html body .square-links__grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:22px 26px!important;max-width:900px;margin-inline:auto}
html body .square-links__item{width:96px}
html body .square-links__image-wrap{width:96px;height:96px;border-radius:12px!important;background:#f5efe6}
html body .square-links__image-wrap img{width:96px!important;height:96px!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:12px!important}
html body .square-links__item-title{font-size:14px!important;font-weight:600!important;margin-top:8px!important}
/* store features: dark capsules strip */
html body .s-block--enhanced-features:not(.v9-why) .enhanced-features__grid{display:flex!important;justify-content:center;gap:12px!important;overflow-x:auto;scrollbar-width:none}
html body .s-block--enhanced-features:not(.v9-why) .s-block--enhanced-features__item{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;flex:0 0 auto;background:var(--v9-dark)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:10px 20px!important;min-height:0!important;box-shadow:none!important}
html body .s-block--enhanced-features:not(.v9-why) .s-block--enhanced-features__item>div.absolute,html body .s-block--enhanced-features:not(.v9-why) .s-block--enhanced-features__item p{display:none!important}
html body .s-block--enhanced-features:not(.v9-why) .feature-icon{margin:0!important;width:auto!important;height:auto!important;background:none!important;color:var(--v9-gold)!important;font-size:18px}
html body .s-block--enhanced-features:not(.v9-why) .s-block--enhanced-features__item h2{margin:0!important;font-size:14px!important;font-weight:600!important;color:#fff!important;white-space:nowrap}
/* why V9 cards */
html body .v9-why .enhanced-features__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.v9-why-head{text-align:center;margin-bottom:22px}
.v9-why-head p{color:#6b6b6b;margin-top:6px;font-size:15px}
/* product card */
html body custom-salla-product-card.product-card{border:0!important;box-shadow:none!important;background:transparent!important}
html body custom-salla-product-card .product-card__image{aspect-ratio:295/550;height:auto!important;border-radius:6px;overflow:hidden;position:relative}
html body custom-salla-product-card .product-card__image img{height:100%!important;object-fit:cover}
html body custom-salla-product-card .product-card__buttons{display:none!important}
html body custom-salla-product-card .product-card__addToCart{display:block!important;position:absolute!important;inset:auto 0 0 0!important;width:100%!important;height:auto!important;z-index:3;opacity:1!important;visibility:visible!important;transform:none!important}
html body custom-salla-product-card .product-card__addToCart button{width:100%!important;height:42px!important;border-radius:0!important;background:var(--v9-dark)!important;background-image:linear-gradient(var(--v9-dark),var(--v9-dark))!important;border:0!important;color:#fff!important;-webkit-text-fill-color:#fff;font-size:14px!important;font-weight:600}
html body custom-salla-product-card.v9-added .product-card__addToCart button{background:#2e7d4f!important;background-image:linear-gradient(#2e7d4f,#2e7d4f)!important;font-size:0!important}
html body custom-salla-product-card.v9-added .product-card__addToCart button::before{content:"✓ تمت الإضافة للسلة";font-size:14px;color:#fff}
html body custom-salla-product-card .product-card__content{padding:10px 4px 0!important;text-align:center}
html body custom-salla-product-card .product-card__title a{color:var(--v9-text)!important;font-weight:600}
/* product page */
html body .s-product-options-option-label b{color:#111!important;font-weight:800;font-size:16px}
html body .s-product-options-grid-mode{gap:8px!important;display:flex;flex-wrap:wrap}
html body .s-product-options-grid-mode label{width:52px!important;height:44px!important;margin:0!important}
html body .s-product-options-grid-mode-span{width:52px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center;border:1px solid #b5b5b5!important;border-radius:6px!important;font-weight:800!important;font-size:15px!important;color:#111!important;background:#fff!important}
html body .s-product-options-grid-mode input:checked+.s-product-options-grid-mode-span{background:#111!important;background-image:linear-gradient(#111,#111)!important;border-color:#111!important;color:#fff!important;-webkit-text-fill-color:#fff}
html body .s-product-options-grid-mode input:disabled+.s-product-options-grid-mode-span{opacity:.4;text-decoration:line-through}
html body.product-single salla-add-product-button button.s-button-primary,html body.product-single salla-add-product-button .s-button-solid{background:#090909!important;background-image:linear-gradient(#090909,#090909)!important;border-color:#090909!important;color:#fff!important;-webkit-text-fill-color:#fff}
.v9-desc{position:relative;max-height:190px;overflow:hidden}
.v9-desc::after{content:"";position:absolute;inset:auto 0 0 0;height:50px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.v9-desc.v9-open{max-height:none}.v9-desc.v9-open::after{display:none}
.v9-more{display:inline-block;margin:6px 0 14px;font-weight:700;color:#111;text-decoration:underline;text-underline-offset:4px;cursor:pointer;background:none;border:0}
.v9-pdp-strip{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;background:#000;color:#fff;font-size:14px;padding:10px 12px;margin-bottom:16px}
/* hide blog in menu */
html body li.main-menu__desktop-item:has(>a.blog-link),html body li.main-menu__item:has(>a[href$="/blog"]){display:none!important}
/* category page */
@media (max-width:767px){
 html body .s-block--enhanced-features:not(.v9-why) .enhanced-features__grid{justify-content:flex-start;padding-bottom:4px}
 html body .v9-why .enhanced-features__grid{grid-template-columns:1fr!important}
 html body .s-slider-block__title h2,html body .square-links__title,html body .v9-why-title{font-size:20px!important}
 html body .square-links__grid{gap:16px 14px!important}
 html body .square-links__item,html body .square-links__image-wrap,html body .square-links__image-wrap img{width:84px!important}
 html body .square-links__image-wrap,html body .square-links__image-wrap img{height:84px!important}
 html body .v9-pdp-strip{gap:14px;font-size:12.5px}
}/* announcement bar dark */
html body .s-advertisement{background:#2B2B2B!important;background-color:#2B2B2B!important;color:#fff!important}
html body .s-advertisement *{color:#fff!important}
/* installments banner width */
html body section[component-id="854686136"]{max-width:1200px;margin-inline:auto!important}
html body .s-block--enhanced-features:not(.v9-why) .feature-icon i{font-size:20px!important}
html body .s-block--enhanced-features:not(.v9-why) .feature-icon img,html body .s-block--enhanced-features:not(.v9-why) .feature-icon svg{width:22px!important;height:22px!important}
/* cards: clean image, equal heights */
html body custom-salla-product-card .product-card__actions{display:none!important}
html body custom-salla-product-card .product-card__image{flex:0 0 auto!important;width:100%}
html body custom-salla-product-card .product-card__title a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* category page title */
html body h1.product-index__title{display:inline-block;font-size:26px!important;font-weight:800!important;color:var(--v9-text)!important;padding:4px 10px 0 0!important;background:linear-gradient(var(--v9-gold),var(--v9-gold)) no-repeat right 70%/32px 34px!important}
@media (max-width:767px){
 html body h1.product-index__title{font-size:20px!important}
 html body .square-links__item-title{font-size:12.5px!important;white-space:nowrap}
 html body .s-block--enhanced-features:not(.v9-why) .s-block--enhanced-features__item{padding:8px 14px!important}
 html body .s-block--enhanced-features:not(.v9-why) .s-block--enhanced-features__item h2{font-size:13px!important}
}/* ads container fits visible bars */
html body salla-advertisement{height:auto!important;max-height:none!important}/* tabby banner full width + translucent add-to-cart (like Barllina) */
html body section[component-id="854686136"]{max-width:none!important;width:100%!important;margin-inline:0!important}
html body custom-salla-product-card .product-card__addToCart button{background:rgba(43,43,43,.72)!important;background-image:none!important;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
html body custom-salla-product-card.v9-added .product-card__addToCart button{background:#2e7d4f!important;background-image:linear-gradient(#2e7d4f,#2e7d4f)!important}/* categories 3 + 3 */
html body .square-links__grid{display:grid!important;grid-template-columns:repeat(3,96px)!important;justify-content:center!important;gap:22px 48px!important}
/* feature capsule icons sized to the text */
html body .s-block--enhanced-features:not(.v9-why) .feature-icon,html body .s-block--enhanced-features:not(.v9-why) .feature-icon i,html body .s-block--enhanced-features:not(.v9-why) .feature-icon i:before{font-size:17px!important;width:auto!important;height:auto!important;min-width:0!important;line-height:1!important;padding:0!important}
html body .s-block--enhanced-features:not(.v9-why) .feature-icon img,html body .s-block--enhanced-features:not(.v9-why) .feature-icon svg{width:18px!important;height:18px!important}
@media (max-width:767px){html body .square-links__grid{grid-template-columns:repeat(3,84px)!important;gap:16px 24px!important}html body .s-block--enhanced-features:not(.v9-why) .feature-icon,html body .s-block--enhanced-features:not(.v9-why) .feature-icon i,html body .s-block--enhanced-features:not(.v9-why) .feature-icon i:before{font-size:15px!important}}
/* features marquee starts from the left edge */
html body section.v9-fmq{direction:ltr!important}/* only the theme moving promo bar on top (cashback bar is system-managed) */
html body salla-advertisement{display:none!important}