
/* رنگ‌های صفحهٔ اصلی مشهدفارما — پس از CSS اصلی بارگذاری شود. */

html.theme-blackfriday:has(main #slider-owl) {
    --mp-color-bg: #080809 !important;
    --mp-color-surface: #191919 !important;
    --mp-color-raised: #262526 !important;
    --mp-color-field: #131314 !important;
    --mp-color-edge: #494346 !important;
    --mp-color-ink: #ffffff !important;
    --mp-color-muted: #d1caca !important;
    --mp-color-dim: #b6afb0 !important;
    --mp-color-wine: #74010c !important;
    --mp-color-red: #b81024 !important;
    --mp-color-action: #a60c20 !important;
    --mp-color-link: #ff9ea8 !important;
    --mp-color-mint: #93dfb6 !important;
    --mp-color-green: #195f41 !important;
    --mp-color-green-bg: #142c21 !important;
    --mp-color-info: #eadcdf !important;
    --mp-color-hint-bg: #2d2124 !important;
    background-color: var(--mp-color-bg) !important;
}
html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) {
    --mp-color-bg: #080809 !important;
    --mp-color-surface: #191919 !important;
    --mp-color-raised: #262526 !important;
    --mp-color-field: #131314 !important;
    --mp-color-edge: #494346 !important;
    --mp-color-ink: #ffffff !important;
    --mp-color-muted: #d1caca !important;
    --mp-color-dim: #b6afb0 !important;
    --mp-color-wine: #74010c !important;
    --mp-color-red: #b81024 !important;
    --mp-color-action: #a60c20 !important;
    --mp-color-link: #ff9ea8 !important;
    --mp-color-mint: #93dfb6 !important;
    --mp-color-green: #195f41 !important;
    --mp-color-green-bg: #142c21 !important;
    --mp-color-info: #eadcdf !important;
    --mp-color-hint-bg: #2d2124 !important;
    background-color: var(--mp-color-bg) !important;
}

/* زمینه، سربرگ و منوی فروشگاه */

html.theme-blackfriday:has(main #slider-owl) body {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-bg) !important;
}

html.theme-blackfriday:has(main #slider-owl) header {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.header-top,.header-menu) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.nav-link,.submenu a,.categories-menu a,.recent-search,.suggestion-items a,.responsive-menu-Icon,.btn-shopping-cart,.btn-login) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.btn-login,.btn-shopping-cart,.instagram-follow,.category-search) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.submenu.bg-white,.categories-menu,.suggestion-box,.sec-aside-cart,.sec-aside-cart .header,.modal-content) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.nav-link:hover,.nav-link:focus-visible,.down,.searchIcon,.instagram-follow__english) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(main #slider-owl) header .instagram-follow__content strong {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) header .logo-container a {
    background-color: #f7f7f7 !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.searchInput,.form-control) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-field) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.counter,.btn-primary-site) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-action) !important;
    border-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(main #slider-owl) header :is(.btn-login,.btn-shopping-cart) svg {
    fill: currentColor !important;
}

html.theme-blackfriday:has(main #slider-owl) :is(.mf-air-fixed,.mf-rotator,.mf-red,.mf-green) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
}

html.theme-blackfriday:has(main #slider-owl) .mf-shipping-slogan b {
    color: var(--mp-color-wine) !important;
    background-color: #ffffff !important;
}

/* پابرگ و کنترل‌های شناور */

html.theme-blackfriday:has(main #slider-owl) footer .bg {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
}

html.theme-blackfriday:has(main #slider-owl) footer :is(.about-market-modern,.license-box,.market-card,.market-box,.about-features > div,.social .item) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) footer :is(.about-head h2,.col-title,.market-title,.license-title,.market-card strong) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) footer :is(.about-text,.about-text p,.about-head span,.market-card span,.contact a,.links a,.in_lf span,.sign) {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(main #slider-owl) footer :is(.arrow,.links i,.social .item i,.content .col-title) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(main #slider-owl) footer .iconBg {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
}

html.theme-blackfriday:has(main #slider-owl) footer .footerTopSvg svg path {
    fill: var(--mp-color-surface) !important;
}

html.theme-blackfriday:has(main #slider-owl) :is(.sf-wa-label,.force-offer-tab,.chat-fab) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
    border-color: var(--mp-color-edge) !important;
}

/* فقط رنگ گرادیان‌های موجود؛ زاویه، شفافیت و ایستگاه‌های رنگی اصلی حفظ شده‌اند */

html.theme-blackfriday:has(main #slider-owl) .force-offer-tab {
    background-image: linear-gradient(#352027, #191919) !important;
}

html.theme-blackfriday:has(main #slider-owl) .chat-fab {
    background-image: linear-gradient(135deg, #74010c, #aa1427) !important;
}

html.theme-blackfriday:has(main #slider-owl) .about-market-modern {
    background-image: linear-gradient(135deg, #191919 60%, #242021) !important;
}

html.theme-blackfriday:has(main #slider-owl) .license-box {
    background-image: linear-gradient(145deg, #262526, #191919) !important;
}

html.theme-blackfriday:has(main #slider-owl) .mf-air-fixed {
    background-image: radial-gradient(circle at 90% 50%, rgba(255,255,255,0.22), transparent 24%), linear-gradient(110deg, #151515 0%, #21191a 50%, #1b0609 100%) !important;
}

html.theme-blackfriday:has(main #slider-owl) .mf-express-fixed {
    background-image: radial-gradient(circle at 10% 50%, rgba(255,255,255,0.22), transparent 24%), linear-gradient(110deg, #74010c 0%, #900c1a 45%, #65010b 100%) !important;
}

html.theme-blackfriday:has(main #slider-owl) .mf-red {
    background-image: linear-gradient(100deg, #65010b, #74010c, #1b0609) !important;
}

html.theme-blackfriday:has(main #slider-owl) .mf-green {
    background-image: linear-gradient(100deg, #1b0609, #65010b, #74010c) !important;
}


/* بخش‌های محصول، قیمت‌ها و تایمر */

html.theme-blackfriday:has(main #slider-owl) main :is(.sec-special-product .col1, .sec-special-product .col2, .sec-special-product .col3, .sec-special-product .products, .products-box, .sec-selected-product) {
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.modern-product-card, .product-slider .card, .product-slider .item.card, .brand-modern-card) {
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.p-title, .product-title, .section-title, .sec-title h4, .col-title, .price, .final-price, .brand-name, .brand-modern-head h2) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .sec-special-product .item .content .price-div .price {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.discount-price, .old-price, .timer-subtitle, .brand-modern-head p, .price small, .final-price small) {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .sec-special-product .products .item .content .price-div .discount-price {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .product-slider .item .price-container .price {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .sec-product-slider .item .price svg {
    fill: currentColor !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.product-thumb, .countdown-item, .top-bar .menu-list, .menu-toggle, .brand-modern-card) {
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .brand-logo-box {
    background-color: #f3f0f0 !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.countdown-item strong, .categories .menu-list a, .categories .menu-toggle, .menu-toggle i, .brand-modern-card:hover .brand-name) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .countdown-item span {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.countdown-item.seconds strong, .bottom-link a, .sec-selected-product .bottom-link a, .product-title:hover, .top-bar .categories ul a.active) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.section-more-link,.brand-modern-more,.sec-special-product .link,.sec-banners .item i,.blog-post-box .post-details .view-more,.sec-product-slider .bg) {
    background-color: var(--mp-color-wine) !important;
    color: var(--mp-color-ink) !important;
    border-color: #8f2835 !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.section-more-link:hover,.brand-modern-more:hover,.brand-modern-slider .owl-nav button:hover) {
    background-color: var(--mp-color-action) !important;
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.sec-special-product .percent,.sec-product-slider .dp-badge,.product-slider .discount .percent,.force-offer-tab .tab-count) {
    background-color: var(--mp-color-action) !important;
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.sec-special-product .col-title span:first-child,.sec-selected-product .sec-title h4)::after {
    background-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .sec-selected-product .sec-title h4::before {
    background-color: var(--mp-color-wine) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.sec-banners .item svg path[fill="#FCFCFC"], .sec-selected-product-bottom-svg svg path:first-child) {
    fill: var(--mp-color-bg) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .sec-selected-product-bottom-svg svg path:last-child {
    fill: var(--mp-color-surface) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.brand-modern-badge,.brand-modern-slider .owl-nav button,.force-offer .offer-panel) {
    background-color: var(--mp-color-raised) !important;
    color: var(--mp-color-ink) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .brand-modern-slider .owl-dot span {
    background-color: #6b6163 !important;
}

html.theme-blackfriday:has(main #slider-owl) main .brand-modern-slider .owl-dot.active span {
    background-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(main #slider-owl) main :is(.add-btn,.stock-state.in-stock) {
    color: var(--mp-color-mint) !important;
    border-color: #325846 !important;
}

html.theme-blackfriday:has(main #slider-owl) main .products-box::before {
    background-image: radial-gradient(circle at top left,rgba(116,1,12,.06),transparent 40%) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .row.has-fade::after {
    background-image: linear-gradient(180deg,#19191900 0,#19191966 40%,#191919f2) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .modern-product-card.is-out {
    background-image: radial-gradient(circle at top left,rgba(184,16,36,.04),transparent 35%),linear-gradient(180deg,#262526,#211e1f) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .discount-pill {
    background-image: linear-gradient(135deg,#a60c20,#b81024) !important;
    color: var(--mp-color-ink) !important;
}

/* رنگ گرادیان‌های اصلی برند و مقاله */

html.theme-blackfriday:has(main #slider-owl) main .brand-modern-section::before {
    background-image: radial-gradient(circle at 15% 20%,rgba(116,1,12,.12),transparent 28%),radial-gradient(circle at 85% 15%,rgba(184,16,36,.13),transparent 25%),linear-gradient(135deg,#191919e0,#23191bdb) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .brand-modern-card::before {
    background-image: linear-gradient(135deg,#74010c29,#a60c2024,#ffffff00) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .brand-modern-card::after {
    background-color: #74010c14 !important;
}

html.theme-blackfriday:has(main #slider-owl) main .brand-modern-card:hover::after {
    background-color: #b810241a !important;
}

html.theme-blackfriday:has(main #slider-owl) main .blog-post-box .image-overlay {
    background-image: linear-gradient(0deg,#191919,#211c1d80) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .blog-post-box .post-details .view-more::before {
    background-color: var(--mp-color-action) !important;
}

html.theme-blackfriday:has(main #slider-owl) header .loginForm :is(.title-container p,.footer-text) {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(main #slider-owl) header .loginForm .footer-text a {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .sec-selected-product .product-slider .item .content .p-title {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .products-fade-overlay .fade-content {
    background-color: var(--mp-color-wine) !important;
    color: var(--mp-color-ink) !important;
    border-color: var(--mp-color-action) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .top-bar .categories .menu-list a {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
}

html.theme-blackfriday:has(main #slider-owl) main .top-bar .categories .menu-list a:is(.active, :hover, :focus-visible) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
}

/* زمینه، سربرگ و منوی فروشگاه */

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) body {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-bg) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.header-top,.header-menu) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.nav-link,.submenu a,.categories-menu a,.recent-search,.suggestion-items a,.responsive-menu-Icon,.btn-shopping-cart,.btn-login) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.btn-login,.btn-shopping-cart,.instagram-follow,.category-search) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.submenu.bg-white,.categories-menu,.suggestion-box,.sec-aside-cart,.sec-aside-cart .header,.modal-content) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.nav-link:hover,.nav-link:focus-visible,.down,.searchIcon,.instagram-follow__english) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header .instagram-follow__content strong {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header .logo-container a {
    background-color: #f7f7f7 !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.searchInput,.form-control) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-field) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.counter,.btn-primary-site) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-action) !important;
    border-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) header :is(.btn-login,.btn-shopping-cart) svg {
    fill: currentColor !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(.mf-air-fixed,.mf-rotator,.mf-red,.mf-green) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .mf-shipping-slogan b {
    color: var(--mp-color-wine) !important;
    background-color: #ffffff !important;
}

/* اجزای مشترک و حالت‌های فرم */

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(h1,h2,h3,h4,h5,h6,.p-title,.title,.price,.price span,.price small,.form-label,.form-check-label,.category-item,.header-md-h,.cartItemCount) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.text-muted,.en-title,.discount-price,.old-price,.page-info,.authenticity-description,small.text-muted) {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.card,.modal-content,.accordion-item,.accordion-button,.accordion-body,.dropdown-menu,.side-cart,.sec-aside-cart,.cart-totals) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.modal-header,.modal-footer,.dropdown-divider,.divider) {
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.dropdown-item,.btn-outline-secondary,.btn-outline-info,.btn-outline-success) {
    color: var(--mp-color-muted) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.dropdown-item:hover,.dropdown-item:focus,.accordion-button:not(.collapsed)) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.form-control,.form-select,.searchInput,.category-search input,textarea,select) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-field) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(main,header) :is(input,textarea)::placeholder {
    color: var(--mp-color-dim) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(main,header) :is(input,textarea) {
    caret-color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(main,header) :is(a,button,input,select,textarea):focus-visible {
    outline-color: var(--mp-color-link) !important;
    border-color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main .form-check-input {
    background-color: var(--mp-color-raised) !important;
    border-color: #938389 !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main input:is([type=radio],[type=checkbox]) {
    accent-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main .form-check-input:checked {
    background-color: var(--mp-color-action) !important;
    border-color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.btn-success,.btn-danger,.btn-primary,.add-to-cart,.payment_btn) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-action) !important;
    border-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.btn-success,.btn-danger,.btn-primary,.add-to-cart,.payment_btn):is(:hover,:focus-visible) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-red) !important;
    border-color: #df4b5a !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.percent,.discount-percent,.discount-pill,.ai-discount-badge) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main .alert-success {
    color: var(--mp-color-mint) !important;
    background-color: var(--mp-color-green-bg) !important;
    border-color: var(--mp-color-green) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main .alert-info {
    color: var(--mp-color-info) !important;
    background-color: var(--mp-color-hint-bg) !important;
    border-color: #64434a !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main .alert-danger {
    color: var(--mp-color-link) !important;
    background-color: #3e1921 !important;
    border-color: #74414b !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main .text-danger {
    color: var(--mp-color-link) !important;
}

/* محصول و اجزای وابسته */

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .breadcrumb :is(a,i,span,li) {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .card.product-card {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .product-info .labels .item {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .labels a {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .left-box.bg-light {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .benefits :is(.text-container,.item,.item i) {
    color: var(--mp-color-muted) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .benefits .authenticity-item {
    color: var(--mp-color-mint) !important;
    background-color: var(--mp-color-green-bg) !important;
    border-color: var(--mp-color-green) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .authenticity-item :is(.authenticity-badge,.authenticity-icon) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-green) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .authenticity-item :is(.authenticity-title,.authenticity-description) {
    color: var(--mp-color-mint) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .left-box .price :is(span,small) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page :is(.product-tabs-card,.product-tabs-container,.product-description-wrapper,.product-comments,.login-comment-card,.empty-comments,.ai-product-card,.ai-complement-products,.ai-nav-btn,.flavor-modal,.flavor-modal-body) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .product-tabs-card a {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .product-tabs-card a.active {
    color: var(--mp-color-link) !important;
    border-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .product-tabs-card a.active::after {
    background-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .ai-product-title {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .top-title > .alert.d-flex {
    color: var(--mp-color-mint) !important;
    border-color: var(--mp-color-green) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .top-title > .alert.d-flex :is(b,span,strong,a) {
    color: var(--mp-color-mint) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #product-page .product-comments .login-btn {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
    border-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.product-description,.brand-about__content) :is(h1,h2,h3,h4,p,li,td,th,div,span,strong) {
    color: var(--mp-color-ink) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.product-description,.brand-about__content) :is(a,a span) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.product-description,.brand-about__content) :is(td,th,.bg-light,[style*="background-color"]) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

/* آرشیو دسته‌بندی و برند */

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page :is(.sidebar-filters-container,.sorting-container,.brand-about,.filter-box,.category-filter) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page :is(.filter-checks-container,.sorting-container .content,.category-item,.category-search) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page .sorting-container .items a {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page .sorting-container .items a:is(.active,:hover,:focus-visible) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
    border-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page :is(.category-item a,.category-filter h6,.brand-about__title) {
    color: var(--mp-color-ink) !important;
}

/* کارت معرفی برند در بالای فهرست محصولات */
html.theme-blackfriday #category-page .brand-about.card {
    background-image: linear-gradient(#302024, #191919) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .06) !important;
}

html.theme-blackfriday #category-page .brand-about__fade {
    background-image: linear-gradient(rgba(25, 25, 25, 0), rgba(25, 25, 25, .9) 55%, #191919) !important;
    box-shadow: inset 0 -12px 24px rgba(25, 25, 25, .3) !important;
}

html.theme-blackfriday #category-page .brand-about__badge {
    background-image: radial-gradient(65% 65%, #ff6573 0, #c92337 60%, rgba(164, 15, 35, .7)) !important;
    box-shadow: 0 0 0 3px rgba(201, 35, 55, .12) !important;
}

html.theme-blackfriday #category-page .brand-about .brand-about__content :is(p, li) {
    color: #ded6d7 !important;
}

html.theme-blackfriday #category-page .brand-about__toggle {
    color: #fff !important;
    background-color: var(--mp-color-wine) !important;
    border-color: #ab3848 !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .10) !important;
}

html.theme-blackfriday #category-page .brand-about__toggle:is(:hover, :focus-visible) {
    background-color: var(--mp-color-action) !important;
    border-color: #ea8794 !important;
    box-shadow: 0 4px 14px rgba(116, 1, 12, .15), inset 0 1px rgba(255, 255, 255, .10) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page :is(.brand-about__badge,.category-filter .show-more-category) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page article .item {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page article .content {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page article .p-title {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page .paginations :is(.btn-success,.active) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-action) !important;
    border-color: var(--mp-color-red) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #category-page .paginations .btn-outline-success {
    color: var(--mp-color-muted) !important;
    background-color: var(--mp-color-surface) !important;
    border-color: var(--mp-color-edge) !important;
}

/* سبد و تسویه؛ آدرس، روش ارسال و گزینه‌های پرداخت */

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(#cart-page,#checkout-page) .cart-items .header {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(#cart-page,#checkout-page) :is(.cart-items .item,.cart-totals .item,.checkItems-container > .item) {
    color: var(--mp-color-ink) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(#cart-page,#checkout-page) .cart-totals .title_payment {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
    border-color: #78303d !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(#cart-page,#checkout-page) .cart-totals .top-content .item :is(span,b,small) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(#cart-page,#checkout-page) .cart-totals .top-content .item[style*="color: red"] :is(span,b,small) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(#cart-page,#checkout-page) .cart-totals .top-content .item:last-child {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-hint-bg) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #cart-page .quantity-input-container :is(button,span) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page :is(.checkItems-container .title,.form-check-label b,.modal-title) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page .checkItems-container .form-check-label {
    color: var(--mp-color-muted) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page .checkItems-container .form-check-input:checked + label {
    color: var(--mp-color-ink) !important;
    background-color: #3a2026 !important;
    border-color: #bd5262 !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page .checkItems-container .form-check-input:checked + label .text-muted {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page .cart-totals:has(.payment_digiPay) .title_payment {
    color: var(--mp-color-ink) !important;
    background-color: #3e2229 !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page .payment_digiPay {
    color: var(--mp-color-ink) !important;
    background-color: #761226 !important;
    border-color: #a63b50 !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page .checkItems-container .alert .text-danger {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) #checkout-page .checkItems-container .form-check-label .dropdown-toggle {
    color: var(--mp-color-muted) !important;
}

/* پابرگ و کنترل‌های شناور */

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) footer .bg {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-surface) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) footer :is(.about-market-modern,.license-box,.market-card,.market-box,.about-features > div,.social .item) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
    border-color: var(--mp-color-edge) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) footer :is(.about-head h2,.col-title,.market-title,.license-title,.market-card strong) {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) footer :is(.about-text,.about-text p,.about-head span,.market-card span,.contact a,.links a,.in_lf span,.sign) {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) footer :is(.arrow,.links i,.social .item i,.content .col-title) {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) footer .iconBg {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) footer .footerTopSvg svg path {
    fill: var(--mp-color-surface) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) :is(.sf-wa-label,.force-offer-tab,.chat-fab) {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-wine) !important;
    border-color: var(--mp-color-edge) !important;
}

/* فقط رنگ گرادیان‌های موجود؛ زاویه، شفافیت و ایستگاه‌های رنگی اصلی حفظ شده‌اند */

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .force-offer-tab {
    background-image: linear-gradient(#352027, #191919) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .chat-fab {
    background-image: linear-gradient(135deg, #74010c, #aa1427) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .about-market-modern {
    background-image: linear-gradient(135deg, #191919 60%, #242021) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .license-box {
    background-image: linear-gradient(145deg, #262526, #191919) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .mf-air-fixed {
    background-image: radial-gradient(circle at 90% 50%, rgba(255,255,255,0.22), transparent 24%), linear-gradient(110deg, #151515 0%, #21191a 50%, #1b0609 100%) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .mf-express-fixed {
    background-image: radial-gradient(circle at 10% 50%, rgba(255,255,255,0.22), transparent 24%), linear-gradient(110deg, #74010c 0%, #900c1a 45%, #65010b 100%) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .mf-red {
    background-image: linear-gradient(100deg, #65010b, #74010c, #1b0609) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .mf-green {
    background-image: linear-gradient(100deg, #1b0609, #65010b, #74010c) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main .top-title > .alert.d-flex {
    background-image: linear-gradient(135deg, #142c21, #203a2e) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.product-description,.brand-about__content) [style*="linear-gradient(180deg,#f8fbff,#ffffff)"] {
    background-image: linear-gradient(180deg,#292526,#191919) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.product-description,.brand-about__content) [style*="#f6f7f9"] {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.product-description,.brand-about__content) [style*="#fff8ea"] {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) main :is(.product-description,.brand-about__content) [style*="#ecfff3"] {
    color: var(--mp-color-ink) !important;
    background-color: var(--mp-color-raised) !important;
}

/* پیام‌های داخل توضیحات محصول و فرم ورود در تسویه‌حساب */
html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .loginForm .title-container p,
html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .loginForm .footer-text {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .loginForm .footer-text a {
    color: var(--mp-color-link) !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .loginForm .logo-container img {
    background-color: #f7f7f7 !important;
}

html.theme-blackfriday:has(:is(#product-page, #category-page, #cart-page, #checkout-page)) .force-offer-tab .tab-count {
    background-color: var(--mp-color-red) !important;
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday #product-page .product-description :is(.alert-primary, .alert-warning) {
    background-color: var(--mp-color-hint-bg) !important;
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday #product-page .login-comment-card {
    background-image: linear-gradient(135deg, #262526, #272023) !important;
}

html.theme-blackfriday #product-page .empty-comments p {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday #product-page .ai-price-box .ai-final-price,
html.theme-blackfriday #product-page .ai-price-box .ai-final-price small {
    color: var(--mp-color-ink) !important;
}

html.theme-blackfriday #product-page .login-content p {
    color: var(--mp-color-muted) !important;
}

html.theme-blackfriday #product-page .ai-product-card .ai-discount-badge {
    background-image: linear-gradient(135deg, #a60c20, #b81024) !important;
}
