/* Shared navigation and footer */
:root { --site-accent: #ff5a1f; }
.accent, .site-chrome .accent { color: var(--site-accent); }
.site-chrome {
  --accent: var(--site-accent);
  --dark: #111827;
  font-family: Inter, sans-serif;
  line-height: 1.5;
}
.site-chrome, .site-chrome * { box-sizing: border-box; }
.site-chrome .container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.site-chrome a { color: inherit; text-decoration: none; }
.site-chrome img { display: block; max-width: 100%; }
.site-chrome h3, .site-chrome h4, .site-chrome h5, .site-chrome p { margin: 0; }
.site-chrome.footer { margin-top: 0; }
.site-chrome .nav-inner .btn-primary { color: #fff; }
@media (max-width: 768px) { .site-chrome .container { padding: 0 16px; } }
    .topbar:is(.site-chrome, .site-chrome *) { background: var(--dark); color: #fff; font-size: 14px; padding: 8px 0; }
    .topbar-inner:is(.site-chrome, .site-chrome *) { display: flex; justify-content: space-between; align-items: center; }
    .topbar-item:is(.site-chrome, .site-chrome *) { margin-right: 16px; }
    .topbar .topbar-icon { margin-inline-end: 6px; }
    .topbar-phone:is(.site-chrome, .site-chrome *) { font-weight: 700; color: var(--accent); }

    .nav:is(.site-chrome, .site-chrome *) { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e5e7eb; z-index: 100; }
    .nav-inner:is(.site-chrome, .site-chrome *) { display: flex; justify-content: space-between; align-items: center; height: 72px; gap: 16px; }
    .logo:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 12px; margin-right: auto; }
    .logo-name:is(.site-chrome, .site-chrome *) { font-weight: 800; font-size: 20px; }
    .logo-sub:is(.site-chrome, .site-chrome *) { font-size: 12px; color: #6b7280; }
    
    .nav-links:is(.site-chrome, .site-chrome *) { display: flex; gap: 24px; font-weight: 600; align-items: center; }
    .nav-links a:is(.site-chrome, .site-chrome *) { cursor: pointer; transition: color 0.2s; white-space: nowrap; }
    .nav-links a:hover:is(.site-chrome, .site-chrome *) { color: var(--accent); }
    
    /* Кнопка каталога */
    .catalog-button-one:is(.site-chrome, .site-chrome *) {
      display: inline-flex; align-items: center; gap: 8px;
      background: #fff; color: #111; border: 1px solid #e5e7eb;
      padding: 8px 16px; border-radius: 8px; font-weight: 600; cursor: pointer; 
      transition: 0.2s; font-family: inherit; font-size: 15px;
    }
    .catalog-button-one:hover:is(.site-chrome, .site-chrome *) { background: var(--accent); color: #fff; border-color: var(--accent); }
    .catalog-button-one input:is(.site-chrome, .site-chrome *) { display: none; }
    .catalog-button-one__icon:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; cursor: pointer; }
    .catalog-button-one__text:is(.site-chrome, .site-chrome *) { cursor: pointer; }
    .catalog-button-one__icon svg:is(.site-chrome, .site-chrome *) { width: 100%; height: 100%; overflow: visible; }
    .catalog-button-one__icon path:is(.site-chrome, .site-chrome *) {
      fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
    }
    .catalog-button-one .catalog-icon-close,
    .catalog-button-one input:checked + label .catalog-icon-menu { display: none; }
    .catalog-button-one input:checked + label .catalog-icon-close { display: inline; }
    .btn:is(.site-chrome, .site-chrome *) { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; transition: 0.2s; }
    .btn-primary:is(.site-chrome, .site-chrome *) { background: var(--accent); color: #fff; }
    .burger:is(.site-chrome, .site-chrome *) { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
    .burger span:is(.site-chrome, .site-chrome *) { width: 24px; height: 2px; background: #111; transition: 0.3s; }
    .burger.active span:nth-child(1):is(.site-chrome, .site-chrome *) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.active span:nth-child(2):is(.site-chrome, .site-chrome *) { opacity: 0; }
    .burger.active span:nth-child(3):is(.site-chrome, .site-chrome *) { transform: rotate(-45deg) translate(7px, -6px); }

    /* === ВЫПАДАЮЩЕЕ МЕНЮ КОНТАКТОВ === */
    .contacts-group:is(.site-chrome, .site-chrome *) { position: relative; display: flex; align-items: center; min-height: 44px; gap: 4px; cursor: pointer; }
    .contacts-group .header-info-icon:is(.site-chrome, .site-chrome *) { color: #6b7280; display: flex; align-items: center; transition: 0.2s; padding: 4px; border-radius: 50%; }
    .contacts-group:hover .header-info-icon:is(.site-chrome, .site-chrome *) { color: var(--accent); background: #fff4ed; transform: scale(1.1); }
    .header-one__info-dropdown:is(.site-chrome, .site-chrome *) { 
      position: absolute; top: 100%; right: 0; background: #fff; border-radius: 16px; 
      box-shadow: 0 15px 40px rgba(0,0,0,0.1); border: 1px solid #e5e7eb; opacity: 0; visibility: hidden; 
      transform: translateY(10px); transition: all 0.3s ease; z-index: 1000; width: 400px; padding: 24px;
    }
    .contacts-group:is(:hover, :focus-within) .header-one__info-dropdown:is(.site-chrome, .site-chrome *) { opacity: 1; visibility: visible; transform: translateY(0); }
    .contact-info__info-grid:is(.site-chrome, .site-chrome *) { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .contact-info__contact:is(.site-chrome, .site-chrome *) { display: flex; flex-direction: column; }
    .contact-info__contact-name.is-highlighted:is(.site-chrome, .site-chrome *) { color: var(--dark); font-weight: 700; font-size: 16px; text-decoration: none; transition: 0.2s; }
    .contact-info__contact-name.is-highlighted:hover:is(.site-chrome, .site-chrome *) { color: var(--accent); }
    .contact-info__contact-description:is(.site-chrome, .site-chrome *) { font-size: 13px; color: #6b7280; margin-top: 4px; }
    .contact-info__contact.is-email .contact-info__contact-name:is(.site-chrome, .site-chrome *) { color: var(--accent); text-decoration: none; font-weight: 600; }
    .social-one__wrapper:is(.site-chrome, .site-chrome *) { display: flex; gap: 12px; padding-top: 20px; border-top: 1px solid #f3f4f6; }
    .social-one__item:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #f9fafb; transition: 0.2s; }
    .social-one__item:hover:is(.site-chrome, .site-chrome *) { background: #f3f4f6; transform: translateY(-3px); }
    .qr-one:is(.site-chrome, .site-chrome *) { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid #f3f4f6; }
    .qr-one__text:is(.site-chrome, .site-chrome *) { font-size: 13px; color: #6b7280; line-height: 1.4; }
    .qr-one__wrapper:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 16px; }
    .qr-one__image:is(.site-chrome, .site-chrome *) { width: 80px; height: 80px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 4px; }
    .qr-one__link:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }
    .qr-one__link svg:is(.site-chrome, .site-chrome *) { fill: var(--accent); }

    .footer:is(.site-chrome, .site-chrome *) { background: #111827; color: #fff; padding: 64px 0 24px; }
    .footer-grid:is(.site-chrome, .site-chrome *) { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
    .footer-brand .logo-name:is(.site-chrome, .site-chrome *) { color: #fff; }
    .footer-desc:is(.site-chrome, .site-chrome *) { color: #9ca3af; margin-top: 16px; font-size: 14px; }
    .footer h5:is(.site-chrome, .site-chrome *) { font-size: 16px; margin-bottom: 16px; }
    .footer a:is(.site-chrome, .site-chrome *) { display: block; color: #9ca3af; margin-bottom: 8px; font-size: 14px; transition: 0.2s; }
    .footer a:hover:is(.site-chrome, .site-chrome *) { color: var(--accent); }
    .footer-bottom:is(.site-chrome, .site-chrome *) { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid #374151; color: #6b7280; font-size: 14px; flex-wrap: wrap; gap: 16px; }

    /* === МЕГА-МЕНЮ === */
    .mega-overlay:is(.site-chrome, .site-chrome *) { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s; }
    .mega-overlay.active:is(.site-chrome, .site-chrome *) { opacity: 1; visibility: visible; }
    .mega-menu:is(.site-chrome, .site-chrome *) { 
      position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 1000; 
      transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; border-radius: 0;
    }
    .mega-menu.active:is(.site-chrome, .site-chrome *) { transform: translateY(0); }
    .mega-menu:not(.is-fullscreen):is(.site-chrome, .site-chrome *) {
      top: 10%; left: 50%; width: 90%; max-width: 1200px; height: 80vh; transform: translate(-50%, -120%); 
      border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); border: 1px solid #e5e7eb;
    }
    .mega-menu:not(.is-fullscreen).active:is(.site-chrome, .site-chrome *) { transform: translate(-50%, 0); }
    .mega-header:is(.site-chrome, .site-chrome *) { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #e5e7eb; }
    .mega-title:is(.site-chrome, .site-chrome *) { font-size: 20px; font-weight: 800; }
    .mega-controls:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 12px; }
    .mega-settings-btn:is(.site-chrome, .site-chrome *) { background: #f3f4f6; border: none; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; color: #6b7280; transition: 0.2s; font-size: 16px; }
    .mega-settings-btn:hover:is(.site-chrome, .site-chrome *) { background: #e5e7eb; color: var(--accent); }
    .mega-close:is(.site-chrome, .site-chrome *) { background: #f3f4f6; width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; border: none; color: #111; transition: 0.2s; }
    .mega-close:hover:is(.site-chrome, .site-chrome *) { background: #ff5a1f; color: #fff; }
    .mega-body:is(.site-chrome, .site-chrome *) { display: flex; flex: 1; overflow: hidden; }
    .mega-cats:is(.site-chrome, .site-chrome *) { width: 320px; border-right: 1px solid #e5e7eb; overflow-y: auto; padding: 16px 0; background: #f9fafb; }
    .mega-cat-item:is(.site-chrome, .site-chrome *) { padding: 16px 32px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 12px; border-left: 3px solid transparent; transition: 0.2s; }
    .mega-cat-item:hover:is(.site-chrome, .site-chrome *), .mega-cat-item.active:is(.site-chrome, .site-chrome *) { background: #fff; border-left-color: var(--accent); color: var(--accent); }
    .mega-cat-item i:is(.site-chrome, .site-chrome *) { width: 20px; text-align: center; display: none; }
    .mega-sub-container:is(.site-chrome, .site-chrome *) { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-content: start; }
    .mega-sub-group h4:is(.site-chrome, .site-chrome *) { font-size: 16px; margin-bottom: 12px; color: #111; font-weight: 700; }
    .mega-sub-group a:is(.site-chrome, .site-chrome *) { display: block; font-size: 14px; color: #6b7280; margin-bottom: 8px; transition: 0.2s; }
    .mega-sub-group a:hover:is(.site-chrome, .site-chrome *) { color: var(--accent); }


@media (max-width: 1150px) {
      .nav-links:is(.site-chrome, .site-chrome *) { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; align-items: flex-start; padding: 24px; gap: 16px; border-top: 1px solid #e5e7eb; max-height: 90vh; overflow-y: auto; }
      .nav-links.open:is(.site-chrome, .site-chrome *) { display: flex; }
      .nav-actions:is(.site-chrome, .site-chrome *) { display: none; }
      .burger:is(.site-chrome, .site-chrome *) { display: flex; }
      .catalog-button-one__text:is(.site-chrome, .site-chrome *) { display: none; }
      .catalog-button-one:is(.site-chrome, .site-chrome *) { padding: 8px; border-color: transparent; }
      .mega-menu:not(.is-fullscreen):is(.site-chrome, .site-chrome *) { top: 0; left: 0; width: 100%; height: 100%; max-width: none; border-radius: 0; transform: translateY(-100%); }
      .mega-menu:not(.is-fullscreen).active:is(.site-chrome, .site-chrome *) { transform: translateY(0); }
      .mega-settings-btn:is(.site-chrome, .site-chrome *) { display: none; }
      .mega-body:is(.site-chrome, .site-chrome *) { flex-direction: column; }
      .mega-cats:is(.site-chrome, .site-chrome *) { width: 100%; max-height: 200px; border-right: none; border-bottom: 1px solid #e5e7eb; }
      .mega-sub-container:is(.site-chrome, .site-chrome *) { grid-template-columns: 1fr; }
      .contacts-group:is(.site-chrome, .site-chrome *) { position: static; width: 100%; margin: 0; cursor: default; flex-direction: column; align-items: flex-start; gap: 8px; }
      .contacts-group .header-info-icon:is(.site-chrome, .site-chrome *) { display: none; }
      .header-one__info-dropdown:is(.site-chrome, .site-chrome *) { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 1px solid #f3f4f6; width: 100%; padding: 16px; }
}

@media (max-width: 768px) {
      .topbar-left .topbar-item:not(.topbar-phone):is(.site-chrome, .site-chrome *) { display: none; }
      .footer-grid:is(.site-chrome, .site-chrome *) { grid-template-columns: 1fr; }
      .logo-sub:is(.site-chrome, .site-chrome *) { display: none; }
}
/*new style*/
/* MEGA MENU - ECOMMERCE ДИЗАЙН */
.mega-menu:is(.site-chrome, .site-chrome *) {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #ffffff; z-index: 1000;
  transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; overflow: hidden;
}
.mega-menu.active:is(.site-chrome, .site-chrome *) { transform: translateY(0); }
.mega-header:is(.site-chrome, .site-chrome *) { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; background: #ffffff; border-bottom: 1px solid #f1f5f9; }
.mega-title:is(.site-chrome, .site-chrome *) { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.mega-header-actions:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 12px; }
.mega-search:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; color: #64748b; min-width: 200px; }
.mega-search i:is(.site-chrome, .site-chrome *) { color: #94a3b8; }
.mega-close:is(.site-chrome, .site-chrome *) { width: 40px; height: 40px; border-radius: 10px; background: #f8fafc; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #64748b; transition: all 0.2s ease; }
.mega-close:hover:is(.site-chrome, .site-chrome *) { background: #ff5a1f; color: #ffffff; }
.mega-body:is(.site-chrome, .site-chrome *) { display: flex; flex: 1; overflow: hidden; background: #f8fafc; }
.mega-cats:is(.site-chrome, .site-chrome *) { width: 280px; min-width: 280px; background: #ffffff; border-right: 1px solid #f1f5f9; overflow-y: auto; overflow-x: hidden; padding: 8px 0; }
.mega-cat-item:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 12px; padding: 12px 20px; margin: 2px 12px; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; color: #475569; font-size: 14px; font-weight: 500; }
.mega-cat-item .cat-icon:is(.site-chrome, .site-chrome *) { width: 36px; height: 36px; background: #f8fafc; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #64748b; transition: all 0.2s ease; flex-shrink: 0; display: none; }
.mega-cat-item .cat-name:is(.site-chrome, .site-chrome *) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-cat-item .cat-count:is(.site-chrome, .site-chrome *) { font-size: 12px; color: #94a3b8; background: #f8fafc; padding: 2px 8px; border-radius: 12px; flex-shrink: 0; }
.mega-cat-item:hover:is(.site-chrome, .site-chrome *) { background: #f8fafc; color: #0f172a; }
.mega-cat-item:hover .cat-icon:is(.site-chrome, .site-chrome *) { background: #fff7ed; color: #ff5a1f; }
.mega-cat-item.active:is(.site-chrome, .site-chrome *) { background: #fff7ed; color: #ff5a1f; font-weight: 600; }
.mega-cat-item.active .cat-icon:is(.site-chrome, .site-chrome *) { background: #ff5a1f; color: #ffffff; }
.mega-sub-container:is(.site-chrome, .site-chrome *) { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px 16px; display: flex; flex-direction: column; gap: 32px; }
.mega-banner:is(.site-chrome, .site-chrome *) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.mega-banner-item:is(.site-chrome, .site-chrome *) { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); border-radius: 16px; padding: 24px; color: #ffffff; position: relative; overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
.mega-banner-item:hover:is(.site-chrome, .site-chrome *) { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }
.mega-banner-item.orange:is(.site-chrome, .site-chrome *) { background: linear-gradient(135deg, #ff5a1f 0%, #ff7b4a 100%); }
.mega-banner-badge:is(.site-chrome, .site-chrome *) { display: inline-block; padding: 4px 12px; background: rgba(255, 255, 255, 0.2); border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 12px; backdrop-filter: blur(10px); }
.mega-banner-title:is(.site-chrome, .site-chrome *) { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.mega-banner-subtitle:is(.site-chrome, .site-chrome *) { font-size: 13px; opacity: 0.8; }
.mega-section:is(.site-chrome, .site-chrome *) { display: flex; flex-direction: column; gap: 16px; }
.mega-section-title:is(.site-chrome, .site-chrome *) { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.mega-section-title:is(.site-chrome, .site-chrome *)::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.products-grid-mini:is(.site-chrome, .site-chrome *) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-card-mini:is(.site-chrome, .site-chrome *) { background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid #f1f5f9; transition: all 0.3s ease; cursor: pointer; position: relative; }
.product-card-mini:hover:is(.site-chrome, .site-chrome *) { border-color: #e2e8f0; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); transform: translateY(-2px); }
.product-card-mini .badge-sale:is(.site-chrome, .site-chrome *) { position: absolute; top: 8px; left: 8px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #ef4444; color: #ffffff; z-index: 2; }
.product-card-mini .badge-new:is(.site-chrome, .site-chrome *) { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #10b981; color: #ffffff; z-index: 2; }
.product-card-mini .badge-hit:is(.site-chrome, .site-chrome *) { background: #f59e0b; }
.product-card-mini .product-image:is(.site-chrome, .site-chrome *) { height: 160px; background: #f8fafc; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-card-mini .product-image img:is(.site-chrome, .site-chrome *) { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card-mini:hover .product-image img:is(.site-chrome, .site-chrome *) { transform: scale(1.05); }
.product-card-mini .quick-view-btn:is(.site-chrome, .site-chrome *) { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); background: #ffffff; color: #0f172a; padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); cursor: pointer; transition: all 0.3s ease; white-space: nowrap; border: 1px solid #e2e8f0; }
.product-card-mini:hover .quick-view-btn:is(.site-chrome, .site-chrome *) { bottom: 12px; }
.product-card-mini .quick-view-btn:hover:is(.site-chrome, .site-chrome *) { background: #ff5a1f; color: #ffffff; border-color: #ff5a1f; }
.product-card-mini .product-info-mini:is(.site-chrome, .site-chrome *) { padding: 12px; }
.product-card-mini .product-name-mini:is(.site-chrome, .site-chrome *) { font-size: 13px; font-weight: 600; color: #0f172a; margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-mini .product-price-block:is(.site-chrome, .site-chrome *) { display: flex; align-items: center; gap: 8px; }
.product-card-mini .product-price:is(.site-chrome, .site-chrome *) { font-size: 18px; font-weight: 800; color: #0f172a; }
.product-card-mini .product-price-old:is(.site-chrome, .site-chrome *) { font-size: 13px; color: #94a3b8; text-decoration: line-through; }
.product-card-mini .product-price-currency:is(.site-chrome, .site-chrome *) { font-size: 14px; font-weight: 400; color: #64748b; }
.product-card-mini .add-to-cart-mini:is(.site-chrome, .site-chrome *) { width: 100%; padding: 8px; background: #0f172a; color: #ffffff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; }
.product-card-mini .add-to-cart-mini:hover:is(.site-chrome, .site-chrome *) { background: #ff5a1f; }
.subcategories-grid:is(.site-chrome, .site-chrome *) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.subcategory-card:is(.site-chrome, .site-chrome *) { background: #ffffff; border-radius: 12px; padding: 16px; border: 1px solid #f1f5f9; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 12px; }
.subcategory-card:hover:is(.site-chrome, .site-chrome *) { border-color: #e2e8f0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); transform: translateY(-1px); }
.subcategory-card .sub-icon:is(.site-chrome, .site-chrome *) { width: 44px; height: 44px; background: #fff7ed; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #ff5a1f; flex-shrink: 0; }
.subcategory-card .sub-info:is(.site-chrome, .site-chrome *) { flex: 1; min-width: 0; }
.subcategory-card .sub-name:is(.site-chrome, .site-chrome *) { font-size: 14px; font-weight: 600; color: #0f172a; margin-bottom: 2px; }
.subcategory-card .sub-count:is(.site-chrome, .site-chrome *) { font-size: 12px; color: #94a3b8; }
.links-grid:is(.site-chrome, .site-chrome *) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.category-link:is(.site-chrome, .site-chrome *) { padding: 8px 12px; border-radius: 8px; font-size: 13px; color: #475569; text-decoration: none; transition: all 0.2s ease; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category-link:hover:is(.site-chrome, .site-chrome *) { background: #fff7ed; color: #ff5a1f; }
.mega-promo:is(.site-chrome, .site-chrome *) { background: linear-gradient(135deg, #fff7ed 0%, #fffaf7 100%); border: 1px solid #ffe0d5; border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; gap: 24px; }
.mega-promo-icon:is(.site-chrome, .site-chrome *) { width: 56px; height: 56px; background: #ff5a1f; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #ffffff; flex-shrink: 0; }
.mega-promo-info:is(.site-chrome, .site-chrome *) { flex: 1; }
.mega-promo-title:is(.site-chrome, .site-chrome *) { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.mega-promo-text:is(.site-chrome, .site-chrome *) { font-size: 13px; color: #64748b; }
.mega-promo-btn:is(.site-chrome, .site-chrome *) { padding: 10px 20px; background: #ff5a1f; color: #ffffff; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; flex-shrink: 0; }
.mega-promo-btn:hover:is(.site-chrome, .site-chrome *) { background: #e04d15; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3); }
.mega-footer:is(.site-chrome, .site-chrome *) { padding: 12px 32px; background: #ffffff; border-top: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #64748b; }
.mega-footer a:is(.site-chrome, .site-chrome *) { color: #ff5a1f; text-decoration: none; font-weight: 600; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.product-card-mini:is(.site-chrome, .site-chrome *) { animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.product-card-mini:nth-child(1):is(.site-chrome, .site-chrome *) { animation-delay: 0.02s; }
.product-card-mini:nth-child(2):is(.site-chrome, .site-chrome *) { animation-delay: 0.06s; }
.product-card-mini:nth-child(3):is(.site-chrome, .site-chrome *) { animation-delay: 0.10s; }
.product-card-mini:nth-child(4):is(.site-chrome, .site-chrome *) { animation-delay: 0.14s; }
.product-card-mini:nth-child(5):is(.site-chrome, .site-chrome *) { animation-delay: 0.18s; }
.product-card-mini:nth-child(6):is(.site-chrome, .site-chrome *) { animation-delay: 0.22s; }
.product-card-mini:nth-child(7):is(.site-chrome, .site-chrome *) { animation-delay: 0.26s; }
.product-card-mini:nth-child(8):is(.site-chrome, .site-chrome *) { animation-delay: 0.30s; }
@media (max-width: 1400px) { .products-grid-mini:is(.site-chrome, .site-chrome *) { grid-template-columns: repeat(3, 1fr); } .subcategories-grid:is(.site-chrome, .site-chrome *) { grid-template-columns: repeat(2, 1fr); } .links-grid:is(.site-chrome, .site-chrome *) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) {
  .mega-body:is(.site-chrome, .site-chrome *) { flex-direction: column; }
  .mega-cats:is(.site-chrome, .site-chrome *) { width: 100%; min-width: 100%; max-height: 160px; border-right: none; border-bottom: 1px solid #f1f5f9; display: flex; overflow-x: auto; overflow-y: hidden; padding: 8px 12px; gap: 6px; }
  .mega-cat-item:is(.site-chrome, .site-chrome *) { white-space: nowrap; flex-shrink: 0; padding: 8px 14px; margin: 0; font-size: 13px; }
  .mega-cat-item .cat-icon:is(.site-chrome, .site-chrome *) { width: 28px; height: 28px; font-size: 13px; }
  .mega-cat-item .cat-count:is(.site-chrome, .site-chrome *) { display: none; }
  .products-grid-mini:is(.site-chrome, .site-chrome *) { grid-template-columns: repeat(2, 1fr); }
  .mega-banner:is(.site-chrome, .site-chrome *) { grid-template-columns: 1fr; }
  .mega-sub-container:is(.site-chrome, .site-chrome *) { gap: 20px; }
  .mega-promo:is(.site-chrome, .site-chrome *) { flex-direction: column; text-align: center; }
  .links-grid:is(.site-chrome, .site-chrome *) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .products-grid-mini:is(.site-chrome, .site-chrome *) { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card-mini .product-image:is(.site-chrome, .site-chrome *) { height: 120px; }
  .subcategories-grid:is(.site-chrome, .site-chrome *) { grid-template-columns: 1fr; }
  .links-grid:is(.site-chrome, .site-chrome *) { grid-template-columns: repeat(2, 1fr); }
  .mega-search:is(.site-chrome, .site-chrome *) { display: none; }
}
/*Дополнительные стили*/
.sub-badge:is(.site-chrome, .site-chrome *) { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #ffffff; margin-left: 8px; }
.sub-arrow:is(.site-chrome, .site-chrome *) { color: #cbd5e1; transition: all 0.3s ease; }
.subcategory-card:hover .sub-arrow:is(.site-chrome, .site-chrome *) { color: #ff5a1f; transform: translateX(4px); }
.mega-notification:is(.site-chrome, .site-chrome *) { position: fixed; top: 20px; right: 20px; background: #0f172a; color: #ffffff; padding: 16px 24px; border-radius: 12px; font-size: 14px; font-weight: 600; z-index: 10000; opacity: 0; transform: translateX(100px); transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.mega-notification.show:is(.site-chrome, .site-chrome *) { opacity: 1; transform: translateX(0); }
.mega-cta-button:is(.site-chrome, .site-chrome *) { display: inline-flex; align-items: center; align-self: center; gap: 12px; padding: 16px 32px; background: linear-gradient(135deg, #ff5a1f 0%, #ff7b4a 100%); color: #ffffff; border-radius: 16px; font-size: 16px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(255, 90, 31, 0.25); animation: pulse 2s infinite; }
.mega-cta-button:hover:is(.site-chrome, .site-chrome *) { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(255, 90, 31, 0.35); }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 25px rgba(255, 90, 31, 0.25); } 50% { box-shadow: 0 12px 35px rgba(255, 90, 31, 0.4); } }

@media (min-width: 769px) { .site-chrome .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.product-card .qv-btn:hover,
.product-card .qv-btn:focus-visible,
.product-card .product-img:focus-visible .qv-btn {
    background: var(--accent, #ff5a1f);
    color: #fff;
    border-color: var(--accent, #ff5a1f);
}

.nav-product-lists {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-product-list { position: relative; }

.nav-product-list-trigger,
.nav-product-list-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-block-size: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: var(--dark);
    font: inherit;
    cursor: pointer;
}

.nav-product-list-trigger { padding: 0 8px; }

.nav-product-list-trigger:hover,
.nav-product-list-trigger[aria-expanded="true"],
.nav-product-list-remove:hover {
    border-color: #ffd2bc;
    background: #fff4ed;
    color: #a73510;
}

.nav-product-lists :is(a, button):focus-visible {
    outline: 2px solid #165d86;
    outline-offset: 2px;
}

.nav-product-list-count {
    min-inline-size: 1.35rem;
    padding: 0 4px;
    border-radius: 10px;
    background: #f1f3f5;
    color: #374151;
    text-align: center;
    font: 700 12px / 1.5 Inter, sans-serif;
}

.nav-product-list-panel {
    position: absolute;
    z-index: 161;
    inset-block-start: 100%;
    inset-inline-end: 0;
    inline-size: min(340px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(17 24 39 / 14%);
    color: var(--dark);
    font-size: 14px;
}

.nav-product-list-panel h3 { font-size: 16px; }
.nav-product-list-panel .nav-product-list-empty { margin: 12px 0; color: #4b5563; }
.nav-product-list-panel [hidden], .nav-product-list-panel[hidden] { display: none; }
.nav-product-list-items {
    max-block-size: min(32vh, 260px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 8px 0 12px;
    padding: 0;
    list-style: none;
}

[data-header-product-list="price"] .nav-product-list-items {
    padding-inline-end: 8px;
}

.nav-product-list-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-block-end: 1px solid #e5e7eb;
}

.nav-links .nav-product-list-items a {
    flex: 1;
    min-inline-size: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.nav-product-list-items span { white-space: nowrap; color: #4b5563; }
.nav-product-list-remove { flex: none; inline-size: 44px; }
.nav-links .nav-product-list-panel .nav-product-list-all {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff4ed;
    color: #9a3412;
    text-align: center;
    white-space: normal;
}
.nav-links .nav-product-list-panel .nav-product-list-all:hover { background: #ffe6d8; }

@media (max-width: 1150px) {
    .nav-product-lists {
        display: grid;
        grid-template-columns: max-content max-content minmax(0, 1fr);
        inline-size: 100%;
    }

    .nav-product-list { display: contents; }
    .nav-product-list-trigger { grid-row: 1; }
    .nav-product-list-panel {
        position: static;
        grid-row: 2;
        grid-column: 1 / -1;
        inline-size: min(100%, 340px);
        box-shadow: none;
    }
}

.nav-product-photo {
    position: fixed;
    z-index: 180;
    display: grid;
    place-items: center;
    inline-size: min(152px, calc(100vw - 16px));
    block-size: 152px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(17 24 39 / 16%);
    box-sizing: border-box;
    pointer-events: none;
}
.nav-product-photo[hidden] { display: none; }
.nav-product-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }

.quick-nav.site-chrome {
    background: #f8fafc;
    border-block-end: 1px solid #e5e7eb;
    color: #374151;
}

.quick-nav .quick-nav-inner {
    display: flex;
    flex-wrap: wrap;
    column-gap: clamp(12px, 2.4vw, 28px);
}

.quick-nav a {
    display: inline-flex;
    align-items: center;
    min-block-size: 36px;
    padding-inline: 4px;
    font-size: 13px;
    font-weight: 600;
}

.quick-nav a:hover { color: #a73510; }
.quick-nav a:focus-visible { outline: 2px solid #165d86; outline-offset: -2px; border-radius: 4px; }

@media (pointer: coarse) {
    .quick-nav a { min-block-size: 44px; }
}

/* Shared scrolling inside catalog and header popups. */
.site-chrome :is(.mega-cats, .mega-sub-container, .nav-product-list-items) {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

@supports not (scrollbar-width: thin) {
    .site-chrome :is(.mega-cats, .mega-sub-container, .nav-product-list-items)::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    .site-chrome :is(.mega-cats, .mega-sub-container, .nav-product-list-items)::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    .site-chrome :is(.mega-cats, .mega-sub-container, .nav-product-list-items)::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }
}

.mobile-catalog-trigger,
.mobile-menu:not([open]) { display: none; }

@media (max-width: 1150px) {
    .site-chrome .mobile-catalog-trigger {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 8px;
        background: #fff1e8;
        color: #9a3412;
        font-size: 13px;
        font-weight: 700;
    }

    .site-chrome .burger {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    html:has(.mobile-menu[data-ready]) { scrollbar-gutter: stable; }
    html:has(.mobile-menu[open]) { overflow: hidden; }
    html:has(.mobile-menu[data-ready]) .quick-nav { display: none; }
}

@media (max-width: 480px) {
    .site-chrome .nav-inner { gap: 8px; }
    .site-chrome .nav-inner .logo { gap: 6px; min-width: 0; }
    .site-chrome .nav-inner .logo-name { font-size: clamp(14px, 4.2vw, 18px); }
    .site-chrome .nav-inner .logo-mark { flex: none; width: 34px; height: 34px; }
    .site-chrome .nav-inner .mobile-catalog-trigger { padding-inline: 8px; }
}

.mobile-menu[open] {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: min(100%, 460px);
    max-width: none;
    overflow: hidden;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #17212f;
}

.mobile-menu::backdrop { background: rgb(15 23 42 / 55%); }
.mobile-menu [hidden] { display: none; }

.mobile-menu-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    padding: max(10px, env(safe-area-inset-top)) 14px 10px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header h2 {
    grid-column: 2;
    margin: 0;
    font: 800 19px / 1.2 Manrope, Inter, sans-serif;
    text-align: center;
    overflow-wrap: anywhere;
}

.mobile-menu-header [data-mobile-close] { grid-column: 3; }
.mobile-menu-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: inherit;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
}

.mobile-menu-body {
    flex: 1;
    min-height: 0;
    overflow: hidden auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
}

.mobile-menu-search { display: flex; gap: 8px; margin-bottom: 12px; }
.mobile-menu-search input {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
}

.mobile-menu .mobile-menu-catalog,
.mobile-menu .mobile-menu-phone,
.mobile-menu .mobile-menu-email,
.mobile-menu-links a,
.mobile-menu .mobile-catalog-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 12px;
    overflow-wrap: anywhere;
}

.mobile-menu .mobile-menu-catalog {
    justify-content: space-between;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #9a3412;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.mobile-menu-links {
    margin-top: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.mobile-menu-links a + a { border-top: 1px solid #e5e7eb; }
.mobile-menu-links a span {
    margin-inline-start: auto;
    min-width: 26px;
    padding: 2px 5px;
    border-radius: 12px;
    background: #f1f5f9;
    font-size: 12px;
    text-align: center;
}
.mobile-menu .mobile-menu-phone { margin-top: 12px; color: #9a3412; font-weight: 700; }
.mobile-menu .mobile-menu-email { color: #9a3412; font-weight: 600; }
.mobile-menu-email span { min-width: 0; }

.mobile-catalog-list { margin: 12px 0 0; padding: 0; list-style: none; }
.mobile-catalog-list li { border-bottom: 1px solid #e5e7eb; }
.mobile-menu .mobile-catalog-row {
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.mobile-menu :is(a, button, input):focus-visible {
    outline: 2px solid #165d86;
    outline-offset: -2px;
}

@media (max-width: 1150px) {
    .nav.site-chrome { box-shadow: none; filter: none; }
}

#toTop {
    position: fixed;
    inset-inline-end: max(16px, env(safe-area-inset-right));
    inset-block-end: max(16px, env(safe-area-inset-bottom));
    z-index: 90;
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #9a3412;
    cursor: pointer;
}
#toTop.visible { display: grid; }
#toTop:is(:hover, :focus-visible) { background: #fff1e8; }

@media (min-width: 769px) {
    .site-chrome .footer-grid-with-menu { grid-template-columns: 2fr 1fr 1fr; }
}

.nav-links {
    --nav-popover-gap: 8px;
}

.nav-links :is(.header-one__info-dropdown, .nav-product-list-panel) {
    margin-top: var(--nav-popover-gap);
}

@media (min-width: 1151px) {
    .nav-links :is(.header-one__info-dropdown, .nav-product-list-panel)::before {
        content: '';
        position: absolute;
        inset-inline: 0;
        inset-block-end: 100%;
        height: calc(var(--nav-popover-gap) + 1px);
    }
}

@media (min-width: 1151px) {
    .nav-links :is(.header-one__info-dropdown, .nav-product-list-panel)::after {
        content: '';
        position: absolute;
        inset-block-start: -6px;
        inset-inline-end: 22px;
        width: 10px;
        height: 10px;
        border-block-start: 1px solid #e5e7eb;
        border-inline-start: 1px solid #e5e7eb;
        background: #fff;
        transform: rotate(45deg);
        pointer-events: none;
    }
}

.site-chrome :is(.quick-nav-inner, .nav-links, .mobile-menu-links) a[aria-current="page"] {
    color: #a73510;
    text-decoration: none;
}

.site-chrome .mega-banner { grid-template-columns: minmax(0, 1fr); }
.site-chrome .mega-banner-item { display: block; }
.site-chrome .mega-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.site-chrome .mega-banner-copy { position: relative; overflow-wrap: anywhere; }
