/* =============================================
   تحويل كامل للموقع إلى بني داكن ممزوج بذهبي
   إزالة كاملة للون الأبيض + إعدادات Hesham Yuns الاحترافية
   ============================================= */

/* ---------- 1. ضبط الأساسيات وإزالة الهوامش من جميع العناصر ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- 2. إعدادات الـ Body - المظهر العام للموقع ---------- */
html,
body {
  width: 100%;
  overflow-x: hidden;
  background: #1e1713;
}

body {
  background: #1a1512;
  font-family: "Tajawal", "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: #f4ede4;
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- 3. الـ Container الأساسي ---------- */
.container_class {
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #3e2c23 0%, #1e1713 100%);
  background-color: #241c17;
  padding: 0 !important;
  border: none !important;
  outline: none;
  color: #f4ede4;
  display: block;
}

/* ---------- 4. خلفية الموقع العامة ---------- */
body,
main,
div[class*="max-w-"],
.flex.flex-1.flex-col {
  background-color: #0f0b09 !important;
}

/* ---------- 5. الهيدر بالكامل (إزالة الأبيض + ألوان Hesham) ---------- */
.default_header {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
  border-bottom: 1px solid #3d2e28 !important;
}

.default_header_top_text {
  background: #0a0705 !important;
  color: #d4a449 !important;
  border-bottom: 1px solid #4a372e !important;
}

.default_header_top_text span,
.default_header_top_text strong,
.default_header_top_text b {
  color: #d4a449 !important;
}

.default_header_container {
  background-color: transparent !important;
}

.default_header_container a,
.default_header_container .nav-link,
.default_header_container li a {
  color: #e8d5b5 !important;
}

.default_header_container a:hover,
.default_header_container .nav-link:hover {
  color: #e6b859 !important;
}

.default_header_logo {
  color: #e2b143 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.default_header_logo::after {
  background: linear-gradient(
    90deg,
    #d4a449 0%,
    #8b6914 50%,
    #d4a449 100%
  ) !important;
}

.default_header_container svg,
.default_header_container i,
.default_header_container .icon {
  color: #c9a96e !important;
}

.default_header_container svg:hover,
.default_header_container i:hover {
  color: #e6b859 !important;
}

.default_header_container button,
.default_header_container .btn {
  background-color: transparent !important;
  color: #e8d5b5 !important;
  border-color: #5c4438 !important;
}

.default_header_container button:hover {
  background-color: #d4a449 !important;
  color: #1a1512 !important;
  border-color: #d4a449 !important;
}

.default_header_container .dropdown-menu {
  background-color: #1e1713 !important;
  border: 1px solid #4a372e !important;
}

.default_header_container .dropdown-item {
  color: #e8d5b5 !important;
}

.default_header_container .dropdown-item:hover {
  background-color: #2d221d !important;
  color: #e6b859 !important;
}

.default_header_container .badge,
.default_header_container .cart-count {
  background-color: #d4a449 !important;
  color: #1a1512 !important;
}

.default_header_container hr,
.default_header_container .divider {
  border-color: #3d2e28 !important;
}

.default_header.sticky,
.default_header.fixed {
  background-color: #1a1512 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* زر القائمة في الموبايل */
button.bg-white {
  background-color: transparent !important;
}

/* إخفاء أي خلفية بيضاء في الهيدر */
.bg-white,
header.bg-white,
nav.bg-white,
.bg-white.sticky,
.sticky.top-0 {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
}

/* ---------- 6. الفوتر بالكامل (إزالة الأبيض) ---------- */
footer,
footer.bg-white,
footer .bg-white,
footer .border-t.bg-skin-primary.\!bg-white {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
}

footer .border-t {
  background-color: #0a0705 !important;
  border-top-color: #3d2e28 !important;
}

footer .\!bg-white,
footer .bg-skin-primary {
  background-color: #2d221d !important;
  border: 1px solid #4a372e !important;
}

footer button[id*="headlessui-disclosure-button"] {
  background: transparent !important;
  color: #e8d5b5 !important;
}

footer button[id*="headlessui-disclosure-button"] h3 {
  color: #d4a449 !important;
}

/* ---------- 7. البانر الرئيسي (Home Banner) - Hesham Yuns ---------- */
.home_banner {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
  overflow: hidden;
  position: relative;
  line-height: 0;
  background-color: #000;
  box-sizing: border-box;
}

.home_banner_img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .home_banner {
    max-height: 450px;
  }
  .home_banner_img {
    height: 100%;
    min-height: 250px;
  }
}

@media (min-width: 768px) {
  .home_banner {
    max-height: 550px;
  }
  .home_banner_img {
    height: 100%;
  }
}

/* ---------- 8. أزرار التنقل (Slider Buttons) - Hesham Yuns مع ألوان داكنة ---------- */
.slider_buttons_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  z-index: 10;
  background: linear-gradient(
    180deg,
    rgba(30, 23, 19, 0.85) 0%,
    rgba(20, 15, 12, 0.95) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 60px 60px 30px 30px;
  margin: 1.5rem auto;
  max-width: 90%;
  box-shadow:
    0 15px 35px -10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(220, 199, 177, 0.08);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.slider_button {
  min-width: 160px;
  height: 60px;
  padding: 0 2.2rem 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f4ede4;
  background: linear-gradient(135deg, #3e2c23 0%, #2a1f19 50%, #1e1713 100%);
  border: none;
  outline: none;
  border-radius: 50px;
  box-shadow:
    0 10px 20px -5px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(212, 175, 55, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.05),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  line-height: 1;
}

.slider_button::before {
  content: "BH";
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: #d4af37;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.slider_button::after {
  content: "→";
  font-size: 1.8rem;
  font-weight: 300;
  color: #dcc7b1;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin-right: -5px;
  transform: translateX(0);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.slider_button .button_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.slider_button:hover {
  transform: translateY(-3px) rotate(0.5deg);
  background: linear-gradient(135deg, #4a3528 0%, #34261e 50%, #241c17 100%);
  box-shadow:
    0 15px 30px -8px rgba(0, 0, 0, 0.6),
    0 0 0 1.5px rgba(212, 175, 55, 0.5),
    inset 0 2px 6px rgba(255, 255, 255, 0.08),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.slider_button:hover::before {
  color: #f3e5ab;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
  transform: scale(1.05);
}

.slider_button:hover::after {
  animation: arrowInfiniteMove 1.2s ease-in-out infinite;
  color: #d4af37;
  transform: translateX(5px);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

@keyframes arrowInfiniteMove {
  0% {
    transform: translateX(0) scale(1);
    opacity: 0.9;
  }
  25% {
    transform: translateX(8px) scale(1.1);
    opacity: 1;
  }
  50% {
    transform: translateX(12px) scale(1.15);
    opacity: 1;
  }
  75% {
    transform: translateX(6px) scale(1.05);
    opacity: 0.95;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 0.9;
  }
}

.slider_button:active {
  transform: translateY(0) rotate(0.2deg);
  box-shadow:
    0 5px 12px -3px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.3),
    inset 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.1s ease;
}

.slider_button:focus-visible {
  outline: 3px solid #d4af37;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

@media (hover: none) {
  .slider_button:hover::after {
    animation: none;
    transform: translateX(0);
  }
  .slider_button:hover {
    transform: none;
  }
}

/* ---------- 9. Swiper Pagination - Hesham Yuns ---------- */
.swiper-pagination {
  position: relative;
  bottom: 0 !important;
  margin-top: 2rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.5rem;
  background: rgba(30, 23, 19, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  background: #a38c7b;
  opacity: 0.5;
  margin: 0 6px !important;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
  border: 1px solid transparent;
}

.swiper-pagination-bullet:hover {
  opacity: 0.9;
  background: #dcc7b1;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 20px;
  background: linear-gradient(90deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
  opacity: 1;
  box-shadow:
    0 0 12px rgba(212, 175, 55, 0.7),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(1);
  animation: bulletGlow 2s infinite alternate;
}

@keyframes bulletGlow {
  0% {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  }
  100% {
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.9);
  }
}

/* ---------- 10. بطاقات الأقسام (Category Cards) - Hesham Yuns مع ألوان داكنة ---------- */
.default_category_card {
  background: rgba(26, 21, 18, 0.8) !important;
  border-radius: 20px;
  padding: 15px;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  transition: all 0.3s ease-in-out;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

.default_category_card:hover {
  transform: translateY(-8px);
  border-color: #d4af37 !important;
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2) !important;
  background: rgba(32, 26, 22, 0.9) !important;
}

.default_category_card_img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 12px;
  background: #1a1512 !important;
  padding: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.default_category_card_name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e8d5b5 !important;
  margin-top: 10px;
  display: block;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.default_category_card:hover .default_category_card_name {
  color: #d4af37 !important;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* ---------- 11. بطاقات المنتجات (إزالة الأبيض) ---------- */
.group.box-border {
  background: #1a1512 !important;
  border: 1px solid #3d2e28 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.group.box-border:hover {
  background: #201a16 !important;
  border-color: #d4a449 !important;
  box-shadow: 0 8px 24px rgba(212, 164, 73, 0.15) !important;
}

.group.box-border .text-heading {
  color: #e8d5b5 !important;
}

.group.box-border .text-\[\#61758A\] {
  color: #d4a449 !important;
}

.group.box-border .text-\[\#131316\] {
  color: #d4a449 !important;
}

.group.box-border del {
  color: #8b7355 !important;
}

.group.box-border .bg-\[\#C4301C\] {
  background: #d4a449 !important;
  color: #0f0b09 !important;
  font-weight: bold !important;
}

.group.box-border .bg-white,
.group.box-border .max-md\:bg-white\/30 {
  background: #0f0b09 !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid #4a372e !important;
}

.group.box-border .bg-white svg,
.group.box-border svg.text-\[\#131316\] {
  color: #d4a449 !important;
  stroke: #d4a449 !important;
}

.group.box-border .bg-white:hover {
  background: #2d221d !important;
  border-color: #d4a449 !important;
}

/* ---------- 12. عناوين الصفحات والأقسام ---------- */
.container_class h1,
.container_class h2,
.container_class h3,
.category_section_header h1,
h1,
h2,
h3,
h4,
h5,
h6,
.home_section_top_title {
  color: #e8d5b5 !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container_class h1 {
  font-size: 3rem;
  border-bottom: 1px solid rgba(220, 199, 177, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 0.8rem;
}

.container_class h2 {
  font-size: 2.2rem;
  color: #e5d3c0 !important;
}

.container_class p {
  color: #d2c1b0 !important;
  margin-bottom: 1.2rem;
}

.home_section_top_title svg {
  color: #d4a449 !important;
  opacity: 0.2 !important;
}

/* ---------- 13. أزرار التصفية والترتيب ---------- */
button[id*="headlessui-listbox-button"] {
  background: #1a1512 !important;
  color: #e8d5b5 !important;
  border: 1px solid #4a372e !important;
}

button[id*="headlessui-listbox-button"]:hover {
  background: #2d221d !important;
  border-color: #d4a449 !important;
}

button[id*="headlessui-listbox-button"] svg {
  color: #d4a449 !important;
}

/* ---------- 14. القوائم المنسدلة ---------- */
[role="listbox"],
[role="menu"],
select,
option {
  background-color: #1a1512 !important;
  color: #e8d5b5 !important;
  border: 1px solid #3d2e28 !important;
}

[role="option"]:hover,
[role="menuitem"]:hover,
option:hover {
  background-color: #2d221d !important;
  color: #d4a449 !important;
}

/* ---------- 15. النصوص والروابط العامة ---------- */
p,
span,
div,
li,
a:not(.default_header_logo a):not(.slider_button) {
  color: #e8d5b5 !important;
}

.container_class a {
  color: #d4af37 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted rgba(212, 175, 55, 0.3);
}

.container_class a:hover {
  color: #f3e5ab !important;
  border-bottom: 1px solid #d4af37;
}

a:hover {
  color: #d4a449 !important;
}

.text-heading,
.text-\[\#131316\] {
  color: #e8d5b5 !important;
}

.container_class small,
.container_class .meta {
  font-size: 0.875rem;
  color: #a38c7b !important;
  font-weight: 300;
}

/* ---------- 16. أيقونات SVG ---------- */
svg:not(.home_section_top_title svg):not(.slider_button svg) {
  color: #e8d5b5 !important;
  stroke: #e8d5b5 !important;
  fill: #e8d5b5 !important;
}

svg[fill="none"] {
  fill: none !important;
}

button:hover svg {
  color: #d4a449 !important;
  stroke: #d4a449 !important;
  fill: #d4a449 !important;
}

svg [fill="#131316"],
svg [fill="currentColor"] {
  fill: #e8d5b5 !important;
}

/* ---------- 17. الفواصل والحدود ---------- */
.border-\[\#E2E2E2\],
.border-gray-300,
.border-t {
  border-color: #3d2e28 !important;
}

/* ---------- 18. خلفيات العناصر المؤقتة (Loading Placeholders) ---------- */
.bg-\[\#f3f3f3\],
.absolute.inset-0.bg-\[\#f3f3f3\] {
  background-color: #2d221d !important;
}

/* ---------- 19. شريط التمرير (Scrollbar) داكن ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f0b09;
}

::-webkit-scrollbar-thumb {
  background: #3d2e28;
  border-radius: 5px;
  border: 2px solid #0f0b09;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4a449;
}

/* ---------- 20. تحسين قراءة النصوص ---------- */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button,
h1,
h2,
h3,
.font-bold,
.font-semibold {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ---------- 21. إخفاء أي خلفية بيضاء متبقية ---------- */
[class*="bg-white"],
[class*="bg-white\/"],
[style*="background: white"],
[style*="background-color: white"],
[style*="background: #fff"],
[style*="background-color: #fff"] {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
}

img,
[class*="opacity-"] {
  background-color: transparent !important;
}

/* ---------- 22. تنسيق خاص لحاوية الصورة في اللوجو ---------- */
.default_header_logo .bg-\[\#f3f3f3\] {
  background-color: transparent !important;
}

/* ---------- 23. حدود التركيز (Accessibility) ---------- */
*:focus-visible {
  outline: 2px solid #d4a449 !important;
  outline-offset: 2px !important;
}

/* ---------- 24. تجاوب مع الوضع الليلي ---------- */
@media (prefers-color-scheme: dark) {
  .container_class {
    background: radial-gradient(
      circle at bottom right,
      #2a1f19 0%,
      #110d0b 100%
    );
  }
}

/* ---------- 25. تجاوب مع أحجام الشاشات المختلفة ---------- */
@media screen and (max-width: 768px) {
  .slider_buttons_container {
    gap: 1rem;
    padding: 1.5rem 1rem;
    max-width: 95%;
    border-radius: 40px 40px 20px 20px;
  }

  .slider_button {
    min-width: 140px;
    height: 55px;
    padding: 0 1.8rem 0 1.5rem;
    font-size: 1.2rem;
  }

  .slider_button::before {
    font-size: 1.4rem;
  }

  .slider_button::after {
    font-size: 1.6rem;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
  }

  .swiper-pagination-bullet-active {
    width: 28px;
  }
}

@media screen and (max-width: 480px) {
  .slider_buttons_container {
    gap: 0.8rem;
    padding: 1.2rem 0.8rem;
    border-radius: 30px 30px 15px 15px;
  }

  .slider_button {
    min-width: 120px;
    height: 50px;
    padding: 0 1.5rem 0 1.2rem;
    font-size: 1.1rem;
    gap: 8px;
  }

  .slider_button::before {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .slider_button::after {
    font-size: 1.5rem;
  }

  .slider_button:hover::after {
    animation-duration: 1.5s;
  }

  .swiper-pagination {
    padding: 0.6rem 1rem;
    margin-top: 1.5rem !important;
  }

  .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 4px !important;
  }

  .swiper-pagination-bullet-active {
    width: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .slider_button {
    min-width: 180px;
    height: 70px;
    font-size: 1.5rem;
  }

  .slider_button::before {
    font-size: 1.8rem;
  }

  .slider_button::after {
    font-size: 2.2rem;
  }

  .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
  }

  .swiper-pagination-bullet-active {
    width: 38px;
  }
}

@media (pointer: coarse) {
  .slider_button {
    min-height: 56px;
    padding: 0 2rem;
  }

  .swiper-pagination-bullet {
    padding: 8px 0;
    background-clip: content-box;
  }
}

/* =============================================
   تم الدمج بنجاح - Hesham Yuns
   جميع الحقوق محفوظة
   ============================================= */
/* =============================================
   صفحة إتمام الطلب - تصميم احترافي داكن
   Checkout Page - Hesham Yuns
   ============================================= */

/* ---------- 1. حاوية الصفحة الرئيسية ---------- */
.checkout_container {
  background-color: #0f0b09 !important;
}

/* ---------- 2. قسم ملخص الطلب (الجهة اليمنى) ---------- */
.checkout_order_summary {
  background-color: #1a1512 !important;
  border-left: 1px solid #3d2e28 !important;
}

/* خلفية رمادية سابقة - تحويلها إلى بني داكن */
.checkout_order_summary.bg-gray-50 {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
}

/* عنوان ملخص الطلب */
.checkout_order_summary h2,
#summary-heading {
  color: #d4a449 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  border-bottom: 2px solid rgba(212, 164, 73, 0.3) !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

/* ---------- 3. قائمة المنتجات في السلة ---------- */
.checkout_cart_items_container {
  border-color: #3d2e28 !important;
}

.checkout_cart_items_container .divide-gray-200 > * {
  border-color: #3d2e28 !important;
}

/* عنصر المنتج */
.checkout_cart_items_container .cart-item {
  background-color: transparent !important;
  border-bottom: 1px solid #3d2e28 !important;
  padding: 1.25rem 0 !important;
}

/* صورة المنتج */
.checkout_cart_items_container .cart-item .h-24 {
  border-color: #4a372e !important;
  background-color: #0f0b09 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

.checkout_cart_items_container .cart-item img {
  border-radius: 12px !important;
}

/* إخفاء الخلفية الرمادية للصورة */
.checkout_cart_items_container .cart-item .bg-\[\#f3f3f3\] {
  display: none !important;
}

/* اسم المنتج */
.checkout_cart_items_container .cart-item h3 {
  color: #e8d5b5 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
}

/* السعر */
.checkout_cart_items_container .cart-item .text-gray-900 {
  color: #d4a449 !important;
  font-weight: 700 !important;
}

.checkout_cart_items_container .cart-item .text-gray-500 {
  color: #a38c7b !important;
}

/* ---------- 4. أزرار زيادة/نقصان الكمية ---------- */
.cart-item-quantity-counter {
  background-color: #0f0b09 !important;
  border-radius: 30px !important;
  padding: 0.25rem !important;
  border: 1px solid #4a372e !important;
}

.cart-item-quantity-counter button {
  background-color: #2d221d !important;
  border-color: #5c4438 !important;
  color: #e8d5b5 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.cart-item-quantity-counter button:hover {
  background-color: #d4a449 !important;
  border-color: #d4a449 !important;
}

.cart-item-quantity-counter button:hover svg {
  color: #0f0b09 !important;
  fill: #0f0b09 !important;
}

.cart-item-quantity-counter button svg {
  color: #d4a449 !important;
  fill: #d4a449 !important;
}

.cart-item-quantity-counter p {
  color: #e8d5b5 !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
}

/* زر الحذف */
.cart-item-quantity-counter button[type="button"] {
  background-color: transparent !important;
  border: none !important;
}

.cart-item-quantity-counter button[type="button"] svg {
  color: #e85d4a !important;
  fill: #e85d4a !important;
}

.cart-item-quantity-counter button[type="button"]:hover svg {
  color: #ff3b3b !important;
  fill: #ff3b3b !important;
}

/* ---------- 5. ملخص الأسعار ---------- */
.checkout_order_summary dl {
  border-color: #3d2e28 !important;
}

.checkout_order_summary dt {
  color: #a38c7b !important;
  font-weight: 500 !important;
}

.checkout_order_summary dd {
  color: #e8d5b5 !important;
  font-weight: 600 !important;
}

/* تكلفة الشحن */
.shipping_cost_container .shipping_cost {
  color: #4caf50 !important;
  font-weight: 700 !important;
}

/* الإجمالي النهائي */
.checkout_order_summary .border-t.pt-6 dd {
  color: #d4a449 !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
}

/* ---------- 6. قسم الكوبون ---------- */
.checkout_order_summary .mt-2 button {
  background: linear-gradient(135deg, #2d221d 0%, #1a1512 100%) !important;
  border: 1px solid #d4a449 !important;
  color: #d4a449 !important;
  border-radius: 30px !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.checkout_order_summary .mt-2 button:hover {
  background: #d4a449 !important;
  color: #0f0b09 !important;
  box-shadow: 0 4px 15px rgba(212, 164, 73, 0.3) !important;
}

/* ---------- 7. نموذج إدخال المعلومات (الجهة اليسرى) ---------- */
.checkout_form {
  background-color: transparent !important;
}

/* بطاقة النموذج */
.contact-info-heading {
  background: linear-gradient(145deg, #1e1713 0%, #16110e 100%) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(212, 164, 73, 0.1) !important;
  border: 1px solid #3d2e28 !important;
}

/* إطار متقطع ذهبي */
.contact-info-heading svg rect {
  stroke: #d4a449 !important;
  stroke-width: 1.5 !important;
}

/* عنوان النموذج */
.contact-info-heading h2 {
  color: #d4a449 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.contact-info-heading h2::before {
  content: "✨" !important;
  font-size: 1.5rem !important;
}

/* ---------- 8. حقول الإدخال ---------- */
.contact-info-heading .global_input,
.contact-info-heading .global_textarea,
.contact-info-heading .gov_select > div {
  background-color: #0f0b09 !important;
  border: 1px solid #4a372e !important;
  border-radius: 14px !important;
  color: #e8d5b5 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

.contact-info-heading .global_input:focus,
.contact-info-heading .global_textarea:focus {
  border-color: #d4a449 !important;
  box-shadow: 0 0 0 3px rgba(212, 164, 73, 0.15) !important;
  outline: none !important;
}

.contact-info-heading .global_input::placeholder,
.contact-info-heading .global_textarea::placeholder {
  color: #6b5b50 !important;
  font-weight: 400 !important;
}

/* أيقونات الحقول */
.contact-info-heading svg {
  color: #d4a449 !important;
  opacity: 0.8 !important;
}

/* حقل اختيار المحافظة */
.contact-info-heading .gov_select .select__control {
  background-color: #0f0b09 !important;
  border-color: #4a372e !important;
  border-radius: 14px !important;
  min-height: 48px !important;
}

.contact-info-heading .gov_select .select__single-value {
  color: #e8d5b5 !important;
}

.contact-info-heading .gov_select .select__dropdown-indicator svg {
  fill: #d4a449 !important;
}

/* القائمة المنسدلة */
.select__menu {
  background-color: #1a1512 !important;
  border: 1px solid #4a372e !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.select__option {
  color: #e8d5b5 !important;
  background-color: transparent !important;
  padding: 0.75rem 1rem !important;
  cursor: pointer !important;
}

.select__option:hover,
.select__option--is-focused {
  background-color: #2d221d !important;
  color: #d4a449 !important;
}

.select__option--is-selected {
  background-color: #d4a449 !important;
  color: #0f0b09 !important;
  font-weight: 600 !important;
}

/* ---------- 9. زر إتمام الطلب ---------- */
.checkout_buy_now {
  background: linear-gradient(
    135deg,
    #d4a449 0%,
    #b8862d 50%,
    #d4a449 100%
  ) !important;
  border: none !important;
  color: #0f0b09 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  border-radius: 50px !important;
  box-shadow:
    0 10px 25px rgba(212, 164, 73, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  position: relative !important;
  overflow: hidden !important;
}

.checkout_buy_now::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  ) !important;
  transition: left 0.6s ease !important;
}

.checkout_buy_now:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 15px 35px rgba(212, 164, 73, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(
    135deg,
    #e0b052 0%,
    #c9963a 50%,
    #e0b052 100%
  ) !important;
}

.checkout_buy_now:hover::before {
  left: 100% !important;
}

.checkout_buy_now:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 15px rgba(212, 164, 73, 0.3) !important;
}

/* ---------- 10. شريط الزر في الموبايل ---------- */
.fixed.bottom-0 {
  background-color: #1a1512 !important;
  border-top: 1px solid #3d2e28 !important;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* إزالة الخلفية البيضاء في الموبايل */
.max-md\:bg-white {
  background-color: #1a1512 !important;
}

/* ---------- 11. النصوص والروابط ---------- */
.checkout_container .text-gray-900 {
  color: #e8d5b5 !important;
}

.checkout_container .text-gray-600 {
  color: #a38c7b !important;
}

.checkout_container .text-gray-500 {
  color: #8b7355 !important;
}

/* ---------- 12. الفواصل والحدود ---------- */
.checkout_container .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: #3d2e28 !important;
}

.checkout_container .border-gray-200 {
  border-color: #3d2e28 !important;
}

.checkout_container .border-t {
  border-color: #3d2e28 !important;
}

/* ---------- 13. إخفاء أي خلفيات فاتحة متبقية ---------- */
.checkout_container [class*="bg-white"],
.checkout_container [class*="bg-gray-50"],
.checkout_container [class*="bg-gray-100"],
.checkout_container [style*="background: white"],
.checkout_container [style*="background-color: white"],
.checkout_container [style*="background: #f"],
.checkout_container [style*="background: rgb(24"] {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
}

/* ---------- 14. تحسينات للهواتف المحمولة ---------- */
@media (max-width: 768px) {
  .checkout_order_summary {
    padding: 1.5rem 1rem !important;
  }

  .contact-info-heading {
    padding: 1.5rem !important;
  }

  .checkout_buy_now {
    padding: 0.875rem 1.5rem !important;
    font-size: 1.1rem !important;
  }

  .cart-item-quantity-counter button {
    width: 28px !important;
    height: 28px !important;
  }
}

@media (max-width: 480px) {
  .contact-info-heading {
    padding: 1.25rem !important;
  }

  .checkout_order_summary h2 {
    font-size: 1.3rem !important;
  }

  .cart-item h3 {
    font-size: 1rem !important;
  }
}

/* ---------- 15. تأثيرات حركية إضافية ---------- */
.checkout_container input,
.checkout_container textarea,
.checkout_container select,
.checkout_container button {
  transition: all 0.3s ease !important;
}

/* تحسين مظهر الـ Placeholder */
::placeholder {
  color: #6b5b50 !important;
  opacity: 0.7 !important;
}

/* تحسين مظهر النص المحدد */
::selection {
  background-color: #d4a449 !important;
  color: #0f0b09 !important;
}

/* ---------- 16. تنسيق خاص لرسائل الخطأ ---------- */
.checkout_form .error-message,
.checkout_form .text-red-600 {
  color: #e85d4a !important;
  font-size: 0.875rem !important;
  margin-top: 0.25rem !important;
}

/* ---------- 17. تحسينات للـ Focus ---------- */
.checkout_container *:focus-visible {
  outline: 2px solid #d4a449 !important;
  outline-offset: 2px !important;
}

/* =============================================
   نهاية تنسيق صفحة إتمام الطلب
   2Hesham Yuns - تصميم احترافي داكن
   ============================================= */
/* =============================================
   إصلاح الفوتر وزر إتمام الطلب - صفحة إتمام الطلب فقط
   Checkout Footer & Button Fix - Hesham Yuns
   ============================================= */

/* ---------- 1. إصلاح الفوتر في صفحة إتمام الطلب ---------- */

/* إعادة ضبط خلفية الفوتر */
.checkout_container ~ footer,
body:has(.checkout_container) footer,
footer:has(~ .checkout_container, .checkout_container) {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
  border-top: 1px solid #3d2e28 !important;
  position: relative !important;
  z-index: 20 !important;
}

/* إزالة أي طبقات فوق الفوتر */
.checkout_container ~ footer::before,
body:has(.checkout_container) footer::before {
  display: none !important;
}

/* تنسيق النصوص داخل الفوتر */
.checkout_container ~ footer *,
body:has(.checkout_container) footer * {
  color: #e8d5b5 !important;
}

.checkout_container ~ footer a,
body:has(.checkout_container) footer a {
  color: #d4a449 !important;
}

.checkout_container ~ footer a:hover,
body:has(.checkout_container) footer a:hover {
  color: #e6b859 !important;
}

/* عناوين الفوتر */
.checkout_container ~ footer h3,
.checkout_container ~ footer h4,
body:has(.checkout_container) footer h3,
body:has(.checkout_container) footer h4 {
  color: #d4a449 !important;
}

/* ---------- 2. إصلاح زر إتمام الطلب - جعل النص واضحاً ---------- */

/* الزر الأساسي */
.checkout_buy_now {
  background: linear-gradient(
    135deg,
    #d4a449 0%,
    #e6b859 50%,
    #d4a449 100%
  ) !important;
  color: #0f0b09 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  border: none !important;
  box-shadow:
    0 8px 20px rgba(212, 164, 73, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* تأثير Hover */
.checkout_buy_now:hover {
  background: linear-gradient(
    135deg,
    #e6b859 0%,
    #f0c86a 50%,
    #e6b859 100%
  ) !important;
  color: #000000 !important;
  box-shadow:
    0 12px 28px rgba(212, 164, 73, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* الزر داخل الحاوية المثبتة في الموبايل */
.fixed.bottom-0 .checkout_buy_now,
.max-md\:bg-white .checkout_buy_now {
  background: linear-gradient(
    135deg,
    #d4a449 0%,
    #e6b859 50%,
    #d4a449 100%
  ) !important;
  color: #0f0b09 !important;
  font-weight: 800 !important;
}

/* ---------- 3. إصلاح أي نصوص سوداء متبقية ---------- */

/* جميع النصوص في صفحة إتمام الطلب */
.checkout_container,
.checkout_container * {
  color-scheme: dark !important;
}

/* النصوص السوداء أو الداكنة جداً */
.checkout_container [class*="text-gray-900"],
.checkout_container [class*="text-black"],
.checkout_container [style*="color: #000"],
.checkout_container [style*="color: black"],
.checkout_container [style*="color: rgb(0,0,0)"] {
  color: #e8d5b5 !important;
}

/* أرقام الأسعار */
.checkout_container dd,
.checkout_container .font-bold {
  color: #d4a449 !important;
}

/* ---------- 4. إصلاح خلفية شريط الزر المثبت في الموبايل ---------- */

.fixed.bottom-0 {
  background-color: #1a1512 !important;
  border-top: 1px solid #4a372e !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
  padding: 1rem !important;
}

.max-md\:bg-white {
  background-color: #1a1512 !important;
}

/* ---------- 5. ضمان وضوح النص في جميع الأزرار ---------- */

.checkout_container button {
  color: #e8d5b5 !important;
}

.checkout_container button.bg-skin-primary,
.checkout_container button.checkout_buy_now {
  color: #0f0b09 !important;
}

/* زر الكوبون */
.checkout_order_summary .mt-2 button {
  background: linear-gradient(135deg, #2d221d 0%, #1a1512 100%) !important;
  border: 1px solid #d4a449 !important;
  color: #d4a449 !important;
}

.checkout_order_summary .mt-2 button:hover {
  background: #d4a449 !important;
  color: #0f0b09 !important;
}

/* ---------- 6. إصلاح الفوتر تحديداً - إزالة أي طبقات فوقه ---------- */

/* ضمان ظهور الفوتر بشكل طبيعي */
footer {
  position: relative !important;
  z-index: 30 !important;
  background-color: #1a1512 !important;
  margin-top: 0 !important;
}

/* إزالة أي تأثيرات شفافية قد تسبب تداخل */
.checkout_container + *,
.checkout_container ~ * {
  position: relative !important;
}

/* تنظيف المساحة بعد صفحة إتمام الطلب */
.checkout_container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ---------- 7. تنسيق خاص للفوتر في صفحة إتمام الطلب ---------- */

/* روابط الفوتر */
footer a {
  color: #c9a96e !important;
  transition: color 0.3s ease !important;
}

footer a:hover {
  color: #e6b859 !important;
  text-decoration: underline !important;
}

/* أيقونات التواصل الاجتماعي */
footer svg {
  color: #d4a449 !important;
  fill: #d4a449 !important;
}

footer svg:hover {
  color: #e6b859 !important;
  fill: #e6b859 !important;
}

/* شريط الحقوق السفلي */
footer .border-t {
  border-color: #3d2e28 !important;
  background-color: #0f0b09 !important;
}

footer .border-t * {
  color: #a38c7b !important;
}

/* ---------- 8. تحسينات للهواتف ---------- */
@media (max-width: 768px) {
  .fixed.bottom-0 {
    padding: 0.75rem !important;
  }

  .checkout_buy_now {
    padding: 0.875rem 1.5rem !important;
    font-size: 1.1rem !important;
  }

  footer {
    margin-top: 2rem !important;
    padding-top: 2rem !important;
  }
}

/* ---------- 9. ضمان عدم وجود نصوص سوداء في أي مكان ---------- */

.checkout_container,
.checkout_container div,
.checkout_container p,
.checkout_container span,
.checkout_container h1,
.checkout_container h2,
.checkout_container h3,
.checkout_container h4,
.checkout_container h5,
.checkout_container h6,
.checkout_container li,
.checkout_container label,
.checkout_container dt,
.checkout_container dd {
  color: #e8d5b5 !important;
}

/* استثناءات للون الذهبي */
.checkout_container .text-skin-primary,
.checkout_container h2,
.checkout_container .shipping_cost,
.checkout_container dd.font-bold {
  color: #d4a449 !important;
}

/* لون رمادي للنصوص الثانوية */
.checkout_container .text-gray-500,
.checkout_container .text-gray-600,
.checkout_container dt {
  color: #a38c7b !important;
}

/* =============================================
   نهاية إصلاحات صفحة إتمام الطلب
   Hesham Yuns
   ============================================= */
/* =============================================
   إزالة اللون الأبيض من الجهة اليسرى فقط
   Checkout Left Background Removal - Hesham Yuns
   ============================================= */

/* إخفاء العنصر الأبيض في الجهة اليسرى نهائياً */
.checkout_bg_left {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* أو تغيير لونه إلى اللون الداكن المتناسق مع الصفحة */
.checkout_bg_left.bg-gray-50 {
  background-color: #0f0b09 !important;
  background: #0f0b09 !important;
}

/* للشاشات الكبيرة فقط */
@media (min-width: 1024px) {
  .lg\:block.checkout_bg_left {
    display: none !important;
  }
}

/* بديل: إذا أردت الإبقاء على العنصر ولكن بلون داكن */
.checkout_bg_left {
  background: #0f0b09 !important;
  background-color: #0f0b09 !important;
}
/* =============================================
   تعديلات خاصة بصفحة المنتج - وضوح الألوان والخطوط
   Product Page Dark Theme Enhancements
   ============================================= */

/* ---------- 1. تحسين خطوط وألوان النصوص الأساسية ---------- */
.product_name {
  color: #f0e6d2 !important;
  font-family: "Tajawal", "Cairo", sans-serif !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.product_description p,
.product_description li,
.ql-editor p {
  color: #d4cdc4 !important;
  font-size: 1.05rem !important;
  line-height: 1.9 !important;
}

/* ---------- 2. شريط التنقل (Breadcrumb) ---------- */
a[href="/"],
a[href*="/collections/"] {
  color: #c9a96e !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

a[href="/"]:hover,
a[href*="/collections/"]:hover {
  color: #e6b859 !important;
}

.text-black\/80,
.\!text-\[\#010101\] {
  color: #e8d5b5 !important;
  font-weight: 500 !important;
}

/* ---------- 3. سعر المنتج ---------- */
#sale-price {
  color: #d4a449 !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(212, 164, 73, 0.3) !important;
}

.text-\[\#61758A\] {
  color: #b8a088 !important;
}

.line-through {
  color: #8b7355 !important;
}

/* ---------- 4. خلفية الصور ---------- */
.sphinx_product_img,
.bg-\[\#f3f3f3\] {
  background-color: #0f0b09 !important;
  border: 1px solid #3d2e28 !important;
}

/* ---------- 5. نموذج إدخال البيانات (في صفحة المنتج) ---------- */
.product_form_checkout {
  background: linear-gradient(145deg, #1e1713 0%, #16110e 100%) !important;
  border: 1px solid #3d2e28 !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.product_form_checkout svg rect {
  stroke: #d4a449 !important;
  stroke-width: 1.5 !important;
}

/* عنوان النموذج */
.product_form_checkout p.text-lg {
  color: #d4a449 !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
}

/* حقول الإدخال */
.product_form_checkout .global_input,
.product_form_checkout .global_textarea {
  background-color: #0a0705 !important;
  border: 1px solid #4a372e !important;
  color: #f0e6d2 !important;
  font-size: 1rem !important;
  border-radius: 14px !important;
  transition: all 0.3s ease !important;
}

.product_form_checkout .global_input:focus,
.product_form_checkout .global_textarea:focus {
  border-color: #d4a449 !important;
  box-shadow: 0 0 0 3px rgba(212, 164, 73, 0.15) !important;
}

.product_form_checkout .global_input::placeholder,
.product_form_checkout .global_textarea::placeholder {
  color: #7a6858 !important;
  font-weight: 400 !important;
}

/* أيقونات الحقول */
.product_form_checkout svg.text-\[\#61758A\] {
  color: #c9a96e !important;
}

/* حقل اختيار المحافظة */
.product_form_checkout .gov_select .select__control {
  background-color: #0a0705 !important;
  border-color: #4a372e !important;
  border-radius: 14px !important;
}

.product_form_checkout .gov_select .select__single-value {
  color: #f0e6d2 !important;
}

.product_form_checkout .gov_select .select__menu {
  background-color: #1a1512 !important;
  border: 1px solid #4a372e !important;
}

.product_form_checkout .gov_select .select__option {
  color: #e8d5b5 !important;
}

.product_form_checkout .gov_select .select__option:hover {
  background-color: #2d221d !important;
  color: #d4a449 !important;
}

/* ---------- 6. تكلفة الشحن والإجمالي ---------- */
.shipping_cost_container dt,
.total_price_container dt {
  color: #b8a088 !important;
  font-weight: 500 !important;
}

.shipping_cost_container .shipping_cost {
  color: #4caf50 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 5px rgba(76, 175, 80, 0.3) !important;
}

.total_price_container .total_price {
  color: #d4a449 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
}

/* ---------- 7. زر الكوبون ---------- */
.product_form_checkout button[type="button"] {
  background: transparent !important;
  border: 1px solid #d4a449 !important;
  color: #d4a449 !important;
  font-weight: 600 !important;
  border-radius: 30px !important;
  transition: all 0.3s ease !important;
}

.product_form_checkout button[type="button"]:hover {
  background: #d4a449 !important;
  color: #0f0b09 !important;
}

/* ---------- 8. أزرار الشراء والإضافة للسلة ---------- */
.checkout_btn,
.form_checkout_btn {
  background: linear-gradient(
    135deg,
    #d4a449 0%,
    #e6b859 50%,
    #d4a449 100%
  ) !important;
  color: #0f0b09 !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 20px rgba(212, 164, 73, 0.4) !important;
  transition: all 0.4s ease !important;
  text-transform: uppercase !important;
}

.checkout_btn:hover,
.form_checkout_btn:hover {
  background: linear-gradient(
    135deg,
    #e6b859 0%,
    #f0c86a 50%,
    #e6b859 100%
  ) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(212, 164, 73, 0.5) !important;
}

/* زر أضف للسلة */
.add_to_cart_btn {
  background: transparent !important;
  border: 2px solid #d4a449 !important;
  color: #d4a449 !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
}

.add_to_cart_btn:hover {
  background: #d4a449 !important;
  color: #0f0b09 !important;
}

/* ---------- 9. عداد الكمية ---------- */
.in-product-quantity-counter .quantity_container {
  background-color: #0a0705 !important;
  border: 1px solid #4a372e !important;
  border-radius: 50px !important;
}

.in-product-quantity-counter button {
  background-color: #2d221d !important;
  color: #e8d5b5 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.in-product-quantity-counter button:hover {
  background-color: #d4a449 !important;
  color: #0f0b09 !important;
}

.in-product-quantity-counter button svg {
  fill: #e8d5b5 !important;
}

.in-product-quantity-counter button:hover svg {
  fill: #0f0b09 !important;
}

.in-product-quantity-counter p {
  color: #f0e6d2 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

/* ---------- 10. التبويبات (Tabs) في الموبايل ---------- */
.product_tabs_elegance_container {
  background-color: transparent !important;
}

.product_tabs_elegance_container [role="tablist"] {
  background: #0f0b09 !important;
  border: 1px solid #3d2e28 !important;
  border-radius: 16px !important;
}

.product_tabs_elegance_container button[role="tab"] {
  color: #b8a088 !important;
  font-weight: 600 !important;
  background: transparent !important;
  transition: all 0.3s ease !important;
}

.product_tabs_elegance_container button[role="tab"][aria-selected="true"] {
  background: #d4a449 !important;
  color: #0f0b09 !important;
  box-shadow: 0 4px 12px rgba(212, 164, 73, 0.3) !important;
}

.product_tabs_elegance_container button[role="tab"]:hover {
  background: #2d221d !important;
  color: #e8d5b5 !important;
}

/* محتوى التبويب */
.product_tabs_elegance_container [role="tabpanel"] {
  background: #1a1512 !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  margin-top: 1rem !important;
  border: 1px solid #3d2e28 !important;
}

/* ---------- 11. قسم المنتجات المشابهة ---------- */
.home_section_top_container span {
  color: #d4a449 !important;
}

.home_section_top_title {
  color: #f0e6d2 !important;
}

.home_section_top_title svg {
  color: #d4a449 !important;
  opacity: 0.3 !important;
}

/* بطاقات المنتجات المشابهة */
.group.box-border {
  background: #1a1512 !important;
  border: 1px solid #3d2e28 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
}

.group.box-border:hover {
  background: #201a16 !important;
  border-color: #d4a449 !important;
  box-shadow: 0 8px 24px rgba(212, 164, 73, 0.15) !important;
  transform: translateY(-4px) !important;
}

/* عنوان المنتج في البطاقة */
.group.box-border .text-heading {
  color: #e8d5b5 !important;
  font-weight: 600 !important;
}

/* سعر المنتج */
.group.box-border .text-\[\#131316\] {
  color: #d4a449 !important;
  font-weight: 700 !important;
}

.group.box-border del {
  color: #8b7355 !important;
}

/* شارة الخصم */
.group.box-border .bg-\[\#C4301C\] {
  background: #d4a449 !important;
  color: #0f0b09 !important;
  font-weight: 700 !important;
}

/* أزرار البطاقة */
.group.box-border .bg-white {
  background: #0f0b09 !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid #4a372e !important;
}

.group.box-border .bg-white svg {
  color: #d4a449 !important;
  stroke: #d4a449 !important;
}

.group.box-border .bg-white:hover {
  background: #2d221d !important;
  border-color: #d4a449 !important;
}

/* زر عرض جميع المنتجات */
.w-fit.mx-auto.mt-2 {
  background: transparent !important;
  border: 2px solid #d4a449 !important;
  color: #d4a449 !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  transition: all 0.3s ease !important;
}

.w-fit.mx-auto.mt-2:hover {
  background: #d4a449 !important;
  color: #0f0b09 !important;
}

/* ---------- 12. الشريط السفلي الثابت ---------- */
.fixed.bottom-0 {
  background: #1a1512 !important;
  border-top: 1px solid #4a372e !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
}

.fixed.bottom-0 p.text-\[\#010101\] {
  color: #f0e6d2 !important;
}

.fixed.bottom-0 .text-xl.text-\[\#010101\] {
  color: #d4a449 !important;
  font-weight: 700 !important;
}

/* ---------- 13. رسائل الخطأ ---------- */
.text-red-600,
.text-red-500 {
  color: #e85d4a !important;
  font-weight: 500 !important;
}

/* ---------- 14. تحسينات عامة للخطوط ---------- */
* {
  font-family: "Tajawal", "Cairo", "Segoe UI", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

p,
span,
div,
li,
label,
input,
textarea,
select,
button {
  font-weight: 400 !important;
}

/* نص وصف المنتج */
.ql-editor p {
  font-size: 1.05rem !important;
  line-height: 1.9 !important;
  color: #d4cdc4 !important;
}

/* ---------- 15. تحسين التباين (Accessibility) ---------- */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #d4a449 !important;
  outline-offset: 2px !important;
}

/* ---------- 16. إخفاء أي خلفيات بيضاء متبقية ---------- */
.bg-white,
.\!bg-white,
[class*="bg-white"] {
  background-color: #1a1512 !important;
  background: #1a1512 !important;
}

/* خلفية الصفحة العامة */
body {
  background-color: #0f0b09 !important;
}

/* ---------- 17. تنسيق خاص للأيقونات ---------- */
svg:not(.home_section_top_title svg):not(.product_form_checkout svg rect) {
  color: #c9a96e !important;
  stroke: #c9a96e !important;
}

button:hover svg {
  color: #e6b859 !important;
  stroke: #e6b859 !important;
}

/* ---------- 18. عدد المشاهدين (Fake Visitors) ---------- */
.fake_visitors_container {
  background: #0f0b09 !important;
  border: 1px solid #4a372e !important;
  border-radius: 30px !important;
}

.fake_visitors_container p {
  color: #d4a449 !important;
  font-weight: 600 !important;
}

.fake_visitors_container svg {
  color: #4caf50 !important;
}

/* ---------- 19. أزرار التنقل في السلايدر ---------- */
button[aria-label="prev-button"],
button[aria-label="next-button"] {
  background: #1a1512 !important;
  border: 1px solid #4a372e !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

button[aria-label="prev-button"]:hover,
button[aria-label="next-button"]:hover {
  background: #d4a449 !important;
  border-color: #d4a449 !important;
}

button[aria-label="prev-button"] svg,
button[aria-label="next-button"] svg {
  color: #e8d5b5 !important;
}

button[aria-label="prev-button"]:hover svg,
button[aria-label="next-button"]:hover svg {
  color: #0f0b09 !important;
}

/* ---------- 20. عداد الصور ---------- */
.text-xs.text-\[\#778399\] {
  color: #b8a088 !important;
  font-weight: 500 !important;
}

/* =============================================
   نهاية تعديلات صفحة المنتج
   تم تحسين الوضوح وتناسق الألوان
   ============================================= */
