
/*
 * DYSONET BLACK FRIDAY DARK THEME
 * Version: 1.0
 * Scoped to body.bf-dark
 */

body.bf-dark {
  background-color: #101014;
  color: #f5f5f7;
}

/* General content areas */
body.bf-dark .container {
  color: #f5f5f7;
}

/* Default text */
body.bf-dark h1,
body.bf-dark h2,
body.bf-dark h3,
body.bf-dark h4 {
  color: #f5f5f7;
}

/* Product cards: keep white backgrounds initially
   until actual product markup is verified. */

/* Basic borders */
body.bf-dark .border {
  border-color: #393940;
}

/* Links */
body.bf-dark a {
  transition: color .2s ease;
}

/* Existing Black Friday banner remains unchanged */



/* ==========================================
   DYSONET DARK MODE - READABILITY FIX v1.1
   ========================================== */

/* 1. Product prices and general product text */
body.bf-dark .container .text-dark,
body.bf-dark .container .text-gray-600,
body.bf-dark .container .text-gray-700,
body.bf-dark .container .text-gray-800,
body.bf-dark .container .text-black {
  color: #f3f3f5 !important;
}

body.bf-dark .container .text-gray-400,
body.bf-dark .container .text-gray-500 {
  color: #b8b8c3 !important;
}

/* 2. Header - dark luxury */
body.bf-dark > header,
body.bf-dark .site-header {
  background: #17171d !important;
  color: #f5f5f7 !important;
  border-color: #34343d !important;
}

body.bf-dark > header a,
body.bf-dark .site-header a {
  color: #f1f1f5 !important;
}

/* 3. Footer */
body.bf-dark footer {
  background: #15151b !important;
  color: #d1d1d9 !important;
  border-color: #393940 !important;
}

body.bf-dark footer p,
body.bf-dark footer span,
body.bf-dark footer li,
body.bf-dark footer address,
body.bf-dark footer a {
  color: #c9c9d3 !important;
}

body.bf-dark footer h2,
body.bf-dark footer h3,
body.bf-dark footer h4,
body.bf-dark footer strong {
  color: #ffffff !important;
}

/* 4. Input and search field */
body.bf-dark header input,
body.bf-dark .site-header input {
  background: #25252d !important;
  color: #ffffff !important;
  border-color: #41414c !important;
}

body.bf-dark header input::placeholder,
body.bf-dark .site-header input::placeholder {
  color: #aaaab7 !important;
}

/* 5. Admin buttons remain readable */
body.bf-dark .widget-buttons,
body.bf-dark .widget-buttons a {
  color: #353545 !important;
}


/* =====================================
   DYSONET DARK - FOOTER FIX v1.2
===================================== */

body.bf-dark footer {
  background-color: #17171c !important;
  color: #e5e5ea !important;
}

/* Footer normal text */
body.bf-dark footer p,
body.bf-dark footer li,
body.bf-dark footer address,
body.bf-dark footer .text-gray-400,
body.bf-dark footer .text-gray-500,
body.bf-dark footer .text-gray-600,
body.bf-dark footer .text-gray-700,
body.bf-dark footer .text-dark {
  color: #bfc0cb !important;
}

/* Footer headings */
body.bf-dark footer h2,
body.bf-dark footer h3,
body.bf-dark footer h4,
body.bf-dark footer h5 {
  color: #ffffff !important;
}

/* Footer links */
body.bf-dark footer a {
  color: #e5e5e9 !important;
}

body.bf-dark footer a:hover {
  color: #e5ae8d !important;
}

/* Footer borders */
body.bf-dark footer .border,
body.bf-dark footer .border-t,
body.bf-dark footer .border-b {
  border-color: #383840 !important;
}



/* =========================================
   DYSONET BLACK FRIDAY - DARK NAVBAR v2.0
   ========================================= */

/* Main navbar */
body.bf-dark .navbar {
  background: #17171d !important;
  color: #f5f5f7 !important;
  border-bottom: 1px solid #393941 !important;
  box-shadow: 0 6px 25px rgba(0,0,0,.18);
}

/* Navigation links */
body.bf-dark .navbar .nav-link,
body.bf-dark .navbar .megamenu-btn,
body.bf-dark .navbar .text-dark {
  color: #eeeeF2 !important;
}

body.bf-dark .navbar .nav-link:hover,
body.bf-dark .navbar .megamenu-btn:hover {
  color: #efbc9d !important;
}

/* Navbar buttons */
body.bf-dark .navbar .btn-white {
  background: #24242c !important;
  color: #f5f5f7 !important;
  border-color: #42424c !important;
}

body.bf-dark .navbar .btn-white:hover {
  background: #32323c !important;
  color: #ffffff !important;
  border-color: #a77b67 !important;
}

/* Navbar search */
body.bf-dark .navbar-search input {
  background: #282831 !important;
  color: #ffffff !important;
  border: 1px solid #42424e !important;
}

body.bf-dark .navbar-search input::placeholder {
  color: #aaaab5 !important;
}

/* Account dropdown */
body.bf-dark .navbar .dropdown-menu {
  background: #22222a !important;
  color: #f1f1f4 !important;
  border: 1px solid #42424c !important;
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

body.bf-dark .navbar .dropdown-menu a {
  color: #e4e4eb !important;
}

body.bf-dark .navbar .dropdown-menu a:hover {
  background: #34343e !important;
  color: #efbc9d !important;
}

/* Main mega menu */
body.bf-dark .navbar .megamenu {
  background: #202027 !important;
  border-color: #464650 !important;
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
}

body.bf-dark .navbar .megamenu-items {
  background: #191920 !important;
}

body.bf-dark .navbar .megamenu-item {
  color: #dedee5 !important;
}

body.bf-dark .navbar .megamenu-item:hover {
  color: #efbc9d !important;
  background: #34343e !important;
}

body.bf-dark .navbar .megamenu-content,
body.bf-dark .navbar .megamenu-content .text-dark,
body.bf-dark .navbar .megamenu-content .text-gray {
  color: #dfdfe6 !important;
}

/* Submenus */
body.bf-dark .navbar .nav-submenu {
  background: #222229 !important;
  border-color: #42424c !important;
  box-shadow: 0 14px 35px rgba(0,0,0,.3);
}

body.bf-dark .navbar .nav-submenu-link {
  color: #dedee5 !important;
}

body.bf-dark .navbar .nav-submenu-link:hover {
  background: #34343d !important;
  color: #efbc9d !important;
}

/* Phone */
body.bf-dark .navbar .fa-numbers {
  color: #ededf1 !important;
}

/* Navbar separators */
body.bf-dark .navbar .bg-gray-300 {
  background-color: #42424c !important;
}

/* Mobile hamburger */
body.bf-dark .navbar .mobile-menu-btn {
  background: #26262f !important;
  color: #f2f2f5 !important;
  border-color: #464650 !important;
}

/* Admin settings - keep controls visible */
body.bf-dark .navbar .widget-buttons,
body.bf-dark .navbar .widget-buttons .btn {
  background: #f5f5f7 !important;
  color: #353545 !important;
}


/* ==========================================
   DYSONET BLACK FRIDAY
   WHITE PRODUCT CARDS - TEXT FIX
   ========================================== */

/* Keep product cards white */
body.bf-dark .special-offers .bg-white {
  background-color: #ffffff !important;
}

/* Product names and prices */
body.bf-dark .special-offers .bg-white .text-dark,
body.bf-dark .special-offers .bg-white .text-black,
body.bf-dark .special-offers .bg-white .text-gray-700,
body.bf-dark .special-offers .bg-white .text-gray-800 {
  color: #22222a !important;
}

/* Secondary text and old prices */
body.bf-dark .special-offers .bg-white .text-gray,
body.bf-dark .special-offers .bg-white .text-gray-400,
body.bf-dark .special-offers .bg-white .text-gray-500,
body.bf-dark .special-offers .bg-white .text-gray-600 {
  color: #777782 !important;
}

/* Make sure product links inherit readable text */
body.bf-dark .special-offers .bg-white a {
  color: #22222a;
}

/* Maintain existing product images */
body.bf-dark .special-offers .bg-white img {
  filter: none !important;
}



/* ==========================================
   DYSONET DARK MODE
   WHITE SERVICE CARDS - TEXT FIX
   ========================================== */

/* White cards: restore readable dark text */
body.bf-dark .container .bg-white {
  color: #24242b;
}

/* Headings and regular text inside white cards */
body.bf-dark .container .bg-white .text-dark,
body.bf-dark .container .bg-white .text-black,
body.bf-dark .container .bg-white .text-gray,
body.bf-dark .container .bg-white .text-gray-700,
body.bf-dark .container .bg-white .text-gray-800 {
  color: #24242b !important;
}

/* Secondary descriptions */
body.bf-dark .container .bg-white .text-gray-400,
body.bf-dark .container .bg-white .text-gray-500,
body.bf-dark .container .bg-white .text-gray-600 {
  color: #73737e !important;
}

/* Text and links without explicit color classes */
body.bf-dark .container .bg-white p,
body.bf-dark .container .bg-white h3,
body.bf-dark .container .bg-white h4,
body.bf-dark .container .bg-white a {
  color: #24242b;
}


/* ==========================================
   BLACK FRIDAY DARK
   FEATURE BOXES - DARK BACKGROUND
   ========================================== */

body.bf-dark .bf-dark-feature-boxes .bg-white {
  background: #191920 !important;
  border: 1px solid #34343d !important;
  color: #f2f2f5 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 8px 18px rgba(0,0,0,.18);
}

/* texts inside these boxes */
body.bf-dark .bf-dark-feature-boxes .bg-white,
body.bf-dark .bf-dark-feature-boxes .bg-white p,
body.bf-dark .bf-dark-feature-boxes .bg-white h3,
body.bf-dark .bf-dark-feature-boxes .bg-white h4,
body.bf-dark .bf-dark-feature-boxes .bg-white span,
body.bf-dark .bf-dark-feature-boxes .bg-white a,
body.bf-dark .bf-dark-feature-boxes .bg-white .text-dark,
body.bf-dark .bf-dark-feature-boxes .bg-white .text-black,
body.bf-dark .bf-dark-feature-boxes .bg-white .text-gray,
body.bf-dark .bf-dark-feature-boxes .bg-white .text-gray-700,
body.bf-dark .bf-dark-feature-boxes .bg-white .text-gray-800 {
  color: #f2f2f5 !important;
}

/* secondary texts */
body.bf-dark .bf-dark-feature-boxes .bg-white .text-gray-400,
body.bf-dark .bf-dark-feature-boxes .bg-white .text-gray-500,
body.bf-dark .bf-dark-feature-boxes .bg-white .text-gray-600 {
  color: #b7b7c2 !important;
}

/* icons inside feature boxes */
body.bf-dark .bf-dark-feature-boxes .bg-white i,
body.bf-dark .bf-dark-feature-boxes .bg-white svg {
  color: #efbc9d !important;
  fill: currentColor;
}


/* ==========================================
   DYSONET BLACK FRIDAY
   SPECIAL OFFERS - DARK LUXURY
   ========================================== */

/* Main special offers background */
body.bf-dark .special-offers {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at 95% 10%,
      rgba(127, 48, 103, .30),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 5% 100%,
      rgba(173, 88, 55, .15),
      transparent 40%
    ),
    linear-gradient(
      120deg,
      #201923 0%,
      #111116 55%,
      #221721 100%
    ) !important;

  border: 1px solid rgba(221, 171, 141, .36);
  border-radius: 20px !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 10px 30px rgba(0,0,0,.20);
}

/* Remove original beige background pattern */
body.bf-dark .special-offers-abstract {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Section title */
body.bf-dark .special-offers h2,
body.bf-dark .special-offers h3 {
  color: #ffffff !important;
}

/* Keep product cards white */
body.bf-dark .special-offers .swiper-slide > .bg-white,
body.bf-dark .special-offers .scrollable-row .bg-white {
  background: #ffffff !important;
  border-radius: 13px;
  box-shadow: 0 5px 17px rgba(0,0,0,.19);
}

/* Readable product text */
body.bf-dark .special-offers .bg-white .text-dark,
body.bf-dark .special-offers .bg-white .text-black,
body.bf-dark .special-offers .bg-white .text-gray {
  color: #22222a !important;
}

/* Secondary product text */
body.bf-dark .special-offers .bg-white .text-gray-400,
body.bf-dark .special-offers .bg-white .text-gray-500,
body.bf-dark .special-offers .bg-white .text-gray-600 {
  color: #73737d !important;
}

/* Preserve images */
body.bf-dark .special-offers .bg-white img {
  filter: none !important;
}

/* Subtle hover for desktop */
@media (min-width: 1024px) {
  body.bf-dark .special-offers .swiper-slide > .bg-white {
    transition: transform .25s ease, box-shadow .25s ease;
  }

  body.bf-dark .special-offers .swiper-slide > .bg-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,.28);
  }
}

/* Mobile */
@media (max-width: 767px) {
  body.bf-dark .special-offers {
    border-radius: 15px !important;
  }
}


/* ==========================================
   DYSONET BLACK FRIDAY DARK MODE
   FOOTER FEATURE CARDS FIX
   ========================================== */

/* Four service cards in footer */
body.bf-dark footer .bg-light,
body.bf-dark footer .md\:bg-white {
  background-color: #222229 !important;
  color: #f5f5f7 !important;
  border-color: #3d3d46 !important;
}

/* Text inside the service cards */
body.bf-dark footer .bg-light h4,
body.bf-dark footer .md\:bg-white h4,
body.bf-dark footer .bg-light .text-dark,
body.bf-dark footer .md\:bg-white .text-dark,
body.bf-dark footer .bg-light p,
body.bf-dark footer .md\:bg-white p {
  color: #f5f5f7 !important;
}

/* Secondary text */
body.bf-dark footer .bg-light .text-gray,
body.bf-dark footer .md\:bg-white .text-gray {
  color: #c4c4ce !important;
}

/* Preserve original icons and images */
body.bf-dark footer .bg-light img,
body.bf-dark footer .md\:bg-white img {
  filter: none !important;
}

/* ==========================================
   DYSONET DARK MODE
   MEGAMENU TEXT + ACTIVE ITEM FIX
   ========================================== */

/* Mega menu panel */
body.bf-dark .navbar .megamenu {
  background: #1d1d24 !important;
  border-color: #3c3c46 !important;
}

/* Side category column */
body.bf-dark .navbar .megamenu-items {
  background: #17171d !important;
}

/* Category items */
body.bf-dark .navbar .megamenu-item {
  color: #ececf2 !important;
  background: transparent !important;
  transition: background .2s ease, color .2s ease;
}

body.bf-dark .navbar .megamenu-item:hover {
  background: #2a2a33 !important;
  color: #ffffff !important;
}

/* active/current item if theme adds active class */
body.bf-dark .navbar .megamenu-items .active > .megamenu-item,
body.bf-dark .navbar .megamenu-items .megamenu-item.active {
  background: #2f2f38 !important;
  color: #ffffff !important;
}

/* Main content headings in mega menu */
body.bf-dark .navbar .megamenu-content a.text-dark,
body.bf-dark .navbar .megamenu-content .text-dark {
  color: #ffffff !important;
}

/* Sub-links in mega menu */
body.bf-dark .navbar .megamenu-content a.text-gray,
body.bf-dark .navbar .megamenu-content .text-gray,
body.bf-dark .navbar .megamenu-content ul li a {
  color: #c8c8d2 !important;
}

/* Hover state for all mega menu links */
body.bf-dark .navbar .megamenu-content a:hover,
body.bf-dark .navbar .megamenu-content ul li a:hover {
  color: #efbc9d !important;
}

/* If any item gets a light background from base theme, neutralize it */
body.bf-dark .navbar .megamenu-content .bg-white,
body.bf-dark .navbar .megamenu-content .bg-light,
body.bf-dark .navbar .megamenu-items .bg-white,
body.bf-dark .navbar .megamenu-items .bg-light {
  background: transparent !important;
}

/* Better readability for columns */
body.bf-dark .navbar .megamenu-content {
  color: #e9e9ef !important;
}

body.bf-dark .navbar .megamenu-content > div {
  color: inherit !important;
}


<!-- Existing Black Friday Banner -->
<section class="bf-live" dir="rtl">
  <!-- کد فعلی بنر بلک فرایدی -->
</section>

<style>
  /* استایل‌های فعلی بلک فرایدی */
</style>

<!-- Payment Gateway Popup -->
<div id="dpg-overlay" class="dpg-overlay" hidden>
  <!-- کد پاپ‌آپ پرداخت -->
</div>

<style>
  /* استایل‌های پاپ‌آپ */
</style>

<script>
  /* اسکریپت نمایش پاپ‌آپ */
</script>