/* ================== Theme Tokens (should already exist globally) ================== */
/* If already defined in your layout, you can skip this block. Shown here for clarity. */
:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --text: #111317;         /* light text (nearly black) */
  --muted: #6b7280;
  --border: #e5e7eb;
  --link: #111317;         /* links in light */
  --footer-bg: #f0f2f5;    /* lighter footer in light */
  --footer-text: #111317;
  --footer-muted: #4b5563;

  --bg-accent: #F3FAFD;    /* used by .bg-primary-light */
  --border-accent: #E4F4FF;

  --btn-secondary-text: #ffffff; /* secondary button text (light) */
}

:root[data-theme="dark"] {
  --bg: #0b0b0c;
  --surface: #111113;
  --text: #f5f5f5;         /* dark text (white-ish) */
  --muted: #9ca3af;
  --border: #2a2a2a;
  --link: #ffffff;         /* links in dark */
  --footer-bg: #0f1115;    /* darker footer in dark */
  --footer-text: #ffffff;
  --footer-muted: #cbd5e1;

  --bg-accent: #111827;    /* subtle dark accent bg */
  --border-accent: #2a2a2a;

  --btn-secondary-text: #111317; /* secondary button text (dark) */
}

/* ================== Your CSS (theme-mapped) ================== */

.center-div {
  margin: auto;
  width: 100%;
  height: 100%;
  /*border: 3px solid green;*/
  /*padding: 10px;*/
}

.element-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 375px) {
  .cz-countdown .cz-countdown-seconds {
    margin-top: 0px !important;
  }
}

.btn-gap-right { margin-right: 2px; }
.btn-gap-left  { margin-left: 2px; }

.shop-name-left  { padding-left: 10px; }
.shop-name-right { padding-right: 10px; }

/* was: black -> now theme text (white in dark, black in light) */
.feature_header span {
  color: var(--text);
}

/* was: a { color: black } -> theme-aware link color */
a {
  color: var(--text);
  text-decoration: none;
  background-color: transparent;
}

/* Footer theme: bg/text/muted all mapped */
.page-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.social-btn {
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
}

.social-btn i { line-height: 1.9rem; }

.for-margin { margin-top: 10px; }

.font-weight-bold { font-weight: 600 !important; }

/* was white -> theme footer text (black in light, white in dark) */
.footer-header {
  color: var(--footer-text);
}

/* was #d9dce2 -> theme footer muted */
.widget-list-link {
  color: var(--footer-muted);
}

/* was border: #2d3542 -> theme border */
.page-footer hr {
  border: 0.001px solid var(--border);
}

/* secondary button text: white in light, nearly-black in dark */
.btn-secondary {
  color: var(--btn-secondary-text) !important;
}

/* hover text stays white for outline-primary (usually on colored bg) */
.btn-outline-primary:hover {
  color: #ffffff !important;
}

@media (max-width: 452px) {
  .top-margin { margin-top: 5px; }
}

.string-limit {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .mobile-fs-20 {
    font-size: 16px !important;
    font-weight: 700 !important;
  }
}

body {
  overflow-x: hidden !important;
}

/* was border: #E4F4FF -> theme accent border */
.offline_payment_button {
  border-radius: 10px;
  border: 1px solid var(--border-accent);
}

/* was #F3FAFD -> theme accent bg (dark me deep slate) */
.bg-primary-light {
  background-color: var(--bg-accent) !important;
}

.__text-60px { font-size: 60px !important; }

@media (max-width: 575px) {
  .chat_with_seller-buttons {
    position: absolute;
    right: 0;
    top: 0;
  }
  .chat_with_seller-buttons .btn {
    padding: 5px;
    width: 35px;
    min-width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
  }
  .fs-18-mobile { font-size: 18px !important; }
  .support_ticket_head-media img { width: 40px; }
  .support_ticket_head-media h6 {
    font-size: 14px;
    font-weight: bold;
  }
  .support_ticket_head-media .meta-info {
    font-size: 12px;
    column-gap: .5rem;
  }
  /* was #D9D9D9 -> theme muted */
  .time_date { color: var(--muted); }
}
