:root {
  --bg: #eaf6ff;
  --surface: #ffffff;
  --surface-soft: #edf7ff;
  --surface-strong: #dcecff;
  --text: #10233c;
  --muted: #607a97;
  --line: #cfe0f1;
  --primary: #2b8cff;
  --primary-deep: #116ad9;
  --secondary: #ffbd13;
  --danger: #ff6b6b;
  --success: #24d06c;
  --shadow: 0 22px 55px rgba(51, 110, 173, 0.14);
  --radius: 24px;
  --container: 1380px;
}

/* Mobile admin workspace */
@media (max-width: 960px) {
  body[class^="page-admin"] > main > .container {
    width: calc(100% - 24px);
  }

  body[class^="page-admin"] .admin-shell {
    gap: 16px;
  }

  body[class^="page-admin"] .admin-sidebar {
    position: relative;
    z-index: 20;
  }

  .admin-mobile-menu-toggle {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(37, 99, 235, .24);
    border-radius: 14px;
    color: var(--primary-deep);
    background: #fff;
    box-shadow: 0 8px 22px rgba(30, 64, 175, .1);
    font-weight: 800;
    cursor: pointer;
  }

  .admin-mobile-menu-toggle > span:last-child {
    font-size: 1.25rem;
  }

  .admin-mobile-menu-content {
    display: none;
    padding-top: 10px;
  }

  .admin-mobile-menu-check:checked + .admin-mobile-menu-toggle {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
  }

  .admin-mobile-menu-check:checked + .admin-mobile-menu-toggle + .admin-mobile-menu-content {
    display: block;
  }

  body[class^="page-admin"] .admin-sidebar-nav {
    max-height: none;
  }

  .admin-table-wrap {
    position: relative;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  body[class^="page-admin"] > main > .section-space {
    padding: 12px 0 24px;
  }

  body[class^="page-admin"] > main > .container {
    width: calc(100% - 16px);
  }

  body[class^="page-admin"] .admin-shell {
    gap: 12px;
  }

  body[class^="page-admin"] .admin-content {
    padding-right: 0;
  }

  body[class^="page-admin"] .admin-header {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
  }

  body[class^="page-admin"] .admin-header h1 {
    margin-top: 5px;
    font-size: clamp(1.45rem, 7vw, 2rem);
    overflow-wrap: anywhere;
  }

  body[class^="page-admin"] .admin-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  body[class^="page-admin"] .admin-actions > .btn,
  body[class^="page-admin"] .admin-actions > a,
  body[class^="page-admin"] .admin-actions > form,
  body[class^="page-admin"] .admin-actions > form > button {
    width: 100%;
  }

  body[class^="page-admin"] .btn,
  body[class^="page-admin"] button,
  body[class^="page-admin"] input,
  body[class^="page-admin"] select {
    min-height: 44px;
  }

  body[class^="page-admin"] .admin-form,
  body[class^="page-admin"] .profile-content {
    padding: 16px;
  }

  body[class^="page-admin"] .form-grid,
  body[class^="page-admin"] .contact-form-grid {
    grid-template-columns: 1fr;
  }

  body[class^="page-admin"] .filter-bar,
  body[class^="page-admin"] .crm-period-filter {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  body[class^="page-admin"] .filter-bar > *,
  body[class^="page-admin"] .crm-period-filter > *,
  body[class^="page-admin"] .filter-bar input,
  body[class^="page-admin"] .filter-bar select {
    width: 100%;
    min-width: 0;
  }

  body[class^="page-admin"] .admin-table {
    min-width: 760px;
  }

  body[class^="page-admin"] .admin-users-table {
    min-width: 920px;
    table-layout: auto;
  }

  body[class^="page-admin"] .admin-table th,
  body[class^="page-admin"] .admin-table td {
    padding: 12px;
  }

  body[class^="page-admin"] .admin-table td.admin-actions {
    min-width: 135px;
    white-space: normal;
  }

  body[class^="page-admin"] .admin-table td.admin-actions > a,
  body[class^="page-admin"] .admin-table td.admin-actions > form {
    display: flex;
    width: 100%;
    margin: 4px 0;
  }

  body[class^="page-admin"] .admin-table td.admin-actions > a,
  body[class^="page-admin"] .admin-table td.admin-actions > form .link-button {
    justify-content: center;
    min-height: 40px;
  }

  .admin-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    gap: 6px;
  }

  .admin-pagination a {
    min-height: 44px;
    padding: 8px 10px;
  }

  .admin-pagination__nav:last-child {
    justify-self: stretch;
  }

  .crm-section__header {
    align-items: start;
  }

  .crm-customer-summary {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .admin-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .admin-pagination__pages {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
  }

  .crm-customer-summary {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top center, rgba(43, 140, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(151, 216, 255, 0.42), transparent 18%),
    linear-gradient(180deg, #f4fbff 0%, #e4f3ff 55%, #d9edff 100%);
}

body.page-home {
  overflow-x: hidden;
}

body > main {
  flex: 1 0 auto;
}

body.account-drawer-open {
  overflow: hidden;
  touch-action: none;
}

body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

body.cart-open {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

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

img {
  max-width: 100%;
}

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

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: inherit;
}

input::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #0f1f3d;
}

h1 {
  font-family: "Inter", Arial, sans-serif;
}

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

.topbar {
  position: relative;
  z-index: 30;
  overflow: visible;
  padding: 18px 0 0;
}

.topbar__stack {
  position: relative;
  display: grid;
  gap: 10px;
}

.topbar__inner {
  position: relative;
  z-index: 60;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border: 1px solid rgba(207, 224, 241, 0.95);
  border-radius: 22px;
  background: rgba(237, 247, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(51, 110, 173, 0.12);
}

.topbar-menu {
  position: relative;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 0 24px;
  border: 1px solid rgba(207, 224, 241, 0.95);
  border-radius: 22px;
  background: rgba(237, 247, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(51, 110, 173, 0.1);
}

.topbar-menu__links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px;
}

.topbar-menu__seller-link {
  display: none;
}

.mobile-account-button,
.mobile-auth-link,
.mobile-menu-trigger,
.category-trigger__label,
.topbar-cart-button__label {
  display: none;
}

.site-footer {
  margin-top: auto;
  padding: 24px 0 34px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  column-gap: 14px;
  row-gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(207, 224, 241, 0.95);
  border-radius: 22px;
  background: rgba(237, 247, 255, 0.92);
  box-shadow: 0 16px 36px rgba(51, 110, 173, 0.08);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
}

.site-footer__logo {
  display: block;
  width: min(100%, 150px);
  height: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.site-footer__nav a {
  font-weight: 700;
  white-space: nowrap;
}

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  justify-self: end;
}

.site-footer__social-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(43, 140, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-deep);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

button.site-footer__social-link {
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer__social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 140, 255, 0.32);
  box-shadow: 0 14px 28px rgba(51, 110, 173, 0.14);
}

.site-footer__social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.site-footer__social-link[aria-label="WhatsApp"] {
  color: #25d366;
}

.floating-whatsapp { position: fixed; right: 24px; bottom: 26px; z-index: 1050; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; text-decoration: none; filter: drop-shadow(0 10px 18px rgba(22, 163, 74, .22)); transition: transform .2s ease; }
.floating-whatsapp:hover, .floating-whatsapp:focus-visible { transform: translateY(-3px) scale(1.04); }
.floating-whatsapp:focus-visible { outline: 3px solid rgba(37, 211, 102, .4); outline-offset: 4px; }
.floating-whatsapp__rings, .floating-whatsapp__rings::before, .floating-whatsapp__rings::after { position: absolute; inset: 3px; border: 2px solid rgba(37, 211, 102, .28); border-radius: 50%; content: ""; }
.floating-whatsapp__rings::before { inset: 5px; border-color: rgba(37, 211, 102, .2); }
.floating-whatsapp__rings::after { inset: 10px; border-color: rgba(37, 211, 102, .14); }
.floating-whatsapp__button { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: #16b968; box-shadow: 0 6px 16px rgba(22, 185, 104, .3); }
.floating-whatsapp__button svg { width: 24px; height: 24px; fill: currentColor; }
.floating-whatsapp__status { position: absolute; top: 8px; right: 8px; z-index: 3; width: 11px; height: 11px; border: 3px solid #fff; border-radius: 50%; background: #10b981; }
.floating-whatsapp__rings { animation: floating-whatsapp-breathe 2s ease-in-out infinite; }
@keyframes floating-whatsapp-breathe {
  0%, 100% { transform: scale(.98); opacity: .72; }
  50% { transform: scale(1.04); opacity: .95; }
}
@media (max-width: 640px) {
  .floating-whatsapp {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .floating-whatsapp__button {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) { .floating-whatsapp__rings { animation: none; } }

.product-duration-selector { min-width: 0; margin: 1rem 0; padding: 0; border: 0; }
.product-duration-selector legend { margin-bottom: .65rem; padding: 0; font-weight: 700; color: var(--text); }
.product-duration-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.product-duration-option { position: relative; display: flex; align-items: center; gap: .7rem; min-height: 64px; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.product-duration-option:hover { border-color: var(--primary); background: rgba(37, 99, 235, .035); }
.product-duration-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.product-duration-option__radio { flex: 0 0 auto; width: 20px; height: 20px; border: 2px solid #a8b7ca; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px #fff; transition: border-color .18s ease, background-color .18s ease; }
.product-duration-option__content { display: grid; gap: .15rem; line-height: 1.25; }
.product-duration-option__content strong { font-size: 1rem; }
.product-duration-option__content span { color: var(--muted); font-size: .9rem; }
.product-duration-option:has(.product-duration-option__content small) .product-duration-option__content { padding-right: min(42%, 180px); }
.product-duration-option__content small { position: absolute; top: .75rem; right: .9rem; max-width: 42%; padding: .3rem .55rem; border-radius: 999px; color: var(--muted); background: #f1f5f9; font-size: .8rem; line-height: 1.25; text-align: right; overflow-wrap: anywhere; }
.product-duration-option:has(input:checked) { border-color: var(--primary); background: rgba(37, 99, 235, .06); box-shadow: 0 0 0 2px rgba(37, 99, 235, .12); }
.product-duration-option:has(input:checked) .product-duration-option__radio { border-color: var(--primary); background: var(--primary); }
.product-duration-option:has(input:checked) .product-duration-option__content span { color: var(--primary-deep); }
.product-duration-option:has(input:focus-visible) { outline: 3px solid rgba(37, 99, 235, .3); outline-offset: 2px; }
@media (max-width: 520px) { .product-duration-options { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .product-duration-option:has(.product-duration-option__content small) .product-duration-option__content { padding-right: 0; } .product-duration-option__content small { position: static; max-width: 100%; width: fit-content; margin-top: .25rem; text-align: left; } }
.admin-form-section { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.admin-form-section legend { padding: 0 .4rem; font-weight: 700; }

.cart-trigger-button {
  color: var(--primary-deep);
}

.site-footer__social-link[aria-label="Instagram"] svg {
  fill: url("#instagram-icon-gradient");
}

.site-footer__social-link[aria-label="Facebook"] {
  color: #1877f2;
}

.site-footer__social-link[aria-label="Telegram"] {
  color: #26a5e4;
}

.site-footer__social-link[aria-label="LinkedIn"] {
  color: #0a66c2;
}

.site-footer__social-link[aria-label="TikTok"] {
  color: #010101;
}

.site-footer__social-link[aria-label="TikTok"] svg {
  filter:
    drop-shadow(-1px 0 #25f4ee)
    drop-shadow(1px 0 #fe2c55);
}

.stock-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.stock-badge--available {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #13833f;
}

.stock-badge--unavailable {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #b91c1c;
}

.stock-badge--detail {
  margin: -4px 0 4px;
}

.cart-drawer[hidden] {
  display: none !important;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 36, 0.42);
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 430px);
  height: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 16px;
  padding: 22px;
  background: rgba(246, 251, 255, 0.98);
  box-shadow: -22px 0 54px rgba(8, 18, 36, 0.22);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__head,
.cart-item__top,
.cart-drawer__footer,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-drawer__head h2,
.cart-item h3 {
  margin: 0;
}

.cart-icon-button {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.cart-icon-button::before,
.cart-icon-button::after,
.seller-image-preview button::before,
.seller-image-preview button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.cart-icon-button::before,
.seller-image-preview button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cart-icon-button::after,
.seller-image-preview button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cart-drawer__items {
  display: grid;
  align-content: start;
  gap: 12px;
}

.cart-item,
.cart-empty {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.cart-item__top span {
  display: inline-block;
  margin-top: 5px;
  color: var(--primary-deep);
  font-weight: 800;
}

.cart-item__top small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.cart-item__controls {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.cart-item__controls button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.cart-item__controls strong {
  min-width: 24px;
  text-align: center;
}

.cart-note,
.cart-item__details {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.cart-note textarea,
.cart-item__details textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.cart-drawer__footer {
  align-items: stretch;
  flex-direction: column;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.cart-total {
  font-weight: 800;
}

.cart-total span {
  color: var(--muted);
}

.cart-page {
  display: grid;
  gap: 14px;
}

.cart-page__note,
.cart-page__footer {
  margin-top: 16px;
}

.user-orders {
  display: grid;
  gap: 16px;
}

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

.order-page-heading {
  margin-bottom: 4px;
}

.user-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(207, 224, 241, 0.95);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(26, 59, 104, 0.08);
}

.user-order-card__main,
.user-order-card__meta {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.user-order-card span,
.user-order-card__label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.user-order-card strong {
  color: var(--text);
  font-size: 1rem;
}

.user-order-card__main strong {
  overflow-wrap: anywhere;
}

.order-date {
  display: inline-grid;
  gap: 3px;
  color: var(--text) !important;
  line-height: 1.2;
}

.order-date strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

.order-date small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.order-date--align-end {
  justify-items: end;
  text-align: right;
}

.user-order-card__status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-deep) !important;
  font-size: 0.84rem !important;
  font-weight: 800;
  white-space: nowrap;
}

.user-order-card--detail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.user-order-table-wrap {
  margin-top: 2px;
}

.user-order-table td strong {
  display: block;
  color: var(--text);
}

.user-order-table td small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.order-detail-actions {
  margin-top: 0;
}

@media (max-width: 760px) {
  .user-order-card,
  .user-order-card--detail {
    grid-template-columns: 1fr;
  }

  .user-order-card {
    align-items: stretch;
  }
}

.brand {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.brand__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand__logo {
  display: block;
  width: min(100%, 150px);
  height: auto;
}

.brand__copy {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand__copy strong {
  font-family: "Outfit", "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: var(--text);
}

.brand__copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.topbar-contact {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(43, 140, 255, 0.08);
  border: 1px solid rgba(43, 140, 255, 0.14);
  color: var(--primary-deep);
  font-weight: 600;
  white-space: nowrap;
}

.topbar-contact__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1fa855;
}

.topbar-contact__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.topbar-menu a {
  color: var(--text);
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.category-trigger {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: rgba(237, 247, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -18px 28px rgba(255, 255, 255, 0.24),
    0 16px 30px rgba(51, 110, 173, 0.12);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}

.category-trigger::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18) 42%, rgba(151, 216, 255, 0.2));
  pointer-events: none;
}

.category-trigger > * {
  position: relative;
  z-index: 1;
}

.category-trigger.is-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -18px 28px rgba(255, 255, 255, 0.28),
    0 18px 34px rgba(51, 110, 173, 0.16);
}

.category-trigger:hover,
.category-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.96);
  background: rgba(220, 236, 255, 0.74);
  color: var(--primary-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -18px 30px rgba(255, 255, 255, 0.34),
    0 18px 38px rgba(51, 110, 173, 0.22);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
}

.category-trigger:hover::before,
.category-trigger:focus-visible::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.24) 44%, rgba(151, 216, 255, 0.3));
}

.category-trigger__icon {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.category-trigger__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.topbar-menu a:hover,
.topbar-menu a:focus-visible {
  background: rgba(43, 140, 255, 0.09);
  color: var(--primary-deep);
}

.topbar-auth {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: max-content;
  padding: 6px;
  border-radius: 999px;
  background: #eff6ff;
}

.topbar-auth__form {
  margin: 0;
}

.topbar-auth:has(.topbar-account-card) {
  padding: 0;
  background: transparent;
}

.topbar-cart-button {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-deep);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar-cart-button:hover,
.topbar-cart-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.34);
  background: #fff;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18);
}

.topbar-cart-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.topbar-cart-button .cart-count {
  top: -7px;
  right: -7px;
}

.topbar-auth__link,
.topbar-auth__button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(51, 110, 173, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.topbar-auth__link svg,
.topbar-auth__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.topbar-auth__link:hover,
.topbar-auth__link:focus-visible,
.topbar-auth__button:hover,
.topbar-auth__button:focus-visible {
  transform: translateY(-1px);
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #334155;
  box-shadow: 0 16px 30px rgba(51, 110, 173, 0.16);
}

.topbar-auth__link--primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 14px 28px rgba(43, 140, 255, 0.22);
}

.topbar-auth__link--primary:hover,
.topbar-auth__link--primary:focus-visible {
  border-color: #1d4ed8;
  background: #1d4ed8;
  color: #fff;
}

.topbar-account-card {
  min-width: 132px;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  background: #dbeafe;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar-account-card:hover,
.topbar-account-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.34);
  background: #bfdbfe;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18);
}

.topbar-account-card__copy {
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.topbar-account-card__copy strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-account-card__copy strong {
  font-size: 0.88rem;
  line-height: 1.1;
}

.topbar-account-card__copy small {
  color: #22c55e;
  font-size: 0.78rem;
  font-weight: 900;
}

.topbar-account-card > svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  opacity: 0.82;
}

.account-drawer[hidden] {
  display: none !important;
}

.account-drawer {
  position: fixed;
  inset: 0;
  z-index: 220;
  isolation: isolate;
  overscroll-behavior: contain;
  touch-action: none;
}

.account-drawer__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(8, 13, 24, 0.55);
  backdrop-filter: blur(2px);
}

.account-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(100%, 390px);
  height: 100%;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 14px 28px;
  background: var(--bg);
  color: var(--text);
  border-left: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: -26px 0 60px rgba(15, 23, 42, 0.22);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.account-drawer__head,
.account-drawer__title,
.account-summary__user,
.account-summary__profile-link,
.account-summary__action,
.account-menu-link,
.account-drawer__logout button {
  display: flex;
  align-items: center;
}

.account-drawer__head {
  justify-content: space-between;
  padding: 2px 10px 8px;
}

.account-drawer__title {
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.account-drawer__title span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--primary-deep);
}

.account-drawer svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.account-drawer__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.account-drawer__close:hover,
.account-drawer__close:focus-visible {
  background: rgba(43, 140, 255, 0.12);
  color: var(--text);
  outline: 2px solid rgba(43, 140, 255, 0.24);
  outline-offset: 2px;
}

.account-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.12);
}

.account-summary__user {
  gap: 12px;
}

.account-summary__avatar {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--primary-deep);
}

.account-summary__avatar svg {
  width: 24px;
  height: 24px;
}

.account-summary__identity {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.account-summary__identity strong {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.account-summary__identity span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.account-summary__details {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.account-summary__details div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.account-summary__details dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.account-summary__details dd {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.account-summary__profile-link {
  min-height: 44px;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
}

.account-summary__profile-link:hover,
.account-summary__profile-link:focus-visible {
  background: rgba(43, 140, 255, 0.1);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.18);
}

.account-summary__profile-link svg {
  flex: 0 0 20px;
  color: var(--primary-deep);
}

.account-summary__profile-link span {
  flex: 1 1 auto;
  min-width: 0;
}

.account-summary__profile-link strong {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
}

.account-menu-card__label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.account-menu-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 8px;
  background: var(--surface);
}

.account-menu-card__label {
  display: block;
  margin: 0 0 7px 2px;
}

.account-menu-link {
  min-height: 46px;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
  outline: none;
}

.account-menu-link--button {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.account-menu-link:hover,
.account-menu-link:focus-visible {
  background: rgba(43, 140, 255, 0.1);
  color: var(--text);
}

.account-menu-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.24);
}

.account-menu-link svg {
  flex: 0 0 20px;
  color: var(--primary-deep);
}

.account-menu-link span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-menu-link strong {
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
}

.account-drawer__logout {
  margin: 0;
}

.account-drawer__logout button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.14);
  color: #b91c1c;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.account-drawer__logout button:hover,
.account-drawer__logout button:focus-visible {
  border-color: rgba(220, 38, 38, 0.42);
  background: rgba(255, 107, 107, 0.22);
  color: #991b1b;
}

.account-drawer__logout button:focus-visible {
  outline: 2px solid rgba(220, 38, 38, 0.28);
  outline-offset: 2px;
}

.account-drawer__logout button:active {
  transform: translateY(1px);
  background: rgba(255, 107, 107, 0.28);
}

.category-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: 0;
  z-index: 80;
  padding: 26px;
  border: 1px solid rgba(185, 213, 239, 0.95);
  border-radius: 24px;
  background: rgba(248, 252, 255, 0.98);
  box-shadow: 0 26px 48px rgba(51, 110, 173, 0.18);
  backdrop-filter: blur(18px);
}

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

.category-panel__head h2 {
  margin: 10px 0 0;
  color: var(--text);
}

.category-panel__all {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(43, 140, 255, 0.2);
  background: rgba(43, 140, 255, 0.1);
  color: var(--primary-deep);
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.category-panel__all:hover,
.category-panel__all:focus-visible {
  border-color: rgba(43, 140, 255, 0.38);
  color: #fff;
  background: var(--primary);
}

.category-panel__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: minmax(88px, auto);
  gap: 14px;
  overflow: visible;
}

.category-panel__item {
  min-height: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(190, 215, 239, 0.95);
  background: rgba(255, 255, 255, 0.92);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(51, 110, 173, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.category-panel__item:hover {
  border-color: rgba(43, 140, 255, 0.48);
  background-color: #fff;
  box-shadow: 0 16px 30px rgba(51, 110, 173, 0.15);
  transform: translateY(-2px);
}

.category-panel__item--visual:hover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.category-panel__badge {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffb703 0%, #fb5607 100%);
  color: #fff;
  font-weight: 800;
}

.category-panel__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.category-panel__copy strong {
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-panel__copy small {
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.main-nav,
.topbar__actions,
.admin-actions,
.form-actions,
.hero-actions,
.breadcrumb-bar,
.panel-head,
.section-heading--row,
.dashboard-grid {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-pill,
.chip,
.eyebrow,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.user-pill,
.chip,
.eyebrow {
  background: rgba(43, 140, 255, 0.08);
  color: #184777;
}

.status-chip--ok {
  background: rgba(36, 208, 108, 0.14);
  color: #79e8a6;
}

.status-chip--muted {
  background: rgba(104, 117, 110, 0.12);
  color: var(--muted);
}

.status-chip--pending {
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.14);
  color: #9a5a00 !important;
}

.status-chip--confirmed {
  border: 1px solid rgba(37, 99, 235, 0.26);
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8 !important;
}

.status-chip--preparing {
  border: 1px solid rgba(147, 51, 234, 0.24);
  background: rgba(147, 51, 234, 0.11);
  color: #7e22ce !important;
}

.status-chip--shipped {
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1 !important;
}

.status-chip--completed {
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.13);
  color: #15803d !important;
}

.status-chip--cancelled {
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c !important;
}

.hero,
.section-space {
  padding: 56px 0;
}

.not-found-page {
  display: grid;
  min-height: 520px;
  place-items: center;
}

.not-found-page__card {
  width: min(100%, 700px);
  padding: 52px 32px;
  border: 1px solid rgba(207, 224, 241, 0.95);
  border-radius: 28px;
  background: rgba(237, 247, 255, 0.82);
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found-page__code {
  margin: 8px 0 2px;
  color: rgba(43, 140, 255, 0.2);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.not-found-page__card h1 {
  margin: 14px 0 10px;
}

.not-found-page__card p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
}

.not-found-page__actions {
  justify-content: center;
  margin-top: 28px;
}

.search-shell {
  position: relative;
  z-index: 120;
  flex: 1 1 0;
  max-width: none;
}

.search-shell input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(207, 224, 241, 0.98);
  border-radius: 18px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.92);
  color: #10233c;
}

.search-shell input::placeholder {
  color: #86a0bb;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(207, 224, 241, 0.98);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(51, 110, 173, 0.16);
}

.search-suggestions[hidden] {
  display: none !important;
}

.search-suggestions__item,
.search-suggestions__empty {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
}

.search-suggestions__item:hover,
.search-suggestions__item:focus-visible {
  background: rgba(43, 140, 255, 0.08);
}

.search-suggestions__name {
  color: var(--text);
  font-weight: 700;
}

.search-suggestions__meta,
.search-suggestions__empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn-warning {
  color: #1f1300;
  background: linear-gradient(135deg, #ffcf31 0%, #ffb400 100%);
  box-shadow: 0 14px 28px rgba(255, 180, 0, 0.24);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.22);
}

.btn-success {
  color: #08120c;
  background: linear-gradient(135deg, #38df7f 0%, #1fc96a 100%);
  box-shadow: 0 14px 28px rgba(31, 201, 106, 0.2);
}

.home-hero {
  padding-top: 30px;
  padding-bottom: 22px;
  overflow-anchor: none;
}

.home-seo-intro,
.home-internal-links,
.catalog-seo-hero,
.catalog-seo-content,
.catalog-seo-faq,
.premium-accounts-copy,
.premium-accounts-hero__seo-copy,
.premium-accounts-crosslink {
  /* Keep SEO copy in the HTML for indexing, but take no visible layout space. */
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-seo-intro h1,
.home-seo-intro p {
  margin: 0;
}

.home-stage {
  margin-top: 18px;
  padding: 34px 34px 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(231, 243, 255, 0.96));
  box-shadow: var(--shadow);
  border: 1px solid rgba(207, 224, 241, 0.95);
}

.home-stage,
.logo-strip,
.promo-rail,
.home-stage__aside {
  display: grid;
  gap: 22px;
}

.home-stage {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: start;
}

.home-stage--solo {
  grid-template-columns: minmax(0, 1fr);
}

.home-stage__aside[hidden] {
  display: none !important;
}

.home-stage__copy {
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.home-stage__copy--slider {
  max-width: none;
  position: relative;
}

.home-stage__copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.14;
  max-width: 760px;
}

.home-stage__slides {
  position: relative;
  min-height: 480px;
  border-radius: 30px;
  overflow: hidden;
}

.home-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(8, 18, 36, 0.56);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  box-shadow: 0 16px 34px rgba(8, 18, 36, 0.24);
  backdrop-filter: blur(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.home-slider-nav span {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  font-size: 0;
  line-height: 0;
}

.home-slider-nav svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-slider-nav svg path {
  fill: none !important;
  stroke: #fff !important;
}

.home-slider-nav span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform-origin: center;
}

.home-slider-nav--prev span::before {
  transform: rotate(-135deg);
}

.home-slider-nav--next span::before {
  transform: rotate(45deg);
}

.home-slider-nav--prev {
  left: 18px;
}

.home-slider-nav--next {
  right: 18px;
}

.home-stage__slides:hover .home-slider-nav,
.home-slider-nav:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.home-slider-nav:hover {
  background: rgba(8, 18, 36, 0.72);
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.home-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-slide__visual {
  position: relative;
  min-height: 480px;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  border: 1px solid rgba(163, 193, 226, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 24px 50px rgba(36, 70, 110, 0.14);
}

.home-slide__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-slide__art--uploaded {
  background-color: #f5f8fd;
}

.home-slide__art--uploaded::before,
.home-slide__art--uploaded::after {
  display: none;
}

.home-slide__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-slide__link {
  display: block;
  width: 100%;
  height: 100%;
}

.home-slide--campaign .home-slide__art {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 214, 102, 0.9), transparent 22%),
    radial-gradient(circle at 78% 24%, rgba(43, 140, 255, 0.72), transparent 28%),
    linear-gradient(135deg, #14213d 0%, #1d4ed8 48%, #7dd3fc 100%);
}

.home-slide--products .home-slide__art {
  background:
    radial-gradient(circle at 22% 18%, rgba(20, 184, 166, 0.8), transparent 20%),
    radial-gradient(circle at 76% 70%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(145deg, #052e16 0%, #0f766e 45%, #99f6e4 100%);
}

.home-slide--services .home-slide__art {
  background:
    radial-gradient(circle at 80% 24%, rgba(251, 146, 60, 0.84), transparent 24%),
    radial-gradient(circle at 24% 76%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, #3b0764 0%, #7c3aed 48%, #f0abfc 100%);
}

.home-slide--campaign .home-slide__art--uploaded,
.home-slide--products .home-slide__art--uploaded,
.home-slide--services .home-slide__art--uploaded {
  background: #f5f8fd;
  background-color: #f5f8fd;
}

.home-slide__art::before,
.home-slide__art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(1px);
}

.home-slide__art::before {
  width: 220px;
  height: 220px;
  top: 24px;
  right: -40px;
}

.home-slide__art::after {
  width: 300px;
  height: 300px;
  left: -80px;
  bottom: -120px;
}

.home-stage__tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(43, 140, 255, 0.14);
  background: rgba(43, 140, 255, 0.08);
  color: var(--primary-deep);
  font-weight: 700;
}

.home-stage__aside {
  align-self: stretch;
  height: 480px;
  min-height: 480px;
  overflow: hidden;
  overflow-anchor: none;
}

.home-stage__info-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(207, 224, 241, 0.98);
}

.home-stage__info-card--sticky {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.home-stage__info-label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.home-stage__info-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.logo-strip {
  grid-template-columns: repeat(8, minmax(110px, 1fr));
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(207, 224, 241, 0.98);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.logo-strip__item {
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  border-right: 1px solid rgba(207, 224, 241, 0.98);
}

.logo-strip__item:last-child {
  border-right: 0;
}

.hero-grid,
.feature-grid,
.metric-grid,
.dashboard-grid,
.auth-card {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.detail-card h1,
.auth-copy h1 {
  margin: 14px 0;
  line-height: 1.03;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-highlights,
.section-heading--split {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-highlights {
  margin-top: 6px;
}

.lead,
.section-heading p,
.product-card p,
.detail-card p,
.feature-card p,
.auth-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel,
.product-card,
.detail-card,
.feature-card,
.admin-table-wrap,
.admin-form,
.metric-card,
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(88, 101, 242, 0.08), rgba(255, 189, 19, 0.08)),
    var(--surface);
}

.hero-panel__intro h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.hero-panel__intro p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.metric-grid--admin {
  margin-bottom: 24px;
}

.about-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: stretch;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(237, 247, 255, 0.72)),
    var(--surface);
  box-shadow: 0 26px 62px rgba(51, 110, 173, 0.12);
}

.about-overview__copy {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: none;
  padding: 8px 10px;
}

.about-overview__copy p {
  margin: 0 0 14px;
  max-width: 760px;
}

.about-overview__copy p:last-child {
  margin-bottom: 0;
}

.about-overview__copy h1 {
  margin: 0 0 14px;
  line-height: 1.03;
}

.metric-grid--about {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 16px;
}

.metric-grid--about .metric-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(51, 110, 173, 0.08);
}

.metric-grid--about .metric-card::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--line);
  order: 2;
}

.metric-grid--about .metric-card strong {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1;
}

.metric-grid--about .metric-card span {
  order: 3;
}

.metric-card {
  padding: 24px;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.25);
}

.btn-secondary {
  color: #edf2ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-deep);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(37, 99, 235, 0.38);
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.16);
}

.btn-small {
  padding: 10px 14px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading--split {
  justify-content: space-between;
  align-items: end;
}

.section-heading--split h2,
.section-heading--split p {
  width: 100%;
}

.section-heading--row {
  justify-content: space-between;
}


.home-section__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-section__all-link {
  white-space: nowrap;
  border-color: rgba(43, 140, 255, 0.24);
  color: var(--primary-deep);
  background: linear-gradient(135deg, #e8f5ff, #cbe7ff);
  box-shadow: 0 12px 26px rgba(43, 140, 255, 0.14);
}

.home-section__all-link:hover,
.home-section__all-link:focus-visible {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: linear-gradient(135deg, #f2f9ff, #d8edff);
  box-shadow: 0 16px 32px rgba(43, 140, 255, 0.2);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid--services {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: start;
}

.feature-grid--categories {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: start;
}

.home-catalog-section > .home-catalog-grid,
.home-catalog-section > .home-section__actions {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.home-catalog-section > .section-heading {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  justify-content: flex-start;
  text-align: left;
}

.feature-grid.home-catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.home-catalog-grid .service-catalog-card {
  width: 100%;
  max-width: none;
  height: 100%;
  grid-template-rows: auto 68px;
}

.home-catalog-grid .service-catalog-card__media {
  aspect-ratio: 4 / 3;
}

.home-catalog-grid .service-catalog-card__summary {
  min-height: 68px;
  padding: 12px 14px;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .home-catalog-section > .home-catalog-grid,
  .home-catalog-section > .home-section__actions {
    max-width: 640px;
  }

  .feature-grid.home-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .home-catalog-grid > :nth-child(n + 5) {
    display: none;
  }
}

@media (min-width: 769px) {
  .home-catalog-section.section-space {
    padding-block: 44px;
  }

  .home-catalog-section + .home-catalog-section {
    padding-top: 24px;
  }
}

.blog-section.section-space {
  padding-top: 36px;
}

.blog-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 16px;
}

.blog-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 35, 64, 0.14);
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.06), rgba(5, 10, 18, 0.78)),
    var(--blog-image),
    linear-gradient(135deg, #0b1728 0%, #1450c8 54%, #ffbd13 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 24px 54px rgba(20, 43, 79, 0.18);
  color: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 140, 255, 0.36);
  box-shadow: 0 30px 66px rgba(20, 43, 79, 0.24);
}

.blog-card--lead {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 456px;
}

.blog-card--wide {
  grid-column: span 2;
  aspect-ratio: auto;
}

.blog-card--square {
  aspect-ratio: auto;
}

.blog-card--fallback {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(255, 189, 19, 0.2), transparent 24%),
    linear-gradient(135deg, #0b1728 0%, #1450c8 58%, #2b8cff 100%);
}

.blog-card--placeholder {
  border-style: dashed;
  border-color: rgba(43, 140, 255, 0.24);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(11, 23, 40, 0.94), rgba(20, 80, 200, 0.84));
  box-shadow: 0 18px 38px rgba(20, 43, 79, 0.12);
}

.blog-card--placeholder:hover {
  transform: none;
  border-color: rgba(43, 140, 255, 0.24);
  box-shadow: 0 18px 38px rgba(20, 43, 79, 0.12);
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.08) 0%, rgba(5, 10, 18, 0.18) 42%, rgba(5, 10, 18, 0.86) 100%);
  pointer-events: none;
}

.blog-card__link {
  position: relative;
  z-index: 1;
  min-height: inherit;
  height: 100%;
  display: grid;
  color: inherit;
}

.blog-card__content {
  min-height: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 20px;
}

.blog-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(239, 246, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
}

.blog-card__chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 189, 19, 0.92);
  color: #1f1300;
  font-size: 0.78rem;
  font-weight: 900;
}

.blog-card__copy {
  align-self: end;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.blog-card__copy h2,
.blog-card__copy p {
  margin: 0;
}

.blog-card__copy h2 {
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.18;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.blog-card--lead .blog-card__copy h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.blog-card__copy p {
  color: rgba(239, 246, 255, 0.84);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card--square .blog-card__copy p {
  display: none;
}

.empty-state {
  width: min(100%, 620px);
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.7;
}

.blog-detail-section.section-space {
  padding-top: 34px;
}

.blog-detail {
  display: grid;
  gap: 24px;
}

.blog-detail-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(15, 35, 64, 0.16);
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.9) 0%, rgba(5, 10, 18, 0.52) 48%, rgba(5, 10, 18, 0.18) 100%),
    var(--blog-detail-image),
    linear-gradient(135deg, #071426 0%, #1450c8 58%, #ffbd13 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 28px 70px rgba(20, 43, 79, 0.22);
}

.blog-detail-hero--fallback {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
    radial-gradient(circle at 88% 20%, rgba(255, 189, 19, 0.24), transparent 22%),
    linear-gradient(135deg, #071426 0%, #1450c8 58%, #2b8cff 100%);
}

.blog-detail-hero__copy {
  width: min(100%, 820px);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 44px);
  color: #fff;
}

.blog-detail-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(239, 246, 255, 0.88);
  font-weight: 800;
}

.blog-detail-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.24);
}

.blog-detail-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(239, 246, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.blog-detail-body {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.blog-detail-side {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 14px;
}

.blog-back-button {
  width: 100%;
  min-height: 48px;
}

.blog-detail-side__box {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(207, 224, 241, 0.95);
  box-shadow: 0 18px 40px rgba(20, 43, 79, 0.1);
}

.blog-detail-side__box span {
  color: var(--muted);
  font-weight: 700;
}

.blog-detail-side__box strong {
  color: var(--text);
  font-size: 1.08rem;
}

.blog-detail-content {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.9));
  border: 1px solid rgba(207, 224, 241, 0.95);
  box-shadow: 0 24px 60px rgba(20, 43, 79, 0.12);
}

.blog-detail-content p {
  max-width: 920px;
  margin: 0;
  color: #365a82;
  font-size: 1.05rem;
  line-height: 1.95;
  white-space: pre-wrap;
}

.blog-more {
  margin-top: 34px;
}

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

.blog-list-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 35, 64, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 44px rgba(20, 43, 79, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 140, 255, 0.28);
  box-shadow: 0 26px 56px rgba(20, 43, 79, 0.18);
}

.blog-list-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.blog-list-card__media {
  min-height: 170px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.04), rgba(5, 10, 18, 0.32)),
    linear-gradient(135deg, #0b1728 0%, #1450c8 58%, #2b8cff 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.blog-list-card__content {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.blog-list-card__date {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.blog-list-card h3,
.blog-list-card p {
  margin: 0;
}

.blog-list-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.blog-list-card p {
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-grid--categories {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  align-items: stretch;
  justify-content: start;
  gap: 18px;
}

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

.catalog-toolbar .catalog-section-heading {
  margin-bottom: 0;
}

.catalog-category-filter {
  flex: 0 1 320px;
  width: min(100%, 320px);
  margin-left: auto;
}

.catalog-category-select {
  position: relative;
}

.catalog-category-select > summary {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 7px 18px rgba(20, 43, 79, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.catalog-category-select > summary::-webkit-details-marker {
  display: none;
}

.catalog-category-select > summary::marker {
  content: "";
}

.catalog-category-select > summary:hover,
.catalog-category-select > summary:focus-visible,
.catalog-category-select[open] > summary {
  border-color: rgba(43, 140, 255, 0.52);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 140, 255, 0.1), 0 12px 28px rgba(20, 43, 79, 0.1);
}

.catalog-category-select > summary svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.catalog-category-select__category-icon {
  display: none;
}

.catalog-category-select[open] > summary .catalog-category-select__arrow {
  transform: rotate(180deg);
}

.catalog-category-select > summary path,
.catalog-category-select__option svg path {
  fill: none;
  stroke: var(--primary-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-category-select__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 310px;
  padding: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(20, 43, 79, 0.18);
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 140, 255, 0.35) transparent;
}

.catalog-category-select__option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  padding: 9px 11px 9px 13px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.catalog-category-select__option:hover,
.catalog-category-select__option:focus-visible {
  outline: 0;
  color: var(--primary-deep);
  background: var(--surface-soft);
}

.catalog-category-select__option.is-selected {
  color: var(--primary-deep);
  background: rgba(43, 140, 255, 0.11);
  font-weight: 800;
}

.catalog-category-select__option small {
  display: grid;
  min-width: 28px;
  height: 24px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--muted);
  background: #edf4fb;
  font-size: 0.76rem;
  font-weight: 800;
}

.catalog-category-select__option.is-selected small {
  color: var(--primary-deep);
  background: #fff;
}

.catalog-category-select__option svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 768px) {
  body.page-products-index main > .section-space {
    padding-top: 18px;
  }

  .catalog-toolbar {
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .catalog-heading {
    display: none;
  }

  .catalog-category-filter {
    display: block;
    width: fit-content;
    flex: 0 0 auto;
    gap: 0;
    margin: 0 0 0 auto;
  }

  .catalog-category-select > summary {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 7px 18px rgba(20, 43, 79, 0.07);
  }

  .catalog-category-select > summary > span,
  .catalog-category-select > summary .catalog-category-select__arrow {
    display: none;
  }

  .catalog-category-select > summary .catalog-category-select__category-icon {
    width: 18px;
    height: 18px;
    display: block;
  }

  .catalog-category-select__menu {
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    width: min(270px, calc(100vw - 32px));
    max-height: 260px;
    padding: 5px;
    border-radius: 12px;
  }

  .catalog-category-select__option {
    min-height: 39px;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
  }

  .catalog-category-select__option small {
    min-width: 25px;
    height: 21px;
    padding: 0 6px;
    font-size: 0.7rem;
  }

  .catalog-category-select__option svg {
    width: 16px;
    height: 16px;
  }

  .catalog-section-heading--all {
    display: none;
  }
}

.catalog-heading h1 {
  font-size: clamp(2.25rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
}

.catalog-heading p,
.catalog-section-heading p,
.catalog-result-count {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.catalog-section-heading h1,
.catalog-section-heading h2 {
  font-size: clamp(1.875rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.14;
}

.catalog-section-heading h2 {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
}

.catalog-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  gap: 18px;
  margin-bottom: 32px;
  justify-content: start;
}

.catalog-subcategory-card {
  display: block;
  color: #fff;
}

.catalog-subcategory-card--product {
  grid-template-rows: minmax(0, 1fr);
  align-self: stretch;
  color: var(--text);
}

.catalog-subcategory-card--service {
  color: var(--text);
}

.catalog-subcategory-card__surface {
  min-height: 260px;
  aspect-ratio: 1 / 1;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  border-radius: 22px;
  border: 1px solid rgba(92, 167, 255, 0.28);
  background-color: #1b3b78;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 22px 48px rgba(20, 43, 79, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.catalog-subcategory-card--service .catalog-subcategory-card__surface {
  min-height: auto;
  aspect-ratio: auto;
  padding: 0;
  grid-template-rows: auto auto;
  gap: 0;
  overflow: hidden;
  border-color: rgba(207, 224, 241, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(20, 43, 79, 0.12);
}

.catalog-subcategory-card--category .catalog-subcategory-card__surface {
  min-height: auto;
  aspect-ratio: auto;
  padding: 0;
  grid-template-rows: auto auto;
  gap: 0;
  overflow: hidden;
  border-color: rgba(207, 224, 241, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(20, 43, 79, 0.12);
}

.catalog-subcategory-card__surface.is-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #2b8cff 0%, #1450c8 48%, #091a4a 100%);
}

.catalog-subcategory-card--product .catalog-subcategory-card__surface {
  height: 100%;
  min-height: auto;
  aspect-ratio: auto;
  padding: 0;
  grid-template-rows: 210px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-color: rgba(207, 224, 241, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(20, 43, 79, 0.12);
}

.catalog-subcategory-card--product .catalog-subcategory-card__surface.is-fallback {
  background: rgba(255, 255, 255, 0.94);
}

.catalog-subcategory-card--category .catalog-subcategory-card__surface.is-fallback {
  background: rgba(255, 255, 255, 0.96);
}

.catalog-subcategory-card__media {
  aspect-ratio: 1 / 0.78;
  background: #f5f8fd;
  border-bottom: 1px solid rgba(207, 224, 241, 0.95);
  overflow: hidden;
}

.catalog-subcategory-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.catalog-subcategory-card--service .catalog-subcategory-card__media {
  aspect-ratio: 16 / 9;
}

.catalog-subcategory-card--service .catalog-subcategory-card__media img {
  padding: 0;
  object-fit: cover;
}

.catalog-subcategory-card__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(125, 211, 252, .72), transparent 27%),
    linear-gradient(145deg, #0f2d67, #2563eb 55%, #7dd3fc);
  font-family: "Outfit", sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
}

.catalog-subcategory-card__category-summary {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 16px 18px 18px;
  text-align: center;
}

.catalog-subcategory-card__category-summary strong {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(43, 140, 255, 0.16);
  border-radius: 999px;
  color: var(--primary-deep);
  background: rgba(43, 140, 255, 0.1);
  font-size: 1rem;
}

.catalog-subcategory-card__price {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 16px 18px 18px;
  text-align: center;
}

.catalog-subcategory-card__price h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text);
}

.catalog-subcategory-card__price strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(43, 140, 255, 0.1);
  border: 1px solid rgba(43, 140, 255, 0.16);
  font-size: 1rem;
  color: var(--primary-deep);
}

.catalog-product-card__media {
  min-height: 0;
  display: grid;
  place-items: center;
  background: #f5f8fd;
  border-bottom: 1px solid rgba(207, 224, 241, 0.95);
  overflow: hidden;
}

.catalog-product-card__media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 10px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.catalog-product-card__fallback {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(43, 140, 255, 0.1);
  color: var(--primary-deep);
  font-size: 2rem;
  font-weight: 900;
}

.catalog-product-card__summary {
  display: grid;
  grid-template-rows: auto;
  grid-auto-rows: auto;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 16px 18px 56px;
  text-align: center;
}

.catalog-product-card__summary .table-subtext {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0 4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.catalog-product-card__summary h3 {
  display: -webkit-box;
  align-self: center;
  width: 100%;
  max-height: 42px;
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-product-card__summary strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(43, 140, 255, 0.1);
  border: 1px solid rgba(43, 140, 255, 0.16);
  font-size: 1rem;
  color: var(--primary-deep);
}

.catalog-subcategory-card:hover .catalog-subcategory-card__surface {
  transform: translateY(-5px);
  border-color: rgba(130, 196, 255, 0.5);
  box-shadow: 0 28px 58px rgba(20, 43, 79, 0.28);
}

.catalog-subcategory-card__badge {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 1.3rem;
  font-weight: 800;
}

.catalog-subcategory-card__eyebrow {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.catalog-subcategory-card__chip {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
}

.catalog-subcategory-card__body {
  align-self: end;
}

.catalog-subcategory-card__body h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #fff;
}

.catalog-subcategory-card__body p {
  margin: 0;
  color: rgba(239, 246, 255, 0.86);
  line-height: 1.6;
}

.catalog-subcategory-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(239, 246, 255, 0.92);
  font-weight: 700;
}

.about-grid {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-content: stretch;
}

.about-grid .feature-card {
  width: 100%;
  max-width: none;
  min-height: auto;
  height: 100%;
  grid-template-rows: auto auto;
  align-content: start;
  padding: 24px 26px;
  gap: 18px;
  border-radius: 26px 26px 10px 26px;
  border-color: rgba(43, 140, 255, 0.18);
  box-shadow: 0 28px 62px rgba(13, 42, 80, 0.12);
  isolation: isolate;
}

.about-grid .feature-card__body {
  align-self: start;
}

.about-grid .feature-card__body p {
  margin-bottom: 0;
  line-height: 1.65;
}

.about-grid .feature-card::before {
  background:
    linear-gradient(90deg, var(--about-accent, rgba(43, 140, 255, 0.42)) 0 6px, transparent 6px),
    radial-gradient(circle at 88% 14%, var(--about-glow, rgba(43, 140, 255, 0.14)), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.88));
  z-index: -1;
}

.about-grid .feature-card::after {
  content: attr(data-about-index);
  position: absolute;
  right: 24px;
  top: 20px;
  color: var(--about-accent, rgba(43, 140, 255, 0.55));
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.16;
  pointer-events: none;
}

.about-grid .feature-card:nth-child(1) {
  --about-accent: #2b8cff;
  --about-glow: rgba(43, 140, 255, 0.18);
  --about-chip-bg: rgba(43, 140, 255, 0.12);
  --about-chip-border: rgba(43, 140, 255, 0.2);
}

.about-grid .feature-card:nth-child(2) {
  --about-accent: #ef4444;
  --about-glow: rgba(239, 68, 68, 0.16);
  --about-chip-bg: rgba(239, 68, 68, 0.12);
  --about-chip-border: rgba(239, 68, 68, 0.2);
}

.about-grid .feature-card:nth-child(3) {
  --about-accent: #14b8a6;
  --about-glow: rgba(20, 184, 166, 0.18);
  --about-chip-bg: rgba(20, 184, 166, 0.12);
  --about-chip-border: rgba(20, 184, 166, 0.2);
}

.about-grid .chip {
  background: var(--about-chip-bg, rgba(43, 140, 255, 0.1));
  border: 1px solid var(--about-chip-border, rgba(43, 140, 255, 0.16));
  color: var(--about-accent, var(--primary-deep));
}

.about-grid .feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--about-chip-bg, rgba(43, 140, 255, 0.1));
  border: 1px solid var(--about-chip-border, rgba(43, 140, 255, 0.16));
  color: var(--about-accent, var(--primary-deep));
}

.feature-card {
  padding: 24px;
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card--accent {
  background:
    linear-gradient(160deg, rgba(88, 101, 242, 0.08), rgba(20, 25, 34, 0.96)),
    var(--surface);
}

.feature-card--dark {
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(20, 25, 34, 0.98), rgba(11, 15, 22, 0.98));
}

.feature-card--editorial,
.feature-card--service {
  grid-template-rows: auto 1fr auto;
  min-height: 280px;
  border-radius: 28px;
}

.feature-card--category-box {
  width: 100%;
  max-width: 280px;
  min-height: 280px;
  aspect-ratio: 1 / 1;
  padding: 20px;
  gap: 16px;
  border-radius: 22px;
  border-color: rgba(92, 167, 255, 0.18);
  box-shadow: 0 22px 48px rgba(9, 19, 39, 0.18);
}

.feature-card--category-box::before {
  background:
    radial-gradient(circle at top right, rgba(43, 140, 255, 0.12), transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(244, 185, 66, 0.06));
}

.feature-card--category-box .feature-card__topline {
  margin-bottom: 0;
  align-items: flex-start;
}

.feature-card--category-box .feature-card__body {
  align-self: end;
}

.feature-card--category-box .feature-card__body h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.08;
  color: #f4f8ff;
}

.feature-card--category-box .feature-card__body p {
  margin: 0;
  color: rgba(220, 232, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-card--category-box .feature-card__index,
.feature-card--category-box .feature-card__hint {
  color: rgba(159, 194, 235, 0.88);
}

.feature-card--category-box .feature-card__badge {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(143, 195, 255, 0.2);
  color: #8fc3ff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-card--category-box .chip {
  background: rgba(43, 140, 255, 0.14);
  border: 1px solid rgba(92, 167, 255, 0.2);
  color: #8fc3ff;
  min-height: 36px;
  padding: 0 12px;
}

.feature-card--category-box .feature-link {
  color: #ffffff;
}

.feature-card--category-box .feature-card__bottom {
  padding-top: 8px;
  border-top: 1px solid rgba(143, 195, 255, 0.12);
}

.feature-card--category-box:hover {
  border-color: rgba(92, 167, 255, 0.34);
  box-shadow: 0 28px 58px rgba(9, 19, 39, 0.24);
}

.feature-card--category-image {
  display: block;
  padding: 0;
  background-color: rgba(20, 25, 34, 0.98);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.feature-card--category-image::before {
  display: none;
}

.feature-card--service {
  width: 100%;
  max-width: 360px;
  min-height: 320px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.service-catalog-card {
  min-height: auto;
  padding: 0;
  grid-template-rows: auto auto;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(207, 224, 241, 0.95);
  box-shadow: 0 20px 44px rgba(20, 43, 79, 0.12);
}

.service-catalog-card::before {
  display: none;
}

.service-catalog-card__media {
  aspect-ratio: 1 / 0.78;
  background: #f5f8fd;
  border-bottom: 1px solid rgba(207, 224, 241, 0.95);
  overflow: hidden;
}

.service-catalog-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.service-catalog-card__summary {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 16px 18px 18px;
  text-align: center;
}

.service-catalog-card__summary strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(43, 140, 255, 0.1);
  border: 1px solid rgba(43, 140, 255, 0.16);
  color: var(--primary-deep);
  font-size: 1rem;
}

.category-catalog-card {
  width: 100%;
  max-width: 280px;
  min-height: auto;
}

.category-catalog-card__media {
  position: relative;
}

.category-catalog-card__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(125, 211, 252, .72), transparent 27%),
    linear-gradient(145deg, #0f2d67, #2563eb 55%, #7dd3fc);
  font-family: "Outfit", sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
}

.feature-card--service.is-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #2b8cff 0%, #1450c8 48%, #091a4a 100%);
}

.feature-card--service.is-fallback,
.feature-card--service.is-fallback h3,
.feature-card--service.is-fallback p,
.feature-card--service.is-fallback .feature-card__hint {
  color: #fff;
}

.feature-card--service.is-fallback .chip {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.feature-card--service.is-fallback .feature-card__hint {
  color: rgba(239, 246, 255, 0.9);
}

.feature-card--service-visual,
.feature-card--service-visual h3,
.feature-card--service-visual p,
.feature-card--service-visual .feature-card__hint {
  color: #fff;
}

.feature-card--service-visual .chip {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.feature-card--service-visual .feature-card__hint {
  color: rgba(239, 246, 255, 0.9);
}

.feature-card--link {
  color: inherit;
}

.feature-card--editorial::before,
.feature-card--service::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.05), transparent 42%),
    linear-gradient(180deg, transparent 60%, rgba(244, 185, 66, 0.08));
  pointer-events: none;
}

.feature-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 24px 54px rgba(26, 36, 31, 0.12);
}

.feature-card h3,
.product-card h3 {
  margin: 14px 0 10px;
}

.feature-card__topline,
.feature-card__bottom,
.product-card__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.feature-card__body {
  align-self: end;
}

.feature-card__index {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.feature-card__hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-link,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #dce3ff;
}

.section-link--dark {
  color: var(--primary-deep);
}

.feature-link::after,
.section-link::after {
  content: "->";
  font-size: 0.92rem;
}

.product-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 32px 32px 20px 20px;
  position: relative;
}

.product-card--spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 253, 248, 0.98)),
    var(--surface);
}

.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(19, 42, 36, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at top left, rgba(244, 185, 66, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.02)),
    var(--surface-soft);
}

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

.product-card__content,
.detail-card__meta {
  padding: 24px;
}

.detail-card--square {
  width: min(100%, 360px);
  overflow: hidden;
  border-radius: 26px;
}

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

.product-detail-layout--service {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.detail-card--service {
  width: min(100%, 420px);
  overflow: hidden;
  border-radius: 26px;
}

.detail-card__surface {
  min-height: 360px;
  aspect-ratio: 1 / 1;
  background-color: #1b3b78;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.detail-card__surface--service {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background-size: cover;
}

.detail-card__surface.is-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #2b8cff 0%, #1450c8 48%, #091a4a 100%);
}

.product-card__content {
  display: grid;
  gap: 12px;
}

.catalog-subcategory-card--product {
  display: grid;
  gap: 10px;
  position: relative;
}

.catalog-subcategory-card__link {
  display: block;
  color: inherit;
}

.catalog-subcategory-card--product > .catalog-subcategory-card__link {
  height: 100%;
}

.catalog-product-card__quick-actions {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.catalog-product-card__icon-action {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(43, 140, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-deep);
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 14px 28px rgba(51, 110, 173, 0.14);
  pointer-events: auto;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.premium-accounts-hero {
  padding: clamp(54px, 8vw, 92px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(125, 211, 252, .3), transparent 28%),
    linear-gradient(135deg, #081c45 0%, #123f88 52%, #2563eb 100%);
}

.premium-accounts-hero__inner {
  max-width: 880px;
}

.premium-accounts-hero .eyebrow {
  color: #a9dcff;
}

.premium-accounts-hero h1 {
  max-width: 760px;
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: .98;
}

.premium-accounts-hero .btn {
  margin-top: 8px;
}

.premium-accounts-heading {
  max-width: 760px;
}

.premium-accounts-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.premium-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.premium-account-card {
  overflow: hidden;
  border: 1px solid rgba(207, 224, 241, .95);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 43, 79, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.premium-account-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 58px rgba(20, 43, 79, .2);
}

.premium-account-card__link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.premium-account-card__media {
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  background: #f5f8fd;
}

.premium-account-card__media img {
  width: 100%;
  height: 190px;
  padding: 18px;
  object-fit: contain;
}

.premium-account-card__media.is-fallback span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #123f88, #2b8cff);
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
}

.premium-account-card__body {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.premium-account-card__label {
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.premium-account-card h2,
.premium-account-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.22;
}

.premium-account-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.premium-account-card__body > strong {
  color: var(--primary-deep);
  font-size: 1.12rem;
}

.premium-account-card__cta {
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
}

.premium-accounts-copy {
  display: grid;
  gap: 26px;
}

.premium-accounts-copy h2 {
  max-width: 720px;
  margin: 10px 0 0;
}

.premium-accounts-copy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.premium-accounts-copy__grid article {
  padding: 24px;
  border: 1px solid rgba(207, 224, 241, .9);
  border-radius: 20px;
  background: #f8fbff;
}

.premium-accounts-copy__grid h3 {
  margin: 0 0 10px;
}

.premium-accounts-copy__grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.premium-accounts-crosslink {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.premium-accounts-crosslink a,
.home-internal-links a,
.catalog-seo-block a,
.catalog-seo-links a {
  color: var(--primary-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-internal-links {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.catalog-seo-hero {
  max-width: 820px;
  margin-bottom: 28px;
}

.catalog-seo-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.catalog-seo-hero p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.catalog-seo-content {
  display: grid;
  gap: 28px;
}

.catalog-seo-block {
  max-width: 860px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft, #f7fbff);
}

.catalog-seo-block h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.catalog-seo-block p,
.catalog-seo-block li {
  color: var(--muted);
  line-height: 1.7;
}

.catalog-seo-block p {
  margin: 0 0 10px;
}

.catalog-seo-block p:last-child,
.catalog-seo-block ul:last-child,
.catalog-seo-block ol:last-child {
  margin-bottom: 0;
}

.catalog-seo-links,
.catalog-seo-steps,
.catalog-seo-block ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

.catalog-seo-faq__list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.catalog-seo-faq__list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 4px 16px;
}

.catalog-seo-faq__list summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 700;
  color: var(--text);
}

.catalog-seo-faq__list summary::-webkit-details-marker {
  display: none;
}

.catalog-seo-faq__list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.catalog-seo-faq__list p {
  margin: 0;
  padding: 14px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

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

  .premium-account-card__link {
    grid-template-columns: minmax(150px, .72fr) 1.28fr;
  }

  .premium-account-card__media,
  .premium-account-card__media img {
    height: 100%;
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .premium-account-card__link {
    grid-template-columns: 1fr;
  }

  .premium-account-card__media,
  .premium-account-card__media img {
    min-height: 180px;
    height: 180px;
  }
}

.catalog-product-card__icon-action svg {
  display: block;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.catalog-product-card__icon-action--whatsapp {
  color: #25d366;
}

.catalog-product-card__icon-action:hover,
.catalog-product-card__icon-action:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(43, 140, 255, 0.42);
  background: #fff;
  box-shadow: 0 18px 34px rgba(51, 110, 173, 0.22);
}

.catalog-product-card__icon-action::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(8, 18, 36, 0.94);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.catalog-product-card__icon-action:hover::after,
.catalog-product-card__icon-action:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.catalog-product-card__icon-action:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.catalog-product-card__icon-action:disabled::after {
  display: none;
}

.detail-card__meta--square {
  min-height: 360px;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  color: #fff;
}

.detail-card__topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.detail-card__copy {
  align-self: end;
}

.detail-card__copy h1 {
  color: #fff;
}

.detail-card__copy p {
  color: rgba(239, 246, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-card__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.product-card__footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(221, 212, 198, 0.9);
}

.breadcrumb-bar {
  color: var(--muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.price {
  margin-top: 18px;
  font-size: 1.9rem;
  font-weight: 800;
}

.detail-card--square .price {
  margin-top: 0;
  color: #fff;
}

.detail-info-panel {
  padding: 28px;
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(207, 224, 241, 0.95);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.detail-info-panel > h1,
.detail-info-panel > h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.detail-info-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-info-panel__group {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(228, 240, 255, 0.62);
  border: 1px solid rgba(207, 224, 241, 0.95);
}

.detail-info-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(207, 224, 241, 0.9);
}

.detail-info-panel__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-info-panel__row span {
  color: var(--muted);
  font-weight: 700;
}

.detail-info-panel__row strong {
  color: var(--text);
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.detail-info-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-action-button {
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow: hidden;
  padding: 0 17px;
  border: 1px solid rgba(43, 140, 255, 0.22);
  border-radius: 18px;
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 12px 24px rgba(51, 110, 173, 0.12);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: width 0.24s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.detail-action-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: currentColor;
}

.detail-action-button span {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.detail-action-button:hover,
.detail-action-button:focus-visible {
  width: 186px;
  transform: translateY(-1px);
  border-color: rgba(43, 140, 255, 0.38);
  box-shadow: 0 16px 30px rgba(51, 110, 173, 0.18);
}

.detail-action-button:hover span,
.detail-action-button:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.detail-action-button--whatsapp {
  color: #1fa855;
  border-color: rgba(37, 211, 102, 0.28);
}

.detail-action-button--whatsapp:hover,
.detail-action-button--whatsapp:focus-visible {
  width: 146px;
  border-color: rgba(37, 211, 102, 0.48);
  box-shadow: 0 16px 30px rgba(31, 168, 85, 0.16);
}

.detail-action-button--chat {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.3);
  background: #f8fbff;
}

.detail-action-button--chat:hover,
.detail-action-button--chat:focus-visible {
  width: 178px;
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

.detail-action-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

@media (hover: none) {
  .detail-action-button {
    width: auto;
  }

  .detail-action-button span {
    opacity: 1;
    transform: none;
  }
}

.marketplace-page { display: grid; gap: 24px; }

.marketplace-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 176px;
  padding: 34px 40px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(92, 152, 255, 0.38), transparent 35%),
    linear-gradient(135deg, #315efb 0%, #2142bd 100%);
  box-shadow: 0 22px 52px rgba(39, 79, 202, 0.25);
}

.marketplace-hero__eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; opacity: 0.78; }
.marketplace-hero h1 { margin: 8px 0; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.marketplace-hero p { max-width: 680px; margin: 0; line-height: 1.6; opacity: 0.86; }

.marketplace-add-listing {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  padding: 14px 14px 14px 22px;
  border-radius: 15px;
  color: #2142bd;
  background: #fff;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(10, 31, 99, 0.2);
}

.marketplace-add-listing strong { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #eaf0ff; font-size: 1.5rem; }

.marketplace-browser { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }

.marketplace-categories {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.marketplace-categories__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); font-weight: 850; }
.marketplace-categories__head small { color: var(--muted); font-weight: 650; }
.marketplace-categories nav { display: grid; gap: 5px; padding-top: 10px; }
.marketplace-category-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid transparent; border-radius: 12px; color: var(--text); font-weight: 700; }
.marketplace-category-link strong { min-width: 28px; padding: 3px 8px; border-radius: 999px; color: var(--muted); background: var(--surface-soft); text-align: center; font-size: 0.78rem; }
.marketplace-category-link:hover, .marketplace-category-link.is-active { color: var(--primary-deep); border-color: rgba(37, 99, 235, 0.16); background: rgba(37, 99, 235, 0.09); }

.marketplace-mobile-category-select { display: none; }

.marketplace-listings { min-width: 0; }
.marketplace-listings__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.marketplace-listings__head h2 { margin: 7px 0 0; }
.marketplace-listings__head > strong { color: var(--muted); font-size: 0.9rem; }
.marketplace-listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

.marketplace-listing-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 19px; color: var(--text); background: var(--surface); box-shadow: 0 14px 34px rgba(51, 110, 173, 0.1); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.marketplace-listing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(51, 110, 173, 0.17); }
.marketplace-listing-card__media { position: relative; display: grid; place-items: center; height: 210px; overflow: hidden; color: inherit; background: var(--surface-soft); text-decoration: none; }
.marketplace-listing-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  object-fit: contain;
  object-position: center;
}
.marketplace-listing-card__media > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: #fff; background: var(--primary); font-size: 1.7rem; font-weight: 850; }
.marketplace-listing-card__media small { position: absolute; left: 12px; bottom: 12px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(18, 42, 74, 0.76); }
.marketplace-listing-card__body { display: grid; justify-items: center; gap: 12px; padding: 16px; text-align: center; }
.marketplace-listing-card__body h3 { overflow: hidden; width: 100%; margin: 0; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.marketplace-listing-card__body h3 a { color: var(--text); text-decoration: none; }
.marketplace-listing-card__body h3 a:hover { color: var(--primary-deep); }
.marketplace-listing-card__price { padding: 7px 13px; border: 1px solid rgba(43, 140, 255, 0.2); border-radius: 999px; color: var(--primary-deep); background: rgba(43, 140, 255, 0.08); font-size: 1.05rem; }
.marketplace-listing-card__footer { display: grid; grid-template-columns: minmax(0, 1fr) 46px; align-items: center; gap: 14px; width: 100%; }
.marketplace-listing-card__seller { overflow: hidden; color: var(--muted); font-size: 0.88rem; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.marketplace-listing-card__whatsapp {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(37, 211, 102, 0.38);
  border-radius: 15px;
  color: #17aa55;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}
.marketplace-listing-card__whatsapp svg { width: 23px; height: 23px; fill: currentColor; }
.marketplace-listing-card__whatsapp:hover,
.marketplace-listing-card__whatsapp:focus-visible {
  color: #fff;
  background: #20ad5a;
  box-shadow: 0 14px 26px rgba(31, 168, 85, 0.3);
  transform: translateY(-2px) scale(1.04);
}

.marketplace-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
}

.marketplace-pagination__pages {
  display: flex;
  align-items: center;
  gap: 7px;
}

.marketplace-pagination a,
.marketplace-pagination__nav {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 11px;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.marketplace-pagination a:hover,
.marketplace-pagination a:focus-visible,
.marketplace-pagination a.is-active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.marketplace-pagination__nav {
  font-size: 1.25rem;
}

.marketplace-pagination__nav.is-disabled {
  opacity: 0.38;
}

@media (max-width: 900px) {
  .marketplace-browser { grid-template-columns: 1fr; }
  .marketplace-categories { position: static; }
  .marketplace-categories nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 620px) {
  .marketplace-hero { display: none; }
  .marketplace-page { gap: 14px; }
  .marketplace-add-listing { width: 100%; justify-content: space-between; }
  .marketplace-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .marketplace-listing-card { border-radius: 14px; }
  .marketplace-listing-card__media { height: 118px; }
  .marketplace-listing-card__media > img { padding: 5px; }
  .marketplace-listing-card__media > span { width: 46px; height: 46px; border-radius: 13px; font-size: 1.2rem; }
  .marketplace-listing-card__media small { left: 7px; bottom: 7px; max-width: calc(100% - 14px); overflow: hidden; padding: 4px 6px; font-size: 0.65rem; text-overflow: ellipsis; white-space: nowrap; }
  .marketplace-listing-card__body { gap: 7px; padding: 10px 8px; }
  .marketplace-listing-card__body h3 { font-size: 0.82rem; }
  .marketplace-listing-card__price { padding: 5px 8px; font-size: 0.82rem; }
  .marketplace-listing-card__footer { grid-template-columns: minmax(0, 1fr) 38px; gap: 6px; }
  .marketplace-listing-card__seller { font-size: 0.7rem; }
  .marketplace-listing-card__whatsapp { width: 38px; height: 38px; border-radius: 12px; }
  .marketplace-listing-card__whatsapp svg { width: 19px; height: 19px; }

  .marketplace-categories {
    display: none;
  }

  .marketplace-mobile-category-select {
    position: relative;
    z-index: 20;
    width: 42px;
    display: block;
  }

  .marketplace-mobile-category-select > summary {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: 0;
    color: var(--primary-deep);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 7px 18px rgba(20, 43, 79, .07);
    cursor: pointer;
  }

  .marketplace-mobile-category-select > summary::-webkit-details-marker {
    display: none;
  }

  .marketplace-mobile-category-select > summary::marker {
    content: "";
  }

  .marketplace-mobile-category-select > summary:hover,
  .marketplace-mobile-category-select > summary:focus-visible,
  .marketplace-mobile-category-select[open] > summary {
    border-color: rgba(43, 140, 255, .5);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(43, 140, 255, .1), 0 7px 18px rgba(20, 43, 79, .09);
  }

  .marketplace-mobile-category-select > summary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .marketplace-mobile-category-select__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: min(270px, calc(100vw - 32px));
    max-height: 260px;
    display: grid;
    gap: 3px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 43, 79, .17);
  }

  .marketplace-mobile-category-select__option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 39px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text);
    font-size: .82rem;
    font-weight: 700;
  }

  .marketplace-mobile-category-select__option:hover,
  .marketplace-mobile-category-select__option:focus-visible,
  .marketplace-mobile-category-select__option.is-active {
    outline: 0;
    color: var(--primary-deep);
    background: rgba(43, 140, 255, .1);
  }

  .marketplace-mobile-category-select__option strong {
    display: grid;
    min-width: 25px;
    height: 21px;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface-soft);
    font-size: .7rem;
  }

  .marketplace-pagination {
    gap: 5px;
    margin-top: 18px;
  }

  .marketplace-pagination__pages {
    gap: 5px;
  }

  .marketplace-pagination a,
  .marketplace-pagination__nav {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 0.78rem;
  }

  .marketplace-pagination__nav {
    font-size: 1.1rem;
  }
}

.detail-description-block {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(207, 224, 241, 0.95);
}

.detail-description-block h3 {
  margin: 0;
  font-size: 1.05rem;
}

.detail-description-block h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.detail-description-block p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.detail-description-block__content {
  position: relative;
  overflow: hidden;
}

.detail-description-block--collapsible.is-collapsed .detail-description-block__content {
  max-height: 7rem;
}

.detail-description-block--collapsible.is-collapsed .detail-description-block__content::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42px;
  background: linear-gradient(transparent, var(--surface));
  content: "";
  pointer-events: none;
}

.detail-description-block__toggle {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-self: start;
  gap: 5px;
  padding: 4px 0;
  border: 0;
  color: var(--primary-deep);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.detail-description-block__toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.detail-description-block__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.detail-description-block__toggle[hidden] {
  display: none;
}

.detail-card--stack {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.detail-info-panel__ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.status-banner {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 400;
  width: min(calc(100% - 36px), 520px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 12px 14px 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(43, 140, 255, 0.22);
  color: #123f93;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(51, 110, 173, 0.14);
  animation: status-toast-in 0.38s ease both;
}

.status-banner.is-hiding {
  animation: status-toast-out 0.22s ease both;
}

.status-banner--error {
  border-color: rgba(214, 60, 60, 0.28);
  color: #8c1f1f;
  box-shadow: 0 16px 34px rgba(173, 51, 51, 0.16);
}

.status-banner--error button {
  background: rgba(214, 60, 60, 0.1);
  color: #8c1f1f;
}

.status-banner--error button:hover,
.status-banner--error button:focus-visible {
  background: rgba(214, 60, 60, 0.18);
  outline-color: rgba(214, 60, 60, 0.26);
}

/* Admin panel shared states */
.admin-empty-state {
  margin: 18px 0;
  padding: 28px 22px;
  border: 1px dashed rgba(43, 140, 255, 0.28);
  border-radius: 16px;
  text-align: center;
  color: #4a6591;
  font-weight: 600;
}

.admin-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #4a6591;
}

.admin-breadcrumb a {
  color: #1d5fc4;
  font-weight: 700;
}

.admin-note {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(43, 140, 255, 0.08);
  border: 1px solid rgba(43, 140, 255, 0.2);
  color: #123f93;
  font-weight: 600;
}

.admin-form-hint {
  margin: 0 0 14px;
  color: #4a6591;
  font-size: 0.92rem;
}

/* Role editor permission matrix */
.admin-permission-matrix {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(43, 140, 255, 0.2);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.7);
}

.admin-permission-matrix > legend {
  padding: 0 8px;
  font-weight: 800;
  color: #123f93;
}

.admin-permission-group {
  margin-bottom: 22px;
}

.admin-permission-group > h3 {
  margin: 0 0 12px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a6591;
}

.admin-permission-module {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 12px 18px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(43, 140, 255, 0.12);
}

.admin-permission-module > strong {
  color: #123f93;
}

.admin-permission-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.admin-permission-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #33507d;
  cursor: pointer;
}

.admin-permission-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

@media (max-width: 720px) {
  .admin-permission-module {
    grid-template-columns: 1fr;
  }
}

.status-banner button {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(43, 140, 255, 0.1);
  color: #123f93;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.status-banner button:hover,
.status-banner button:focus-visible {
  background: rgba(43, 140, 255, 0.18);
  outline: 2px solid rgba(43, 140, 255, 0.24);
  outline-offset: 2px;
}

.login-success-layer {
  position: fixed;
  top: 168px;
  left: 50%;
  z-index: 260;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: translateX(-50%);
}

.login-success-pulse {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0;
  animation: login-success-out 3s ease 0.6s both;
}

.login-success-pulse__ring {
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  border: 2px solid rgba(36, 208, 108, 0.4);
  animation: login-success-ring 1.25s ease-out infinite;
}

.login-success-pulse__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #20d46c 0%, #1ebdff 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(36, 208, 108, 0.28);
  animation: login-success-pop 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-success-pulse--logout .login-success-pulse__ring {
  border-color: rgba(43, 140, 255, 0.38);
}

.login-success-pulse--logout .login-success-pulse__icon {
  background: linear-gradient(135deg, #2b8cff 0%, #7cc8ff 100%);
  box-shadow: 0 18px 34px rgba(43, 140, 255, 0.28);
}

.login-success-pulse--logout .login-success-pulse__dots i {
  background: #2b8cff;
}

.login-success-pulse__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.login-success-pulse__dots {
  position: absolute;
  bottom: -8px;
  display: inline-flex;
  gap: 5px;
}

.login-success-pulse__dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #24d06c;
  opacity: 0.34;
  animation: login-success-dot 0.9s ease-in-out infinite;
}

.login-success-pulse__dots i:nth-child(2) {
  animation-delay: 0.12s;
}

.login-success-pulse__dots i:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes status-toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes status-toast-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes login-success-pop {
  from {
    opacity: 0;
    transform: scale(0.58) rotate(-12deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes login-success-ring {
  from {
    opacity: 0.72;
    transform: scale(0.78);
  }

  to {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes login-success-dot {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes login-success-out {
  0%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .status-banner {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    border-radius: 14px;
  }

  .login-success-layer {
    top: 136px;
  }
}

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

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.admin-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-table-wrap {
  overflow-x: auto;
}

.panel-head {
  justify-content: space-between;
  padding: 20px 22px 0;
}

.panel-head h2 {
  margin: 0;
}

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

.admin-table th,
.admin-table td {
  padding: 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-actions {
  flex-wrap: wrap;
}

.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background-color .15s ease; }
.admin-table tbody tr:hover { background: rgba(37, 99, 235, .025); }
.admin-table td.admin-actions { display: table-cell; width: 1%; min-width: 150px; white-space: nowrap; }
.admin-table td.admin-actions > a,
.admin-table td.admin-actions > form { display: inline-flex; vertical-align: middle; }
.admin-table td.admin-actions > form { margin-left: 6px; }
.admin-table td.admin-actions > a,
.admin-table td.admin-actions > form .link-button { min-height: 34px; align-items: center; padding: 6px 10px; border: 1px solid rgba(37, 99, 235, .18); border-radius: 9px; color: var(--primary-deep); background: rgba(239, 246, 255, .78); font-size: .83rem; font-weight: 700; text-decoration: none; }
.admin-table td.admin-actions > a:hover,
.admin-table td.admin-actions > a:focus-visible,
.admin-table td.admin-actions > form .link-button:hover,
.admin-table td.admin-actions > form .link-button:focus-visible { border-color: var(--primary); background: #fff; }
.admin-table td.admin-actions > form .link-button.danger { border-color: rgba(220, 38, 38, .2); color: #dc2626; background: #fef2f2; }
.admin-table td.admin-actions > form .link-button.danger:hover,
.admin-table td.admin-actions > form .link-button.danger:focus-visible { border-color: #dc2626; color: #fff; background: #dc2626; }
.admin-table td .status-chip + .status-chip { margin-left: 4px; }
.admin-role-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: max-content;
  white-space: nowrap;
}
.admin-role-list .status-chip + .status-chip { margin-left: 0; }
.admin-content .btn-secondary { color: var(--primary-deep); background: #fff; border: 1px solid rgba(37, 99, 235, .24); box-shadow: 0 8px 18px rgba(37, 99, 235, .08); }
.admin-content .btn-secondary:hover,
.admin-content .btn-secondary:focus-visible { color: #fff; background: var(--primary); border-color: var(--primary); }

.admin-actions form,
.topbar__actions form {
  margin: 0;
}

.link-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--primary);
  font: inherit;
}

.link-button.danger {
  color: var(--danger);
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.admin-form textarea {
  min-height: 120px;
  resize: vertical;
}

.profile-content {
  padding: 28px;
  border: 0;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-form {
  padding: 0;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-form__field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.profile-form__field label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.profile-form__field input {
  min-height: 48px;
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-form__field input:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(43, 140, 255, 0.16);
}

.profile-form__field input[readonly] {
  color: var(--muted);
  background: var(--surface-soft);
}

.profile-form__actions {
  gap: 12px;
  margin-top: 2px;
}

.profile-form__actions .btn-secondary {
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.profile-form__actions .btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(43, 140, 255, 0.18);
}

.profile-form__actions .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.checkbox-row {
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.form-actions {
  flex-wrap: wrap;
}

.seller-dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.seller-dashboard-header {
  justify-content: flex-end;
  min-height: 48px;
  margin-bottom: 16px;
}

.seller-dashboard-shell {
  align-items: stretch;
}

.seller-dashboard-shell > .admin-sidebar {
  position: static;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.seller-dashboard-shell > .admin-sidebar .sidebar-card {
  flex: 0 0 auto;
}

.seller-dashboard-shell > .admin-sidebar .admin-sidebar-nav {
  flex: 1;
  align-content: start;
}

.seller-dashboard-shell > .admin-content {
  display: flex;
  flex-direction: column;
}

.seller-dashboard-shell .seller-store-card {
  flex: 1;
}

.seller-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.seller-products-create-link {
  gap: 6px;
  white-space: nowrap;
}

.seller-products-create-link > span:first-child {
  font-size: 1.05rem;
  line-height: 1;
}

.seller-action-secondary {
  color: var(--primary-deep);
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.24);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}

.seller-action-secondary:hover,
.seller-action-secondary:focus-visible {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.seller-image-select {
  position: relative;
  overflow: hidden;
}

.seller-image-select:focus-within {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.seller-image-select.is-disabled {
  opacity: 0.65;
  pointer-events: none;
}

.seller-image-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.seller-product-form-actions .btn-secondary {
  color: var(--primary-deep);
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.seller-product-form-actions .btn-secondary:hover,
.seller-product-form-actions .btn-secondary:focus-visible {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.seller-terms { overflow: hidden; border: 1px solid rgba(190, 215, 239, 0.95); border-radius: 18px; background: rgba(248, 252, 255, 0.94); }
.seller-application-form .form-grid > div > label,
.seller-application-form > div > label:not(.seller-terms-consent) { margin-bottom: 5px; }
.seller-terms summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 19px; color: var(--text); background: rgba(43, 140, 255, 0.06); font-weight: 800; cursor: pointer; list-style: none; }
.seller-terms summary::-webkit-details-marker { display: none; }
.seller-terms summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; margin-left: auto; border-radius: 9px; color: var(--primary-deep); background: #fff; font-size: 1.2rem; }
.seller-terms[open] summary::after { content: "−"; }
.seller-terms summary small { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.seller-terms__content { max-height: 440px; overflow-y: auto; padding: 8px 22px 24px; scroll-behavior: smooth; }
.seller-terms__content section { padding-top: 18px; }
.seller-terms__content section + section { margin-top: 16px; border-top: 1px solid var(--line); }
.seller-terms__content h3 { margin: 0 0 10px; color: var(--text); font-size: 1.02rem; }
.seller-terms__content p { margin: 0 0 9px; color: var(--muted); line-height: 1.68; }
.seller-terms__content ul { display: grid; gap: 7px; margin: 8px 0 12px; padding-left: 22px; color: var(--muted); line-height: 1.55; }
.seller-terms-consent { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 11px; padding: 15px 17px; border: 1px solid rgba(43, 140, 255, 0.16); border-radius: 14px; background: rgba(43, 140, 255, 0.045); line-height: 1.55; cursor: pointer; }
.seller-terms-consent input { flex: 0 0 auto; width: 18px !important; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.seller-terms-consent span { color: var(--text); font-weight: 500; }

@media (max-width: 620px) {
  .seller-terms summary { align-items: flex-start; }
  .seller-terms summary small { display: none; }
  .seller-terms__content { max-height: 380px; padding-inline: 17px; }
}

.seller-products-table-wrap { overflow-x: visible; border-radius: 22px; box-shadow: 0 16px 38px rgba(51, 110, 173, 0.1); }
.seller-products-table { font-size: 0.92rem; }
.seller-products-table th,
.seller-products-table td { padding: 13px 10px; }
.seller-products-table th { white-space: nowrap; }
.seller-products-table td { vertical-align: middle; }
.seller-products-table tbody tr { transition: background-color 0.18s ease; }
.seller-products-table tbody tr:hover { background: rgba(43, 140, 255, 0.035); }
.seller-product-cell { min-width: 90px; }
.seller-product-cell strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seller-product-category { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--muted); background: var(--surface-soft); font-size: 0.84rem; white-space: nowrap; }
.seller-product-price { color: var(--primary-deep); white-space: nowrap; }
.seller-product-note { max-width: 150px; color: var(--muted); line-height: 1.45; }
.seller-product-date { white-space: nowrap; }
.seller-product-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 180px; }
.seller-product-row-action,
.seller-product-copy-link { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 6px 8px; border: 1px solid rgba(37, 99, 235, 0.2); border-radius: 9px; color: var(--primary-deep); background: #fff; font: inherit; font-size: 0.8rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.seller-product-row-action:hover,
.seller-product-row-action:focus-visible,
.seller-product-copy-link:hover,
.seller-product-copy-link:focus-visible { border-color: var(--primary); background: rgba(43, 140, 255, 0.07); }
.seller-product-copy-link svg { width: 17px; height: 17px; fill: currentColor; }
.seller-product-copy-link.is-copied { color: #15803d; border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.seller-product-link-unavailable { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.seller-product-delete-form { margin: 0; }
.seller-product-delete-button { min-height: 32px; padding: 6px 10px; border: 1px solid rgba(220, 38, 38, 0.24); border-radius: 9px; color: #b91c1c; background: rgba(254, 242, 242, 0.92); font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.seller-product-delete-button:hover,
.seller-product-delete-button:focus-visible { color: #fff; border-color: #dc2626; background: #dc2626; }
.seller-delete-modal[hidden] { display: none; }
.seller-delete-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; }
.admin-delete-modal { z-index: 1300; }
.seller-delete-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(9, 24, 45, 0.56); backdrop-filter: blur(5px); cursor: default; }
.seller-delete-modal__dialog { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; width: min(100%, 520px); padding: 26px; border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(8, 18, 36, 0.3); animation: seller-delete-modal-in 0.2s ease-out; }
.seller-delete-modal__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #dc2626; background: rgba(254, 226, 226, 0.9); }
.seller-delete-modal__icon svg { width: 28px; height: 28px; fill: currentColor; }
.seller-delete-modal__dialog h2 { margin: 8px 0 8px; font-size: 1.35rem; }
.seller-delete-modal__dialog p { margin: 0; color: var(--muted); line-height: 1.55; }
.seller-delete-modal__dialog p strong { color: var(--text); }
.seller-delete-modal__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }
.seller-delete-modal__confirm { min-height: 44px; padding: 10px 17px; border: 1px solid #dc2626; border-radius: 12px; color: #fff; background: #dc2626; font: inherit; font-weight: 750; cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease; }
.seller-delete-modal__confirm:hover,
.seller-delete-modal__confirm:focus-visible { background: #b91c1c; transform: translateY(-1px); }
.seller-application-success-modal .seller-delete-modal__dialog { border-color: rgba(34, 197, 94, 0.25); }
.seller-application-success-modal .seller-delete-modal__icon { color: #15803d; background: #dcfce7; }
.seller-application-success-modal .seller-delete-modal__confirm { border-color: #16a34a; background: #16a34a; }
.seller-application-success-modal .seller-delete-modal__confirm:hover,
.seller-application-success-modal .seller-delete-modal__confirm:focus-visible { background: #15803d; }
body.has-open-modal { overflow: hidden; }
@keyframes seller-delete-modal-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.admin-form-modal[hidden] { display: none; }
.admin-form-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 16px;
}
.admin-form-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(9, 24, 45, 0.56);
  backdrop-filter: blur(5px);
  cursor: default;
}
.admin-form-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 920px);
  max-height: min(92vh, 900px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(8, 18, 36, 0.3);
  animation: seller-delete-modal-in 0.2s ease-out;
  overflow: hidden;
}
.admin-form-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.admin-form-modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
}
.admin-form-modal__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.admin-form-modal__close:hover,
.admin-form-modal__close:focus-visible {
  background: rgba(15, 23, 42, 0.12);
}
.admin-form-modal__body {
  padding: 18px 22px 24px;
  overflow: auto;
}
.admin-form-modal__body .admin-form {
  margin: 0;
}
.admin-form-modal__loading {
  margin: 24px 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .admin-form-modal {
    padding: 0;
    place-items: end stretch;
  }
  .admin-form-modal__dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }
}

@media (max-width: 560px) {
  .seller-delete-modal__dialog { grid-template-columns: 1fr; padding: 22px; }
  .seller-delete-modal__actions { grid-column: 1; flex-direction: column-reverse; }
  .seller-delete-modal__actions > * { width: 100%; }
}

.seller-store-card {
  padding: 18px 28px 26px;
}

.seller-store-card .panel-head {
  align-items: flex-start;
  padding: 0;
}

.seller-store-card .panel-head .eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
}

.seller-store-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 0;
}

.seller-store-detail {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.seller-store-detail dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.seller-store-detail dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
}

.seller-store-detail--wide {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .seller-dashboard-shell > .admin-sidebar,
  .seller-dashboard-shell > .admin-content {
    display: block;
  }

  .seller-dashboard-toolbar {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .seller-dashboard-actions {
    justify-content: flex-start;
  }

  .seller-store-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .seller-sidebar .admin-sidebar-nav {
    display: none;
  }

  .seller-sidebar .sidebar-card {
    margin-bottom: 14px;
  }

  .seller-products-header {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .seller-products-header h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .seller-products-create-link {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.07);
    box-shadow: none;
    font-size: 0.78rem;
  }
}

.validation-summary,
.field-validation {
  color: var(--danger);
  font-size: 0.9rem;
}

.auth-shell {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.auth-card {
  width: min(100%, 980px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  padding: 24px;
}

.auth-copy {
  padding: 16px;
}

.auth-hint {
  margin-top: 26px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px dashed rgba(15, 118, 110, 0.25);
}

.auth-form {
  align-self: center;
}

.auth-external-form {
  grid-column: 2;
  align-self: start;
  margin: -8px 0 0;
}

.auth-google-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(189, 215, 242, 0.95);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(51, 110, 173, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-google-button:hover,
.auth-google-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(43, 140, 255, 0.3);
  box-shadow: 0 18px 34px rgba(51, 110, 173, 0.18);
}

.auth-google-button__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
  color: #fff;
  font-weight: 900;
}

.auth-shell--login {
  min-height: calc(100vh - 260px);
  padding: 48px 16px 58px;
}

.auth-card--login {
  position: relative;
  width: min(100%, 500px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 52px 42px 40px;
  overflow: hidden;
  border: 1px solid rgba(43, 140, 255, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), transparent 34%),
    radial-gradient(circle at 90% 32%, rgba(43, 140, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #f6fbff 0%, #dff2ff 58%, #cfe9ff 100%);
  color: #10233f;
  box-shadow: 0 28px 70px rgba(51, 110, 173, 0.22);
}

.auth-card--register {
  --auth-register-content-width: 654px;
  width: min(100%, 740px);
  padding-top: 42px;
  justify-items: center;
}

.auth-card--register .auth-form--login {
  width: 100%;
  max-width: var(--auth-register-content-width);
  grid-template-columns: repeat(2, minmax(0, 318px));
  column-gap: 18px;
  justify-content: center;
}

.auth-card--register .auth-external-form {
  width: 100%;
  max-width: var(--auth-register-content-width);
}

.auth-card--register .auth-form--login label {
  width: 100%;
  min-width: 0;
}

.auth-card--register .auth-name-grid {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  align-items: start;
}

.auth-card--register .auth-name-grid label {
  display: grid;
  gap: 9px;
  width: 100%;
  min-width: 0;
}

.auth-card--register .auth-name-grid .auth-input-shell {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
}

.auth-card--register .auth-input-shell {
  width: 100%;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.auth-card--register .auth-google-button,
.auth-card--register .auth-submit-button {
  width: 100%;
  max-width: var(--auth-register-content-width);
  justify-self: center;
}

.auth-card--register .validation-summary,
.auth-card--register .auth-submit-button,
.auth-card--register .auth-register-copy {
  grid-column: 1 / -1;
}

.auth-card--login::before,
.auth-card--login::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(43, 140, 255, 0.16);
  border-radius: 999px;
  pointer-events: none;
}

.auth-card--login::before {
  width: 220px;
  height: 220px;
  right: -138px;
  top: 170px;
}

.auth-card--login::after {
  width: 260px;
  height: 260px;
  left: -176px;
  bottom: 48px;
}

.auth-card--login > * {
  position: relative;
  z-index: 1;
}

.auth-card--login h1 {
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  text-align: center;
  font-size: clamp(1.65rem, 4vw, 2rem);
  line-height: 1.1;
  color: #10233f;
}

.auth-login-logo {
  justify-self: center;
  width: min(168px, 48%);
  height: auto;
  display: block;
  object-fit: contain;
}

.auth-card--login .auth-external-form {
  grid-column: auto;
  margin: 0;
}

.auth-card--login .auth-google-button {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8564d 0%, #e63a2f 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(239, 68, 68, 0.28);
}

.auth-card--login .auth-google-button:hover,
.auth-card--login .auth-google-button:focus-visible {
  border-color: transparent;
  box-shadow: 0 22px 42px rgba(239, 68, 68, 0.34);
}

.auth-card--login .auth-google-button__icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
}

.auth-form--login {
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auth-form--login label {
  display: grid;
  grid-template-rows: auto auto minmax(18px, auto);
  align-content: start;
  gap: 9px;
  color: #496886;
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: none;
}

.auth-form--login .field-validation {
  display: block;
  min-height: 18px;
  line-height: 1.25;
}

.auth-input-shell {
  min-height: 58px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(43, 140, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 28px rgba(51, 110, 173, 0.08);
}

.auth-input-shell svg {
  width: 20px;
  height: 20px;
  fill: #66809d;
}

.auth-input-shell input {
  width: 100%;
  min-height: 56px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #10233f;
  caret-color: #10233f;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.auth-input-shell input:focus,
.auth-input-shell input:active {
  background: transparent;
  box-shadow: none;
}

.auth-input-shell input::placeholder {
  color: #6b83a0;
  background: transparent;
}

.auth-input-shell input::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #0f1f3d;
}

.auth-input-shell input:-webkit-autofill,
.auth-input-shell input:-webkit-autofill:hover,
.auth-input-shell input:-webkit-autofill:focus,
.auth-input-shell input:-webkit-autofill:active {
  -webkit-text-fill-color: #10233f;
  caret-color: #10233f;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 9999s ease-out 0s;
}

.auth-card--register .auth-input-shell input::placeholder {
  font-size: 0.84rem;
}

.auth-card--register .auth-input-shell:has(.auth-password-toggle) {
  grid-template-columns: 20px minmax(0, 1fr) 28px;
  gap: 10px;
  padding-right: 12px;
}

.auth-card--register .auth-password-toggle {
  width: 28px;
  height: 28px;
}

.auth-card--register .auth-password-toggle svg {
  width: 18px;
  height: 18px;
}

.auth-password-toggle {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #66809d;
  cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  background: rgba(43, 140, 255, 0.1);
  color: #2563eb;
}

.auth-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.auth-password-toggle__hide {
  display: none;
}

.auth-password-toggle.is-visible .auth-password-toggle__show {
  display: none;
}

.auth-password-toggle.is-visible .auth-password-toggle__hide {
  display: block;
}

.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #10233f;
  font-weight: 800;
}

.auth-options-row .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #10233f;
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
}

.auth-options-row input {
  width: 18px;
  height: 18px;
  accent-color: #4969ff;
}

.auth-options-row a,
.auth-register-copy a {
  color: #4a6dff;
  font-weight: 900;
}

.auth-submit-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5570ff 0%, #334adf 100%);
  box-shadow: 0 20px 40px rgba(55, 80, 255, 0.28);
  letter-spacing: 0.02em;
}

.auth-submit-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.auth-register-copy {
  margin: 4px 0 0;
  text-align: center;
  color: #5d7895;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .auth-shell--login {
    padding: 34px 14px 44px;
  }

  .auth-card--login {
    padding: 34px 22px 30px;
    border-radius: 24px;
  }

  .auth-card--register .auth-form--login {
    max-width: none;
    grid-template-columns: 1fr;
  }

  .auth-card--register .auth-name-grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .auth-card--register .auth-external-form {
    max-width: none;
  }

  .auth-options-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.admin-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.admin-mobile-menu-check,
.admin-mobile-menu-toggle {
  display: none;
}

.admin-mobile-menu-content {
  display: block;
}

.sidebar-card {
  padding: 22px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(244, 185, 66, 0.1)), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sidebar-card h2 {
  margin: 12px 0 8px;
}

.sidebar-copy {
  color: var(--muted);
  line-height: 1.6;
}

.admin-site-return {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  margin: 12px 0;
  padding: 10px 16px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  color: var(--primary-deep);
  background: rgba(239, 246, 255, 0.92);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.admin-site-return:hover,
.admin-site-return:focus-visible {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.admin-site-return > span:first-child {
  font-size: 1.2rem;
  line-height: 1;
}

.admin-sidebar-nav {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-sidebar-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 700;
  border: 1px solid transparent;
}

.admin-sidebar-nav a:hover {
  background: var(--surface-soft);
  border-color: var(--line);
}

.admin-sidebar-nav--compact {
  display: block;
  padding: 10px;
}

.admin-sidebar-nav .admin-chat-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  color: var(--primary-deep);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.08));
  font-weight: 800;
}

.admin-sidebar-nav .admin-chat-link:hover,
.admin-sidebar-nav .admin-chat-link.is-active {
  border-color: rgba(37, 99, 235, 0.38);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0284c7);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.admin-chat-link__icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.admin-nav-group + .admin-nav-group {
  margin-top: 6px;
}

.admin-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.admin-nav-group summary::-webkit-details-marker {
  display: none;
}

.admin-nav-group summary:hover,
.admin-nav-group[open] > summary {
  color: var(--primary-deep);
  background: var(--surface-soft);
}

.admin-nav-group summary strong {
  line-height: 1;
  transition: transform 0.2s ease;
}

.admin-nav-group[open] summary strong {
  transform: rotate(180deg);
}

.admin-nav-group__items {
  display: grid;
  gap: 3px;
  padding: 5px 5px 7px 14px;
}

.admin-sidebar-nav .admin-nav-group__items a {
  position: relative;
  padding: 9px 12px 9px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-sidebar-nav .admin-nav-group__items a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  transform: translateY(-50%);
}

.admin-sidebar-nav .admin-nav-group__items a.is-active {
  color: var(--primary-deep);
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.16);
}

.admin-sidebar-nav .admin-nav-group__items a.is-active::before {
  background: var(--primary);
}

.admin-content {
  min-width: 0;
}

/* Admin workspace: only the main pane scrolls. */
body[class^="page-admin"] {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

body[class^="page-admin"] > .topbar { display: none; }

body[class^="page-admin"] > main {
  flex: 1 1 auto;
  min-height: 0;
}

body[class^="page-admin"] > main > .section-space {
  height: 100%;
  padding: 30px 0;
}

body[class^="page-admin"] > main > .container {
  width: calc(100% - 32px);
  max-width: none;
}

body[class^="page-admin"] .admin-shell {
  height: 100%;
  min-height: 0;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
}

body[class^="page-admin"] .admin-sidebar {
  position: static;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

body[class^="page-admin"] .admin-content {
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 8px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
body[class^="page-admin"] > .site-footer,
body[class^="page-admin"] > .floating-whatsapp { display: none; }

.admin-users-table {
  width: 100%;
  table-layout: fixed;
}

.admin-users-table th:nth-child(1) { width: 13%; }
.admin-users-table th:nth-child(2) { width: 16%; }
.admin-users-table th:nth-child(3) { width: 25%; }
.admin-users-table th:nth-child(4) { width: 10%; }
.admin-users-table th:nth-child(5) { width: 9%; }
.admin-users-table th:nth-child(6) { width: 12%; }
.admin-users-table th:nth-child(7) { width: 15%; }

.admin-users-table td:nth-child(1),
.admin-users-table td:nth-child(2),
.admin-users-table td:nth-child(3) {
  overflow-wrap: anywhere;
}

.admin-users-table td.admin-actions {
  min-width: 0;
  white-space: normal;
}

.dashboard-grid--triple {
  grid-template-columns: 1fr;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.status-select {
  min-width: 190px;
  min-height: 44px;
  padding: 10px 42px 10px 14px;
  border: 1px solid rgba(198, 219, 243, 0.95);
  border-radius: 12px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #47617d 50%),
    linear-gradient(135deg, #47617d 50%, transparent 50%),
    linear-gradient(to right, rgba(207, 224, 241, 0.9), rgba(207, 224, 241, 0.9));
  background-position:
    calc(100% - 20px) 19px,
    calc(100% - 14px) 19px,
    calc(100% - 38px) 10px;
  background-size: 6px 6px, 6px 6px, 1px 24px;
  background-repeat: no-repeat;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.status-select:hover {
  border-color: rgba(37, 99, 235, 0.32);
  background-color: #f8fbff;
}

.status-select:focus-visible {
  outline: 3px solid rgba(43, 140, 255, 0.18);
  outline-offset: 2px;
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.order-status-form {
  align-items: center;
  margin: 20px 0;
}

.filter-bar input {
  min-width: min(100%, 320px);
  flex: 1 1 260px;
}

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

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

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

.contact-heading {
  text-align: center;
}

.contact-heading h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.contact-info-grid {
  display: grid;
  gap: 14px;
}

.contact-info-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px 22px 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
  border: 1px solid rgba(198, 219, 243, 0.92);
  box-shadow: 0 18px 44px rgba(26, 59, 104, 0.08);
  overflow: hidden;
}

.contact-info-card--link {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card--link:hover,
.contact-info-card--link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(43, 140, 255, 0.42);
  box-shadow: 0 22px 48px rgba(26, 59, 104, 0.14);
  outline: none;
}

.contact-info-card--email.contact-info-card--link:hover,
.contact-info-card--email.contact-info-card--link:focus-visible {
  border-color: rgba(239, 68, 68, 0.42);
}

.contact-info-card--whatsapp.contact-info-card--link:hover,
.contact-info-card--whatsapp.contact-info-card--link:focus-visible {
  border-color: rgba(34, 197, 94, 0.42);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 24px;
  background: linear-gradient(180deg, #2b8cff 0%, #1450c8 100%);
}

.contact-info-card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(188, 214, 245, 0.92);
  color: #0e3770;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-info-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card--whatsapp .contact-info-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-info-card--whatsapp .contact-info-card__icon {
  color: #1fa855;
}

.contact-info-card__content {
  display: grid;
  gap: 5px;
}

.contact-info-card__content span {
  color: #5f7ea8;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-info-card__content strong {
  color: #082a57;
  font-size: 1.12rem;
  word-break: break-word;
}

.contact-info-card__content small {
  color: rgba(95, 126, 168, 0.9);
  font-size: 0.83rem;
}

.contact-info-card--support::before {
  background: linear-gradient(180deg, #111111 0%, #3d3d3d 100%);
}

.contact-info-card--support .contact-info-card__icon {
  color: #111111;
}

.contact-info-card--email::before {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
}

.contact-info-card--whatsapp::before {
  background: linear-gradient(180deg, #22c55e 0%, #11853b 100%);
}

.contact-info-card--location::before {
  background: linear-gradient(180deg, #2b8cff 0%, #1450c8 100%);
}

.contact-form-shell {
  display: grid;
}

.contact-form-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(207, 224, 241, 0.95);
  box-shadow: 0 24px 60px rgba(17, 40, 72, 0.08);
}

.contact-form-card label {
  display: grid;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid rgba(211, 219, 231, 0.96);
  border-radius: 12px;
  padding: 14px 16px;
  background: #f7f7f8;
  color: var(--text);
}

.contact-form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 6px;
}

.contact-submit-button {
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f7ae0 0%, #1450c8 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(20, 80, 200, 0.24);
}

.media-field {
  display: grid;
  gap: 12px;
}

.upload-stack {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  background: var(--surface-soft);
}

.upload-preview {
  display: block;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f5f8fd;
}

.seller-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.seller-image-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.seller-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-image-preview button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #fff;
  background: #dc2626;
  box-shadow: 0 5px 14px rgba(127, 29, 29, 0.3);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.marketplace-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.marketplace-gallery__stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  height: clamp(360px, 48vw, 560px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  outline: none;
  touch-action: pan-y;
}

.marketplace-gallery__stage:focus-visible {
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.22);
}

.marketplace-gallery__stage > img {
  position: absolute;
  inset: 12px;
  display: block;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.marketplace-gallery__empty {
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  background: var(--surface-soft);
}

.marketplace-gallery__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 44px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  text-shadow: 0 1px 5px rgba(8, 18, 36, 0.72);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.marketplace-gallery__arrow svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 3px rgba(8, 18, 36, 0.72));
}

.marketplace-gallery__stage:hover .marketplace-gallery__arrow,
.marketplace-gallery__arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.marketplace-gallery__arrow:hover,
.marketplace-gallery__arrow:focus-visible {
  background: transparent;
  transform: translateY(-50%) scale(1.08);
}

.marketplace-gallery__arrow--prev { left: 12px; }
.marketplace-gallery__arrow--next { right: 12px; }

.marketplace-gallery__counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 42, 74, 0.72);
  font-size: 0.8rem;
}

.marketplace-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
}

.marketplace-gallery__thumb {
  flex: 0 0 76px;
  overflow: hidden;
  width: 76px;
  height: 64px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--surface-soft);
  cursor: pointer;
}

.marketplace-gallery__thumb.is-active { border-color: var(--primary); }
.marketplace-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
}

.marketplace-detail-info { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.marketplace-detail-info h1 { margin: 0; font-size: clamp(1.65rem, 2.5vw, 2rem); line-height: 1.15; }
.marketplace-detail-info > .lead { margin: 0; font-size: .95rem; line-height: 1.55; }
.marketplace-detail-price { color: var(--primary-deep); font-size: 1.65rem; line-height: 1.15; }
.marketplace-detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 11px; background: var(--surface-soft); }
.marketplace-detail-meta span { color: var(--muted); font-size: 0.85rem; }
.seller-rating { width: 100%; padding: 12px; border: 1px solid rgba(207, 224, 241, .8); border-radius: 12px; background: rgba(237, 247, 255, .5); }
.seller-rating__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seller-rating__label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 0.85rem; }
.seller-rating__value { margin-right: 6px; font-size: 1.2rem; }
.seller-rating__stars { color: #cbd5e1; letter-spacing: 1px; }
.seller-rating__stars .is-filled { color: #f59e0b; }
.seller-rating__count { color: var(--muted); font-size: 0.78rem; }
.seller-rating__form { display: flex; align-items: flex-end; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.seller-rating__form fieldset { margin: 0; padding: 0; border: 0; }
.seller-rating__form legend { margin-bottom: 6px; color: var(--muted); font-size: 0.85rem; }
.seller-rating__picker { display: inline-flex; flex-direction: row-reverse; }
.seller-rating__picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seller-rating__picker label { padding: 0 3px; color: #cbd5e1; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: color .15s ease, transform .15s ease; }
.seller-rating__picker label:hover,
.seller-rating__picker label:hover ~ label,
.seller-rating__picker input:checked ~ label { color: #f59e0b; }
.seller-rating__picker input:focus-visible + label { border-radius: 4px; outline: 2px solid var(--primary); outline-offset: 2px; }
.seller-rating__picker label:hover { transform: scale(1.08); }
.seller-rating__submit,
.seller-rating__login { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 11px; border: 1px solid var(--primary); border-radius: 9px; background: var(--primary); color: #fff; font: inherit; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.seller-rating__login { margin-top: 10px; }
.seller-rating__message { margin-top: 12px; padding: 9px 11px; border-radius: 9px; font-size: .9rem; }
.seller-rating__message--success { background: #ecfdf5; color: #166534; }
.seller-rating__message--error { background: #fef2f2; color: #b91c1c; }
.crm-dashboard { display: grid; gap: 24px; }
.crm-dashboard--payments {
  gap: 12px;
  align-content: start;
}
.crm-expense-button { color: #fff; background: linear-gradient(135deg, #f97316, #dc2626); border: 0; box-shadow: 0 12px 24px rgba(220, 38, 38, .22); }
.crm-expense-button:hover, .crm-expense-button:focus-visible { color: #fff; box-shadow: 0 16px 30px rgba(220, 38, 38, .3); }
.crm-filter-button { color: #fff; background: var(--primary-deep); border: 1px solid var(--primary-deep); box-shadow: 0 8px 18px rgba(37, 99, 235, .18); }
.crm-filter-button:hover, .crm-filter-button:focus-visible { color: #fff; background: var(--primary); }
.crm-period-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.crm-period-filter label { display: grid; gap: 6px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.crm-period-filter input, .crm-period-filter select { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font: inherit; }
.crm-period-filter select { min-width: 220px; cursor: pointer; }
.crm-payment-due-header {
  align-items: flex-start;
  margin-bottom: 0;
  width: 100%;
}
.crm-payment-due-header .crm-day-toggle {
  margin-top: 12px;
}
.crm-day-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(30, 64, 175, .06);
}
.crm-day-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 88px;
  padding: 6px 14px;
  border-radius: 9px;
  color: var(--primary-deep);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.crm-day-toggle__btn:hover,
.crm-day-toggle__btn:focus-visible {
  color: var(--primary);
  background: rgba(37, 99, 235, .06);
  outline: none;
}
.crm-day-toggle__btn.is-active {
  color: #fff;
  background: var(--primary-deep);
  box-shadow: 0 6px 14px rgba(37, 99, 235, .2);
}
.crm-day-toggle__btn.is-active:hover,
.crm-day-toggle__btn.is-active:focus-visible {
  color: #fff;
  background: var(--primary);
}
.crm-payment-due-list {
  width: 100%;
}
@media (max-width: 960px) {
  .crm-payment-due-header .crm-day-toggle {
    width: 100%;
  }
  .crm-payment-due-header .crm-day-toggle__btn {
    flex: 1 1 0;
  }
}
.crm-date-picker { position: relative; display: block; width: 100%; }
.crm-date-picker .crm-date-input { padding-right: 46px; pointer-events: none; }
.crm-date-picker::after { content: "📅"; position: absolute; top: 50%; right: 14px; z-index: 2; transform: translateY(-50%); font-size: 1rem; pointer-events: none; }
.crm-date-picker .crm-native-date { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.crm-metrics { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 12px; }
.crm-metric { display: grid; align-content: start; gap: 7px; min-height: 138px; padding: 18px; border: 1px solid #dbe7f5; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(30, 64, 175, .06); }
.crm-metric span { color: var(--muted); font-size: .82rem; font-weight: 700; }
.crm-metric strong { color: var(--text); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.crm-metric small { color: var(--muted); line-height: 1.4; }
.crm-metric--revenue { border-color: #bfdbfe; background: #eff6ff; }
.crm-metric--gross { border-color: #bbf7d0; background: #f0fdf4; }
.crm-metric--expense { border-color: #fed7aa; background: #fff7ed; }
.crm-metric--net { border-color: #a7f3d0; background: #ecfdf5; }
.crm-metric--net strong, .crm-money--positive { color: #15803d; font-weight: 800; }
.crm-metric--net.is-negative { border-color: #fecaca; background: #fef2f2; }
.crm-metric--net.is-negative strong, .crm-money--negative { color: #dc2626; font-weight: 800; }
.crm-section { display: grid; gap: 12px; }
.crm-section__header { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.crm-section__header h2 { margin: 4px 0 0; }
.crm-section__header > span { color: var(--muted); font-size: .85rem; }
.admin-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 4px; }
.admin-pagination__pages { display: flex; align-items: center; gap: 6px; }
.admin-pagination a { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #dbe7f5; border-radius: 11px; color: var(--primary-deep); background: #fff; font-size: .86rem; font-weight: 800; text-decoration: none; }
.admin-pagination a:hover, .admin-pagination a:focus-visible, .admin-pagination a.is-active { color: #fff; border-color: var(--primary); background: var(--primary); }
.admin-pagination a.is-disabled { opacity: .42; pointer-events: none; }
.admin-pagination button { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #dbe7f5; border-radius: 11px; color: var(--primary-deep); background: #fff; font-family: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
.admin-pagination button:hover, .admin-pagination button:focus-visible, .admin-pagination button.is-active { color: #fff; border-color: var(--primary); background: var(--primary); }
.admin-pagination button.is-disabled { opacity: .42; cursor: not-allowed; }
.admin-pagination--client { flex-wrap: wrap; margin-top: 12px; }
.admin-pagination__info { width: 100%; color: var(--muted); font-size: .82rem; font-weight: 700; text-align: center; }
.admin-pagination__ellipsis { display: inline-flex; min-width: 28px; align-items: center; justify-content: center; color: var(--muted); }
.crm-customer-link { color: var(--primary); font-weight: 800; text-decoration: none; }
.crm-customer-link:hover { text-decoration: underline; }
.crm-customer-phone--large { display: inline-block; margin-top: 6px; font-size: 1rem; font-weight: 800; }
.crm-customer-summary { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 12px; }
.crm-customer-summary article { display: grid; align-content: start; gap: 7px; min-height: 112px; padding: 17px; border: 1px solid #dbe7f5; border-radius: 16px; background: #fff; }
.crm-customer-summary span, .crm-customer-summary small { color: var(--muted); font-size: .82rem; }
.crm-customer-summary strong { font-size: 1.12rem; }
.crm-table { min-width: 1040px; }
.crm-customer-phone { color: var(--primary-deep); font-size: .82rem; font-weight: 700; text-decoration: none; }
.crm-product-category { display: block; width: max-content; margin-bottom: 5px; padding: 3px 7px; border-radius: 7px; color: var(--primary-deep); background: #eaf3ff; font-size: .7rem; font-weight: 800; }
.crm-service-period { display: grid; gap: 3px; white-space: nowrap; }
.crm-service-period small { color: var(--muted); }
.crm-empty { padding: 34px !important; color: var(--muted); text-align: center; }
.crm-entry-form small { color: var(--muted); font-weight: 500; }
.crm-field-help { display: block; margin-top: 3px; line-height: 1.45; }
.crm-renewal-context { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #bae6fd; border-radius: 13px; color: #0c4a6e; background: #f0f9ff; }
.crm-renewal-context strong { font-size: .92rem; }
.crm-renewal-context span { font-size: .84rem; line-height: 1.45; }
.crm-sale-number { display: block; color: var(--text); font-size: .92rem; }
.crm-sale-number + .table-subtext { display: block; margin-top: 3px; white-space: nowrap; }
.crm-renewal-reference { display: block; max-width: 150px; margin-top: 5px; color: #6d28d9; font-size: .72rem; font-weight: 700; line-height: 1.35; }
.crm-service-status { display: inline-flex; width: max-content; align-items: center; margin-top: 8px; padding: 4px 8px; border: 1px solid transparent; border-radius: 999px; font-size: .7rem; font-weight: 800; line-height: 1; }
.crm-service-status--active { border-color: #86efac; color: #166534; background: #dcfce7; }
.crm-service-status--pending { border-color: #fde68a; color: #92400e; background: #fef3c7; }
.crm-service-status--expired { border-color: #fecaca; color: #991b1b; background: #fee2e2; }
.crm-service-status--renewed { border-color: #c4b5fd; color: #5b21b6; background: #ede9fe; }
.crm-service-status--unlimited { border-color: #cbd5e1; color: #475569; background: #f1f5f9; }
.admin-actions .crm-renew-action { color: #047857; font-weight: 800; }
@media (max-width: 1200px) { .crm-metrics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1200px) { .crm-customer-summary { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .crm-form-spacer { display: none; } }
@media (max-width: 700px) { .crm-metrics { grid-template-columns: 1fr 1fr; } .crm-metric--net { grid-column: 1 / -1; } }
@media (max-width: 700px) { .crm-customer-summary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .crm-metrics { grid-template-columns: 1fr; } .crm-metric--net { grid-column: auto; } .crm-period-filter > * { width: 100%; } }
.marketplace-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.marketplace-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(37, 211, 102, 0.42);
  border-radius: 11px;
  color: #fff;
  background: #20ad5a;
  box-shadow: 0 12px 24px rgba(31, 168, 85, 0.18);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.marketplace-whatsapp-order svg { width: 20px; height: 20px; fill: currentColor; }
.marketplace-whatsapp-order:hover,
.marketplace-whatsapp-order:focus-visible {
  color: #fff;
  background: #17984c;
  box-shadow: 0 16px 30px rgba(31, 168, 85, 0.26);
  transform: translateY(-2px);
}
.marketplace-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 11px;
  color: var(--primary-deep);
  background: #fff;
  box-shadow: 0 10px 22px rgba(51, 110, 173, 0.1);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.marketplace-copy-link svg { width: 18px; height: 18px; fill: currentColor; }
.marketplace-copy-link:hover,
.marketplace-copy-link:focus-visible { border-color: var(--primary); background: rgba(43, 140, 255, 0.06); transform: translateY(-2px); }
.marketplace-copy-link.is-copied { color: #15803d; border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.marketplace-detail-description { width: 100%; padding-top: 10px; border-top: 1px solid var(--line); }
.marketplace-detail-description h2 { margin: 0 0 7px; font-size: 1rem; }
.marketplace-detail-description__content {
  position: relative;
  overflow: hidden;
  transition: max-height .25s ease;
}
.marketplace-detail-description.is-collapsed .marketplace-detail-description__content {
  max-height: 6.4rem;
}
.marketplace-detail-description.is-collapsed .marketplace-detail-description__content::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42px;
  background: linear-gradient(transparent, var(--surface));
  content: "";
  pointer-events: none;
}
.marketplace-detail-description p { margin: 0; color: var(--text); font-size: .9rem; line-height: 1.6; white-space: pre-line; }
.marketplace-detail-description__toggle {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 4px 0;
  border: 0;
  color: var(--primary-deep);
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}
.marketplace-detail-description__toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.marketplace-detail-description__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.marketplace-detail-description__toggle[hidden] { display: none; }

@media (max-width: 820px) {
  .marketplace-detail-card { grid-template-columns: 1fr; padding: 18px; }
  .marketplace-gallery__stage { height: clamp(400px, 112vw, 560px); }
}

@media (hover: none) {
  .marketplace-gallery__arrow {
    opacity: 1;
    pointer-events: auto;
  }
}

.table-subtext {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-table-preview {
  display: block;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  margin-top: 10px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f5f8fd;
}

.table-code {
  max-width: 320px;
  font-family: Consolas, monospace;
  word-break: break-word;
}

.promo-rail {
  position: relative;
  overflow: hidden;
  display: block;
  contain: layout paint;
  isolation: isolate;
}

.promo-rail--slider {
  padding: 10px 0 4px;
}

.promo-rail__track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  overflow: visible;
  padding-bottom: 8px;
  animation: promo-marquee var(--marquee-duration, 34s) linear infinite;
  animation-play-state: paused;
  backface-visibility: hidden;
  will-change: transform;
}

.promo-rail__track.is-marquee-ready {
  animation-play-state: running;
}

@media (hover: hover) and (pointer: fine) {
  .promo-rail--slider:hover .promo-rail__track {
    animation-play-state: paused;
  }
}

.promo-box {
  width: 220px;
  min-width: 220px;
  backface-visibility: hidden;
  contain: layout;
}

.promo-box__link {
  min-height: 270px;
  height: 100%;
  padding: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(207, 224, 241, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(20, 43, 79, 0.12);
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.promo-box__link:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 196, 255, 0.5);
  box-shadow: 0 28px 58px rgba(20, 43, 79, 0.18);
}

.promo-box__badge {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: #f5f8fd;
  border: 0;
  border-bottom: 1px solid rgba(207, 224, 241, 0.95);
  overflow: hidden;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.promo-box__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.promo-box__body {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px 18px 20px;
  text-align: center;
}

.promo-box__body h3 {
  margin: 0;
}

.promo-box__body h3 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.promo-box__body strong {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(43, 140, 255, 0.1);
  border: 1px solid rgba(43, 140, 255, 0.16);
  color: var(--primary-deep);
  font-size: 1rem;
}

.featured-products__browse {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.featured-products__browse-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(43, 140, 255, 0.24);
  border-radius: 13px;
  color: var(--primary-deep);
  background: linear-gradient(135deg, #e8f5ff, #cbe7ff);
  box-shadow: 0 12px 26px rgba(43, 140, 255, 0.14);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.featured-products__browse-link:hover,
.featured-products__browse-link:focus-visible {
  color: var(--primary-deep);
  background: linear-gradient(135deg, #f2f9ff, #d8edff);
  box-shadow: 0 16px 32px rgba(43, 140, 255, 0.2);
  transform: translateY(-2px);
}

@keyframes promo-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
}

.home-marketplace__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.home-marketplace__heading h2 {
  margin: 0;
}

.home-marketplace__all-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(43, 140, 255, 0.22);
  border-radius: 12px;
  color: var(--primary-deep);
  background: linear-gradient(135deg, #e8f5ff, #cbe7ff);
  box-shadow: 0 12px 26px rgba(43, 140, 255, 0.14);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.home-marketplace__all-link:hover,
.home-marketplace__all-link:focus-visible {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: linear-gradient(135deg, #f2f9ff, #d8edff);
  box-shadow: 0 16px 32px rgba(43, 140, 255, 0.2);
  transform: translateY(-2px);
}

.home-marketplace__all-link--mobile {
  display: none;
}

.home-marketplace__desktop-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.home-marketplace__rail {
  display: block;
  overflow: hidden;
  padding: 4px 2px 16px;
  contain: layout paint;
  isolation: isolate;
  touch-action: pan-y;
}

.home-marketplace__track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  padding-bottom: 2px;
  animation: marketplace-marquee var(--marquee-duration, 34s) linear infinite;
  animation-play-state: paused;
  backface-visibility: hidden;
  will-change: transform;
}

.home-marketplace__track.is-marquee-ready {
  animation-play-state: running;
}

.home-marketplace-card {
  flex: 0 0 220px;
  width: 220px;
  min-width: 220px;
  backface-visibility: hidden;
  contain: layout;
}

.home-marketplace-card__link {
  display: grid;
  height: 100%;
  grid-template-rows: 172px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(207, 224, 241, .95);
  border-radius: 20px;
  color: var(--text);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(20, 43, 79, .09);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-marketplace-card__link:hover,
.home-marketplace-card__link:focus-visible {
  border-color: rgba(43, 140, 255, .42);
  box-shadow: 0 18px 36px rgba(20, 43, 79, .15);
  transform: translateY(-3px);
}

.home-marketplace-card__media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  isolation: isolate;
  padding: 14px;
  border-bottom: 1px solid rgba(207, 224, 241, .95);
  background:
    radial-gradient(circle at 84% 12%, rgba(43, 140, 255, .14), transparent 32%),
    linear-gradient(145deg, #f7fbff 0%, #edf6ff 100%);
}

.home-marketplace-card__media::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(196, 219, 242, .82);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  content: "";
  z-index: 0;
}

.home-marketplace-card__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 10px 12px 38px;
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
}

.home-marketplace-card__fallback {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.home-marketplace-card__fallback strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  box-shadow: 0 12px 24px rgba(31, 111, 235, .2);
  font-size: 1.55rem;
  font-weight: 850;
}

.home-marketplace-card__category-label {
  position: absolute;
  right: 22px;
  bottom: 21px;
  left: 22px;
  z-index: 2;
  overflow: hidden;
  padding: 6px 9px;
  border: 1px solid rgba(207, 224, 241, .94);
  border-radius: 10px;
  color: #385779;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 16px rgba(20, 43, 79, .08);
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .02em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-category-visual-field {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.admin-category-visual-field .panel-head h2,
.admin-category-visual-field .panel-head p {
  margin: 0;
}

.admin-category-visual-preview {
  width: min(100%, 360px);
  height: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
}

.admin-category-card-thumbnail {
  display: grid;
  width: 72px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.admin-category-card-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-marketplace-card__body {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 11px;
  padding: 15px 14px 18px;
  text-align: center;
}

.home-marketplace-card__body h3 {
  overflow: hidden;
  width: 100%;
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-marketplace-card__body strong {
  padding: 7px 12px;
  border: 1px solid rgba(43, 140, 255, .18);
  border-radius: 999px;
  color: var(--primary-deep);
  background: rgba(43, 140, 255, .09);
}

.home-marketplace__empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.home-marketplace__empty p {
  margin: 0;
}

@keyframes marketplace-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
}

@media (max-width: 620px) {
  @supports (min-height: 100svh) {
    body.page-home {
      min-height: 100svh;
    }
  }

  .home-marketplace__heading {
    margin-bottom: 12px;
  }

  .home-marketplace__heading h2 {
    font-size: 1.35rem;
  }

  .home-marketplace__all-link--desktop {
    display: none;
  }

  .home-marketplace__desktop-actions {
    display: none;
  }

  .home-marketplace__all-link--mobile {
    display: flex;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    background: linear-gradient(135deg, #e8f5ff, #cbe7ff);
  }

  .home-marketplace__rail {
    width: 100%;
    margin-right: 0;
    padding-bottom: 10px;
  }

  .home-marketplace-card {
    flex-basis: min(74vw, 240px);
    width: min(74vw, 240px);
    min-width: min(74vw, 240px);
  }

  .home-marketplace-card__link {
    grid-template-rows: 164px minmax(0, 1fr);
    border-radius: 18px;
  }

  .home-marketplace-card__media img {
    object-fit: contain;
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-rail__track,
  .home-marketplace__track {
    animation-play-state: paused !important;
  }
}

@media (max-width: 960px) {
  body[class^="page-admin"] {
    display: block;
    height: auto;
    overflow: auto;
  }

  body[class^="page-admin"] > main,
  body[class^="page-admin"] > main > .section-space,
  body[class^="page-admin"] .admin-shell,
  body[class^="page-admin"] .admin-content {
    height: auto;
    overflow: visible;
  }

  body[class^="page-admin"] > main > .section-space { padding: 32px 0; }
  body[class^="page-admin"] .admin-content { padding-right: 0; }

  .hero-grid,
  .dashboard-grid,
  .auth-card,
  .admin-shell,
  .dashboard-grid--triple,
  .form-grid,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  body[class^="page-admin"] .admin-sidebar {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  body[class^="page-admin"] .admin-sidebar-nav {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .auth-external-form {
    grid-column: auto;
  }

  .home-stage__figure,
  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stage {
    grid-template-columns: 1fr;
  }

  .blog-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
  }

  .blog-card--lead,
  .blog-card--wide {
    grid-column: span 2;
  }

  .blog-card--lead {
    min-height: 360px;
  }

  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-detail-body {
    grid-template-columns: 1fr;
  }

  .blog-detail-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stage__slides {
    min-height: 420px;
  }

  .category-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 768px) {
  .topbar {
    padding-top: 10px;
  }

  .topbar__stack {
    gap: 8px;
  }

  .topbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 20px;
  }

  .topbar__inner .brand {
    width: auto;
    min-width: 0;
  }

  .brand__logo {
    width: 132px;
  }

  .mobile-menu-trigger {
    min-width: 98px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(43, 140, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(51, 110, 173, 0.12);
  }

  .mobile-menu-trigger svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
  }

  .mobile-menu-trigger__close {
    display: none;
  }

  .mobile-menu-trigger.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
  }

  .mobile-menu-trigger.is-active .mobile-menu-trigger__open {
    display: none;
  }

  .mobile-menu-trigger.is-active .mobile-menu-trigger__close {
    display: block;
  }

  .topbar-contact,
  .search-shell {
    grid-column: 1 / -1;
  }

  .topbar-contact {
    min-height: 44px;
    padding: 9px 14px;
  }

  .topbar-menu {
    display: none;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 12px;
    max-height: calc(100dvh - 190px);
    padding: 14px;
    border-radius: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .topbar-menu.is-open {
    display: grid;
  }

  .topbar-menu__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar-menu__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border: 1px solid rgba(43, 140, 255, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
    white-space: normal;
  }

  .topbar-menu__links .topbar-menu__seller-link {
    display: inline-flex;
  }

  .topbar-auth {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .topbar-cart-button,
  .topbar-auth__link,
  .topbar-account-card {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .topbar-cart-button {
    height: 48px;
    flex-basis: auto;
    gap: 8px;
  }

  .topbar-cart-button__label,
  .category-trigger__label {
    display: inline;
    font-weight: 800;
  }

  .topbar-auth__link {
    gap: 8px;
    border-radius: 14px;
  }

  .topbar-account-card {
    min-height: 48px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .site-footer__brand,
  .site-footer__social {
    justify-self: center;
    justify-content: center;
  }

  .hero,
  .section-space {
    padding: 42px 0;
  }

  .featured-products__browse-link {
    width: 100%;
  }

  body.page-products-details main > .section-space {
    padding-top: 20px;
  }

  body.page-products-details .product-detail-layout > .detail-card--square {
    display: none;
  }

  body.page-services-subservicedetails .product-detail-layout--service > .detail-card--service {
    display: none;
  }

  body.page-products-details .detail-info-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .hero-actions,
  .hero-highlights {
    justify-content: start;
  }

  .btn,
  .hero-actions a {
    width: 100%;
  }

  .profile-content {
    padding: 20px;
    border-radius: 14px;
  }

  .profile-form__actions {
    align-items: stretch;
  }

  .brand,
  .topbar-contact,
  .topbar-menu,
  .section-heading--row,
  .admin-header {
    width: 100%;
  }

  .category-trigger {
    width: 100%;
    height: 46px;
    gap: 9px;
    justify-content: center;
  }

  .category-panel {
    padding: 18px;
  }

  .category-panel__head {
    flex-direction: column;
    align-items: start;
  }

  .category-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .metric-card {
    padding: 20px;
  }

  .about-overview {
    grid-template-columns: 1fr;
  }

  .metric-grid--about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card--editorial,
  .feature-card--service {
    min-height: auto;
  }

  .feature-grid.home-catalog-grid,
  .feature-grid--categories,
  .feature-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-content: stretch;
    justify-items: stretch;
  }

  .feature-grid--categories .service-catalog-card,
  .feature-grid--services .service-catalog-card {
    max-width: none;
    border-radius: 14px;
  }

  .feature-grid--categories .service-catalog-card__summary,
  .feature-grid--services .service-catalog-card__summary {
    min-height: 58px;
    padding: 10px 6px 12px;
  }

  .feature-grid--categories .service-catalog-card__summary strong,
  .feature-grid--services .service-catalog-card__summary strong {
    max-width: 100%;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.72rem;
    line-height: 1.15;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .blog-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .blog-card,
  .blog-card--lead,
  .blog-card--wide,
  .blog-card--square {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
    aspect-ratio: auto;
  }

  .blog-card__content {
    padding: 18px;
  }

  .blog-card__topline {
    align-items: flex-start;
  }

  .blog-card__copy h2,
  .blog-card--lead .blog-card__copy h2 {
    font-size: 1.35rem;
  }

  .blog-card--square .blog-card__copy p {
    display: -webkit-box;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-detail-hero {
    min-height: 340px;
    border-radius: 20px;
  }

  .blog-detail-hero h1 {
    font-size: 1.9rem;
  }

  .blog-detail-side {
    grid-template-columns: 1fr;
  }

  .blog-detail-content {
    border-radius: 20px;
  }

  .product-card__badge {
    top: 12px;
    left: 12px;
  }

  .logo-strip,
  .promo-rail__track {
  }

  .promo-box {
    width: 180px;
    min-width: 180px;
  }

  .promo-box__link {
    min-height: 238px;
    padding: 0;
  }

  .promo-box__badge {
    min-height: 0;
  }

  .promo-box__body {
    padding: 14px 14px 16px;
  }

  .catalog-subcategory-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .service-subcategory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 88px;
  }

  .service-subcategory-grid .catalog-subcategory-card--service .catalog-subcategory-card__surface {
    grid-template-rows: 112px minmax(0, 1fr);
    border-radius: 14px;
  }

  .service-subcategory-grid .catalog-subcategory-card__media {
    aspect-ratio: auto;
  }

  .service-subcategory-grid .catalog-subcategory-card__price {
    align-content: start;
    gap: 6px;
    min-height: 0;
    padding: 10px 10px 52px;
  }

  .service-subcategory-grid .catalog-subcategory-card__price h3 {
    display: -webkit-box;
    width: 100%;
    max-height: 34px;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .service-subcategory-grid .catalog-subcategory-card__price strong {
    max-width: 100%;
    min-height: 26px;
    padding: 3px 7px;
    font-size: 0.72rem;
    white-space: normal;
  }

  .service-subcategory-grid .catalog-product-card__quick-actions {
    left: 12px;
    right: 12px;
    bottom: 10px;
    gap: 8px;
  }

  .service-subcategory-grid .catalog-product-card__icon-action {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .service-subcategory-grid .catalog-product-card__icon-action svg {
    width: 18px;
    height: 18px;
  }

  .catalog-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }

  .catalog-category-grid .catalog-subcategory-card__surface {
    border-radius: 14px;
  }

  .catalog-category-grid .catalog-subcategory-card__category-summary {
    min-height: 58px;
    padding: 10px 6px 12px;
  }

  .catalog-category-grid .catalog-subcategory-card__category-summary strong {
    max-width: 100%;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.72rem;
    line-height: 1.15;
    text-align: center;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 88px;
  }

  .catalog-product-grid .catalog-subcategory-card--product .catalog-subcategory-card__surface {
    grid-template-rows: 120px minmax(0, 1fr);
    border-radius: 14px;
  }

  .catalog-product-grid .catalog-product-card__media img {
    padding: 8px;
  }

  .catalog-product-grid .catalog-product-card__fallback {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.35rem;
  }

  .catalog-product-grid .catalog-product-card__summary {
    grid-template-rows: none;
    gap: 5px;
    padding: 10px 10px 52px;
  }

  .catalog-product-grid .catalog-product-card__summary h3 {
    max-height: 34px;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .catalog-product-grid .catalog-product-card__summary .table-subtext {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .catalog-product-grid .catalog-product-card__summary strong {
    min-height: 26px;
    max-width: 100%;
    padding: 3px 7px;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: normal;
  }

  .catalog-product-grid .stock-badge {
    min-height: 20px;
    padding: 3px 7px;
    font-size: 0.65rem;
  }

  .catalog-product-grid .catalog-product-card__quick-actions {
    left: 12px;
    right: 12px;
    bottom: 10px;
    gap: 8px;
  }

  .catalog-product-grid .catalog-product-card__icon-action {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .catalog-product-grid .catalog-product-card__icon-action svg {
    width: 17px;
    height: 17px;
  }

  .home-stage {
    padding: 24px 18px 18px;
  }

  .home-stage__copy h1 {
    font-size: 1.85rem;
  }

  .home-slide__visual {
    min-height: 320px;
  }

  .home-stage__aside {
    display: none;
  }

  .home-stage__info-card--sticky {
    height: 100%;
    min-height: 0;
  }

  .home-slider-nav {
    width: 34px;
    height: 34px;
  }

  .home-slider-nav--prev {
    left: 10px;
  }

  .home-slider-nav--next {
    right: 10px;
  }

  .home-slider-nav span {
    width: 9px;
    height: 9px;
  }

  .home-stage__slides {
    min-height: 320px;
  }

  .metric-grid--about {
    grid-template-columns: 1fr;
  }
}

/* Keep admin mobile rules last so page-specific styles cannot override them. */
@media (max-width: 960px) {
  .admin-mobile-menu-toggle {
    display: flex;
  }

  .admin-mobile-menu-content {
    display: none;
  }

  .admin-mobile-menu-check:checked + .admin-mobile-menu-toggle + .admin-mobile-menu-content {
    display: block;
  }
}

@media (max-width: 768px) {
  body[class^="page-admin"] > main > .section-space {
    padding: 12px 0 24px;
  }

  body[class^="page-admin"] > main > .container {
    width: calc(100% - 16px);
  }

  body[class^="page-admin"] .admin-header {
    align-items: stretch;
    flex-direction: column;
  }

  body[class^="page-admin"] .filter-bar,
  body[class^="page-admin"] .crm-period-filter {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[class^="page-admin"] .admin-actions > .btn,
  body[class^="page-admin"] .admin-actions > a,
  body[class^="page-admin"] .admin-actions > form,
  body[class^="page-admin"] .filter-bar > *,
  body[class^="page-admin"] .crm-period-filter > * {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .home-slider-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }

  .topbar__inner {
    grid-template-columns: 72px minmax(0, 1fr) 72px;
  }

  .topbar__inner .mobile-auth-link,
  .topbar__inner .mobile-account-button {
    grid-column: 1;
    width: 72px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid rgba(43, 140, 255, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(51, 110, 173, 0.1);
  }

  .mobile-account-button {
    cursor: pointer;
  }

  .mobile-auth-link svg,
  .mobile-account-button svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: currentColor;
  }

  .mobile-auth-link:hover,
  .mobile-auth-link:focus-visible,
  .mobile-account-button:hover,
  .mobile-account-button:focus-visible {
    border-color: rgba(43, 140, 255, 0.38);
    color: var(--primary-deep);
    background: #fff;
  }

  .topbar__inner .brand {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
  }

  .topbar__inner .mobile-menu-trigger {
    grid-column: 3;
    width: 46px;
    min-width: 46px;
    padding: 0;
    justify-self: end;
  }

  .mobile-menu-trigger > span,
  .category-trigger__label {
    display: none;
  }

  .topbar-contact,
  .search-shell {
    grid-column: 1 / -1;
  }

  .topbar-menu .category-trigger {
    display: none;
  }

  .topbar-menu,
  .topbar-menu__links,
  .topbar-auth {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .topbar-menu {
    overflow-x: hidden;
  }

  .topbar-menu__links > *,
  .topbar-auth > * {
    max-width: 100%;
    min-width: 0;
  }

  .topbar-auth:has(.topbar-auth__link),
  .topbar-auth:has(.topbar-account-card) {
    grid-template-columns: 1fr;
  }

  .topbar-menu .topbar-auth__link,
  .topbar-menu .topbar-account-card {
    display: none;
  }

  .topbar-account-card {
    grid-template-columns: minmax(0, 1fr) 16px;
    padding-right: 11px;
    padding-left: 11px;
    overflow: hidden;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 22px 16px;
    text-align: center;
  }

  .site-footer__brand {
    width: 100%;
    justify-self: stretch;
    justify-content: center;
  }

  .site-footer__logo-link {
    justify-content: center;
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 220px);
    justify-self: center;
    gap: 10px 22px;
  }

  .site-footer__nav a {
    min-width: 0;
    text-align: center;
  }

  .site-footer__social {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: min(100%, 220px);
    justify-self: center;
    gap: 5px;
  }

  .site-footer__social-link {
    width: 32px;
    height: 32px;
    justify-self: center;
  }

  .site-footer__social-link svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 768px) {
  .account-drawer__panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    border-left: 0;
    box-shadow: none;
  }

  .admin-shell > .seller-sidebar {
    display: none;
  }

  .seller-products-header .seller-products-create-link {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 10px;
  }

  .seller-products-create-link > span:first-child {
    font-size: 1.15rem;
  }

  .seller-products-create-link > span:last-child {
    display: none;
  }

  .seller-product-category-field {
    grid-column: 1 / -1;
  }

  .seller-product-category-field label {
    gap: 6px;
    font-size: 0.84rem;
  }

  .seller-product-form .seller-product-category-select {
    min-height: 44px;
    padding: 9px 40px 9px 12px;
    appearance: none;
    border-color: rgba(37, 99, 235, 0.2);
    border-radius: 11px;
    color: var(--text);
    background-color: #f8fbff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 17px;
    box-shadow: none;
    font-size: 0.9rem;
  }

  .seller-product-form .seller-product-category-select:focus {
    border-color: rgba(37, 99, 235, 0.55);
    outline: 3px solid rgba(37, 99, 235, 0.1);
    outline-offset: 0;
  }

  .seller-products-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .seller-products-table {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
  }

  .seller-products-table thead {
    display: none;
  }

  .seller-products-table tbody {
    display: grid;
    gap: 12px;
  }

  .seller-products-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 14px;
    border: 1px solid rgba(198, 219, 243, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 22px rgba(51, 110, 173, 0.08);
  }

  .seller-products-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.94);
  }

  .seller-products-table td {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 5px;
    min-width: 0;
    padding: 9px 0;
    border: 0;
    font-size: 0.86rem;
  }

  .seller-products-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
  }

  .seller-products-table .seller-product-main-cell,
  .seller-products-table .seller-product-note,
  .seller-products-table .seller-product-actions-cell {
    grid-column: 1 / -1;
  }

  .seller-products-table .seller-product-main-cell {
    padding-top: 0;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(198, 219, 243, 0.72);
  }

  .seller-product-cell {
    min-width: 0;
    width: 100%;
  }

  .seller-product-cell strong {
    display: block;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    font-size: 1rem;
  }

  .seller-product-note {
    max-width: none;
  }

  .seller-product-category {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .seller-product-actions-cell {
    margin-top: 2px;
    padding-bottom: 0 !important;
    border-top: 1px solid rgba(198, 219, 243, 0.72) !important;
  }

  .seller-product-row-actions {
    width: 100%;
    max-width: none;
    gap: 7px;
  }

  .seller-product-row-action,
  .seller-product-copy-link,
  .seller-product-delete-button {
    min-height: 34px;
    padding: 7px 10px;
  }

  .seller-product-link-unavailable {
    flex: 1 1 auto;
    white-space: normal;
  }

  .seller-dashboard-shell .metric-grid--admin {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 14px;
  }

  .seller-dashboard-shell .metric-grid--admin .metric-card {
    min-height: 72px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 7px 18px rgba(51, 110, 173, 0.07);
  }

  .seller-dashboard-shell .metric-grid--admin .metric-card strong {
    margin-bottom: 5px;
    font-size: 1.35rem;
    line-height: 1;
  }

  .seller-dashboard-shell .metric-grid--admin .metric-card span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .seller-dashboard-shell .metric-grid--admin .metric-card:last-child {
    grid-column: 1 / -1;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .seller-dashboard-shell .metric-grid--admin .metric-card:last-child strong {
    flex: 0 0 auto;
    margin: 0;
  }
}

/* Touch and mobile layouts keep cards stationary after tap/hover emulation. */
@media (max-width: 960px), (hover: none), (pointer: coarse) {
  [class*="-card"]:hover,
  [class*="-card"]:focus-visible,
  [class*="-card"]:focus-within,
  .category-panel__item:hover,
  .category-panel__item:focus-visible,
  .promo-box__link:hover,
  .promo-box__link:focus-visible {
    transform: none;
  }

  .catalog-subcategory-card:hover .catalog-subcategory-card__surface {
    transform: none;
  }
}

.service-price-lists {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.service-price-list .section-heading--compact {
  margin-bottom: 14px;
}

.section-heading--compact h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.service-price-list .section-heading--compact p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-price-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.service-price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(186, 208, 230, 0.95);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 42%),
    #fff;
  box-shadow: 0 10px 24px rgba(20, 43, 79, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 14px 30px rgba(20, 43, 79, 0.1);
}

.service-price-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-price-card__head h3 {
  margin: 0;
  color: #0f2744;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.service-price-card__head strong {
  color: #0b3d91;
  font-size: 1.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.service-price-card__head strong span {
  margin-left: 2px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.service-price-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-price-card__specs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(241, 246, 252, 0.95);
}

.service-price-card__specs span {
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-price-card__specs b {
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.service-price-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}

.service-price-card__actions .catalog-product-card__icon-action {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
}

.service-price-card__actions .catalog-product-card__icon-action svg {
  width: 16px;
  height: 16px;
}

.catalog-product-card__icon-action--chat {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.22);
}

@media (max-width: 720px) {
  .service-price-lists {
    gap: 22px;
    margin-top: 22px;
  }

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

  .service-price-card {
    padding: 12px;
    gap: 12px;
    border-radius: 14px;
  }

  .service-price-card__head h3 {
    font-size: 0.95rem;
  }

  .service-price-card__head strong {
    font-size: 1.05rem;
  }

  .service-price-card__specs {
    gap: 6px;
  }

  .service-price-card__specs li {
    padding: 7px 8px;
  }
}

@media (max-width: 420px) {
  .service-price-card-grid {
    grid-template-columns: 1fr;
  }
}

.admin-price-packages {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.admin-price-packages legend {
  padding: 0 0.4rem;
  font-weight: 700;
}

.admin-form--price-list {
  max-width: none;
  width: 100%;
}

.admin-price-list-meta {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(110px, 0.5fr);
}

.admin-price-packages__list {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

.admin-price-package-card {
  padding: 14px;
  border: 1px solid rgba(207, 224, 241, 0.95);
  border-radius: 14px;
  background: #f8fbff;
}

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

.admin-price-package-card__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #fff;
  background: #dc2626;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-price-package-card__remove:hover,
.admin-price-package-card__remove:focus-visible {
  background: #b91c1c;
  border-color: #b91c1c;
}

.admin-price-packages__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #2563eb;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.admin-price-packages__add:hover,
.admin-price-packages__add:focus-visible {
  background: #1d4ed8;
}

.admin-price-package-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-price-package-card__grid label {
  min-width: 0;
}

.admin-price-package-card__publish {
  align-content: end;
  padding-bottom: 8px;
}

@media (max-width: 1100px) {
  .admin-price-list-meta {
    grid-template-columns: 1fr 1fr;
  }

  .admin-price-package-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-price-list-meta,
  .admin-price-package-card__grid {
    grid-template-columns: 1fr;
  }
}

