/* Клиентский портал FOTOPRO — мобильный first, те же токены пойдут в приложение */
.client-portal-page,
body.guest-mode {
  min-height: 100vh;
  background: var(--bg-secondary, #f8fafc);
  padding-bottom: 4.75rem;
}

.client-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.client-topbar-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.client-topbar .logo-image {
  height: 36px;
  width: auto;
}

.client-topbar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.client-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 5.5rem;
}

.client-hero,
.client-card {
  background: #fff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm, 0 1px 2px rgb(0 0 0 / 0.05));
}

.client-hero h1,
.client-card h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.client-muted {
  color: var(--text-secondary, #64748b);
  font-size: 0.9rem;
  line-height: 1.45;
}

.client-level {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.client-level--guest { background: #f1f5f9; color: #475569; }
.client-level--registered { background: #fef3c7; color: #92400e; }
.client-level--verified { background: #dcfce7; color: #166534; }

.client-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.client-stat {
  background: var(--bg-secondary, #f8fafc);
  border-radius: 12px;
  padding: 0.85rem;
}

.client-stat strong {
  display: block;
  font-size: 1.15rem;
}

.client-stat span {
  color: var(--text-secondary, #64748b);
  font-size: 0.8rem;
}

.client-form .form-group {
  margin-bottom: 0.9rem;
}

.client-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.client-form .form-input,
.client-form textarea {
  width: 100%;
}

.client-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.client-tabs button {
  border: 1px solid var(--border-light, #e2e8f0);
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.client-tabs button.active {
  background: var(--primary, #dc2626);
  color: #fff;
  border-color: var(--primary, #dc2626);
}

.client-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.client-order-row,
.client-history-row {
  border-top: 1px solid var(--border-light, #e2e8f0);
  padding: 0.85rem 0;
}

.client-order-row:first-child,
.client-history-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.client-order-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.client-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.client-status--pending { background: #fef3c7; color: #92400e; }
.client-status--approved { background: #dbeafe; color: #1e40af; }
.client-status--booked { background: #dcfce7; color: #166534; }
.client-status--rejected,
.client-status--cancelled { background: #fee2e2; color: #991b1b; }

.client-notices {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.client-notice {
  background: #fff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-left: 4px solid #16a34a;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.client-notice strong {
  display: block;
  margin-bottom: 0.25rem;
}

.client-notice p {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
}

.client-notice--booked {
  border-left-color: #16a34a;
  background: #f0fdf4;
}

.client-notice--reminder {
  border-left-color: #d97706;
  background: #fffbeb;
}

.client-notice--today {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.client-order-flag {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.client-order-flag--booked { color: #166534; }
.client-order-flag--soon { color: #b45309; }
.client-order-flag--today { color: #b91c1c; }

.client-banner {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

body.ios-app .client-bottom-nav,
body.ios-app .storefront-admin-foot {
  padding-bottom: 1.5rem;
}

body.ios-app.guest-mode,
body.ios-app.client-portal-page {
  padding-bottom: 0.75rem;
}

body.ios-app .client-shell {
  padding-bottom: 1.25rem;
}

.client-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border-light, #e2e8f0);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom));
  z-index: 50;
}

.client-bottom-nav a {
  text-align: center;
  text-decoration: none;
  color: var(--text-secondary, #64748b);
  font-size: 0.7rem;
  padding: 0.35rem;
}

.client-bottom-nav a i {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.client-bottom-nav a.active {
  color: var(--primary, #dc2626);
  font-weight: 700;
}

body.guest-mode {
  --guest-header-offset: 72px;
}

body.guest-mode .header.hdr {
  width: 100%;
}

body.guest-mode .header.hdr .hdr-inner {
  max-width: min(1720px, calc(100vw - 2rem));
}

body.guest-mode .hdr-dropdown {
  top: 100%;
  width: min(320px, calc(100vw - 1.5rem));
}

.hdr-contacts {
  color: #4b5563;
  line-height: 1.25;
}

.hdr-contacts a {
  color: inherit;
  text-decoration: none;
}

.hdr-contacts a:hover {
  color: var(--primary, #dc2626);
}

.hdr-contacts-phones,
.hdr-contacts-place {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.hdr-contacts-phone,
.hdr-contacts-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.hdr-contacts-addr,
.hdr-contacts-hours {
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
}

.hdr-op,
.hdr-tg-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hdr-op svg,
.hdr-tg-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hdr-op--life {
  width: auto;
  min-width: 16px;
  padding: 0 0.18rem;
  background: #00aeef;
  color: #fff;
  border-radius: 3px;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  justify-content: center;
}

.hdr-contacts--bar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.15rem 0.5rem;
}

.hdr-contacts--menu {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.15rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  margin-bottom: 0.25rem;
}

@media (min-width: 1100px) {
  body.guest-mode:not(.ios-app) {
    --guest-header-offset: 118px;
  }

  body.guest-mode:not(.ios-app) .hdr-contacts--bar {
    display: flex;
  }

  body.guest-mode:not(.ios-app) .hdr-contacts--menu {
    display: none;
  }
}

html[data-theme="dark"] .hdr-contacts {
  color: #cbd5e1;
}

html[data-theme="dark"] .hdr-contacts-addr,
html[data-theme="dark"] .hdr-contacts-hours {
  color: #e5e7eb;
}

html[data-theme="dark"] .hdr-contacts--menu {
  border-bottom-color: var(--border-light, #2e323c);
}

body.guest-mode button.hdr-primary-link,
body.guest-mode button.hdr-nav-item {
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font: inherit;
}

.storefront-admin-foot {
  text-align: center;
  padding: 2.5rem 1rem 5.75rem;
  margin-top: 2rem;
}

.storefront-admin-foot a {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: none;
}

.storefront-admin-foot a:hover {
  color: #64748b;
  text-decoration: underline;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.25rem 0 0.85rem;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.4;
}

.privacy-consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.privacy-consent a {
  color: #dc2626;
}

.client-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.client-success {
  color: #166534;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.client-auth-slot {
  display: inline-flex;
  align-items: center;
}

.client-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.client-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.client-social--instagram { background: #fce7f3; color: #9d174d; }
.client-social--telegram { background: #e0f2fe; color: #075985; }
.client-social--viber { background: #ede9fe; color: #5b21b6; }

.guest-order-panel {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light, #e2e8f0);
}

.clients-account-badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.clients-account-badge--registered { background: #fef3c7; color: #92400e; }
.clients-account-badge--verified { background: #dcfce7; color: #166534; }

.client-request-card {
  background: #fff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.clients-request-meta {
  margin: 0.6rem 0 0.75rem;
  font-size: 0.875rem;
}

.clients-request-table-wrap {
  margin: 0.35rem 0 0.25rem;
}

.clients-request-table .col-category {
  width: 56px;
}

.clients-request-table .col-qty {
  width: 64px;
  text-align: center;
}

.clients-request-mobile {
  display: none;
}

.clients-request-item {
  margin-bottom: 0.4rem;
}

.clients-request-busy {
  margin-top: 0.85rem;
}

.client-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .clients-request-table-wrap {
    display: none;
  }

  .clients-request-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.5rem 0;
  }
}

@media (min-width: 769px) {
  .client-actions {
    flex-direction: row;
  }
  .client-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Витрина разделов для гостей */
body.guest-mode .category-filter {
  display: none !important;
}

body.guest-mode .catalog-registry-table .col-subcat,
body.guest-mode .catalog-registry-table .col-serial {
  display: none;
}

.catalog-cat-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-item-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2px;
  flex-shrink: 0;
}

.catalog-item-thumb--empty {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: catalog-thumb-wait 1.2s linear infinite;
  border-style: dashed;
}

@keyframes catalog-thumb-wait {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.catalog-cat-label {
  display: none;
}

body.guest-mode .catalog-registry-table {
  table-layout: fixed;
}

body.guest-mode .catalog-registry-table .col-category {
  width: 56px;
  min-width: 56px;
  max-width: 56px;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

body.guest-mode .catalog-registry-table .col-name {
  width: auto;
}

body.guest-mode .catalog-registry-table .col-price,
body.guest-mode .catalog-registry-table .col-weekend {
  width: 5.5rem;
}

body.guest-mode .catalog-registry-table .col-qty {
  width: 6.5rem;
}

body.guest-mode .catalog-mobile-list .item-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

body.guest-mode .catalog-mobile-list .item-header .catalog-item-thumb {
  width: 48px;
  height: 48px;
}

.guest-shop-wrap {
  padding: 0.75rem 0 1.5rem;
}

.guest-shop-search {
  margin-bottom: 0.85rem;
}

.guest-shop-nav {
  background: transparent;
  margin: 0 0 0.75rem;
  width: 100%;
}

.guest-shop-nav-list {
  display: none;
}

.guest-mode .catalog-toolbar {
  gap: 0.625rem;
}

.guest-shop-select-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 0.35rem;
}

.guest-shop-select-wrap {
  position: relative;
}

.guest-shop-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  font: inherit;
  color: #111827;
  cursor: pointer;
}

.guest-shop-select:focus {
  outline: 2px solid var(--primary, #dc2626);
  outline-offset: 1px;
}

.guest-shop-select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.guest-shop-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.guest-shop-toolbar[hidden] {
  display: none !important;
}

.guest-shop-back {
  border: 0;
  background: transparent;
  color: var(--primary, #dc2626);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.guest-shop-title {
  font-size: 1.15rem;
  margin: 0;
}

.guest-shop-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.guest-shop-chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.guest-shop-chip.active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.guest-mode .guest-shop-page .catalog-desktop-table {
  display: none !important;
}

.guest-shop-grid {
  display: none;
}

.guest-shop-card {
  cursor: default;
}

.guest-shop-card-media {
  display: block;
  background: #f8fafc;
}

.guest-shop-price-unit {
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b7280;
  margin-top: 0.1rem;
}

.guest-shop-add {
  width: 100%;
  justify-content: center;
}

@media (min-width: 769px) {
  body.guest-mode .guest-shop-page {
    background: #f4f5f7;
  }

  body.guest-mode .guest-shop-wrap {
    padding: 1.25rem 0 2.5rem;
  }

  body.guest-mode .legal-contracts-title {
    font-size: 1.65rem;
  }

  body.guest-mode #catalogListMobile {
    display: none !important;
  }

  body.guest-mode .guest-shop-grid,
  body.guest-mode #catalogGrid.guest-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.15rem;
    margin-top: 0.35rem;
    max-height: none;
    overflow: visible;
  }

  body.guest-mode .guest-shop-grid .catalog-paint-more {
    grid-column: 1 / -1;
    height: 1px;
  }

  body.guest-mode .guest-shop-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transform: none;
  }

  body.guest-mode .guest-shop-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
  }

  body.guest-mode .guest-shop-card.in-cart {
    border-color: #86efac;
    background: #fff;
  }

  body.guest-mode .guest-shop-card-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  body.guest-mode .guest-shop-card-media .catalog-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    padding: 0.85rem;
    background: #f8fafc;
  }

  body.guest-mode .guest-shop-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.85rem 0.9rem 1rem;
    flex: 1;
  }

  body.guest-mode .guest-shop-card .item-name {
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 650;
  }

  body.guest-mode .guest-shop-card .catalog-row-name-link {
    color: inherit;
    text-decoration: none;
  }

  body.guest-mode .guest-shop-card .catalog-row-name-link:hover {
    color: var(--primary, #dc2626);
  }

  body.guest-mode .guest-shop-card .item-meta {
    margin: 0;
  }

  body.guest-mode .guest-shop-card .meta-tag {
    font-size: 0.72rem;
    background: #f3f4f6;
    border: 0;
    color: #4b5563;
  }

  body.guest-mode .guest-shop-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.35rem;
  }

  body.guest-mode .guest-shop-card .item-price {
    font-size: 1.15rem;
    color: #111827;
  }

  body.guest-mode .guest-shop-card .item-actions {
    margin: 0;
    flex-shrink: 0;
  }

  body.guest-mode .guest-shop-card .quantity-controls {
    gap: 0.3rem;
  }

  body.guest-mode .guest-shop-card .bundle-composition {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  body.guest-mode .guest-shop-nav-list {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  body.guest-mode .guest-shop-grid .legal-contracts-empty,
  body.guest-mode .guest-shop-grid .catalog-mobile-empty {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body.guest-mode #catalogGrid,
  body.guest-mode .guest-shop-grid {
    display: none !important;
  }
}

.guest-cart-table {
  table-layout: fixed;
  width: 100%;
}

.guest-cart-table .col-name {
  width: auto;
}

.guest-cart-name-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.guest-cart-name-cell .catalog-row-name {
  min-width: 0;
}

.guest-cart-name-cell .catalog-item-thumb {
  width: 44px;
  height: 44px;
}

.guest-cart-table .col-price {
  width: 7.5rem;
}

.guest-cart-table .col-qty,
.guest-cart-table .col-days,
.guest-cart-table .col-sum,
.guest-cart-table .col-actions {
  text-align: right;
  white-space: nowrap;
}

.guest-cart-table .col-qty { width: 8.5rem; }
.guest-cart-table .col-days { width: 4.5rem; }
.guest-cart-table .col-sum { width: 7rem; }
.guest-cart-table .col-actions { width: 3.25rem; }

.guest-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.guest-cart-dates {
  align-items: flex-end;
}

.guest-cart-dates .form-group {
  margin: 0;
  min-width: 150px;
}

.guest-cart-dates .muted {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.guest-cart-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding: 0.85rem 0.25rem 0.35rem;
}

.guest-cart-actions .btn {
  padding: 0.7rem 1.15rem;
}

@media (min-width: 769px) {
  .guest-shop-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
  .guest-shop-nav {
    margin: 0;
    position: sticky;
    top: var(--guest-header-offset, 80px);
  }
  .guest-shop-select-label,
  .guest-shop-select-wrap {
    display: none;
  }
  .guest-shop-nav-list {
    display: block;
    background: #f3f4f6;
    border-radius: 12px;
    overflow: auto;
    max-height: calc(100vh - var(--guest-header-offset, 80px) - 20px);
  }
  .guest-shop-nav-head {
    padding: 0.85rem 1rem 0.4rem;
    font-size: 1.05rem;
    font-weight: 800;
  }
  .guest-shop-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border: 0;
    border-top: 1px solid #e5e7eb;
    background: transparent;
    color: #111827;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .guest-shop-nav-item:hover,
  .guest-shop-nav-item.active {
    background: #e5e7eb;
  }
  .guest-shop-nav-count {
    font-size: 0.75rem;
    color: #6b7280;
  }
}

html[data-theme="dark"] .client-portal-page,
html[data-theme="dark"] body.guest-mode {
  background: var(--bg-secondary, #121318);
  color: var(--text-primary, #e8eaed);
}

html[data-theme="dark"] .client-topbar,
html[data-theme="dark"] .client-hero,
html[data-theme="dark"] .client-card {
  background: var(--bg-primary, #1c1e24);
  border-color: var(--border-light, #2e323c);
  color: var(--text-primary, #e8eaed);
}

html[data-theme="dark"] .client-level--guest {
  background: var(--bg-tertiary, #262830);
  color: var(--text-secondary, #a8b0bc);
}

html[data-theme="dark"] .client-bottom-nav {
  background: var(--bg-primary, #1c1e24);
  border-color: var(--border-light, #2e323c);
}

html[data-theme="dark"] body.guest-mode .guest-shop-page {
  background: var(--bg-secondary, #121318);
}

html[data-theme="dark"] body.guest-mode .guest-shop-card {
  background: var(--bg-primary, #1c1e24);
  border-color: var(--border-light, #2e323c);
}

html[data-theme="dark"] body.guest-mode .guest-shop-card:hover {
  border-color: var(--border-medium, #3a3f4a);
}

html[data-theme="dark"] body.guest-mode .guest-shop-card-media,
html[data-theme="dark"] body.guest-mode .guest-shop-card-media .catalog-item-thumb {
  background: var(--bg-tertiary, #262830);
}

html[data-theme="dark"] body.guest-mode .guest-shop-card .item-name,
html[data-theme="dark"] body.guest-mode .guest-shop-card .item-price,
html[data-theme="dark"] body.guest-mode .guest-shop-card .catalog-row-name-link {
  color: var(--text-primary, #e8eaed);
}

html[data-theme="dark"] body.guest-mode .guest-shop-price-unit,
html[data-theme="dark"] body.guest-mode .guest-shop-card .bundle-composition {
  color: var(--text-muted, #7b8494);
}

html[data-theme="dark"] body.guest-mode .guest-shop-card .meta-tag {
  background: var(--bg-tertiary, #262830);
  color: var(--text-secondary, #a8b0bc);
}

html[data-theme="dark"] body.guest-mode .guest-shop-nav-list {
  background: var(--bg-primary, #1c1e24);
  border-color: var(--border-light, #2e323c);
}
