/* TOPAZ: compact product promotion badge */.product-card__image > .product-card__promotion {  top: 6px !important;  right: 6px !important;  left: auto !important;  bottom: auto !important;  font-size: 10px !important;  line-height: 1.4 !important;  padding: 3px 6px !important;  width: max-content !important;  max-width: calc(100% - 12px) !important;  border-radius: 3px !important;  margin: 0 !important;  transform: none !important;}@media (max-width: 767px) { custom-salla-product-card.product-card.product-card--vertical .product-card__price .price_is_on_sale:not(.hidden) { align-items: center !important; } custom-salla-product-card.product-card.product-card--vertical .product-card__price .price_is_on_sale > p.total-price, custom-salla-product-card.product-card.product-card--vertical .product-card__price .price_is_on_sale > span.before-price { font: inherit !important; font-size: 13px !important; font-weight: 700 !important; line-height: 22px !important; height: 22px !important; display: inline-flex !important; align-items: center !important; margin: 0 !important; padding: 0 !important; transform: none !important; position: static !important; } custom-salla-product-card.product-card.product-card--vertical .product-card__price .price_is_on_sale i { font-size: 13px !important; line-height: 22px !important; vertical-align: middle !important; }}/* TOPAZ: subtitle matches the promotion badge background */custom-salla-product-card.product-card .product-card__subtitle { color: #C9A15A !important; }/* TOPAZ: corner promotion and compact shipping badge */custom-salla-product-card.product-card .product-card__image > .product-card__promotion { top: 0 !important; right: 0 !important; left: auto !important; border-radius: 0 9px 0 3px !important; margin: 0 !important; padding: 3px 6px !important; }custom-salla-product-card.product-card .product-card__subtitle { display: table !important; width: max-content !important; max-width: 100% !important; flex: 0 0 auto !important; margin: 1px auto !important; padding: 1px 6px !important; border: 0 !important; border-radius: 5px !important; background-color: #C9A15A !important; color: #FFFFFF !important; font-size: 11px !important; line-height: 16px !important; min-height: 0 !important; }@media (max-width: 767px) { :is(#topaz-compact-card, custom-salla-product-card.product-card--vertical) .product-card__content-wrapper { gap: 0 5px !important; padding: 0 5px !important; align-content: start !important; } custom-salla-product-card.product-card.product-card--vertical .product-card__subtitle { flex-basis: auto !important; } custom-salla-product-card.product-card.product-card--vertical .product-card__subtitle::after { content: none !important; } custom-salla-product-card.product-card.product-card--vertical .product-card__price { flex-basis: 100% !important; } custom-salla-product-card.product-card.product-card--vertical .product-card__enhanced-mini-cart .s-button-element { min-height: 40px !important; height: 40px !important; padding: 5px 8px !important; }}/* TOPAZ: two full native product cards per mobile slider */@media (max-width: 767px) { salla-products-slider .s-products-slider-card { width: calc((100% - 10px) / 2) !important; padding-left: 0 !important; padding-right: 0 !important; } salla-products-slider custom-salla-product-card.product-card { width: 100% !important; max-width: 100% !important; }}@media (max-width: 767px) { salla-products-slider .s-slider-container { width: 100% !important; margin-inline: 0 !important; padding-inline: 0 !important; } salla-products-slider .s-slider-swiper-wrapper { width: 100% !important; }}/* TOPAZ: small separation between mobile slider cards */@media (max-width: 767px) { salla-products-slider .s-products-slider-card > custom-salla-product-card.product-card { width: calc(100% - 8px) !important; max-width: calc(100% - 8px) !important; margin-inline: 4px !important; }}/* TOPAZ: consistent 20px spacing between homepage sections */body.index main > section.s-block {  margin-block-start: 20px !important;  margin-block-end: 0 !important;}body.index main > section.s-block--bundle-why-topaz-banner > [component-name="why-topaz-banner"] {  margin-block: 0 !important;}
/* TOPAZ: remove built-in mobile bundle whitespace */
@media (max-width: 767px) {
 body.index main > section.s-block--bundle-topaz-category-banners { display: flow-root !important; }
 body.index main > section.s-block--bundle-topaz-category-banners > [component-name="topaz-category-banners"] { margin-top: -51.92px !important; margin-bottom: -32px !important; }
}
/* TOPAZ: compact selectable text colors on product cards */
custom-salla-product-card .s-product-options-thumbnails-wrapper { display:flex !important; justify-content:center !important; gap:6px !important; margin:0 !important; }
custom-salla-product-card .s-product-options-thumbnails-wrapper > div { width:auto !important; margin:0 !important; }
custom-salla-product-card .s-product-options-thumbnails-wrapper label:has(img[alt="فضي"]),
custom-salla-product-card .s-product-options-thumbnails-wrapper label:has(img[alt="ذهبي"]) { display:flex !important; align-items:center !important; justify-content:center !important; width:auto !important; height:24px !important; min-width:36px !important; padding:0 5px !important; border:1px solid transparent !important; border-radius:4px !important; background:transparent !important; color:#fff !important; cursor:pointer; }
custom-salla-product-card .s-product-options-thumbnails-wrapper label:has(img[alt="فضي"])::after { content:"فضي"; font-size:11px; line-height:20px; }
custom-salla-product-card .s-product-options-thumbnails-wrapper label:has(img[alt="ذهبي"])::after { content:"ذهبي"; font-size:11px; line-height:20px; }
custom-salla-product-card .s-product-options-thumbnails-wrapper label:has(img:is([alt="فضي"],[alt="ذهبي"])) img,
custom-salla-product-card .s-product-options-thumbnails-wrapper label:has(img:is([alt="فضي"],[alt="ذهبي"])) .s-product-options-thumbnails-icon,
custom-salla-product-card .s-product-options-thumbnails-wrapper > div:has(img:is([alt="فضي"],[alt="ذهبي"])) > p { display:none !important; }
custom-salla-product-card .s-product-options-thumbnails-wrapper input:checked + label { color:#C9A15A !important; border-color:#C9A15A !important; }
@media(max-width:767px) {
 body custom-salla-product-card.product-card--vertical .product-card__image { height:auto !important; aspect-ratio:1 / 1 !important; flex:0 0 auto !important; }
 body custom-salla-product-card.product-card--vertical .product-card__image > a { display:block !important; height:100% !important; }
 body custom-salla-product-card.product-card--vertical .product-card__image img.main-image { width:100% !important; height:100% !important; object-fit:contain !important; }
 body custom-salla-product-card.product-card--vertical .product-card__content-wrapper { display:grid !important; grid-template-columns:minmax(0,1fr) !important; grid-template-rows:3em auto 26px 22px !important; gap:2px !important; padding:4px 5px !important; text-align:center !important; }
 body custom-salla-product-card.product-card--vertical .product-card__title { grid-row:1; margin:0 !important; align-self:center; }
 body custom-salla-product-card.product-card--vertical .product-card__subtitle { grid-row:2; }
 body custom-salla-product-card.product-card--vertical .product-options { grid-row:3; margin:0 !important; padding:0 !important; }
 body custom-salla-product-card.product-card--vertical .product-card__price { grid-row:4; margin:0 !important; align-self:center; }
}

/* TOPAZ: align desktop homepage product cards */
@media(min-width:768px) {
 body custom-salla-product-card.product-card--vertical .product-card__image { height:auto !important; aspect-ratio:1 / 1 !important; flex:0 0 auto !important; }
 body custom-salla-product-card.product-card--vertical .product-card__image > a { display:block !important; height:100% !important; }
 body custom-salla-product-card.product-card--vertical .product-card__image img.main-image { width:100% !important; height:100% !important; object-fit:contain !important; }
 body custom-salla-product-card.product-card--vertical .product-card__content-wrapper { display:grid !important; grid-template-columns:minmax(0,1fr) !important; grid-template-rows:3em auto 26px 24px auto !important; gap:4px !important; text-align:center !important; }
 body custom-salla-product-card.product-card--vertical .product-card__title { grid-row:1; margin:0 !important; align-self:center; }
 body custom-salla-product-card.product-card--vertical .product-card__subtitle { grid-row:2; }
 body custom-salla-product-card.product-card--vertical .product-options { grid-row:3; margin:0 !important; padding:0 !important; }
 body custom-salla-product-card.product-card--vertical .product-card__price { grid-row:4; margin:0 !important; align-self:center; justify-content:center !important; }
 body custom-salla-product-card.product-card--vertical .product-card__buttons { grid-row:5; margin-top:8px !important; }
}
/* TOPAZ: show full product descriptions by default */
#details_table #more-content { max-height:none !important; height:auto !important; overflow:visible !important; }
#details_table #more-content::before, #details_table #more-content::after { display:none !important; }
#details_table #btn-show-more { display:none !important; }

/* TOPAZ: attach desktop product promotion to image corner */
@media (min-width: 768px) {
 .details-slider .product-single__slide-image { object-position:right top !important; }
 .details-slider .s-slider-container > .promotion-title { top:0 !important; right:0 !important; left:auto !important; margin:0 !important; border-radius:0 6px 0 5px !important; z-index:5 !important; }
}

/* TOPAZ: consistent subtitle badge on product details pages */
.product-single__info .product-entry__sub-title { display:table !important; width:fit-content !important; max-width:100% !important; background:#C9A15A !important; color:#fff !important; border:0 !important; border-radius:5px !important; padding:3px 8px !important; margin-top:6px !important; margin-bottom:10px !important; font-size:13px !important; line-height:20px !important; }

/* TOPAZ: attach mobile product promotion to the image corner */
@media (max-width:767px) {
 .details-slider .s-slider-container > .promotion-title { top:0 !important; right:0 !important; left:auto !important; margin:0 !important; border-radius:0 6px 0 5px !important; z-index:5 !important; }
}