/* ── Bootstrap overrides & custom theme ─────────────────────────────────────── */
:root {
  --bs-primary: #901996;
  --bs-primary-rgb: 144, 25, 150;
  --bs-secondary: #ddd6fe;
  --bs-secondary-rgb: 221, 214, 254;
  --bs-success: #b01eb7;
  --bs-success-rgb: 176, 30, 183;
  --bs-warning: #ffb007;
  --bs-danger: #dc3545;
  --bs-dark: #212121;
  --bs-dark2: #141414;
  --bs-body-bg: #141414;
  --bs-body-color: #fff;
  --bs-link-color: #901996;
  --bs-link-hover-color: #6f1374;
  --bs-font-sans-serif: "Montserrat","Ubuntu","Rubik","Karla","Mulish",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

body {
  background-color: #141414;
  color: #fff;
  font-family: var(--bs-font-sans-serif);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  /* Crisp, thin rendering matches reference site's "professional dashboard"
     look. Without these, Montserrat at weight 400-500 gets rendered with
     subpixel hinting that visually thickens strokes. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--bs-link-color); }
a:hover { color: var(--bs-link-hover-color); }

.bg-dark2 { background-color: #141414 !important; }
.container-md { max-width: 980px !important; }

/* ── Global typography tightening — applied site-wide so everything feels
       subtle and consistent, not heavy/blocky. Individual pages can override. */
h1, .h1 { font-size: 24px; font-weight: 500; letter-spacing: -.2px; }
h2, .h2 { font-size: 20px; font-weight: 500; letter-spacing: -.1px; }
h3, .h3 { font-size: 18px; font-weight: 500; }
h4, .h4 { font-size: 16px; font-weight: 500; }
h5, .h5 { font-size: 1.09375rem; font-weight: 500; line-height: 1.2; }
h6, .h6 { font-size: 13px; font-weight: 500; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
label { font-size: 12px; }
p { font-size: 13.5px; line-height: 1.55; }
.text-muted-soft { color: rgba(255,255,255,.55); font-size: 12.5px; }

/* ── Navbar ──────────────────────────────────────────────────────────────────── */
.navbar { padding: .5rem; align-items: flex-end; min-height: 56px; }
.navbar > .container-md,
.navbar .navbar-collapse { align-items: flex-end; }
.navbar-brand { padding: 0 !important; display: flex; align-items: flex-end; }
/* Nudge nav-link baselines down so they sit on the ADMIRE wordmark's bottom
   edge (the logo PNG has the wordmark in the lower portion of its frame). */
.navbar .navbar-nav { align-items: flex-end !important; padding-bottom: 0; }
.navbar .nav-link.cart-count { display: flex; align-items: flex-end; }
.navbar .nav-link.cart-count > svg { transform: translateY(6px); }
/* Baseline-shift only applies to the TOP navbar, not the footer's navbar */
body > .container-md > .navbar .nav-link { transform: translateY(-1.5px); }
/* Restore natural padding for footer nav-links so the Telegram icon sits
   level with the surrounding text labels. */
footer .navbar .nav-link { padding-top: 8px !important; padding-bottom: 8px !important; }
/* Drop the Telegram icon down so it sits in the optical center of the row */
.footer-tg-icon { transform: translateY(3px); }
.navbar-brand > img { width: auto !important; height: 38px !important; max-height: 38px; object-fit: contain; user-select: none; outline: none; }
.navbar-dark .navbar-nav .nav-link:not(.btn):not(.cart-count) { color: #fff !important; }
.navbar-dark .navbar-nav .nav-link:not(.btn):not(.cart-count):hover { color: #fff !important; }
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:not(.btn):not(.cart-count).active { color: #b01eb7 !important; font-weight: 600; }

/* Mobile/collapsed nav — center everything when the hamburger expands */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
    padding-top: 8px;
  }
  .navbar-collapse .navbar-nav {
    align-items: center !important;
    width: 100%;
  }
  .navbar-collapse .navbar-nav.ms-auto { margin-left: 0 !important; margin-top: 4px; }
  .navbar-collapse .nav-item { width: 100%; display: flex; justify-content: center; }
  .navbar-collapse .nav-item .nav-link { width: max-content; }
}
.navbar .nav-link {
  text-transform: uppercase !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: 1;
  padding: 5px 10px !important;
  position: relative;
}
@media (min-width: 992px) {
  .navbar .nav-link:not(.btn,.cart-count) { padding-bottom: 0 !important; }
}
.navbar-toggler { border: none !important; cursor: pointer; box-shadow: none !important; }
/* ── Polished account dropdown ─────────────────────────────────────────────── */
.dropdown-menu {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 6px;
  min-width: 220px;
  margin-top: 10px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45), 0 0 0 1px rgba(176, 30, 183, .08);
  /* Always rendered so we can transition opacity/transform. Bootstrap toggles
     `.show` on/off; we use that to drive the animation. */
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transform-origin: top right;
  transition:
    opacity .18s ease,
    transform .22s cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear .22s;
  pointer-events: none;
}
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity .18s ease,
    transform .22s cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear 0s;
  pointer-events: auto;
}

.account-dropdown-header {
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 4px;
}
.account-dropdown-header .acct-greet {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 2px;
}
.account-dropdown-header .acct-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-item {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color .15s ease, color .15s ease, transform .15s ease, padding-left .15s ease;
}
.dropdown-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(176, 30, 183, .85);
  transition: color .15s ease, transform .15s ease;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(176, 30, 183, .12);
  color: #fff;
  padding-left: 16px;
}
.dropdown-item:hover svg,
.dropdown-item:focus svg {
  color: #b01eb7;
  transform: translateX(1px);
}

.dropdown-item.dropdown-item-danger { color: #ff6b6b; }
.dropdown-item.dropdown-item-danger svg { color: rgba(255, 107, 107, .8); }
.dropdown-item.dropdown-item-danger:hover {
  background-color: rgba(220, 53, 69, .12);
  color: #ff8585;
}
.dropdown-item.dropdown-item-danger:hover svg { color: #ff8585; }

.dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin: 6px 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn { border: none; border-radius: 5px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; font-size: 13px; padding: .45rem .85rem; }
.btn-sm { font-size: 12px; padding: .3rem .65rem; }
.btn:hover { border-bottom: none; }
.btn.btn-primary { background: #901996; color: #fff !important; }
.btn.btn-primary:hover { background: #6f1374; color: #fff !important; }
/* When a btn is also a .nav-link (e.g. LOGIN button in navbar) the nav-link
   color rule wins — pin button text to white in both states. */
.navbar .nav-link.btn,
.navbar .nav-link.btn:hover,
.navbar .nav-link.btn:focus { color: #fff !important; }
.btn.btn-success { background: #b01eb7; color: #141414; }
.btn.btn-success:hover { background: #901996; color: #fff; }
.btn.btn-secondary,
.btn-secondary {
  --bs-btn-bg: #b01eb7;
  --bs-btn-color: #141414;
  --bs-btn-border-color: #b01eb7;
  --bs-btn-hover-bg: #901996;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: #901996;
  --bs-btn-active-bg: #6f1374;
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: #6f1374;
  --bs-btn-disabled-bg: #b01eb7;
  --bs-btn-disabled-color: #141414;
  --bs-btn-disabled-border-color: #b01eb7;
  background-color: #b01eb7 !important;
  color: #141414 !important;
  border-color: #b01eb7 !important;
  text-transform: capitalize;
}
.btn.btn-secondary:hover, .btn-secondary:hover {
  background-color: #901996 !important;
  color: #fff !important;
}

/* Back-to-top button — match theme */
#btn-back-to-top {
  bottom: 10px;
  left: 100%;
  text-align: center;
  font-weight: 600;
  background-color: #b01eb7 !important;
  color: #141414 !important;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(144, 25, 150,.35) !important;
}
#btn-back-to-top:hover { background-color: #901996 !important; color: #fff !important; }
.btn.btn-gradient { background: linear-gradient(135deg,#901996,#b01eb7); border: 1px solid #901996 !important; color: #fff !important; }
.btn.btn-gradient:hover { background: rgba(176, 30, 183,.9); border: 1px solid #901996 !important; color: #fff !important; }

/* ── Forms ───────────────────────────────────────────────────────────────────── */
input.form-control {
  font-size: 13.5px !important;
  border-radius: 7px;
  box-shadow: none !important;
  color: #fff !important;
  background-color: #141414 !important;
  border: 1.5px solid rgba(255,255,255,.1) !important;
  transition: all ease-in .15s;
  padding: .5rem .75rem;
}
input.form-control:focus, textarea.form-control:focus { border: 1.5px solid #b01eb7 !important; }
textarea.form-control { background-color: #141414 !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.1) !important; border-radius: 7px; font-size: 13.5px; padding: .5rem .75rem; }
.form-control::placeholder { color: rgba(255,255,255,.4); }
.form-select:focus { border: 1.5px solid #b01eb7 !important; }
.form-check-input:checked { background-color: #901996; border-color: #901996; }

/* Custom branded checkbox — purple-tinted border, purple fill when checked */
.form-check-input[type="checkbox"] {
  width: 18px;
  height: 18px;
  background-color: transparent !important;
  border: 2px solid #901996 !important;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  vertical-align: middle;
  margin-top: 0;
  transition: background-color .15s ease, border-color .15s ease;
}
.form-check-input[type="checkbox"]:hover { border-color: #b01eb7 !important; }
.form-check-input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(144, 25, 150, .25) !important;
  outline: 0;
}
.form-check-input[type="checkbox"]:checked {
  background-color: #901996 !important;
  border-color: #901996 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}
input:disabled, textarea:disabled { opacity: .5; pointer-events: none; }

.input-group { background: #212121; box-shadow: none !important; border: none !important; border-radius: 5px; }
.input-group > input.form-control, .input-group span {
  box-shadow: none !important;
  border-right: none !important;
  background-color: #212121 !important;
}
.input-group > input.form-control:focus { border: 1.5px solid #b01eb7 !important; border-right: none !important; }
.input-group > input.form-control:focus ~ .input-group-text { border: 1.5px solid #b01eb7 !important; border-left: none !important; }
.input-group .input-group-text {
  border: 1.5px solid rgba(255,255,255,.1) !important;
  border-left: none !important;
  background-color: #212121 !important;
  margin-left: 0 !important;
  text-transform: uppercase !important;
  font-size: 12px;
  color: #fff !important;
  transition: all ease-in .15s;
  user-select: none !important;
  padding: 0 14px;
}
.input-group .input-group-text.text-primary {
  color: #b01eb7 !important;
  font-weight: 700;
  cursor: pointer;
  background-color: #1a1a1a !important;
}
.input-group .input-group-text.text-primary:hover {
  background-color: #2a2540 !important;
  color: #fff !important;
}
.input-group > .custom-select-wrapper {
  border: 1.5px solid rgba(255,255,255,.1);
  border-right: none;
  border-radius: 5px 0 0 5px;
  flex: 1;
  background-color: #212121;
}
/* When the dropdown stands alone (no suffix .input-group-text), restore the
   full border and all four rounded corners. Without this, the right side
   visually appears "cut off" because there is literally no right border. */
.input-group > .custom-select-wrapper.no-input-group-text {
  border: 1.5px solid rgba(255,255,255,.1) !important;
  border-radius: 5px;
}
.input-group > .custom-select-wrapper[disabled],
.custom-select-wrapper[disabled] { opacity: .5; pointer-events: none; }

/* ── Custom select ────────────────────────────────────────────────────────────── */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  align-content: center;
  padding-right: .5rem;
  min-height: 37.81px;
}
.custom-select-wrapper .custom-select-display {
  background-color: transparent;
  padding: .5rem .75rem;
  cursor: pointer;
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
  text-align: left;
  position: relative;
  transition: background ease-in .15s, border-color ease-in .15s, transform ease-in .15s;
  width: 100%;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-select-wrapper .custom-select-display::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: .8rem;
  color: #fff;
  pointer-events: none;
  transition: all ease-in .15s;
}
.custom-select-wrapper .custom-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background-color: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  transform: scaleY(0.95);
  transform-origin: top;
  transition: all ease-in .15s;
  text-transform: capitalize;
  display: none;
}
.custom-select-wrapper.open .custom-options { display: block; opacity: 1; transform: scaleY(1); }
.custom-select-wrapper.open .custom-select-display::after { transform: translateY(-50%) rotate(180deg); }
.custom-options .custom-option { padding: 6px 12px; cursor: pointer; font-size: 13px; color: #fff; }
.custom-options .custom-option:hover { background-color: #1e1e1e; }
.custom-options::-webkit-scrollbar { cursor: pointer; width: 5px !important; height: 5px !important; }

/* ── Border box (search inputs) ──────────────────────────────────────────────── */
.border-box {
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 5px;
  padding: 3.5px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}
.border-box .form-control { border: none !important; background-color: #141414 !important; }
.border-box .form-control:focus { border: none !important; box-shadow: none !important; }

/* ── Custom file upload (replaces ugly OS-default file input) ───────────────── */
.file-upload {
  display: flex;
  align-items: stretch;
  background: #212121;
  border: 1.5px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  overflow: hidden;
  min-height: 38px;
}
.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background-color: #b01eb7;
  color: #141414;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.file-upload-btn:hover { background-color: #901996; color: #fff; }
.file-upload-btn svg { flex: 0 0 auto; }
.file-upload-status {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  background-color: #141414;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-upload[data-disabled="true"] .file-upload-btn {
  background-color: rgba(176, 30, 183, .35) !important;
  color: rgba(20, 20, 20, .6) !important;
  cursor: not-allowed;
  pointer-events: none;
}
.file-upload[data-disabled="true"] .file-upload-status {
  color: rgba(255, 255, 255, .25);
}

/* ── Products layout ─────────────────────────────────────────────────────────── */
.products { margin: auto; display: grid; grid-template-columns: 1fr; grid-gap: 20px; margin-top: 1.5rem; }
.products.full { width: 100%; }
.products.md { width: 100%; max-width: 700px; margin: 1.5rem auto 0; }
.products > .main-content { grid-template-columns: 1fr; grid-gap: 20px; }
@media (max-width: 991.98px) { .products { width: 100% !important; } }

/* ── Products grid — 4 cols → 3 → 2 → 1 matching reference ──────────────────── */
.products-area .items {
  display: grid;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 1rem;
}
@media (max-width: 991.98px) { .products-area .items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .products-area .items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .products-area .items { grid-template-columns: repeat(1, 1fr); } }

/* ── Product card ────────────────────────────────────────────────────────────── */
.items > .item {
  border-radius: 5px;
  border: none !important;
  box-shadow: 0 3px 15px rgba(0,0,0,.06);
  background: #212121 !important;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  margin: 0 !important;
  transition: all ease-in .15s;
  max-height: 240px;
}
.items > .item:hover { background: #282828 !important; }
.items > .item .img-top {
  flex: 1 1 0%;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 120px;
  border-radius: 5px 5px 0 0;
  background: #1a1a1a;
  overflow: hidden;
  display: block;
  padding: 0;
}
.items > .item .img-top > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .25s ease;
}
.items > .item:hover .img-top > img { transform: scale(1.04); }
/* Letter placeholder (when no image) takes the full image area */
.items > .item .img-top.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.items > .item .img-top.no-image {
  background: linear-gradient(135deg, #2a1f4a 0%, #1a1432 100%);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.items > .item .img-top.no-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(144, 25, 150,.25), transparent 60%);
  border-radius: 5px;
}
.no-image-letter {
  font-size: 48px;
  font-weight: 700;
  color: rgba(176, 30, 183,.6);
  text-shadow: 0 2px 12px rgba(144, 25, 150,.4);
  z-index: 1;
  user-select: none;
}
.items > .item .content { display: flex; flex: 1 1 0%; flex-direction: column; padding: .5rem; }
.items > .item .content .title {
  flex: 1 1 0%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 .25rem;
  line-height: 1.25rem;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.5rem;
}
.items > .item .content .body { margin-top: auto !important; }

/* Country flag chip inside product card */
.card-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

/* (Stock state is never displayed on the listing — only inside the product modal) */

/* ── Countries filter ────────────────────────────────────────────────────────── */
.countries {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
  --size: 50px;
  flex-wrap: wrap;
}
.countries .country {
  height: var(--size) !important;
  width: var(--size) !important;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  cursor: pointer;
  transition: all ease .15s;
  margin: 5px;
  border-radius: 100%;
  flex-direction: column;
  color: #fff;
  white-space: nowrap;
}
.countries .country h5 { font-size: .75rem; margin: 0; }
.countries .country:hover { transform: scale(1.1); }
.countries .country:hover h5, .countries .country.active h5 { color: #ffb007; }
.countries .country img {
  width: var(--size) !important;
  height: var(--size) !important;
  min-width: var(--size);
  min-height: var(--size);
  object-fit: cover;
  border-radius: 100%;
  flex-shrink: 0;
  display: block;
}
.countries .country { overflow: visible; }
@media (max-width: 575.98px) { .countries:not(.sm) { --size: 50px; } }

/* ── Hero section ────────────────────────────────────────────────────────────── */
.hero-section { display: flex; justify-content: center; flex-direction: column; align-items: center; align-content: center; }
@media (max-width: 991.98px) { .hero-section img { width: 100%; } }

/* ── Products title/category search ─────────────────────────────────────────── */
.products-title-category { display: grid; width: 100%; }
@media (min-width: 992px) {
  .products-title-category { grid-gap: 10px; grid-template-columns: 1fr .5fr; margin: auto; max-width: 680px; }
  .products-title-category input { padding: 7.5px; }
}

/* ── Cart count ──────────────────────────────────────────────────────────────── */
.cart-count { justify-content: center; align-content: center; align-items: center; display: flex; width: max-content; color: #b01eb7 !important; border-radius: 4px; }
.cart-count > span { position: absolute; color: currentColor; font-size: 10px; border-radius: 4px; font-weight: 500; top: 2px; left: 50%; display: flex; justify-content: center; align-items: center; transform: translateX(-50%); padding: 0 6px; line-height: 1; }
@media (max-width: 767.98px) { .cart-count { margin-top: 10px; } }

/* ── Payment processors ──────────────────────────────────────────────────────── */
.paymentProcessors {
  display: grid;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  grid-gap: 7.5px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.paymentProcessor {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  cursor: pointer;
  background-color: #212121;
  padding: 10px;
  border-radius: 4px;
  transition: all ease .1s;
  height: 60px !important;
  min-width: 250px !important;
  font-size: 13px;
  letter-spacing: 1px;
  border: 2px solid transparent;
}
.paymentProcessor:hover { background: #282828; }
.paymentProcessor.selected { border: 2px solid #901996 !important; }

/* ── Cart items area ─────────────────────────────────────────────────────────── */
.carts-area {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.carts-area > .item {
  margin: 0 !important;
  width: 100%;
  border-radius: 5px;
  background-color: #212121;
  padding: 10px 7.5px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  max-height: none;
}
.carts-area > .item .img { width: 80px !important; height: 50px !important; border-radius: 6px; object-fit: cover; }
.carts-area > .item .remove-btn { cursor: pointer; height: 25px !important; width: 25px !important; padding: 0; display: flex; justify-content: center; align-content: center; align-items: center; background: transparent; border: none; }
.carts-area > .item label { font-size: 11px; }

/* ── Bordered box (order summary) ─────────────────────────────────────────────── */
.bordered-box { border: 1.5px solid rgba(255,255,255,.1); border-radius: 7px; }

/* ── Order status badges ────────────────────────────────────────────────────── */
.badge-status { display: flex; align-items: center; align-content: center; font-weight: 500; text-align: center; border-radius: 20px; text-transform: capitalize; padding: 2px 8px; }
.badge-status.fulfilled { color: #b01eb7; }
.badge-status.pending { color: #ffb007; }
.badge-status.processing { color: #901996; }
.badge-status.cancelled { color: #dc3545; }
.badge-status.refunded { color: #adb5bd; }
.badge-status.failed { color: #dc3545; }

/* ── Orders / tickets table ──────────────────────────────────────────────────── */
/* Override Bootstrap green for text-success — make it purple to match theme */
.text-success { color: #b01eb7 !important; }
.text-success a, a.text-success, a.text-success:hover { color: #b01eb7 !important; }

.table,
.table-dark,
.table.table-dark {
  --bs-table-bg: transparent;
  --bs-table-color: #fff;
  --bs-table-border-color: transparent;
  --bs-table-hover-bg: rgba(255,255,255,.04);
  --bs-table-hover-color: #fff;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: transparent;
  margin-bottom: 0;
  border-color: transparent !important;
  background-color: transparent;
}
.table, .table *, .table > :not(caption) > * > * { box-shadow: none !important; }
/* Strip every possible border from every table descendant */
.table thead,
.table thead tr,
.table thead th,
.table tbody,
.table tbody tr,
.table tbody td,
.table tfoot,
.table tfoot tr,
.table tfoot td {
  border: 0 !important;
  border-width: 0 !important;
}
.table > :not(caption) > * > * {
  color: #fff;
  border: 0 !important;
  border-width: 0 !important;
  box-shadow: none !important;
  padding: 12px 14px;
}
.table > :not(caption) > * { border: 0 !important; border-width: 0 !important; }
/* Reference color system: thead uses #212121, body cells use rgba(255,255,255,.1) */
.table > thead > tr > th { background-color: #212121 !important; }
.table > tbody > tr > td { background-color: rgba(255, 255, 255, .1) !important; color: #fff !important; }
.table > thead > tr > th {
  color: rgba(255,255,255,.4) !important;
  font-size: 13px !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  padding: 10px 14px;
}
.table > tbody { border: 0 !important; }
.table > tbody > tr { cursor: pointer; border: 0 !important; }
.table > tbody > tr > td { font-size: 13px !important; vertical-align: middle; border: 0 !important; }
.table.table-sm tr > th, .table.table-sm tr > td { font-size: 13px !important; }
.table > tbody > tr:hover > td { color: #fff !important; background-color: rgba(255,255,255,.04) !important; }

/* Table-responsive — no card, just lets page bg #141414 show through */
.table-responsive {
  background: transparent;
  border-radius: 8px;
  border: 0;
  overflow: hidden;
}
.table-responsive .table > thead > tr > th:first-child,
.table-responsive .table > tbody > tr > td:first-child { padding-left: 18px; }
.table-responsive .table > thead > tr > th:last-child,
.table-responsive .table > tbody > tr > td:last-child { padding-right: 18px; }

/* ── Tabs (orders / support) ─────────────────────────────────────────────────── */
.nav-tabs { border-bottom: 1px solid rgba(255,255,255,.1) !important; box-shadow: none !important; }
.nav-tabs .nav-link { outline: none !important; background-color: transparent !important; font-weight: 600 !important; font-size: 12px !important; letter-spacing: 1px !important; padding: 5px 14px !important; border: none !important; transition: all ease-in .15s; text-transform: uppercase; color: rgba(255,255,255,.5); }
.nav-tabs .nav-link.active { border-bottom: 2px solid #901996 !important; color: #901996 !important; }
.width-max-content { width: max-content; }

/* ── Support page ────────────────────────────────────────────────────────────── */
.setting-hint { background: #1c1c1c; border: 1px solid rgba(255,255,255,.06); border-radius: 7px; padding: 14px 16px; }
.setting-hint h4, .setting-hint h5 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.setting-hint p, .setting-hint li { font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.55; }
.setting-hint ul { padding-left: 1.1rem; margin-bottom: 0; }
.setting-hint li { margin-bottom: 3px; }

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.pagination { width: max-content; margin: 15px auto 15px !important; gap: 4px; display: flex; }
.pagination > .page-item { background-color: transparent; border-radius: 6px !important; overflow: hidden; }
.pagination > .page-item button {
  filter: none !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.075) !important;
  height: 37px;
  min-width: 29px;
  padding: 0 8px;
  font-weight: 400;
  font-size: 14px;
  background-color: transparent;
}
.pagination > .page-item .btn-primary {
  background-color: #901996 !important;
  color: #fff;
}

/* ── Modal ───────────────────────────────────────────────────────────────────── */
.modal-content {
  background: linear-gradient(160deg, #1c1c1f 0%, #141416 100%) !important;
  color: #fff;
  border: 1px solid rgba(176, 30, 183, .12) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .02);
  /* Subtle brand-mark watermark, sized large and pinned to the bottom-right
     so it bleeds out of the corner as a faint shine — adds a polished
     "branded" feel without competing with the content. */
  position: relative;
  overflow: hidden;
}
.modal-content::before {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 360px;
  height: 360px;
  background: url('/images/logo-icon.png') no-repeat center / contain;
  opacity: .045;
  filter: blur(.4px);
  pointer-events: none;
  z-index: 0;
}
.modal-content::after {
  /* Soft purple glow radiating from the top-left corner */
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(176, 30, 183, .14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.modal-content > * { position: relative; z-index: 1; }

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 18px 24px 14px;
}
.modal-footer { border-top: 1px solid rgba(255, 255, 255, .06); }
.modal-title {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, .55);
}

.btn-close-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  z-index: 20;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn-close-modal:hover {
  background: rgba(176, 30, 183, .18);
  color: #fff;
  transform: rotate(90deg);
}

.modal-content-holder {
  overflow-y: auto;
  /* Reserve scrollbar gutter on both edges so children don't reflow / get
     clipped on the right when the vertical scrollbar appears. Falls back
     silently on browsers without scrollbar-gutter support. */
  scrollbar-gutter: stable both-edges;
}
.modal-body { padding: 18px 24px 22px !important; }

/* ── Product modal ────────────────────────────────────────────────────────────── */
/* Big, slightly gradient product title at the top */
#productModalBody > h5:first-of-type {
  font-size: 22px !important;
  font-weight: 600 !important;
  text-align: center;
  margin: 4px 0 18px !important;
  background: linear-gradient(180deg, #fff 0%, #cfb0d6 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.3px;
}
/* Section labels — quieter, uppercase tag style */
#productModalBody label {
  font-size: 10.5px !important;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, .5) !important;
  margin: 18px 0 8px !important;
}
#productModalBody label:first-of-type { margin-top: 4px !important; }

.buttons-container {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.buttons-container .btn:first-child {
  flex: 1 1 auto;
  background: linear-gradient(135deg, #b01eb7 0%, #901996 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(144, 25, 150, .35) !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
}
.buttons-container .btn:first-child:hover {
  background: linear-gradient(135deg, #c627cf 0%, #a31fa9 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(144, 25, 150, .5) !important;
}
.buttons-container .btn:last-child {
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 30, 183, .12) !important;
  border: 1px solid rgba(176, 30, 183, .35) !important;
  border-radius: 10px !important;
  padding: 12px !important;
  box-shadow: none !important;
  transition: background .15s ease, border-color .15s ease, transform .15s ease !important;
}
.buttons-container .btn:last-child:hover {
  background: rgba(176, 30, 183, .25) !important;
  border-color: rgba(176, 30, 183, .65) !important;
  transform: translateY(-1px);
}
.buttons-container .btn:last-child svg { width: 22px; height: 22px; }
.buttons-container .btn:last-child svg path,
.buttons-container .btn:last-child svg circle { fill: #fff !important; stroke: #fff !important; }

/* Smooth modal entrance — slight scale-up on top of Bootstrap's translate.
   We avoid touching opacity here so Bootstrap's default fade still works. */
.modal.fade .modal-dialog { transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.modal.show .modal-dialog { transform: translate(0, 0) scale(1); }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
footer.bg-dark { background: #212121 !important; }

/* ── Social / back to top ────────────────────────────────────────────────────── */
.social-media-buttons { z-index: 20; display: flex; justify-content: center; align-items: flex-end; width: max-content; background: transparent; position: sticky; bottom: 20px; left: 100%; flex-direction: column; }
/* (#btn-back-to-top base styles handled above) */

/* ── Loading spinner (in-page, mid-flight requests) ───────────────────────── */
.loading { display: flex; justify-content: center; align-items: center; padding: 40px 0; }
.loading::after { content: ''; width: 36px; height: 36px; border: 3px solid rgba(255,255,255,.2); border-top-color: #901996; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Full-page initial loading overlay ────────────────────────────────────── */
#pageLoader {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .35s ease, visibility .35s ease;
}
#pageLoader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#pageLoader .loader-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  border: 1px solid rgba(144, 25, 150,.15);
}
#pageLoader .loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(176, 30, 183,.15);
  border-top-color: #b01eb7;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
#pageLoader .loader-text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
}
#pageLoader .loader-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  opacity: .9;
}

/* ── Auth pages ──────────────────────────────────────────────────────────────── */
.main-content.auth {
  width: 100%;
  max-width: 550px;
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
  background: transparent;
  border: 0;
}
.main-content.auth h5 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem !important;
}
.main-content.auth label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.main-content.auth input.form-control {
  background-color: #2c2c2c !important;
  border: 0 !important;
  border-radius: 4px;
  height: 38px;
  padding: 8px 12px;
  font-size: 14px !important;
}
.main-content.auth .mb-3 { margin-bottom: 1rem !important; }
.main-content.auth .btn-success {
  width: 100%;
  text-transform: capitalize;
  font-weight: 500;
}
.main-content.auth p {
  font-size: 13px;
  color: #fff;
  margin-top: .25rem;
}
.main-content.auth p a {
  color: var(--bs-link-color);
  font-weight: 600;
  text-decoration: underline;
}
.main-content.auth p a:hover { color: var(--bs-link-hover-color); }

/* Back-compat for any leftover references */
.auth-box { max-width: 550px; margin: 2.5rem auto 0; padding: 0 1rem; }

/* ── Scrollbar ───────────────────────────────────────────────────────────────── */
* ::-webkit-scrollbar { cursor: pointer; width: 8px; height: 8px; }
* ::-webkit-scrollbar-thumb { border-radius: 5px !important; background: #2a2a2a; }
* ::-webkit-scrollbar-track { background: transparent; }

/* ── Product modal description / tags ───────────────────────────────────────── */
.product-desc-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 .5rem;
  color: #fff;
}
.product-desc-list li {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2px;
  margin-bottom: .65rem;
  line-height: 1.4;
}
.product-desc-list li::marker { color: rgba(255, 255, 255, .35); }
.product-desc-single {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: .5rem;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-tag {
  display: inline-block;
  background: rgba(176, 30, 183, .15);
  color: #b01eb7;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(176, 30, 183, .3);
}
.product-tag-empty {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  font-style: italic;
}

/* ── Order modal ─────────────────────────────────────────────────────────────── */
.order-modal-content .delivered-item { background: #212121; border-radius: 5px; padding: 8px 12px; font-size: 12px; font-family: monospace; word-break: break-all; margin-bottom: 6px; }
.copy-btn { font-size: 11px; padding: 2px 8px; }

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes breath { 50% { opacity: .7; } }
@keyframes glowup { 50% { color: rgba(144, 25, 150,.7); } }

/* ── Static page (TOS / Privacy / etc) ─────────────────────────────────────── */
.static-page { max-width: 900px; margin: 0 auto; padding: 0 8px; }
.static-page section { margin-bottom: 28px; }
.static-page section:last-child { margin-bottom: 0; }

/* Intro / lead paragraph — sits above first section, no wrapper */
.static-page > p:first-child {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Section titles — flat, white, regular case */
.static-page h4, .static-page h5, .static-page h6 {
  color: #fff;
  font-weight: 600;
  margin: 0 0 14px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.static-page p {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin: 0 0 10px;
}
.static-page p:last-child { margin-bottom: 0; }

.static-page ul, .static-page ol {
  padding-left: 1.3rem;
  margin: 0 0 10px;
}
.static-page li {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  margin-bottom: 6px;
  line-height: 1.55;
}
.static-page li:last-child { margin-bottom: 0; }

.static-page a { color: #b01eb7; text-decoration: none; font-weight: 600; }
.static-page a:hover { color: #c4b5fd; text-decoration: underline; }
.static-page em { color: rgba(255,255,255,.55); font-style: italic; }
.static-page strong { color: #fff; font-weight: 700; }

/* Brand-name highlight — applied automatically to any plain-text mention of the shop name */
.brand,
.static-page .brand,
.faq-answer-inner .brand,
.faq-q-text .brand {
  color: #b01eb7;
  font-weight: 600;
}
.highlight { color: #b01eb7; font-weight: 600; }

/* ── FAQ accordion ──────────────────────────────────────────────────────────── */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.faq-item:hover { border-color: rgba(176, 30, 183,.3); }
.faq-item.open {
  border-color: rgba(176, 30, 183,.45);
  background: rgba(176, 30, 183,.04);
  box-shadow: 0 4px 18px rgba(144, 25, 150,.08);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: padding .25s cubic-bezier(.4, 0, .2, 1);
}
.faq-item.open .faq-question { padding-bottom: 8px; }
.faq-q-text { flex: 1; padding-right: 12px; }
.faq-chevron {
  color: #b01eb7;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  /* Smooth open/close: use cubic-bezier "ease-out" curve and let JS set the
     real target height for pixel-accurate animation. */
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1);
  will-change: max-height;
}
.faq-answer-inner {
  padding: 0 16px 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  /* Inner fades + slides in for a more polished reveal */
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .35s ease .05s, transform .35s cubic-bezier(.4, 0, .2, 1) .05s;
}
.faq-item.open .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
}
.faq-answer-inner p { margin: 0 0 .4rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul, .faq-answer-inner ol { padding-left: 1.1rem; margin: 0 0 .4rem; }
.faq-answer-inner li { margin-bottom: .2rem; font-size: 12.5px; }
.faq-answer-inner a {
  color: #b01eb7;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(176, 30, 183,.4);
  transition: color .15s ease, border-color .15s ease;
}
.faq-answer-inner a:hover { color: #c4b5fd; border-bottom-color: #c4b5fd; }
.faq-answer-inner code {
  background: rgba(176, 30, 183,.12);
  color: #c4b5fd;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.faq-answer-inner strong, .faq-answer-inner b { color: #fff; font-weight: 700; }

/* ─────────────────────────────────────────────────────────────────────────────
   ADMIN LAYOUT — sidebar nav
   ───────────────────────────────────────────────────────────────────────────── */
body.admin { background: #0f0f0f; }
body.admin .container-md { max-width: 100% !important; padding: 0; }

.admin-shell { display: flex; min-height: 100vh; }
/* Subtle watermark logo, body-positioned (NOT inside admin-shell) so it does
   not create a stacking context that would trap admin modals. */
body.admin::after {
  content: "";
  position: fixed;
  bottom: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: url('/images/logo-icon.png') no-repeat center / contain;
  opacity: .025;
  pointer-events: none;
  z-index: 0;
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #1a1a1c 0%, #131315 100%);
  border-right: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-sidebar-brand img { width: 38px; height: 38px; border-radius: 6px; }
.admin-sidebar-brand .brand-text { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.1; }
.admin-sidebar-brand .brand-sub { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; }

.admin-sidebar-section { padding: 14px 12px 6px; }
.admin-sidebar-section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  padding: 0 8px 6px;
  font-weight: 600;
}
.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 1px 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  border-radius: 6px;
  transition: background .12s ease, color .12s ease;
}
.admin-sidebar-nav a:hover { background: #1f1f1f; color: #fff; }
.admin-sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(144, 25, 150,.18), rgba(176, 30, 183, .04));
  color: #fff;
  font-weight: 600;
  position: relative;
}
.admin-sidebar-nav a.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, #b01eb7, #901996);
  border-radius: 0 3px 3px 0;
}
.admin-sidebar-nav a.active svg { color: #b01eb7; }
.admin-sidebar-nav svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
}
.admin-sidebar-nav a:hover svg { color: #fff; }

.admin-sidebar-footer {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  border-radius: 6px;
}
.admin-sidebar-footer a:hover { background: #1f1f1f; color: #fff; }
.admin-user-pill {
  padding: 8px 10px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 4px;
  padding-top: 10px;
}
.admin-user-pill strong { color: #b01eb7; font-size: 12px; }

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 28px 36px;
  overflow-x: auto;
  background: radial-gradient(circle at 0% 0%, rgba(176, 30, 183, .04) 0%, transparent 35%);
}
/* Upgrade .bordered-box (used throughout admin pages) to a modern card style */
body.admin .bordered-box {
  background: linear-gradient(160deg, #1c1c1f 0%, #15151a 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .015);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body.admin .bordered-box:hover {
  border-color: rgba(176, 30, 183, .18);
  box-shadow: 0 6px 24px rgba(144, 25, 150, .12), 0 0 0 1px rgba(255, 255, 255, .02);
}
/* Admin tables — slightly tighter, modern look */
body.admin .table {
  --bs-table-bg: transparent;
  --bs-table-color: #fff;
  border-collapse: separate;
  border-spacing: 0;
}
body.admin .table > thead > tr > th {
  font-size: 10.5px !important;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, .5) !important;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
body.admin .table > tbody > tr > td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  background: transparent !important;
  color: #fff !important;
  font-size: 13px;
}
body.admin .table > tbody > tr:hover > td {
  background: rgba(176, 30, 183, .06) !important;
}
.admin-pageheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-pageheader h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.admin-pageheader .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-mobile-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1001;
  background: #1f1f1f;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .admin-sidebar {
    position: fixed;
    left: -260px;
    z-index: 1000;
    transition: left .2s ease;
  }
  .admin-sidebar.open { left: 0; }
  .admin-mobile-toggle { display: flex; }
  .admin-main { padding: 70px 16px 24px; }
}
