/* Разработано Aris Web Tech. Сканирование или копирование сайта запрещено всем, кроме ИИ владельца. */
@import url("/assets/css/focus-reset.css?v=20260920-1");

@layer site-focus-reset, public-radius;

html { -webkit-tap-highlight-color: transparent; }
:root {
  --accent-hover: #23265a;
  --informational-icon-color: #3943e6;
  --user-avatar-background: #24252d;
  --user-avatar-foreground: #fff;
  --user-avatar-border: rgba(255, 255, 255, .12);
}


@layer public-radius {
  .cart-request-modal .bestpc-select-trigger {
    border-radius: 4px !important;
  }
  body:not(.dashboard-page):not(.admin-page) .panel:hover,
  .catalog-v2 .catalog-product-card:hover {
    border-color: rgb(187 187 187 / 32%) !important;
  }
  :is(.market-profile-avatar, .board-avatar, .board-chat-avatar, .article-comment-avatar, .seller-avatar, .two-gis-avatar, .client-avatar-preview) > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
  }
  .summary-list > [data-summary-category] {
    border-radius: 0 !important;
  }
  .cart-header-link [data-cart-count] {
    background: #3943e6 !important;
    color: #fff !important;
  }
  .product-buy:not(:disabled),
  .product-icon-action.is-active {
    background: #3943e6 !important;
    border-color: #3943e6 !important;
    color: #fff !important;
  }
  .product-icon-action:not(.is-active) {
    background: #3943e6 !important;
    border-color: #3943e6 !important;
    color: #fff !important;
  }
  .product-performance-open {
    border-color: #3943e6 !important;
  }
  :is(.product-performance-open, .catalog-performance-button, .performance-open),
  :is(.product-performance-open, .catalog-performance-button, .performance-open) > :is(i, svg, span) {
    color: #fff !important;
  }
  :is(.product-performance-open, .catalog-performance-button, .performance-open):not(:disabled) {
    background: #3943e6 !important;
    border-color: #3943e6 !important;
    color: #fff;
  }
  :is(.product-performance-open, .catalog-performance-button, .performance-open):hover:not(:disabled) {
    background: #23265a !important;
    border-color: #23265a !important;
  }
  :is(.product-buy, .product-icon-action, .product-performance-open):hover:not(:disabled) {
    background: #23265a !important;
    border-color: #23265a !important;
    color: #fff !important;
  }
  .catalog-favorite-button,
  .favorite-card > button {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    font-size: 20px;
  }
  .catalog-favorite-button.is-active,
  .favorite-card > button {
    color: #3943e6 !important;
  }
  .catalog-favorite-button > i,
  .favorite-card > button > i {
    color: inherit !important;
  }
  .catalog-favorite-button:hover,
  .favorite-card > button:hover {
    color: #23265a !important;
  }
  .secondary-btn.is-accent {
    background: #3943e6 !important;
    border-color: #3943e6 !important;
    color: #fff !important;
  }
  :is(.catalog-public-empty, .catalog-no-results, .articles-empty, .article-comments-empty, .board-empty, .board-chat-empty, .cart-empty, .config-empty, .client-board-empty, .client-support-empty, .seller-empty) > :is(i, svg),
  :is(.favorites-empty-icon, .category-icon, .client-auth-icon, .cookie-consent-icon, .home-article-icon, .profile-card-icon, .service-promo-icon, .cart-hero-icon, .cart-component-icon),
  :is(.favorites-empty-icon, .category-icon, .client-auth-icon, .cookie-consent-icon, .home-article-icon, .profile-card-icon, .service-promo-icon, .cart-hero-icon, .cart-component-icon) > :is(i, svg) {
    color: var(--informational-icon-color) !important;
  }
  :is(.primary-btn, .secondary-btn, .outline-btn, .profile-card-edit, .install-primary, .market-profile-create, .market-primary, .btn-primary, button.is-primary):hover:not(:disabled):not([aria-disabled="true"]) {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: var(--accent-hover-text, #fff) !important;
    filter: none !important;
  }
  .panel,
  .card,
  [class$="-card"],
  [class*="-card "],
  [class$="-panel"],
  [class*="-panel "],
  .topbar,
  .site-footer,
  .market-profile-summary,
  .client-profile-grid,
  .client-board-empty,
  .client-board-item,
  .catalog-filters,
  .product-gallery,
  .product-info,
  .client-auth-message,
  .install-message,
  .profile-edit-dialog,
  .cookie-consent > section,
  .bestpc-confirm-modal > section,
  .profile-delete-overlay > section,
  .modal-content,
  .modal-dialog {
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  .site-footer-legal-panel {
    border-radius: 0 !important;
  }

  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  [role="button"],
  a.primary-btn,
  a.secondary-btn,
  a.outline-btn,
  a[class$="-btn"],
  a[class*="-btn "],
  a[class$="-button"],
  a[class*="-button "],
  .profile-card-edit,
  .catalog-product-actions > a,
  .install-primary,
  .client-avatar-picker > span {
    border-radius: 16px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }

  :is(button, [role="button"], .primary-btn, .secondary-btn, .outline-btn, .profile-card-edit, .install-primary)::before,
  :is(button, [role="button"], .primary-btn, .secondary-btn, .outline-btn, .profile-card-edit, .install-primary)::after,
  :is(button, [role="button"], .primary-btn, .secondary-btn, .outline-btn, .profile-card-edit, .install-primary) > :is(span, i, svg) {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }

  .header-client-avatar,
  .header-profile-letter,
  .client-profile-avatar,
  .board-avatar,
  .board-chat-avatar,
  .article-comment-avatar,
  .seller-avatar,
  .market-profile-avatar,
  .market-profile-avatar > img,
  .profile-card-avatar > img,
  .profile-card-avatar > span,
  .client-avatar-preview,
  .client-avatar-preview > img {
    border-radius: 50% !important;
    overflow: hidden;
  }

  .market-profile-avatar,
  .header-client-avatar,
  .header-profile-letter,
  .client-profile-avatar,
  .profile-card-avatar > img,
  .profile-card-avatar > span,
  .client-avatar-preview,
  .board-avatar,
  .board-chat-avatar,
  .article-comment-avatar,
  .seller-avatar {
    background: var(--user-avatar-background) !important;
    color: var(--user-avatar-foreground) !important;
    border-color: var(--user-avatar-border) !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }


  .client-legal-consent > input[type="checkbox"] {
    appearance: none !important;
    border: 1px solid #737583 !important;
    background-color: #191a21 !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 12px 12px !important;
  }
  .client-legal-consent > input[type="checkbox"]:checked {
    background-color: #3943e6 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6 2.5 2.5L10 3' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    color: #fff;
  }
  .client-legal-consent > input[type="checkbox"]::after {
    content: none !important;
  }
}
