@charset "utf-8";
/*==================================================
  Rebuilder reset (tokenized for darkmode.css tokens)
  - PURE COLOR & VISUAL PROPERTIES ONLY. All other selectors and properties removed.
====================================================*/

/* Selection: follow theme inverse on light, and white on dark */
::selection {
  background-color: var(--rd-bg-inverse);
  color: var(--rd-text-white);
}

button {
  background-color: transparent;
  border: 0;
}

/* Anchor inherits theme primary text by default */
a {
  color: var(--rd-text-primary);
}

/* ------------------
    Theme-aware color utilities
    (mapped to semantic tokens)
------------------ */
.color-fff {
  color: var(--rd-text-white) !important;
}
.color-eee {
  color: var(--rd-text-second) !important;
}
.color-ddd {
  color: var(--rd-text-third) !important;
}
.color-999 {
  color: var(--rd-text-third) !important;
}
.color-888 {
  color: var(--rd-text-third) !important;
}
.color-777 {
  color: var(--rd-text-third) !important;
}
.color-666 {
  color: var(--rd-text-second) !important;
}
.color-555 {
  color: var(--rd-text-second) !important;
}
.color-444 {
  color: var(--rd-text-second) !important;
}
.color-333 {
  color: var(--rd-text-fourth) !important;
}
.color-222 {
  color: var(--rd-text-fourth) !important;
}
.color-111 {
  color: var(--rd-text-fourth) !important;
}
.color-000 {
  color: var(--rd-text-primary) !important;
}

/* Brand/primary color utility */
.main_color {
  color: var(--rd-primary) !important;
}

/* ------------------
    Lightbox (theme-aware)
------------------ */
#d_sLightBox_win .bg {
  background: var(--rd-overlay);
}

#d_sLightBox_win .inner {
  box-shadow: 30px 30px 70px var(--rd-shadow-second);
}

#d_sLightBox_win .inner .iframe {
  border: 0;
  background-color: var(--rd-bg-card);
  color: var(--rd-text-primary);
}

#d_sLightBox_win .inner .close {
  color: var(--rd-text-white);
}

/* ------------------
    Swiper
------------------ */
.swiper-pagination-bullet-active {
  background: var(--rd-text-primary) !important;
}

/* ------------------
    Rebuilder custom alert (theme-aware)
------------------ */
.rb-custom-alert-popup {
  background: var(--rd-bg-card);
  color: var(--rd-text-primary);
  box-shadow: 0 4px 24px var(--rd-shadow-second);
  border: 1px solid var(--rd-border-second);
}

.rb-custom-alert-popup svg {
  opacity: 0.5;
  filter: brightness(0) saturate(100%) invert(16%) sepia(100%) saturate(7485%)
    hue-rotate(348deg) brightness(99%) contrast(108%);
}

.rb-custom-alert-popup-bg {
  background: var(--rd-overlay);
}

.rb-custom-alert-popup .rb-alert-btn {
  color: var(--rd-text-primary);
  border: 1px solid var(--rd-border-second);
  background-color: var(--rd-bg-second) !important;
}

.rb-custom-alert-popup .rb-alert-btn.rb-btn-ok {
  background-color: var(--rd-primary) !important;
  color: var(--rd-text-white) !important;
  border-color: var(--rd-primary);
}

@keyframes customAlertShow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
