@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.6.0/fonts/remixicon.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

.search-input-shell > .search-icon,
.search-input-shell > button[type="button"] { font-size: 0; }
.search-input-shell > .search-icon::before,
.search-input-shell > button[type="button"]::before { color: currentColor; content: "\f0d1"; font-family: remixicon; font-size: 1rem; line-height: 1; }

.stores-page-content {
  padding: 34px 0 72px;
}

.admin-region-types-content { max-width: 1180px; margin: 0 auto; }
.admin-general-settings-content { max-width: 1180px; margin: 0 auto; }
.admin-general-settings-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.admin-general-settings-breadcrumb { display: flex; gap: 8px; color: var(--admin-muted); font-size: 0.64rem; }
.admin-general-settings-breadcrumb strong { color: var(--admin-text); }
.admin-general-settings-heading h1 { margin: 8px 0 4px; color: var(--admin-text); font-size: 1.35rem; }
.admin-general-settings-heading p { margin: 0; color: var(--admin-muted); font-size: 0.72rem; }
.admin-general-settings-actions { display: flex; gap: 8px; }
.admin-general-settings-actions button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 4px; color: #fff; font-size: 0.68rem; font-weight: 800; cursor: pointer; }
.admin-general-settings-save { background: var(--admin-blue); }
.admin-general-settings-update { background: #0bb889; }
.admin-general-settings-card { padding: 16px; border: 1px solid var(--admin-line); border-radius: 6px; background: var(--admin-surface); box-shadow: 0 14px 30px rgba(0,0,0,0.14); }
.admin-general-settings-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--admin-line); }
.admin-general-settings-card-head span { color: #6f98ff; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; }
.admin-general-settings-card-head h2 { margin: 5px 0 0; color: var(--admin-text); font-size: 0.95rem; }
.admin-general-settings-card-head > i { color: #7e99df; font-size: 1.1rem; }
.admin-general-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding-top: 16px; }
.admin-general-settings-grid label { display: grid; gap: 6px; color: var(--admin-muted); font-size: 0.67rem; font-weight: 700; }
.admin-general-settings-grid label.wide { grid-column: 1 / -1; }
.admin-general-settings-grid input, .admin-general-settings-grid textarea { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid var(--admin-line); border-radius: 4px; outline: 0; background: var(--admin-field); color: var(--admin-text); font: inherit; font-size: 0.7rem; }
.admin-general-settings-grid textarea { padding: 9px 10px; resize: vertical; }
.admin-general-settings-grid input:focus, .admin-general-settings-grid textarea:focus { border-color: var(--admin-blue); box-shadow: 0 0 0 3px rgba(49,94,255,0.16); }
.admin-general-settings-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 0; }
.admin-general-settings-asset { display: grid; gap: 6px; color: var(--admin-muted); font-size: 0.67rem; font-weight: 700; }
.admin-general-settings-asset-drop { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 70px; padding: 7px; overflow: hidden; border: 1px dashed rgba(111,148,255,0.42); border-radius: 5px; background: #101a28; cursor: pointer; }
.admin-general-settings-asset-drop:hover { border-color: #7195ff; background: #142236; }
.admin-general-settings-asset-preview { display: grid; width: 56px; height: 56px; place-items: center; overflow: hidden; border: 1px solid rgba(147,177,255,0.3); border-radius: 4px; background: #182a43; color: #9eb5ff; font-size: 1rem; }
.admin-general-settings-asset-preview img { width: 100%; height: 100%; object-fit: contain; }
.admin-general-settings-asset-drop strong { overflow: hidden; color: var(--admin-text); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-general-settings-asset-drop small { display: block; margin-top: 3px; color: var(--admin-muted); font-size: 0.58rem; font-weight: 400; }
.admin-general-settings-asset-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.admin-general-settings-data-card { margin-top: 14px; }
.admin-cache-info { display: flex; gap: 12px; margin-top: 16px; padding: 14px; border: 1px dashed rgba(126,78,255,0.55); border-radius: 5px; background: rgba(126,78,255,0.1); color: #c3b0ff; }
.admin-cache-info > i { font-size: 1.25rem; color: #8f66ff; }
.admin-cache-info strong { display: block; color: #eef2ff; font-size: 0.75rem; }
.admin-cache-info p { margin: 4px 0 0; color: #a9a0c8; font-size: 0.66rem; line-height: 1.5; }
.admin-general-settings-message { margin-bottom: 12px; padding: 10px 12px; border: 1px solid rgba(11,184,137,0.3); border-radius: 4px; background: rgba(11,184,137,0.1); color: #80e7c7; font-size: 0.7rem; }
@media (max-width: 700px) { .admin-general-settings-heading { align-items: flex-start; flex-direction: column; } .admin-general-settings-actions { width: 100%; } .admin-general-settings-actions button { flex: 1; } .admin-general-settings-grid, .admin-general-settings-assets { grid-template-columns: 1fr; } .admin-general-settings-grid label.wide { grid-column: auto; } }
.admin-region-types-heading { margin-bottom: 22px; }
.admin-region-types-heading h1 { margin: 7px 0 5px; color: var(--admin-text); font-size: 1.55rem; }
.admin-region-types-heading p, .admin-region-types-form-card p, .admin-region-types-table-card p { margin: 0; color: var(--admin-muted); font-size: 0.75rem; }
.admin-region-types-form-card, .admin-region-types-table-card { border: 1px solid var(--admin-line); border-radius: 6px; background: var(--admin-surface); }
.admin-region-types-form-card { padding: 18px; }
.admin-region-types-form-card h2, .admin-region-types-table-card h2 { margin: 0 0 5px; color: var(--admin-text); font-size: 0.95rem; }
.admin-region-types-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(130px, 0.55fr) minmax(130px, 0.55fr) auto; gap: 12px; align-items: end; margin-top: 18px; }
.admin-region-types-form label { display: grid; gap: 7px; color: var(--admin-muted); font-size: 0.68rem; font-weight: 700; }
.admin-region-types-form em { color: #ff7474; font-style: normal; }
.admin-region-types-form input, .admin-region-types-form select { min-height: 38px; padding: 0 10px; border: 1px solid var(--admin-line); border-radius: 4px; outline: 0; background: var(--admin-field); color: var(--admin-text); font: inherit; }
.admin-region-types-form input:focus, .admin-region-types-form select:focus { border-color: var(--admin-blue); box-shadow: 0 0 0 3px rgba(49,94,255,0.16); }
.admin-region-types-icon-field { display: grid; gap: 7px; color: var(--admin-muted); font-size: 0.68rem; font-weight: 700; cursor: pointer; }
.admin-region-types-field-label { color: var(--admin-muted); }
.admin-region-types-icon-uploader { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 64px; padding: 7px 10px 7px 7px; border: 1px dashed rgba(130,167,255,0.42); border-radius: 5px; background: linear-gradient(90deg, rgba(49,94,255,0.12), rgba(24,36,51,0.34)); transition: border-color 0.18s ease, background 0.18s ease; }
.admin-region-types-icon-uploader:hover, .admin-region-types-icon-field:focus-within .admin-region-types-icon-uploader { border-color: #6d94ff; background: linear-gradient(90deg, rgba(49,94,255,0.2), rgba(24,36,51,0.48)); }
.admin-region-types-icon-preview { display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; border: 1px solid rgba(130,167,255,0.32); border-radius: 5px; background: #111b29; color: #8dadff; font-size: 1.1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03); }
.admin-region-types-icon-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-region-types-icon-copy { display: grid; gap: 4px; min-width: 0; }
.admin-region-types-icon-copy strong { overflow: hidden; color: var(--admin-text); font-size: 0.74rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-region-types-icon-copy small { color: var(--admin-muted); font-size: 0.62rem; font-weight: 400; }
.admin-region-types-icon-field input { position: absolute; inset: 0; width: 100%; min-height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.admin-region-types-form-actions { display: flex; align-items: center; gap: 8px; }
.admin-region-types-form-actions a, .admin-region-types-form-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 13px; border: 0; border-radius: 4px; color: #d7e2f2; font-size: 0.7rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.admin-region-types-form-actions a { background: var(--admin-surface-raised); }
.admin-region-types-form-actions button { background: var(--admin-blue); color: #fff; white-space: nowrap; }
.admin-region-types-table-card { margin-top: 16px; padding: 18px 16px 10px; }
.admin-region-types-table-wrap { margin-top: 14px; overflow-x: auto; overflow-y: hidden; }
.admin-region-types-table-wrap table { width: 100%; min-width: 760px; border-collapse: collapse; color: var(--admin-muted); font-size: 0.7rem; }
.admin-region-types-table-wrap th { padding: 12px 8px; border-bottom: 1px solid var(--admin-line); color: #7f8ca5; font-size: 0.6rem; text-align: left; white-space: nowrap; }
.admin-region-types-table-wrap td { height: 54px; padding: 8px; border-bottom: 1px dashed var(--admin-line); white-space: nowrap; }
.admin-region-types-table-wrap strong { color: var(--admin-text); }
.admin-region-types-table-wrap code { padding: 4px 7px; border-radius: 3px; background: var(--admin-surface-raised); color: #82a7ff; font-family: monospace; }
.admin-region-types-table-wrap form { display: inline; }
.admin-region-status { position: relative; width: 28px; height: 17px; padding: 0; border: 0; border-radius: 99px; background: #46516a; cursor: pointer; }
.admin-region-status i { position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #d7e2f2; }
.admin-region-status.is-on { background: #2398ed; }
.admin-region-status.is-on i { left: 14px; background: #fff; }
.admin-region-types-actions { display: flex; gap: 7px; }
.admin-region-types-actions a, .admin-region-types-actions button { min-height: 28px; padding: 0 9px; border: 0; border-radius: 3px; background: var(--admin-surface-raised); color: #c8d6ea; font-size: 0.66rem; text-decoration: none; cursor: pointer; }
.admin-region-types-actions button { color: #ff9b9b; }
.admin-region-types-empty { height: 100px; text-align: center; }
.admin-region-types-alert { margin-bottom: 14px; padding: 11px 13px; border: 1px solid rgba(239,93,93,0.35); border-radius: 4px; background: rgba(239,93,93,0.1); color: #ffb5b5; font-size: 0.74rem; }
@media (max-width: 760px) { .admin-region-types-form { grid-template-columns: 1fr; } .admin-region-types-form-actions { justify-content: flex-end; } }

.admin-brands-heading { margin-bottom: 22px; }
.admin-brands-heading h1 { margin: 7px 0 5px; color: var(--admin-text); font-size: 1.55rem; }
.admin-brands-heading p, .admin-brands-form-card p, .admin-brands-table-card p { margin: 0; color: var(--admin-muted); font-size: 0.75rem; }
.admin-brands-form-card, .admin-brands-table-card { border: 1px solid var(--admin-line); border-radius: 6px; background: var(--admin-surface); }
.admin-brands-form-card { padding: 18px; }
.admin-brands-form-card h2, .admin-brands-table-card h2 { margin: 0 0 5px; color: var(--admin-text); font-size: 0.95rem; }
.admin-brands-form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(130px, 0.5fr) minmax(0, 1.3fr) auto; gap: 12px; align-items: end; margin-top: 18px; }
.admin-brands-field { display: grid; gap: 7px; min-width: 0; color: var(--admin-muted); font-size: 0.68rem; font-weight: 700; }
.admin-brands-field em { color: #ff7474; font-style: normal; }
.admin-brands-field input:not([type="file"]), .admin-brands-field select { min-height: 38px; padding: 0 10px; border: 1px solid var(--admin-line); border-radius: 4px; outline: 0; background: var(--admin-field); color: var(--admin-text); font: inherit; }
.admin-brands-field input:not([type="file"]):focus, .admin-brands-field select:focus { border-color: var(--admin-blue); box-shadow: 0 0 0 3px rgba(49,94,255,0.16); }
.admin-brands-field--logo { cursor: pointer; }
.admin-brands-logo-upload { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 62px; padding: 7px 10px 7px 7px; border: 1px dashed rgba(130,167,255,0.42); border-radius: 5px; background: linear-gradient(90deg, rgba(49,94,255,0.12), rgba(24,36,51,0.34)); transition: border-color 0.18s ease, background 0.18s ease; }
.admin-brands-logo-upload:hover, .admin-brands-field--logo:focus-within .admin-brands-logo-upload { border-color: #6d94ff; background: linear-gradient(90deg, rgba(49,94,255,0.2), rgba(24,36,51,0.48)); }
.admin-brands-logo-upload > span, .admin-brands-logo-upload > img { display: grid; grid-row: span 2; width: 46px; height: 46px; place-items: center; overflow: hidden; border: 1px solid rgba(130,167,255,0.32); border-radius: 5px; background: #111b29; color: #8dadff; font-size: 1.05rem; }
.admin-brands-logo-upload > img { object-fit: contain; padding: 4px; }
.admin-brands-logo-upload strong { overflow: hidden; color: var(--admin-text); font-size: 0.74rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-brands-logo-upload small { color: var(--admin-muted); font-size: 0.62rem; font-weight: 400; }
.admin-brands-logo-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.admin-brands-form-actions { display: flex; align-items: center; gap: 8px; }
.admin-brands-form-actions a, .admin-brands-form-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 13px; border: 0; border-radius: 4px; color: #d7e2f2; font-size: 0.7rem; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; }
.admin-brands-form-actions a { background: var(--admin-surface-raised); }
.admin-brands-form-actions button { background: var(--admin-blue); color: #fff; }
.admin-brands-table-card { margin-top: 16px; padding: 18px 16px 10px; }
.admin-brands-table-wrap { margin-top: 14px; overflow-x: auto; overflow-y: hidden; }
.admin-brands-table-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; color: var(--admin-muted); font-size: 0.7rem; }
.admin-brands-table-wrap th { padding: 12px 8px; border-bottom: 1px solid var(--admin-line); color: #7f8ca5; font-size: 0.6rem; text-align: left; white-space: nowrap; }
.admin-brands-table-wrap td { height: 56px; padding: 8px; border-bottom: 1px dashed var(--admin-line); white-space: nowrap; }
.admin-brands-table-wrap form { display: inline; }
.admin-brands-name { display: flex; align-items: center; gap: 10px; }
.admin-brands-name strong { color: var(--admin-text); }
.admin-brands-logo { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; overflow: hidden; border: 1px solid var(--admin-line); border-radius: 5px; background: var(--admin-surface-raised); color: #8dadff; font-size: 0.66rem; font-weight: 800; }
.admin-brands-logo img { width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.admin-brands-status { position: relative; width: 28px; height: 17px; padding: 0; border: 0; border-radius: 99px; background: #46516a; cursor: pointer; }
.admin-brands-status i { position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #d7e2f2; }
.admin-brands-status.is-on { background: #2398ed; }
.admin-brands-status.is-on i { left: 14px; background: #fff; }
.admin-brands-actions { display: flex; gap: 7px; }
.admin-brands-actions a, .admin-brands-actions button { min-height: 28px; padding: 0 9px; border: 0; border-radius: 3px; background: var(--admin-surface-raised); color: #c8d6ea; font-size: 0.66rem; text-decoration: none; cursor: pointer; }
.admin-brands-actions button { color: #ff9b9b; }
.admin-brands-empty { height: 100px; text-align: center; }
.admin-brands-alert { margin-bottom: 14px; padding: 11px 13px; border: 1px solid rgba(239,93,93,0.35); border-radius: 4px; background: rgba(239,93,93,0.1); color: #ffb5b5; font-size: 0.74rem; }
@media (max-width: 900px) { .admin-brands-form { grid-template-columns: 1fr; } .admin-brands-form-actions { justify-content: flex-end; } }

.stores-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.stores-kicker {
  color: #4160f5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stores-page-heading h1 {
  margin: 8px 0 4px;
  color: #1b2430;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.stores-page-heading p {
  margin: 0;
  color: #6f7c91;
  font-size: 0.9rem;
}

.stores-count {
  padding: 9px 12px;
  border: 1px solid #dce3f1;
  border-radius: 9px;
  background: #ffffff;
  color: #64728b;
  font-size: 0.78rem;
}

.popular-stores-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.store-card {
  overflow: hidden;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(36, 52, 76, 0.06);
}

.store-card-cover {
  position: relative;
  height: 112px;
  background: linear-gradient(135deg, #233b62, #4773a9);
}

.store-cover-teal { background: linear-gradient(135deg, #123d4a, #1b9b9a); }
.store-cover-red { background: linear-gradient(135deg, #371d28, #bd3f4f); }
.store-cover-purple { background: linear-gradient(135deg, #282353, #755add); }
.store-cover-navy { background: linear-gradient(135deg, #111b3e, #315b9a); }
.store-cover-cyan { background: linear-gradient(135deg, #123447, #13a7bd); }
.store-cover-black { background: linear-gradient(135deg, #12151c, #485467); }

.popular-store-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(12, 18, 31, 0.62);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
}

.store-card-body {
  position: relative;
  padding: 28px 14px 14px;
}

.store-card-logo {
  position: absolute;
  top: -24px;
  left: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 11px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(21, 31, 49, 0.2);
}

.store-logo-teal { background: #087d7d; }
.store-logo-red { background: #b52d3e; }
.store-logo-purple { background: #6549c9; }
.store-logo-navy { background: #1e376d; }
.store-logo-cyan { background: #078da1; }
.store-logo-black { background: #202633; }

.store-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.store-card-title h2 {
  margin: 0;
  color: #1c2739;
  font-size: 0.95rem;
  font-weight: 600;
}

.store-card-title > span {
  color: #159d68;
  font-size: 0.7rem;
  white-space: nowrap;
}

.store-card-title small { color: #8a98ad; }
.store-card-body p { min-height: 38px; margin: 9px 0 14px; color: #718096; font-size: 0.74rem; line-height: 1.45; }

.store-card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #dce5ff;
  border-radius: 7px;
  background: #f5f7ff;
  color: #4160f5;
  font-size: 0.72rem;
  font-weight: 600;
}

.store-card-button:hover { background: #ebefff; }

@media (max-width: 900px) {
  .popular-stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketplace-preview-layout { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
  .stores-page-content { padding: 24px 0 48px; }
  .stores-page-heading { align-items: flex-start; flex-direction: column; }
  .popular-stores-grid { grid-template-columns: 1fr; }
  .preview-promo-strip { grid-template-columns: repeat(4, 190px); overflow-x: auto; }
  .preview-promo-strip a { min-height: 74px; }
  .preview-product-grid { grid-template-columns: 1fr; }
}
.nav-dropdown:first-of-type .subcategory-icon, .category-card-icon.pubg { position: relative; background: #efad00; color: #fff; font-size: 0; font-weight: 900; text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.nav-dropdown:first-of-type .subcategory-icon::before, .category-card-icon.pubg::before { content: "PUBG"; font-size: 0.48rem; letter-spacing: -0.04em; transform: rotate(-8deg); }

:root {
  --bg: #f3f6fb;
  --bg-soft: #edf3fa;
  --panel: #ffffff;
  --panel-2: #f1f5fa;
  --line: rgba(18, 27, 38, 0.09);
  --text: #161d2a;
  --muted: #5f7189;
  --gold: #efad00;
  --gold-soft: #ffc83d;
  --orange: #efad00;
  --orange-soft: #ffd45f;
  --blue: #2d5eff;
  --purple: #7c6bff;
  --green: #28c76f;
  --shadow: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  overflow-x: clip;
}

.admin-navigation-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 18px;
}

.admin-navigation-outer { width: min(calc(100% - 60px), 1200px); margin: 0 auto 24px; }

.admin-navigation-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 10px; }

.admin-navigation-card {
  overflow: hidden;
  width: 100%;
  margin-top: 0;
  padding: 0;
  border: 1px solid var(--admin-line);
  border-radius: 5px;
  background: var(--admin-field);
}

.admin-navigation-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 13px;
  cursor: pointer;
  list-style: none;
}

.admin-navigation-card summary::-webkit-details-marker { display: none; }
.admin-navigation-card summary small,
.admin-navigation-card summary strong { display: block; }
.admin-navigation-card summary small { margin-bottom: 1px; color: #6f98ff; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; }
.admin-navigation-card summary strong { color: var(--admin-text); font-size: 0.78rem; font-weight: 800; }
.admin-navigation-card summary i { color: #7f9eff; font-size: 1rem; transition: transform 0.2s ease; }
.admin-navigation-card[open] summary { border-bottom: 1px solid var(--admin-line); background: transparent; color: #a9bcff; }
.admin-navigation-card[open] summary i { transform: rotate(180deg); }
.admin-navigation-card-body { display: grid; gap: 12px; padding: 16px; }

.admin-navigation-heading-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}

.admin-navigation-field--full { grid-column: 1 / -1; }

.admin-navigation-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.admin-navigation-item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 5px;
  background: var(--admin-surface-raised);
}

.admin-navigation-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(248, 113, 113, 0.36);
  border-radius: 5px;
  background: rgba(127, 29, 29, 0.36);
  color: #f87171;
}

.admin-navigation-remove:hover { background: #dc2626; color: #ffffff; }

.admin-navigation-remove-heading {
  display: grid;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(248, 113, 113, 0.36);
  border-radius: 5px;
  background: rgba(127, 29, 29, 0.36);
  color: #f87171;
  font-size: 1rem;
}
.admin-navigation-remove-heading:hover { background: #dc2626; color: #ffffff; }

.admin-navigation-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px dashed rgba(239, 173, 0, 0.62);
  border-radius: 6px;
  background: rgba(239, 173, 0, 0.08);
  color: #ffc83d;
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-navigation-add:hover { background: rgba(239, 173, 0, 0.18); color: #ffffff; }

.admin-navigation-item legend {
  padding: 0 6px;
  color: #5a6b84;
  font-size: 0.7rem;
  font-weight: 800;
}

.admin-navigation-field {
  display: grid;
  gap: 7px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.admin-navigation-hint {
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.68rem;
  color: #94a3b8;
}

.admin-navigation-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #f8fafc;
  color: #172033;
}
.admin-footer-tree-card { margin-top: 6px; padding: 16px; border: 1px solid var(--admin-line); border-radius: 6px; background: var(--admin-surface); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.admin-footer-tree-card + .admin-footer-tree-card { margin-top: 0; padding-top: 0; border-top: 0; border-radius: 0 0 6px 6px; box-shadow: none; }
.admin-footer-tree-card + .admin-footer-tree-card > header { display: none; }
.admin-footer-tree-card > header { padding-bottom: 12px; border-bottom: 1px solid var(--admin-line); }
.admin-footer-tree-card > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-footer-tree-add { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border: 1px solid rgba(49,94,255,0.4); border-radius: 4px; background: var(--admin-blue); color: #fff; font-size: 0.66rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.admin-footer-tree-add-between { display: inline-flex; align-items: center; gap: 6px; width: 100%; min-height: 34px; margin-top: 10px; padding: 0 13px; border: 1px dashed rgba(49,94,255,0.4); border-radius: 5px; background: rgba(49,94,255,0.08); color: #9eb5ff; font-size: 0.68rem; font-weight: 800; cursor: pointer; }
.admin-footer-tree-add-between:hover { border-color: #7195ff; background: rgba(49,94,255,0.16); color: #fff; }
.admin-footer-tree-card > header span { color: #6f98ff; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; }
.admin-footer-tree-card h2 { margin: 5px 0; color: var(--admin-text); font-size: 0.95rem; }
.admin-footer-tree-card header p { margin: 0; color: var(--admin-muted); font-size: 0.68rem; }
.admin-footer-tree-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 10px; }
.admin-footer-tree-row details { flex: 1 1 260px; min-width: 240px; margin-top: 0; }
.admin-footer-tree-card details { margin-top: 10px; border: 1px solid var(--admin-line); border-radius: 5px; background: var(--admin-field); }
.admin-footer-tree-card summary { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 13px; color: var(--admin-text); font-size: 0.72rem; font-weight: 800; cursor: pointer; list-style: none; }
.admin-footer-tree-card summary::-webkit-details-marker { display: none; }
.admin-footer-tree-card summary i { color: #7f9eff; font-size: 1rem; }
.admin-footer-tree-card details[open] summary { border-bottom: 1px solid var(--admin-line); color: #a9bcff; }
.admin-footer-tree-body { display: grid; gap: 10px; padding: 13px; }
.admin-footer-tree-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-footer-tree-items { display: grid; gap: 7px; }
.admin-footer-tree-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 30px; gap: 7px; }
.admin-footer-tree-item input { min-height: 34px; padding: 0 9px; border: 1px solid var(--admin-line); border-radius: 3px; background: var(--admin-surface-raised); color: var(--admin-text); font-size: 0.68rem; }
.admin-footer-tree-item button { border: 0; border-radius: 3px; background: rgba(239,93,93,0.14); color: #ff9b9b; cursor: pointer; }
.admin-footer-tree-body label:has(input[name="footer_title[official]"]), .admin-footer-tree-body label:has(input[name="footer_title[payments]"]) { display: none; }
@media (max-width: 760px) { .admin-footer-tree-grid, .admin-footer-tree-item { grid-template-columns: 1fr; } .admin-footer-tree-item button { min-height: 30px; } .admin-footer-tree-row { flex-direction: column; } .admin-footer-tree-row details { flex: 1 1 auto; width: 100%; } }
.admin-navigation-icon-upload { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 64px; padding: 8px; border: 1px dashed rgba(111,148,255,0.44); border-radius: 5px; background: #101a28; cursor: pointer; }
.admin-navigation-icon-upload:hover { border-color: #7195ff; background: #142236; }
.admin-navigation-icon-preview { display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; border: 1px solid rgba(147,177,255,0.3); border-radius: 4px; background: #182a43; color: #9eb5ff; font-size: 1rem; }
.admin-navigation-icon-preview img { width: 100%; height: 100%; object-fit: contain; }
.admin-navigation-icon-preview img + i { display: none; }
.admin-navigation-icon-upload strong { display: block; overflow: hidden; color: #eef3ff; font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-navigation-icon-upload small { display: block; margin-top: 3px; color: #96a5c2; font-size: 0.58rem; font-weight: 400; }
.admin-navigation-icon-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.admin-navigation-actions {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
}

.admin-navigation-actions .admin-action-button { margin: 0; }

.admin-navigation-success {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 7, 14, 0.62);
  backdrop-filter: blur(4px);
}

.admin-navigation-success > div {
  width: min(320px, 100%);
  padding: 24px;
  border: 1px solid rgba(239, 173, 0, 0.4);
  border-radius: 8px;
  background: #121b27;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.admin-navigation-success i { color: #28c76f; font-size: 2rem; }
.admin-navigation-success h2 { margin: 10px 0 5px; color: #f5f7fa; font-size: 1.1rem; }
.admin-navigation-success p { margin: 0 0 18px; color: #aebbd0; font-size: 0.8rem; }
.admin-navigation-success button { min-width: 96px; min-height: 36px; border: 0; border-radius: 5px; background: #315eff; color: #ffffff; font-weight: 800; }
.admin-navigation-success button:hover { background: #4770ff; }

.admin-category-faq-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-category-faq-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 4px;
  background: #315eff;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-category-faq-add:hover { background: #4770ff; }
.admin-category-faq-list { display: grid; gap: 10px; }
.admin-category-faq-item { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; background: #121b27; }
.admin-category-faq-item.is-open { border-color: #315eff; }
.admin-category-faq-item > header { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 28px 28px; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; background: #151d29; }
.admin-category-faq-order { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 5px; background: rgba(49, 94, 255, 0.18); color: #79a0ff; font-size: 0.7rem; font-weight: 800; }
.admin-category-faq-item input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #f5f7fa; font-size: 0.78rem; font-weight: 700; }
.admin-category-faq-language { padding: 4px 6px; border-radius: 4px; background: rgba(49, 94, 255, 0.16); color: #79a0ff; font-size: 0.59rem; font-weight: 800; }
.admin-category-faq-delete, .admin-category-faq-toggle { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 4px; background: transparent; color: #6f7e98; }
.admin-category-faq-delete:hover { background: rgba(220, 38, 38, 0.18); color: #f87171; }
.admin-category-faq-toggle:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.admin-category-faq-toggle i { transition: transform 0.2s ease; }
.admin-category-faq-item.is-open .admin-category-faq-toggle i { transform: rotate(180deg); }
.admin-category-faq-answer { display: none; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.admin-category-faq-item.is-open .admin-category-faq-answer { display: block; }
.admin-category-faq-answer textarea { width: 100%; min-height: 150px; padding: 14px; border: 0; outline: 0; resize: vertical; background: #121b27; color: #f5f7fa; font: inherit; font-size: 0.76rem; line-height: 1.6; }

.admin-navigation-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #86efac;
  border-radius: 6px;
  background: #f0fdf4;
  color: #15803d;
}

.admin-settings-menu > .admin-nav-submenu { display: none; }
.admin-settings-menu:hover > .admin-nav-submenu,
.admin-settings-menu:focus-within > .admin-nav-submenu,
.admin-settings-menu.is-active > .admin-nav-submenu { display: block; }

.admin-dashboard-page .admin-navigation-card,
.admin-dashboard-page .admin-navigation-item {
  border-color: rgba(148, 163, 184, 0.22);
  background: #151d29;
}

.admin-dashboard-page .admin-navigation-field { color: #aebbd0; }
.admin-dashboard-page .admin-navigation-field input {
  border-color: rgba(148, 163, 184, 0.28);
  background: #0d141e;
  color: #edf4ff;
}
.admin-dashboard-page .admin-navigation-field input[type="color"] { padding: 4px; }
.admin-dashboard-page .admin-navigation-item legend { color: #d6e0ef; }
.admin-dashboard-page .admin-navigation-notice {
  border-color: rgba(74, 222, 128, 0.42);
  background: rgba(20, 83, 45, 0.3);
  color: #a7f3d0;
}

@media (max-width: 700px) {
  .admin-navigation-form { grid-template-columns: 1fr; padding-bottom: 86px; }
  .admin-navigation-card { padding: 16px; }
  .admin-navigation-card { padding: 0; }
  .admin-navigation-card summary { min-height: 68px; padding: 14px; }
  .admin-navigation-card-body { padding: 14px; }
  .admin-navigation-items { grid-template-columns: 1fr; }
  .admin-navigation-actions { right: 16px; bottom: 16px; left: 16px; }
  .admin-navigation-actions .admin-action-button { width: 100%; text-align: center; }
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

i[class^="ri-"],
i[class*=" ri-"] {
  font-weight: 400 !important;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #203dc4);
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 12px 30px rgba(45,94,255,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.back-to-top::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 18V6M12 6l-5 5M12 6l5 5' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(1px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #4770ff, #2945d3);
  transform: translateY(-3px);
}

.container {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
}

main.container > section,
main.container > div,
.product-detail-shell > section,
.product-detail-shell > div,
.stores-page-content > section,
.stores-page-content > div {
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.04);
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 130;
  background: #0d1218;
  border-bottom: 1px solid var(--line);
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 20px;
}

.top-links,
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.top-links a,
.top-actions span {
  opacity: 0.9;
}

.top-actions { gap: 10px; }
.special-menu { position: relative; }
.special-trigger, .deal-link, .theme-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; background: rgba(255,255,255,0.04); color: var(--text); font-size: 0.75rem; }
.special-trigger, .deal-link { padding: 0 10px; }
.special-trigger { background: transparent; border-color: transparent; color: var(--muted); font-weight: 500; }
.special-menu { position: relative; display: inline-flex; align-items: center; }
.special-trigger { display: inline-flex; align-items: center; gap: 7px; }
.special-p-icon, .percent-icon { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; font-weight: 900; }
.special-p-icon { background: transparent; color: #3982ff; font-size: 0; transform: rotate(45deg); }
.special-p-icon::before { content: ""; display: block; width: 11px; height: 11px; background: #3982ff; }
.percent-icon { background: #315eff; color: #fff; }
.deal-link { background: #315eff; border-color: #315eff; color: #fff; font-weight: 600; box-shadow: 0 5px 14px rgba(49,94,255,0.22); }
.theme-toggle { background: #151b25; border-color: rgba(255,255,255,0.08); }
.special-chevron { display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; margin-left: 1px; font-size: 0; line-height: 0; vertical-align: middle; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 9 5 5 5-5' stroke='%236d7a96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat; transform: translateY(0); transition: transform 0.2s ease; }
.special-menu:hover .special-chevron, .special-menu:focus-within .special-chevron { transform: translateY(0) rotate(180deg); }
.theme-toggle { width: 32px; justify-content: center; padding: 0; }
.theme-icon { color: var(--gold-soft); font-size: 1rem; line-height: 1; }
.special-dropdown { position: absolute; top: calc(100% + 7px); right: 0; z-index: 70; display: grid; min-width: 150px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #121922; box-shadow: 0 15px 30px rgba(0,0,0,0.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.2s ease; }
.special-menu.is-open .special-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.special-dropdown-heading { display: flex; align-items: center; gap: 10px; padding: 10px 11px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.special-dropdown-heading > i { color: #f2b72f; font-size: 1.2rem; }
.special-dropdown-heading strong, .special-dropdown-heading small { display: block; }
.special-dropdown-heading strong { color: #f1f5ff; font-size: 0.73rem; }
.special-dropdown-heading small { margin-top: 3px; color: #7f8da8; font-size: 0.59rem; }
.special-dropdown a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 14px; align-items: center; gap: 8px; padding: 10px 11px; border-radius: 5px; color: var(--muted); font-size: 0.75rem; }
.special-dropdown a > i:first-child { color: #7599ff; font-size: 1rem; }
.special-dropdown a > i:last-child { color: #75829b; font-size: 1rem; }
.special-dropdown a strong, .special-dropdown a small { display: block; }
.special-dropdown a strong { color: #d9e3f4; font-size: 0.68rem; }
.special-dropdown a small { margin-top: 3px; color: #7f8da8; font-size: 0.58rem; }
.special-dropdown a:hover { border-radius: 5px; background: rgba(239,173,0,0.12); color: var(--text); }
.special-dropdown { display: flex; align-items: stretch; width: 657px; height: 450px; padding: 18px 20px; border: 1px solid #dfe6f2; border-radius: 12px; background: #ffffff; box-shadow: 0 18px 42px rgba(31,55,91,0.18); overflow: hidden; }
.special-dropdown-main { display: grid; min-width: 230px; flex: 1; align-content: start; }
.special-dropdown-brand { display: flex; flex-direction: column; min-width: 200px; max-width: 220px; height: 100%; padding: 4px 16px 4px 0; border-right: 1px solid #eceff5; margin-right: 16px; }
.special-dropdown-brand h3 { margin: 0 0 8px; padding: 0; border-bottom: 0; color: #1b2436; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.03em; }
.special-dropdown-brand-links { display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 4px; max-height: none; overflow: hidden; }
.special-dropdown-brand-links a { min-height: 0; margin-top: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #5b6472; font-size: 0.72rem; line-height: 1.1; display: block; }
.special-dropdown-brand-links a:hover { background: transparent; color: #315eff; }
@media (max-width: 640px) {
  .special-dropdown { flex-direction: column; }
  .special-dropdown-brand { max-width: none; border-right: 0; border-bottom: 1px solid #eceff5; margin-right: 0; margin-bottom: 10px; padding: 0 0 10px; }
}
.special-dropdown-heading { padding: 7px 10px 12px; border-bottom: 0; color: #4160f5; }
.special-dropdown-heading strong { color: #4160f5; font-size: 0.7rem; letter-spacing: 0.04em; }
.special-dropdown a { min-height: 48px; margin-top: 7px; padding: 0 12px; border: 1px solid #dfe2e9; border-radius: 10px; background: #f7f8fa; color: #263244; }
.special-dropdown a > i:first-child { display: grid; place-items: center; width: 20px; height: 20px; color: #4160f5; font-size: 1rem; }
.special-dropdown a > i:last-child { color: #4160f5; font-size: 1.05rem; }
.special-dropdown a span { min-width: 0; }
.special-dropdown a strong { color: #2f3540; font-size: 0.7rem; font-weight: 700; }
.special-dropdown a:nth-of-type(n+3) { grid-template-columns: minmax(0, 1fr) 18px; min-height: 46px; border: 0; background: #eef0ff; }
.special-dropdown a:nth-of-type(n+3) span { grid-column: 1 / 3; }
.special-dropdown a:nth-of-type(n+3) > i:last-child { grid-column: 2; }
.special-dropdown a:hover { background: #e9edff; color: #315eff; }
.special-dropdown-brand-links a { min-height: 0; margin-top: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #5b6472; font-size: 0.72rem; line-height: 1.1; display: block; }
.special-dropdown-brand-links a:hover { background: transparent; color: #315eff; }
/* The canvas behind the document paints the overscroll (rubber-band) area.
   Keep it as dark as the footer so pulling past the end never flashes white. */
html {
  background: #0d1218;
}

body {
  background: #f5f7fa;
  color: var(--text);
}

body .top-header,
body .main-header,
body .site-footer,
body .top-header-inner,
body .main-header-inner {
  background: #0d1218;
}

body .category-nav,
body .category-nav > .nav-actions {
  background: #ffffff;
}

body .top-header,
body .main-header,
body .site-footer {
  color: #f5f7fa;
}

body .category-nav,
body .category-nav .nav-button,
body .category-nav .nav-add-link,
body .category-nav .nav-balance-link,
body .category-nav .nav-button.all {
  color: #1b2430;
}

body .hero-banner,
body .product-section,
body .product-card,
body .category-header-card,
body .product-list,
body .page-content,
body main,
body .member-auth-page,
body .member-auth-card {
  background: #ffffff;
}

body .theme-toggle {
  display: none !important;
}

.main-header {
  position: sticky;
  top: 35px;
  z-index: 120;
  background: #0d1218;
  border-bottom: 1px solid var(--line);
}

.main-header-inner {
  display: grid;
  grid-template-columns: 190px minmax(280px, 1fr) 390px;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.main-header-inner > * {
  min-width: 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 18px 8px;
  background: linear-gradient(135deg, #ffd45f, #efad00);
  color: #0b0d12;
  font-size: 2rem;
  font-weight: 900;
  transform: rotate(-12deg);
  box-shadow: 0 0 25px rgba(239, 173, 0, 0.45);
}

.logo-text {
  display: flex;
  align-items: end;
  gap: 0;
}

.logo-main,
.logo-sub {
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.logo-main {
  font-size: clamp(1.7rem, 2vw, 2.5rem);
  color: var(--gold);
}

.logo-sub {
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  color: #fff;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 640px);
  justify-self: start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(20, 32, 45, 0.12);
  border-radius: 12px;
  overflow: visible;
  min-height: 52px;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.search-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(239, 173, 0, 0.2);
}

.search-input-shell {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  position: relative;
  z-index: 2;
}

.search-icon {
  display: none;
}

.search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  padding: 0 18px 0 18px;
  font-size: 1rem;
  font-weight: 500;
}

.search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.search-wrap button {
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.search-mini-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: none;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15, 20, 28, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 20, 28, 0.12);
  padding: 16px 16px 12px;
  color: #1a2232;
}

.search-result-status {
  margin: 0;
  padding: 8px 2px;
  color: #68758b;
  font-size: 0.82rem;
  font-weight: 500;
}

.search-result-list {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  max-height: 286px;
  overflow-y: auto;
}

.search-result-item {
  display: grid;
  grid-template-columns: 40px 70px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px 8px;
  border-radius: 9px;
}

.search-result-image {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #eef1f7;
  object-fit: cover;
}

.search-result-image.is-missing {
  visibility: hidden;
}

.search-result-item:hover {
  background: #f0f4fa;
}

.search-result-type {
  display: inline-flex;
  justify-content: center;
  padding: 5px 6px;
  border-radius: 6px;
  background: #edf2ff;
  color: #3e5df6;
  font-size: 0.62rem;
  font-weight: 700;
}

.search-result-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.search-result-copy strong,
.search-result-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-copy strong {
  color: #1d2838;
  font-size: 0.8rem;
  font-weight: 600;
}

.search-result-copy small {
  color: #71809a;
  font-size: 0.7rem;
}

.search-shell.is-open .search-mini-panel {
  display: block;
}

.search-mini-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6d7890;
  text-transform: uppercase;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 18px;
}

.search-tag {
  border: 1px solid rgba(34, 48, 63, 0.08);
  background: #eef3fa;
  color: #273246;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.search-store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.search-sponsor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: #f6f7fb;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7b859c;
}

.search-store-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.search-store-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 10px;
  padding: 5px 4px;
}

.store-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
}

.store-avatar--one { background: linear-gradient(135deg, #0f1117, #4b4d50); }
.store-avatar--two { background: linear-gradient(135deg, #f5b919, #f47a20); color: #1f1408; }
.store-avatar--three { background: linear-gradient(135deg, #9b6dff, #5a38d6); }
.store-avatar--four { background: linear-gradient(135deg, #facc15, #ee7b2d); color: #211601; }
.store-avatar--five { background: linear-gradient(135deg, #0f172a, #323f4b); }
.store-avatar--six { background: linear-gradient(135deg, #f9a63a, #da5e14); }

.store-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1d2838;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-rate {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 7px;
  border-radius: 999px;
  background: #edf6ef;
  color: #1d8a52;
  font-size: 0.7rem;
  font-weight: 800;
}

.store-rate small {
  color: #61816c;
  font-size: 0.62rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.member-auth-page { min-height: 100vh; background: #f4f6f8; color: #172033; }
.member-auth-page .top-header, .member-auth-page .main-header, .member-auth-page .category-nav { display: none; }
.member-auth-shell { width: min(100% - 32px, 430px); min-height: 100vh; margin: 0 auto; padding: 20px 0 40px; }
body.member-auth-page main.member-auth-shell { background: transparent; }
.member-auth-logo { display: flex; align-items: center; justify-content: center; gap: 10px; color: #172033; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.06em; }
.member-auth-logo img { display: block; width: 220px; height: auto; max-height: 76px; object-fit: contain; object-position: center; }
.member-auth-logo .logo-mark { width: 42px; height: 42px; font-size: 1.8rem; }
.member-auth-logo > span > span { color: #9aa5b5; font-size: 0.68em; }
.member-auth-card { margin-top: 14px; padding: 32px; border: 1px solid #e0e5eb; border-radius: 14px; background: #ffffff; box-shadow: 0 18px 45px rgba(31, 45, 61, 0.08); }
.auth-kicker { color: #efad00; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; }
.member-auth-card h1 { margin: 10px 0 8px; font-size: 1.6rem; }
.member-auth-card > p { color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.member-auth-form { display: grid; gap: 9px; margin-top: 22px; }
.member-auth-form label { color: #253147; font-size: 0.78rem; font-weight: 700; }
.auth-field-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-field-heading a { color: #4160f5; font-size: 0.72rem; }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { width: 100%; padding-right: 42px; }
.auth-password-wrap button { position: absolute; top: 50%; right: 8px; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: #8a98aa; transform: translateY(-50%); }
.auth-password-wrap button:hover { color: #4160f5; }
.auth-terms { display: flex; align-items: flex-start; gap: 7px; margin-top: 7px; color: var(--muted) !important; font-size: 0.72rem !important; font-weight: 400 !important; line-height: 1.4; }
.auth-terms input { width: 14px; min-width: 14px; height: 14px; min-height: 14px; padding: 0; border: 0; background: transparent; accent-color: var(--gold); margin: 2px 0 0; }
.member-auth-form .auth-terms input:hover,
.member-auth-form .auth-terms input:focus { box-shadow: none; outline: none; }
.member-auth-form input { min-height: 45px; padding: 0 13px; border: 1px solid #dce2e9; border-radius: 7px; background: #ffffff; color: #172033; outline: none; }
.member-auth-form input:focus { border-color: #4160f5; box-shadow: 0 0 0 3px rgba(65,96,245,0.12); }
.giveaway-form select,
.giveaway-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #dce2e9; border-radius: 7px; background: #ffffff; color: #172033; outline: none; resize: vertical; }
.giveaway-form select { min-height: 45px; }
.giveaway-form select:focus,
.giveaway-form textarea:focus { border-color: #4160f5; box-shadow: 0 0 0 3px rgba(65,96,245,0.12); }
.member-auth-submit { min-height: 45px; margin-top: 10px; border: 0; border-radius: 7px; background: #4160f5; color: #ffffff; font-weight: 800; cursor: pointer; box-shadow: 0 8px 16px rgba(65,96,245,0.2); }
.auth-switch { margin: 22px 0 0 !important; text-align: center; }
.auth-switch a { color: #4160f5; font-weight: 800; }
.auth-error { margin-top: 16px; padding: 11px; border-radius: 7px; background: rgba(239,93,93,0.12); color: #ff9b9b; font-size: 0.8rem; }
.auth-member-note { margin: 18px 0; padding: 12px; border-radius: 7px; background: rgba(239,173,0,0.1); color: var(--gold-soft); font-size: 0.8rem; }

.register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b86ff, #3256ea);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(49,94,255,0.25);
}

.register-link::before {
  content: "✦";
  font-size: 0.9rem;
  line-height: 1;
}

.register-link:hover { filter: brightness(1.06); transform: translateY(-1px); }

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #ffb443, #f28a1a);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 18px rgba(242,138,26,0.24);
}

.login-link::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='8' r='3.5' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M5 20c.8-3.3 3.1-5 7-5s6.2 1.7 7 5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-actions-logged {
  gap: 8px;
}

.pass-chip,
.quick-action,
.member-profile-card {
  min-height: 42px;
  border-radius: 11px;
}

.pass-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0 14px;
  background: linear-gradient(135deg, #5f82ff, #3152ea);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(49,82,234,0.3);
}

.pass-chip::before {
  content: "♛";
  margin-right: 7px;
  font-size: 0.85rem;
}

.quick-action {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  border: 1px solid rgba(22,32,47,0.1);
  background: #f2f5fa;
  color: transparent;
  font-size: 0;
}

.quick-action::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.quick-action-message::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 6.5A2.5 2.5 0 0 1 7.5 4h9A2.5 2.5 0 0 1 19 6.5v6A2.5 2.5 0 0 1 16.5 15H11l-3.8 3.4A.7.7 0 0 1 6 17.9V15.9A2.5 2.5 0 0 1 5 13.8V6.5Z' stroke='%236d7a96' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.quick-action-notification::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 4.5a4 4 0 0 0-4 4v2.1c0 .9-.3 1.8-.9 2.5l-1 1.2h11.8l-1-1.2a4 4 0 0 1-.9-2.5V8.5a4 4 0 0 0-4-4Z' stroke='%236d7a96' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M10 17.2a2 2 0 0 0 4 0' stroke='%236d7a96' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.quick-action.has-badge::after {
  content: attr(data-count);
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ff4d5f;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.quick-action-cart {
  background: #fff4df;
  color: #e09a19;
  border-color: rgba(224,154,25,0.24);
}

.quick-action-cart::before,
.mini-cart::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 5h2l1.5 10.2a2 2 0 0 0 2 1.8h7.8a2 2 0 0 0 1.9-1.4L21 8H7' stroke='%23c7830d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20' r='1.2' fill='%23c7830d'/%3E%3Ccircle cx='18' cy='20' r='1.2' fill='%23c7830d'/%3E%3C/svg%3E") center / contain no-repeat;
}

.quick-action-cart,
.mini-cart {
  color: transparent;
  font-size: 0;
}

.member-profile-card {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  padding: 0 11px 0 7px;
  border: 1px solid rgba(22,32,47,0.15);
  background: #ffffff;
  cursor: pointer;
}

.member-avatar {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #eef1f7 url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRtRDp_fjdFnnlpxFaRLkbNvAatQgl34-M-iX94eHE32w&s') center / cover no-repeat;
}

.member-profile-copy {
  display: grid;
  min-width: 0;
}

.member-profile-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1f2b40;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
}

.member-profile-copy small {
  color: #16ae68;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-customer-username {
  display: block;
  margin-top: 3px;
  color: #71809b;
  font-size: 0.76rem;
  font-weight: 600;
}

.member-profile-arrow {
  margin-left: auto;
  color: #7684a1;
  font-size: 1.2rem;
  line-height: 1;
}

.mini-cart {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.cart-panel-backdrop {
  position: fixed;
  top: 106px;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(7, 10, 15, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 90;
}

.cart-panel {
  position: fixed;
  top: 106px;
  right: 0;
  width: min(420px, calc(100vw - 28px));
  height: calc(100vh - 106px);
  background: #ffffff;
  color: #18212f;
  border-left: 1px solid rgba(18, 26, 38, 0.08);
  box-shadow: -30px 0 60px rgba(15, 23, 42, 0.18);
  transform: translateX(105%);
  transition: transform 0.25s ease;
  z-index: 110;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(18, 26, 38, 0.08);
}

.cart-panel-kicker {
  display: inline-block;
  color: #7e8aa0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-panel-header h3 {
  margin: 10px 0 0;
  font-size: 1.8rem;
  letter-spacing: -0.06em;
}

.cart-panel-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(18, 26, 38, 0.1);
  border-radius: 50%;
  background: #f5f7fb;
  color: #1c2430;
  font-size: 1.7rem;
  line-height: 1;
}

.cart-panel-body {
  flex: 1;
  padding: 18px 20px 0;
  overflow: auto;
}

.cart-empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 240px;
  text-align: center;
  color: #53657d;
}

.cart-empty-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f1f5fa;
  font-size: 2rem;
}

.cart-empty-state p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.cart-panel-footer {
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(18, 26, 38, 0.08);
}

.notification-panel-backdrop { position: fixed; top: 106px; right: 0; bottom: 0; left: 0; z-index: 90; background: rgba(7, 10, 15, 0.32); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; }
.notification-panel-backdrop.open { opacity: 1; visibility: visible; }
.notification-panel { position: fixed; top: 106px; right: 0; z-index: 110; display: flex; flex-direction: column; width: min(414px, calc(100vw - 1px)); height: calc(100vh - 106px); overflow: hidden; background: #f8f9fb; color: #0f1728; border-left: 1px solid rgba(18, 26, 38, 0.08); box-shadow: -30px 0 60px rgba(15, 23, 42, 0.18); transform: translateX(105%); transition: transform 0.25s ease; }
.notification-panel.open { transform: translateX(0); }
.notification-panel-header { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 19px; border-bottom: 1px solid #dfe2e8; background: #fff; }
.notification-title-row { display: flex; align-items: center; gap: 10px; }
.notification-title-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: #edf1ff; color: #2864ff; font-size: 1.4rem; }
.notification-panel-header h3 { margin: 0; font-size: 0.95rem; font-weight: 700; }
.notification-panel-close { width: 30px; height: 30px; border: 0; background: transparent; color: #70757c; font-size: 1.9rem; line-height: 1; }
.notification-quick-actions { display: flex; align-items: center; gap: 8px; padding: 13px 19px 7px; background: #fff; color: #6e7890; font-size: 0.7rem; }
.notification-quick-actions > span { margin-right: auto; }
.notification-quick-actions button { min-height: 32px; padding: 0 12px; border: 1px solid #e0e3e9; border-radius: 999px; background: #f5f6f8; color: #111827; font-size: 0.66rem; font-weight: 700; }
.notification-quick-actions button, .message-tabs .message-read-all { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.notification-quick-actions button svg, .message-tabs .message-read-all svg { width: 14px; height: 14px; stroke-width: 2.2; }
.notification-quick-actions button.is-danger { border-color: #ffafb4; background: #fff7f7; color: #ef4444; }
.notification-search { display: flex; align-items: center; gap: 9px; height: 40px; margin: 5px 19px 15px; padding: 0 13px; border-radius: 11px; background: #f1f2f5; color: #8390aa; }
.notification-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #18212f; font-size: 0.7rem; }
.notification-panel-body { flex: 1; overflow: auto; border-top: 1px solid #dfe2e8; }
.notification-item { position: relative; display: flex; align-items: center; gap: 15px; min-height: 86px; padding: 14px 20px; border-bottom: 1px solid #dfe2e8; background: #f8f9fb; }
.notification-item.is-unread { border-left: 2px solid #4a57ff; }
.notification-item-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 12px; background: #dfe4ff; color: #3560ff; font-size: 1.35rem; }
.notification-item div { min-width: 0; }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { overflow: hidden; color: #121a29; font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.notification-item small { margin-top: 6px; color: #8290a8; font-size: 0.65rem; }
.notification-new { margin-left: auto; padding: 3px 10px; border: 1px solid #aab8ff; border-radius: 999px; background: #dfe5ff; color: #3157e9; font-size: 0.62rem; }
.notification-empty { display: grid; min-height: 250px; place-items: center; align-content: center; gap: 10px; color: #7e8aa0; text-align: center; }
.notification-empty span { font-size: 2rem; color: #6a7cff; }
.notification-empty p { margin: 0; font-size: 0.85rem; font-weight: 600; }
.notification-confirm-backdrop { position: fixed; inset: 0; z-index: 180; background: rgba(15,23,42,0.35); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; }
.notification-confirm-backdrop.open { opacity: 1; visibility: visible; }
.notification-confirm-modal { position: fixed; top: 50%; left: 50%; z-index: 190; display: grid; width: min(468px, calc(100vw - 32px)); padding: 16px 22px 0; transform: translate(-50%, -50%) scale(0.96); border-radius: 0; background: #f8f9fb; color: #1b1f29; box-shadow: 0 22px 70px rgba(15,23,42,0.22); text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }
.notification-confirm-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.notification-confirm-modal[hidden] { display: none; }
.notification-confirm-close { position: absolute; top: 9px; right: 19px; border: 0; background: transparent; color: #737984; font-size: 1.35rem; }
.notification-confirm-icon { display: grid; width: 47px; height: 47px; place-items: center; margin: 0 auto 16px; border-radius: 13px; background: #fff0d9; color: #e58b0b; font-size: 1.55rem; }
.notification-confirm-modal h3 { margin: 0; font-size: 1.12rem; font-weight: 800; }
.notification-confirm-modal p { max-width: 410px; margin: 10px auto 25px; color: #8792a8; font-size: 0.78rem; line-height: 1.55; }
.notification-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin: 0 -22px; padding: 21px 99px 15px; border-top: 1px solid #dfe2e8; }
.notification-confirm-actions button { min-height: 48px; border: 1px solid #dfe2e8; border-radius: 12px; background: #f5f6f8; color: #242832; font-size: 0.75rem; font-weight: 700; }
.notification-confirm-actions button.is-confirm { border-color: #09c974; background: #09c974; color: #fff; box-shadow: 0 8px 16px rgba(9,201,116,0.18); }

.message-panel-backdrop { position: fixed; top: 106px; right: 0; bottom: 0; left: 0; z-index: 90; background: rgba(7, 10, 15, 0.32); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; }
.message-panel-backdrop.open { opacity: 1; visibility: visible; }
.message-panel { position: fixed; top: 106px; right: 0; z-index: 110; display: flex; width: min(414px, calc(100vw - 1px)); height: calc(100vh - 106px); overflow: hidden; background: #f5f6f8; color: #0f1728; border-left: 1px solid rgba(18, 26, 38, 0.08); box-shadow: -30px 0 60px rgba(15, 23, 42, 0.18); transform: translateX(105%); transition: transform 0.25s ease; }
.message-panel.open { transform: translateX(0); }
.message-panel-header { display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 2; height: 74px; padding: 0 19px; border-bottom: 1px solid #dfe2e8; background: #fff; }
.message-title-row { display: flex; align-items: center; gap: 10px; }
.message-title-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: #edf1ff; color: #2864ff; font-size: 1.5rem; }
.message-panel-header h3 { margin: 0; font-size: 0.95rem; }
.message-panel-close { width: 30px; height: 30px; border: 0; background: transparent; color: #70757c; font-size: 1.9rem; line-height: 1; }
.message-panel-list-view, .message-compose-view { display: flex; flex-direction: column; width: 100%; padding-top: 74px; }
.message-panel [hidden] { display: none !important; }
.message-compose-view { position: absolute; inset: 74px 0 0; z-index: 3; padding-top: 0; background: #f5f6f8; }
.message-tabs { display: flex; align-items: center; gap: 7px; padding: 14px 20px 7px; background: #fff; }
.message-tabs button { min-height: 33px; padding: 0 12px; border: 1px solid #e1e4eb; border-radius: 999px; background: #f5f6f8; color: #151b27; font-size: 0.66rem; font-weight: 700; }
.message-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.message-tabs button svg { width: 14px; height: 14px; stroke-width: 2.2; }
.message-tabs button.is-active { border-color: #4560ff; background: #4560ff; color: #fff; }
.message-tabs .message-read-all { margin-left: auto; border-color: #9be8c4; background: #effff7; color: #0ca866; }
.message-search { display: flex; align-items: center; gap: 9px; height: 40px; margin: 5px 20px 15px; padding: 0 13px; border-radius: 11px; background: #f1f2f5; color: #8390aa; }
.message-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #18212f; font-size: 0.7rem; }
.message-panel-body { flex: 1; overflow: auto; border-top: 1px solid #dfe2e8; }
.message-empty { display: grid; min-height: 220px; margin: 17px 16px; padding: 30px 14px; place-items: center; align-content: center; gap: 10px; border: 1px dashed #d7dce4; border-radius: 13px; background: #fff; color: #101827; text-align: center; }
.message-empty > span { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 2px; border-radius: 12px; background: #f0f2f7; color: #91a0b5; font-size: 2rem; }
.message-empty strong { font-size: 0.82rem; }
.message-empty p { margin: 0; color: #8290a8; font-size: 0.7rem; line-height: 1.55; }
.message-item { display: flex; align-items: center; gap: 13px; min-height: 78px; padding: 13px 20px; border-bottom: 1px solid #dfe2e8; background: #f8f9fb; }
.message-item.is-unread { border-left: 2px solid #4a57ff; }
.message-item-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: #dfe4ff; color: #3560ff; }
.message-item div { min-width: 0; }
.message-item strong, .message-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-item strong { font-size: 0.74rem; }
.message-item small { margin-top: 5px; color: #8290a8; font-size: 0.64rem; }
.message-new { margin-left: auto; padding: 3px 10px; border: 1px solid #aab8ff; border-radius: 999px; background: #dfe5ff; color: #3157e9; font-size: 0.62rem; }
.message-panel-footer { padding: 15px; border-top: 1px solid #dfe2e8; background: #fff; }
.message-panel-footer button, .message-compose-form > button { width: 100%; min-height: 47px; border: 0; border-radius: 11px; background: #08d477; color: #fff; font-size: 0.78rem; font-weight: 800; }
.message-compose-heading { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 0 18px; border-bottom: 1px solid #dfe2e8; background: #fff; font-size: 0.78rem; }
.message-compose-heading button { border: 0; background: transparent; color: #1b2739; font-size: 1.6rem; }
.message-compose-form { display: grid; gap: 22px; padding: 28px 18px; }
.message-compose-form label { display: grid; gap: 8px; color: #516079; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.03em; }
.message-input-wrap { display: flex; align-items: center; gap: 8px; height: 45px; padding: 0 12px; border: 1px solid #5267ff; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px rgba(70,92,255,0.12); color: #8a98ad; }
.message-input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: #1c2738; font-size: 0.72rem; }
.message-compose-form textarea { min-height: 136px; resize: vertical; padding: 15px; border: 1px solid #dfe2e8; border-radius: 12px; outline: 0; background: #fff; color: #1c2738; font-size: 0.72rem; }
.message-compose-form > button { background: #4560ff; }

.account-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(7, 11, 18, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.account-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 150;
  width: min(420px, calc(100vw - 20px));
  height: 100vh;
  padding: 12px;
  overflow: auto;
  background: #f4f7ff;
  border-left: 1px solid rgba(18, 26, 38, 0.1);
  box-shadow: -20px 0 50px rgba(16, 24, 40, 0.22);
  transform: translateX(105%);
  transition: transform 0.25s ease;
}

.account-panel.open {
  transform: translateX(0);
}

.account-panel-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.account-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 8px 10px;
}

.account-panel-header h3 {
  margin: 0;
  color: #1f2b40;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.account-panel-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(18, 26, 38, 0.15);
  border-radius: 10px;
  background: #ffffff;
  color: #6a7896;
  font-size: 1.45rem;
  line-height: 1;
}

.account-panel-card {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, #4565ff, #6278f3);
  color: #ffffff;
}

.account-panel-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.account-panel-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef1f7 url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRtRDp_fjdFnnlpxFaRLkbNvAatQgl34-M-iX94eHE32w&s') center / cover no-repeat;
}

.account-panel-user strong {
  font-size: 0.95rem;
}

.account-panel-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.account-panel-balance-grid div {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}

.account-panel-balance-grid small {
  display: block;
  opacity: 0.88;
  font-size: 0.68rem;
}

.account-panel-balance-grid b {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
}

.account-panel-balance-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  background: #ffffff;
  color: #3f5fe6;
  font-weight: 700;
}

.account-panel-section {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(18, 26, 38, 0.08);
  border-radius: 12px;
  background: #ffffff;
}

.account-panel-section small {
  display: block;
  margin-bottom: 6px;
  color: #8b98b5;
  font-size: 0.67rem;
  font-weight: 700;
}

.account-panel-section a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  border-bottom: 1px solid rgba(18, 26, 38, 0.06);
  color: #1f2b40;
  font-size: 0.9rem;
}

.account-panel-section a:last-child {
  border-bottom: 0;
}

.account-panel-section a span {
  color: #8d99b3;
}

.account-panel-logout {
  margin-top: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(235, 87, 87, 0.3);
  border-radius: 12px;
  background: #fff2f2;
  color: #e05050;
  font-weight: 700;
}

.cart-checkout {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd45f, #efad00);
  color: #171108;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 12px 18px rgba(239, 173, 0, 0.22);
}

.category-nav {
  position: sticky;
  top: 108px;
  z-index: 110;
  background: rgba(9, 13, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.category-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.category-modal.open { opacity: 1; visibility: visible; }
.category-modal-backdrop { position: absolute; inset: 0; background: rgba(3,6,10,0.72); backdrop-filter: blur(5px); }
.category-modal-panel { position: relative; width: min(100%, 1180px); max-height: min(760px, calc(100vh - 48px)); overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 30px 80px rgba(0,0,0,0.5); transform: translateY(14px) scale(0.98); transition: transform 0.25s ease; }
.category-modal.open .category-modal-panel { transform: translateY(0) scale(1); }
.category-modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.category-modal-heading h2 { margin: 10px 0 0; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.05em; }
.category-modal-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,0.04); color: var(--text); font-size: 1.7rem; line-height: 1; }
.category-modal-close:hover { background: var(--gold); color: #171108; }
.category-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-card { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.025); color: var(--text); font-weight: 700; transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease; }
.category-card:hover { transform: translateY(-2px); border-color: rgba(239,173,0,0.6); background: rgba(239,173,0,0.08); }
.category-card-icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--gold); color: #171108; font-size: 1.3rem; overflow: hidden; }
.category-card-icon img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; padding: 6px; border: 0; background: transparent; object-fit: contain; object-position: center; box-sizing: border-box; }
.category-card-icon i { display: block; line-height: 1; }
.category-card-icon.valorant { background: #ff536b; color: #fff; } .category-card-icon.lol { background: #b49555; } .category-card-icon.mlbb { background: #efad00; color: #ffffff; } .category-card-icon.cs2 { background: #344b92; color: #fff; } .category-card-icon.market { background: #1b2638; color: #fff; } .category-card-icon.giveaway { background: #34c98a; color: #071a14; } .category-card-icon.social { background: #ff5264; color: #fff; } .category-card-icon.platform { background: #1473a7; color: #fff; } .category-card-icon.card-red { background: #ed3232; color: #fff; } .category-card-icon.card-purple { background: #7040a1; color: #fff; } .category-card-icon.card-orange { background: #c96d16; color: #fff; }

.nav-row {
  display: grid;
  grid-template-columns: 166px 0.75fr 1fr 0.65fr 0.85fr 1.1fr 0.95fr;
  align-items: center;
  gap: 6px;
  min-height: 58px;
  position: relative;
  padding: 8px 0 6px;
  padding-right: 265px;
}

.category-nav > .nav-actions,
.category-nav .nav-row > .nav-actions {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  transform: translateY(-50%);
}
.category-nav > .nav-actions { right: max(16px, calc((100% - 1400px) / 2)); }
.category-nav .nav-row > .nav-actions { right: 0; }
.category-nav > .nav-actions .nav-add-link,
.category-nav > .nav-actions .nav-balance-link,
.category-nav .nav-row > .nav-actions .nav-add-link,
.category-nav .nav-row > .nav-actions .nav-balance-link { min-height: 42px; }
.nav-actions { display: flex; gap: 8px; }
.nav-add-link, .nav-balance-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 15px; border-radius: 9px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease; }
.nav-add-link { background: linear-gradient(135deg, #ffd45f, #efad00); color: #ffffff; box-shadow: 0 5px 15px rgba(239,173,0,0.2); }
.nav-balance-link { background: #16c79a; color: #ffffff; box-shadow: 0 5px 15px rgba(22,199,154,0.18); }
.nav-add-link::before,
.nav-balance-link::before { content: ""; display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.nav-add-link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23171108' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-balance-link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 9.5A2.5 2.5 0 0 1 5.5 7h13A2.5 2.5 0 0 1 21 9.5v5A2.5 2.5 0 0 1 18.5 17h-13A2.5 2.5 0 0 1 3 14.5v-5Z' stroke='%23061b18' stroke-width='2'/%3E%3Cpath d='M3 11h18M8 15h3' stroke='%23061b18' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nav-add-link:hover, .nav-balance-link:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.12); }

body .category-nav .nav-add-link,
body .category-nav .nav-balance-link { color: #ffffff; }

.pubg-icon-frame .pubg-header-icon,
.game-header-icon-frame .game-header-icon {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-add-link::before,
.nav-balance-link::before { display: none; }

.nav-add-link i,
.nav-balance-link i { font-size: 1.15rem; line-height: 1; }

.nav-add-link .fs-5 { font-size: 1.25rem; }

.nav-button {
  background: transparent;
  border: none;
  color: var(--text);
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-align: center;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 0.9rem;
  border-radius: 6px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav-dropdown {
  position: static;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.nav-button.all {
  background: transparent;
  border: none;
  color: var(--text);
}

.category-trigger {
  justify-content: flex-start;
  overflow: visible;
  padding-left: 0;
}

.category-menu-icon {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #efad00;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(239, 173, 0, 0.22);
}

.category-menu-icon.text-white {
  color: #ffffff;
}

.pubg-icon-frame {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #fff4df;
}

.nav-icon.pubg-header-icon {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) saturate(100%) invert(69%) sepia(92%) saturate(520%) hue-rotate(358deg) brightness(98%) contrast(95%);
}

.game-header-icon-frame {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 4px;
  overflow: hidden;
  border-radius: 10px;
}

.game-header-icon-frame--valorant { background: #ffe8ed; }
.game-header-icon-frame--lol { background: #f5efe2; }
.game-header-icon-frame--mlbb { background: #fff3df; }
.game-header-icon-frame--cs2 { background: #edf0ff; }

.nav-icon.game-header-icon {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.game-header-icon-frame--valorant .game-header-icon {
  width: 20px;
  height: 20px;
}

.subcategory-game-icon {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 4px;
  border-radius: 9px;
  object-fit: contain;
}

.subcategory-game-icon--pubg { background: #fff4df; }
.subcategory-game-icon--valorant { background: #ffe8ed; }
.subcategory-game-icon--lol { background: #f5efe2; }
.subcategory-game-icon--mlbb { background: #fff3df; }

.game-nav-button--valorant,
.game-nav-button--lol,
.game-nav-button--mlbb,
.game-nav-button--cs2 { color: #1b2430 !important; }

.game-header-icon-frame--valorant .game-header-icon { filter: brightness(0) saturate(100%) invert(32%) sepia(54%) saturate(1172%) hue-rotate(309deg) brightness(94%) contrast(91%); }
.game-header-icon-frame--lol .game-header-icon { filter: brightness(0) saturate(100%) invert(49%) sepia(22%) saturate(1041%) hue-rotate(4deg) brightness(91%) contrast(86%); }
.game-header-icon-frame--mlbb .game-header-icon { filter: brightness(0) saturate(100%) invert(69%) sepia(92%) saturate(520%) hue-rotate(358deg) brightness(98%) contrast(95%); }
.game-header-icon-frame--cs2 .game-header-icon { filter: brightness(0) saturate(100%) invert(42%) sepia(56%) saturate(776%) hue-rotate(193deg) brightness(84%) contrast(95%); }

.market-header-icon {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: #f1f3f8;
  color: #171b24;
  font-size: 1.1rem;
  line-height: 1;
}

.giveaway-header-icon {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: #e6f9f0;
  font-size: 1.1rem;
  line-height: 1;
}

.giveaway-header-icon.text-success {
  color: #16a765;
}

.nav-button .nav-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  align-self: center;
}

.nav-row > .nav-button {
  gap: 8px;
  overflow: visible;
}

.nav-row > .nav-button > .pubg-icon-frame,
.nav-row > .nav-button > .game-header-icon-frame,
.nav-row > .nav-button > .market-header-icon,
.nav-row > .nav-button > .giveaway-header-icon,
.nav-row > .nav-button > .category-menu-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-self: center;
}

.nav-row > .nav-button > .pubg-icon-frame .pubg-header-icon,
.nav-row > .nav-button > .game-header-icon-frame .game-header-icon {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

/* Generic, data-driven icon frame used for admin-managed nav headings (Kategoriler/İlan Pazarı/
   Çekilişler/new custom headings) instead of hardcoded per-game classes. Background color and icon
   come entirely from Menü Ayarları. */
.nav-generic-icon-frame {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 4px;
  overflow: hidden;
  border-radius: 10px;
}

.nav-generic-icon-frame .nav-generic-icon {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1;
}

.nav-generic-icon-frame img.nav-generic-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.nav-row > .nav-button > .nav-generic-icon-frame {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-self: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(18, 27, 38, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 40;
  padding: 10px;
}

.dropdown-menu a {
  position: relative;
  flex: 0 1 225px;
  min-height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 9px 14px;
  border: 1px solid rgba(18, 27, 38, 0.08);
  border-radius: 8px;
  background: #ffffff;
  color: #1b2430;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
}

.dropdown-menu a::after {
  content: "→";
  margin-left: auto;
  color: #e29400;
  font-size: 1.1rem;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-menu .subcategory-icon-tile {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background-color: #e29400;
}

.dropdown-menu .subcategory-game-icon {
  display: block;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dropdown-menu .subcategory-game-icon-font {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
}

.subcategory-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(239,173,0,0.16);
  color: var(--gold-soft);
  font-size: 1rem;
}

.dropdown-menu a:hover {
  background: rgba(239,173,0,0.06);
  border-color: rgba(239,173,0,0.38);
  color: var(--text);
}

.dropdown-menu a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo-image {
  display: block;
  width: 165px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
  object-position: center;
}

.home-wrapper {
  position: relative;
  isolation: isolate;
  width: min(1410px, calc(100% - 32px));
  padding: 76px 0 40px;
  background: transparent !important;
}

.home-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 426px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(3, 16, 31, 0.42), rgba(3, 16, 31, 0.08) 50%, rgba(3, 16, 31, 0.42)), var(--home-banner-image, url('https://cdn.hesap.com.tr/cache/uploads/sliders/a20-bonus-pass-web-56013477.webp')) center top / cover no-repeat;
}

.slider-stage-promo {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.slider-stage-promo-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
}

.slider-stage-promo-copy strong {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(3, 16, 31, 0.62);
}

.slider-stage-promo-copy img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.slider-stage-promo-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  background: rgba(8, 29, 45, 0.4);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.slider-stage-promo-action:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-banner {
  position: relative;
  display: block;
  height: 500px;
  touch-action: pan-y;
  background: linear-gradient(90deg, #090b0d 0%, #8c280d 13%, #d45b16 34%, #a73812 66%, #080a0d 100%);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.hero-banner img, .hero-banner .hero-slide-link { -webkit-user-drag: none; user-drag: none; }
.hero-banner::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 6% 34%, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.86) 7%, transparent 17%), radial-gradient(ellipse at 96% 31%, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.84) 8%, transparent 18%), linear-gradient(90deg, rgba(0,0,0,0.55), transparent 18%, transparent 82%, rgba(0,0,0,0.55)); }

.hero-slide { position: absolute; inset: 0; height: 100%; z-index: 1; display: grid; grid-template-columns: 1.14fr 0.86fr; transform: translate3d(var(--slide-translate, 100%), 0, 0); transition: transform 0.26s cubic-bezier(0.22, 0.8, 0.36, 1); will-change: transform; background-image: var(--hero-slide-bg-desktop) !important; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-slide.active { z-index: 2; }
.hero-slide-default { align-items: center; justify-content: center; background: #101923 url('https://cdn.hesap.com.tr/cache/uploads/sliders/hesap-pass-mobil-37186530.webp') center / cover no-repeat; }
.hero-default-brand { display: flex; align-items: center; gap: 18px; color: #ffffff; }
.hero-default-brand img { width: min(520px, 72vw); height: auto; aspect-ratio: 2.9; object-fit: contain; object-position: center; }
.hero-default-logo { display: grid; width: 96px; height: 96px; place-items: center; border-radius: 30px 30px 30px 12px; background: linear-gradient(135deg, #ffd45f, #efad00); color: #131922; font-size: 5rem; font-weight: 900; transform: rotate(-12deg); box-shadow: 0 12px 36px rgba(239, 173, 0, 0.28); }
.hero-default-brand strong { font-size: clamp(2.2rem, 4vw, 4.5rem); font-weight: 700; letter-spacing: -0.06em; }
.hero-default-brand strong span { color: #9da8ba; font-size: 0.58em; }
.hero-slide[data-slide="1"] { background: #0b1424 url('https://cdn.hesap.com.tr/cache/uploads/sliders/2616-yamasi-web-39114768.webp') center / cover no-repeat; }
.hero-slide[data-slide="1"] .hero-art { background: transparent; }
.hero-slide[data-slide="1"] { align-items: center; padding: 0 5%; }
.hero-lol-copy { position: relative; z-index: 2; max-width: 470px; color: #ffffff; text-shadow: 0 2px 12px rgba(16, 26, 47, 0.72); }
.hero-lol-badge { display: inline-flex; align-items: center; min-height: 35px; padding: 0 18px; border: 1px solid #c9a85d; border-radius: 10px; color: #d6b468; font-size: 0.78rem; font-weight: 700; }
.hero-lol-copy h2 { margin: 26px 0 6px; font-size: clamp(1rem, 1.65vw, 1.45rem); font-weight: 600; }
.hero-lol-copy h1 { margin: 0; color: #ffffff; font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; }
.hero-lol-copy p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; line-height: 1.5; }
.hero-art-pubg { background: transparent; }
.hero-slide[data-slide="2"] { background: #101725 url('https://cdn.hesap.com.tr/cache/uploads/sliders/a20-bonus-pass-web-56013477.webp') center / cover no-repeat; }
.hero-slide[data-slide="2"]::before { display: none; }
.hero-slide[data-slide="2"] .hero-art::after { display: none; }
.hero-slide[data-slide="2"] { align-items: center; padding: 0 5%; }
.hero-pubg-copy { position: relative; z-index: 2; max-width: 470px; color: #ffffff; text-shadow: 0 2px 12px rgba(5, 16, 39, 0.7); }
.hero-pubg-badge { display: inline-flex; align-items: center; min-height: 35px; padding: 0 18px; border: 1px solid #efad00; border-radius: 10px; color: #efad00; font-size: 0.78rem; font-weight: 700; }
.hero-pubg-copy h2 { margin: 26px 0 6px; font-size: clamp(1rem, 1.65vw, 1.45rem); font-weight: 600; }
.hero-pubg-copy h1 { margin: 0; color: #ffffff; font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; }
.hero-pubg-copy p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; line-height: 1.5; }
.hero-slide[data-slide="3"] { background: #181126 url('https://cdn.hesap.com.tr/cache/uploads/sliders/yeni-koleksiyon-aeris-web-70191576.webp') center / cover no-repeat; }
.hero-slide[data-slide="3"] { align-items: center; padding: 0 5%; }
.hero-slide[data-slide="3"] .hero-art { background: transparent; }
.hero-valorant-copy { position: relative; z-index: 2; max-width: 470px; color: #ffffff; text-shadow: 0 2px 12px rgba(13, 18, 57, 0.72); }
.hero-valorant-badge { display: inline-flex; align-items: center; min-height: 35px; padding: 0 18px; border: 1px solid #ef5266; border-radius: 10px; color: #ff6677; font-size: 0.78rem; font-weight: 700; }
.hero-valorant-copy h2 { margin: 26px 0 6px; font-size: clamp(1rem, 1.65vw, 1.45rem); font-weight: 600; }
.hero-valorant-copy h1 { margin: 0; color: #ffffff; font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; }
.hero-valorant-copy p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; line-height: 1.5; }
.hero-slide-mlbb { align-items: center; justify-content: flex-start; padding: 0 5%; background: #181126 url('https://cdn.hesap.com.tr/cache/uploads/sliders/jujutsu-kaisen-premium-tedarik-web-95105781.webp') center / cover no-repeat; }
.hero-mlbb-copy { max-width: 470px; color: #ffffff; text-shadow: 0 2px 12px rgba(10, 16, 31, 0.62); }
.hero-mlbb-badge { display: inline-flex; align-items: center; min-height: 35px; padding: 0 18px; border: 1px solid #ff7040; border-radius: 10px; color: #ff7040; font-size: 0.78rem; font-weight: 700; }
.hero-mlbb-copy h2 { margin: 26px 0 6px; font-size: clamp(1rem, 1.65vw, 1.45rem); font-weight: 600; }
.hero-mlbb-copy h1 { margin: 0; color: #ffffff; font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; }
.hero-mlbb-copy p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.86); font-size: 0.9rem; line-height: 1.5; }

.hero-slide:not(.hero-slide-default) { align-items: center; padding: 0 5%; }
.hero-generic-copy { position: relative; z-index: 2; max-width: 470px; color: #ffffff; text-shadow: 0 2px 12px rgba(13, 18, 30, 0.72); }
.hero-slide-link { position: absolute; inset: 0; z-index: 3; display: block; border-radius: inherit; }
.hero-generic-badge { display: inline-flex; align-items: center; min-height: 35px; padding: 0 18px; border: 1px solid #efad00; border-radius: 10px; color: #efad00; font-size: 0.78rem; font-weight: 700; }
.hero-generic-copy h2 { margin: 26px 0 6px; font-size: clamp(1rem, 1.65vw, 1.45rem); font-weight: 600; }
.hero-generic-copy h1 { margin: 0; color: #ffffff; font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; }
.hero-generic-copy p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; line-height: 1.5; }
.hero-generic-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; padding: 0 22px; border-radius: 10px; background: linear-gradient(135deg, #ffd45f, #efad00); color: #131922; font-size: 0.85rem; font-weight: 800; text-decoration: none; }.hero-game-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  min-height: 78px;
  background: rgba(13, 22, 34, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px) saturate(1.05);
}

.hero-game-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
}

.hero-game-tab:last-child {
  border-right: 0;
}

.hero-game-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-game-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-game-tab--lol { --hero-game-accent: #c9a85d; }
.hero-game-tab--pubg { --hero-game-accent: #efad00; }
.hero-game-tab--valorant { --hero-game-accent: #ef5266; }
.hero-game-tab--default { --hero-game-accent: #efad00; }
.hero-game-tab--mlbb { --hero-game-accent: #efad00; }

.hero-game-tab.active {
  background: color-mix(in srgb, var(--hero-game-accent) 18%, rgba(13, 22, 34, 0.82));
}

.hero-game-tab.active .hero-game-logo {
  filter: brightness(0) saturate(100%) invert(74%) sepia(24%) saturate(843%) hue-rotate(4deg) brightness(88%) contrast(84%);
  opacity: 1;
}

.hero-game-tab--pubg.active .hero-game-logo {
  filter: brightness(0) saturate(100%) invert(69%) sepia(92%) saturate(520%) hue-rotate(358deg) brightness(98%) contrast(95%);
}

.hero-game-tab--valorant.active .hero-game-logo {
  filter: brightness(0) saturate(100%) invert(49%) sepia(60%) saturate(1730%) hue-rotate(314deg) brightness(95%) contrast(93%);
}

.hero-game-tab--tinted.active .hero-game-logo {
  filter: none;
  opacity: 1;
  background-color: var(--hero-game-accent);
  -webkit-mask-image: var(--hero-tab-icon);
  mask-image: var(--hero-tab-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.hero-nav-site-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px 13px 13px 6px;
  background: linear-gradient(135deg, #ffd45f, #efad00);
  color: #111923;
  font-size: 2rem;
  font-weight: 900;
  transform: rotate(-10deg);
}

.hero-site-logo {
  width: 120px;
  height: auto;
  aspect-ratio: 2.9;
  object-fit: contain;
  object-position: center;
}

.hero-game-tab--mlbb.active .hero-game-logo {
  filter: brightness(0) saturate(100%) invert(69%) sepia(92%) saturate(520%) hue-rotate(358deg) brightness(98%) contrast(95%);
}

.home-product-section,
.platform-cards-section,
.social-services-section,
.home-info-section { margin-top: 28px; }

.marketplace-preview { margin-top: 28px; }
.preview-promo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 20px; overflow: hidden; border: 1px solid #dce2ec; border-radius: 10px; background: #ffffff; }
.preview-promo-strip a { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: 1fr 1fr; align-items: center; column-gap: 9px; min-height: 84px; padding: 10px 13px; border-right: 1px solid #e3e7ef; background: linear-gradient(110deg, #161a22, #46505f); color: #ffffff; }
.preview-promo-strip a:last-child { border-right: 0; }
.preview-promo-strip a:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.preview-promo-strip a:hover { filter: brightness(1.08); }
.preview-promo-strip img { grid-row: 1 / -1; width: 42px; height: 42px; object-fit: contain; filter: brightness(0) invert(1); }
.preview-promo-strip strong { align-self: end; font-size: 0.78rem; font-weight: 600; }
.preview-promo-strip small { align-self: start; font-size: 0.65rem; }
.preview-promo-strip a:nth-child(2) { background: linear-gradient(110deg, #201a3a, #5d5380); }.preview-promo-strip a:nth-child(3) { background: linear-gradient(110deg, #191b25, #665b54); }.preview-promo-strip a:nth-child(4) { background: linear-gradient(110deg, #202423, #68714b); }
.preview-promo-strip a.has-promo-bg:nth-child(n) { position: relative; background-image: var(--promo-bg, none); background-size: cover; background-position: center; background-repeat: no-repeat; }
.preview-promo-strip a.has-promo-bg::before { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 20, 0.45); pointer-events: none; }
.preview-promo-strip a.has-promo-bg > * { position: relative; z-index: 1; }

.marketplace-preview-layout { display: grid; grid-template-columns: 334px minmax(0, 1fr); gap: 24px; margin-top: 30px; }
.popular-games-title { margin-bottom: 2px; color: #62718a; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; }
.popular-game-link { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 5px 10px; border: 1px solid transparent; border-radius: 8px; color: #ef5266; font-size: 0.88rem; font-weight: 600; }
.popular-game-link img { width: 32px; height: 32px; padding: 4px; border-radius: 7px; object-fit: contain; background: #ffe7e9; }
.popular-game-link span { margin-left: auto; font-size: 1.25rem; }
.popular-game-link.active { border-color: #efad00; background: #fff8ed; color: #d69000; }.popular-game-link.active img { background: #efad00; }.popular-game-link:nth-child(4) img { background: #f5efe2; }.popular-game-link:nth-child(5) img { background: #fff3df; }
.preview-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.preview-product-card { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-rows: 1fr 30px; align-items: center; column-gap: 12px; min-height: 82px; padding: 10px 13px; border: 1px solid #dce2eb; border-radius: 11px; background: #ffffff; box-shadow: 0 6px 18px rgba(28, 43, 64, 0.04); }
.preview-product-card:hover { border-color: #c8d4ef; transform: translateY(-1px); }
.preview-product-card > img { grid-row: 1 / -1; width: 58px; height: 58px; padding: 8px; border-radius: 13px; object-fit: contain; background: #eff4f7; }
.preview-product-card strong { align-self: end; color: #1a2434; font-size: 0.79rem; font-weight: 600; }.preview-product-card > span { align-self: end; color: #0bb871; font-size: 0.82rem; font-weight: 700; }
.quantity-control { grid-column: 2; display: flex; align-items: center; justify-content: space-between; width: 98px; height: 28px; padding: 0 7px; border: 1px solid #e5e8ee; border-radius: 9px; color: #99a2ae; font-size: 0.72rem; }.quantity-control b { color: #737d8c; font-weight: 500; }.preview-product-card em { display: grid; width: 32px; height: 32px; place-items: center; grid-column: 3; grid-row: 2; border-radius: 9px; background: #edf0ff; color: #4160f5; font-style: normal; }
.preview-all-products { display: grid; min-height: 82px; place-items: center; border: 1px dashed #bfcdf5; border-radius: 11px; background: #f4f6ff; color: #4160f5; font-size: 0.8rem; font-weight: 600; }.preview-all-products span { margin-left: 18px; font-size: 1.6rem; vertical-align: middle; }

.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.home-section-heading--center { justify-content: center; text-align: center; }
.home-section-kicker { color: #4160f5; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; }
.home-section-heading h2 { margin: 6px 0 3px; color: #1b2430; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.03em; }
.home-section-heading p { margin: 0; color: #77849a; font-size: 0.78rem; }
.home-section-heading > a { color: #4160f5; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }

.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-product-card { overflow: hidden; border: 1px solid #e0e6ef; border-radius: 10px; background: #ffffff; box-shadow: 0 8px 20px rgba(28, 43, 64, 0.05); }
.home-product-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(28, 43, 64, 0.1); }
.home-product-image { display: grid; height: 126px; place-items: center; background: linear-gradient(135deg, #27344d, #65738d); }
.home-product-image img { width: 58px; height: 58px; object-fit: contain; }
.home-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; }
.home-product-meta span { overflow: hidden; color: #4e5e76; font-size: 0.72rem; text-overflow: ellipsis; white-space: nowrap; }
.home-product-meta strong { color: #efad00; font-size: 0.8rem; white-space: nowrap; }

.platform-cards-section { position: relative; left: 50%; width: 100vw; padding: 12px 0 8px; transform: translateX(-50%); }
.platform-cards-scroller { overflow: hidden; padding: 3px 0 10px; }
.platform-cards-track { display: flex; width: max-content; animation: platform-cards-marquee 24s linear infinite; }
.platform-cards-track:hover { animation-play-state: paused; }
.platform-cards-group { display: flex; flex: 0 0 auto; gap: 12px; padding-right: 12px; }
.platform-card { display: grid; flex: 0 0 160px; min-height: 160px; place-items: center; align-content: center; gap: 8px; border-radius: 11px; color: #ffffff; box-shadow: 0 8px 16px rgba(27, 40, 61, 0.08); transition: transform 0.2s ease, filter 0.2s ease; }
.platform-card:hover { transform: translateY(-3px); filter: brightness(1.06); }
.platform-card i { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); font-size: 1.75rem; }
.platform-card strong { font-size: 0.76rem; font-weight: 600; }
.platform-card small { font-size: 0.61rem; font-weight: 500; opacity: 0.86; }
.platform-card--steam { background: #1b1f29; }.platform-card--playstation { background: #0750ad; }.platform-card--xbox { background: #128515; }.platform-card--netflix { background: #e50914; }.platform-card--geforce { background: #72bd00; }.platform-card--apple { background: #050505; }.platform-card--google { background: #3fbe5d; }.platform-card--amazon { background: #ff9900; }

@keyframes platform-cards-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.social-services-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.social-service { display: grid; min-height: 96px; place-items: center; align-content: center; gap: 9px; border-radius: 9px; color: #ffffff; transition: transform 0.2s ease, filter 0.2s ease; }
.social-service:hover { transform: translateY(-3px); filter: brightness(1.06); }
.social-service i { font-size: 1.7rem; }
.social-service strong { font-size: 0.62rem; font-weight: 600; }
.social-service--discord { background: #5865f2; }.social-service--instagram { background: linear-gradient(135deg, #f58529, #dd2a7b); }.social-service--tiktok { background: #151515; }.social-service--youtube { background: #ff0000; }.social-service--x { background: #050505; }.social-service--facebook { background: #1877f2; }.social-service--telegram { background: #159bd7; }.social-service--spotify { background: #1ed760; }

.home-info-section { display: grid; gap: 10px; padding-bottom: 20px; }
.home-info-section details { border: 1px solid #dce2ea; border-radius: 9px; background: #ffffff; }
.home-info-section summary { padding: 15px 16px; color: #1c2738; cursor: pointer; font-size: 0.82rem; font-weight: 600; list-style-position: inside; }
.home-info-section details p { margin: 0; padding: 0 16px 16px; color: #708098; font-size: 0.72rem; line-height: 1.6; }

.hero-game-progress {
  position: absolute;
  top: 0;
  right: 100%;
  left: 0;
  height: 3px;
  background: var(--hero-game-accent, var(--gold));
}

.hero-game-tab.active .hero-game-progress {
  animation: hero-game-progress 6s linear forwards;
}

@keyframes hero-game-progress {
  from { right: 100%; }
  to { right: 0; }
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 20%, rgba(107, 84, 255, 0.45), transparent 28%);
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 46px 38px 36px 42px;
}

.hero-brand-row {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 26px;
}

.big-p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 30px 30px 30px 14px;
  background: linear-gradient(135deg, #ffd45f, #efad00);
  color: #0b0d12;
  font-size: 5rem;
  font-weight: 900;
  transform: rotate(-18deg);
  box-shadow: 0 0 25px rgba(239, 173, 0, 0.35);
}

.brand-text-top {
  font-size: clamp(2rem, 2.7vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #fff;
}

.promo-block {
  max-width: 540px;
  padding-top: 10px;
}

.promo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-block h1 {
  font-size: clamp(2.7rem, 4vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  margin: 18px 0 0;
  color: var(--gold-soft);
}

.promo-block h2 {
  font-size: clamp(1.8rem, 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  margin: 8px 0 18px;
}

.promo-block p {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.6;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-row span {
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text);
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(239,173,0,0.2), rgba(32,34,45,0.14), transparent 60%);
}

.hero-art::before {
  display: none;
}

.floating-card {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(14,19,25,0.7);
  backdrop-filter: blur(8px);
  color: var(--text);
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 24px 50px rgba(0,0,0,0.3);
  outline: none;
}

.hero-slide .floating-card,
.hero-slide .feature-row span,
.hero-slide .promo-badge,
.hero-slide .card-one,
.hero-slide .card-two,
.hero-slide .card-three {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.card-one {
  left: 18%;
  top: 18%;
}

.card-two {
  right: 16%;
  top: 26%;
}

.card-three {
  bottom: 18%;
  left: 24%;
}

.game-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tab {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 180px;
  font-weight: 700;
}

.tab.active {
  background: linear-gradient(135deg, rgba(239,173,0,0.16), rgba(255,255,255,0.04));
  border-color: rgba(239,173,0,0.5);
  color: var(--text);
}

.product-section {
  margin-top: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  background: var(--gold);
  border-radius: 8px;
  color: #0c1014;
  font-weight: 800;
}

.section-head h3 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.section-head a {
  color: var(--text);
  opacity: 0.9;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
}

.product-thumb {
  height: 150px;
  background: linear-gradient(135deg, #3b4251, #111822);
}

.product-thumb.purple { background: linear-gradient(135deg, rgba(124,107,255,0.9), rgba(39,23,74,0.75)); }
.product-thumb.gold { background: linear-gradient(135deg, rgba(243,199,79,0.9), rgba(120,82,16,0.75)); }
.product-thumb.blue { background: linear-gradient(135deg, rgba(45,94,255,0.9), rgba(14,30,74,0.8)); }
.product-thumb.orange { background: linear-gradient(135deg, rgba(255,149,45,0.9), rgba(100,40,12,0.75)); }

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
  color: var(--muted);
}

.product-meta strong {
  color: var(--gold-soft);
  font-size: 1.2rem;
}

.inner-page {
  background: #f3f6fb;
  min-height: 100vh;
}

body.giveaway-page {
  background: #ffffff;
}

.page-content {
  padding: 30px 0 48px;
}

.category-header-card,
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.category-header-card h1,
.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.07em;
}

.secondary-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
}

.secondary-button {
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.primary-button {
  background: linear-gradient(135deg, #ffd45f, #efad00);
  border-color: transparent;
  color: #121519;
}

.primary-button.small {
  padding: 9px 14px;
  font-size: 0.85rem;
}

.primary-button.wider {
  width: 100%;
}

.product-list,
.giveaway-grid,
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.giveaway-empty { grid-column: 1 / -1; padding: 56px 20px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.category-empty-state { grid-column: 1 / -1; padding: 56px 20px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.category-subcategory-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 22px; }
.category-subcategory-chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.category-subcategory-chip:hover { border-color: var(--gold); color: var(--gold); }
.category-subcategory-chip.is-active { border-color: #2d8eff; background: #2d8eff; color: #fff; box-shadow: 0 6px 14px rgba(45,142,255,0.2); }

.category-hero { position: relative; display: grid; justify-items: center; min-height: 236px; margin-bottom: 16px; padding: 27px 20px 26px; overflow: hidden; border-radius: 9px; background: linear-gradient(115deg, #171a2a 0%, #22263c 48%, #273c83 100%); color: #fff; text-align: center; box-shadow: 0 14px 28px rgba(26,35,69,0.18); }
.category-hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(54,82,160,0.38), transparent 45%); content: ''; pointer-events: none; }
.category-hero > * { position: relative; z-index: 1; }
.category-hero-icon { display: grid; width: 49px; height: 49px; place-items: center; margin-bottom: 11px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: rgba(255,255,255,0.15); box-shadow: 0 7px 16px rgba(0,0,0,0.2); }
.category-hero-icon img { width: 34px; height: 34px; object-fit: contain; }
.category-hero .eyebrow { margin: 0 0 4px; color: #bcc9f8; font-size: 0.63rem; letter-spacing: 0.1em; }
.category-hero h1 { margin: 0; color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; }
.category-hero-copy { max-width: 500px; margin: 7px 0 17px; color: #d0d7ed; font-size: 0.72rem; line-height: 1.55; }
.category-hero-search { display: flex; align-items: center; gap: 9px; width: min(405px, 100%); height: 39px; padding: 0 12px; border: 1px solid rgba(255,255,255,0.2); border-radius: 7px; background: rgba(20,25,45,0.35); color: #9da9c7; }
.category-hero-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 0.72rem; }
.category-hero-search input::placeholder { color: #9da9c7; }
.category-subcategory-row { justify-content: center; margin: 0 0 16px; }
.category-subcategory-chip { padding: 8px 16px; border-color: #dfe4ec; background: #fff; color: #5d6d82; font-size: 0.7rem; box-shadow: 0 3px 8px rgba(31,45,61,0.06); }
.category-subcategory-chip:hover { border-color: #2d8eff; color: #2d8eff; }
.category-subcategory-chip.is-active { border-color: #4160f5; background: #4160f5; color: #fff; box-shadow: 0 5px 12px rgba(65,96,245,0.2); }
.category-product-list { display: grid; grid-template-columns: 1fr; gap: 9px; }
.category-product-list .product-item { display: grid; grid-template-columns: 49px minmax(0, 1fr); align-items: center; min-height: 70px; border-color: #e1e5eb; border-radius: 9px; background: #fff; box-shadow: 0 3px 9px rgba(31,45,61,0.05); }
.category-product-list .product-item .thumb { width: 49px; height: 49px; margin-left: 10px; border-radius: 7px; }
.category-product-list .product-item .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.category-product-list .product-item .content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 12px 10px 20px; }
.category-product-list .product-item h3 { margin: 0 0 4px; color: #223047; font-size: 0.74rem; }
.category-product-list .product-item p { margin: 0; color: #8b98aa; font-size: 0.62rem; }
.category-product-list .product-row { justify-content: flex-end; margin-top: 0; }
.category-product-list .price { color: #10b981; font-size: 0.82rem; }
.category-product-list .market-price { color: #8996a8; font-size: 0.59rem; }
.category-buy-actions { display: inline-flex; align-items: center; gap: 7px; }
.category-cart-button { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 7px; background: #eef1ff; color: #5870f2; cursor: pointer; }
.category-buy-actions .primary-button.small { min-width: 76px; padding: 8px 11px; border: 0; border-radius: 7px; background: #f5a900; color: #fff; font-size: 0.62rem; }
.category-product-list .category-empty-state { background: #fff; }

@media (max-width: 640px) {
  .category-hero { min-height: 220px; }
  .category-product-list .product-item .content { grid-template-columns: 1fr; gap: 8px; padding-left: 14px; }
  .category-product-list .product-row { justify-content: space-between; }
}

.product-item,
.market-card,
.giveaway-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.product-item .thumb,
.market-thumb,
.giveaway-banner {
  height: 170px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.product-item .thumb.purple,
.market-thumb.purple,
.giveaway-banner.one {
  background: linear-gradient(135deg, rgba(124,107,255,0.9), rgba(40,22,77,0.8));
}

.product-item .thumb.gold,
.market-thumb.gold,
.giveaway-banner.two {
  background: linear-gradient(135deg, rgba(239,173,0,0.95), rgba(99,55,0,0.78));
}

.product-item .thumb.blue,
.market-thumb.blue,
.giveaway-banner.three {
  background: linear-gradient(135deg, rgba(46,95,255,0.85), rgba(21,38,92,0.8));
}

.product-item .thumb.orange,
.market-thumb.orange {
  background: linear-gradient(135deg, rgba(239,173,0,0.92), rgba(102,48,0,0.8));
}

.product-item .content,
.market-body,
.giveaway-body {
  padding: 16px;
}

.product-item h3,
.market-card h3,
.giveaway-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.product-item p,
.market-card p,
.giveaway-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-row,
.market-meta,
.giveaway-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.product-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.price {
  font-weight: 800;
  color: var(--gold-soft);
}

.market-price {
  color: #8a98af;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.market-price del {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.market-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

.filter-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.filter-panel h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.filter-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-block label {
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-block select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  outline: none;
}

.market-card .market-thumb {
  height: 180px;
}

.tag.gold { background: rgba(243,199,79,0.12); color: var(--gold-soft); }
.tag.purple { background: rgba(124,107,255,0.12); color: #d4ceff; }
.tag.blue { background: rgba(45,94,255,0.12); color: #c6d6ff; }

/* Keep header/footer dark, but show marketplace center area in light theme. */
body.marketplace-page {
  background: #eef3f8;
}

body.marketplace-page .page-content {
  color: #1c2738;
}

body.marketplace-page .page-header,
body.marketplace-page .filter-panel,
body.marketplace-page .market-card {
  background: #ffffff;
  border-color: rgba(18, 27, 38, 0.1);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
}

body.marketplace-page .eyebrow {
  color: #4d678c;
}

body.marketplace-page .market-card h3 {
  color: #1b2738;
}

body.marketplace-page .tag {
  background: #edf2fb;
  border-color: rgba(45, 94, 255, 0.18);
  color: #395078;
}

body.marketplace-page .filter-block label,
body.marketplace-page .market-card p,
body.marketplace-page .market-meta span:last-child {
  color: #667892;
}

body.marketplace-page .market-meta span:first-child {
  color: #2673ff;
  font-weight: 800;
}

body.marketplace-page .filter-block select {
  background: #f8fbff;
  border-color: rgba(18, 27, 38, 0.14);
  color: #1c2738;
}

.product-detail-page { background: #f3f4f7; color: #141b2b; }
.product-detail-shell { padding: 14px 0 54px; background: #f3f4f7; }
.product-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #7d8aa1; font-size: 0.74rem; background: #f3f4f7; }
.product-breadcrumb strong { color: #111827; }
.product-detail-card { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 24px; padding: 24px; border: 1px solid #d5dce8; border-radius: 10px; background: #ffffff; box-shadow: 0 18px 55px rgba(35,45,68,0.08); }

.cart-panel-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  overflow-y: auto;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 10px;
  min-height: 84px;
  padding: 10px;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  background: #f9fafc;
}

.cart-item-thumb {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: #fff4df;
  color: #d58b05;
}

.cart-item-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.cart-item-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 0.78rem;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid #dfe4ee;
  border-radius: 8px;
  background: #fff;
}

.cart-stepper button {
  border: 0;
  background: transparent;
  color: #42506c;
  font-size: 1rem;
  line-height: 1;
}

.cart-stepper span {
  min-width: 16px;
  color: #111827;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.cart-remove-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #ffd8cc;
  border-radius: 8px;
  background: #fff5f1;
  color: #e35b39;
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.cart-item-price {
  color: #0a9a4b;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.cart-panel-footer {
  margin-top: 12px;
}
.product-detail-art { position: relative; display: grid; min-height: 288px; place-items: center; align-content: center; gap: 12px; overflow: hidden; border-radius: 9px; background: linear-gradient(135deg, #7e382e, #331716); color: #fff; text-align: center; }
.product-detail-art::before { content: ""; position: absolute; inset: -18px; background: radial-gradient(circle at 50% 34%, rgba(255,255,255,0.28), transparent 22%), repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 26px, transparent 26px 52px); filter: blur(5px); opacity: 0.75; }
.product-detail-image { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 9px; box-shadow: 0 12px 28px rgba(0,0,0,0.22); }
.product-detail-art--blue { background: linear-gradient(135deg, #1d4ea1, #16223b); }
.product-detail-art--purple { background: linear-gradient(135deg, #6f54d7, #281e51); }
.product-detail-art--orange, .product-detail-art--gold { background: linear-gradient(135deg, #9a5520, #2b1711); }
.product-favorite { position: absolute; top: 15px; right: 15px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 9px; background: #fff; color: #8d99aa; font-size: 1.55rem; box-shadow: 0 8px 18px rgba(15,23,42,0.12); transition: color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.product-favorite:hover, .product-favorite:focus-visible { color: #ef3f54; transform: scale(1.12); box-shadow: 0 12px 26px rgba(239,63,84,0.22); outline: none; }
.product-favorite.is-favorite { color: #ef3f54; transform: scale(1.04); }
.product-art-topmark, .product-brand-emblem, .product-detail-art strong { display: none !important; }
.product-detail-info { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 16px; }
.product-detail-topline { display: flex; align-items: flex-start; gap: 12px; }
.product-title-block { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.product-game-icon { display: grid; width: 48px; height: 48px; place-items: center; flex: 0 0 48px; border-radius: 11px; background: linear-gradient(135deg, #cba55b, #8b6b2b); color: #fff; font-size: 1.7rem; font-weight: 900; }
.product-game-icon.has-brand-logo { background: #10141f; overflow: hidden; padding: 6px; }
.product-game-icon.has-brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-meta-chips { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.product-publisher { color: #4160f5; font-size: 0.66rem; font-weight: 800; }
.product-detail-topline h1 { margin: 6px 0 0; color: #111827; font-size: 1.32rem; }
.product-rating { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; background: #fff4de; color: #f59f00; font-size: 0.76rem; font-weight: 800; white-space: nowrap; }
.product-seller { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 7px; border: 1px solid #dfe3eb; border-radius: 999px; background: #f8fafc; color: #5b6678; font-size: 0.68rem; white-space: nowrap; }
.product-seller i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #10141f; color: #fff; font-style: normal; font-weight: 900; overflow: hidden; flex: none; }
.product-seller i img { width: 15px; height: 15px; object-fit: contain; display: block; }
.product-delivery-note { margin: 4px 0 0; color: #738098; font-size: 0.84rem; }
.product-urgency { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid #dfe3eb; border-radius: 4px; background: #f7f8fa; color: #172033; font-size: 0.78rem; }
.product-urgency span { color: #f7a800; }
.product-urgency em { margin-left: auto; padding: 6px 11px; border-radius: 999px; background: #dfffee; color: #08b466; font-size: 0.66rem; font-style: normal; font-weight: 800; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.product-badges span { padding: 7px 10px; border: 1px solid rgba(237,62,133,0.22); border-radius: 8px; background: #fff0f6; color: #ed3e85; font-size: 0.66rem; font-weight: 800; }
.product-badges img { width: 14px; height: 14px; margin-right: 5px; object-fit: contain; vertical-align: -2px; }
.product-badges i { margin-right: 5px; font-size: 0.78rem; vertical-align: -1px; }
.product-badges span:first-child { background: #dfffee; color: #079d63; }
.product-badges span:nth-child(2) { background: #f1e5ff; color: #8b4de8; }
.product-purchase-panel { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 13px; border: 1px solid #d4dce8; border-radius: 9px; background: #ffffff; }
.product-price { display: flex; align-items: baseline; gap: 9px; margin-right: auto; color: #07c878; }
.product-price strong { font-size: 1.35rem; }
.product-price del { color: #7d8796; font-size: 0.82rem; }
.product-quantity { display: flex; align-items: center; gap: 14px; min-height: 38px; padding: 0 13px; border: 1px solid #dce1ea; border-radius: 9px; background: #fff; }
.product-quantity button { border: 0; background: transparent; color: #41506a; font-size: 1rem; }
.product-cart-button { width: 42px; height: 42px; border: 0; border-radius: 10px; background: #e9edff; color: #4160f5; font-size: 1.08rem; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.product-cart-button:hover, .product-cart-button:focus-visible { background: #dfe7ff; box-shadow: 0 10px 20px rgba(65,96,245,0.18); transform: translateY(-1px); outline: none; }
.product-buy-button { min-height: 42px; padding: 0 23px; border: 0; border-radius: 10px; background: #f7aa00; color: #fff; font-size: 0.76rem; font-weight: 900; text-transform: uppercase; box-shadow: 0 10px 20px rgba(247,170,0,0.2); transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease; }
.product-buy-button:hover, .product-buy-button:focus-visible { filter: brightness(1.04); box-shadow: 0 14px 26px rgba(247,170,0,0.28); transform: translateY(-1px); outline: none; }
.similar-products { margin-top: 24px; background: #f3f4f7; }
.similar-products h2 { margin: 0 0 14px; color: #172033; font-size: 0.95rem; }
.similar-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; background: #f3f4f7; }
.similar-product-card { display: grid; grid-template-columns: 50px minmax(0, 1fr) 20px; align-items: center; gap: 13px; min-height: 80px; padding: 13px 15px; border: 1px solid #d4dce8; border-radius: 9px; background: #ffffff; box-shadow: 0 12px 28px rgba(35,45,68,0.05); transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; }
.similar-product-card:hover, .similar-product-card:focus-visible { border-color: #efad00; box-shadow: 0 14px 30px rgba(239, 173, 0, 0.16), 0 8px 18px rgba(15,23,42,0.08); transform: translateY(-2px); outline: none; }
.similar-product-thumb { display: grid; width: 44px; height: 44px; place-items: center; align-content: center; border-radius: 8px; background: linear-gradient(135deg, #7d3b2e, #2b1711); color: #fff; font-weight: 900; overflow: hidden; }
.similar-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.similar-product-thumb i { font-size: 0.95rem; font-style: normal; line-height: 1; }
.similar-product-thumb em { max-width: 38px; overflow: hidden; font-size: 0.42rem; font-style: normal; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.similar-product-card strong, .similar-product-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.similar-product-card strong { color: #101827; font-size: 0.82rem; }
.similar-product-prices { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; }
.similar-product-card small { display: inline-block; color: #05bf72; font-size: 0.82rem; font-weight: 900; }
.similar-product-card del { color: #8390a4; font-size: 0.7rem; line-height: 1; }
.similar-product-card b { color: #9aa4b5; font-size: 1.4rem; }
.product-description-card { margin-top: 22px; overflow: visible; border: 0; border-radius: 12px; background: #ffffff; box-shadow: inset 0 0 0 1px #d4dce8; }
.product-description-tabs { display: flex; align-items: end; gap: 8px; min-height: 54px; padding: 0 14px; border-bottom: 1px solid #d4dce8; background: #ffffff; }
.product-description-tabs button { min-width: 140px; min-height: 44px; border: 0; border-radius: 10px 10px 0 0; background: transparent; color: #7a879b; font-size: 0.8rem; font-weight: 800; }
.product-description-tabs button.active { border: 1px solid #d4dce8; border-bottom-color: #ffffff; background: #ffffff; color: #4160f5; }
.product-description-panel { padding: 24px; }
.product-description-panel p { margin: 0; color: #7c89a0; font-size: 0.86rem; line-height: 1.75; }
.product-description-card a { color: #111827; font-weight: 800; text-decoration: underline; }
.product-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-review-card { min-height: 108px; padding: 14px 16px; border: 1px solid #dbe2ee; border-radius: 11px; background: #ffffff; box-shadow: 0 8px 18px rgba(15,23,42,0.04); }
.product-review-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.product-review-user { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; row-gap: 2px; align-items: center; }
.product-review-user i { grid-row: 1 / span 2; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #e9ecff; color: #3e61ff; font-style: normal; font-size: 0.72rem; font-weight: 900; }
.product-review-user b { color: #111827; font-size: 0.84rem; }
.product-review-user small { color: #789; font-size: 0.69rem; }
.product-review-score { display: inline-grid; place-items: center; min-width: 52px; min-height: 28px; padding: 0 9px; border: 1px solid #9ce4c8; border-radius: 999px; background: #f5fff9; color: #089463; font-size: 0.74rem; font-weight: 800; white-space: nowrap; }
.product-review-card p { color: #283548; font-size: 0.82rem; line-height: 1.55; }
.product-reviews-more { display: block; min-width: 186px; min-height: 36px; margin: 18px auto 0; border: 1px solid #d5dbe8; border-radius: 999px; background: #ffffff; color: #70809a; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.product-howto-list { margin: 0; padding: 0 0 0 18px; color: #445168; font-size: 0.84rem; line-height: 1.8; }
.product-howto-list li + li { margin-top: 6px; }
.favorite-toast-backdrop { position: fixed; inset: 0; z-index: 180; background: rgba(15,23,42,0.28); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, visibility 0.18s ease; }
.favorite-toast-backdrop.open { opacity: 1; visibility: visible; }
.favorite-toast-modal { position: fixed; top: 50%; left: 50%; z-index: 190; display: grid; width: min(390px, calc(100vw - 32px)); place-items: center; gap: 13px; padding: 30px 26px 24px; border-radius: 14px; background: #fff; color: #172033; box-shadow: 0 24px 70px rgba(15,23,42,0.24); text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.96); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease; }
.favorite-toast-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.favorite-toast-modal[hidden] { display: none; }
.favorite-toast-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: #758195; font-size: 1.45rem; }
.favorite-toast-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 14px; background: #fff0f2; color: #ef3f54; font-size: 2rem; }
.favorite-toast-modal h3 { margin: 0; font-size: 1rem; }
.favorite-toast-modal > button:last-child { min-width: 120px; min-height: 40px; border: 0; border-radius: 10px; background: #ef3f54; color: #fff; font-weight: 800; }
.cart-toast-backdrop { position: fixed; inset: 0; z-index: 180; background: rgba(15,23,42,0.28); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, visibility 0.18s ease; }
.cart-toast-backdrop.open { opacity: 1; visibility: visible; }
.cart-toast-modal { position: fixed; top: 50%; left: 50%; z-index: 190; display: grid; width: min(390px, calc(100vw - 32px)); place-items: center; gap: 13px; padding: 30px 26px 24px; border-radius: 14px; background: #fff; color: #172033; box-shadow: 0 24px 70px rgba(15,23,42,0.24); text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.96); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease; }
.cart-toast-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.cart-toast-modal[hidden] { display: none; }
.cart-toast-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: #758195; font-size: 1.45rem; }
.cart-toast-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 14px; background: #edf1ff; color: #4160f5; font-size: 1.75rem; }
.cart-toast-modal h3 { margin: 0; font-size: 1rem; }
.cart-toast-modal > button:last-child { min-width: 120px; min-height: 40px; border: 0; border-radius: 10px; background: #4160f5; color: #fff; font-weight: 800; }
.notification-success-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 260;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(24, 191, 111, 0.2);
  border-radius: 12px;
  background: rgba(11, 34, 22, 0.9);
  color: #e9fff4;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.notification-success-toast.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.cart-item-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 38px; align-items: center; gap: 10px; min-height: 84px; padding: 10px; border: 1px solid #e7ebf2; border-radius: 10px; background: #f9fafc; }
.cart-item-thumb { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: #fff4df; color: #d58b05; }
.cart-item-info strong { display: -webkit-box; overflow: hidden; color: #111827; font-size: 0.78rem; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cart-item-price { color: #0a9a4b; font-size: 0.82rem; font-weight: 800; white-space: nowrap; }
.mini-cart.has-badge { position: relative; }
.mini-cart.has-badge::after { content: attr(data-count); position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 4px; border-radius: 999px; background: #efad00; color: #151515; font-size: 0.58rem; font-weight: 900; }

.admin-page {
  background: #f3f6fb;
}

.admin-login-page { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: #eef3f8; color: #172033; color-scheme: light; }
.admin-login-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(73,103,153,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(73,103,153,0.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 82%); }
.admin-login-page::after { content: ""; position: absolute; top: -180px; left: 50%; width: 620px; height: 390px; border-radius: 50%; background: rgba(49,94,255,0.12); filter: blur(72px); transform: translateX(-50%); pointer-events: none; }
.admin-login-document { min-height: 100%; background: #eef3f8; }
.admin-login-shell { position: relative; z-index: 1; width: min(100% - 32px, 442px); padding: 30px 0 24px; background: transparent !important; }
.admin-login-brand { text-align: center; margin-bottom: 18px; }
.admin-login-logo, .admin-dashboard-logo { display: inline-flex; align-items: center; gap: 10px; color: #ffc928; font-size: 1.45rem; font-weight: 900; letter-spacing: -0.06em; }
.admin-login-logo img { display: block; width: min(220px, 78vw); height: auto; padding: 9px 14px; border-radius: 5px; background: transparent; object-fit: contain; }
.admin-dashboard-logo { width: 182px; min-height: 42px; font-size: 0; background: url("assets/branding/pinimcomtr 2 light.png") left center / contain no-repeat; }
.admin-dashboard-logo .logo-mark, .admin-dashboard-logo > span:last-child { display: none; }
.admin-login-logo .logo-mark, .admin-dashboard-logo .logo-mark { width: 38px; height: 38px; font-size: 1.65rem; }
.admin-login-logo span span, .admin-dashboard-logo small { color: #d5def0; font-size: 0.68em; }
.admin-login-brand p, .admin-login-heading p, .admin-login-meta { color: #8292aa; font-size: 0.78rem; }
.admin-login-card { padding: 28px; background: #ffffff; border: 1px solid #dfe6f2; border-radius: 10px; box-shadow: 0 24px 60px rgba(28,48,79,0.12), inset 0 1px 0 rgba(255,255,255,0.6); }
.admin-login-heading h1 { margin: 8px 0; font-size: 1.55rem; color: #172033; letter-spacing: -0.02em; }
.admin-kicker { color: #4160f5; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }
.admin-login-error { margin: 18px 0; padding: 11px 13px; border: 1px solid rgba(239,93,93,0.35); border-radius: 6px; background: rgba(239,93,93,0.08); color: #c23a3a; font-size: 0.78rem; }
.admin-login-form { display: flex; flex-direction: column; gap: 9px; }
.admin-login-form label, .admin-password-label { color: #4a5568; font-size: 0.76rem; font-weight: 700; }
.admin-password-label { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.admin-password-label a { color: #4160f5; font-size: 0.7rem; }
.admin-login-form input:not([type="hidden"]) { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #dfe2e9; border-radius: 6px; background: #f7f8fa; color: #1b2436; outline: none; }
.admin-login-form input:focus { border-color: #4160f5; box-shadow: 0 0 0 3px rgba(65,96,245,0.14); }
.admin-login-submit, .admin-action-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-top: 14px; border: none; border-radius: 6px; background: #315eff; color: #fff; font-weight: 800; box-shadow: 0 10px 22px rgba(49,94,255,0.22); }
.admin-login-submit:hover, .admin-action-button:hover { background: #4770ff; }
.admin-operation-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(5,10,18,0.66); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, visibility 0.18s ease; }
.admin-operation-modal { position: fixed; top: 50%; left: 50%; z-index: 210; width: min(400px, calc(100vw - 32px)); padding: 28px; border: 1px solid var(--admin-line); border-radius: 10px; background: var(--admin-surface); color: var(--admin-text); text-align: center; box-shadow: 0 28px 80px rgba(0,0,0,0.42); opacity: 0; visibility: hidden; transform: translate(-50%, -46%); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease; }
.admin-operation-modal.is-open, .admin-operation-backdrop.is-open { opacity: 1; visibility: visible; }
.admin-operation-modal.is-open { transform: translate(-50%, -50%); }
.admin-operation-icon { display: grid; width: 46px; height: 46px; margin: 0 auto 14px; place-items: center; border-radius: 50%; background: rgba(43,215,131,0.14); color: #2bd783; font-size: 1.3rem; font-weight: 900; }
.admin-operation-modal h2 { margin: 0 0 7px; font-size: 1rem; }
.admin-operation-modal p { margin: 0 0 20px; color: var(--admin-muted); font-size: 0.74rem; }
.admin-operation-modal button { min-height: 36px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--admin-blue); color: #fff; font-size: 0.72rem; font-weight: 800; cursor: pointer; }
.admin-operation-modal.is-error .admin-operation-icon { background: rgba(239,93,93,0.14); color: #ff9292; }
.admin-login-meta { display: flex; justify-content: space-between; gap: 12px; margin: 15px 4px 0; font-size: 0.68rem; }
.admin-dashboard-page { min-height: 100vh; background: #f3f6fb; color: #1b2430; }
body.admin-sidebar-open { overflow: hidden; }
.admin-dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; height: 100vh; display: flex; flex-direction: column; overflow-y: auto; overflow-x: visible; padding: 12px 15px 24px; background: #0b0c13; border-right: 1px solid rgba(119,145,198,0.14); z-index: 100; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.18) transparent; }
.admin-dashboard-logo { margin: 0 11px 16px; }
.admin-dashboard-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 6px; background: #202033; color: #8892b0; }
.admin-dashboard-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; }
.admin-dashboard-nav { display: flex; min-height: 0; flex-direction: column; gap: 1px; margin-top: 12px; overflow: visible; padding: 0 3px 8px 0; flex: 1 0 auto; }
.admin-nav-label { margin: 8px 8px 3px; color: #65708e; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; }
.admin-dashboard-nav a { display: grid; grid-template-columns: 26px 1fr 10px; align-items: center; gap: 4px; min-height: 31px; padding: 0 8px; border-radius: 6px; color: #b6c1d7; font-size: 0.72rem; transition: background 0.16s ease, color 0.16s ease; }
.admin-dashboard-nav a:hover, .admin-dashboard-nav a.active { background: #172536; color: #fff; }
.admin-dashboard-nav a.active { box-shadow: inset 3px 0 #3b66ff; }
.admin-dashboard-nav a span { color: #6470ad; text-align: center; }
.admin-dashboard-nav a .admin-sidebar-icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 4px; color: #697cae; transition: background 0.16s ease, color 0.16s ease; }
.admin-dashboard-nav a .admin-sidebar-icon :is(svg, i) { width: 22px; height: 22px; font-size: 22px !important; line-height: 1; }
.admin-dashboard-nav a.active .admin-sidebar-icon, .admin-dashboard-nav a:hover .admin-sidebar-icon { background: rgba(76,115,255,0.09); color: #94a8db; }
.admin-dashboard-nav a b { color: #68718b; font-size: 1.1rem; font-weight: 400; }
button[data-admin-save-icon] { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
button[data-admin-save-icon] .admin-save-icon { display: inline-flex; width: 16px; height: 16px; }
button[data-admin-save-icon] .admin-save-icon svg { width: 16px; height: 16px; stroke-width: 2.5; }
.admin-nav-with-submenu { position: relative; }
.admin-nav-with-submenu > a { position: relative; z-index: 2; }
.admin-nav-with-submenu:hover > a,
.admin-nav-with-submenu:focus-within > a { background: #2b2b47; color: #ffffff; }
.admin-nav-with-submenu.is-active > a { background: #2b2b47; color: #ffffff; }
.admin-nav-submenu { position: fixed; top: var(--admin-submenu-top, 8px); left: 252px; z-index: 101; display: grid; width: 218px; min-width: 218px; max-height: min(70vh, 560px); padding: 10px 0; border: 0; border-radius: 0; background: #0b0c13; box-shadow: 12px 16px 28px rgba(0,0,0,0.42); opacity: 0; visibility: hidden; transform: translateX(-8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; overflow-y: auto; }
.admin-nav-submenu::before { content: ""; position: absolute; top: 16px; left: -6px; width: 12px; height: 12px; background: #0b0c13; transform: rotate(45deg); }
.admin-nav-with-submenu:hover .admin-nav-submenu, .admin-nav-with-submenu:focus-within .admin-nav-submenu { opacity: 1; visibility: visible; transform: translateX(0); }
body.customer-section-page .admin-nav-with-submenu:has(> a[href*="section=customers"]) > a { background: #2b2b47; color: #ffffff; }
.admin-nav-submenu a { position: relative; display: flex; align-items: center; min-height: 36px; padding: 0 12px 0 42px; color: #aeb5cd; font-size: 0.72rem; white-space: nowrap; }
.admin-nav-submenu a::before { content: ""; position: absolute; left: 27px; width: 4px; height: 4px; border-radius: 50%; background: #aeb5cd; }
.admin-nav-submenu a:hover { background: #202033; color: #fff; }
.admin-nav-submenu a:hover::before { background: #2d8eff; }
body.customer-section-page .admin-nav-submenu a[href*="view=list"] { background: #3a385b; color: #fff; }
body.customer-section-page .admin-nav-submenu a[href*="view=list"]::before { background: #2d8eff; }
.admin-logout-link { flex: 0 0 auto; display: block; margin-top: 12px; padding: 12px 9px 0; border-top: 1px solid rgba(255,255,255,0.06); color: #8992aa; font-size: 0.75rem; }
.admin-dashboard-main { min-height: 100vh; margin-left: 250px; }
.admin-dashboard-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 28px; background: #171725; border-bottom: 1px solid rgba(255,255,255,0.05); color: #aeb5cd; font-size: 0.78rem; }
.admin-topbar-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #28c76f; box-shadow: 0 0 10px #28c76f; }
.admin-user-chip { display: flex; align-items: center; gap: 18px; }
.admin-topbar-tools { display: flex; align-items: center; gap: 6px; }
.admin-topbar-tool { position: relative; width: 52px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; background: #25253a; color: #b4bdd8; }
.admin-topbar-tool span { font-size: 0.95rem; }
.admin-topbar-icon { display: inline-block; width: 17px; height: 17px; flex: 0 0 17px; background-position: center; background-repeat: no-repeat; background-size: contain; filter: brightness(0) invert(1); opacity: 0.9; }
.admin-topbar-icon--orders { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 6h11l2 4h5v7H3V6Z' stroke='%23ffffff' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M16 10V7h3l2 3M7 17.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM19 17.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z' stroke='%23ffffff' stroke-width='1.8'/%3E%3C/svg%3E"); }
.admin-topbar-icon--marketplace { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 10h16v10H4V10ZM3 10l2-5h14l2 5M8 10v10M16 10v10M3 10h18' stroke='%23ffffff' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M8 5v5M16 5v5' stroke='%23ffffff' stroke-width='1.8'/%3E%3C/svg%3E"); }
.admin-topbar-icon--payments { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='%23ffffff' stroke-width='1.8'/%3E%3Cpath d='M3 10h18M7 15h4' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.admin-topbar-icon--withdrawals { color: #ffffff; font-size: 1rem !important; line-height: 17px; text-align: center; filter: none; }
.admin-topbar-tool b { min-width: 16px; height: 16px; display: inline-grid; place-items: center; border-radius: 4px; background: #16c79a; color: #061b18; font-size: 0.62rem; }
.admin-topbar-tool b.is-alert { background: #ef5d5d; color: #fff; }
.admin-topbar-tool:hover { border-color: rgba(22,199,154,0.65); color: #fff; }
.admin-user-chip a { color: #6da2ff; }
.admin-dashboard-content { padding: 32px 30px 52px; }
.admin-dashboard-title, .admin-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-dashboard-title h1 { margin: 8px 0 5px; font-size: clamp(1.5rem, 2vw, 2.1rem); letter-spacing: -0.05em; }
.admin-dashboard-title p, .admin-panel-heading p { margin: 0; color: #858da7; font-size: 0.78rem; }

.admin-sidebar-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; background: #25253a; cursor: pointer; }
.admin-sidebar-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #dfe4f5; }
.admin-sidebar-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(6,8,16,0.55); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.admin-sidebar-overlay.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .admin-sidebar-toggle { display: inline-flex; order: -1; margin-right: 10px; }
  .admin-dashboard-sidebar { width: 270px; max-width: 82vw; padding: 16px 15px 24px; transform: translateX(-100%); transition: transform 0.28s ease; box-shadow: 18px 0 40px rgba(0,0,0,0.35); }
  .admin-dashboard-sidebar.is-open { transform: translateX(0); }
  .admin-dashboard-logo { display: flex; margin: 0 11px 16px; }
  .admin-dashboard-logo > span:last-child, .admin-dashboard-search input, .admin-nav-label { display: block; }
  .admin-dashboard-search { justify-content: flex-start; padding: 0 10px; }
  .admin-dashboard-nav { display: flex; flex-direction: column; padding-right: 0; }
  .admin-dashboard-nav > a, .admin-nav-with-submenu > a { grid-template-columns: 26px 1fr 10px; gap: 4px; justify-items: unset; padding: 0 8px; font-size: 0.72rem; }
  .admin-dashboard-nav > a > span, .admin-nav-with-submenu > a > span { font-size: inherit; }
  .admin-dashboard-nav > a > b, .admin-nav-with-submenu > a > b { display: inline; }
  .admin-nav-submenu { position: static; left: auto; top: auto !important; max-height: none; width: 100%; min-width: 0; padding: 2px 0 4px; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; display: none; background: transparent; }
  .admin-nav-submenu::before { display: none; }
  .admin-nav-with-submenu.is-active .admin-nav-submenu, .admin-nav-with-submenu:focus-within .admin-nav-submenu { display: grid; }
  .admin-nav-submenu a { padding-left: 46px; min-height: 32px; }
  .admin-dashboard-main { min-width: 0; margin-left: 0; }
  .admin-dashboard-topbar { padding: 0 16px; }
  .admin-dashboard-content { padding: 24px 20px 44px; }
}

@media (max-width: 540px) {
  .admin-dashboard-sidebar { width: 250px; padding-inline: 15px; }
  .admin-nav-submenu { left: auto; }
  .admin-dashboard-main { margin-left: 0; }
  .admin-dashboard-topbar { min-height: 52px; padding-inline: 12px; }
  .admin-dashboard-content { padding: 18px 14px 36px; }
}

.admin-action-button { padding: 0 17px; margin-top: 0; white-space: nowrap; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.admin-stat-card, .admin-chart-card, .admin-recent-card { padding: 20px; background: #1b1b2b; border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; }
.admin-stat-card span, .admin-stat-card small { display: block; color: #8790ad; font-size: 0.75rem; }
.admin-stat-card strong { display: block; margin: 12px 0 8px; color: #fff; font-size: 1.35rem; }
.admin-stat-card small.positive { color: #2bd783; }
.admin-dashboard-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.admin-dashboard-welcome { display: grid; place-items: center; gap: 13px; min-height: 180px; margin-top: 14px; padding: 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.admin-dashboard-welcome img { width: min(220px, 80%); height: auto; object-fit: contain; }
.admin-dashboard-welcome p { margin: 0; color: #d7e2f2; font-size: 1rem; font-weight: 700; }
.admin-panel-heading h2 { margin: 0 0 6px; font-size: 1rem; }
.admin-panel-filter, .admin-see-all { color: #8390bc; font-size: 0.72rem; }
.admin-chart { position: relative; height: 240px; margin-top: 22px; }
.admin-chart-grid { position: absolute; inset: 14px 0 0; display: flex; flex-direction: column; justify-content: space-between; }
.admin-chart-grid i { display: block; border-top: 1px dashed rgba(126,137,178,0.18); }
.admin-chart-bars { position: absolute; inset: 20px 20px 0; display: flex; align-items: flex-end; justify-content: space-around; gap: 13px; }
.admin-chart-bars b { width: 100%; max-width: 32px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #356bff, #2142aa); }
.admin-chart-labels { display: flex; justify-content: space-between; margin-top: 10px; color: #77809c; font-size: 0.68rem; }
.admin-data-empty { min-height: 240px; display: grid; place-items: center; color: #7f88a4; font-size: 0.82rem; text-align: center; }
.admin-line-chart { position: relative; height: 240px; margin-top: 22px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 46px, rgba(145,151,180,0.14) 47px, transparent 48px); }
.admin-member-chart { height: 240px; margin-top: 22px; display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 46px, rgba(145,151,180,0.14) 47px, transparent 48px); }
.admin-member-chart span { width: 18px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #0b95e5, #0872b6); }
.admin-financial-chart { height: 240px; margin-top: 22px; display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 46px, rgba(145,151,180,0.14) 47px, transparent 48px); }
.admin-financial-chart span { width: 18px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #efad00, #b66d00); }
.admin-chart-bars b,
.admin-financial-chart span,
.admin-member-chart span { position: relative; cursor: default; }
.admin-chart-bars b::after,
.admin-financial-chart span::after,
.admin-member-chart span::after { content: attr(data-chart-tooltip); position: absolute; bottom: calc(100% + 9px); left: 50%; z-index: 5; padding: 6px 8px; border-radius: 4px; background: #0d1218; color: #ffffff; font-size: 0.65rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity 0.15s ease, transform 0.15s ease; }
.admin-chart-bars b:hover::after,
.admin-financial-chart span:hover::after,
.admin-member-chart span:hover::after { opacity: 1; transform: translate(-50%, 0); }
.admin-line-chart::after { content: ""; position: absolute; inset: 72px 3% 26px; border-top: 4px solid #2d8eff; border-radius: 50%; transform: rotate(-5deg) skewY(8deg); box-shadow: 0 16px 0 -10px #2d8eff; }
.admin-recent-card { margin-top: 14px; }
.admin-orders { margin-top: 18px; }
.admin-orders > div { display: grid; grid-template-columns: 38px 1fr auto 100px; align-items: center; gap: 14px; min-height: 56px; border-top: 1px solid rgba(255,255,255,0.05); }
.order-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #194d80; color: #bde0ff; font-size: 0.68rem; font-weight: 800; }
.order-avatar.violet { background: #4b3279; color: #e0c8ff; } .order-avatar.orange { background: #74451f; color: #ffd3a5; }
.admin-orders strong, .admin-orders small { display: block; } .admin-orders strong { font-size: 0.8rem; } .admin-orders small { margin-top: 4px; color: #7f88a4; font-size: 0.7rem; } .admin-orders b { color: #fff; font-size: 0.78rem; } .admin-orders em { font-style: normal; font-size: 0.7rem; } .order-success { color: #2bd783; } .order-pending { color: #f3c74f; }
.admin-personnel-layout { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr); gap: 14px; margin-top: 24px; }
.admin-personnel-form { display: grid; gap: 14px; margin-top: 20px; }
.admin-personnel-form label { display: grid; gap: 7px; color: #aeb5cd; font-size: 0.78rem; }
.admin-personnel-form input, .admin-personnel-form select { min-height: 42px; padding: 0 11px; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; background: #25253a; color: #fff; outline: none; }
.admin-personnel-form .admin-action-button { width: 100%; }
.admin-personnel-list { margin-top: 18px; }
.admin-personnel-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; min-height: 62px; border-top: 1px solid rgba(255,255,255,0.05); }
.admin-personnel-row strong, .admin-personnel-row small { display: block; }
.admin-personnel-row strong { color: #fff; font-size: 0.8rem; }
.admin-personnel-row small { margin-top: 4px; color: #7f88a4; font-size: 0.7rem; }
.admin-personnel-row em { font-size: 0.68rem; font-style: normal; }
.admin-personnel-message { margin-top: 20px; padding: 12px 14px; border-radius: 7px; font-size: 0.8rem; }
.admin-personnel-message.success { background: rgba(43,215,131,0.12); color: #52e89c; }
.admin-personnel-message.error { background: rgba(239,93,93,0.12); color: #ff9b9b; }
.admin-personnel-table-card { grid-column: 1 / -1; }
.admin-personnel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 12px; color: #858da7; font-size: 0.72rem; }
.admin-personnel-toolbar label { display: flex; align-items: center; gap: 8px; width: min(100%, 270px); padding: 0 11px; border: 1px solid rgba(255,255,255,0.12); border-radius: 5px; color: #8290bd; }
.admin-personnel-toolbar input { width: 100%; min-height: 34px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 0.72rem; }
.admin-personnel-table-wrap { overflow-x: auto; }
.admin-customer-list-card { margin-top: 28px; min-width: 0; }
.admin-customer-table-wrap { overflow-x: auto; margin-top: 20px; }
.admin-customer-table { width: 100%; min-width: 760px; border-collapse: collapse; color: #abb4ce; font-size: 0.74rem; }
.admin-customer-table th { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); color: #808aa7; font-size: 0.64rem; text-align: left; white-space: nowrap; }
.admin-customer-table td { padding: 14px 10px; border-bottom: 1px dashed rgba(255,255,255,0.08); vertical-align: middle; }
.admin-customer-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.admin-customer-table td strong { color: #eef2ff; }
.admin-customer-empty { padding: 44px 20px !important; color: #7f88a4; text-align: center; }
.admin-customer-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 4px 2px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.admin-customer-page-header h1 { margin: 8px 0 5px; color: var(--admin-text); font-size: 1.35rem; }
.admin-customer-page-header p { margin: 0; color: var(--admin-muted); font-size: 0.72rem; }
.admin-customer-breadcrumb { display: flex; align-items: center; gap: 8px; color: #7883a3; font-size: 0.64rem; }
.admin-customer-breadcrumb strong { color: #b9c8e4; }
.admin-customer-total { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 10px; border: 1px solid rgba(79,119,255,0.26); border-radius: 4px; background: rgba(49,94,255,0.1); color: #a9c0ff; font-size: 0.68rem; font-weight: 700; white-space: nowrap; }
.admin-customer-total i { font-size: 0.85rem; }
.admin-customer-toolbar { display: flex; align-items: center; gap: 8px; margin: 14px 0 12px; }
.admin-customer-search { display: flex; align-items: center; gap: 8px; width: min(100%, 300px); height: 38px; padding: 0 11px; border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; background: var(--admin-field); color: #8292b6; }
.admin-customer-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 0.72rem; }
.admin-customer-filter, .admin-customer-toolbar-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid rgba(255,255,255,0.07); border-radius: 4px; background: #182433; color: #b8c6df; font-size: 0.68rem; }
.admin-customer-filter:hover, .admin-customer-toolbar-actions button:hover { border-color: rgba(92,132,255,0.42); color: #fff; }
.admin-customer-toolbar-actions { display: flex; gap: 7px; margin-left: auto; }
.admin-customer-toolbar-actions .admin-customer-add { border-color: rgba(75,120,255,0.42); background: #315eff; color: #fff; }
.admin-customer-table-card { min-width: 0; padding: 0 14px 12px; background: #121b27; border: 1px solid rgba(255,255,255,0.08); border-radius: 5px; box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.admin-customer-table-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.admin-customer-table-heading h2 { margin: 0 0 3px; color: #edf3ff; font-size: 0.82rem; }
.admin-customer-table-heading p, .admin-customer-table-heading > span { margin: 0; color: #8190ac; font-size: 0.64rem; }
.admin-customer-table-wrap { overflow-x: auto; }
.admin-customer-full-table { width: 100%; min-width: 1180px; border-collapse: collapse; color: #aeb5cd; font-size: 0.68rem; }
.admin-customer-full-table th { padding: 13px 8px 11px; border-bottom: 1px dashed rgba(255,255,255,0.08); color: #8291b1; font-size: 0.59rem; text-align: left; white-space: nowrap; }
.admin-customer-full-table td { padding: 11px 8px; border-bottom: 1px dashed rgba(255,255,255,0.07); white-space: nowrap; }
.admin-customer-full-table tr:hover { background: rgba(49,94,255,0.06); }
.admin-customer-full-table td strong { color: #eef2ff; }
.admin-contact-line { display: block; line-height: 1.8; color: #b7bfd7; }
.admin-permission-icon { display: inline-grid; width: 25px; height: 25px; margin-right: 3px; place-items: center; border-radius: 4px; background: #0d795f; color: #45d7aa; }
.admin-status-toggle { display: inline-block; position: relative; width: 27px; height: 16px; border-radius: 999px; background: #3a3b58; vertical-align: middle; transition: background-color 0.22s ease, box-shadow 0.22s ease; }
.admin-status-form { margin: 0; }
.admin-status-toggle { padding: 0; border: 0; cursor: pointer; }
.admin-status-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #737b9b; transition: left 0.22s ease, background-color 0.22s ease, transform 0.22s ease; }
.admin-status-toggle.is-on { background: #2398ed; }
.admin-status-toggle.is-on { box-shadow: 0 0 0 3px rgba(35,152,237,0.12); }
.admin-status-toggle.is-on::after { left: 14px; background: #fff; transform: scale(1.04); }
.admin-status-toggle:focus-visible { outline: 2px solid #70b0ff; outline-offset: 3px; }
.admin-customer-edit { width: 30px; height: 30px; border: 0; border-radius: 3px; background: #2a2b43; color: #b7c9ed; }
.admin-customer-table-footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 8px 4px; color: #8992ae; font-size: 0.68rem; }
.admin-customer-table-footer b { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 3px; background: #2995ed; color: #fff; }
@media (max-width: 680px) { .admin-customer-page-header { align-items: flex-start; flex-direction: column; } .admin-customer-toolbar { align-items: stretch; flex-wrap: wrap; } .admin-customer-search { width: 100%; } .admin-customer-toolbar-actions { width: 100%; margin-left: 0; } .admin-customer-table-heading { align-items: flex-start; flex-direction: column; justify-content: center; } }
.admin-product-list-card { margin-top: 28px; padding: 18px; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; background: #1b1b2b; }
.admin-product-header, .admin-product-toolbar, .admin-product-breadcrumb, .admin-product-cell, .admin-product-pagination { display: flex; align-items: center; }
.admin-product-header { justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-product-breadcrumb { gap: 8px; color: #7d89aa; font-size: 0.72rem; }
.admin-product-breadcrumb strong { color: #eef2ff; }
.admin-product-toolbar { justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.admin-product-search { display: flex; align-items: center; gap: 8px; width: 220px; min-height: 36px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; background: #25253a; color: #7d89aa; }
.admin-product-search input, .admin-product-toolbar select { width: 100%; border: 0; outline: 0; background: transparent; color: #eef2ff; font-size: 0.72rem; }
.admin-product-toolbar select { width: 170px; min-height: 36px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; background: #25253a; }
.admin-product-new { min-height: 36px; padding: 0 14px; border: 0; border-radius: 4px; background: #1d4d92; color: #70b0ff; font-size: 0.72rem; font-weight: 700; }
.admin-product-table-wrap { overflow-x: auto; }
.admin-product-table { width: 100%; min-width: 900px; border-collapse: collapse; color: #b7c0dc; font-size: 0.72rem; }
.admin-product-table th { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); color: #7e8ab4; font-size: 0.62rem; text-align: left; white-space: nowrap; }
.admin-product-table td { padding: 12px 10px; border-bottom: 1px dashed rgba(255,255,255,0.08); white-space: nowrap; }
.admin-product-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.admin-product-cell { gap: 10px; }
.admin-product-cell strong { color: #eef2ff; font-size: 0.78rem; }
.admin-product-thumb { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #f0bb3a, #a76907); color: #fff; font-weight: 800; }
.admin-product-status { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 0.62rem; font-weight: 700; }
.admin-product-status.is-active { background: rgba(43,215,131,0.14); color: #46e59a; }
.admin-product-status.is-inactive { background: rgba(239,93,93,0.14); color: #ff8f8f; }
.admin-product-action { min-height: 30px; padding: 0 11px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; background: #272b42; color: #dfe7ff; font-size: 0.68rem; }
.admin-product-empty { padding: 30px 10px !important; color: #7d89aa; text-align: center; }
.admin-product-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07); color: #8d99b7; font-size: 0.68rem; }
.admin-product-pagination { gap: 6px; }
.admin-product-pagination button, .admin-product-pagination strong { display: inline-grid; width: 28px; height: 27px; place-items: center; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; background: #222338; color: #dfe7ff; font-size: 0.68rem; }
.admin-product-pagination strong { background: #2d8eff; border-color: #2d8eff; color: #fff; }
.admin-product-content { padding-top: 8px; }
.admin-product-screen-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-product-screen-title { display: flex; align-items: center; gap: 18px; }
.admin-product-screen-title h1 { margin: 0; color: #f4f6ff; font-size: 1.05rem; }
.admin-product-screen-title .admin-product-breadcrumb { margin-top: 2px; }
.admin-product-add, .admin-product-export, .admin-product-settings, .admin-product-refresh, .admin-product-row-action { border: 0; border-radius: 3px; background: #292b43; color: #b9c5e4; font-size: 0.68rem; }
.admin-product-add { min-height: 34px; padding: 0 15px; background: #278ce8; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.admin-product-edit-content { max-width: 1140px; margin: 0 auto; }
.admin-product-edit-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.admin-product-edit-heading h1 { margin: 0; color: #f4f6ff; font-size: 1.25rem; }
.admin-product-edit-actions { display: flex; gap: 8px; }
.admin-product-edit-secondary, .admin-product-edit-save { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 0; border-radius: 3px; font-size: 0.7rem; font-weight: 800; }
.admin-product-edit-secondary { background: #292b43; color: #b9c5e4; }
.admin-product-edit-save { background: #12b886; color: #fff; }
.admin-product-edit-alert { margin-bottom: 14px; padding: 11px 14px; border-radius: 3px; font-size: 0.72rem; }
.admin-product-edit-alert.is-success { background: rgba(22,199,154,0.14); color: #2bd7a0; }
.admin-product-edit-alert.is-error { background: rgba(239,93,93,0.14); color: #ff8d8d; }
.admin-operation-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(4,6,12,0.72); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; }
.admin-operation-backdrop.is-open { opacity: 1; visibility: visible; }
.admin-operation-modal { position: fixed; top: 50%; left: 50%; z-index: 210; display: grid; width: min(390px, calc(100vw - 32px)); place-items: center; gap: 11px; padding: 28px 24px 22px; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; background: #1d1d2d; color: #eef2ff; box-shadow: 0 25px 70px rgba(0,0,0,0.45); text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.96); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }
.admin-operation-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.admin-operation-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: rgba(22,199,154,0.15); color: #2bd7a0; font-size: 1.5rem; font-weight: 900; }
.admin-operation-modal h2 { margin: 0; font-size: 1rem; }
.admin-operation-modal p { margin: 0; color: #8992ae; font-size: 0.74rem; }
.admin-operation-modal button { min-width: 110px; min-height: 36px; margin-top: 6px; border: 0; border-radius: 3px; background: #12b886; color: #fff; font-size: 0.72rem; font-weight: 800; }
.admin-product-edit-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border: 1px solid rgba(255,255,255,0.07); border-radius: 5px; background: #111a27; }
.admin-product-edit-tabs button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 4px; background: transparent; color: #8b94b3; font-size: 0.68rem; white-space: nowrap; }
.admin-product-edit-tabs button:hover { background: rgba(255,255,255,0.045); color: #dce7fa; }
.admin-product-edit-tabs button.is-active { background: rgba(49,94,255,0.17); color: #8eacff; box-shadow: inset 0 0 0 1px rgba(95,133,255,0.3); }
.admin-product-edit-panel { margin-top: 6px; padding: 0 16px 8px; border: 1px solid rgba(255,255,255,0.07); border-radius: 5px; background: #121c29; box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.admin-product-edit-panel > header { margin: 0 -16px 6px; padding: 6px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.015); }
.admin-product-edit-panel h2 { margin: 0 0 4px; color: #f0f3ff; font-size: 0.9rem; }
.admin-product-edit-panel header p { margin: 0; color: #8492ab; font-size: 0.7rem; }
.admin-product-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.admin-product-edit-field { display: grid; gap: 6px; margin-bottom: 8px; color: #a9b6ca; font-size: 0.67rem; font-weight: 700; }
.admin-product-edit-field--wide { grid-column: 1 / -1; }
.admin-product-edit-field em { color: #ff6d75; font-style: normal; }
.admin-product-edit-field input, .admin-product-edit-field select, .admin-product-edit-field textarea { width: 100%; min-height: 38px; padding: 0 11px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; outline: 0; background: #0f1722; color: #eef2ff; font-size: 0.7rem; }
.admin-product-edit-field textarea { min-height: 96px; padding: 10px; resize: vertical; }
.admin-product-edit-field input:focus, .admin-product-edit-field select:focus, .admin-product-edit-field textarea:focus { border-color: #2d8eff; box-shadow: 0 0 0 2px rgba(45,142,255,0.12); }
.admin-product-field-help { color: #707b9c; font-size: 0.62rem; font-weight: 400; }
.admin-product-image-upload { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 64px; padding: 8px; overflow: hidden; border: 1px dashed rgba(111,148,255,0.48); border-radius: 5px; background: linear-gradient(105deg, rgba(49,94,255,0.16), rgba(15,23,34,0.65) 56%); cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease; }
.admin-product-image-upload:hover, .admin-product-image-upload:focus-within { border-color: #7d9fff; background: linear-gradient(105deg, rgba(49,94,255,0.25), rgba(15,23,34,0.78) 56%); }
.admin-product-image-upload input { position: absolute; inset: 0; width: 100%; min-height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.admin-product-image-upload strong, .admin-product-image-upload small { display: block; }
.admin-product-image-upload strong { color: #f2f5ff; font-size: 0.76rem; }
.admin-product-image-upload small { margin-top: 4px; color: #96a5c2; font-size: 0.62rem; font-weight: 400; }
.admin-product-image-preview { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; overflow: hidden; border: 1px solid rgba(147,177,255,0.34); border-radius: 5px; background: linear-gradient(135deg, #e4ac31, #805008); color: #fff; font-size: 0.52rem; font-weight: 900; background-position: center; background-size: cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 6px 12px rgba(0,0,0,0.18); }
.admin-product-image-preview.blue { background: linear-gradient(135deg, #3189ec, #203a82); }
.admin-product-image-preview.purple { background: linear-gradient(135deg, #865bdd, #38216d); }
.admin-product-image-preview.orange { background: linear-gradient(135deg, #e88632, #702812); }
@media (max-width: 620px) {
  .admin-product-edit-heading { align-items: flex-start; flex-direction: column; }
  .admin-product-edit-grid { grid-template-columns: 1fr; }
  .admin-product-image-upload { grid-template-columns: 1fr; min-height: 0; justify-items: center; padding: 16px; text-align: center; }
  .admin-product-image-preview { width: 72px; height: 72px; flex-basis: 72px; }
  .admin-product-image-upload > span:last-of-type { max-width: 240px; }
}
.admin-product-edit-check { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #b0b9d2; font-size: 0.72rem; }
.admin-product-edit-check input { accent-color: #2d8eff; }
.admin-product-media-empty { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 8px; border: 1px dashed rgba(255,255,255,0.12); border-radius: 4px; color: #7f88a4; text-align: center; }
.admin-product-media-empty > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 4px; background: #292b43; color: #5daeff; font-size: 1.1rem; }
.admin-product-media-empty strong { color: #cbd3e9; font-size: 0.74rem; }
.admin-product-media-empty small { font-size: 0.64rem; }
.admin-product-media-empty button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 3px; background: #2d8eff; color: #fff; font-size: 0.68rem; font-weight: 700; }
.admin-product-screen-card { padding: 12px 14px 10px; border: 1px solid rgba(255,255,255,0.04); border-radius: 3px; background: #191929; }
.admin-product-filters { display: flex; align-items: center; gap: 7px; padding-bottom: 13px; }
.admin-product-refresh, .admin-product-settings { width: 30px; height: 30px; font-size: 1rem; }
.admin-product-screen-search { display: flex; align-items: center; gap: 7px; width: 185px; height: 30px; padding: 0 9px; border: 1px solid rgba(255,255,255,0.09); border-radius: 3px; color: #7180a5; }
.admin-product-screen-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #eef2ff; font-size: 0.66rem; }
.admin-product-filters select { width: 165px; height: 30px; padding: 0 9px; border: 1px solid rgba(255,255,255,0.09); border-radius: 3px; outline: 0; background: #191929; color: #aeb8d2; font-size: 0.66rem; }
.admin-product-export { height: 30px; margin-left: auto; padding: 0 12px; }
.admin-product-filter-submit { height: 30px; padding: 0 11px; border: 0; border-radius: 3px; background: #2d8eff; color: #fff; font-size: 0.66rem; font-weight: 700; }
.admin-product-filters .admin-product-export { margin-left: 0; }
.admin-product-status-form { display: inline-block; margin: 0; }
.admin-product-toggle { padding: 0; border: 0; cursor: pointer; }
.admin-product-toggle:focus-visible { outline: 2px solid #70b0ff; outline-offset: 3px; }
.admin-product-screen-table-wrap { overflow-x: auto; }
.admin-product-screen-table { width: 100%; min-width: 900px; border-collapse: collapse; color: #b4bdd5; font-size: 0.68rem; }
.admin-product-screen-table th { padding: 13px 9px; border-bottom: 1px dashed rgba(255,255,255,0.09); color: #8791b0; font-size: 0.61rem; text-align: left; white-space: nowrap; }
.admin-product-screen-table td { height: 58px; padding: 9px; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.admin-product-screen-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.admin-product-screen-name { display: flex; align-items: center; gap: 9px; }
.admin-product-screen-name { cursor: pointer; }
.admin-product-screen-name:focus-visible { outline: 2px solid #2d8eff; outline-offset: 3px; }
.admin-product-view-icon { margin-left: 4px; color: #5daeff; font-size: 0.9rem; opacity: 0; transform: translateX(-4px); transition: opacity 0.15s ease, transform 0.15s ease; }
.admin-product-screen-name:hover .admin-product-view-icon, .admin-product-screen-name:focus-visible .admin-product-view-icon { opacity: 1; transform: translateX(0); }
.admin-product-screen-name > span:last-child { display: grid; gap: 3px; }
.admin-product-screen-name strong { color: #f0f3ff; font-size: 0.72rem; }
.admin-product-screen-name small { color: #8490b4; font-size: 0.61rem; }
.admin-product-screen-thumb { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 4px; background: linear-gradient(135deg, #e4ac31, #805008); color: #fff; font-size: 0.64rem; font-weight: 800; }
.admin-product-screen-thumb img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.admin-product-toggle { display: inline-block; position: relative; width: 27px; height: 16px; border-radius: 999px; background: #3a3b58; vertical-align: middle; }
.admin-product-toggle i { position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #79819e; }
.admin-product-toggle.is-on { background: #2398ed; }
.admin-product-toggle.is-on i { left: 14px; background: #fff; }
.admin-product-row-action { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 30px; font-size: 1rem; }
.admin-product-row-action svg { display: block; width: 13px; height: 13px; color: currentColor; }
.admin-product-row-action i { display: inline-block; font-size: 0.9rem; line-height: 1; }
.admin-product-actions { position: relative; display: inline-block; }
.admin-product-action-menu { position: absolute; top: calc(100% + 5px); right: 0; z-index: 20; display: grid; width: 120px; padding: 5px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; background: #25253a; box-shadow: 0 14px 28px rgba(0,0,0,0.35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease; }
.admin-product-action-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.admin-product-action-menu a, .admin-product-action-menu button { min-height: 30px; padding: 0 8px; border: 0; border-radius: 3px; background: transparent; color: #b9c5e4; font-size: 0.68rem; text-align: left; }
.admin-product-action-menu a:hover, .admin-product-action-menu button:hover { background: #363653; color: #fff; }
.admin-product-action-menu button:hover { color: #ff7878; }
.admin-product-order-form { display: none; align-items: center; gap: 4px; margin: 0; }
.admin-product-order-form.is-editing { display: inline-flex; }
.admin-product-order-form input { width: 54px; height: 28px; padding: 0 6px; border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; outline: 0; background: #25253a; color: #eef2ff; font-size: 0.68rem; }
.admin-product-order-confirm, .admin-product-order-cancel { display: grid; width: 25px; height: 28px; place-items: center; border: 0; border-radius: 3px; color: #fff; font-weight: 800; }
.admin-product-order-confirm { background: #12b886; }
.admin-product-order-cancel { background: #d94b5b; }
.admin-product-screen-footer { display: flex; align-items: center; gap: 18px; padding-top: 12px; color: #8c96b0; font-size: 0.66rem; }
.admin-product-screen-footer > div { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.admin-product-page-size { display: inline-flex; align-items: center; gap: 6px; color: #8c96b0; }
.admin-product-page-size select { min-width: 52px; height: 27px; padding: 0 6px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; outline: 0; background: #25253a; color: #eef2ff; font-size: 0.64rem; }
.admin-product-screen-footer a, .admin-product-screen-footer button, .admin-product-screen-footer strong { display: inline-grid; min-width: 24px; height: 27px; place-items: center; padding: 0 6px; border: 0; border-radius: 3px; background: transparent; color: #7f89a7; font-size: 0.64rem; }
.admin-product-screen-footer a:hover { background: #292b43; color: #eef2ff; }
.admin-product-screen-footer strong { display: grid; place-items: center; background: #2d8eff; color: #fff; }
.admin-payments-content { position: relative; }
.admin-payment-heading { display: flex; align-items: center; gap: 10px; min-height: 42px; color: #7f89aa; font-size: 0.68rem; }
.admin-payment-heading strong:first-child { color: #eef2ff; font-size: 1rem; }
.admin-payment-filters-top { position: absolute; top: 0; right: 30px; display: flex; gap: 8px; }
.admin-payment-filters-top select, .admin-payment-toolbar input, .admin-payment-toolbar select { height: 32px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; background: #1b1b2b; color: #8791b2; font-size: 0.68rem; outline: 0; }
.admin-payment-filters-top select { width: 290px; }
.admin-payment-tabs { display: flex; gap: 6px; margin-top: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.admin-payment-tabs button { min-height: 34px; padding: 0 18px; border: 0; background: transparent; color: #8a93b2; font-size: 0.72rem; font-weight: 800; }
.admin-payment-tabs button.is-active { border-radius: 4px 4px 0 0; background: #363452; color: #fff; }
.admin-payment-toolbar { position: relative; display: flex; align-items: center; gap: 7px; margin: 12px 0; }
.admin-payment-toolbar > button { height: 32px; padding: 0 12px; border: 0; border-radius: 3px; background: #2b2b43; color: #aeb5cd; font-size: 0.68rem; }
.admin-payment-toolbar > input { width: 135px; }
.admin-payment-toolbar > input:nth-of-type(2) { width: 210px; }
.admin-payment-toolbar-right { display: flex; gap: 7px; margin-left: auto; }
.admin-payment-toolbar-right input { width: 125px; }
.admin-payment-toolbar-right select { width: 125px; }
.admin-payment-advanced-panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 330px; padding: 16px; border: 1px solid rgba(255,255,255,0.1); border-radius: 5px; background: #25253a; box-shadow: 0 18px 36px rgba(0,0,0,0.4); }
.admin-payment-advanced-panel > strong { grid-column: 1 / -1; color: #eef2ff; font-size: 0.8rem; }
.admin-payment-advanced-panel label { display: grid; gap: 5px; color: #aeb5cd; font-size: 0.68rem; }
.admin-payment-advanced-panel input, .admin-payment-advanced-panel select { width: 100%; min-height: 32px; padding: 0 8px; border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; background: #1b1b2b; color: #eef2ff; font-size: 0.68rem; }
.admin-payment-advanced-panel > div { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.admin-payment-advanced-panel button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 3px; background: #238fe8; color: #fff; font-size: 0.68rem; font-weight: 800; }
.admin-payment-advanced-panel button[data-close-filter] { background: #363653; color: #b9c5e4; }
.admin-payment-table-card { position: relative; isolation: isolate; min-width: 0; padding: 0 10px 12px; background: #1b1b2b; border: 1px solid rgba(255,255,255,0.04); border-radius: 4px; }
.admin-payment-table-wrap { position: relative; z-index: 2; overflow-x: auto; }
.admin-payment-table { width: 100%; min-width: 1120px; border-collapse: collapse; color: #aeb5cd; font-size: 0.68rem; }
.admin-payment-table th { padding: 14px 8px 12px; border-bottom: 1px dashed rgba(255,255,255,0.08); color: #8791b2; font-size: 0.6rem; text-align: left; white-space: nowrap; }
.admin-payment-table td { padding: 14px 8px; border-bottom: 1px dashed rgba(255,255,255,0.07); white-space: nowrap; }
.admin-payment-status { display: inline-block; padding: 5px 8px; border-radius: 4px; font-size: 0.62rem; font-weight: 700; }
.admin-payment-status--approved, .admin-payment-status--auto-approved { background: rgba(22,199,154,0.16); color: #2bd7a0; }
.admin-payment-status--pending, .admin-payment-status--cancellation { background: rgba(239,173,0,0.16); color: #ffc83d; }
.admin-payment-status--document-requested { background: rgba(41,207,202,0.16); color: #43d9d4; }
.admin-payment-status--cancelled, .admin-payment-status--declined { background: rgba(239,93,93,0.16); color: #ff7474; }
.admin-payment-empty { height: 320px; color: #7f88a4; text-align: center; }
.admin-payment-action { width: 34px; height: 30px; border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; background: #292b43; color: #b9c5e4; font-size: 1rem; line-height: 1; }
.admin-payment-action:hover, .admin-payment-action:focus-visible { border-color: #2d8eff; background: #34375a; color: #fff; outline: none; }
.admin-payment-action-menu { position: relative; display: inline-block; }
.admin-payment-action-options { position: absolute; top: calc(100% + 5px); right: 0; z-index: 999; display: grid; width: 112px; padding: 5px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; background: #25253a; box-shadow: 0 14px 28px rgba(0,0,0,0.35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease; }
.admin-payment-action-menu.open .admin-payment-action-options { opacity: 1; visibility: visible; transform: translateY(0); }
.admin-payment-action-options button { min-height: 32px; border: 0; border-radius: 3px; background: transparent; color: #b9c5e4; text-align: left; font-size: 0.72rem; }
.admin-payment-action-options button:hover { background: #363653; color: #fff; }
.admin-payment-action-options button:last-child:hover { color: #ff7878; }
.admin-payment-modal-backdrop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4,6,12,0.72); backdrop-filter: blur(4px); }
.admin-payment-modal { position: relative; width: min(100%, 570px); padding: 22px; border: 1px solid rgba(255,255,255,0.08); border-radius: 5px; background: #1d1d2d; color: #eef2ff; box-shadow: 0 25px 70px rgba(0,0,0,0.45); }
.admin-payment-modal h2 { margin: 0 32px 8px 0; font-size: 1.05rem; }
.admin-payment-modal-subtitle, .admin-payment-modal > p { margin: 0 0 18px; color: #8992ae; font-size: 0.76rem; }
.admin-payment-modal-close { position: absolute; top: 13px; right: 14px; width: 30px; height: 30px; border: 0; background: transparent; color: #8992ae; font-size: 1.35rem; }
.admin-payment-modal-close:hover { color: #fff; }
.admin-payment-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.07); }
.admin-payment-detail-grid span { display: grid; gap: 7px; padding: 14px; background: #222236; color: #8992ae; font-size: 0.7rem; }
.admin-payment-detail-grid strong { color: #eef2ff; font-size: 0.82rem; }
.admin-payment-modal-confirm, .admin-payment-modal-danger, .admin-payment-modal-secondary { min-height: 36px; padding: 0 18px; border: 0; border-radius: 3px; font-size: 0.72rem; font-weight: 800; }
.admin-payment-modal-confirm { float: right; background: #238fe8; color: #fff; }
.admin-payment-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.admin-payment-modal-secondary { background: #363653; color: #b9c5e4; }
.admin-payment-modal-danger { background: #d94b5b; color: #fff; }
.admin-payment-table-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; padding: 14px 8px 4px; color: #8992ae; font-size: 0.68rem; }
.admin-payment-table-footer b { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 3px; background: #2995ed; color: #fff; }
.admin-orders-content { position: relative; }
.admin-orders-side-toggle { position: absolute; top: 58px; right: 0; z-index: 4; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px 0 0 3px; background: #25253a; color: #5daeff; font-size: 1rem; line-height: 1; }
.admin-orders-side-toggle:hover { background: #34375a; color: #fff; }
.admin-orders-side-panel { position: absolute; top: 58px; right: 0; z-index: 3; width: 305px; min-height: 580px; padding: 22px 16px; border: 1px solid rgba(255,255,255,0.04); border-radius: 4px 0 0 4px; background: #1b1b2b; box-shadow: -18px 18px 35px rgba(0,0,0,0.24); transform: translateX(105%); transition: transform 0.25s ease; }
.admin-orders-side-panel.open { transform: translateX(0); }
.admin-orders-side-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-orders-side-heading h2 { margin: 0; color: #eef2ff; font-size: 0.9rem; }
.admin-orders-side-heading span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #363653; color: #b9c5e4; }
.admin-orders-side-search { display: flex; align-items: center; gap: 8px; height: 32px; margin-top: 18px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; color: #7784b0; }
.admin-orders-side-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 0.68rem; }
.admin-orders-side-filter { width: 100%; height: 28px; margin-top: 8px; padding: 0 8px; border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; background: #1b1b2b; color: #8791b2; font-size: 0.68rem; }
.admin-orders-side-empty { display: grid; min-height: 390px; place-items: center; color: #7f88a4; font-size: 0.72rem; text-align: center; }
.admin-order-heading { display: flex; align-items: center; gap: 10px; min-height: 42px; color: #7f89aa; font-size: 0.68rem; }
.admin-order-heading strong:first-child { color: #eef2ff; font-size: 1rem; }
.admin-order-filters-top { position: absolute; top: 0; right: 30px; display: flex; gap: 8px; }
.admin-order-filters-top select { width: 210px; height: 32px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; background: #1b1b2b; color: #8791b2; font-size: 0.68rem; }
.admin-order-empty-card, .admin-order-list-card { margin-top: 12px; padding: 10px 12px 12px; background: #1b1b2b; border: 1px solid rgba(255,255,255,0.04); border-radius: 4px; }
.admin-order-list-card { margin-top: 10px; }
.admin-order-toolbar { display: flex; align-items: center; gap: 7px; }
.admin-order-toolbar > button { height: 32px; padding: 0 12px; border: 0; border-radius: 3px; background: #2b2b43; color: #aeb5cd; font-size: 0.68rem; }
.admin-order-toolbar > input, .admin-order-toolbar select { height: 32px; padding: 0 9px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; background: #1b1b2b; color: #8791b2; font-size: 0.68rem; outline: 0; }
.admin-order-toolbar > input { width: 150px; }
.admin-order-toolbar > input:nth-of-type(2) { width: 220px; }
.admin-order-toolbar > div { display: flex; gap: 7px; margin-left: auto; }
.admin-order-toolbar > div select { width: 145px; }
.admin-order-empty-table, .admin-order-table { width: 100%; border-collapse: collapse; color: #aeb5cd; font-size: 0.68rem; }
.admin-order-empty-table { margin-top: 10px; }
.admin-order-empty-table th, .admin-order-table th { padding: 12px 8px; border-bottom: 1px dashed rgba(255,255,255,0.08); color: #8791b2; font-size: 0.6rem; text-align: left; }
.admin-order-empty-table td { height: 50px; color: #7f88a4; text-align: center; }
.admin-order-empty-footer, .admin-order-list-footer { display: flex; justify-content: space-between; gap: 12px; padding: 12px 8px 2px; color: #8992ae; font-size: 0.68rem; }
.admin-order-list-footer { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 4px; padding-top: 12px; }
.admin-order-table-wrap { overflow-x: auto; }
.admin-order-table { min-width: 960px; }
.admin-order-table td { padding: 11px 8px; border-bottom: 1px dashed rgba(255,255,255,0.07); white-space: nowrap; }
.admin-order-table td small { display: block; margin-top: 3px; color: #7f88a4; }
.admin-order-detail, .admin-order-cancel { min-height: 28px; padding: 0 9px; border: 0; border-radius: 3px; background: #363653; color: #c2c9e0; font-size: 0.65rem; }
.admin-order-cancel { background: #34334e; color: #c2c9e0; }
.admin-order-detail:hover, .admin-order-cancel:hover { background: #4160f5; color: #fff; }
.admin-order-status { display: inline-block; padding: 5px 8px; border-radius: 4px; font-size: 0.62rem; }
.admin-order-status--completed, .admin-order-status--paid { background: rgba(22,199,154,0.14); color: #2bd7a0; }
.admin-order-status--pending { background: rgba(122,92,218,0.2); color: #bbaaff; }
.admin-order-status--cancelled { background: rgba(239,93,93,0.16); color: #ff7474; }
.admin-personnel-table { width: 100%; min-width: 1080px; border-collapse: collapse; color: #abb4ce; font-size: 0.7rem; }
.admin-personnel-table th { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); color: #808aa7; font-size: 0.62rem; text-align: left; white-space: nowrap; }
.admin-personnel-table td { padding: 12px 8px; border-bottom: 1px dashed rgba(255,255,255,0.08); vertical-align: middle; }
.admin-personnel-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.personnel-name { display: flex; align-items: center; gap: 9px; min-width: 190px; }
.personnel-name strong, .personnel-name small { display: block; }
.personnel-name strong { color: #eef2ff; font-size: 0.72rem; }
.personnel-name small { margin-top: 3px; color: #7f88a4; font-size: 0.65rem; }
.personnel-badge { display: inline-block; padding: 5px 8px; border-radius: 5px; font-size: 0.62rem; font-style: normal; white-space: nowrap; }
.personnel-badge.is-verified { background: rgba(43,215,131,0.14); color: #2bd783; }
.personnel-badge.is-closed { background: rgba(239,93,93,0.15); color: #ff7878; }
.personnel-badge.is-warning { background: rgba(239,173,0,0.15); color: #ffc83d; }
.personnel-action { display: inline-grid; width: 27px; height: 27px; margin-right: 5px; place-items: center; border-radius: 5px; background: #292b43; color: #b9c5e4; }
.personnel-action:hover { background: var(--gold); color: #171108; }
.personnel-action.danger:hover { background: #ef5d5d; color: #fff; }
.admin-personnel-footer { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05); color: #7f88a4; font-size: 0.72rem; }
.admin-page-size-form { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.admin-page-size-form label { color: #7f88a4; }
.admin-page-size-form select { min-height: 28px; padding: 0 8px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; background: #25253a; color: #eef2ff; font-size: 0.7rem; }
.admin-personnel-footer strong { display: inline-grid; width: 24px; height: 24px; place-items: center; border-radius: 5px; background: #2d8eff; color: #fff; }
.admin-section-empty { max-width: 760px; margin-top: 28px; text-align: center; }
.admin-category-screen-card { margin-top: 24px; padding: 18px 16px 10px; background: #1b1b2b; border: 1px solid rgba(255,255,255,0.04); border-radius: 4px; box-shadow: 0 18px 38px rgba(0,0,0,0.16); }
.admin-category-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: #707a9a; font-size: 0.7rem; }
.admin-category-breadcrumb strong { color: #eef2ff; }
.admin-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-category-heading h2 { margin: 0 0 5px; color: #eef2ff; font-size: 1.05rem; }
.admin-category-heading p { margin: 0; color: #7f88a4; font-size: 0.72rem; }
.admin-category-add, .admin-category-export, .admin-category-settings, .admin-category-edit, .admin-category-row-action { border: 0; border-radius: 3px; background: #292a43; color: #c1c8df; font-size: 0.68rem; }
.admin-category-add { min-height: 34px; padding: 0 14px; background: #2d8eff; color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.admin-category-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.admin-category-toolbar label { display: flex; align-items: center; gap: 8px; width: min(280px, 100%); min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; color: #657194; }
.admin-category-toolbar input { width: 100%; border: 0; outline: 0; background: transparent; color: #eef2ff; font-size: 0.68rem; }
.admin-category-toolbar select { min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; background: #25253a; color: #aeb5cd; font-size: 0.68rem; }
.admin-category-export { min-height: 34px; margin-left: auto; padding: 0 12px; }
.admin-category-settings { width: 34px; height: 34px; }
.admin-category-table-wrap { overflow-x: auto; }
.admin-category-table { width: 100%; min-width: 1050px; border-collapse: collapse; color: #abb4ce; font-size: 0.68rem; }
.admin-category-table th { padding: 11px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); color: #808aa7; font-size: 0.59rem; text-align: left; white-space: nowrap; }
.admin-category-table td { height: 52px; padding: 8px; border-bottom: 1px dashed rgba(255,255,255,0.07); white-space: nowrap; }
.admin-category-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.admin-category-name { display: flex; align-items: center; gap: 9px; color: #eef2ff; font-weight: 700; }
.admin-category-name-link { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.admin-category-name-link:hover strong { color: #5daeff; text-decoration: underline; }
.admin-category-view-icon { margin-left: 7px; color: #79a0ff; font-size: 0.9rem; opacity: 0; cursor: pointer; transform: translateX(-4px); transition: opacity 0.15s ease, transform 0.15s ease; }
.admin-category-name:hover .admin-category-view-icon, .admin-category-name:focus-within .admin-category-view-icon { opacity: 1; transform: translateX(0); }
body.admin-category-page .admin-category-name { overflow: visible; }
.admin-category-thumb { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 3px; background: #273d70; color: #b9d5ff; font-size: 0.5rem; }
.admin-category-thumb.valorant { background: #71374d; color: #ffd1df; }
.admin-category-thumb.lol { background: #6d542b; color: #ffe1a1; }
.admin-category-thumb.mlbb { background: #176477; color: #b9f1ff; }
.admin-category-edit { min-height: 28px; padding: 0 10px; }
.admin-category-check { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 3px; background: #2d8eff; color: #fff; font-size: 0.7rem; }
:is(.admin-category-table-wrap, .admin-product-table-wrap, .admin-product-screen-table-wrap, .admin-order-table-wrap, .admin-payment-table-wrap, .admin-customer-table-wrap, .admin-personnel-table-wrap) { overflow-y: hidden; }
.admin-category-check--orange { background: #ffab0a; }
.admin-category-toggle { padding: 0; border: 0; position: relative; display: inline-block; width: 27px; height: 16px; border-radius: 999px; background: #3a3b58; vertical-align: middle; cursor: pointer; }
.admin-category-toggle:focus-visible { outline: 2px solid #70b0ff; outline-offset: 3px; }
.admin-category-toggle i { position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #79819e; }
.admin-category-toggle.is-on { background: #2398ed; }
.admin-category-toggle.is-on i { left: 14px; background: #fff; }
.admin-category-row-action { width: 26px; height: 26px; color: #5daeff; }
.admin-category-page-size { display: inline-flex; align-items: center; gap: 8px; color: #8c96b0; }
.admin-category-page-size select { min-width: 58px; height: 29px; padding: 0 24px 0 10px; border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; outline: 0; background: #25253a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f88a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.75 12 15.5l6-5.75'/%3E%3C/svg%3E") no-repeat right 7px center/11px 11px; background-color: #25253a; color: #eef2ff; font-size: 0.66rem; font-weight: 700; appearance: none; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.admin-category-page-size select:hover { border-color: rgba(45,142,255,0.45); }
.admin-category-page-size select:focus { border-color: #2d8eff; box-shadow: 0 0 0 3px rgba(45,142,255,0.18); }
.admin-category-footer { display: flex; align-items: center; gap: 14px; padding: 12px 0 2px; color: #8992ae; font-size: 0.68rem; }
.admin-category-footer > div { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.admin-category-footer button { border: 0; background: transparent; color: #7782a2; font-size: 0.68rem; }
.admin-category-footer strong { display: inline-grid; width: 24px; height: 24px; place-items: center; border-radius: 4px; background: #2d8eff; color: #fff; }
.admin-category-empty { height: 120px; color: #7f88a4; text-align: center; }
.admin-section-empty h2 { margin: 14px 0 8px; font-size: 1.15rem; }
.admin-section-empty p { margin: 0; color: #858da7; font-size: 0.8rem; }
.admin-section-icon { display: inline-grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: rgba(43,215,131,0.14); color: #2bd783; font-size: 1.3rem; }
body.admin-dashboard-page { background: #12121d; color: #eef2ff; color-scheme: dark; }
body.admin-dashboard-page .admin-dashboard-main { background: #12121d; }
body.admin-page { background: #070d13; color: #eef2ff; color-scheme: dark; }
body.admin-login-page { background: #eef3f8; color: #172033; color-scheme: light; }

/* Pinim storefront palette for the complete administration experience. */
body.admin-dashboard-page {
  --admin-ink: #0d1218;
  --admin-surface: #121b27;
  --admin-surface-raised: #182433;
  --admin-field: #0f1722;
  --admin-line: rgba(255, 255, 255, 0.09);
  --admin-text: #f5f7fa;
  --admin-muted: #9aa9bc;
  --admin-blue: #315eff;
  --admin-gold: #efad00;
  background: var(--admin-ink);
  color: var(--admin-text);
}

body.admin-dashboard-page .admin-dashboard-main,
body.admin-dashboard-page .admin-dashboard-content { background: var(--admin-ink); }
body.admin-dashboard-page .admin-dashboard-sidebar,
body.admin-dashboard-page .admin-dashboard-topbar { background: #0d1218; border-color: var(--admin-line); }
body.admin-dashboard-page .admin-dashboard-search,
body.admin-dashboard-page .admin-topbar-tool,
body.admin-dashboard-page .admin-nav-submenu { background: var(--admin-surface); border-color: var(--admin-line); }
body.admin-dashboard-page .admin-dashboard-search { background: #0d1218; border: 1px solid var(--admin-line); }

body.admin-navigation-settings-page .admin-dashboard-content { max-width: 1180px; margin: 0 auto; }
body.admin-navigation-settings-page .admin-dashboard-title { margin-bottom: 20px; }
body.admin-navigation-settings-page .admin-dashboard-title h1 { font-size: 1.45rem; }
body.admin-navigation-settings-page .admin-navigation-form { gap: 10px; padding-bottom: 0px; }
body.admin-navigation-settings-page .admin-navigation-card { border: 1px solid var(--admin-line); border-radius: 6px; background: var(--admin-surface); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
body.admin-navigation-settings-page .admin-navigation-card summary { min-height: 58px; padding: 11px 15px; }
body.admin-navigation-settings-page .admin-navigation-card summary small { color: #71809c; font-size: 0.58rem; }
body.admin-navigation-settings-page .admin-navigation-card summary strong { color: var(--admin-text); font-size: 0.86rem; }
body.admin-navigation-settings-page .admin-navigation-card summary i { color: #819cff; font-size: 1.1rem; }
body.admin-navigation-settings-page .admin-navigation-card.is-dragging { opacity: 0.4; }
body.admin-navigation-settings-page .admin-navigation-drag-handle { cursor: grab; color: #5c6e91 !important; font-size: 1rem !important; margin-right: 6px; }
body.admin-navigation-settings-page .admin-navigation-drag-handle:active { cursor: grabbing; }
body.admin-navigation-settings-page .admin-navigation-card[open] summary { background: rgba(49,94,255,0.1); border-bottom-color: var(--admin-line); }
body.admin-navigation-settings-page .admin-navigation-card-body { padding: 14px; }
body.admin-navigation-settings-page .admin-navigation-field { color: var(--admin-muted); font-size: 0.62rem; letter-spacing: 0.04em; }
body.admin-navigation-settings-page .admin-navigation-field input { min-height: 36px; border-color: var(--admin-line); border-radius: 4px; background: var(--admin-field); color: var(--admin-text); font-size: 0.68rem; }
body.admin-navigation-settings-page .admin-navigation-items { gap: 10px; margin-top: 12px; }

.admin-navigation-color-input { display: flex; align-items: center; gap: 8px; min-width: 0; }
.admin-navigation-color-input input[type="color"] { flex: 0 0 44px; width: 44px; min-width: 44px; height: 36px; padding: 3px; cursor: pointer; }
.admin-navigation-color-input input[type="text"] { flex: 1 1 auto; min-width: 0; padding: 0 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; text-transform: none; }
.admin-navigation-color-input input[type="text"]:invalid { border-color: rgba(237,76,92,0.65); }
.admin-navigation-color-input input:disabled { opacity: 0.55; cursor: not-allowed; }
body.admin-navigation-settings-page .admin-navigation-item { gap: 9px; padding: 12px; border-color: var(--admin-line); border-radius: 5px; background: #101a27; }
body.admin-navigation-settings-page .admin-navigation-item legend { color: #8da0bf; font-size: 0.62rem; }
body.admin-navigation-settings-page .admin-navigation-icon-upload { min-height: 56px; }
body.admin-navigation-settings-page .admin-navigation-add { min-height: 32px; margin-top: 11px; font-size: 0.66rem; }
body.admin-navigation-settings-page .admin-footer-tree-card { margin-top: 14px; }
body.admin-navigation-settings-page .admin-dashboard-main > .admin-footer-tree-card { width: min(calc(100% - 60px), 1120px); box-sizing: border-box; margin: 0 auto 52px; }
body.admin-navigation-settings-page .admin-dashboard-main > .admin-footer-tree-card + .admin-footer-tree-card { margin-top: 0; }
@media (max-width: 900px) { body.admin-navigation-settings-page .admin-dashboard-main > .admin-footer-tree-card { width: calc(100% - 40px); margin-bottom: 44px; } }
@media (max-width: 540px) { body.admin-navigation-settings-page .admin-dashboard-main > .admin-footer-tree-card { width: calc(100% - 28px); margin-bottom: 36px; } }

@media (min-width: 901px) {
  body.admin-dashboard-page { zoom: 1.11; }
}

body.admin-orders-page :is(.admin-order-empty-card, .admin-order-list-card, .admin-orders-side-panel) {
  background: #121b27;
  border-color: rgba(255, 255, 255, 0.09);
}
body.admin-orders-page :is(.admin-orders-side-toggle, .admin-order-toolbar > button, .admin-order-detail, .admin-order-cancel) {
  background: #182433;
  color: #d7e2f2;
  border-color: rgba(255, 255, 255, 0.09);
}
body.admin-orders-page :is(.admin-orders-side-search, .admin-orders-side-filter, .admin-order-toolbar > input, .admin-order-toolbar select, .admin-order-filters-top select) {
  background: #0f1722;
  color: #f5f7fa;
  border-color: rgba(255, 255, 255, 0.09);
}
body.admin-orders-page :is(.admin-order-heading, .admin-orders-side-empty, .admin-order-empty, .admin-order-empty-footer, .admin-order-list-footer, .admin-order-table td small) { color: #9aa9bc; }
body.admin-orders-page :is(.admin-order-heading strong, .admin-orders-side-heading h2, .admin-order-table td) { color: #f5f7fa; }
body.admin-orders-page :is(.admin-order-empty-table th, .admin-order-table th) { color: #9aa9bc; border-color: rgba(255, 255, 255, 0.09); }
body.admin-orders-page :is(.admin-order-empty-table td, .admin-order-table td, .admin-order-list-footer, .admin-order-empty-footer) { border-color: rgba(255, 255, 255, 0.08); }
body.admin-orders-page .admin-order-table tbody tr:hover { background: rgba(49, 94, 255, 0.07); }

body.admin-category-page .admin-category-toolbar label {
  background: #121b27 !important;
  border-color: rgba(255, 255, 255, 0.09);
}
body.admin-category-page .admin-category-toolbar input {
  background: transparent !important;
}

body.admin-dashboard-page .admin-dashboard-sidebar .admin-dashboard-search {
  background: #0d1218 !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
}
body.admin-dashboard-page .admin-dashboard-sidebar .admin-dashboard-search input {
  background: transparent !important;
}
body.admin-dashboard-page .admin-topbar-tool { background: #121b27 !important; }
body.admin-dashboard-page .admin-dashboard-nav a:hover,
body.admin-dashboard-page .admin-dashboard-nav a.active,
body.admin-dashboard-page .admin-nav-with-submenu:hover > a,
body.admin-dashboard-page .admin-nav-with-submenu:focus-within > a,
body.admin-dashboard-page .admin-nav-with-submenu.is-active > a { background: var(--admin-surface-raised); }
body.admin-dashboard-page .admin-dashboard-nav a.active { box-shadow: inset 3px 0 var(--admin-gold); }
body.admin-dashboard-page .admin-nav-submenu::before { background: var(--admin-surface); }
body.admin-dashboard-page :is(.admin-stat-card, .admin-chart-card, .admin-recent-card, .admin-customer-table-card, .admin-product-list-card, .admin-category-screen-card, .admin-order-empty-card, .admin-order-list-card, .admin-payment-table-card, .admin-orders-side-panel, .admin-product-edit-panel, .admin-product-screen-card, .admin-payment-modal, .admin-operation-modal, .admin-navigation-card, .admin-navigation-item) { background: var(--admin-surface); border-color: var(--admin-line); }
body.admin-dashboard-page :is(input:not([type="color"]), select, textarea, .admin-product-search, .admin-customer-search, .admin-category-toolbar label, .admin-personnel-toolbar label, .admin-navigation-field input) { background-color: var(--admin-field); border-color: var(--admin-line); color: var(--admin-text); }
body.admin-dashboard-page :is(.admin-dashboard-title p, .admin-panel-heading p, .admin-navigation-field, .admin-navigation-item legend, .admin-stat-card span, .admin-stat-card small, .admin-data-empty) { color: var(--admin-muted); }
body.admin-dashboard-page .admin-action-button,
body.admin-dashboard-page .admin-product-add,
body.admin-dashboard-page .admin-category-add,
body.admin-dashboard-page .admin-product-filter-submit,
body.admin-dashboard-page .admin-payment-modal-confirm { background: var(--admin-blue); box-shadow: 0 8px 18px rgba(49, 94, 255, 0.24); }
body.admin-dashboard-page .admin-action-button:hover,
body.admin-dashboard-page .admin-product-add:hover,
body.admin-dashboard-page .admin-category-add:hover { background: #4770ff; }
body.admin-dashboard-page :is(.admin-panel-filter, .admin-see-all, .admin-user-chip a) { color: #79a0ff; }
body.admin-dashboard-page .admin-topbar-tool b { background: var(--admin-gold); color: #171108; }
@media (max-width: 900px) { .admin-stat-grid, .admin-dashboard-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .admin-login-card { padding: 24px; } .admin-dashboard-content { padding: 24px 16px 40px; } .admin-dashboard-topbar { padding: 0 16px; } .admin-topbar-tools { gap: 3px; } .admin-topbar-tool { width: 38px; } .admin-user-chip span:not(.admin-topbar-dot) { display: none; } .admin-dashboard-title, .admin-panel-heading { flex-direction: column; } .admin-stat-grid, .admin-dashboard-panels, .admin-personnel-layout { grid-template-columns: 1fr; } .admin-orders > div { grid-template-columns: 38px 1fr auto; } .admin-orders em { display: none; } }

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 28px 0 48px;
}

.admin-sidebar {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 14px;
}

.admin-logo {
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  color: var(--gold-soft);
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-sidebar nav a {
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 10px;
}

.admin-sidebar nav a.active {
  background: rgba(243,199,79,0.12);
  color: var(--text);
  border: 1px solid rgba(243,199,79,0.25);
}

.admin-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  margin-top: 48px;
  padding: 24px 0 18px;
  color: #95a3c3;
  background: #0c1119;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top-cta {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 192px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: #151b26;
  color: #eef3ff;
}

.footer-cta:hover {
  border-color: rgba(93,148,255,0.55);
  transform: translateY(-1px);
}

.footer-cta-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(33,194,111,0.16);
  color: #26d57e;
  font-size: 0.95rem;
}

.footer-cta--store .footer-cta-icon {
  background: rgba(66,108,255,0.16);
  color: #6d91ff;
}

.footer-cta-copy {
  display: grid;
}

.footer-cta-copy strong {
  color: #f7f9ff;
  font-size: 1.06rem;
  line-height: 1.1;
}

.footer-cta-copy small {
  color: #8f9cc0;
  font-size: 0.77rem;
}

.footer-cta-arrow {
  margin-left: auto;
  color: #90a1c7;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 300px repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h3 {
  margin: 0;
  color: #eef3ff;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.footer-brand-title {
  color: #efad00 !important;
}

.footer-links-columns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-columns a,
.footer-column a {
  color: #96a4c5;
  font-size: 0.97rem;
  transition: color 0.2s ease;
}

.footer-links-columns a:hover,
.footer-column a:hover {
  color: #ffffff;
}

.footer-trust-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  padding: 16px 0;
}

.footer-col-left {
  display: grid;
  justify-content: flex-start;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #eef3ff;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.footer-socials a i { font-size: 1rem; line-height: 1; }

.footer-socials a:hover {
  border-color: rgba(63,146,255,0.6);
  background: rgba(63,146,255,0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8f9dbf;
  font-size: 0.95rem;
}

.footer-dmca {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  color: #d7def1;
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-col-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-badge {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: #e7edff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-col-right {
  display: flex;
  justify-content: flex-end;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.footer-payments span {
  color: #f1f4ff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom a {
  color: #7f8fb2;
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: #f0f4ff;
}

@media (max-width: 1100px) {
  .category-nav { top: 108px; }

  .category-nav > .nav-actions {
    position: static;
    justify-content: flex-start;
    padding: 0 16px 12px;
    transform: none;
  }

  .nav-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .main-header-inner {
    grid-template-columns: 210px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 72px;
    padding: 10px 0;
  }

  .search-wrap {
    width: 100%;
    justify-self: stretch;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .member-profile-card {
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }

  .member-profile-copy,
  .member-profile-arrow {
    display: none;
  }

  .pass-chip {
    min-width: 58px;
    padding: 0 10px;
  }

  .pass-chip::before {
    margin-right: 5px;
  }

  .hero-banner,
  .market-layout,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-list,
  .giveaway-grid,
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top-cta { justify-content: flex-start; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-trust-row { grid-template-columns: 1fr; align-items: flex-start; }
  .footer-col-center, .footer-col-right { justify-content: flex-start; }
  .footer-payments { justify-content: flex-start; }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .main-header-inner {
    grid-template-columns: 220px minmax(220px, 1fr) minmax(0, 410px);
    gap: 12px;
  }

  .member-profile-card {
    min-width: 150px;
  }

  .member-actions-logged {
    gap: 6px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(1400px, calc(100% - 20px));
  }

  .main-header-inner {
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .logo-wrap {
    gap: 8px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    font-size: 1.65rem;
  }

  .logo-main {
    font-size: 1.45rem;
  }

  .logo-sub {
    font-size: 0.75rem;
  }

  .member-actions-logged {
    gap: 5px;
  }

  .quick-action,
  .member-profile-card {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .member-avatar {
    width: 30px;
    height: 30px;
  }

  .pass-chip {
    min-width: 50px;
    min-height: 38px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .pass-chip::before {
    display: none;
  }

  .search-wrap,
  .search-input-shell {
    min-height: 44px;
  }

  .search-wrap input {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .search-wrap button {
    width: 40px;
    height: 44px;
  }
}

@media (max-width: 720px) {
  .home-section-heading { align-items: flex-start; flex-direction: column; }
  .home-section-heading--center { align-items: center; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-card { flex: 0 0 142px; }
  .social-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .home-wrapper { padding-top: 68px; }
  .home-wrapper::before { top: calc(-1 * var(--home-banner-top-offset, 119px)); height: calc(var(--home-banner-top-offset, 119px) + 68px + (296.55px / 2)); }
  .slider-stage-promo { top: 12px; gap: 10px; }
  .slider-stage-promo-copy { gap: 7px; font-size: 0.68rem; }
  .slider-stage-promo-copy img { width: 34px; height: 34px; }
  .slider-stage-promo-action { min-height: 36px; padding: 0 10px; font-size: 0.65rem; }

  .nav-row { padding-right: 0; }
  .category-nav > .nav-actions { position: static; justify-content: stretch; padding: 0 16px 12px; }
  .category-nav > .nav-actions .nav-add-link, .category-nav > .nav-actions .nav-balance-link { flex: 1; }
  .category-nav .nav-row > .nav-actions { position: static; grid-column: 1 / -1; justify-content: stretch; transform: none; }
  .category-nav .nav-row > .nav-actions .nav-add-link, .category-nav .nav-row > .nav-actions .nav-balance-link { flex: 1; }

  .category-modal { padding: 14px; } .category-modal-panel { padding: 20px; max-height: calc(100vh - 28px); } .category-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .category-card { min-height: 68px; font-size: 0.78rem; } .category-card-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 1rem; }

  .hero-banner { width: 464px; max-width: 100%; height: 296.55px; margin: 0 auto; } .hero-slide { grid-template-columns: 1fr; background-image: var(--hero-slide-bg-mobile, var(--hero-slide-bg-desktop)) !important; padding: 0 5%; } .hero-generic-copy { max-width: 100%; } .hero-generic-copy h2 { margin-top: 14px; font-size: 0.85rem; } .hero-generic-copy h1 { font-size: 1.5rem; } .hero-generic-copy p { font-size: 0.78rem; } .hero-generic-action { display: none; } .hero-art { min-height: 190px; } .hero-slide[data-slide="1"] .hero-art::after { right: 10%; bottom: 10%; width: 210px; height: 105px; font-size: 0.85rem; }

  .hero-game-nav { min-height: 76px; }
  .preview-promo-strip { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-promo-strip a { border-right: 0; border-bottom: 1px solid #e3e7ef; }
  .preview-promo-strip a:nth-child(odd) { border-right: 1px solid #e3e7ef; }
  .preview-promo-strip a:nth-last-child(-n + 2):nth-child(odd) { border-bottom: 0; }
  .preview-promo-strip a:last-child:nth-child(odd) { border-right: 0; }
  .preview-promo-strip a:last-child { border-bottom: 0; }
  .hero-game-tab { padding: 8px 6px; }
  .hero-game-logo,
  .hero-nav-site-logo { width: 34px; height: 34px; }

  .dropdown-menu {
    width: 100%;
  }

  .dropdown-menu a {
    flex-basis: calc((100% - 8px) / 2);
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .top-links {
    display: none;
  }

  .nav-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 0;
  }

  .product-grid,
  .product-list,
  .giveaway-grid,
  .market-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .page-header { flex-direction: column; align-items: stretch; }
  .giveaway-create-button { width: 100%; }

  .footer-top-cta { flex-direction: column; }
  .footer-cta { width: 100%; }
  .footer-links-columns { grid-template-columns: 1fr; }
  .footer-col-center { flex-wrap: wrap; }
  .footer-bottom { justify-content: flex-start; flex-wrap: wrap; }

  .hero-copy {
    padding: 28px 20px 20px;
  }

  .product-description-tabs {
    gap: 4px;
    padding: 0 8px;
    overflow-x: auto;
  }

  .product-description-tabs button {
    min-width: 122px;
    font-size: 0.73rem;
  }

  .product-description-panel {
    padding: 14px;
  }

  .product-reviews-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .big-p {
    width: 64px;
    height: 64px;
    font-size: 3.2rem;
  }

  .brand-text-top {
    font-size: 2.2rem;
  }

  .promo-block h1 {
    font-size: 2.6rem;
  }

  .admin-personnel-table-card, .admin-personnel-table-wrap { min-width: 0; }
  .admin-personnel-toolbar { align-items: stretch; flex-direction: column; }
  .admin-personnel-toolbar label { width: 100%; }
  .admin-dashboard-topbar { min-height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .home-product-grid { grid-template-columns: 1fr; }
  .social-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 400px) {
  .member-auth-shell { width: min(100% - 24px, 430px); padding-top: 36px; }
  .member-auth-card { padding: 24px 20px; }
}

/* ===== Mobile app-style header ===== */
.mobile-header-hamburger,
.mobile-header-cart,
.mobile-auth-row,
.mobile-cart-trigger {
  display: none;
}

.mobile-category-drawer {
  display: none;
}

body.mobile-drawer-open {
  overflow: hidden;
}

.mobile-drawer-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-drawer-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #f5f7fa;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-category-drawer {
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
  transition: visibility 0.28s ease;
}

.mobile-category-drawer.open {
  display: block;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 15, 0.32);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-category-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  width: min(414px, calc(100vw - 1px));
  height: 100%;
  background: #11161e;
  box-shadow: 30px 0 60px rgba(15, 23, 42, 0.18);
  transform: translateX(-105%);
  transition: transform 0.25s ease;
}

.mobile-category-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: #ed3232;
  color: #fff;
  font-size: 1rem;
}

.mobile-drawer-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 0 84px;
  width: 84px;
  padding: 54px 0 12px;
  background: #0a0e14;
  overflow-y: auto;
}

.mobile-drawer-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  color: #8a94a8;
  font-size: 0.6rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
}

.mobile-drawer-rail-item.active,
.mobile-drawer-rail-item:hover {
  background: rgba(255,255,255,0.05);
  color: #f5f7fa;
}

.mobile-drawer-rail-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--gold);
  color: #171108;
  font-size: 1rem;
}

.mobile-drawer-rail-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mobile-drawer-rail-icon.all { background: #4160f5; color: #fff; }
.mobile-drawer-rail-icon.pubg { background: #efad00; color: #fff; }
.mobile-drawer-rail-icon.valorant { background: #ff536b; color: #fff; }
.mobile-drawer-rail-icon.social { background: #ff5264; color: #fff; }
.mobile-drawer-rail-icon.lol { background: #b49555; color: #fff; }
.mobile-drawer-rail-icon.cs2 { background: #344b92; color: #fff; }
.mobile-drawer-rail-icon.giveaway { background: #34c98a; color: #071a14; }
.mobile-drawer-rail-icon.market { background: #1b2638; color: #fff; }

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 54px 14px 0;
  overflow-y: auto;
}

.mobile-drawer-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #8a94a8;
}

.mobile-drawer-search i { margin-right: 8px; font-size: 1rem; }

.mobile-drawer-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f5f7fa;
  font-size: 0.8rem;
  outline: none;
}

.mobile-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.mobile-drawer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 12px;
  border-left: 3px solid transparent;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  color: #e7ebf3;
  font-size: 0.78rem;
  font-weight: 600;
}

.mobile-drawer-row span:nth-child(2) { flex: 1; }
.mobile-drawer-row > i { color: #6d7a96; font-size: 1rem; }

.mobile-drawer-row-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.9rem;
}

.mobile-drawer-row-icon img { width: 78%; height: 78%; object-fit: contain; }

.mobile-drawer-row.row-pubg { border-left-color: #efad00; }
.mobile-drawer-row.row-valorant { border-left-color: #ff536b; }
.mobile-drawer-row.row-lol { border-left-color: #b49555; }
.mobile-drawer-row.row-social { border-left-color: #ff5264; }
.mobile-drawer-row.row-cs2 { border-left-color: #344b92; }
.mobile-drawer-row.row-giveaway { border-left-color: #34c98a; }
.mobile-drawer-row.row-market { border-left-color: #1b2638; }

.mobile-drawer-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.mobile-drawer-categories-title {
  color: #8a94a8;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-drawer-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: #f5f7fa;
  font-size: 0.78rem;
  font-weight: 600;
}

.mobile-drawer-category-row:hover { background: rgba(255,255,255,0.09); }
.mobile-drawer-category-row > span:nth-child(2) { flex: 1; min-width: 0; }
.mobile-drawer-category-row i:last-child { color: #8a94a8; font-size: 1rem; }

.mobile-drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: auto;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-drawer-footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #8a94a8;
  font-size: 0.6rem;
  font-weight: 700;
}

.mobile-drawer-footer a i { font-size: 1.1rem; }
.mobile-drawer-footer a:hover { color: #f5f7fa; }

@media (max-width: 640px) {
  body .top-header { display: none; }

  .main-header {
    position: sticky;
    top: 0;
    z-index: 130;
  }

  .main-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "burger logo cart"
      "auth   auth auth";
    align-items: center;
    gap: 10px 12px;
    padding: 10px 0;
  }

  .main-header-inner::before,
  .main-header-inner::after { content: none; display: none; }

  .mobile-header-hamburger {
    grid-area: burger;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
  }

  .mobile-header-cart {
    grid-area: cart;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 176, 32, 0.14);
    border: 1px solid rgba(255, 176, 32, 0.3);
  }

  .logo-wrap {
    grid-area: logo;
    justify-content: center;
  }

  .site-logo-image {
    max-width: 150px;
  }

  .search-wrap.search-shell,
  .header-actions {
    display: none;
  }

  .mobile-auth-row {
    grid-area: auth;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mobile-member-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
  }

  .mobile-member-quick a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-member-quick a i {
    font-size: 1.02rem;
    /* Fill icons have no stroke of their own, so a small text-stroke thickens them. */
    -webkit-text-stroke: 0.6px currentColor;
    paint-order: stroke fill;
  }

  .mobile-balance-link {
    background: #22c55e;
    color: #05230f;
  }

  .mobile-listing-link {
    background: #efad00;
    color: #241a00;
  }

  .mobile-member-tools {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-quick-action {
    position: relative;
    width: 32px;
    min-height: 32px;
    height: 32px;
    padding: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
  }

  .mobile-auth-row .mobile-auth-link,
  .mobile-auth-row .mobile-member-profile {
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.72rem;
  }

  .mobile-auth-row .mobile-member-profile {
    min-width: 0;
    gap: 7px;
    padding: 0 12px 0 5px;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.09);
    color: var(--text);
  }

  .mobile-auth-row .mobile-member-profile .member-profile-copy strong {
    font-size: 0.72rem;
    font-weight: 800;
  }

  .mobile-auth-row .mobile-member-profile .member-avatar { width: 24px; height: 24px; }

  .mobile-auth-row .mobile-auth-link::before {
    display: none;
  }

  .mobile-cart-trigger {
    display: inline-grid;
    place-items: center;
    width: 34px;
    min-height: 34px;
    height: 34px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .mobile-quick-action::before {
    filter: brightness(1.9) saturate(0.2);
  }

  .mobile-category-drawer {
    display: block;
  }

  .notification-panel,
  .message-panel,
  .cart-panel {
    top: 0;
    z-index: 150;
    height: 100vh;
    height: 100dvh;
  }

  .notification-panel-backdrop,
  .message-panel-backdrop,
  .cart-panel-backdrop {
    top: 0;
    z-index: 140;
  }

  .category-nav .nav-row .nav-actions {
    display: none;
  }

  .category-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .admin-topbar-tool--payments { width: 76px; }
  .admin-customer-breadcrumb { flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
  .admin-customer-toolbar { align-items: stretch; flex-wrap: wrap; }
  .admin-customer-search { width: 100%; }
  .admin-customer-toolbar-actions { width: 100%; margin-left: 0; }
  .admin-customer-toolbar-actions button { flex: 1; }
  .admin-customer-table-footer { align-items: flex-start; flex-direction: column; }
  .admin-payment-heading { flex-wrap: wrap; }
  .admin-payment-filters-top { position: static; flex-direction: column; margin-top: 10px; }
  .admin-payment-filters-top select { width: 100%; }
  .admin-payment-toolbar { align-items: stretch; flex-wrap: wrap; }
  .admin-payment-toolbar > input, .admin-payment-toolbar > input:nth-of-type(2) { width: calc(50% - 4px); }
  .admin-payment-toolbar-right { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .admin-payment-toolbar-right input, .admin-payment-toolbar-right select { flex: 1 1 140px; width: auto; }
  .admin-payment-advanced-panel { width: min(330px, calc(100vw - 32px)); grid-template-columns: 1fr; }
  .admin-payment-table-footer { align-items: flex-start; flex-direction: column; }
  .admin-order-heading { flex-wrap: wrap; }
  .admin-order-filters-top { position: static; flex-direction: column; margin-top: 10px; }
  .admin-order-filters-top select { width: 100%; }
  .admin-order-toolbar { align-items: stretch; flex-wrap: wrap; }
  .admin-order-toolbar > input, .admin-order-toolbar > input:nth-of-type(2) { width: calc(50% - 4px); }
  .admin-order-toolbar > div { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .admin-order-toolbar > div select { flex: 1 1 140px; width: auto; }
  .admin-order-empty-footer, .admin-order-list-footer { align-items: flex-start; flex-direction: column; }
  .admin-orders-side-panel { width: min(305px, calc(100vw - 32px)); min-height: 500px; }
}

.product-detail-art .product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.product-detail-art {
  overflow: hidden;
}

/* Urun detay - mobil duzen (hesap.com.tr referans akisi):
   gorsel ustte kare, altinda baslik/meta, rozetler ve tam genislikte satin alma. */
@media (max-width: 900px) {
  .product-detail-shell { padding: 10px 0 30px; }
  .product-breadcrumb { flex-wrap: wrap; gap: 5px; margin-bottom: 12px; font-size: 0.68rem; }
  .product-detail-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 12px; box-shadow: 0 10px 26px rgba(35,45,68,0.07); }
  .product-detail-art { min-height: 0; aspect-ratio: 1 / 1; width: 100%; border-radius: 10px; }
  .product-detail-art .product-detail-image, .product-detail-image { border-radius: 10px; }
  .product-favorite { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 1.3rem; }
  .product-detail-info { gap: 12px; }
  .product-detail-topline { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-title-block { gap: 10px; }
  .product-game-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 10px; font-size: 1.35rem; }
  .product-title-block h1 { font-size: 1.05rem; line-height: 1.32; }
  .product-meta-chips { flex-wrap: wrap; gap: 7px; margin-left: 0; }
  .product-rating, .product-seller { padding: 6px 10px; font-size: 0.68rem; }
  .product-delivery-note { margin-top: 0; font-size: 0.78rem; }
  .product-urgency { min-height: 38px; font-size: 0.72rem; }
  .product-badges { gap: 6px; }
  .product-badges span { padding: 6px 8px; font-size: 0.62rem; }
  .product-purchase-panel { flex-wrap: wrap; gap: 10px; margin-top: 4px; padding: 12px; border-radius: 10px; }
  .product-price { width: 100%; margin-right: 0; }
  .product-quantity { flex: 0 0 auto; gap: 12px; min-height: 42px; }
  .product-cart-button { width: 42px; height: 42px; flex: 0 0 42px; }
  .product-buy-button { flex: 1 1 auto; min-width: 0; padding: 0 14px; }
  .product-description-card { margin-top: 14px; border-radius: 12px; }
  .product-description-tabs { min-height: 46px; padding: 0 8px; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .product-description-tabs::-webkit-scrollbar { display: none; }
  .product-description-tabs button { white-space: nowrap; font-size: 0.74rem; }
  .product-description-panel { padding: 16px 14px; }
  .product-reviews-grid { grid-template-columns: 1fr; gap: 10px; }
  .product-howto-list { font-size: 0.8rem; }
}

.admin-category-actions { position: relative; display: inline-block; }
.admin-category-row-action { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 30px; }
.admin-category-row-action svg { display: block; width: 13px; height: 13px; color: currentColor; }
.admin-category-action-menu { position: absolute; top: calc(100% + 5px); right: 0; z-index: 20; display: grid; width: 105px; padding: 5px; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; background: #25253a; box-shadow: 0 14px 28px rgba(0,0,0,0.35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease; }
.admin-category-action-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.admin-category-action-menu a, .admin-category-action-menu button { min-height: 30px; padding: 0 8px; border: 0; border-radius: 3px; background: transparent; color: #b9c5e4; font-size: 0.68rem; text-align: left; text-decoration: none; }
.admin-category-action-menu a:hover, .admin-category-action-menu button:hover { background: #363653; color: #fff; }
.admin-category-action-menu button:hover { color: #ff7878; }
.admin-category-order-popover { position: absolute; top: calc(100% + 5px); right: 0; z-index: 25; width: 190px; padding: 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 5px; background: #25253a; box-shadow: 0 14px 28px rgba(0,0,0,0.4); }
.admin-category-order-popover[hidden] { display: none; }
.admin-category-order-popover label { display: grid; gap: 6px; color: #9ca6c1; font-size: 0.66rem; font-weight: 700; }
.admin-category-order-popover input { min-height: 32px; padding: 0 9px; border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; outline: 0; background: #1f2032; color: #eef2ff; font-size: 0.7rem; }
.admin-category-order-popover-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.admin-category-order-popover-actions button { min-height: 28px; padding: 0 10px; border: 0; border-radius: 3px; font-size: 0.66rem; font-weight: 700; cursor: pointer; }
.admin-category-order-popover-actions button[data-category-order-cancel] { background: #2f3049; color: #b9c5e4; }
.admin-category-order-popover-actions button[type="submit"] { background: #2d8eff; color: #fff; }
.admin-category-status-form { display: inline-block; margin: 0; }
.admin-category-modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(4,6,12,0.72); }
.admin-category-modal { position: fixed; top: 50%; left: 50%; z-index: 210; width: min(620px, calc(100vw - 32px)); padding: 24px; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; background: #1d1d2d; color: #eef2ff; box-shadow: 0 25px 70px rgba(0,0,0,0.45); transform: translate(-50%, -50%); }
.admin-category-modal[hidden], .admin-category-modal-backdrop[hidden] { display: none; }
.admin-category-modal header, .admin-category-modal footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-category-modal header { padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.admin-category-modal h2 { margin: 5px 0; font-size: 1.05rem; }
.admin-category-modal p { margin: 0; color: #8992ae; font-size: 0.72rem; }
.admin-category-modal header > button { border: 0; background: transparent; color: #9ca6c1; font-size: 1.4rem; cursor: pointer; }
.admin-category-modal-tabs { display: flex; gap: 18px; padding: 15px 0 10px; border-bottom: 1px solid rgba(255,255,255,0.07); color: #7f88a4; font-size: 0.7rem; }
.admin-category-modal-tabs strong { padding-bottom: 9px; border-bottom: 2px solid #2d8eff; color: #3ca3ff; }
.admin-category-modal form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 20px; }
.admin-category-modal label { display: grid; gap: 7px; color: #b7c0d8; font-size: 0.72rem; font-weight: 700; }
.admin-category-modal label em { color: #ff6d75; font-style: normal; }
.admin-category-modal input, .admin-category-modal select { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; outline: 0; background: #1f2032; color: #eef2ff; font-size: 0.72rem; }
.admin-category-modal-media { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 10px; border: 1px dashed rgba(255,255,255,0.14); border-radius: 4px; color: #7f88a4; }
.admin-category-modal-media > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 4px; background: #292b43; color: #5daeff; font-size: 1.2rem; }
.admin-category-modal-media strong, .admin-category-modal-media small { display: block; }
.admin-category-modal-media strong { color: #e8edff; font-size: 0.72rem; }
.admin-category-modal-media small { margin-top: 4px; font-size: 0.62rem; }
.admin-category-modal footer { grid-column: 1 / -1; justify-content: flex-end; padding-top: 8px; }
.admin-category-modal footer button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 3px; font-size: 0.7rem; font-weight: 700; cursor: pointer; }
.admin-category-modal-cancel { background: #292b43; color: #b9c5e4; }
.admin-category-modal-save { background: #2d8eff; color: #fff; }

@media (max-width: 640px) {
  .admin-category-modal form { grid-template-columns: 1fr; }
  .admin-category-modal-media, .admin-category-modal footer { grid-column: auto; }
  .admin-category-modal-tabs { gap: 10px; overflow-x: auto; white-space: nowrap; }
}

.admin-category-edit-content { max-width: 1080px; margin: 0 auto; }
.admin-category-edit-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.admin-category-edit-heading h1 { margin: 0; color: #f4f6ff; font-size: 1.1rem; }
.admin-category-edit-actions { display: flex; gap: 8px; }
.admin-category-edit-secondary, .admin-category-edit-save { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 0; border-radius: 3px; font-size: 0.7rem; font-weight: 800; text-decoration: none; }
.admin-category-edit-secondary { background: #292b43; color: #b9c5e4; }
.admin-category-edit-save { background: #2d8eff; color: #fff; cursor: pointer; }
.admin-category-edit-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border: 1px solid rgba(255,255,255,0.08); border-radius: 5px; background: #111a27; }
.admin-category-edit-tabs button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 4px; background: transparent; color: #8b94b3; font-size: 0.68rem; white-space: nowrap; cursor: pointer; }
.admin-category-edit-tabs button:hover { background: rgba(255,255,255,0.045); color: #dce7fa; }
.admin-category-edit-tabs button.is-active { background: rgba(49,94,255,0.17); color: #8eacff; box-shadow: inset 0 0 0 1px rgba(95,133,255,0.3); }
.admin-category-edit-panel { margin-top: 6px; padding: 0 16px 6px; border: 1px solid rgba(255,255,255,0.07); border-radius: 5px; background: #121c29; box-shadow: 0 8px 18px rgba(0,0,0,0.1); }
.admin-category-edit-panel > header { margin: 0 -16px 5px; padding: 6px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.015); }
.admin-category-edit-panel h2 { margin: 0 0 4px; color: #f0f3ff; font-size: 0.88rem; }
.admin-category-edit-panel header p { margin: 0; color: #7f88a4; font-size: 0.66rem; }
.admin-category-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-category-edit-field { display: grid; gap: 5px; margin-bottom: 7px; color: #9ca6c1; font-size: 0.68rem; font-weight: 700; }
.admin-category-edit-field--wide { grid-column: 1 / -1; }
.admin-category-edit-field em { color: #ff6d75; font-style: normal; }
.admin-category-edit-field input, .admin-category-edit-field select, .admin-category-edit-field textarea { width: 100%; min-height: 36px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; outline: 0; background: #1f2032; color: #eef2ff; font-size: 0.72rem; }
.admin-category-edit-field textarea { min-height: 96px; padding: 10px; resize: vertical; }
.admin-category-media-field { min-width: 0; }
.admin-category-image-upload, .admin-category-media-empty { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 64px; padding: 8px; border: 1px dashed rgba(111,148,255,0.48); border-radius: 5px; background: linear-gradient(105deg, rgba(49,94,255,0.16), rgba(15,23,34,0.65) 56%); cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease; }
.admin-category-image-upload:hover, .admin-category-image-upload:focus-within { border-color: #7d9fff; background: linear-gradient(105deg, rgba(49,94,255,0.23), rgba(15,23,34,0.8) 56%); }
.admin-category-upload-preview, .admin-category-media-empty > span { display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; border: 1px solid rgba(147,177,255,0.34); border-radius: 5px; background: #15243a center / cover no-repeat; color: #9cb4ff; font-size: 0.9rem; }
.admin-category-image-upload strong, .admin-category-image-upload small, .admin-category-media-empty strong, .admin-category-media-empty small { display: block; }
.admin-category-upload-copy { display: grid; min-width: 0; gap: 3px; }
.admin-category-image-upload strong, .admin-category-media-empty strong { overflow: hidden; color: #eef3ff; font-size: 0.72rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-category-image-upload small, .admin-category-media-empty small { margin-top: 3px; color: #96a5c2; font-size: 0.58rem; font-weight: 400; }
.admin-category-image-upload input { position: absolute; inset: 0; width: 100%; min-height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.admin-category-icon-upload { border-color: rgba(239,173,0,0.28); }
.admin-category-icon-upload .admin-category-upload-preview { background-color: #292519; color: #f4c657; }

@media (max-width: 700px) {
  .admin-category-edit-heading { align-items: flex-start; flex-direction: column; }
  .admin-category-edit-grid { grid-template-columns: 1fr; }
  .admin-category-edit-field--wide { grid-column: auto; }
}

/* Shared Pinim dark defaults for every administration screen. */
body.admin-dashboard-page {
  --admin-ink: #0d1218;
  --admin-surface: #121b27;
  --admin-surface-raised: #182433;
  --admin-field: #0f1722;
  --admin-line: rgba(255, 255, 255, 0.09);
  --admin-text: #f5f7fa;
  --admin-muted: #9aa9bc;
  --admin-blue: #315eff;
  --admin-blue-hover: #4770ff;
  --admin-gold: #efad00;
  background: var(--admin-ink);
  color: var(--admin-text);
  color-scheme: dark;
}

body.admin-dashboard-page :is(.admin-dashboard-main, .admin-dashboard-content) { background: var(--admin-ink); }
body.admin-dashboard-page :is(.admin-stat-card, .admin-chart-card, .admin-recent-card, .admin-customer-table-card, .admin-product-list-card, .admin-product-screen-card, .admin-product-edit-panel, .admin-category-screen-card, .admin-category-edit-panel, .admin-order-empty-card, .admin-order-list-card, .admin-orders-side-panel, .admin-payment-table-card, .admin-payment-modal, .admin-operation-modal, .admin-category-modal, .admin-category-action-menu, .admin-category-order-popover) { background: var(--admin-surface); border-color: var(--admin-line); }
body.admin-dashboard-page :is(.admin-dashboard-search, .admin-topbar-tool, .admin-product-search, .admin-customer-search, .admin-category-toolbar label, .admin-personnel-toolbar label, .admin-product-image-upload, .admin-category-image-upload, .admin-category-media-empty, .admin-product-action-menu, .admin-payment-advanced-panel, .admin-payment-action-options) { background: var(--admin-surface-raised); border-color: var(--admin-line); }
body.admin-dashboard-page :is(input:not([type="file"]):not([type="checkbox"]):not([type="radio"]), select, textarea, .admin-product-toolbar select, .admin-product-filters select, .admin-payment-toolbar > input, .admin-payment-toolbar select, .admin-order-toolbar > input, .admin-order-toolbar select, .admin-order-filters-top select, .admin-payment-filters-top select, .admin-category-page-size select, .admin-product-page-size select, .admin-page-size-form select) { background-color: var(--admin-field); border-color: var(--admin-line); color: var(--admin-text); }
body.admin-dashboard-page :is(input, select, textarea):focus { border-color: var(--admin-blue); box-shadow: 0 0 0 3px rgba(49, 94, 255, 0.16); }
body.admin-dashboard-page :is(.admin-dashboard-title p, .admin-panel-heading p, .admin-product-breadcrumb, .admin-category-breadcrumb, .admin-order-heading, .admin-payment-heading, .admin-stat-card span, .admin-stat-card small, .admin-data-empty, .admin-product-empty, .admin-category-empty, .admin-customer-empty, .admin-order-empty, .admin-payment-empty, .admin-section-empty p) { color: var(--admin-muted); }
body.admin-dashboard-page :is(.admin-dashboard-title h1, .admin-panel-heading h2, .admin-product-screen-title h1, .admin-product-edit-heading h1, .admin-category-edit-heading h1, .admin-category-edit-panel h2, .admin-category-heading h2, .admin-orders-side-heading h2, .admin-payment-modal h2, .admin-category-modal h2, .admin-product-cell strong, .admin-category-name, .admin-customer-table td strong, .admin-product-table td strong, .admin-order-table td strong, .admin-personnel-table td strong) { color: var(--admin-text); }
body.admin-dashboard-page :is(.admin-action-button, .admin-product-add, .admin-category-add, .admin-category-edit-save, .admin-product-edit-save, .admin-product-filter-submit, .admin-payment-modal-confirm, .admin-category-modal-save, .admin-category-order-popover-actions button[type="submit"]) { background: var(--admin-blue); color: #ffffff; box-shadow: 0 8px 18px rgba(49, 94, 255, 0.22); }
body.admin-dashboard-page :is(.admin-action-button, .admin-product-add, .admin-category-add, .admin-category-edit-save, .admin-product-edit-save, .admin-product-filter-submit, .admin-payment-modal-confirm, .admin-category-modal-save, .admin-category-order-popover-actions button[type="submit"]):hover { background: var(--admin-blue-hover); }
body.admin-dashboard-page :is(.admin-product-edit-secondary, .admin-category-edit-secondary, .admin-product-export, .admin-product-settings, .admin-product-refresh, .admin-product-row-action, .admin-product-action, .admin-category-export, .admin-category-settings, .admin-category-edit, .admin-category-row-action, .admin-customer-edit, .admin-customer-filter, .admin-customer-toolbar-actions button, .admin-payment-toolbar > button, .admin-payment-modal-secondary, .admin-order-detail, .admin-order-cancel, .personnel-action) { background: var(--admin-surface-raised); color: #d7e2f2; }
body.admin-dashboard-page :is(.admin-product-edit-secondary, .admin-category-edit-secondary, .admin-product-export, .admin-product-settings, .admin-product-refresh, .admin-product-row-action, .admin-product-action, .admin-category-export, .admin-category-settings, .admin-category-edit, .admin-category-row-action, .admin-customer-edit, .admin-customer-filter, .admin-customer-toolbar-actions button, .admin-payment-toolbar > button, .admin-payment-modal-secondary, .admin-order-detail, .admin-order-cancel, .personnel-action):hover { background: #223149; color: #ffffff; }
body.admin-dashboard-page :is(.admin-product-pagination strong, .admin-customer-table-footer b, .admin-payment-table-footer b, .admin-category-footer strong, .admin-personnel-footer strong) { background: var(--admin-blue); color: #ffffff; }
body.admin-dashboard-page :is(.admin-product-edit-tabs button.is-active, .admin-category-edit-tabs button.is-active, .admin-payment-tabs button.is-active) { border-color: var(--admin-gold); color: #ffd45f; }
body.admin-dashboard-page :is(.admin-product-table tbody tr:hover, .admin-customer-table tbody tr:hover, .admin-customer-full-table tbody tr:hover, .admin-category-table tbody tr:hover, .admin-order-table tbody tr:hover, .admin-payment-table tbody tr:hover) { background: rgba(49, 94, 255, 0.07); }

body.admin-dashboard-page .admin-customer-search { background-color: var(--admin-field) !important; }
body.admin-dashboard-page .admin-customer-search input { background-color: transparent !important; }

.category-store-page { background: #f4f6f9; }
body.category-store-page main.category-store {
  background: transparent;
  box-shadow: none;
}
.category-store { padding-top: 26px; padding-bottom: 64px; }
.category-store-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #718096; font-size: 0.76rem; }
.category-store-breadcrumb a:hover { color: #315eff; }
.category-store-breadcrumb strong { color: #253146; font-weight: 700; }
.category-store-hero { position: relative; display: grid; min-height: 312px; overflow: hidden; padding: 28px 30px 40px; border-radius: 10px; background: linear-gradient(115deg, #0a1221, #172d52); color: #ffffff; box-shadow: 0 14px 28px rgba(15, 30, 55, 0.18); text-align: center; }
.category-store-hero-pattern { position: absolute; inset: 0; opacity: 0.22; background: linear-gradient(135deg, transparent 45%, rgba(70, 111, 192, 0.55)), repeating-linear-gradient(125deg, transparent 0 50px, rgba(255,255,255,0.06) 51px 52px); }
.category-store-hero-content { position: relative; display: grid; justify-items: center; align-content: center; }
.category-store-game-mark { display: grid; width: 72px; height: 72px; place-items: center; margin-bottom: 17px; border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; background: rgba(255,255,255,0.1); }
.category-store-game-mark img { width: 52px; height: 52px; object-fit: contain; filter: brightness(0) invert(1); }
.category-store-hero span, .category-store-section-heading > div > span { color: #f6bf4b; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; }
.category-store-hero h1 { margin: 0 0 10px; font-size: clamp(1.55rem, 3vw, 2.4rem); letter-spacing: 0; }
.category-store-hero p { max-width: 680px; margin: 0; color: #d8e3f6; font-size: 0.85rem; line-height: 1.6; }
.category-store-search { display: flex; align-items: center; width: min(600px, 100%); min-height: 56px; margin-top: 29px; padding: 0 16px; border: 1px solid rgba(194, 211, 239, 0.27); border-radius: 10px; background: rgba(16, 26, 43, 0.72); color: #aebdd2; text-align: left; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.category-store-search:focus-within { border-color: #6e91ff; box-shadow: 0 0 0 3px rgba(49,94,255,0.2); }
.category-store-search i { margin-right: 14px; font-size: 1.25rem; }
.category-store-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #ffffff; font-size: 0.9rem; font-weight: 600; }
.category-store-search input::placeholder { color: #99a8bd; }
.category-store-tabs { display: flex; justify-content: center; gap: 12px; overflow-x: auto; padding: 15px 0; background: #f4f6f9; box-shadow: none !important; }
.category-store-tab { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; min-width: 136px; min-height: 50px; padding: 8px 18px; border: 1px solid #dde4ee; border-radius: 10px; background: #ffffff; color: #7c899b; font-size: 0.8rem; font-weight: 800; transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease; }
.category-store-tab-icon { display: grid; width: 24px; height: 24px; overflow: hidden; place-items: center; border-radius: 5px; background: #f1f4f9; color: #718096; font-size: 1rem; line-height: 1; }
.category-store-tab-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.category-store-tab:hover { border-color: #bfcde2; color: #2d405c; }
.category-store-tab.is-active { border-color: #315eff; background: #315eff; color: #ffffff; box-shadow: 0 10px 20px rgba(49, 94, 255, 0.26); }
.category-store-tab.is-active .category-store-tab-icon { background: rgba(255,255,255,0.12); }
.category-store-products, .category-store-info, .category-store-faq { margin-top: 16px; }
.category-store-products { background: #f4f6f9; box-shadow: none !important; }
.category-store-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 11px; }
.category-store-section-heading h2 { margin: 4px 0 0; color: #202b3d; font-size: 1.12rem; }
.category-store-section-heading > p { margin: 0; color: #7a879a; font-size: 0.75rem; }
.category-store-product-list { display: grid; gap: 8px; }
.category-store-product { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; padding: 14px 16px; border: 1px solid #e2e7ef; border-radius: 7px; background: #ffffff; box-shadow: 0 3px 10px rgba(20, 34, 56, 0.025); }
.category-store-product-main { display: flex; align-items: center; min-width: 0; gap: 12px; }
.category-store-product-icon { display: block; width: 54px; height: 54px; flex: 0 0 54px; overflow: hidden; border-radius: 8px; background: transparent; }
.category-store-product-icon img { display: block; width: 100%; height: 100%; object-fit: cover; filter: none; }
.category-store-product-main strong, .category-store-product-main small { display: block; }
.category-store-product-main strong { overflow: hidden; color: #202b3d; font-size: 0.93rem; text-overflow: ellipsis; white-space: nowrap; }
.category-store-product-main small { margin-top: 5px; color: #7c899b; font-size: 0.78rem; }
.category-store-product-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.category-store-price { display: grid; justify-items: end; gap: 2px; }
.category-store-price small { color: #a0acbc; font-size: 0.72rem; text-decoration: line-through; }
.category-store-price strong { color: #16a765; font-size: 1.15rem; }
.category-store-cart { display: inline-flex; align-items: center; justify-content: center; width: 46px; min-width: 46px; min-height: 46px; padding: 0; border: 0; border-radius: 7px; background: #eef1ff; color: #315eff; font-size: 1.15rem; }
.category-store-cart:hover, .category-store-cart.is-added { background: #dfe6ff; }
.category-store-buy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 118px; min-height: 46px; padding: 0 18px; border-radius: 7px; background: #efad00; color: #ffffff; font-size: 0.82rem; font-weight: 800; }
.category-store-buy:hover { background: #ffc83d; }
.category-store-qty { display: none; }
.category-store-empty { padding: 42px; border: 1px dashed #ccd6e4; border-radius: 7px; color: #738095; text-align: center; }
.category-store-search-empty { margin-top: 10px; padding: 26px; border: 1px dashed #ccd6e4; border-radius: 7px; color: #738095; text-align: center; }
.category-store-info { overflow: hidden; border: 1px solid #e0e6ef; border-radius: 7px; background: #ffffff; }
.category-store-info-tabs { display: flex; gap: 20px; padding: 0 20px; border-bottom: 1px solid #e8edf3; }
.category-store-info-tabs button { min-height: 42px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #7a879a; font-size: 0.73rem; font-weight: 700; }
.category-store-info-tabs button.is-active { border-color: #315eff; color: #315eff; }
.category-store-info article { padding: 20px; color: #5f6e82; font-size: 0.78rem; line-height: 1.75; }
.category-store-info h2, .category-store-info h3 { color: #233047; }
.category-store-info h2 { margin: 0 0 10px; font-size: 1rem; }
.category-store-info h3 { margin: 18px 0 5px; font-size: 0.87rem; }
.category-store-info p { margin: 0; }
.category-store-faq details { margin-top: 7px; border: 1px solid #e0e6ef; border-radius: 6px; background: #ffffff; }
.category-store-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 0 16px; cursor: pointer; color: #263247; font-size: 0.77rem; font-weight: 700; list-style: none; }
.category-store-faq summary::-webkit-details-marker { display: none; }
.category-store-faq summary i { color: #315eff; font-size: 1.05rem; transition: transform 0.2s ease; }
.category-store-faq details[open] summary i { transform: rotate(45deg); }
.category-store-faq details p { margin: 0; padding: 0 16px 16px; color: #6e7c90; font-size: 0.75rem; line-height: 1.65; }
@media (max-width: 720px) { .category-store { padding-top: 18px; padding-bottom: 42px; } .category-store-hero { min-height: 290px; padding: 24px 18px 28px; } .category-store-game-mark { width: 56px; height: 56px; margin-bottom: 13px; border-radius: 12px; } .category-store-game-mark img { width: 40px; height: 40px; } .category-store-hero h1 { font-size: 1.35rem; } .category-store-hero p { font-size: 0.76rem; } .category-store-search { min-height: 48px; margin-top: 20px; } .category-store-tabs { justify-content: flex-start; gap: 8px; } .category-store-tab { min-width: 122px; min-height: 46px; padding: 7px 12px; font-size: 0.72rem; }.category-store-product-list { gap: 12px; } .category-store-product { display: block; min-height: 0; gap: 0; padding: 12px 12px 0; border-radius: 12px; } .category-store-product-main { align-items: flex-start; gap: 11px; padding-bottom: 12px; } .category-store-product-icon { width: 56px; height: 56px; flex-basis: 56px; border-radius: 10px; } .category-store-product-icon img { width: 100%; height: 100%; } .category-store-product-main strong { font-size: 0.87rem; white-space: normal; } .category-store-product-main small { display: block; margin-top: 4px; font-size: 0.73rem; } .category-store-product-actions { gap: 8px; justify-content: space-between; flex-wrap: nowrap; padding: 11px 0; border-top: 1px solid #eef1f6; } .category-store-price { justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 5px; flex: 0 0 auto; white-space: nowrap; } .category-store-price strong { order: 1; font-size: 1rem; white-space: nowrap; } .category-store-price small { display: block; order: 2; font-size: 0.7rem; white-space: nowrap; } .category-store-qty { display: inline-flex; align-items: center; gap: 0; height: 38px; flex: 0 0 auto; padding: 0 2px; border-radius: 9px; background: #f1f3f7; } .category-store-qty button { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #55617a; font-size: 1rem; } .category-store-qty button:active { background: #e2e7ef; } .category-store-qty span { min-width: 22px; color: #202b3d; font-size: 0.84rem; font-weight: 700; text-align: center; } .category-store-cart { width: 38px; min-width: 38px; min-height: 38px; border-radius: 9px; font-size: 1.05rem; } .category-store-buy { flex: 0 1 auto; min-width: 0; min-height: 38px; gap: 5px; padding: 0 10px; border-radius: 9px; font-size: 0.72rem; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; } .category-store-buy i { font-size: 0.95rem; } }

/* ---- Banner İtem Listesi 2 (Popüler Oyunlar) ---- */
.popular-games { display: grid; grid-template-columns: 260px 1fr; gap: 18px; margin: 26px 0 0; box-sizing: border-box; }
.popular-games::before, .popular-games::after { content: none; display: none; }
.popular-games-rail { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #dce2ec; border-radius: 14px; background: #ffffff; align-self: start; }
.popular-games-rail-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: #62718a; margin-bottom: 2px; }
.popular-games-tab { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--pg-solid, #f5a524) 22%, #ffffff); background-color: #ffffff; background-image: linear-gradient(0deg, color-mix(in srgb, var(--pg-solid, #f5a524) 7%, #ffffff), color-mix(in srgb, var(--pg-solid, #f5a524) 7%, #ffffff)); transition: background-image 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.popular-games-tab-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 10px 4px 10px 10px; background: none; border: 0; cursor: pointer; font: inherit; color: color-mix(in srgb, var(--pg-solid, #f5a524) 72%, #4a3a12); text-align: left; }
.popular-games-tab-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; overflow: hidden; background: var(--pg-solid, #f5a524); border: 1px solid color-mix(in srgb, var(--pg-solid, #f5a524) 70%, #ffffff); }
.popular-games-tab-icon img { width: 20px; height: 20px; object-fit: contain; }
.popular-games-tab-name { font-size: 0.9rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popular-games-tab-go { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; flex: none; border-radius: 50%; color: #ffffff; background: var(--pg-solid, #f5a524); border: 1px solid color-mix(in srgb, var(--pg-solid, #f5a524) 70%, #ffffff); text-decoration: none; font-size: 0.95rem; transition: background 0.25s ease, color 0.25s ease; }
.popular-games-tab-go:hover { background: color-mix(in srgb, var(--pg-solid, #f5a524) 80%, #1b2432); }
.popular-games-tab.is-active { background-image: linear-gradient(0deg, color-mix(in srgb, var(--pg-solid, #f5a524) 26%, #ffffff), color-mix(in srgb, var(--pg-solid, #f5a524) 26%, #ffffff)); border-color: var(--pg-solid, #f5a524); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--pg-solid, #f5a524) 65%, transparent); transform: translateY(-1px); }
.popular-games-tab.is-active .popular-games-tab-main { color: color-mix(in srgb, var(--pg-solid, #f5a524) 82%, #2a1c05); }
.popular-games-panels { min-width: 0; }
.popular-games-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.popular-games-panel[hidden] { display: none; }
.popular-games-empty { grid-column: 1 / -1; margin: 0; padding: 28px; text-align: center; color: #62718a; border: 1px dashed #dce2ec; border-radius: 14px; background: #ffffff; }
.popular-games-product { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #dce2ec; border-radius: 14px; background: #ffffff; }
.popular-games-product-link { display: contents; text-decoration: none; color: inherit; }
.popular-games-product-thumb { width: 46px; height: 46px; aspect-ratio: 1 / 1; flex: none; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: #f2f5fa; }
.popular-games-product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.popular-games-product-name { font-size: 0.86rem; font-weight: 700; color: #1b2432; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-games-product-price { display: grid; justify-items: end; gap: 1px; font-size: 0.86rem; font-weight: 800; color: #17a85a; white-space: nowrap; }
.popular-games-product-price del { font-size: 0.7rem; font-weight: 600; color: #97a2b5; }
.popular-games-product-price strong { font-size: 0.86rem; font-weight: 800; color: inherit; }
.popular-games-qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid #dce2ec; border-radius: 9px; overflow: hidden; }
.popular-games-qty button { width: 26px; height: 30px; border: 0; background: none; color: #d18a10; font-size: 1rem; line-height: 1; cursor: pointer; }
.popular-games-qty button:disabled { color: #97a2b5; cursor: default; }
.popular-games-qty span { min-width: 22px; text-align: center; font-size: 0.85rem; font-weight: 700; color: #1b2432; }
.popular-games-cart { width: 34px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; background: rgba(245, 165, 36, 0.18); color: #b8790c; font-size: 1rem; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.popular-games-cart:hover { background: rgba(245, 165, 36, 0.32); }
.popular-games-cart.is-added { background: rgba(23, 168, 90, 0.18); color: #17a85a; transform: scale(1.06); }
.popular-games-all { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 10px 16px; border: 1px dashed #f3c451; border-radius: 14px; background: #fdf6e4; color: #b8790c; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.popular-games-all:hover { background: #fbeecd; border-color: #efad00; color: #9c6708; }
.popular-games-all i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffffff; color: #efad00; box-shadow: 0 2px 8px rgba(239, 173, 0, 0.28); transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.popular-games-all:hover i { background: #efad00; color: #ffffff; box-shadow: 0 3px 12px rgba(239, 173, 0, 0.45); }

@media (max-width: 900px) {
  .popular-games { grid-template-columns: 1fr; gap: 12px; }
  .popular-games-rail { flex-direction: row; overflow-x: auto; align-items: center; padding: 12px; gap: 8px; scrollbar-width: none; }
  .popular-games-rail::-webkit-scrollbar { display: none; }
  .popular-games-rail-title { display: none; }
  .popular-games-tab { flex: none; grid-template-columns: auto; }
  .popular-games-tab-main { padding: 8px 12px; }
  .popular-games-tab-go { display: none; }
  .popular-games-panel { grid-template-columns: minmax(0, 1fr); }
  .popular-games-all { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .popular-games { margin-top: 18px; }
  .popular-games-product { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "thumb name name name" "thumb price qty cart"; gap: 6px 8px; }
  .popular-games-product-thumb { grid-area: thumb; width: 48px; height: 48px; }
  .popular-games-product-name { grid-area: name; white-space: normal; }
  .popular-games-product-price { grid-area: price; align-self: center; }
  .popular-games-qty { grid-area: qty; }
  .popular-games-cart { grid-area: cart; }
}

/* ---- Görsel Linkleri paneli ---- */
.il-upload-card, .il-list-card { margin-top: 18px; padding: 18px; border: 1px solid var(--admin-border, #1e2a3d); border-radius: 14px; background: var(--admin-surface, #121a26); }
.il-upload-card > header, .il-list-card > header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.il-upload-card h2, .il-list-card h2 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.il-upload-card p, .il-list-card p { margin: 4px 0 0; font-size: 0.82rem; color: var(--admin-muted, #8b9bb4); }
.il-dropzone { position: relative; display: grid; place-items: center; min-height: 150px; padding: 18px; margin-bottom: 14px; border: 2px dashed var(--admin-border, #1e2a3d); border-radius: 12px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s ease, background 0.2s ease; }
.il-dropzone.is-dragging { border-color: var(--admin-blue, #315eff); background: rgba(49, 94, 255, 0.08); }
.il-dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.il-dropzone-idle { display: grid; justify-items: center; gap: 6px; text-align: center; pointer-events: none; }
.il-dropzone-idle i { font-size: 1.9rem; color: var(--admin-blue, #315eff); }
.il-dropzone-idle strong { font-size: 0.92rem; color: #d7e2f2; }
.il-dropzone-idle small { font-size: 0.76rem; color: var(--admin-muted, #8b9bb4); }
.il-dropzone-preview { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; pointer-events: none; }
.il-preview-cell { display: grid; justify-items: center; gap: 4px; width: 92px; }
.il-preview-cell img { width: 92px; height: 62px; object-fit: cover; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.il-preview-cell .il-preview-icon { display: grid; place-items: center; width: 92px; height: 62px; border-radius: 8px; background: rgba(237,76,92,0.1); color: #ed4c5c; font-size: 1.8rem; }
.il-preview-cell small { max-width: 92px; font-size: 0.68rem; color: var(--admin-muted, #8b9bb4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 0.78rem; color: var(--admin-muted, #8b9bb4); }
.il-search { position: relative; display: flex; align-items: center; }
.il-search i { position: absolute; left: 10px; color: var(--admin-muted, #8b9bb4); font-size: 0.92rem; }
.il-search input { min-width: 240px; padding: 9px 12px 9px 32px; border: 1px solid var(--admin-border, #1e2a3d); border-radius: 10px; background: var(--admin-field, #0e1622); color: #d7e2f2; font: inherit; font-size: 0.85rem; }
.il-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.il-card { display: flex; flex-direction: column; border: 1px solid var(--admin-border, #1e2a3d); border-radius: 12px; background: var(--admin-surface-raised, #16202f); overflow: hidden; }
.il-card-thumb { display: grid; place-items: center; height: 140px; background: repeating-conic-gradient(rgba(255,255,255,0.045) 0% 25%, transparent 0% 50%) 50% / 18px 18px; }
.il-card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.il-card-thumb i { font-size: 1.8rem; color: var(--admin-muted, #8b9bb4); }
.il-card-thumb.is-file { background: rgba(237,76,92,0.08); }
.il-card-thumb.is-file i { font-size: 3.1rem; color: #ed4c5c; }
.il-card-body { display: grid; gap: 8px; padding: 12px; }
.il-rename { display: flex; gap: 6px; }
.il-rename input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--admin-border, #1e2a3d); border-radius: 8px; background: var(--admin-field, #0e1622); color: #d7e2f2; font: inherit; font-size: 0.84rem; font-weight: 600; }
.il-rename button { flex: none; width: 32px; border: 0; border-radius: 8px; background: rgba(49, 94, 255, 0.16); color: #8ea6ff; cursor: pointer; }
.il-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.72rem; color: var(--admin-muted, #8b9bb4); }
.il-meta span { display: inline-flex; align-items: center; gap: 4px; }
.il-meta .il-type { padding: 2px 7px; border-radius: 4px; background: var(--admin-surface-raised, #1a2331); color: var(--admin-text, #e6ecf5); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.04em; }
.il-url { display: flex; gap: 6px; position: relative; }
.il-url input { flex: 1 1 auto; min-width: 0; padding: 7px 10px; border: 1px solid var(--admin-border, #1e2a3d); border-radius: 8px; background: var(--admin-field, #0e1622); color: #9fb3cd; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.74rem; }
.il-copy { position: relative; z-index: 1; flex: 0 0 auto; width: 34px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.07); color: #d7e2f2; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.il-copy:hover { background: rgba(255, 255, 255, 0.13); }
.il-copy.is-copied { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.il-card-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.il-card-actions .bi-mini-button { text-decoration: none; }

@media (max-width: 720px) {
  .il-grid { grid-template-columns: 1fr; }
  .il-search input { min-width: 0; width: 100%; }
  .il-list-card > header { flex-direction: column; align-items: stretch; }
}

/* Mobil alt navigasyon */
.mobile-bottom-nav { display: none; }
@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid #e8ebf2;
    box-shadow: 0 -6px 24px rgba(16, 20, 31, 0.08);
    animation: mbnRise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  body.has-mobile-bottom-nav { padding-bottom: 78px; }
  .mobile-bottom-nav .mbn-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    background: none; border: 0; padding: 4px 2px; cursor: pointer;
    color: #6b7488; font-size: 0.66rem; font-weight: 600; text-decoration: none;
    font-family: inherit; transition: color 0.2s ease, transform 0.2s ease;
  }
  .mobile-bottom-nav .mbn-icon {
    display: grid; place-items: center; width: 26px; height: 26px; font-size: 1.2rem;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mobile-bottom-nav .mbn-item:active { transform: scale(0.92); }
  .mobile-bottom-nav .mbn-item.is-active { color: #2f6bff; }
  .mobile-bottom-nav .mbn-item-cart {
    color: #fff; margin-top: -22px; align-self: start;
  }
  .mobile-bottom-nav .mbn-item-cart .mbn-icon {
    width: 50px; height: 50px; border-radius: 16px; background: #f5a800; color: #fff;
    font-size: 1.35rem; box-shadow: 0 8px 18px rgba(245, 168, 0, 0.38);
  }
  .mobile-bottom-nav .mbn-item-cart .mbn-label { color: #6b7488; margin-top: 2px; }
  .mobile-bottom-nav .mbn-item-cart:active .mbn-icon { transform: scale(0.9); }
}
@keyframes mbnRise { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .mobile-bottom-nav { animation: none; } }