:root {
  --main-color: #189AF8;
  --main-text: #5f6376;
  --logo-text: #020619;
  --header-bg: #ffffff;
  --container-width: 1320px;
  --bg: #f0f1f9;
  --dark-bg: #f0f1f9;
  --text: var(--main-text);
  --muted: #6b6b85;
  --surface: #ffffff;
  --switch-track: #d4d6e6;
  --nav-text: #3f4250;
}

html.dark {
  --bg: #131324;
  --dark-bg: #131324;
  --main-text: #b8bbc9;
  --logo-text: #ffffff;
  --header-bg: #1c1c36;
  --text: var(--main-text);
  --muted: #9b9bb3;
  --surface: #1c1c36;
  --switch-track: #189AF8;
  --nav-text: #ececf4;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Light Italic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Medium Italic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A SemiBold Italic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular A";
  src: url("../fonts/Euclid Circular A Bold Italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Euclid Circular A", sans-serif;
  background-color: var(--dark-bg, var(--bg));
  color: var(--main-text);
  font-size: 16px;
  font-weight: 400;
  transition: 0.2s;
  letter-spacing: -0.1px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.topbar {
  background: var(--main-color);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  height: 46px;
}

.topbar-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff1f;
  border: 1px solid #ffffff30;
  padding: 6px 20px;
  cursor: pointer;
  transition: 0.2s;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 6px;
  text-decoration: none;
}

.topbar-btn i {
  font-size: 12px;
}

.topbar-btn:hover {
  background: #ffffff33;
  border-color: #ffffff50;
}

.headbar .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 44px;
}

.headbar-socials {
  gap: 8px;
}

.headbar-line {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-right: 20px;
  border-right: 1px solid #8380b11f;
}

.headbar-mail {
  margin-right: auto;
}

.headbar-socials .s-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-text);
  text-decoration: none;
  font-size: 18px;
  transition: 0.2s;
}

.headbar-socials .s-item:hover {
  color: var(--main-color);
}

.headbar-item {
  color: var(--main-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}

.headbar-item:hover {
  color: var(--main-color);
}

.headbar-item.colorful {
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(90deg, #0b7fd4 0%, #189AF8 45%, #5ec8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.headbar-item.colorful:hover {
  background: linear-gradient(90deg, #189AF8 0%, #3db4ff 50%, #7ad6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dark-mode {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  color: var(--main-text);
}

.dark-mode .fa-sun,
.dark-mode .fa-moon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

html:not(.dark) .dark-mode .fa-sun,
html.dark .dark-mode .fa-moon {
  color: var(--main-color);
}

.dark-mode .switch,
.theme-switch {
  width: 36px;
  height: 20px;
  background: var(--switch-track);
  border-radius: 20px;
  position: relative;
  transition: 0.2s;
}

.dark-mode .switch span,
.theme-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.dark-mode .switch.active span,
.theme-switch.active span {
  left: 18px;
}

.header {
  background: var(--header-bg);
  height: 90px;
  transition: 0.2s;
  overflow: visible;
  position: relative;
  z-index: 20;
}

.header .container {
  display: flex;
  align-items: center;
  height: 90px;
  position: relative;
}

.nav-block {
  position: relative;
  z-index: 16;
}

.menu {
  background: var(--header-bg);
  height: 52px;
  border-top: 1px solid var(--bg);
  transition: 0.2s;
}

.menu .container {
  display: flex;
  align-items: center;
  height: 52px;
}

.menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  height: 100%;
}

.menu-list .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--nav-text);
  padding: 10px 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: 0.2s;
  height: 52px;
  white-space: nowrap;
}

.menu-list .nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 3px;
  background: var(--main-color);
  border-radius: 3px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.menu-list .nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.menu-list .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: var(--bg);
}

.menu-list li:first-child .nav-link {
  padding-left: 0;
}

.menu-list li:last-child .nav-link::after {
  display: none;
}

.menu-list .nav-link:hover,
.menu-list .nav-link.active {
  color: var(--main-color);
}

.menu-list .nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.menu-list .nav-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  font-size: 19px;
  color: var(--main-color);
  line-height: 1;
  flex-shrink: 0;
}

.menu-list .nav-link i::before {
  line-height: 1;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg,
.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.head-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.head-search-input {
  position: relative;
  width: 450px;
  height: 50px;
}

.head-search-input input {
  width: 100%;
  height: 50px;
  background: #f0f1f9;
  border: none;
  border-radius: 100px;
  padding: 0 78px 0 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #5f6376;
  outline: none;
}

.head-search-input input::placeholder {
  color: #5f6376;
  opacity: 0.55;
}

.head-search-input > .butto {
  position: absolute;
  right: 10px;
  top: 25px;
  transform: translateY(-50%);
  font-size: 18px;
  height: 32px;
  padding: 2px 16px;
  background: var(--main-color);
  border: none;
  border-radius: 100px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

html.dark .head-search-input input {
  background: #131324;
  color: var(--main-text);
}

html.dark .head-search-input input::placeholder {
  color: var(--main-text);
  opacity: 0.55;
}

.search-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  max-height: 380px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 8px 12px 12px;
  background: var(--header-bg);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(19, 19, 36, 0.14);
  z-index: 40;
  scrollbar-width: thin;
  scrollbar-color: #c5c8d6 transparent;
}

.search-panel.show {
  display: block;
}

.search-panel::-webkit-scrollbar {
  width: 8px;
}

.search-panel::-webkit-scrollbar-thumb {
  background: #c5c8d6;
  border-radius: 8px;
}

html.dark .search-panel {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  scrollbar-color: #3d3d5c transparent;
}

html.dark .search-panel::-webkit-scrollbar-thumb {
  background: #3d3d5c;
}

.search-group {
  margin-bottom: 12px;
}

.search-group:last-of-type {
  margin-bottom: 0;
}

.search-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--main-text);
}

.search-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.search-row:hover {
  background: var(--bg);
}

html.dark .search-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.search-row .mega-card-icon {
  margin-top: 2px;
}

.search-row-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.search-row-body strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--logo-text);
}

.search-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-row-tags span {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--main-text);
  font-size: 13px;
  font-weight: 400;
}

html.dark .search-row-tags span {
  background: rgba(255, 255, 255, 0.06);
}

.search-empty {
  display: none;
  padding: 18px 8px;
  font-size: 14px;
  color: var(--main-text);
  text-align: center;
}

.search-panel.is-empty .search-empty {
  display: block;
}

.search-panel.is-empty .search-group {
  display: none;
}

.header-cart,
.header-notify {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 25px;
  color: #5f6376;
  text-decoration: none;
  flex-shrink: 0;
  transition: 0.2s;
}

.header-cart {
  margin-left: auto;
}

.header-cart i,
.header-notify i {
  width: 28px;
  height: 28px;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-cart i::before,
.header-notify i::before {
  line-height: 1;
}

.header-cart:hover,
.header-notify:hover {
  color: var(--main-color);
}

html.dark .header-cart,
html.dark .header-notify {
  color: #fff;
}

.header-cart-count,
.header-notify-count {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--main-color);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-login {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 152px;
  height: 48px;
  margin-left: 0;
  background: var(--main-color);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-radius: 100px;
  transition: 0.2s;
}

.header-login::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  border-radius: inherit;
}

.header-login:hover::after {
  opacity: 0.14;
}

.header-login i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-login i::before {
  line-height: 1;
}

.header-notify {
  cursor: pointer;
}

.header-notify.open[data-tooltip]::before {
  opacity: 0;
  visibility: hidden;
}

.notification-list {
  position: absolute;
  top: calc(100% + 14px);
  right: -12px;
  width: 360px;
  background: var(--header-bg);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(19, 19, 36, 0.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s;
  z-index: 120;
}

.notification-list.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

html.dark .notification-list {
  background: #252542;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

html.dark .notify-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.notification-list ul {
  list-style: none;
}

.notify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.notify-item:hover {
  background: var(--bg);
}

.notify-item .noticon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(24, 154, 248, 0.12);
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.notify-item .text span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--logo-text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.notify-item .text p {
  font-size: 13px;
  font-weight: 400;
  color: var(--main-text);
  line-height: 1.45;
}

[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  text-align: center;
  position: absolute;
  width: max-content;
  max-width: 240px;
  top: calc(90% + 5px);
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: #515465af;
  padding: 4px 15px;
  transition: 0.2s;
  border-radius: 12px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 5px);
}

.mega {
  display: none;
  background: var(--header-bg);
  border-top: 1px solid var(--bg);
  box-shadow: 0 20px 40px rgba(19, 19, 36, 0.08);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 15;
}

.mega.show {
  display: block;
}

.mega-inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.mega-side {
  width: 320px;
  flex-shrink: 0;
  border-right: 1px solid var(--bg);
  padding: 0;
}

.mega-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.mega-panel {
  display: none;
}

.mega-panel.active {
  display: block;
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 14px 24px 24px;
  scrollbar-width: thin;
  scrollbar-color: #c5c8d6 transparent;
}

.mega-panel.active::-webkit-scrollbar {
  width: 8px;
}

.mega-panel.active::-webkit-scrollbar-track {
  background: transparent;
}

.mega-panel.active::-webkit-scrollbar-thumb {
  background: #c5c8d6;
  border-radius: 8px;
}

html.dark .mega-panel.active::-webkit-scrollbar-thumb {
  background: #3d3d5c;
}

html.dark .mega-panel.active {
  scrollbar-color: #3d3d5c transparent;
}

.mega-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--logo-text);
  margin-bottom: 14px;
}

.mega-section {
  margin-bottom: 22px;
  overflow: visible;
}

.mega-section:last-child {
  margin-bottom: 0;
}

.mega-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--main-text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
}

.mega-card-wrap {
  position: relative;
  min-width: 0;
}

.mega-card-wrap.has-sub .mega-card {
  position: relative;
  width: 100%;
  padding-right: 28px;
}

.mega-card-wrap.has-sub .mega-card::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.45;
  pointer-events: none;
}

.mega-sublist {
  display: none;
}

.mega-subview {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 14px 24px 24px;
  background: var(--header-bg);
  scrollbar-width: thin;
  scrollbar-color: #c5c8d6 transparent;
}

.mega-subview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mega-subview-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--logo-text);
  cursor: pointer;
  font-size: 20px;
  flex-shrink: 0;
}

.mega-subview-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--logo-text);
}

.mega-subview-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-subview-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--logo-text);
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s;
}

.mega-subview-link span {
  flex: 1;
  min-width: 0;
}

.mega-subview-link i {
  color: var(--muted);
  font-size: 18px;
}

.mega-subview-link:hover {
  border-color: rgba(24, 154, 248, 0.45);
  background: color-mix(in srgb, var(--main-color) 8%, var(--bg));
  color: var(--main-color);
}

html.dark .mega-subview-link {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

html.dark .mega-subview-link:hover {
  background: #22223c;
  border-color: rgba(24, 154, 248, 0.4);
}

@media (min-width: 1101px) {
  .mega-card-wrap.has-sub .mega-card {
    cursor: pointer;
  }
}

.mega-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--logo-text);
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.mega-card:hover {
  border-color: rgba(24, 154, 248, 0.45);
  background: color-mix(in srgb, var(--main-color) 8%, var(--bg));
}

.mega-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.mega-card-icon i {
  line-height: 1;
}

html.dark .mega-card {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

html.dark .mega-card:hover {
  background: #22223c;
  border-color: rgba(24, 154, 248, 0.4);
}

.mega-info {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  height: 100%;
}

.mega-info-main {
  padding: 8px 8px 8px 0;
}

.mega-info-main p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--main-text);
  margin: 8px 0 18px;
}

.mega-info-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mega-info-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg);
  text-decoration: none;
  color: var(--logo-text);
  border: 1px solid transparent;
  transition: 0.2s;
  min-height: 92px;
}

.mega-info-card .mega-card-icon {
  margin-bottom: 4px;
  color: #fff;
}

.mega-info-card .mega-card-icon i,
.mega-info-card .mega-card-icon i::before {
  color: #fff;
}

.mega-info-card strong {
  font-size: 15px;
  font-weight: 600;
}

.mega-info-card > span:not(.mega-card-icon) {
  font-size: 13px;
  color: var(--main-text);
  line-height: 1.4;
}

.mega-info-card:hover {
  border-color: rgba(24, 154, 248, 0.45);
}

html.dark .mega-info-card {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.mega-panel[data-panel="5"].active {
  overflow: hidden;
}

.mega-panel[data-panel="5"] .mega-heading {
  margin-bottom: 12px;
}

.mega-panel[data-panel="5"] .mega-blog-grid {
  height: calc(100% - 34px);
}

.mega-blog-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.mega-blog-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  height: 100%;
  padding: 18px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(160deg, #0b7fd4 0%, #189AF8 55%, #5ec8ff 100%);
}

.mega-blog-featured > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-blog-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 25, 0.88) 0%, rgba(2, 6, 25, 0.35) 55%, rgba(2, 6, 25, 0.45) 100%);
}

.mega-blog-badge,
.mega-blog-featured strong,
.mega-blog-featured p {
  position: relative;
  z-index: 1;
}

.mega-blog-badge {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--main-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mega-blog-featured small {
  display: none;
}

.mega-blog-featured strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 6px;
}

.mega-blog-featured p {
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.92;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mega-blog-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
  min-height: 0;
}

.mega-blog-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  text-decoration: none;
  color: var(--logo-text);
  border: 1px solid transparent;
  transition: 0.2s;
  min-height: 0;
}

.mega-blog-item:hover {
  border-color: rgba(24, 154, 248, 0.45);
}

.mega-blog-item i {
  display: none;
}

.mega-blog-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.mega-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-blog-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.25;
}

.mega-blog-item span {
  font-size: 11px;
  color: var(--main-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html.dark .mega-blog-item {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 20px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.mega-item:first-child {
  padding-top: 22px;
}

.mega-item:last-child {
  padding-bottom: 22px;
}

.mega-item + .mega-item {
  border-top: 1px solid var(--bg);
}

.mega-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef0f6;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.mega-item-icon i {
  display: flex;
  line-height: 1;
}

.mega-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mega-item-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--logo-text);
  line-height: 1.2;
}

.mega-item-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--main-text);
  line-height: 1.2;
}

.mega-item-arrow {
  font-size: 18px;
  color: var(--main-text);
  opacity: 0.45;
  flex-shrink: 0;
  line-height: 1;
}

.mega-item:hover,
.mega-item.active {
  background: var(--bg);
}

.mega-item.active .mega-item-title {
  color: var(--main-color);
}

.mega-item.active .mega-item-arrow {
  color: var(--main-color);
  opacity: 1;
}

html.dark .mega {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

html.dark .mega-item-icon {
  background: rgba(255, 255, 255, 0.06);
}

html.dark .mega-item:hover,
html.dark .mega-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.showcase {
  margin-top: 25px;
}

.showcase .container {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.showcase-box {
  background: var(--header-bg);
  height: 380px;
  flex-shrink: 0;
  border-radius: 30px;
  overflow: hidden;
  transition: 0.2s;
}

.showcase-main {
  width: 860px;
  display: flex;
  align-items: center;
  padding: 42px 48px;
  position: relative;
}

.hero-copy {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero-media {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}

.hero-visual {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.hero-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  width: auto;
  transform: translateX(-50%);
  display: block;
  pointer-events: none;
  z-index: 2;
}

.hero-back-path {
  position: absolute;
  width: 350px;
  height: 200px;
  background: var(--main-color);
  border-radius: 50px;
  top: 10px;
  right: 70px;
  transform: rotate(-15deg);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 10%, var(--header-bg));
  border: 1px solid color-mix(in srgb, var(--main-color) 32%, var(--header-bg));
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--logo-text);
  margin-bottom: 16px;
}

.hero-title em {
  display: block;
  font-style: normal;
  color: var(--main-color);
}

.hero-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--main-text);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-rating {
  display: inline-flex;
  align-items: stretch;
  border-radius: 100px;
  overflow: hidden;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--main-color) 12%, var(--header-bg));
  color: var(--main-color);
  font-size: 13px;
}

.hero-score {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--main-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.hero-score i {
  font-size: 12px;
}

.hero-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--nav-text);
  background: var(--header-bg);
  color: var(--main-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.2s;
}

.hero-play i {
  font-size: 13px;
  margin-left: 2px;
}

.hero-cta {
  display: none;
}

.showcase-promos {
  display: contents;
}

.showcase-side {
  width: 197px;
  position: relative;
}

.showcase-side-dark {
  background: #3f4250;
}

.showcase-side-dark::after,
.showcase-side-gradient::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  z-index: 2;
  border-radius: 30px;
  pointer-events: none;
}

.showcase-side-dark::after {
  background: linear-gradient(to top, #3f4250fa, #3f4250eb, #3f425000);
}

.side-visual {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.side-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px 22px;
  color: #fff;
}

.side-caption-sub {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.side-caption-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.side-caption-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px solid #fff;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  background: transparent;
  transition: 0.2s;
}

.side-caption-btn:hover {
  background: #fff;
  color: #3f4250;
}

.showcase-side-gradient {
  background: linear-gradient(to top, #0b7fd4 0%, #189AF8 45%, #5ec8ff 100%);
}

.showcase-side-gradient::after {
  background: linear-gradient(to top, #0b7fd4fa, #0b7fd4eb, #0b7fd400);
}

.showcase-side-gradient .side-caption-btn:hover {
  color: #0b7fd4;
}

.site-footer {
  margin-top: 0;
  background: var(--header-bg);
  color: var(--main-text);
  transition: 0.2s;
}

.site-footer .container {
  padding-top: 32px;
}

.footer-catalog {
  margin-bottom: 40px;
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--logo-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.2s;
}

.footer-pill i {
  color: var(--main-color);
  font-size: 18px;
}

.footer-pill:hover {
  color: var(--main-color);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr minmax(0, 1.4fr) 1.1fr;
  gap: 32px 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--bg);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px 24px;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer-logo svg,
.footer-logo img {
  display: block;
  height: 36px;
  width: auto;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.footer-desc,
.footer-help p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--main-text);
}

.footer-meta {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--main-text);
}

.footer-desc {
  margin-bottom: 12px;
  max-width: 340px;
}

.footer-col,
.footer-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h3,
.footer-help h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  font-weight: 500;
  color: var(--main-text);
  text-decoration: none;
  transition: 0.2s;
}

.footer-col a:hover {
  color: var(--main-color);
}

.footer-help-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.footer-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--logo-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: 0.2s;
}

.footer-help-btn.telegram {
  background: var(--main-color);
  color: #fff;
}

.footer-help-btn:hover {
  opacity: 0.9;
}

.footer-cats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 28px 16px;
  padding: 0;
}

.footer-cat.is-extra {
  display: none;
}

.footer-cats.is-open .footer-cat.is-extra {
  display: block;
}

.footer-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-cat-head .mega-card-icon {
  width: 28px;
  height: 28px;
  font-size: 14px;
  border-radius: 8px;
}

.footer-cat-head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--logo-text);
  line-height: 1.2;
}

.footer-cat-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 36px;
}

.footer-cat-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--main-text);
  text-decoration: none;
  transition: 0.2s;
}

.footer-cat-links a:hover {
  color: var(--main-color);
}

.footer-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 10px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--logo-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.footer-more i {
  font-size: 18px;
  color: var(--main-color);
  transition: transform 0.2s;
}

.footer-more-open {
  display: none;
}

.footer-more.open .footer-more-closed {
  display: none;
}

.footer-more.open .footer-more-open {
  display: inline;
}

.footer-more.open i {
  transform: rotate(180deg);
}

.footer-bottom {
  background: var(--bg);
  padding: 14px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  min-height: 56px;
}

.footer-bottom p {
  font-size: 14px;
  font-weight: 400;
  color: var(--main-text);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 5px 8px;
  background: #131324;
  border-radius: 8px;
}

.footer-seal img {
  display: block;
  height: 28px;
  width: auto;
  mix-blend-mode: lighten;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--header-bg);
  color: var(--logo-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s;
}

.footer-socials a:hover {
  background: var(--main-color);
  color: #fff;
}

.home-main {
  margin-top: 48px;
}

.home-section {
  margin-bottom: 48px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--logo-text);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--logo-text) 18%, transparent);
  border-radius: 100px;
  color: var(--logo-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: 0.2s;
}

.section-link i {
  font-size: 12px;
}

.section-link:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}


.listing-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--header-bg);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: 0.2s;
}

.listing-card:hover {
  border-color: rgba(24, 154, 248, 0.45);
}

html.dark .listing-card {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

html.dark .listing-card:hover {
  border-color: rgba(24, 154, 248, 0.4);
}

.listing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.listing-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--main-text);
}

.listing-card-cat .mega-card-icon {
  width: 22px;
  height: 22px;
  font-size: 11px;
  border-radius: 6px;
}

.listing-card-time {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--main-text);
}

.listing-card-title {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--logo-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.listing-card-media {
  position: relative;
  height: 140px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--listing-color, var(--main-color)) 18%, var(--bg));
  color: var(--listing-color, var(--main-color));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.listing-card-media > i {
  font-size: 42px;
}

.listing-card-media-photo {
  background-size: cover;
  background-position: center;
}

.listing-card-photos {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(15, 18, 32, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.listing-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.listing-card-tags span {
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--main-text);
  font-size: 13px;
  font-weight: 400;
}

.listing-card-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.listing-card-buy strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
}

.listing-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: 0.2s;
}

.listing-card-btn:hover {
  opacity: 0.92;
}

.listing-card-btn i {
  font-size: 11px;
}

.listing-card-seller {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--bg);
}

.listing-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.listing-card-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--logo-text);
}

.listing-card-name i {
  color: var(--main-color);
  font-size: 13px;
}

.listing-card-stats {
  margin-left: auto;
  font-size: 13px;
  color: var(--main-text);
  white-space: nowrap;
}

.listing-card-stats i {
  color: #22c55e;
  margin: 0 2px 0 4px;
}







.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--header-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: 0.2s;
}

html.dark .faq-item {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--logo-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q i {
  color: var(--main-color);
  font-size: 20px;
  transition: transform 0.2s;
}

.faq-item.open .faq-q i {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--main-text);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.flow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  background: var(--header-bg);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: 0.2s;
}

.flow-card:hover {
  border-color: rgba(24, 154, 248, 0.45);
}

html.dark .flow-card {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.flow-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--main-color) 35%, transparent);
}

.flow-card strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
}

.flow-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--main-text);
}

.blog-slider {
  position: relative;
}

.blog-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.blog-track::-webkit-scrollbar {
  display: none;
}

.blog-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.blog-card-media {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #0b7fd4 0%, #189AF8 55%, #5ec8ff 100%);
  margin-bottom: 12px;
}

.blog-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 25, 0.55) 0%, rgba(2, 6, 25, 0.15) 55%, rgba(2, 6, 25, 0.25) 100%);
  pointer-events: none;
}

.blog-card-brand {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.blog-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 12px 14px;
  background: var(--main-color);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--main-text);
}

.blog-card-meta i {
  margin-right: 4px;
}

.blog-card-tag {
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--main-color);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.blog-card strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--logo-text);
}

.blog-nav {
  position: absolute;
  top: 90px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--header-bg);
  color: var(--logo-text);
  box-shadow: 0 8px 20px rgba(19, 19, 36, 0.12);
  cursor: pointer;
  z-index: 2;
}

html.dark .blog-nav {
  background: #1a1a32;
}

.blog-prev {
  left: -12px;
}

.blog-next {
  right: -12px;
}

.detail-page {
  margin-top: 32px;
  margin-bottom: 48px;
}

.detail-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 400;
  color: var(--main-text);
}

.detail-crumb a {
  color: var(--main-text);
  text-decoration: none;
}

.detail-crumb a:hover {
  color: var(--main-color);
}

.detail-crumb i {
  font-size: 12px;
  opacity: 0.6;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.detail-head h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--logo-text);
  max-width: 920px;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.detail-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--header-bg);
  color: var(--logo-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

html.dark .detail-action {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.detail-action:hover,
.detail-action.active {
  border-color: rgba(24, 154, 248, 0.45);
  color: var(--main-color);
}

.detail-action i {
  color: var(--main-color);
}

.detail-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--header-bg);
  color: var(--logo-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s;
}

html.dark .detail-share a {
  background: #1a1a32;
}

.detail-share a:hover {
  background: var(--main-color);
  color: #fff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.detail-gallery,
.detail-specs,
.detail-side > * {
  background: var(--header-bg);
  border-radius: 16px;
  border: 1px solid transparent;
}

html.dark .detail-gallery,
html.dark .detail-specs,
html.dark .detail-side > * {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.detail-gallery {
  padding: 14px;
}

.detail-hero {
  position: relative;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.detail-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #020619;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: 0.2s;
}

.detail-hero-nav:hover {
  background: var(--main-color);
  color: #fff;
}

.detail-hero-prev {
  left: 12px;
}

.detail-hero-next {
  right: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(19, 19, 36, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1200px, 86vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lightbox-close:hover {
  background: var(--main-color);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #020619;
  cursor: pointer;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: 0.2s;
}

.lightbox-nav:hover {
  background: var(--main-color);
  color: #fff;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 56px 16px 48px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
}

.detail-media-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-media-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--main-color);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-thumb {
  height: 78px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: var(--bg);
  cursor: pointer;
}

.detail-thumb img,
.detail-thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-thumb-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  font-size: 20px;
}

.detail-thumb.active {
  border-color: var(--main-color);
}

.detail-photo-count {
  margin-top: 10px;
  font-size: 14px;
  color: var(--main-text);
}

.detail-specs {
  padding: 20px;
}

.detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.detail-price strong {
  font-size: 26px;
  font-weight: 600;
  color: var(--main-color);
}

.detail-price a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--main-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.detail-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--main-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table tr:nth-child(odd) {
  background: var(--bg);
}

.detail-table th,
.detail-table td {
  padding: 10px 12px;
  font-size: 14px;
  text-align: left;
}

.detail-table th {
  width: 42%;
  font-weight: 400;
  color: var(--main-text);
}

.detail-table td {
  font-weight: 500;
  color: var(--logo-text);
}

.detail-table .accent {
  color: var(--main-color);
  font-weight: 600;
}

.detail-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--main-text);
  text-decoration: none;
  font-size: 14px;
}

.detail-report:hover {
  color: var(--main-color);
}

.detail-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-seller,
.detail-tip {
  padding: 20px;
}

.detail-seller-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-seller-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.detail-seller-top strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
}

.detail-seller-top span:not(.detail-seller-avatar) {
  font-size: 14px;
  color: var(--main-text);
}

.detail-phone,
.detail-msg,
.detail-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid transparent;
  line-height: 1;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.detail-phone span,
.detail-msg span,
.detail-buy span {
  display: inline;
  line-height: 1;
}

.detail-phone > i,
.detail-msg > i,
.detail-buy > i {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.detail-phone > i::before,
.detail-msg > i::before,
.detail-buy > i::before {
  line-height: 1;
}

.detail-phone {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.detail-phone:hover {
  filter: brightness(1.06);
}

.detail-phone i {
  color: #fff;
}

.detail-phone.is-revealed,
.detail-phone.is-revealed:hover {
  background: var(--main-color);
  color: #fff;
  filter: none;
}

.detail-phone a {
  color: inherit;
  text-decoration: none;
}

.detail-msg {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.detail-msg i {
  color: inherit;
}

.detail-tip {
  display: flex;
  gap: 12px;
}

.detail-tip .mega-card-icon {
  flex-shrink: 0;
}

.detail-tip strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
  margin-bottom: 6px;
}

.detail-tip p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--main-text);
}

.detail-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.detail-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--header-bg);
  color: var(--logo-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

html.dark .detail-tool {
  background: #1a1a32;
}

.detail-tool i {
  color: var(--main-color);
}

.detail-tool:hover {
  color: var(--main-color);
}

.detail-tabs {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: 0;
}

.detail-tab {
  padding: 12px 20px;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: var(--main-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.detail-tab.active {
  background: var(--header-bg);
  color: var(--main-color);
}

html.dark .detail-tab.active {
  background: #1a1a32;
}

.detail-panel {
  display: none;
  background: var(--header-bg);
  border-radius: 0 16px 16px 16px;
  padding: 24px;
}

.detail-panel.active {
  display: block;
}

html.dark .detail-panel {
  background: #1a1a32;
}

.detail-desc-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
  margin-bottom: 14px;
}

.detail-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--main-text);
}

.detail-desc p {
  margin-bottom: 10px;
}

.detail-tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.detail-tech div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 14px;
}

.detail-tech span {
  color: var(--main-text);
}

.detail-tech strong {
  font-weight: 500;
  color: var(--logo-text);
}

.detail-hero-ph,
.detail-hero-video {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: #3f4250;
}

.detail-hero-ph[hidden],
.detail-hero-video[hidden] {
  display: none;
}

.detail-hero-ph i,
.detail-hero-video i {
  font-size: 48px;
  color: #fff;
}

.detail-hero-video p {
  font-size: 15px;
  font-weight: 500;
}

.detail-media-bar button.active {
  color: var(--logo-text);
}

html.dark .detail-table tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.04);
}

.detail-seller-top i {
  color: var(--main-color);
  font-size: 14px;
}

.detail-buy {
  background: color-mix(in srgb, var(--main-color) 8%, var(--header-bg));
  border-color: var(--main-color);
  color: var(--main-color);
}

.detail-buy:hover {
  background: var(--main-color);
  color: #fff;
}

.detail-buy:hover i {
  color: #fff;
}

.detail-msg:hover {
  opacity: 0.92;
}

.detail-hero img.is-hidden {
  display: none;
}

@media (max-width: 1180px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .detail-side {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .detail-page {
    margin-top: 20px;
    margin-bottom: 36px;
  }
  .detail-head {
    flex-direction: column;
  }
  .detail-layout,
  .detail-side,
  .detail-tech {
    grid-template-columns: 1fr;
  }
  .detail-hero {
    height: 240px;
  }
  .detail-tabs {
    margin-top: 24px;
  }
}

.header-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin-left: 0;
  padding: 0 8px 0 6px;
  background: var(--bg);
  color: var(--logo-text);
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  transition: 0.2s;
}

.header-user:hover {
  border-color: rgba(24, 154, 248, 0.45);
}

.header-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.header-user-avatar,
.dash-profile-avatar,
.inbox-item-avatar,
.listing-card-avatar,
.detail-seller-avatar,
.dash-msg-avatar,
.seller-avatar {
  color: #fff;
  overflow: hidden;
}
.header-user-avatar img,
.dash-profile-avatar img,
.inbox-item-avatar img,
.listing-card-avatar img,
.detail-seller-avatar img,
.dash-msg-avatar img,
.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-manage {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bg);
}
.avatar-manage > div { flex: 1; min-width: 0; }
.avatar-manage label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--main-text);
  margin-bottom: 6px;
}
.avatar-manage input[type="file"] {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--logo-text);
}
.avatar-manage form + form { margin-top: 8px; }
@media (max-width: 700px) {
  .avatar-manage { align-items: flex-start; }
}

.dash-page {
  margin-top: 32px;
  margin-bottom: 48px;
}

.dash-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.dash-side {
  background: var(--header-bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid transparent;
}

html.dark .dash-side {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.dash-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--bg);
}

.dash-profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.dash-profile strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
}

.dash-profile strong i {
  color: var(--main-color);
  font-size: 14px;
}

.dash-profile-meta {
  font-size: 14px;
  color: var(--main-text);
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--logo-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s;
}

.dash-nav a i {
  width: 18px;
  color: var(--main-color);
  text-align: center;
}

.dash-nav a:hover,
.dash-nav a.active {
  background: color-mix(in srgb, var(--main-color) 10%, var(--bg));
  color: var(--main-color);
}

.dash-nav .dash-badge {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dash-logout-form {
  margin: 0;
}

.dash-nav-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--logo-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}

.dash-nav-logout i {
  width: 18px;
  color: #ef4444;
  text-align: center;
}

.dash-nav-logout:hover {
  background: color-mix(in srgb, #ef4444 10%, var(--bg));
  color: #ef4444;
}

.dash-logout-card {
  margin-top: 16px;
}

.dash-logout-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--logo-text);
}

.dash-logout-card p {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--main-text);
}

.dash-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, #ef4444 35%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, #ef4444 8%, var(--header-bg));
  color: #ef4444;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.dash-logout-btn:hover {
  background: color-mix(in srgb, #ef4444 14%, var(--header-bg));
}

.dash-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

button.dash-add {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.dash-add:hover {
  opacity: 0.92;
}

.dash-side-toggle {
  display: none;
}

.dash-side-menu {
  display: contents;
}

.dash-panel {
  display: none;
}

.dash-panel.active {
  display: block;
}

.dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dash-welcome h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--logo-text);
}

.dash-welcome p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--main-text);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.dash-stat {
  background: var(--header-bg);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid transparent;
}

html.dark .dash-stat,
html.dark .dash-card {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.dash-stat span {
  display: block;
  font-size: 14px;
  color: var(--main-text);
  margin-bottom: 8px;
}

.dash-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--logo-text);
}

.dash-stat i {
  float: right;
  color: var(--main-color);
  font-size: 18px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.dash-card {
  background: var(--header-bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid transparent;
  margin-bottom: 16px;
}

.dash-card h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
  margin-bottom: 16px;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg);
  text-decoration: none;
  color: inherit;
}

.dash-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dash-row img,
.dash-row-ph {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}

.dash-row-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.dash-row .dash-row-ph,
.dash-row .dash-row-ph i {
  color: #fff;
}

.dash-row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--logo-text);
}

.dash-row div span {
  font-size: 13px;
  color: var(--main-text);
}

.dash-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--main-color);
  white-space: nowrap;
}

.dash-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg);
}

.dash-msg:last-child {
  border-bottom: 0;
}

.dash-msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.dash-msg strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--logo-text);
}

.dash-msg p {
  font-size: 14px;
  color: var(--main-text);
  line-height: 1.45;
}

.dash-msg small {
  color: var(--main-text);
  opacity: 0.75;
  font-size: 12px;
}

.inbox {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 640px;
  background: var(--header-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
}

html.dark .inbox {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.inbox-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--bg);
  min-height: 0;
}

.inbox-search {
  position: relative;
  padding: 14px 14px 10px;
}

.inbox-list-toolbar {
  border-bottom: 1px solid var(--bg);
  flex-shrink: 0;
}

.inbox-list-toolbar .inbox-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 14px;
}

.inbox-search i {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--main-color);
  font-size: 13px;
}

.inbox-search input {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 100px;
  background: var(--bg);
  padding: 0 14px 0 40px;
  font-family: inherit;
  font-size: 14px;
  color: var(--logo-text);
  outline: none;
}

.inbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--bg);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.inbox-item:hover,
.inbox-item.active {
  background: color-mix(in srgb, var(--main-color) 8%, var(--bg));
}

.inbox-item-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.inbox-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--main-color);
  border: 2px solid var(--header-bg);
}

html.dark .inbox-dot {
  border-color: #1a1a32;
}

.inbox-item-body {
  min-width: 0;
  flex: 1;
}

.inbox-item-body strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--logo-text);
}

.inbox-item-body strong small {
  font-size: 12px;
  font-weight: 400;
  color: var(--main-text);
}

.inbox-item-body em {
  display: block;
  margin: 2px 0 4px;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--main-color);
}

.inbox-item-body span {
  display: block;
  font-size: 13px;
  color: var(--main-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bg);
}

.inbox-head-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inbox-head-user strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
}

.inbox-head-user div span {
  font-size: 13px;
  color: var(--main-text);
}

.inbox-head-actions {
  display: flex;
  gap: 6px;
}

.inbox-listing {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 18px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  text-decoration: none;
}

.inbox-listing img,
.inbox-listing-ph {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.inbox-listing-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.inbox-listing strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--logo-text);
}

.inbox-listing span {
  font-size: 13px;
  color: var(--main-text);
}

.inbox-listing em {
  margin-left: auto;
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--main-color);
  white-space: nowrap;
}

.inbox-body {
  flex: 1;
  overflow: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inbox-body[hidden] {
  display: none;
}

.inbox-day {
  align-self: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--main-text);
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg);
}

.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
}

.bubble p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--logo-text);
}

.bubble small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--main-text);
}

.bubble.in {
  align-self: flex-start;
  background: var(--bg);
  border-bottom-left-radius: 6px;
}

.bubble.out {
  align-self: flex-end;
  background: var(--main-color);
  border-bottom-right-radius: 6px;
}

.bubble.out p,
.bubble.out small {
  color: #fff;
}

.inbox-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--main-color) 10%, var(--bg));
  font-size: 13px;
  line-height: 1.45;
  color: var(--main-text);
}

.inbox-tip i {
  color: var(--main-color);
  margin-top: 2px;
}

.inbox-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--bg);
}

.inbox-compose input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--logo-text);
  outline: none;
}

.inbox-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--main-color);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  transition: opacity 0.2s;
}

.inbox-send:hover {
  opacity: 0.92;
}

.inbox-attach {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--main-color);
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
}

.inbox-back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 4px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--logo-text);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 18px;
}

.inbox-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dash-mini.is-on {
  background: var(--main-color);
  color: #fff;
}

@media (min-width: 1101px) {
  #dash-mesajlar .inbox-list {
    display: flex;
    max-height: none;
    border-right: 1px solid var(--bg);
    border-bottom: 0;
  }

  #dash-mesajlar .inbox-thread {
    display: flex;
  }
}

@media (max-width: 1100px) {
  #dash-mesajlar .dash-welcome {
    margin-bottom: 12px;
  }

  #dash-mesajlar .inbox-list-toolbar .inbox-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }

  #dash-mesajlar .inbox-list-toolbar .inbox-filters::-webkit-scrollbar {
    display: none;
  }

  #dash-mesajlar .inbox-list-toolbar .inbox-filters .dash-mini {
    flex-shrink: 0;
  }

  #dash-mesajlar .inbox {
    grid-template-columns: 1fr;
    min-height: min(72vh, 640px);
  }

  #dash-mesajlar .inbox-list {
    border-right: 0;
    border-bottom: 0;
    max-height: none;
    min-height: 0;
    flex: 1;
    overflow: auto;
  }

  #dash-mesajlar .inbox-thread {
    display: none;
    min-height: min(72vh, 640px);
  }

  #dash-mesajlar .inbox.inbox-thread-open .inbox-list {
    display: none;
  }

  #dash-mesajlar .inbox.inbox-thread-open .inbox-thread {
    display: flex;
  }

  #dash-mesajlar .inbox.inbox-thread-open .inbox-back {
    display: inline-flex;
  }

  #dash-mesajlar .inbox-head {
    align-items: center;
  }

  #dash-mesajlar .inbox-head-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #dash-mesajlar .inbox-listing {
    margin-left: 14px;
    margin-right: 14px;
  }

  #dash-mesajlar .inbox-compose {
    padding: 12px 14px;
  }
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table th,
.dash-table td {
  text-align: left;
  padding: 12px 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--bg);
}

.dash-table th {
  font-weight: 500;
  color: var(--main-text);
}

.dash-table td {
  color: var(--logo-text);
  font-weight: 500;
}

.dash-listings-card {
  padding: 0;
  overflow: hidden;
}

.dash-listings-head {
  display: none;
}

.dash-listing-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dash-listing-title img,
.dash-listing-ph {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}

.dash-listing-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.dash-listing-title strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--logo-text);
  line-height: 1.35;
}

.dash-listing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.dash-listing-actions .dash-mini {
  margin-right: 0;
}

@media (min-width: 1101px) {
  .dash-listings-head {
    display: contents;
  }

  .dash-listings-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 116px minmax(132px, auto) 130px minmax(150px, auto);
    align-items: center;
  }

  .dash-listings {
    display: contents;
  }

  .dash-listing {
    display: contents;
  }

  .dash-listings-head > span {
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--main-text);
    background: var(--header-bg);
    white-space: nowrap;
  }

  html.dark .dash-listings-head > span,
  html.dark .dash-listing-title,
  html.dark .dash-listing-status,
  html.dark .dash-listing-views,
  html.dark .dash-listing-price,
  html.dark .dash-listing-actions {
    background: #1a1a32;
  }

  .dash-listing-title,
  .dash-listing-status,
  .dash-listing-views,
  .dash-listing-price,
  .dash-listing-actions {
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg);
    background: var(--header-bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--logo-text);
  }

  .dash-listing:last-child .dash-listing-title,
  .dash-listing:last-child .dash-listing-status,
  .dash-listing:last-child .dash-listing-views,
  .dash-listing:last-child .dash-listing-price,
  .dash-listing:last-child .dash-listing-actions {
    border-bottom: 0;
  }

  .dash-listing-views,
  .dash-listing-price {
    white-space: nowrap;
  }

  .dash-listing-actions {
    justify-content: flex-end;
  }
}

.dash-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: color-mix(in srgb, var(--main-color) 14%, var(--bg));
  color: var(--main-color);
}

.dash-status.wait {
  background: color-mix(in srgb, #f59e0b 16%, var(--bg));
  color: #d97706;
}

.dash-status.end {
  background: var(--bg);
  color: var(--main-text);
}

.dash-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 0;
  background: var(--bg);
  color: var(--logo-text);
  text-decoration: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
  cursor: pointer;
}

.dash-mini:hover {
  color: var(--main-color);
}

.dash-fav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dash-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dash-form[hidden] {
  display: none !important;
}

.dash-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--main-text);
  margin-bottom: 6px;
}

.dash-form input:not([type="checkbox"]):not([type="radio"]),
.dash-form select,
.dash-form textarea {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--logo-text);
  outline: none;
}

.dash-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;
  accent-color: var(--main-color);
  flex-shrink: 0;
}

.dash-form input[readonly] {
  opacity: 0.8;
  cursor: default;
}

.dash-form textarea {
  height: auto;
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.dash-form .full {
  grid-column: 1 / -1;
}

.dash-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 100px;
  background: var(--main-color);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.dash-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 18px;
}

.dash-wallet strong {
  font-size: 26px;
  font-weight: 600;
  color: var(--main-color);
}

.dash-wallet-btns {
  display: flex;
  gap: 8px;
}

@media (max-width: 1100px) {
  .dash-layout,
  .dash-grid,
  .dash-fav-grid,
  .dash-form {
    grid-template-columns: 1fr;
  }

  .dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dash-stat {
    padding: 14px;
  }

  .dash-stat strong {
    font-size: 20px;
  }

  #dash-ilanlarim .dash-welcome {
    flex-direction: column;
    align-items: stretch;
  }

  #dash-ilanlarim .dash-welcome .dash-add {
    justify-content: center;
    width: 100%;
  }

  .dash-listings {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .dash-listing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title status"
      "views views"
      "price price"
      "actions actions";
    gap: 8px 12px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--logo-text) 10%, transparent);
    border-radius: 14px;
    background: var(--header-bg);
    box-shadow: 0 2px 8px rgba(2, 6, 25, 0.05);
  }

  html.dark .dash-listing {
    background: #1a1a32;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .dash-listing-title {
    grid-area: title;
    min-width: 0;
  }

  .dash-listing-title strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .dash-listing-title img,
  .dash-listing-ph {
    width: 52px;
    height: 52px;
  }

  .dash-listing-status {
    grid-area: status;
    justify-self: end;
    align-self: start;
    flex-shrink: 0;
  }

  .dash-listing-views,
  .dash-listing-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
  }

  .dash-listing-views::before,
  .dash-listing-price::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 500;
    color: var(--main-text);
  }

  .dash-listing-views {
    grid-area: views;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid var(--bg);
  }

  .dash-listing-price {
    grid-area: price;
  }

  .dash-listing-actions {
    grid-area: actions;
    justify-content: flex-start;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid var(--bg);
  }

  .dash-listings-card {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  html.dark .dash-listings-card {
    background: transparent;
    border-color: transparent;
  }

  html.dark .dash-listing-views,
  html.dark .dash-listing-actions {
    border-top-color: rgba(255, 255, 255, 0.06);
  }

  .dash-side {
    padding: 14px 16px;
  }

  .dash-profile {
    margin-bottom: 0;
    padding-bottom: 14px;
  }

  .dash-side-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
    padding: 12px 14px;
    border: 1px solid var(--bg);
    border-radius: 12px;
    background: var(--bg);
    color: var(--logo-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }

  .dash-side-toggle:hover,
  .dash-side.is-open .dash-side-toggle {
    border-color: color-mix(in srgb, var(--main-color) 35%, var(--bg));
    color: var(--main-color);
  }

  .dash-side-toggle-chevron {
    font-size: 18px;
    transition: transform 0.22s ease;
  }

  .dash-side.is-open .dash-side-toggle-chevron {
    transform: rotate(180deg);
  }

  .dash-side-menu {
    display: none;
    flex-direction: column;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg);
  }

  .dash-side.is-open .dash-side-menu {
    display: flex;
  }

  .dash-page {
    margin-top: 16px;
    margin-bottom: 28px;
  }

  .dash-welcome {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }

  .dash-welcome h1 {
    font-size: 20px;
  }

  .dash-welcome .section-link,
  .dash-welcome .dash-add {
    justify-content: center;
    width: 100%;
  }

  .dash-card {
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .dash-card h2 {
    margin-bottom: 12px;
  }

  .dash-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "thumb content"
      "price price";
    gap: 4px 12px;
    align-items: start;
    padding: 14px 0;
  }

  .dash-row img,
  .dash-row-ph {
    grid-area: thumb;
    width: 52px;
    height: 52px;
  }

  .dash-row > div {
    grid-area: content;
    min-width: 0;
  }

  .dash-row em {
    grid-area: price;
    justify-self: start;
    margin-left: 64px;
    margin-top: 2px;
    font-size: 15px;
  }

  .dash-msg {
    gap: 12px;
    padding: 10px 0;
  }

  .dash-msg-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  #dash-siparisler .dash-card,
  #dash-cuzdan .dash-card {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .dash-table-responsive thead {
    display: none;
  }

  .dash-table-responsive tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .dash-table-responsive tbody tr {
    display: block;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--logo-text) 10%, transparent);
    border-radius: 14px;
    background: var(--header-bg);
    box-shadow: 0 2px 8px rgba(2, 6, 25, 0.05);
  }

  html.dark .dash-table-responsive tbody tr {
    background: #1a1a32;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .dash-table-responsive td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg);
    text-align: right;
  }

  html.dark .dash-table-responsive td {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .dash-table-responsive td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .dash-table-responsive td:first-child {
    display: block;
    padding-top: 0;
    padding-bottom: 10px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--bg);
    font-weight: 600;
    font-size: 15px;
    text-align: left;
  }

  .dash-table-responsive td:first-child::before {
    display: none;
  }

  .dash-table-responsive td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 500;
    color: var(--main-text);
    flex-shrink: 0;
    text-align: left;
  }

  .dash-table-responsive td[data-label="Tutar"] {
    font-weight: 600;
    color: var(--logo-text);
  }

  #dash-cuzdan .dash-wallet {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px 16px;
    margin-bottom: 12px;
    border: 1px solid color-mix(in srgb, var(--logo-text) 10%, transparent);
    border-radius: 14px;
    background: var(--header-bg);
    box-shadow: 0 2px 8px rgba(2, 6, 25, 0.05);
  }

  html.dark #dash-cuzdan .dash-wallet {
    background: #1a1a32;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  #dash-cuzdan .dash-wallet strong {
    display: block;
    margin-top: 6px;
    font-size: 32px;
  }

  #dash-cuzdan .dash-wallet-btns {
    flex-direction: column;
    margin-top: 16px;
  }

  #dash-cuzdan .dash-wallet-btns .dash-add,
  #dash-cuzdan .dash-wallet-btns .dash-mini {
    width: 100%;
    justify-content: center;
    height: 48px;
    margin: 0;
  }

  #dash-ayarlar .dash-card {
    padding: 16px;
  }

  #dash-ayarlar .verify-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
  }

  #dash-ayarlar .dash-form {
    gap: 12px;
  }

  #dash-ayarlar .dash-save {
    width: 100%;
  }

  #dash-favoriler .dash-welcome {
    margin-bottom: 14px;
  }
}

.wiz-page {
  margin: 32px 0 56px;
}

.wiz-page [hidden] {
  display: none !important;
}

.wiz-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.wiz-head h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--logo-text);
  margin: 0 0 4px;
}

.wiz-head p {
  margin: 0;
  font-size: 14px;
  color: var(--main-text);
}

.wiz-progress {
  flex: 0 0 220px;
  height: 6px;
  background: var(--header-bg);
  border-radius: 6px;
  overflow: hidden;
}

.wiz-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--main-color);
  border-radius: 6px;
  transition: width 0.28s ease;
}

html.dark .wiz-progress {
  background: #1a1a32;
}

.wiz-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 28px;
  padding: 18px 22px;
  background: var(--header-bg);
  border-radius: 16px;
}

html.dark .wiz-steps,
html.dark .wiz-card,
html.dark .wiz-preview {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.wiz-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  border: 0;
  background: transparent;
  color: var(--main-text);
  font-family: inherit;
  cursor: pointer;
}

.wiz-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 3px;
  background: var(--bg);
  border-radius: 3px;
  pointer-events: none;
}

.wiz-step.done:not(:last-child)::after,
.wiz-step.active:not(:last-child)::after {
  background: var(--main-color);
}

.wiz-step b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--main-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 1;
}

.wiz-step.active b,
.wiz-step.done b {
  background: var(--main-color);
  color: #fff;
}

.wiz-step.done b {
  font-size: 0;
}

.wiz-step.done b::before {
  content: "\2713";
  font-size: 15px;
  font-weight: 700;
}

.wiz-step span {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.wiz-step.active span,
.wiz-step.done span {
  color: var(--logo-text);
}

.wiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 340px;
  gap: 20px;
  align-items: start;
}

.wiz-card,
.wiz-preview {
  background: var(--header-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid transparent;
}

.wiz-pane {
  display: none;
}

.wiz-pane.active {
  display: block;
  animation: wizIn 0.28s ease;
}

.wiz-q {
  animation: wizIn 0.25s ease;
}

@keyframes wizIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wiz-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.wiz-path button {
  border: 0;
  background: var(--bg);
  color: var(--logo-text);
  border-radius: 100px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.wiz-path button:hover {
  color: var(--main-color);
}

.wiz-path i {
  font-size: 12px;
  color: var(--main-text);
}

.wiz-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--logo-text);
  margin-bottom: 6px;
}

.wiz-card-title {
  margin: 0 0 16px;
  font-size: 18px;
}

.wiz-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.wiz-actions .dash-add {
  margin: 0;
}

.wiz-actions .dash-mini {
  height: 48px;
  padding: 0 18px;
}

.wiz-card > p,
.wiz-pane > p,
.wiz-hint {
  font-size: 15px;
  color: var(--main-text);
  margin: 0 0 24px;
}

.wiz-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
  margin: 22px 0 12px;
}

.wiz-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wiz-picks-sm {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wiz-picks-2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}

.wiz-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--bg);
  color: var(--logo-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.wiz-pick:hover,
.wiz-pick.active {
  border-color: rgba(24, 154, 248, 0.55);
  color: var(--main-color);
}

.wiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--bg);
}

.wiz-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 100px;
  background: var(--bg);
  color: var(--logo-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.wiz-next {
  margin-left: auto;
}

.wiz-next.dash-add {
  margin-top: 0;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
}

.wiz-next.dash-add:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.wiz-preview {
  position: sticky;
  top: 20px;
}

.wiz-preview h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
  margin-bottom: 14px;
}

.wiz-preview .listing-card {
  pointer-events: none;
}

.wiz-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--main-text);
  font-size: 14px;
}

.wiz-commission {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid rgba(24, 154, 248, 0.18);
}

.wiz-commission-row,
.wiz-commission-net {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--main-text);
}

.wiz-commission-row + .wiz-commission-row,
.wiz-commission-row + .wiz-commission-net,
.wiz-commission-net + .wiz-commission-hint,
.wiz-commission-row + .wiz-commission-hint {
  margin-top: 8px;
}

.wiz-commission-row strong,
.wiz-commission-net strong {
  color: var(--logo-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wiz-commission-net {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(24, 154, 248, 0.25);
  font-size: 15px;
  color: var(--logo-text);
}

.wiz-commission-net strong {
  color: var(--main-color);
  font-size: 18px;
}

.wiz-commission-hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--main-text);
}

html.dark .wiz-commission {
  border-color: rgba(24, 154, 248, 0.28);
}

.wiz-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wiz-photo {
  position: relative;
  height: 88px;
  border: 1px dashed rgba(24, 154, 248, 0.35);
  border-radius: 12px;
  background: var(--bg);
  color: var(--main-color);
  cursor: pointer;
  overflow: hidden;
  font-size: 22px;
}

.wiz-photo.has-photo {
  border-style: solid;
  border-color: transparent;
}

.wiz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wiz-photo-del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  z-index: 1;
}

.wiz-photo-del:hover {
  background: #ef5350;
}

.wiz-form textarea {
  width: 100%;
  min-height: 120px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--logo-text);
  outline: none;
  resize: vertical;
}

.wiz-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wiz-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 14px;
}

.wiz-summary span {
  color: var(--main-text);
}

.wiz-summary strong {
  color: var(--logo-text);
  font-weight: 500;
  text-align: right;
}

.wiz-success {
  text-align: center;
  padding: 40px 32px;
}

.wiz-success .mega-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 28px;
}

.wiz-success h2 {
  margin-bottom: 8px;
}

.wiz-error {
  display: none;
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(239, 83, 80, 0.12);
  border: 1px solid rgba(239, 83, 80, 0.4);
  color: #c62828;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.wiz-error.show {
  display: block;
}

.wiz-field-help {
  display: block;
  margin-top: 6px;
  color: var(--main-text);
  font-size: 13px;
}

.wiz-field-error {
  display: block;
  margin-top: 6px;
  color: #c62828;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.wiz-field-error[hidden] {
  display: none !important;
}

.wiz-field.is-invalid input,
.wiz-field.is-invalid select,
.wiz-field.is-invalid textarea {
  box-shadow: inset 0 0 0 1.5px rgba(198, 40, 40, 0.65);
  background: rgba(239, 83, 80, 0.06);
}

html.dark .wiz-error {
  background: rgba(239, 83, 80, 0.18);
  border-color: rgba(239, 83, 80, 0.5);
  color: #ff8a80;
}

html.dark .wiz-field-error {
  color: #ff8a80;
}

@media (max-width: 1100px) {
  .wiz-page {
    margin: 12px 0 24px;
  }

  .wiz-page .page-crumb {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .wiz-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 12px;
  }

  .wiz-head h1 {
    font-size: 22px;
  }

  .wiz-head p {
    font-size: 13px;
    line-height: 1.45;
  }

  .wiz-head .section-link {
    align-self: flex-start;
  }

  .wiz-progress {
    flex: none;
    width: 100%;
  }

  .wiz-steps {
    margin-bottom: 16px;
    padding: 12px 14px;
    gap: 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .wiz-steps::-webkit-scrollbar {
    display: none;
  }

  .wiz-step {
    flex: 0 0 auto;
    min-width: 36px;
  }

  .wiz-step span {
    display: none;
  }

  .wiz-step:not(:last-child)::after {
    top: 14px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
  }

  .wiz-step b {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .wiz-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wiz-card,
  .wiz-preview {
    padding: 16px;
    border-radius: 14px;
  }

  .wiz-card h2 {
    font-size: 18px;
  }

  .wiz-card > p,
  .wiz-pane > p,
  .wiz-hint {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .wiz-picks,
  .wiz-picks-sm,
  .wiz-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wiz-picks-2 {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wiz-pick {
    padding: 14px 8px;
    font-size: 13px;
    border-radius: 12px;
    gap: 8px;
  }

  .wiz-pick .mega-card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .wiz-path {
    margin-bottom: 12px;
  }

  .wiz-path button {
    font-size: 12px;
    padding: 5px 10px;
  }

  .wiz-card .dash-form {
    gap: 12px;
  }

  .wiz-card .dash-form input,
  .wiz-card .dash-form select {
    height: 46px;
    font-size: 16px;
  }

  .wiz-card .dash-form textarea {
    min-height: 100px;
    font-size: 16px;
  }

  .wiz-photo {
    height: 76px;
    font-size: 20px;
  }

  .wiz-nav {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .wiz-back,
  .wiz-next.dash-add {
    width: 100%;
    justify-content: center;
    height: 46px;
    font-size: 15px;
  }

  .wiz-next {
    margin-left: 0;
  }

  .wiz-preview {
    position: static;
  }

  .wiz-preview:has(#wizPreviewEmpty:not([hidden])):not(:has(#wizCommission:not([hidden]))) {
    display: none;
  }

  .wiz-preview:has(#wizPreviewEmpty:not([hidden])) > h3,
  .wiz-preview:has(#wizPreviewEmpty:not([hidden])) > #wizPreviewEmpty {
    display: none;
  }

  .wiz-preview .listing-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    align-items: stretch;
    grid-template-columns: unset;
    grid-template-areas: unset;
  }

  .wiz-preview .listing-card-top,
  .wiz-preview .listing-card-title,
  .wiz-preview .listing-card-media,
  .wiz-preview .listing-card-tags,
  .wiz-preview .listing-card-buy,
  .wiz-preview .listing-card-seller {
    grid-area: unset;
  }

  .wiz-preview .listing-card-title {
    font-size: 15px;
    min-height: 0;
  }

  .wiz-preview .listing-card-media {
    width: auto;
    height: 140px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .wiz-preview .listing-card-media > i {
    font-size: 42px;
  }

  .wiz-preview .listing-card-buy strong {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .wiz-preview .listing-card-seller {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }

  .wiz-preview .verify-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
  }

  .wiz-summary div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .wiz-summary strong {
    text-align: left;
  }

  .wiz-success {
    padding: 28px 18px;
  }

  .wiz-success h2 {
    font-size: 20px;
  }

  .wiz-success .dash-wallet-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .wiz-success .dash-wallet-btns .dash-add,
  .wiz-success .dash-wallet-btns .dash-mini {
    width: 100%;
    justify-content: center;
  }

  .wiz-actions {
    flex-direction: column;
    margin-top: 16px;
  }

  .wiz-actions .dash-add,
  .wiz-actions .dash-mini {
    width: 100%;
    justify-content: center;
  }
}

.cat-page {
  margin: 28px 0 56px;
}

.cat-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--main-text);
}

.cat-crumb a {
  color: var(--main-text);
  text-decoration: none;
}

.cat-crumb a:hover {
  color: var(--main-color);
}

.cat-crumb i {
  font-size: 12px;
}

.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cat-head h1 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 700;
  color: var(--logo-text);
}

.cat-head p {
  margin: 0;
  font-size: 15px;
  color: var(--main-text);
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--header-bg);
  color: var(--logo-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.cat-chip:hover,
.cat-chip.active {
  border-color: rgba(24, 154, 248, 0.55);
  color: var(--main-color);
}

html.dark .cat-chip {
  background: #1a1a32;
}

.cat-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.cat-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 12px;
  border-radius: 100px;
  background: rgba(24, 154, 248, 0.12);
  color: var(--logo-text);
  font-size: 13px;
  text-decoration: none;
}

.cat-active-chip i {
  font-size: 16px;
  color: var(--main-color);
}

.cat-active-clear {
  font-size: 13px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 500;
}

.cat-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-mini-chip {
  height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--bg);
  color: var(--logo-text);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.cat-mini-chip:hover,
.cat-mini-chip.active {
  border-color: rgba(24, 154, 248, 0.55);
  color: var(--main-color);
}

.cat-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 2px;
  border-radius: 99px;
  background: var(--main-color);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.cat-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.cat-filters {
  position: sticky;
  top: 16px;
  padding: 20px;
  background: var(--header-bg);
  border-radius: 16px;
}

html.dark .cat-filters,
html.dark .cat-toolbar,
html.dark .cat-empty {
  background: #1a1a32;
}

.cat-filters h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--logo-text);
}

.cat-filter {
  margin-bottom: 16px;
}

.cat-filter label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--main-text);
}

.cat-filter input,
.cat-filter select {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  padding: 0 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--logo-text);
  outline: none;
}

.cat-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cat-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--logo-text);
  font-size: 14px;
  cursor: pointer;
}

.cat-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--main-color);
}

.cat-filter-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.cat-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 0;
  border-radius: 100px;
  background: var(--main-color);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.cat-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 0;
  border-radius: 100px;
  background: var(--bg);
  color: var(--logo-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.cat-filter-open,
.cat-filter-backdrop {
  display: none;
}

@media (min-width: 1101px) {
  .cat-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .cat-filters {
    position: sticky;
    top: 16px;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    max-height: none;
    margin: 0;
    border-radius: 16px;
    transform: none;
    transition: none;
    overflow: visible;
    box-shadow: none;
  }

  .cat-filters > h3 {
    position: static;
    margin: 0 0 16px;
    padding-bottom: 0;
    background: transparent;
    border-bottom: 0;
  }

  .cat-results .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .cat-results .listing-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    align-items: stretch;
    grid-template-columns: unset;
    grid-template-areas: unset;
  }

  .cat-results .listing-card-top,
  .cat-results .listing-card-title,
  .cat-results .listing-card-media,
  .cat-results .listing-card-tags,
  .cat-results .listing-card-buy,
  .cat-results .listing-card-seller {
    grid-area: unset;
  }

  .cat-results .listing-card-title {
    font-size: 15px;
    min-height: 2.8em;
  }

  .cat-results .listing-card-media {
    width: auto;
    height: 140px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .cat-results .listing-card-media > i {
    font-size: 42px;
  }

  .cat-results .listing-card-tags span {
    font-size: 13px;
    padding: 5px 10px;
  }

  .cat-results .listing-card-buy strong {
    font-size: 16px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .cat-results .listing-card-btn {
    padding: 8px 14px;
    font-size: 14px;
    margin-left: auto;
  }

  .cat-results .listing-card-seller {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }

  .cat-results .listing-card-cat,
  .cat-results .listing-card-time {
    font-size: 14px;
  }
}

.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--header-bg);
  border-radius: 16px;
}

.cat-toolbar strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--logo-text);
}

.cat-sort {
  height: 40px;
  border: 0;
  border-radius: 100px;
  background: var(--bg);
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--logo-text);
  outline: none;
}

.cat-empty {
  display: none;
  padding: 48px 20px;
  border-radius: 16px;
  background: var(--header-bg);
  text-align: center;
  color: var(--main-text);
}

.cat-empty.show {
  display: block;
}

.cat-empty strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--logo-text);
}

.cat-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.cat-pages a,
.cat-pages span {
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--header-bg);
  color: var(--logo-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  box-sizing: border-box;
}

.cat-pages a.active {
  background: var(--main-color);
  color: #fff;
}

.cat-pages span.disabled {
  opacity: 0.38;
  pointer-events: none;
}

.cat-seo-article {
  margin: 36px 0 8px;
  padding: 28px 32px;
  border-radius: 16px;
  background: var(--header-bg);
}

.cat-seo-article-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--main-text);
}

.cat-seo-article-body > *:first-child {
  margin-top: 0;
}

.cat-seo-article-body > *:last-child {
  margin-bottom: 0;
}

.cat-seo-article-body h2,
.cat-seo-article-body h3 {
  margin: 18px 0 8px;
  color: var(--logo-text);
  font-size: 18px;
  font-weight: 700;
}

.cat-seo-article-body h3 {
  font-size: 16px;
}

.cat-seo-article-body p {
  margin: 0 0 12px;
}

.cat-seo-article-body ul,
.cat-seo-article-body ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.cat-seo-article-body a {
  color: var(--main-color);
}

.cat-seo-article.is-collapsed .cat-seo-article-body {
  max-height: 8.4em;
  overflow: hidden;
  position: relative;
}

.cat-seo-article.is-collapsed .cat-seo-article-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(transparent, var(--header-bg));
  pointer-events: none;
}

.cat-seo-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--main-color);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.cat-seo-more i {
  transition: transform 0.2s;
}

.cat-seo-article:not(.is-collapsed) .cat-seo-more-open {
  display: none;
}

.cat-seo-article.is-collapsed .cat-seo-more-close {
  display: none;
}

.cat-seo-article:not(.is-collapsed) .cat-seo-more i {
  transform: rotate(180deg);
}

.listing-card.is-hidden {
  display: none;
}

.cat-page[data-cat="ig"] .listing-card[data-cat="moto"],
.cat-page[data-cat="moto"] .listing-card[data-cat="ig"] {
  display: none;
}

.cat-page[data-cat="ig"] .is-moto-only,
.cat-page[data-cat="moto"] .is-ig-only {
  display: none !important;
}

@media (max-width: 1100px) {
  .cat-layout {
    grid-template-columns: 1fr;
  }

  .cat-seo-article {
    margin-top: 24px;
    padding: 20px 18px;
  }
  .cat-filters {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    top: auto;
    max-height: min(88vh, 640px);
    margin: 0;
    border-radius: 20px 20px 0 0;
    transform: translateY(calc(100% + 16px));
    transition: transform 0.28s ease;
    overflow: auto;
    box-shadow: 0 -16px 40px rgba(2, 6, 25, 0.16);
  }
  .cat-filters > h3 {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0 0 16px;
    padding-bottom: 12px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--bg);
  }
  body.cat-filters-open .cat-filters {
    transform: translateY(0);
  }
  .cat-filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(2, 6, 25, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  body.cat-filters-open .cat-filter-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .cat-filter-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--bg);
    border-radius: 100px;
    background: var(--header-bg);
    color: var(--logo-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }
  .cat-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .cat-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .cat-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .cat-chips::-webkit-scrollbar {
    display: none;
  }
  .cat-chip {
    flex-shrink: 0;
  }
  .cat-head h1 {
    font-size: 24px;
  }
  .cat-crumb {
    font-size: 13px;
  }
}

/* --- Auth & account --- */
.page-hero {
  margin: 24px 0 28px;
  padding: 32px 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b7fd4 0%, #189AF8 55%, #5ec8ff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
}

.page-hero p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.95;
  max-width: 640px;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.page-hero-badge i {
  font-size: 18px;
}

.auth-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 20px;
  align-items: start;
}

.auth-side {
  display: grid;
  gap: 12px;
}

.auth-side-card {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--header-bg);
  border: 1px solid transparent;
}

html.dark .auth-side-card {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.auth-side-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--logo-text);
}

.auth-side-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--main-text);
}

.auth-side-card .mega-card-icon {
  margin-bottom: 12px;
}

.page-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.page-crumb a {
  color: var(--main-text);
  text-decoration: none;
}

.page-crumb a:hover {
  color: var(--main-color);
}

.page-crumb i {
  color: var(--muted);
  font-size: 12px;
}

.page-crumb span {
  color: var(--logo-text);
  font-weight: 500;
}

.cart-page-head,
.checkout-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.cart-page-head h1,
.checkout-page-head h1 {
  margin: 0 0 6px;
  font-size: 28px;
  color: var(--logo-text);
}

.cart-page-head p,
.checkout-page-head p {
  margin: 0;
  font-size: 15px;
  color: var(--main-text);
}

.cart-steps {
  display: flex;
  gap: 8px;
}

.cart-step {
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--header-bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--main-text);
}

html.dark .cart-step {
  background: #1a1a32;
}

.cart-step.active {
  background: var(--main-color);
  color: #fff;
}

.static-hero {
  padding: 28px 32px;
  border-radius: 16px;
  background: var(--header-bg);
  margin-bottom: 20px;
  border: 1px solid transparent;
}

html.dark .static-hero {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.static-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--logo-text);
}

.static-hero p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--main-text);
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.blog-featured-main {
  position: relative;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
  background: #0b7fd4;
}

.blog-featured-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 25, 0.9) 0%, rgba(2, 6, 25, 0.35) 55%, rgba(2, 6, 25, 0.5) 100%);
}

.blog-featured-badge,
.blog-featured-copy {
  position: relative;
  z-index: 1;
}

.blog-featured-badge {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--main-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-featured-copy strong {
  display: block;
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.blog-featured-copy span {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.92;
}

.blog-featured-copy em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  opacity: 0.8;
}

.blog-featured-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.blog-featured-mini {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: var(--header-bg);
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: 0.2s;
}

html.dark .blog-featured-mini {
  background: #1a1a32;
}

.blog-featured-mini:hover {
  border-color: rgba(24, 154, 248, 0.35);
}

.blog-featured-mini > img {
  width: 112px;
  height: 84px;
  border-radius: 10px;
  object-fit: cover;
}

.blog-featured-mini strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--logo-text);
}

.blog-featured-mini p {
  margin: 0;
  font-size: 13px;
  color: var(--main-text);
}

.blog-featured-main small {
  display: none;
}

.blog-featured-main strong,
.blog-featured-main span {
  display: none;
}

.verify-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.verify-steps {
  display: grid;
  gap: 10px;
}

.verify-step {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: var(--header-bg);
}

html.dark .verify-step {
  background: #1a1a32;
}

.verify-step b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.verify-step.active b {
  background: var(--main-color);
  color: #fff;
}

.verify-step strong {
  display: block;
  font-size: 14px;
  color: var(--logo-text);
}

.verify-step span {
  font-size: 13px;
  color: var(--main-text);
}

.header-simple .container {
  justify-content: space-between;
}

.header-simple-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-page,
.static-page,
.cart-page,
.checkout-page,
.seller-page,
.blog-page {
  margin: 32px 0 48px;
}

.auth-page > .container {
  padding-left: 20px;
  padding-right: 20px;
}

.auth-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.auth-card.auth-success {
  padding: 40px 36px;
  text-align: center;
}

.auth-card,
.static-card,
.checkout-card,
.verify-card {
  background: var(--header-bg);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid transparent;
}

html.dark .auth-card,
html.dark .static-card,
html.dark .checkout-card,
html.dark .verify-card {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.cart-summary {
  padding: 0;
  background: transparent;
  border: 0;
}

.auth-card h1,
.static-card h1,
.cart-page h1,
.checkout-page h1,
.verify-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: var(--logo-text);
}

.auth-card > p,
.static-card > p.lead,
.verify-card > p.lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--main-text);
}

.auth-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--logo-text);
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  width: 100%;
  height: 48px;
  margin-bottom: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--logo-text);
  outline: none;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus {
  box-shadow: 0 0 0 2px rgba(24, 154, 248, 0.35);
}

.auth-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
  color: var(--main-text);
}

.auth-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  accent-color: var(--main-color);
  flex-shrink: 0;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}

.auth-row a {
  color: var(--main-color);
  text-decoration: none;
}

.auth-row a:hover {
  text-decoration: underline;
}

.auth-terms {
  justify-content: flex-start;
}

.auth-terms label {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.auth-terms span {
  min-width: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.auth-terms a {
  white-space: nowrap;
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin: 0 0 16px;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.auth-google:hover {
  background: #f8fafc;
}

html.dark .auth-google {
  background: #12122a;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 100px;
  background: var(--main-color);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.auth-submit:hover {
  opacity: 0.92;
}

.auth-submit.outline {
  background: transparent;
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bg);
}

.auth-foot {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--main-text);
}

.auth-foot a {
  color: var(--main-color);
  font-weight: 500;
  text-decoration: none;
}

.auth-success {
  text-align: center;
}

.auth-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--main-color) 12%, var(--bg));
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.auth-success h1 {
  margin-bottom: 12px;
}

.auth-success p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--main-text);
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verify-options {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.verify-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
  border: 1px solid transparent;
}

.verify-option:hover {
  border-color: rgba(24, 154, 248, 0.45);
}

.verify-option strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--logo-text);
}

.verify-option span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--main-text);
}

.verify-option i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--main-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verify-upload {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--bg);
}

.verify-upload h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--logo-text);
}

.verify-upload p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--main-text);
}

.verify-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.verify-photo {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 120px;
  height: 120px;
  border: 1px dashed rgba(24, 154, 248, 0.4);
  border-radius: 12px;
  background: var(--bg);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--main-text);
  text-align: center;
  margin: 0;
}

.auth-form label.verify-photo {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  font-weight: 400;
  width: 100%;
}

.verify-photo i {
  font-size: 28px;
  color: var(--main-color);
  line-height: 1;
  display: block;
}

.verify-photo input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.verify-note {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--main-color) 8%, var(--bg));
  font-size: 13px;
  line-height: 1.45;
  color: var(--main-text);
}

.verify-note i {
  color: var(--main-color);
  margin-top: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--main-color) 12%, var(--bg));
  color: var(--main-color);
  font-size: 12px;
  font-weight: 600;
}

.verified-badge i {
  font-size: 13px;
}

/* --- Cart & checkout --- */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.cart-list,
.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--header-bg);
  border-radius: 16px;
  border: 1px solid transparent;
}

html.dark .cart-item {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.cart-item.is-blocked {
  opacity: 0.72;
  border-color: rgba(239, 83, 80, 0.25);
}

.cart-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.cart-item-body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--logo-text);
}

.cart-item-body span {
  font-size: 13px;
  color: var(--main-text);
}

.cart-item-price {
  text-align: right;
}

.cart-item-price strong {
  display: block;
  font-size: 18px;
  color: var(--logo-text);
}

.cart-item-price span {
  font-size: 12px;
  color: var(--main-text);
}

.cart-item-remove {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--bg);
  font-size: 13px;
}

.cart-alert {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: color-mix(in srgb, #f59e0b 12%, var(--bg));
  font-size: 14px;
  line-height: 1.5;
  color: var(--logo-text);
}

.cart-alert i {
  color: #d97706;
  font-size: 18px;
  flex-shrink: 0;
}

.cart-alert.danger {
  background: color-mix(in srgb, #ef5350 10%, var(--bg));
}

.cart-alert.danger i {
  color: #ef5350;
}

.cart-summary h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--logo-text);
}

.cart-summary .checkout-card {
  padding: 22px 20px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--main-text);
}

.cart-summary-row.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--bg);
  font-size: 18px;
  font-weight: 600;
  color: var(--logo-text);
}

.cart-summary .dash-add {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.cart-summary .dash-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.checkout-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.checkout-step {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--header-bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--main-text);
  text-align: center;
}

html.dark .checkout-step {
  background: #1a1a32;
}

.checkout-step.active {
  background: var(--main-color);
  color: #fff;
}

.checkout-pay-options {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.checkout-pay {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  border: 1px solid transparent;
}

.checkout-pay:has(input:checked) {
  border-color: rgba(24, 154, 248, 0.55);
}

.checkout-pay input {
  accent-color: var(--main-color);
}

.checkout-pay strong {
  display: block;
  font-size: 14px;
  color: var(--logo-text);
}

.checkout-pay span {
  font-size: 12px;
  color: var(--main-text);
}

/* --- Detail buy modes --- */
.detail-buy-mode {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-buy-mode .card-pay-notice {
  margin: 0;
  text-align: left;
  align-items: flex-start;
}

.detail-buy-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  font-size: 13px;
  line-height: 1.45;
  color: var(--main-text);
}

.detail-buy-note i {
  color: var(--main-color);
  margin-right: 4px;
}

.detail-buy.disabled,
.detail-buy.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  border-style: dashed;
}

.detail-tag-digital {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  background: color-mix(in srgb, #22c55e 12%, var(--bg));
  color: #16a34a;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}

html.dark .detail-tag-digital {
  color: #4ade80;
}

.detail-tag-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  background: color-mix(in srgb, #f59e0b 12%, var(--bg));
  color: #d97706;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* --- Seller profile --- */
.seller-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  background: var(--header-bg);
  border-radius: 16px;
  margin-bottom: 20px;
}

html.dark .seller-head {
  background: #1a1a32;
}

.seller-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}

.seller-head h1 {
  margin: 0 0 6px;
  font-size: 26px;
  color: var(--logo-text);
}

.seller-head h1 i {
  color: var(--main-color);
  font-size: 20px;
}

.seller-meta {
  font-size: 14px;
  color: var(--main-text);
  margin-bottom: 10px;
}

.seller-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--main-text);
}

.seller-stats strong {
  color: var(--logo-text);
}

.seller-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seller-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--logo-text);
}

/* --- Static / blog --- */
.static-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.static-nav {
  position: sticky;
  top: 16px;
  padding: 20px;
  background: var(--header-bg);
  border-radius: 16px;
}

html.dark .static-nav {
  background: #1a1a32;
}

.static-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--main-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.static-nav a:hover,
.static-nav a.active {
  background: var(--bg);
  color: var(--main-color);
}

.static-card h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  color: var(--logo-text);
}

.static-card h2:first-of-type {
  margin-top: 0;
}

.static-card p,
.static-card li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--main-text);
}

.static-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.static-card ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.static-card h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  color: var(--logo-text);
}

.static-card a {
  color: var(--main-color);
  text-decoration: none;
}

.static-card a:hover {
  text-decoration: underline;
}

.static-card a.dash-add,
.static-card a.auth-submit,
.static-card a.dash-mini {
  color: #fff;
  text-decoration: none;
}

.static-card a.dash-add:hover,
.static-card a.auth-submit:hover,
.static-card a.dash-mini:hover {
  text-decoration: none;
  opacity: 0.92;
}

.static-card a.dash-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
}

.static-legal .legal-meta {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg);
  font-size: 13px;
  color: var(--main-text);
}

.legal-grid {
  margin-top: 8px;
}

.legal-card {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.legal-card:hover {
  border-color: rgba(24, 154, 248, 0.45);
  transform: translateY(-1px);
}

.legal-card strong {
  color: var(--logo-text);
}

.legal-card p {
  margin: 0;
}

.blog-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-article-head {
  margin-bottom: 24px;
}

.blog-article-cover {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-head h1 {
  margin: 12px 0;
  font-size: 32px;
  color: var(--logo-text);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--main-text);
}

.blog-article-body {
  background: var(--header-bg);
  border-radius: 16px;
  padding: 32px;
}

html.dark .blog-article-body {
  background: #1a1a32;
}

.blog-article-body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--main-text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg);
}

.contact-item i {
  color: var(--main-color);
  font-size: 18px;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--logo-text);
}

.contact-item span {
  font-size: 13px;
  color: var(--main-text);
}

.contact-submit {
  margin-top: 8px;
  height: 48px;
  border-radius: 100px;
  font-size: 16px;
}

/* --- 404 / unavailable listing --- */
.not-found-page {
  margin: 32px 0 48px;
}

.not-found-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 40px 24px;
  border-radius: 20px;
  background: var(--header-bg);
  border: 1px solid transparent;
}

html.dark .not-found-hero {
  background: #1a1a32;
  border-color: rgba(255, 255, 255, 0.06);
}

.not-found-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--main-color) 12%, var(--header-bg));
  color: var(--main-color);
  font-size: 14px;
  font-weight: 500;
}

.not-found-badge i {
  font-size: 16px;
}

.not-found-hero h1 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  color: var(--logo-text);
}

.not-found-hero p {
  margin: 0 auto 24px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--main-text);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.not-found-actions .dash-mini {
  height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
}

.not-found-actions .dash-add {
  margin-top: 0;
  height: 48px;
  padding: 0 22px;
  border-radius: 100px;
}

.not-found-alts {
  margin-bottom: 0;
}

@media (min-width: 1101px) {
  .not-found-alts .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .not-found-hero h1 {
    font-size: 26px;
  }
}

@media (max-width: 1100px) {
  .cart-layout,
  .checkout-layout,
  .static-layout,
  .auth-split,
  .verify-layout,
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .auth-page {
    margin: 12px 0 24px;
  }

  .auth-page > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .auth-wrap {
    max-width: none;
    margin-inline: 0;
  }

  .page-crumb {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .auth-page:has(.auth-split) .page-hero,
  .auth-page:has(.auth-split) .auth-side {
    display: none;
  }

  .page-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 10px 0 14px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .page-hero h1 {
    font-size: 22px;
  }

  .page-hero p {
    font-size: 14px;
  }

  .page-hero-badge {
    align-self: stretch;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
  }

  .auth-split {
    gap: 0;
  }

  .auth-split .auth-card {
    order: 1;
  }

  .auth-card,
  .auth-card.auth-success {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .verify-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .verify-card h1 {
    font-size: 21px;
  }

  .verify-card > p.lead {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .verify-layout .verify-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .verify-layout .verify-step {
    opacity: 1;
    padding: 12px 14px;
  }

  .verify-layout .verify-option {
    padding: 12px 14px;
  }

  .verify-photos {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .verify-photo,
  .auth-form label.verify-photo {
    height: auto;
    min-height: 148px;
    padding: 20px 12px;
  }

  .auth-card h1,
  .auth-card.auth-success h1 {
    font-size: 21px;
  }

  .auth-card > p,
  .auth-card.auth-success p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .auth-page:has(.auth-wrap) .auth-success-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .auth-page:has(.auth-wrap) .auth-card > p {
    margin-bottom: 14px;
  }

  .auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    height: 46px;
    margin-bottom: 14px;
    font-size: 16px;
  }

  .auth-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
  }

  .auth-row label {
    align-items: flex-start;
    line-height: 1.45;
  }

  .auth-row > a {
    align-self: flex-end;
  }

  .auth-terms {
    flex-direction: row;
  }

  .auth-terms label {
    align-items: center;
    font-size: 12px;
  }

  .auth-submit {
    height: 46px;
    font-size: 15px;
  }

  .auth-divider {
    margin: 16px 0;
    font-size: 13px;
  }

  .auth-foot {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
  }

  .auth-success-icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
    margin-inline: auto;
  }

  .static-page {
    margin: 12px 0 24px;
  }

  .static-page .page-crumb {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .static-layout {
    gap: 12px;
  }

  .static-nav {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 14px;
  }

  .static-nav::-webkit-scrollbar {
    display: none;
  }

  .static-nav a {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 100px;
    background: var(--bg);
    white-space: nowrap;
    font-size: 13px;
  }

  html.dark .static-nav a {
    background: rgba(255, 255, 255, 0.06);
  }

  .static-nav a:hover {
    color: var(--main-color);
  }

  .static-nav a.active {
    background: var(--main-color);
    color: #fff;
  }

  .static-hero {
    padding: 20px 18px;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .static-hero h1 {
    font-size: 24px;
  }

  .static-hero p {
    font-size: 14px;
  }

  .static-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .static-card h2 {
    font-size: 18px;
    margin-top: 22px;
  }

  .static-page .flow-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seller-head {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .seller-actions {
    flex-direction: row;
    justify-content: center;
  }
  .blog-grid-page {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .blog-grid-page {
    grid-template-columns: 1fr;
  }
  .verify-photos {
    grid-template-columns: 1fr;
  }
  .verify-photo,
  .auth-form label.verify-photo {
    min-height: 160px;
  }
  .cart-item {
    grid-template-columns: auto 1fr;
  }
  .cart-item-price {
    grid-column: 2;
    text-align: left;
  }
}

/* Mobile header, drawer, bottom tab bar */
.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--logo-text);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 20px;
}

.header-menu-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer,
.mobile-tabbar {
  display: none;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.mobile-drawer.show {
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 25, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer.show .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(100vw - 48px, 360px);
  max-width: 100%;
  background: var(--header-bg);
  box-shadow: 12px 0 40px rgba(2, 6, 25, 0.18);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.show .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--bg);
}

.mobile-drawer-title {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: var(--logo-text);
}

.mobile-drawer-back,
.mobile-drawer-close,
.mobile-drawer-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--logo-text);
  cursor: pointer;
  font-size: 20px;
}

.mobile-drawer-theme-btn {
  width: auto;
  gap: 7px;
  padding: 0 10px;
}

.mobile-drawer-body {
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 12px 24px;
}

.mobile-drawer-search {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 12px 8px;
  padding: 0 14px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
}

.mobile-drawer-search i {
  color: var(--muted);
  font-size: 16px;
}

.mobile-drawer-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--logo-text);
  outline: none;
}

.mobile-drawer-search input::placeholder {
  color: var(--muted);
}

.mobile-drawer-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-drawer-row-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--logo-text);
}

.mobile-drawer-row-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.mobile-drawer-link-accent {
  color: var(--main-color);
  font-weight: 600;
}

.mobile-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  color: var(--logo-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.mobile-drawer-row .mega-item-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--main-color) 12%, var(--bg));
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mobile-drawer-row .mega-item-icon i {
  display: flex;
  line-height: 1;
}

.mobile-drawer-row > .fi-rr-angle-small-right {
  color: var(--muted);
  font-size: 18px;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg);
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--main-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.mobile-drawer-link i {
  color: var(--main-color);
}

button.mobile-drawer-link {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.mobile-drawer-link.dark-mode i {
  color: inherit;
}

.mobile-drawer-theme .switch {
  flex-shrink: 0;
}

.mobile-drawer-panel-clone .mega-heading {
  display: none;
}

.mobile-drawer-panel-clone .mega-section {
  margin-bottom: 18px;
}

.mobile-drawer-panel-clone .mega-section-title {
  margin-bottom: 10px;
}

.mobile-drawer-panel-clone .mega-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-drawer-section-clone .mega-card-wrap.has-sub {
  display: none;
}

.mobile-drawer-card-row .mega-card-icon,
.mobile-drawer-has-sub .mega-card-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  font-size: 11px;
}

.mobile-drawer-sub-link {
  text-decoration: none;
  color: inherit;
}

.mobile-drawer-panel-clone .mega-card {
  padding: 10px;
  font-size: 13px;
  cursor: pointer;
}

.mobile-drawer-section-clone .mega-section {
  margin-bottom: 0;
}

.mobile-drawer-section-clone .mega-section-title {
  display: none;
}

.mobile-drawer-section-clone .mega-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobile-drawer-section-clone .mega-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-drawer-panel-clone .mega-info {
  grid-template-columns: 1fr;
}

.mobile-drawer-panel-clone .mega-info-links {
  grid-template-columns: 1fr !important;
}

.mobile-drawer-panel-clone .mega-blog-grid {
  grid-template-columns: 1fr;
}

.mobile-drawer-panel-clone .mega-info-card,
.mobile-drawer-panel-clone .mega-blog-featured,
.mobile-drawer-panel-clone .mega-blog-item {
  padding: 12px;
}

.mobile-drawer-panel-clone .mega-blog-featured img {
  max-height: 140px;
  object-fit: cover;
}

.mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: var(--header-bg);
  border-top: 1px solid var(--bg);
  box-shadow: 0 -8px 28px rgba(2, 6, 25, 0.08);
  overflow: visible;
}

.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 52px;
  padding: 0 2px 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

.mobile-tab i {
  font-size: 20px;
  line-height: 1;
}

.mobile-tab.active,
.mobile-tab[aria-expanded="true"] {
  color: var(--main-color);
}

.mobile-tab-fab {
  z-index: 2;
}

.mobile-tab-fab-icon {
  position: absolute;
  left: 50%;
  bottom: calc(6px + 1.1em + 4px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  border: 3px solid var(--header-bg);
  box-shadow: 0 8px 22px rgba(24, 154, 248, 0.4);
}

.mobile-tab-fab-icon i {
  color: #fff;
  font-size: 22px;
}

.mobile-tab-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 22px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: #ef4444;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .topbar,
  .headbar {
    display: none;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .header-menu-btn,
  .mobile-drawer,
  .mobile-tabbar {
    display: flex;
  }

  .mobile-drawer-search {
    display: flex;
  }

  .mobile-tabbar {
    display: grid;
  }

  .header {
    height: auto;
    border-bottom: 1px solid var(--bg);
  }

  .header .container {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 56px;
    align-items: center;
    gap: 8px 10px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .header-menu-btn {
    grid-column: 1;
    grid-row: 1;
  }

  .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    flex: none;
    min-width: 0;
  }

  .logo svg,
  .logo img {
    height: 34px;
  }

  .header-notify {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }

  .head-search {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    grid-row: 2;
    order: unset;
    width: 100%;
  }

  .head-search-input {
    width: 100%;
    height: 44px;
  }

  .head-search-input input {
    height: 44px;
    font-size: 15px;
    padding-right: 72px;
  }

  .head-search-input > .butto {
    top: 22px;
  }

  .header-login,
  .header-user,
  .header-cart {
    display: none;
  }

  .header-cart,
  .header-notify {
    width: 42px;
    height: 42px;
  }

  .nav-block {
    display: none;
  }

  .search-panel {
    max-height: min(60vh, 380px);
  }
}

@media (max-width: 700px) {
  .header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mobile-tab span {
    font-size: 10px;
  }
}

/* --- Mobile listing cards (all pages) --- */
@media (max-width: 1100px) {
  .listing-grid,
  .cat-results .listing-grid,
  .not-found-alts .listing-grid,
  .dash-fav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .listing-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas:
      "media top"
      "media title"
      "media tags"
      "media buy"
      "seller seller";
    gap: 5px 14px;
    padding: 12px;
    align-items: start;
    flex-direction: unset;
  }

  .listing-card-top {
    grid-area: top;
  }

  .listing-card-title {
    grid-area: title;
    font-size: 14px;
    min-height: 0;
    -webkit-line-clamp: 2;
  }

  .listing-card-media {
    grid-area: media;
    width: 112px;
    height: 112px;
    min-height: 0;
    aspect-ratio: 1;
    border-radius: 12px;
  }

  .listing-card-media > i {
    font-size: 34px;
  }

  .listing-card-tags {
    grid-area: tags;
    gap: 4px;
  }

  .listing-card-tags span {
    font-size: 12px;
    padding: 4px 8px;
  }

  .listing-card-buy {
    grid-area: buy;
    gap: 6px;
  }

  .listing-card-buy strong {
    font-size: 15px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .listing-card-btn {
    flex-shrink: 0;
    padding: 7px 12px;
    font-size: 13px;
    margin-left: 0;
  }

  .listing-card-seller {
    grid-area: seller;
    padding-top: 8px;
    margin-top: 2px;
    border-top: 1px solid var(--bg);
  }

  .listing-card-cat {
    font-size: 12px;
  }

  .listing-card-time {
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .listing-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 5px 12px;
    padding: 11px;
  }

  .listing-card-media {
    width: 100px;
    height: 100px;
  }
}

/* --- Home page mobile --- */
@media (max-width: 1100px) {
  .showcase {
    margin-top: 12px;
  }

  .showcase .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .showcase-box {
    width: 100%;
    height: auto;
    flex-shrink: 1;
    border-radius: 18px;
  }

  .showcase-main {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 18px 18px;
    min-height: 0;
    height: auto;
    background: linear-gradient(
      145deg,
      color-mix(in srgb, var(--main-color) 14%, var(--header-bg)) 0%,
      var(--header-bg) 62%
    );
  }

  .hero-back-path,
  .hero-media {
    display: none;
  }

  .hero-copy {
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .hero-badge {
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1.28;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    max-width: 100%;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex-shrink: 0;
    padding: 0 18px;
    min-height: 44px;
    margin-bottom: 0;
    align-self: auto;
    border-radius: 100px;
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }

  .hero-play {
    display: none;
  }

  .hero-actions {
    width: auto;
    flex-shrink: 0;
    align-self: auto;
    justify-content: center;
  }

  .hero-rating {
    width: auto;
  }

  .hero-stars {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero-score {
    padding: 8px 12px;
    font-size: 14px;
  }

  .showcase-promos {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    align-self: stretch;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
  }

  .showcase-promos::-webkit-scrollbar {
    display: none;
  }

  .showcase-side {
    flex: 0 0 min(88vw, 340px);
    width: auto;
    height: auto;
    min-height: 124px;
    scroll-snap-align: start;
    display: flex;
    align-items: stretch;
    border-radius: 18px;
  }

  .showcase-side-dark::after,
  .showcase-side-gradient::after {
    display: none;
  }

  .side-visual {
    display: none;
  }

  .side-caption {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    align-content: center;
    text-align: left;
    gap: 6px 14px;
    width: 100%;
    min-height: 124px;
    padding: 18px 18px;
    box-sizing: border-box;
  }

  .side-caption-sub {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.07em;
    margin-bottom: 0;
  }

  .side-caption-title {
    grid-column: 1;
    grid-row: 2;
    font-size: 18px;
    margin-bottom: 0;
  }

  .side-caption-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 13px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  .home-main {
    margin-top: 24px;
  }

  .home-section {
    margin-bottom: 32px;
  }

  .section-head {
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-size: 18px;
    flex: 1;
    min-width: 0;
  }

  .section-link {
    flex-shrink: 0;
    font-size: 13px;
    padding: 7px 12px;
    white-space: nowrap;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .flow-card .mega-card-icon {
    flex-shrink: 0;
  }

  .flow-num {
    top: 12px;
    right: 14px;
    font-size: 14px;
  }

  .faq-q {
    padding: 16px 14px;
    min-height: 48px;
    font-size: 15px;
  }

  .blog-nav {
    display: none;
  }

  .blog-track {
    gap: 12px;
    margin-right: -16px;
    padding-right: 16px;
  }

  .blog-card {
    flex: 0 0 min(82vw, 300px);
  }

  .site-footer .container {
    padding-top: 24px;
  }

  .footer-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 28px;
    margin-right: -16px;
    padding-right: 16px;
  }

  .footer-pills::-webkit-scrollbar {
    display: none;
  }

  .footer-pill {
    flex-shrink: 0;
    font-size: 14px;
    padding: 9px 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-help-btns {
    flex-direction: column;
    width: 100%;
  }

  .footer-help-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding-top: 0;
  }

  .footer-bottom .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }

  .footer-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .showcase-main {
    padding: 18px 16px 16px;
  }

  .hero-title {
    font-size: 20px;
  }

  .showcase-side {
    flex-basis: min(92vw, 360px);
    min-height: 116px;
  }

  .side-caption {
    min-height: 116px;
    padding: 16px;
    gap: 5px 12px;
  }

  .side-caption-title {
    font-size: 16px;
  }

  .side-caption-btn {
    font-size: 12px;
    padding: 7px 12px;
  }

  .footer-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .auth-terms span {
    white-space: normal;
  }

  .footer-cat-links {
    padding-left: 0;
  }

  .footer-catalog {
    margin-bottom: 32px;
  }

  .footer-more {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 0;
  }

  .blog-card-media {
    height: 160px;
  }
}

/* ===== Dinamik sistem eklentileri (FAZ 3-8) ===== */
.listing-card-media { position: relative; }
.listing-card-fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: #6b7280; display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform .15s, color .15s; text-decoration: none; z-index: 2;
}
.listing-card-fav:hover { transform: scale(1.08); color: #ef4444; }
.listing-card-fav.is-on { color: #ef4444; }
.listing-card-featured {
  position: absolute; top: 10px; left: 10px; background: #f59e0b; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; z-index: 2;
}
.detail-action.is-on { color: #f59e0b; }
.detail-buy.is-revealed {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

.dash-badge.muted { background: rgba(24,154,248,.12); color: var(--main-color); }
.dash-mini.danger { color: #ef4444; border-color: rgba(239,68,68,.35); }
.dash-mini.danger:hover { background: rgba(239,68,68,.08); }
.dash-empty { color: var(--main-text); font-size: 14px; margin: 8px 0; }
.dash-empty a { color: var(--main-color); }
.dash-listing-actions form { display: inline; margin: 0; }
.dash-listing-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.dash-listing-title > div { min-width: 0; }
.dash-listing-title strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-flash { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); color: #15803d; }
.dash-msg { text-decoration: none; color: inherit; cursor: pointer; }
.inbox-listing-ph {
  width: 48px; height: 48px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; flex-shrink: 0;
}
.inbox-listing-ph i { color: #fff; }
.bubble.out small i { color: #93c5fd; margin-left: 2px; }

/* İlan düzenle */
.spec-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.spec-row input { width: 100%; }
.edit-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.edit-photo {
  position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color, #e5e7eb);
  background: var(--card-bg, #f8fafc);
}
.edit-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edit-photo small { position: absolute; left: 6px; bottom: 6px; background: var(--main-color); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 6px; }
.edit-photo-del {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 16px; line-height: 1;
}
.edit-photo-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
  border-style: dashed; color: var(--main-color); font-size: 13px; font-weight: 600;
}
.edit-photo-add i { font-size: 22px; }

/* Modal & toast */
.ip-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ip-modal[hidden] { display: none; }
.ip-modal-backdrop { position: absolute; inset: 0; background: rgba(2,6,25,.55); backdrop-filter: blur(2px); }
.ip-modal-card {
  position: relative; width: 100%; max-width: 520px; background: var(--card-bg, #fff); border-radius: 18px;
  padding: 24px; box-shadow: 0 24px 64px rgba(0,0,0,.28); animation: ipModalIn .18s ease-out;
}
@keyframes ipModalIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.ip-modal-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--logo-text); }
.ip-modal-sub { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--main-text); font-size: 14px; }
.ip-modal-close { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--main-text); }
.ip-modal-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ip-modal-quick button {
  border: 1px solid var(--border-color, #e5e7eb); background: transparent; border-radius: 999px; padding: 6px 12px;
  font-size: 12px; cursor: pointer; color: inherit;
}
.ip-modal-quick button:hover { border-color: var(--main-color); color: var(--main-color); }
.ip-modal-card textarea { width: 100%; border: 1px solid var(--border-color, #e5e7eb); border-radius: 12px; padding: 12px; font: inherit; resize: vertical; background: transparent; color: inherit; }
.ip-modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ip-modal-hint { font-size: 12px; color: var(--main-text); display: inline-flex; align-items: center; gap: 4px; }
.ip-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #111827; color: #fff;
  padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 1300;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.ip-toast.show { opacity: 1; transform: translate(-50%, 0); }
.ip-toast.is-error { background: #b91c1c; }

/* Bildirimler */
.notify-item.is-unread { background: rgba(24,154,248,.06); }
.notify-item .text small { display: block; color: var(--main-text); font-size: 11px; margin-top: 2px; }
.header-notify-count:empty { display: none; }

/* Sahip barı */
.owner-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: rgba(24,154,248,.08); border: 1px solid rgba(24,154,248,.25); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px;
}
.owner-bar strong { display: block; color: var(--main-color); }
.owner-bar span { font-size: 13px; color: var(--main-text); }
.owner-bar-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.owner-bar-actions form { margin: 0; }

/* Ödeme */
.checkout-pay.is-disabled { opacity: .5; }
.verify-photo.has-file { border-color: var(--main-color); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.verify-photo.has-file i { display: none; }

/* Arama önerileri */
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card-bg, #fff); border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.16); padding: 6px; z-index: 900; }
.search-suggest[hidden] { display: none; }
.search-suggest a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; font-size: 14px; }
.search-suggest a:hover { background: rgba(24,154,248,.08); }
.search-suggest a small { color: var(--main-text); }
.search-suggest a b { color: var(--main-color); white-space: nowrap; }

/* Wizard dinamik alanlar */
.wiz-spec[data-spec="dynamic"] .wiz-required { color: #ef4444; }
.wiz-summary-warning { color: #b45309; font-size: 13px; }

/* Cüzdan kutuları */
.wallet-box { border: 1px solid var(--border-color, #e5e7eb); border-radius: 14px; padding: 16px; }
.wallet-box h3 { margin: 0 0 8px; font-size: 15px; display: flex; align-items: center; gap: 8px; color: var(--logo-text); }
.wallet-box .dash-form { gap: 10px; }
.wallet-box details summary::-webkit-details-marker { display: none; }

/* Mega menü rozet */
.mega-card-badge { margin-left: auto; background: #f59e0b; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .3px; }

/* İlan detay CTA: ikon + yazı tek grup, her butonda aynı ortalama */
.detail-buy-mode .detail-phone,
.detail-buy-mode .detail-msg,
.detail-buy-mode .detail-buy {
  display: flex !important;
  flex-direction: row;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  height: 48px;
  padding: 0 16px !important;
}

.detail-buy-mode .detail-phone > i,
.detail-buy-mode .detail-msg > i,
.detail-buy-mode .detail-buy > i {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  flex: 0 0 auto;
}

.detail-buy-mode .detail-phone span,
.detail-buy-mode .detail-msg span,
.detail-buy-mode .detail-buy span {
  display: inline !important;
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 !important;
  text-align: center;
}

.listing-card-boosted {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #189AF8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  z-index: 2;
}

.listing-card-category-vitrin {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  z-index: 2;
}

.detail-hero-video iframe,
.detail-hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.media-modal[hidden] { display: none; }
.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, .72);
}
.media-modal-box {
  position: relative;
  width: min(920px, 100%);
  aspect-ratio: 16/9;
  background: #0b1220;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.media-modal-frame,
.media-modal-frame iframe,
.media-modal-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.media-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111;
  cursor: pointer;
}

.maintenance-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--page-bg, #f4f7fb);
}
.maintenance-card {
  max-width: 480px;
  text-align: center;
  background: var(--header-bg, #fff);
  border-radius: 20px;
  padding: 40px 28px;
  box-shadow: 0 16px 50px rgba(24, 154, 248, .12);
}
.maintenance-logo { margin-bottom: 18px; }
.maintenance-logo svg,
.maintenance-logo img {
  height: 42px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.maintenance-card h1 { margin: 0 0 10px; font-size: 26px; color: var(--logo-text, #1c2434); }
.maintenance-card p { margin: 0 0 22px; color: var(--main-text, #5b6478); line-height: 1.5; }

.campaigns-page { padding: 18px 0 48px; }
.campaign-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
  gap: 18px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--main-color) 12%, var(--header-bg)), var(--header-bg));
  border: 1px solid color-mix(in srgb, var(--main-color) 18%, transparent);
  border-radius: 20px;
  padding: 28px;
}
.campaign-hero h1 { margin: 8px 0 10px; font-size: 32px; color: var(--logo-text); }
.campaign-hero p { margin: 0 0 16px; color: var(--main-text); max-width: 520px; }
.campaign-hero-aside {
  background: var(--header-bg);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(24,154,248,.08);
}
.campaign-hero-aside strong { display: block; margin-bottom: 8px; color: var(--logo-text); }
.campaign-hero-aside p { margin: 0 0 6px; color: var(--main-text); font-size: 14px; }
.campaign-hero-aside a { color: var(--main-color); font-weight: 600; font-size: 14px; }
.campaign-excerpt { margin: 8px 0 0; color: var(--main-text); font-size: 14px; line-height: 1.45; }

.promote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.promote-card h3 { margin: 0 0 8px; color: var(--logo-text); }
.promote-pay { margin-top: 12px; display: grid; gap: 8px; }
.paytr-frame-wrap {
  background: var(--header-bg);
  border-radius: 16px;
  overflow: hidden;
  min-height: 620px;
}

@media (max-width: 800px) {
  .campaign-hero,
  .promote-grid { grid-template-columns: 1fr; }
}

.dash-delivery-row td {
  background: transparent;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border, rgba(0,0,0,.06));
}
.delivery-box {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
}
.delivery-box p { margin: 0; color: var(--main-text); font-size: 14px; line-height: 1.5; }
.delivery-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.delivery-box-head strong { color: var(--logo-text); font-size: 14px; }
.delivery-payload {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--header-bg);
  color: var(--logo-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.delivery-note { margin: 6px 0 0; font-size: 13px; color: var(--main-text); }
.delivery-meta { margin: 10px 0 0 !important; font-size: 13px !important; }
.delivery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}
.delivery-dispute summary {
  cursor: pointer;
  color: var(--main-color);
  font-size: 14px;
  font-weight: 600;
}
html.dark .delivery-box { background: rgba(255,255,255,.03); }

.havale-rows { display: grid; gap: 10px; }
.havale-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
}
.havale-row span { color: var(--main-text); font-size: 13px; min-width: 110px; }
.havale-row strong { color: var(--logo-text); font-size: 14px; }
.havale-iban { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.havale-row .dash-mini { margin-left: auto; }



/* Account verification modal / banner */
.verify-banner {
  position: sticky; top: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px; background: #fff7ed; color: #9a3412; border-bottom: 1px solid #fdba74;
  font-size: 14px;
}
.verify-banner--ok { background: #ecfdf5; color: #047857; border-bottom-color: #6ee7b7; }
.verify-banner-open {
  border: 0; background: var(--main-color); color: #fff; border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer;
}
.verify-modal-card { max-width: 440px; width: 100%; }
.account-verify-steps {
  display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12px; color: var(--main-text);
}
.account-verify-step { opacity: .55; }
.account-verify-step.is-active { opacity: 1; color: var(--main-color); font-weight: 700; }
.account-verify-step.is-done { opacity: 1; color: #047857; }
.account-verify-step-sep { flex: 1; height: 1px; background: var(--border-color, #e5e7eb); }
.verify-dismiss-link, .verify-logout-link {
  border: 0; background: transparent; font: inherit; font-size: 13px; cursor: pointer; color: var(--main-text);
  text-decoration: underline;
}
.verify-logout-link { color: #b91c1c; }
.verify-modal-form .full { margin-bottom: 10px; }

.verify-resend-btn {
  border: 1px solid var(--border-color, #e5e7eb);
  background: transparent;
  color: var(--main-color);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}
.verify-resend-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.verify-resend-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  color: var(--main-text);
}

.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.cookie-notice-card {
  pointer-events: auto;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--header-bg);
  color: var(--logo-text);
  border: 1px solid rgba(2, 6, 25, .08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(2, 6, 25, .16);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.cookie-notice.is-open .cookie-notice-card {
  transform: none;
  opacity: 1;
}
.cookie-notice-copy { flex: 1; min-width: 0; }
.cookie-notice-copy strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cookie-notice-copy p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--main-text); }
.cookie-notice-copy a { color: var(--main-color); font-weight: 600; }
.cookie-notice-accept {
  flex-shrink: 0;
  border: 0;
  background: var(--main-color);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 700px) {
  .cookie-notice-card { flex-direction: column; align-items: stretch; }
  .cookie-notice-accept { width: 100%; }
}

/* Güvenli ödeme · fiziksel teslim (vasıta, emlak) */
.secure-delivery-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: rgba(24,154,248,.08); border: 1px solid rgba(24,154,248,.25); }
.secure-delivery-alert i { color: var(--main-color, #189AF8); font-size: 18px; margin-top: 2px; }
.secure-delivery-alert a { color: var(--main-color, #189AF8); text-decoration: underline; }
.secure-delivery .delivery-actions { flex-wrap: wrap; }
.secure-delivery-check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; margin: 6px 0; cursor: pointer; line-height: 1.45; }
.secure-delivery-check input { width: auto !important; height: auto !important; margin-top: 3px; flex: 0 0 auto; }
html.dark .secure-delivery-alert { background: rgba(24,154,248,.12); }

/* e-Devlet (EİDS) doğrulama penceresi */
.eids-options { display: flex; flex-direction: column; gap: 12px; }
.eids-option { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--border-color, rgba(127,127,127,.25)); border-radius: 12px; }
.eids-option strong { display: flex; align-items: center; gap: 6px; color: var(--logo-text); font-size: 15px; }
.eids-option p { margin: 4px 0 0; font-size: 13px; color: var(--main-text); max-width: 380px; }
.eids-corporate-form { flex-basis: 100%; margin-top: 4px; }

/* PayTR pazaryeri · satıcı ödeme durumu */
.payout-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(127,127,127,.06); font-size: 13px; color: var(--main-text); line-height: 1.5; }
.payout-line i { margin-top: 2px; color: var(--main-color, #189AF8); }
.payout-line a { color: var(--main-color, #189AF8); text-decoration: underline; }
.payout-warn { color: #ef4444; }
.payout-ok { color: #16a34a; }
