@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --v365-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-font-sans-serif: var(--v365-font);
  --bs-body-font-family: var(--v365-font);
  --v365-primary: #155eef;
  --v365-primary-dark: #0f4ccc;
  --v365-primary-soft: #eef4ff;
  --v365-ink: #1c1733;
  --v365-heading: #14112b;
  --v365-text: #475467;
  --v365-muted: #667085;
  --v365-line: #e4e7ec;
  --v365-surface: #ffffff;
  --v365-canvas: #f7f9fc;
  --v365-soft: #f2f4f7;
  --v365-success: #067647;
  --v365-success-soft: #ecfdf3;
  --v365-warning: #b54708;
  --v365-warning-soft: #fffaeb;
  --v365-danger: #b42318;
  --v365-danger-soft: #fef3f2;
  --bs-border-radius: 5px;
  --bs-border-radius-sm: 5px;
  --bs-border-radius-lg: 5px;
  --bs-border-radius-xl: 5px;
  --bs-border-radius-xxl: 5px;
  --bs-border-radius-pill: 5px;
  --v365-radius-sm: 5px;
  --v365-radius: 5px;
  --v365-radius-lg: 5px;
  --v365-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --v365-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
  --v365-container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--v365-font);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--v365-text);
  background: var(--v365-canvas);
  font-family: var(--v365-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1 {
  color: var(--v365-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2,
h3,
h4,
h5,
h6 {
  color: var(--v365-heading);
  font-weight: 700;
}

strong,
b {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--v365-primary);
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

.container-v365 {
  width: min(calc(100% - 32px), var(--v365-container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 5000;
  padding: 10px 16px;
  color: #fff;
  background: var(--v365-ink);
  border-radius: var(--v365-radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--v365-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--v365-muted);
}

.ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.btn {
  min-height: 44px;
  border-radius: 5px;
  font-weight: 600;
  letter-spacing: 0;
}

.btn-primary {
  color: #fff;
  background: var(--v365-primary);
  border-color: var(--v365-primary);
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(21, 94, 239, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background: var(--v365-primary-dark);
  border-color: var(--v365-primary-dark);
}

.btn-outline-primary {
  color: var(--v365-primary);
  border-color: #b2ccff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background: var(--v365-primary);
  border-color: var(--v365-primary);
}

.btn-quiet {
  color: var(--v365-ink);
  background: #fff;
  border: 1px solid var(--v365-line);
  box-shadow: var(--v365-shadow-sm);
}

.btn-quiet:hover {
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
  border-color: #b2ccff;
}

.form-control,
.form-select {
  min-height: 48px;
  color: var(--v365-ink);
  background-color: #fff;
  border-color: #d0d5dd;
  border-radius: 5px;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: #84adff;
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1);
}

.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
  color: #b8c0cc;
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 1;
}

.form-control::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #b8c0cc;
  font-size: 0.82rem;
  font-weight: 400;
}

.form-label {
  margin-bottom: 7px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 500;
}

#site-header {
  min-height: 132px;
}

.topbar {
  min-height: 36px;
  color: #e9efff;
  background: #243656;
  font-size: 0.8rem;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar a:hover {
  color: #fff;
}

.topbar-track,
.topbar-telegram,
.topbar-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-track .ui-icon,
.topbar-telegram .ui-icon,
.topbar-mail .ui-icon {
  width: 15px;
  height: 15px;
}

.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-dot {
  width: 7px;
  height: 7px;
  background: #5fe9b5;
  border-radius: 50%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--v365-line);
}

.navbar {
  min-height: 96px;
  padding-block: 12px;
}

.site-header .navbar > .container-v365 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
}

.site-header .navbar-brand {
  margin-right: 0;
  padding: 0;
}

.site-header .navbar-toggler {
  margin-left: auto;
}

.site-header .navbar-toggler:focus,
.site-header .navbar-toggler:focus-visible,
.site-header .navbar-toggler:active {
  outline: 0;
  box-shadow: none;
}

.header-mobile-tools {
  display: none;
}

.site-header .navbar-collapse {
  align-items: center;
}

@media (min-width: 992px) {
  .site-header .navbar > .container-v365 {
    flex-wrap: nowrap;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--v365-ink) !important;
}

.brand-logo {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--v365-primary);
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 7px 18px rgba(21, 94, 239, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-meta {
  margin-top: 4px;
  color: var(--v365-muted);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 8px 14px 12px !important;
  color: var(--v365-ink);
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent !important;
  border-radius: 0;
}

.navbar-nav .nav-link:hover {
  color: var(--v365-primary);
}

.navbar-nav .nav-link.active {
  color: var(--v365-primary);
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  position: absolute;
  right: 14px;
  bottom: 2px;
  left: 14px;
  height: 2px;
  content: "";
  background: var(--v365-primary);
  border-radius: 5px;
}

.nav-products {
  position: relative;
}

.nav-products > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.products-menu-caret {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.products-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  width: 280px;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.nav-products:hover .products-menu,
.nav-products:focus-within .products-menu,
.nav-products.is-open .products-menu {
  opacity: 1;
  visibility: visible;
}

.products-menu-panel {
  padding: 8px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 5px;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}

.products-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  color: #344054;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 600;
}

.products-menu-item:hover {
  color: #344054;
  background: #f8fafc;
}

.products-menu-all {
  color: var(--v365-primary);
}

.products-menu-all .products-menu-icon,
.products-menu-all .products-menu-count {
  color: var(--v365-primary);
}

.products-menu-icon {
  width: 22px;
  font-size: 1.05rem;
  text-align: center;
}

.products-menu-count {
  margin-left: auto;
  min-width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding-inline: 6px;
  color: #667085;
  background: #f2f4f7;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
}

.products-menu-all .products-menu-count {
  background: var(--v365-primary-soft);
}

@media (min-width: 992px) {
  .site-header .navbar,
  .site-header .navbar-collapse,
  .site-header .navbar-nav {
    overflow: visible;
  }
}

@media (max-width: 991.98px) {
  .products-menu {
    position: static;
    width: auto;
    padding-top: 4px;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .navbar-collapse.show .products-menu,
  .nav-products.is-open .products-menu {
    display: block;
  }

  .products-menu-panel {
    margin: 0 0 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.1);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-signin {
  min-height: 43px;
  padding: 0 14px;
  white-space: nowrap;
  font-size: 0.86rem;
}

.header-signin .ui-icon {
  width: 18px;
  height: 18px;
}

.header-search {
  position: relative;
  width: min(260px, 22vw);
}

.header-search .form-control {
  min-height: 42px;
  padding-left: 42px;
  font-size: 0.88rem;
  background: #f9fafb;
}

.header-search .ui-icon {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 11px;
  color: var(--v365-muted);
}

.search-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, 380px);
  max-height: 380px;
  padding: 6px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.header-search .search-suggest {
  right: 0;
  left: auto;
}

.hero-search .search-suggest {
  z-index: 5;
  width: 100%;
}

.search-suggest-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  color: var(--v365-ink);
  border-radius: 5px;
}

.search-suggest-item:hover,
.search-suggest-item:focus {
  color: var(--v365-ink);
  background: #f8fafc;
}

.search-suggest-copy {
  min-width: 0;
}

.search-suggest-copy strong,
.search-suggest-copy span {
  display: block;
}

.search-suggest-copy strong {
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest-copy span {
  margin-top: 2px;
  color: var(--v365-muted);
  font-size: 0.72rem;
}

.search-suggest-price {
  align-self: start;
  margin-top: 1px;
  color: var(--v365-primary);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.search-suggest .suggest-tile {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 5px;
  font-size: 0.8rem;
}

.search-suggest .suggest-tile .brand-platform-icon {
  font-size: 1rem;
}

.search-suggest-all {
  display: block;
  margin-top: 4px;
  padding: 10px 8px 6px;
  color: var(--v365-primary);
  border-top: 1px solid var(--v365-line);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.search-suggest-all:hover {
  color: var(--v365-primary-dark);
}

.search-suggest-empty {
  padding: 14px 10px;
  color: var(--v365-muted);
  font-size: 0.82rem;
  text-align: center;
}

.icon-button {
  position: relative;
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #344054;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.icon-button:hover {
  color: var(--v365-primary);
  border-color: #b2ccff;
  background: var(--v365-primary-soft);
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding-inline: 5px;
  color: #fff;
  background: var(--v365-primary);
  border: 2px solid #fff;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 600;
}

.hero {
  position: relative;
  isolation: isolate;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 72px 0;
  background-color: #fff;
  border-bottom: 1px solid var(--v365-line);
  overflow: visible;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  user-select: none;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 32%, rgba(255, 255, 255, 0.72) 46%, rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

.hero h1 {
  max-width: 690px;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero h1 span {
  color: var(--v365-primary);
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 26px;
  color: var(--v365-text);
  font-size: 1.08rem;
}

.hero-search {
  position: relative;
  max-width: 650px;
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #b8c5db;
  border-radius: 5px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.1);
}

.hero-search:focus-within {
  border-color: #84adff;
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1), 0 12px 34px rgba(16, 24, 40, 0.1);
}

.hero-search .ui-icon {
  margin-left: 10px;
  color: var(--v365-muted);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0;
  color: var(--v365-ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.hero-search .btn {
  min-width: 118px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #344054;
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-point .ui-icon {
  width: 18px;
  height: 18px;
  color: var(--v365-primary);
}

.catalog-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: #23406a;
  border: 1px solid #1f3158;
  border-radius: var(--v365-radius-lg);
  box-shadow: 0 22px 50px rgba(15, 29, 59, 0.18);
}

.catalog-panel::after {
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 220px;
  height: 220px;
  content: "";
  border: 42px solid rgba(75, 132, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.catalog-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
  border-radius: 5px;
}

.catalog-window-head {
  min-height: 47px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f9fafb;
  border-bottom: 1px solid var(--v365-line);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  background: #d0d5dd;
  border-radius: 50%;
}

.window-title {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.window-state {
  color: var(--v365-success);
  font-size: 0.7rem;
  font-weight: 600;
}

.catalog-window-body {
  padding: 12px;
}

.catalog-mini-search {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #98a2b3;
  background: #f7f9fc;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
  font-size: 0.72rem;
}

.catalog-mini-row {
  padding: 11px 3px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eef0f4;
}

.catalog-mini-row:last-child {
  border-bottom: 0;
}

.mini-platform {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--mini-color, var(--v365-primary));
  background: var(--mini-soft, var(--v365-primary-soft));
  border-radius: 5px;
  font-size: 0.76rem;
  font-weight: 600;
}

.brand-platform-icon {
  display: block;
  line-height: 1;
}

.mini-platform .brand-platform-icon {
  font-size: 1rem;
}

.mini-copy strong,
.mini-copy span {
  display: block;
}

.mini-copy strong {
  overflow: hidden;
  color: #4a5872;
  font-size: 0.71rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-copy span {
  margin-top: 2px;
  color: #98a2b3;
  font-size: 0.62rem;
}

.mini-price {
  color: #4a5872;
  font-size: 0.72rem;
  font-weight: 600;
}

.catalog-panel-footer {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #d6e2ff;
  font-size: 0.74rem;
}

.catalog-panel-footer strong {
  color: #fff;
}

.category-band {
  position: relative;
  z-index: 1;
  min-height: 90px;
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid var(--v365-line);
}

.category-band .platform-card-row {
  margin-bottom: 0;
}

.category-scroll {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.platform-link {
  position: relative;
  min-width: max-content;
  padding: 18px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v365-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.platform-link + .platform-link::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  content: "";
  background: #eaecf0;
  transform: translateY(-50%);
}

.platform-link:hover {
  color: var(--v365-primary);
}

.platform-link-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.platform-browse-head {
  align-items: center;
  margin-bottom: 16px;
}

.platform-browse-head h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.platform-browse-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v365-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.platform-browse-link:hover {
  color: var(--v365-primary-dark);
}

.platform-browse-link .ui-icon {
  width: 16px;
  height: 16px;
}

.platform-card-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 42px;
}

.platform-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  color: var(--v365-ink);
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.platform-card:hover {
  color: var(--v365-ink);
  border-color: #d0d5dd;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}

.platform-card-icon {
  font-size: 1.35rem;
  line-height: 1;
}

img.platform-card-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.platform-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.platform-card-copy strong {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-card-copy span {
  margin-top: 3px;
  color: #667085;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.platform-card .ui-icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: #98a2b3;
}

.marketplace {
  padding: 28px 0 76px;
}

.marketplace-toolbar {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.category-product-group {
  scroll-margin-top: 112px;
}

.category-product-group + .category-product-group {
  margin-top: 30px;
}

.category-group-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.category-group-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: var(--cat-color, var(--v365-primary));
  background: var(--cat-soft, var(--v365-primary-soft));
  border: 1px solid color-mix(in srgb, var(--cat-color, var(--v365-primary)) 16%, transparent);
  border-radius: 5px;
}

.category-group-icon .brand-platform-icon {
  font-size: 1.25rem;
}

.category-group-title h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.category-group-title span:not(.category-group-icon) {
  display: block;
  margin-top: 1px;
  color: var(--v365-muted);
  font-size: 0.75rem;
}

.category-group-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v365-primary);
  font-size: 0.8rem;
  font-weight: 500;
}

.category-group-link .ui-icon {
  width: 16px;
  height: 16px;
}

.result-meta {
  color: var(--v365-muted);
  font-size: 0.87rem;
}

.product-list-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: var(--v365-radius-lg);
  box-shadow: var(--v365-shadow-sm);
}

.product-list-head,
.product-row {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 100px 134px 124px;
  align-items: center;
  column-gap: 18px;
}

.product-list-head {
  min-height: 48px;
  padding: 0 22px;
  color: #667085;
  background: #f8fafc;
  border-bottom: 1px solid var(--v365-line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-row {
  min-height: 96px;
  padding: 15px 22px;
  border-bottom: 1px solid #edf0f4;
  transition: background 0.16s ease;
}

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

.product-row:hover {
  background: #fbfcfe;
}

.product-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-tile {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  color: var(--platform-color, var(--v365-primary));
  background: var(--platform-soft, var(--v365-primary-soft));
  border: 1px solid color-mix(in srgb, var(--platform-color, var(--v365-primary)) 16%, transparent);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.platform-tile .brand-platform-icon {
  font-size: 1.35rem;
}

.platform-tile img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.product-copy {
  min-width: 0;
}

.product-category {
  margin-bottom: 3px;
  color: var(--v365-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-title {
  display: block;
  overflow: hidden;
  color: var(--v365-ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title:hover {
  color: var(--v365-primary);
}

.product-row-meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--v365-muted);
  font-size: 0.72rem;
}

.product-row-meta .stock-state {
  font-size: 0.72rem;
}

.tag-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-tag {
  padding: 4px 8px;
  color: #475467;
  background: #f2f4f7;
  border-radius: 5px;
  font-size: 0.69rem;
  font-weight: 500;
}

.delivery-copy {
  color: #475467;
  font-size: 0.78rem;
  line-height: 1.4;
}

.delivery-copy .ui-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  color: var(--v365-primary);
}

.price-copy strong,
.price-copy small {
  display: block;
}

.price-copy strong {
  color: var(--v365-ink);
  font-size: 1rem;
  font-weight: 700;
}

.price-copy small {
  margin-top: 2px;
  color: var(--v365-muted);
  font-size: 0.67rem;
}

.stock-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v365-success);
  font-size: 0.74rem;
  font-weight: 500;
}

.stock-state::before {
  width: 7px;
  height: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.stock-state.limited {
  color: var(--v365-warning);
}

.qty-control {
  width: 116px;
  height: 42px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 5px;
}

.qty-control button {
  height: 100%;
  color: #475467;
  background: #f9fafb;
  border: 0;
  font-size: 1rem;
  font-weight: 500;
}

.qty-control button:hover {
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
}

.qty-control input {
  width: 100%;
  height: 100%;
  padding: 0;
  color: var(--v365-ink);
  background: #fff;
  border: 0;
  outline: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  appearance: textfield;
}

.qty-control input::-webkit-inner-spin-button,
.qty-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.product-add {
  width: 100%;
  min-height: 42px;
  padding-inline: 12px;
  font-size: 0.82rem;
}

.mobile-label {
  display: none;
}

.list-footer {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8fafc;
  border-top: 1px solid var(--v365-line);
}

.assurance-section {
  padding: 74px 0;
  background: #fff;
  border-block: 1px solid var(--v365-line);
}

.assurance-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.assurance-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.assurance-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
  border-radius: 5px;
}

.assurance-card h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.assurance-card p {
  margin: 0;
  color: var(--v365-muted);
  font-size: 0.86rem;
}

.steps-section {
  padding: 74px 0;
}

.steps-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.step-item {
  position: relative;
  padding: 0 28px 0 0;
}

.step-item:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: 12px;
  left: 58px;
  height: 1px;
  content: "";
  background: #cfd8ea;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--v365-primary);
  border: 6px solid #dbe7ff;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
}

.step-item h3 {
  margin: 17px 0 7px;
  font-size: 1rem;
  font-weight: 600;
}

.step-item p {
  margin: 0;
  color: var(--v365-muted);
  font-size: 0.85rem;
}

.faq-section {
  padding: 74px 0;
  background: #fff;
  border-top: 1px solid var(--v365-line);
}

.accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--v365-line) !important;
  border-radius: 5px !important;
}

.accordion-button {
  padding: 18px 20px;
  color: var(--v365-ink);
  background: #fff;
  font-size: 0.94rem;
  font-weight: 500;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
}

.accordion-body {
  color: var(--v365-text);
  font-size: 0.9rem;
}

.footer {
  color: var(--v365-text);
  background: #fff;
  border-top: 1px solid var(--v365-line);
}

.footer-main {
  padding: 58px 0 40px;
}

.footer .brand {
  color: var(--v365-heading) !important;
}

.footer .brand-meta {
  color: var(--v365-muted);
}

.footer-intro {
  max-width: 340px;
  margin: 18px 0 22px;
  color: var(--v365-text);
  font-size: 0.86rem;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--v365-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: var(--v365-text);
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--v365-heading);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v365-heading);
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-contacts a i {
  font-size: 0.95rem;
  color: var(--v365-primary);
}

.footer-contacts a:hover {
  color: var(--v365-primary);
}

.footer-bottom {
  padding: 20px 0;
  color: var(--v365-muted);
  border-top: 1px solid var(--v365-line);
  font-size: 0.76rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-hero {
  padding: 48px 0;
  background: #fff;
  border-bottom: 1px solid var(--v365-line);
}

.breadcrumbs {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--v365-muted);
  font-size: 0.78rem;
}

.breadcrumbs span {
  color: #98a2b3;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--v365-muted);
}

.policy-nav {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.policy-nav a {
  padding: 9px 12px;
  color: var(--v365-text);
  font-size: 0.92rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  border-radius: 5px;
}

.policy-nav a.is-active {
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
  border-left-color: var(--v365-primary);
}

article.content-card {
  scroll-margin-top: 110px;
}

.catalog-page {
  padding: 42px 0 76px;
}

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

.catalog-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.sidebar-card {
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
  box-shadow: var(--v365-shadow-sm);
}

.sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--v365-heading);
  font-size: 0.92rem;
  font-weight: 700;
}

.sidebar-categories {
  display: grid;
}

.sidebar-cat {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--v365-ink);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
}

.sidebar-cat:hover {
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
}

.sidebar-cat.is-active {
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
  font-weight: 700;
}

.sidebar-cat-count {
  min-width: 26px;
  color: var(--v365-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
}

.sidebar-cat.is-active .sidebar-cat-count {
  color: var(--v365-primary);
}

.price-range {
  display: grid;
  gap: 16px;
}

.price-range-slider {
  position: relative;
  height: 24px;
}

.price-range-slider input[type="range"] {
  position: absolute;
  left: 0;
  top: 8px;
  width: 100%;
  height: 8px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
}

.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border-radius: 5px;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  background: #fff;
  border: 4px solid var(--v365-primary);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(21, 94, 239, 0.2);
  pointer-events: auto;
  appearance: none;
}

.price-range-slider input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
  border: 0;
}

.price-range-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--v365-primary);
  border-radius: 5px;
  pointer-events: auto;
}

.price-range-track {
  position: absolute;
  left: 0;
  top: 13px;
  width: 100%;
  height: 6px;
  background: #e4e7ec;
  border-radius: 5px;
}

#price-range-fill {
  position: absolute;
  top: 0;
  height: 6px;
  background: var(--v365-primary);
  border-radius: 5px;
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  color: var(--v365-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.price-range .btn {
  width: 100%;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.catalog-search {
  width: 210px;
}

.catalog-search .form-control {
  min-height: 44px;
}

.catalog-toolbar .form-select {
  width: auto;
  min-width: 180px;
  min-height: 44px;
}

.catalog-toolbar-actions {
  display: contents;
}

.catalog-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 14px;
  white-space: nowrap;
}

.catalog-filter-toggle .ui-icon {
  width: 16px;
  height: 16px;
}

.filter-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
  box-shadow: var(--v365-shadow-sm);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(2, minmax(170px, 0.75fr)) auto;
  gap: 12px;
  align-items: end;
}

.search-control {
  position: relative;
}

.search-control .form-control {
  padding-left: 43px;
}

.search-control .ui-icon {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  color: var(--v365-muted);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-results-head {
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-results-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.empty-state {
  padding: 70px 24px;
  color: var(--v365-muted);
  text-align: center;
}

.empty-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
  border-radius: 5px;
}

.empty-state h3 {
  color: var(--v365-ink);
  font-size: 1.08rem;
  font-weight: 600;
}

.product-detail-section {
  padding: 46px 0 76px;
}

[data-product-detail] > .col-lg-5 {
  display: flex;
  flex-direction: column;
}

.product-visual {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: var(--v365-radius-lg);
}

.product-visual-card {
  width: min(360px, 92%);
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}

.product-visual-card .platform-tile {
  width: auto;
  height: auto;
  margin: 0 auto 22px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 2rem;
}

.product-visual-card .platform-tile .brand-platform-icon {
  font-size: 5.5rem;
  line-height: 1;
}

.product-visual-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
}

.product-visual-card p {
  margin: 0;
  color: var(--v365-muted);
  font-size: 0.85rem;
}

.product-visual-image {
  width: min(280px, 88%);
  max-height: 220px;
  object-fit: contain;
}

.detail-panel {
  padding: 4px 0 0 18px;
}

.detail-category {
  color: var(--v365-primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-panel h1 {
  margin: 10px 0 13px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.09;
}

.detail-description {
  margin: 0 0 20px;
  color: var(--v365-text);
}

.detail-price {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.detail-price strong {
  color: var(--v365-primary);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.detail-panel .tag-stack {
  margin-top: 16px;
}

.detail-price span {
  color: var(--v365-muted);
  font-size: 0.82rem;
}

.detail-specs {
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.detail-spec-row {
  min-height: 46px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #edf0f4;
  font-size: 0.84rem;
}

.detail-spec-row:last-child {
  border-bottom: 0;
}

.detail-spec-row span:first-child {
  color: var(--v365-muted);
}

.detail-spec-row strong {
  font-weight: 500;
}

.purchase-box {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
  box-shadow: var(--v365-shadow-sm);
}

.purchase-row {
  display: flex;
  align-items: end;
  gap: 12px;
}

.purchase-row .qty-wrap {
  flex: 0 0 auto;
}

.purchase-row .btn {
  flex: 1;
}

.purchase-note {
  margin-top: 12px;
  color: var(--v365-muted);
  font-size: 0.76rem;
}

.content-tabs {
  margin-top: 42px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: var(--v365-radius-lg);
}

.content-tabs h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 600;
}

.content-tabs p,
.content-tabs li {
  color: var(--v365-text);
  font-size: 0.92rem;
}

.content-tabs + .content-tabs {
  margin-top: 18px;
}

.cart-section,
.checkout-section,
.standard-section {
  padding: 44px 0 80px;
}

.surface-card {
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: var(--v365-radius-lg);
  box-shadow: var(--v365-shadow-sm);
}

.surface-card-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--v365-line);
}

.surface-card-header h2,
.surface-card-header h3 {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 600;
}

.surface-card-body {
  padding: 22px;
}

.cart-item {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 58px minmax(200px, 1fr) 120px 100px 42px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #edf0f4;
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item .platform-tile {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}

.cart-item-title {
  color: var(--v365-ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item-meta {
  margin-top: 4px;
  color: var(--v365-muted);
  font-size: 0.72rem;
}

.remove-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--v365-danger);
  background: #fff;
  border: 1px solid #fecdca;
  border-radius: 5px;
}

.remove-button:hover {
  background: var(--v365-danger-soft);
}

.summary-card {
  position: sticky;
  top: 98px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: var(--v365-radius-lg);
  box-shadow: var(--v365-shadow-sm);
}

.summary-card h2 {
  margin: 0 0 20px;
  font-size: 1.12rem;
  font-weight: 600;
}

.summary-line {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: var(--v365-text);
  font-size: 0.86rem;
}

.summary-line strong {
  color: var(--v365-ink);
  font-weight: 500;
}

.summary-total {
  margin-top: 12px;
  padding-top: 17px;
  border-top: 1px solid var(--v365-line);
  font-size: 1rem;
}

.summary-total strong {
  font-size: 1.25rem;
  font-weight: 600;
}

.coupon-box {
  margin: 16px 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.coupon-row {
  display: flex;
  gap: 8px;
}

.coupon-row .form-control {
  min-height: 42px;
  font-size: 0.84rem;
}

.coupon-row .btn {
  min-height: 42px;
  font-size: 0.8rem;
}

.coupon-message {
  min-height: 18px;
  margin-top: 7px;
  font-size: 0.72rem;
}

.coupon-message:empty {
  display: none;
  margin: 0;
  min-height: 0;
}

.coupon-message.is-ok {
  color: #027a48;
}

.coupon-message.is-error {
  color: #b42318;
}

.checkout-card {
  margin-bottom: 18px;
}

.checkout-card .surface-card-body {
  padding: 24px;
}

.checkout-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-heading-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
  border-radius: 5px;
}

.checkout-heading h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.checkout-heading p {
  margin: 2px 0 0;
  color: var(--v365-muted);
  font-size: 0.78rem;
}

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

.payment-grid-stack {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.checkout-payment-card {
  position: sticky;
  top: 98px;
}

.checkout-payment-card .checkout-heading h2 {
  font-size: 1.12rem;
}

.checkout-order-card .surface-card-body,
.checkout-table {
  padding: 0;
}

.checkout-table-head,
.checkout-line {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 92px 56px 96px;
  align-items: center;
  column-gap: 12px;
}

.checkout-table-head {
  padding: 12px 22px;
  color: #667085;
  background: #f8fafc;
  border-bottom: 1px solid var(--v365-line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.checkout-table-head span:not(:first-child),
.checkout-line > span,
.checkout-line > strong {
  text-align: right;
}

.checkout-line {
  min-height: 78px;
  padding: 14px 22px;
  border-bottom: 1px solid #edf0f4;
}

.checkout-line:last-child {
  border-bottom: 0;
}

.checkout-line-product {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-line-product .platform-tile {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 5px;
  font-size: 0.85rem;
}

.checkout-line-product .brand-platform-icon {
  font-size: 1.05rem;
}

.checkout-line-product span {
  color: var(--v365-ink);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
}

.checkout-line > span,
.checkout-line > strong {
  color: var(--v365-text);
  font-size: 0.86rem;
  font-weight: 500;
}

.checkout-line > strong {
  color: var(--v365-ink);
  font-weight: 600;
}

.checkout-order-footer {
  padding: 8px 22px 18px;
  border-top: 1px solid var(--v365-line);
}

.payment-choice {
  position: relative;
}

.payment-choice input {
  position: absolute;
  opacity: 0;
}

.payment-choice label {
  min-height: 82px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.payment-choice label strong {
  font-size: 0.86rem;
}

.payment-choice label span {
  color: var(--v365-muted);
  font-size: 0.7rem;
}

.payment-choice input:checked + label {
  background: var(--v365-primary-soft);
  border-color: var(--v365-primary);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.09);
}

.payment-choice-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-choice-head > span:not(.payment-choice-mark) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.payment-choice-logo,
.payment-choice-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
}

.payment-choice-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #155eef;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.pay-panel {
  margin-top: 16px;
  padding: 16px;
  background: #f7f8fa;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.pay-panel #payment-fields:not(:empty) {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #d6e4ff;
}

.pay-panel .payment-field {
  margin-top: 0;
}

.pay-panel .payment-field .form-label {
  margin-bottom: 6px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.pay-panel .form-control {
  min-height: 46px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.pay-panel .form-control:focus {
  border-color: var(--v365-primary);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.12);
}

.pay-card-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.pay-card-top span,
.pay-wallet > span,
.pay-scan {
  color: var(--v365-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pay-usd {
  margin-bottom: 6px;
  color: var(--v365-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}

.pay-scan-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.pay-scan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
}

.pay-scan .ui-icon {
  width: 16px;
  height: 16px;
}

.pay-wallet {
  margin-top: 14px;
}

.pay-wallet-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 8px 8px 12px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.pay-wallet-row code {
  flex: 1;
  min-width: 0;
  color: #344054;
  font-size: 0.82rem;
  word-break: break-all;
}

.pay-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 5px;
  background: var(--v365-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  box-shadow: 0 6px 14px rgba(21, 94, 239, 0.18);
}

.pay-copy:hover {
  background: var(--v365-primary-dark);
}

.payment-due {
  display: block;
  margin-top: 2px;
  color: #1c1733;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pay-scan-block .payment-qr {
  width: 168px;
  height: 168px;
  margin-top: 0;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
  padding: 8px;
}

.payment-details,
.payment-field {
  margin-top: 8px;
}

.payment-details {
  color: #344054;
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.payment-qr {
  width: 96px;
  height: 96px;
  margin-top: 8px;
  object-fit: contain;
}

.thankyou {
  max-width: 760px;
  margin: 12px auto 28px;
  padding: 42px 28px 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(21, 94, 239, 0.12), transparent 42%),
    #fff;
  border: 1px solid var(--v365-line);
  border-radius: 8px;
  box-shadow: var(--v365-shadow);
}

.thankyou-badge {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  position: relative;
  display: grid;
  place-items: center;
}

.thankyou-badge span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--v365-primary-soft);
  box-shadow: 0 0 0 10px rgba(21, 94, 239, 0.08);
}

.thankyou-badge svg {
  width: 36px;
  height: 36px;
  position: relative;
  fill: none;
  stroke: var(--v365-primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thankyou-kicker {
  margin: 0 0 8px;
  color: var(--v365-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thankyou h2 {
  margin: 0;
  color: var(--v365-heading);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.thankyou-lead {
  max-width: 460px;
  margin: 10px auto 0;
  color: var(--v365-text);
  font-size: 0.95rem;
}

.thankyou-id {
  margin: 22px auto 0;
  width: fit-content;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--v365-soft);
  border-radius: 999px;
}

.thankyou-id span,
.thankyou-stat span,
.thankyou-wallet span,
.thankyou-steps span {
  color: var(--v365-muted);
  font-size: 0.75rem;
}

.thankyou-id strong {
  color: var(--v365-ink);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.thankyou-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

.thankyou-stat {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 8px;
}

.thankyou-stat strong,
.thankyou-wallet code {
  display: block;
  margin-top: 4px;
  color: var(--v365-heading);
  font-size: 1rem;
  font-weight: 700;
}

.thankyou-pay {
  margin-top: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: #f8fafc;
  border: 1px dashed #c8d0dc;
  border-radius: 8px;
}

.thankyou-wallet {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.thankyou-wallet code {
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 600;
  word-break: break-all;
}

.thankyou-qr {
  width: 92px;
  height: 92px;
  padding: 6px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: 8px;
}

.thankyou-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
  counter-reset: thankyou-step;
}

.thankyou-steps li {
  padding-top: 28px;
  position: relative;
  counter-increment: thankyou-step;
}

.thankyou-steps li::before {
  content: counter(thankyou-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--v365-primary);
  background: var(--v365-primary-soft);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.thankyou-steps strong {
  display: block;
  color: var(--v365-ink);
  font-size: 0.86rem;
}

.thankyou-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 720px) {
  .thankyou {
    padding: 32px 16px 24px;
  }
  .thankyou-stats,
  .thankyou-steps {
    grid-template-columns: 1fr;
  }
  .thankyou-pay,
  .thankyou-wallet {
    flex-direction: column;
    align-items: stretch;
  }
}

.checkout-items {
  margin-bottom: 8px;
}

.checkout-item {
  padding: 9px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-bottom: 1px solid #edf0f4;
}

.checkout-item:last-child {
  border-bottom: 0;
}

.checkout-item strong {
  display: block;
  font-size: 0.8rem;
}

.checkout-item span {
  color: var(--v365-muted);
  font-size: 0.7rem;
}

.account-switch {
  margin-top: 18px;
  text-align: center;
}

.account-switch p {
  margin: 0 0 10px;
  color: #344054;
  font-size: 1rem;
}

.secure-note {
  margin-top: 14px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #344054;
  background: #f8fafc;
  border-radius: 5px;
  font-size: 0.72rem;
}

.secure-note .ui-icon {
  width: 17px;
  height: 17px;
  color: var(--v365-success);
}

.track-shell {
  max-width: 760px;
  margin: 0 auto;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.account-side {
  padding: 22px;
}

.account-kicker {
  margin: 0 0 6px;
  color: var(--v365-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-email {
  display: block;
  margin-bottom: 18px;
  color: var(--v365-ink, #101828);
  word-break: break-word;
}

.account-menu {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.account-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #344054;
  font-weight: 650;
  text-decoration: none;
}

.account-menu a .ui-icon {
  width: 18px;
  height: 18px;
}

.account-menu a.is-active,
.account-menu a:hover {
  background: var(--v365-primary-soft);
  color: var(--v365-primary);
}

.account-main {
  display: grid;
  gap: 18px;
}

.account-status-note {
  margin: 0;
  padding: 12px 14px;
  color: #0f4ccc;
  background: var(--v365-primary-soft);
  border-radius: 8px;
  font-size: 0.9rem;
}

.account-empty,
.account-hint {
  color: #475467;
  font-size: 0.92rem;
}

.dash-orders {
  display: grid;
  gap: 14px;
}

.dash-order {
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #fff;
}

.dash-order-head,
.dash-order-foot,
.dash-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-order-head {
  padding: 16px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #eaecf0;
}

.dash-kicker {
  display: block;
  margin-bottom: 2px;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash-order-id {
  color: #101828;
  font-size: 1.02rem;
  font-weight: 750;
  text-decoration: none;
}

.dash-detail-head {
  display: grid;
  gap: 6px;
}

.dash-back {
  color: var(--v365-primary);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.dash-order-list {
  display: grid;
  gap: 10px;
}

.dash-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.dash-order-row:hover {
  border-color: #b2ccff;
  background: #f8fafc;
}

.dash-order-row strong {
  display: block;
  color: var(--v365-primary);
}

.dash-order-date {
  display: block;
}

.dash-row-total {
  color: #101828 !important;
}

.dash-view {
  color: var(--v365-primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.dash-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.dash-pager a,
.dash-pager span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #eaecf0;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.dash-pager a:hover {
  border-color: #b2ccff;
  color: var(--v365-primary);
}

.dash-pager .is-current {
  border-color: var(--v365-primary);
  background: var(--v365-primary);
  color: #fff;
}

.dash-pager .is-disabled {
  color: #98a2b3;
}

.dash-order-date,
.dash-order-item p {
  margin: 2px 0 0;
  color: #667085;
  font-size: 0.82rem;
}

.dash-order-item {
  padding: 14px 18px;
  border-bottom: 1px solid #f2f4f7;
}

.dash-order-item strong {
  display: block;
  color: #101828;
}

.dash-order-paid {
  text-align: right;
}

.dash-order-paid strong {
  color: #0f4ccc;
  font-size: 1rem;
}

.dash-order-foot {
  padding: 12px 18px;
  background: #fff;
}

.dash-order-foot span {
  color: #475467;
  font-size: 0.86rem;
}

.dash-order-foot strong {
  color: #101828;
}

.dash-support {
  display: grid;
  gap: 12px;
}

.dash-support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #f8fafc;
  color: inherit;
  text-decoration: none;
}

.dash-support-card:hover {
  border-color: #b2ccff;
  background: var(--v365-primary-soft);
}

.dash-support-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  color: var(--v365-primary);
}

.dash-support-card strong,
.dash-support-card span span {
  display: block;
}

.dash-support-card strong {
  color: #101828;
}

.dash-support-card span span {
  color: #475467;
  font-size: 0.9rem;
}

.account-orders {
  display: grid;
  gap: 10px;
}

.account-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eaecf0;
}

.account-order:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.account-order-id {
  color: var(--v365-primary);
  font-weight: 700;
  text-decoration: none;
}

.account-order-meta {
  margin: 2px 0 0;
  color: #667085;
  font-size: 0.82rem;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 0.75rem;
  font-weight: 700;
}

.account-pill-processing,
.account-pill-completed {
  background: var(--v365-primary-soft);
  color: #0f4ccc;
}

.account-pill-pending {
  background: #fffaeb;
  color: #b54708;
}

.account-pill-cancelled {
  background: #fef3f2;
  color: #b42318;
}

@media (max-width: 860px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-order,
  .dash-order-row {
    grid-template-columns: 1fr;
  }

  .dash-view {
    justify-self: start;
  }
}

.track-form {
  padding: 28px;
}

.tracking-result {
  margin-top: 22px;
  padding: 28px;
}

.order-reference {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid var(--v365-line);
  border-radius: 5px;
}

.order-reference span {
  color: var(--v365-muted);
  font-size: 0.78rem;
}

.order-reference > div span,
.order-reference > div strong {
  display: block;
}

.order-reference strong {
  font-size: 0.9rem;
}

.timeline {
  margin-top: 28px;
}

.timeline-item {
  position: relative;
  min-height: 74px;
  padding-left: 42px;
}

.timeline-item::before {
  position: absolute;
  top: 10px;
  bottom: -10px;
  left: 13px;
  width: 2px;
  content: "";
  background: #dfe4ec;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  top: 1px;
  left: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #98a2b3;
  border: 5px solid #eaecf0;
  border-radius: 5px;
}

.timeline-item.done .timeline-dot {
  background: var(--v365-success);
  border-color: #d1fadf;
}

.timeline-item.current .timeline-dot {
  background: var(--v365-primary);
  border-color: #dbe7ff;
}

.timeline-item h3 {
  margin: 0 0 3px;
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline-item p {
  margin: 0;
  color: var(--v365-muted);
  font-size: 0.75rem;
}

.content-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--v365-line);
  border-radius: var(--v365-radius-lg);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 600;
}

.content-card h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.content-card p,
.content-card li {
  color: var(--v365-text);
  font-size: 0.92rem;
}

.content-card ul {
  margin: 0 0 14px;
  padding-left: 1.15rem;
}

.content-card li + li {
  margin-top: 6px;
}

.content-card + .content-card {
  margin-top: 18px;
}

.contact-aside {
  padding: 26px;
  color: #dbe7ff;
  background: #23406a;
  border-radius: var(--v365-radius-lg);
}

.contact-aside h2 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
}

.contact-aside p {
  color: #aebfe2;
}

.contact-channel {
  padding: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #26395f;
}

.contact-channel:last-child {
  border-bottom: 0;
}

.contact-channel strong,
.contact-channel span {
  display: block;
}

.contact-channel strong {
  color: #fff;
  font-size: 0.85rem;
}

.contact-channel span {
  color: #aebfe2;
  font-size: 0.76rem;
}

.contact-channel a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-channel a:hover {
  color: #fff;
}

.toast-container-v365 {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3000;
  width: min(360px, calc(100% - 36px));
}

.v365-toast {
  padding: 14px 15px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #fff;
  background: #2a3d56;
  border: 1px solid #3d5270;
  border-radius: 5px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.25);
  animation: toast-in 0.2s ease-out;
}

.v365-toast strong,
.v365-toast span {
  display: block;
}

.v365-toast strong {
  font-size: 0.84rem;
}

.v365-toast span {
  margin-top: 2px;
  color: #cbd5e1;
  font-size: 0.72rem;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199.98px) {
  .header-search {
    display: none;
  }

  .product-list-head,
  .product-row {
    grid-template-columns: minmax(300px, 1fr) 96px 124px 118px;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .filter-grid > :first-child {
    grid-column: span 2;
  }

  .platform-card-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .brand-logo {
    height: 56px;
    max-width: 230px;
  }

  .navbar-collapse {
    margin-top: 12px;
    padding: 10px 14px 14px;
    background: #fff;
    border: 1px solid var(--v365-line);
    border-radius: 5px;
    box-shadow: var(--v365-shadow);
  }

  .site-header .navbar-collapse.show,
  .site-header .navbar-collapse.collapsing {
    display: flex;
    flex-direction: column;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid var(--v365-line);
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: 0;
  }

  .navbar-nav .nav-link {
    padding: 13px 4px !important;
    font-size: 1rem;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .nav-products > .nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .products-menu-item {
    padding: 10px 8px;
  }

  .header-search {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin-top: 6px;
    margin-bottom: 14px;
  }

  .header-actions {
    order: -1;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .header-actions > .icon-button,
  .header-actions > .header-signin {
    display: none !important;
  }

  .header-mobile-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .site-header .navbar-toggler {
    margin-left: 8px;
  }

  .hero {
    align-items: flex-start;
    min-height: 0;
    padding: 42px 0 280px;
  }

  .hero-banner {
    inset: auto auto 0 auto;
    left: 72%;
    width: 860px;
    height: auto;
    max-width: none;
    transform: translateX(-72%);
    object-fit: unset;
  }

  .hero::before {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0) 74%);
  }

  .product-list-head {
    display: none;
  }

  .product-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-template-columns: none;
    gap: 10px 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid var(--v365-line);
    border-radius: var(--v365-radius-lg);
    box-shadow: var(--v365-shadow-sm);
  }

  .product-row:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid var(--v365-line);
  }

  .product-main {
    flex: 1 1 100%;
  }

  .product-title {
    white-space: normal;
  }

  .price-copy,
  .qty-wrap {
    min-width: 0;
    flex: 0 1 auto;
  }

  .mobile-label {
    display: none;
  }

  .qty-control {
    width: 104px;
    height: 38px;
  }

  .product-action {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
  }

  .product-add {
    width: auto;
    padding-inline: 18px;
  }

  .assurance-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .step-item {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--v365-line);
    border-radius: 5px;
  }

  .step-item::after {
    display: none;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-grid > :first-child {
    grid-column: span 2;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    display: none;
  }

  .catalog-layout.is-filter-open .catalog-sidebar {
    display: grid;
  }

  .catalog-filter-toggle {
    display: inline-flex;
  }

  .catalog-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .catalog-toolbar-actions .form-select {
    flex: 1;
    min-width: 0;
  }

  .product-visual {
    min-height: 0;
  }

  .detail-panel {
    padding: 34px 0 0;
  }

  .summary-card {
    position: static;
    margin-top: 18px;
  }
}

@media (max-width: 767.98px) {
  .container-v365 {
    width: min(calc(100% - 24px), var(--v365-container));
  }

  #site-header {
    min-height: 0;
  }

  .topbar {
    display: none;
  }

  .navbar {
    min-height: 76px;
  }

  .brand-meta {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 34px 0 230px;
  }

  .hero-banner {
    left: 68%;
    width: 720px;
    transform: translateX(-68%);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-search {
    display: grid;
    grid-template-columns: 24px 1fr;
  }

  .hero-search .btn {
    width: 100%;
    grid-column: 1 / -1;
  }

  .category-scroll {
    justify-content: flex-start;
  }

  .platform-card-row {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
  }

  .marketplace,
  .assurance-section,
  .steps-section,
  .faq-section {
    padding: 52px 0;
  }

  .marketplace-toolbar,
  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero h1 {
    margin-bottom: 8px;
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .page-hero p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .catalog-results-head,
  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .catalog-search {
    width: 100%;
    max-width: none;
  }

  .catalog-toolbar-actions {
    width: 100%;
  }

  .catalog-toolbar-actions .form-select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .footer-box {
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--v365-line);
    border-radius: var(--v365-radius-lg);
    box-shadow: var(--v365-shadow-sm);
  }

  .footer-box-brand {
    text-align: center;
  }

  .footer-box-brand .brand {
    justify-content: center;
  }

  .footer-intro {
    max-width: none;
    margin-inline: auto;
  }

  .footer-contacts {
    align-items: center;
  }

  .footer-box-links .row {
    text-align: center;
  }

  .footer-links {
    margin-inline: auto;
  }

  .catalog-search {
    width: 100%;
    min-width: 0;
  }

  .category-group-head {
    align-items: flex-start;
  }

  .assurance-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 34px 0;
  }

  .filter-grid,
  .filter-grid > :first-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .filter-actions .btn {
    flex: 1;
  }

  .product-visual {
    min-height: 0;
    padding: 16px 14px;
  }

  .product-visual-card .platform-tile {
    margin-bottom: 8px;
  }

  .product-visual-card .platform-tile .brand-platform-icon {
    font-size: 3.15rem;
  }

  .product-visual-card h2 {
    margin-bottom: 4px;
    font-size: 1rem;
  }

  .product-visual-card p {
    font-size: 0.75rem;
  }

  .product-visual-image {
    width: min(160px, 62%);
    max-height: 140px;
  }

  .detail-panel {
    padding-top: 18px;
  }

  .detail-panel h1 {
    margin: 6px 0 8px;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
  }

  .detail-description {
    margin-bottom: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .detail-price {
    margin-bottom: 14px;
  }

  .detail-price strong {
    font-size: 1.4rem;
  }

  .content-tabs {
    padding: 22px;
  }

  .cart-item {
    grid-template-columns: 50px 1fr auto;
    gap: 12px;
  }

  .cart-item .platform-tile {
    width: 46px;
    height: 46px;
  }

  .cart-item .qty-control {
    grid-column: 2;
    width: 116px;
  }

  .cart-item-price {
    grid-column: 2;
  }

  .cart-item .remove-button {
    grid-column: 3;
    grid-row: 1;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-choice label {
    min-height: 58px;
    padding: 8px 10px;
    gap: 2px;
  }

  .payment-choice-logo,
  .payment-choice-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .payment-choice label .payment-choice-mark {
    color: #fff;
    font-size: 1rem;
  }

  .payment-choice[data-currency="usdt"] .payment-choice-logo {
    filter: brightness(0.58) contrast(1.12);
  }

  .payment-choice[data-currency="eth"] .payment-choice-mark {
    background: #1c1c1c;
    color: #fff;
  }

  .payment-choice-head > span:not(.payment-choice-mark) > span {
    color: #344054;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
  }

  .pay-panel {
    margin-top: 12px;
    padding: 10px;
  }

  .pay-card-top {
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .pay-card-top > div {
    min-width: 0;
  }

  .payment-due {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
  }

  .pay-usd {
    margin-bottom: 0;
    font-size: 0.72rem !important;
  }

  .pay-wallet-row {
    gap: 6px;
    padding: 6px 6px 6px 8px;
  }

  .pay-wallet-row code {
    font-size: 0.68rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .pay-copy {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .checkout-table-head {
    display: none;
  }

  .checkout-line {
    grid-template-columns: 1fr auto auto;
    row-gap: 8px;
  }

  .checkout-line-product {
    grid-column: 1 / -1;
  }

  .surface-card-header,
  .surface-card-body,
  .checkout-card .surface-card-body {
    padding: 18px;
  }
}

@media (max-width: 419.98px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero-point {
    width: 100%;
  }

  .product-action {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .product-add {
    width: 100%;
  }

  .purchase-row {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-row .qty-wrap,
  .purchase-row .qty-control {
    width: 100%;
  }

  .detail-spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

body.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.28s;
}

body.cart-drawer-open .cart-drawer {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(16, 24, 40, 0.46);
  border: 0;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.28s ease;
}

body.cart-drawer-open .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -16px 0 40px rgba(16, 24, 40, 0.16);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

body.cart-drawer-open .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--v365-line);
}

.cart-drawer-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #667085;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.cart-drawer-close:hover {
  color: var(--v365-ink);
  background: var(--v365-soft);
}

.cart-drawer-close .ui-icon {
  width: 18px;
  height: 18px;
}

.cart-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 16px 28px;
}

.cart-drawer-empty {
  padding: 28px 8px;
  text-align: center;
}

.cart-drawer-empty h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.cart-drawer-empty p {
  margin: 0 0 16px;
  color: var(--v365-muted);
}

.drawer-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--v365-line);
}

.drawer-tile {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 5px;
}

.drawer-item-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--v365-ink);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}

.drawer-item-title:hover {
  color: var(--v365-primary);
}

.drawer-item-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer-item-row strong {
  font-size: 0.95rem;
}

.drawer-qty {
  width: 112px;
}

.drawer-remove {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #98a2b3;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.drawer-remove:hover {
  color: var(--v365-danger);
}

.drawer-remove .ui-icon {
  width: 16px;
  height: 16px;
}

.cart-drawer-foot {
  padding: 16px 28px 22px;
  border-top: 1px solid var(--v365-line);
  background: #fff;
}

.drawer-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #475467;
  font-size: 0.92rem;
}

.drawer-total-due {
  margin: 8px 0 14px;
  padding-top: 10px;
  border-top: 1px solid var(--v365-line);
  color: var(--v365-ink);
  font-weight: 700;
}

.drawer-total-due strong {
  color: var(--v365-primary);
  font-size: 1.25rem;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drawer-actions .btn {
  width: 100%;
}

.drawer-assurances {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #667085;
  font-size: 0.72rem;
}

.drawer-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.drawer-assurances .ui-icon {
  width: 14px;
  height: 14px;
  color: var(--v365-primary);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
