/* Extracted from main.ejs to keep layout markup clean. */
/* ===== Catalog-specific styles (REDESIGN) ===== */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; background: #F4F6F9; }
.page-content { flex: 1; padding: 40px 0; } 

/* Typography & Titles */
.titles { font-size: 32px; font-weight: 800; color: #0D1E35; margin: 0 0 24px; letter-spacing: -0.5px; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 24px; font-size: 14px; font-weight: 500; color: #6B7280; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: #0D1E35; text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a:hover { color: #FF9900; }
.breadcrumbs span { color: #9CA3AF; }

/* Catalog Layout */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.catalog-sidebar { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); position: sticky; top: 24px; }
.catalog-main { min-width: 0; }

/* Sidebar Categories */
.catalog-sidebar h3 { font-size: 18px; font-weight: 700; color: #0D1E35; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 2px solid #F3F4F6; }
.cat-tree-list { list-style: none; padding: 0; margin: 0 0 32px; }
.cat-tree-list ul { list-style: none; padding-left: 16px; margin: 8px 0; border-left: 2px solid #F3F4F6; }
.cat-tree-link { display: block; padding: 8px 0; color: #4B5563; text-decoration: none; font-size: 15px; font-weight: 500; transition: all 0.2s; border-radius: 6px; }
.cat-tree-link:hover, .cat-tree-link.active { color: #FF9900; font-weight: 700; transform: translateX(4px); }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #F3F4F6; text-decoration: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.product-card__img-wrap { width: 100%; height: 260px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #F3F4F6; }
.product-card__img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 0.4s; }
.product-card:hover .product-card__img-wrap img { transform: scale(1.05); }
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__category { font-size: 12px; font-weight: 600; color: #6B7280; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px; }
.product-card__name { font-size: 16px; font-weight: 700; color: #0D1E35; margin: 0 0 12px; line-height: 1.4; }
.product-card__price { font-size: 22px; font-weight: 800; color: #FF9900; margin-top: auto; }
.product-card__price span { font-size: 16px; font-weight: 700; margin-left: 2px; }
.product-card__specs { margin-bottom: 16px; font-size: 13px; color: #6B7280; display: flex; flex-direction: column; gap: 4px; }
.product-card__spec-item { display: flex; justify-content: space-between; border-bottom: 1px dashed #E5E7EB; padding-bottom: 2px; }
.product-card__spec-name { color: #9CA3AF; }
.product-card__spec-val { font-weight: 500; color: #4B5563; text-align: right; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.product-card__cart-btn { appearance: none; -webkit-appearance: none; background: #FF9900; color: #fff; border: none; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.product-card__cart-btn:hover { background: #e08000; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,153,0,0.3); }
.product-card__cart-btn svg { width: 18px; height: 18px; stroke: #fff; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); margin-bottom: 40px; }
.product-gallery__main { width: 100%; border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 16px; border: 1px solid #F3F4F6; display: flex; align-items: center; justify-content: center; min-height: 400px; padding: 20px; }
.product-gallery__main img { width: 100%; height: auto; max-height: 500px; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.product-gallery__thumb { width: 80px; height: 80px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; background: #fff; overflow: hidden; transition: all 0.2s; flex-shrink: 0; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.product-gallery__thumb:hover, .product-gallery__thumb.active { border-color: #FF9900; }
.product-info h1 { font-size: 32px; font-weight: 800; color: #0D1E35; margin: 0 0 16px; line-height: 1.2; letter-spacing: -0.5px; }
.product-info__sku { font-size: 14px; color: #6B7280; margin-bottom: 24px; font-weight: 500; }
.product-info__price { font-size: 36px; font-weight: 900; color: #FF9900; margin-bottom: 32px; letter-spacing: -1px; }
.product-info__price span { font-size: 20px; font-weight: 700; margin-left: 4px; }
.product-info__cart { display: flex; gap: 16px; margin-bottom: 40px; }
.product-info__qty { display: flex; align-items: center; border: 2px solid #F3F4F6; border-radius: 12px; overflow: hidden; background: #fff; }
.product-info__qty-btn { width: 44px; height: 44px; border: none; background: transparent; font-size: 20px; font-weight: 600; color: #4B5563; cursor: pointer; transition: background 0.2s; }
.product-info__qty-btn:hover { background: #F3F4F6; color: #0D1E35; }
.product-info__qty-input { width: 56px; height: 44px; border: none; text-align: center; font-size: 16px; font-weight: 700; color: #0D1E35; -moz-appearance: textfield; outline: none; }
.product-info__buy-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 32px; border-radius: 12px; font-size: 16px; font-weight: 700; box-shadow: 0 4px 16px rgba(255,153,0,0.3); background: linear-gradient(135deg, #FF9900, #e08000); color: #fff; border: none; cursor: pointer; transition: all 0.2s; }
.product-info__buy-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,153,0,0.5); }
.product-specs { border-top: 1px solid #F3F4F6; padding-top: 32px; }
.product-specs h3 { font-size: 20px; font-weight: 800; margin: 0 0 20px; color: #0D1E35; }
.product-spec-row { display: flex; padding: 12px 0; border-bottom: 1px solid #F3F4F6; font-size: 15px; }
.product-spec-name { width: 40%; color: #6B7280; }
.product-spec-val { width: 60%; font-weight: 600; color: #0D1E35; }

/* Buttons global */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: linear-gradient(135deg, #FF9900, #e08000); color: #fff; border: none; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.22s ease; box-shadow: 0 4px 14px rgba(255,153,0,0.35); text-decoration: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,153,0,0.5); color: #fff; }

/* Cart */
.cart-items { background: #fff; border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); overflow: hidden; margin-bottom: 32px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr 140px 120px 40px; gap: 24px; align-items: center; padding: 24px; border-bottom: 1px solid #F3F4F6; }
.cart-item:last-child { border-bottom: none; }
.cart-item__img { width: 100px; height: 100px; border-radius: 12px; background: #fff; border: 1px solid #F3F4F6; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item__name { font-size: 16px; font-weight: 700; color: #0D1E35; text-decoration: none; transition: color 0.2s; display: block; margin-bottom: 8px; }
.cart-item__name:hover { color: #FF9900; }
.cart-item__price { font-size: 16px; font-weight: 700; color: #6B7280; }
.cart-item__qty { display: flex; align-items: center; border: 2px solid #F3F4F6; border-radius: 8px; overflow: hidden; }
.cart-qty-btn { width: 36px; height: 36px; border: none; background: #fff; font-size: 18px; font-weight: 600; cursor: pointer; }
.cart-qty-btn:hover { background: #F3F4F6; }
.cart-qty-input { width: 44px; height: 36px; border: none; text-align: center; font-weight: 700; font-size: 15px; outline: none; }
.cart-item__subtotal { font-size: 18px; font-weight: 800; color: #0D1E35; text-align: right; }
.cart-item__remove { background: #FEE2E2; color: #EF4444; border: none; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.cart-item__remove:hover { background: #EF4444; color: #fff; }
.cart-summary { background: #fff; border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); padding: 32px; text-align: right; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 16px; color: #4B5563; margin-bottom: 16px; }
.cart-summary__total { font-size: 24px; font-weight: 900; color: #FF9900; border-top: 2px solid #F3F4F6; padding-top: 16px; margin-top: 8px; }

/* Order Form */
.order-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.order-form-box { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
.order-form-group { margin-bottom: 24px; }
.order-form-group label { display: block; font-size: 14px; font-weight: 600; color: #4B5563; margin-bottom: 8px; }
.order-form-group input, .order-form-group textarea, .order-form-group select { width: 100%; padding: 14px 16px; background: #F9FAFB; border: 2px solid #E5E7EB; border-radius: 12px; font-size: 15px; font-family: inherit; transition: all 0.2s; box-sizing: border-box; }
.order-form-group input:focus, .order-form-group textarea:focus, .order-form-group select:focus { border-color: #FF9900; background: #fff; outline: none; }
.order-summary-box { background: #0D1E35; border-radius: 20px; padding: 32px; color: #fff; position: sticky; top: 24px; }
.order-summary-box h3 { font-size: 20px; font-weight: 800; margin: 0 0 24px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; color: #fff; }
.order-summary__row { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 15px; color: rgba(255,255,255,0.7); }
.order-summary__total { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 24px; font-weight: 900; color: #FF9900; display: flex; justify-content: space-between; align-items: center; }
.order-submit-btn { width: 100%; margin-top: 32px; padding: 16px; font-size: 16px; font-weight: 700; background: #FF9900; color: #fff; border: none; border-radius: 12px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.order-submit-btn:hover { background: #e08000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,153,0,0.4); }

/* CDEK */
.cdek-section { margin-top: 32px; padding-top: 32px; border-top: 2px solid #F3F4F6; }
.cdek-section h3 { font-size: 18px; font-weight: 800; color: #0D1E35; margin: 0 0 20px; display: flex; align-items: center; gap: 8px; }
.cdek-city-results, .cdek-pvz-list { max-height: 250px; overflow-y: auto; background: #fff; border: 2px solid #E5E7EB; border-radius: 12px; margin-top: 8px; }
.cdek-city-item, .cdek-pvz-item { padding: 12px 16px; cursor: pointer; transition: background 0.2s; border-bottom: 1px solid #F3F4F6; font-size: 14px; }
.cdek-city-item:hover, .cdek-pvz-item:hover { background: #F9FAFB; }
.cdek-pvz-item--selected { background: rgba(255,153,0,0.1) !important; border-left: 4px solid #FF9900; }
.cdek-tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.cdek-tariff-item { background: #fff; border: 2px solid #E5E7EB; border-radius: 12px; padding: 16px; cursor: pointer; transition: all 0.2s; }
.cdek-tariff-item:hover { border-color: #FF9900; box-shadow: 0 4px 12px rgba(255,153,0,0.1); }
.cdek-tariff-item--selected { border-color: #FF9900; background: rgba(255,153,0,0.05); }
.cdek-tariff-name { font-weight: 700; color: #0D1E35; margin-bottom: 8px; font-size: 15px; }
.cdek-tariff-price { font-weight: 800; color: #FF9900; font-size: 18px; }

/* Filter Buttons & empty states */
.mobile-filter-toggle { display: none; width: 100%; padding: 14px; background: #0D1E35; color: #fff; border: none; border-radius: 12px; font-weight: 700; margin-bottom: 24px; cursor: pointer; transition: all 0.2s; }
.mobile-filter-toggle:hover { background: #172F50; transform: translateY(-2px); }
.filter-group { margin-bottom: 24px; }
.filter-group-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; cursor: pointer; color: #0D1E35; }
.filter-price-inputs { display: flex; align-items: center; gap: 8px; }
.filter-price-inputs input { width: 100%; padding: 10px; border: 1px solid #E5E7EB; border-radius: 8px; font-size: 14px; outline: none; transition: border-color 0.2s; }
.filter-price-inputs input:focus { border-color: #FF9900; }
.filter-checkboxes { max-height: 200px; overflow-y: auto; }
.filter-checkbox-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; cursor: pointer; color: #4B5563; }
.filter-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: #FF9900; cursor: pointer; }
.filter-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.filter-btn { width: 100%; padding: 12px; border: none; border-radius: 8px; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-align: center; text-decoration: none; transition: all 0.2s; }
.filter-btn-apply { background: #FF9900; color: #fff; box-shadow: 0 4px 12px rgba(255,153,0,0.2); }
.filter-btn-apply:hover { background: #e08000; transform: translateY(-2px); }
.filter-btn-reset { background: #F3F4F6; color: #4B5563; }
.filter-btn-reset:hover { background: #E5E7EB; }

.empty-state { text-align: center; padding: 60px 20px; background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.empty-state__icon svg { width: 64px; height: 64px; color: #D1D5DB; margin-bottom: 16px; }
.empty-state h2 { margin: 0 0 12px; color: #0D1E35; font-size: 24px; font-weight: 700; }
.empty-state p { color: #6B7280; font-size: 16px; margin: 0 0 24px; }

/* Responsive */
@media (max-width: 1024px) {
  .catalog-layout, .order-layout { grid-template-columns: 1fr; }
  .mobile-filter-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .catalog-sidebar { display: none; position: static; top: auto; width: 100%; margin-bottom: 8px; box-sizing: border-box; }
  .catalog-sidebar.active { display: block; }
  .product-detail { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .cart-item { grid-template-columns: 80px minmax(0, 1fr) auto 40px; gap: 16px; padding: 16px; }
  .cart-item__price { display: block; margin-top: 6px; color: #FF9900; }
  .cart-item__subtotal { display: none; }
}
@media (max-width: 768px) {
  .page-content { padding: 28px 0; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .product-card__body { padding: 16px; }
  .product-card__bottom { gap: 10px; }
  .product-card__cart-btn { padding: 10px 13px; white-space: nowrap; }
  .cdek-tariffs { grid-template-columns: 1fr; }
  .titles { font-size: 26px; margin-bottom: 20px; }
  .cart-summary { padding: 24px; }
}
@media (max-width: 600px) {
  .product-detail { padding: 18px; gap: 24px; border-radius: 16px; }
  .product-gallery__main { min-height: 280px; padding: 12px; }
  .product-info h1 { font-size: 25px; }
  .product-info__price { font-size: 30px; margin-bottom: 24px; }
  .product-info__cart { flex-direction: column; gap: 12px; margin-bottom: 28px; }
  .product-info__qty { width: max-content; }
  .product-info__buy-btn { min-height: 50px; padding: 0 20px; }
  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) 40px;
    grid-template-areas: 'image info remove' 'image qty qty';
    gap: 12px 14px;
    align-items: center;
  }
  .cart-item__img { grid-area: image; width: 72px; height: 72px; }
  .cart-item__info { grid-area: info; min-width: 0; }
  .cart-item__name { margin-bottom: 4px; line-height: 1.35; }
  .cart-item__price { font-size: 15px; margin-top: 4px; }
  .cart-item__qty { grid-area: qty; width: max-content; }
  .cart-item__remove { grid-area: remove; }
  .cart-summary { padding: 20px; border-radius: 16px; }
}
@media (max-width: 480px) {
  .page-content { padding: 22px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .titles { font-size: 23px; }
}

/* ===== FOOTER ===== */
    .new-footer {
      background: #0D1E35;
      padding: 56px 0 0;
      margin-top: 0;
    }
    .new-footer__grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
      gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .new-footer__logo { display: inline-block; margin-bottom: 16px; }
    .new-footer__desc {
      font-size: 14px; line-height: 1.7;
      color: rgba(255,255,255,0.45); margin: 0 0 20px;
    }
    .new-footer__socials { display: flex; gap: 10px; }
    .new-footer__social {
      width: 38px; height: 38px; border-radius: 50%;
      background: rgba(255,255,255,0.07);
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.6); text-decoration: none;
      transition: all 0.2s;
    }
    .new-footer__social:hover { background: #FF9900; color: #fff; }
    .new-footer__heading {
      font-size: 13px; font-weight: 700; color: #fff;
      text-transform: uppercase; letter-spacing: 1.5px;
      margin: 0 0 18px;
    }
    .new-footer__links {
      list-style: none; margin: 0; padding: 0;
      display: flex; flex-direction: column; gap: 10px;
    }
    .new-footer__links a {
      color: rgba(255,255,255,0.5); text-decoration: none;
      font-size: 14px; transition: color 0.2s;
    }
    .new-footer__links a:hover { color: #FF9900; }
    .new-footer__contacts {
      list-style: none; margin: 0; padding: 0;
      display: flex; flex-direction: column; gap: 14px;
    }
    .new-footer__contacts li {
      display: flex; align-items: flex-start; gap: 10px;
    }
    .new-footer__contact-icon {
      width: 32px; height: 32px; border-radius: 8px;
      background: rgba(255,153,0,0.12);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; font-size: 15px;
    }
    .new-footer__contacts span,
    .new-footer__contacts a {
      font-size: 14px; color: rgba(255,255,255,0.5);
      text-decoration: none; line-height: 1.5; padding-top: 4px;
    }
    .new-footer__contacts a:hover { color: #FF9900; }
    .new-footer__bottom {
      display: flex; justify-content: space-between;
      align-items: center; padding: 20px 0;
      font-size: 13px; color: rgba(255,255,255,0.3);
    }
    @media (max-width: 768px) {
      .new-footer__grid { grid-template-columns: 1fr; gap: 32px; }
      .new-footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
    }
  
/* ===== Landing Page Styles ===== */
.lp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lp-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.lp-revealed { opacity: 1; transform: translateY(0); }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 36px; font-size: 16px; font-weight: 700; text-decoration: none; border-radius: 12px; transition: all 0.2s ease; cursor: pointer; border: none; font-family: inherit; }
.lp-btn--primary { background: #FF9900; color: #fff; box-shadow: 0 4px 14px rgba(255,153,0,0.3); }
.lp-btn--primary:hover { background: #e08000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,153,0,0.4); }
.lp-btn--ghost { background: transparent; border: 2px solid rgba(255,255,255,0.2); color: #fff; }
.lp-btn--ghost:hover { border-color: #FF9900; color: #FF9900; background: rgba(255,153,0,0.05); }
.lp-btn--lg { padding: 16px 36px; font-size: 16px; }

/* Hero */
.lp-hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: #0D1E35; overflow: hidden; margin-top: -40px; }
.lp-hero__bg { position: absolute; inset: 0; opacity: 0.6; mix-blend-mode: overlay; background: url('/img/hero_pic1.jpg') center/cover no-repeat; }
.lp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, #0D1E35 0%, rgba(13,30,53,0.85) 100%); }
.lp-hero__content { position: relative; z-index: 2; padding: 100px 0; color: #fff; max-width: 800px; }
.lp-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,153,0,0.15); padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 700; color: #FF9900; margin-bottom: 24px; border: 1px solid rgba(255,153,0,0.3); }
.lp-hero__title { font-size: 54px; font-weight: 900; line-height: 1.1; margin: 0 0 24px; letter-spacing: -1px; }
.lp-hero__sub { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.6; margin: 0 0 40px; max-width: 600px; }
.lp-hero__btns { display: flex; gap: 16px; margin-bottom: 60px; }
.lp-hero__stats { display: flex; gap: 40px; }
.lp-hero__stat { display: flex; flex-direction: column; }
.lp-hero__stat-div { display: none; }
.lp-hero__stat strong { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.lp-hero__stat span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-top: 8px; letter-spacing: 1px; }

/* Cert */
.lp-cert { background: #fff; border-bottom: 1px solid #E5E7EB; padding: 20px 0; }
.lp-cert__inner { display: flex; align-items: center; gap: 24px; background: #FFFBF2; border: 1px solid #FFEDD5; border-radius: 16px; padding: 20px 32px; }
.lp-cert__shield { width: 48px; height: 48px; flex-shrink: 0; }
.lp-cert__text { flex: 1; }
.lp-cert__text strong { display: block; font-size: 18px; font-weight: 800; color: #0D1E35; margin-bottom: 4px; }
.lp-cert__text span { font-size: 14px; color: #4B5563; }
.lp-cert__badge { font-weight: 900; font-size: 16px; color: #FF9900; text-align: center; border-left: 2px solid #FFEDD5; padding-left: 24px; }

/* Products / General Sections */
.lp-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.lp-tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 6px 12px; border-radius: 6px; margin-bottom: 16px; }
.lp-tag--orange { background: rgba(255,153,0,0.1); color: #FF9900; }
.lp-tag--dark { background: rgba(13,30,53,0.1); color: #0D1E35; }
.lp-section-title { font-size: 36px; font-weight: 900; color: #0D1E35; margin: 0; letter-spacing: -0.5px; line-height: 1.2; }
.lp-section-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #FF9900; text-decoration: none; font-size: 16px; transition: color 0.2s; }
.lp-section-link:hover { color: #e08000; }

/* Carousel */
.lp-products { padding: 80px 0; background: #fff; }
.lp-carousel-wrap { position: relative; margin: 0 -20px; padding: 0 20px; }
.lp-carousel-track { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 20px; }
.lp-carousel-track::-webkit-scrollbar { display: none; }
.lp-pcard { width: 300px; flex-shrink: 0; background: #fff; border-radius: 16px; border: 1px solid #F3F4F6; padding: 24px; transition: all 0.3s ease; text-decoration: none; display: flex; flex-direction: column; }
.lp-pcard:hover { border-color: #FF9900; box-shadow: 0 12px 30px rgba(0,0,0,0.06); transform: translateY(-4px); }
.lp-pcard__img { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.lp-pcard__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lp-pcard__cat { font-size: 12px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; margin-bottom: 8px; }
.lp-pcard__title { font-size: 16px; font-weight: 800; color: #0D1E35; margin: 0 0 16px; line-height: 1.4; }
.lp-pcard__price { font-size: 22px; font-weight: 900; color: #FF9900; margin-top: auto; }
.lp-carousel-controls { display: flex; gap: 12px; }
.lp-cbtn { width: 44px; height: 44px; border-radius: 12px; border: 2px solid #F3F4F6; background: #fff; color: #0D1E35; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.lp-cbtn:hover { border-color: #FF9900; color: #FF9900; background: rgba(255,153,0,0.05); }

/* Product card body/name/specs for carousel */
.lp-pcard__body { display: flex; flex-direction: column; flex: 1; }
.lp-pcard__name { font-size: 15px; font-weight: 700; color: #0D1E35; margin: 0 0 12px; line-height: 1.4; }
.lp-pcard__specs { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.lp-pcard__spec { display: flex; justify-content: space-between; font-size: 12px; color: #6B7280; border-bottom: 1px dashed #E5E7EB; padding-bottom: 3px; }
.lp-pcard__spec span { color: #9CA3AF; }
.lp-pcard__spec strong { color: #4B5563; font-weight: 500; }
.lp-pcard__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.lp-pcard__btn { appearance: none; -webkit-appearance: none; background: #FF9900; color: #fff; border: none; width: auto; min-width: 112px; height: 40px; padding: 0 12px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; transition: all 0.2s; flex-shrink: 0; font-family: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; }
.lp-pcard__btn:hover { background: #e08000; transform: scale(1.1); }
.lp-pcard__btn svg { width: 18px; height: 18px; stroke: #fff; pointer-events: none; }
.lp-pcard__noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #F9FAFB; border-radius: 8px; color: #9CA3AF; }
.lp-carousel-wrap { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.lp-carousel { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; flex: 1; }
.lp-carousel::-webkit-scrollbar { display: none; }
.lp-carousel-arrow { appearance: none; -webkit-appearance: none; width: 44px; height: 44px; border-radius: 12px; border: 2px solid #E5E7EB; background: #fff; color: #0D1E35; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; flex-shrink: 0; font-family: inherit; }
.lp-carousel-arrow:hover { border-color: #FF9900; color: #FF9900; }
.lp-carousel-arrow svg { width: 20px; height: 20px; stroke: currentColor; pointer-events: none; }

/* Partners Section */
.lp-partners { padding: 80px 0; background: #fff; }
.lp-partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.lp-partner-card { background: #F9FAFB; border-radius: 16px; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.3s; border: 1px solid #F3F4F6; }
.lp-partner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); border-color: #FF9900; }
.lp-partner-card__logo { max-height: 60px; max-width: 160px; object-fit: contain; margin-bottom: 16px; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s; }
.lp-partner-card:hover .lp-partner-card__logo { filter: grayscale(0); opacity: 1; }
.lp-partner-card__name-big { font-size: 22px; font-weight: 800; color: #0D1E35; margin-bottom: 12px; }
.lp-partner-card__name { font-size: 16px; font-weight: 700; color: #0D1E35; margin-bottom: 6px; }
.lp-partner-card__desc { font-size: 13px; color: #6B7280; line-height: 1.5; }

/* Portfolio Section */
.lp-portfolio { padding: 80px 0; background: #F4F6F9; }
.lp-portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.lp-portfolio-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: all 0.3s; border: 1px solid #F3F4F6; }
.lp-portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.lp-portfolio-card__img { width: 100%; height: 240px; background-size: cover; background-position: center; background-color: #F3F4F6; }
.lp-portfolio-card__img--empty { display: flex; align-items: center; justify-content: center; }
.lp-portfolio-card__img--empty svg { width: 48px; height: 48px; }
.lp-portfolio-card__body { padding: 24px; }
.lp-portfolio-card__title { font-size: 18px; font-weight: 800; color: #0D1E35; margin: 0 0 12px; }
.lp-portfolio-card__desc { font-size: 14px; color: #4B5563; line-height: 1.6; margin: 0 0 16px; }
.lp-portfolio-card__client { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #FF9900; }

@media (max-width: 768px) {
  .lp-partners__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lp-portfolio__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .lp-partners__grid { grid-template-columns: 1fr; }
}


/* Why Us */
.lp-why { padding: 80px 0; background: #F4F6F9; }
.lp-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.lp-why__card, .lp-why-card { background: #fff; border-radius: 16px; padding: 32px 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid #F3F4F6; }
.lp-why__card:hover, .lp-why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.07); }
.lp-why__card-icon, .lp-why-card__icon { width: 56px; height: 56px; background: rgba(255,153,0,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; }
.lp-why__card-icon svg, .lp-why-card__icon svg { width: 44px; height: 44px; }
.lp-why__card-title, .lp-why-card h3 { font-size: 18px; font-weight: 800; color: #0D1E35; margin: 0 0 12px; }
.lp-why__card-text, .lp-why-card p { font-size: 14px; color: #4B5563; line-height: 1.6; margin: 0; }

/* Steps */
.lp-steps { padding: 80px 0; background: #fff; }
.lp-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.lp-step { position: relative; padding: 24px; border-radius: 16px; background: #F9FAFB; transition: background 0.3s; }
.lp-step:hover { background: #FFFBF2; }
.lp-step__num { font-size: 48px; font-weight: 900; color: rgba(13,30,53,0.05); position: absolute; top: 16px; right: 24px; line-height: 1; }
.lp-step__icon { width: 48px; height: 48px; margin-bottom: 24px; }
.lp-step h3 { font-size: 18px; font-weight: 800; color: #0D1E35; margin: 0 0 12px; }
.lp-step p { font-size: 14px; color: #4B5563; line-height: 1.6; margin: 0; }

/* About */
.lp-about { padding: 80px 0; background: #fff; border-top: 1px solid #F3F4F6; }
.lp-about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lp-about__text p { font-size: 16px; color: #4B5563; line-height: 1.7; margin-bottom: 16px; }
.lp-about__cards { display: flex; flex-direction: column; gap: 16px; }
.lp-acard { display: flex; align-items: center; gap: 20px; padding: 24px; background: #F9FAFB; border-radius: 16px; border: 1px solid #E5E7EB; }
.lp-acard__icon { width: 48px; height: 48px; flex-shrink: 0; }
.lp-acard strong { display: block; font-size: 16px; font-weight: 800; color: #0D1E35; margin-bottom: 4px; }
.lp-acard span { font-size: 14px; color: #6B7280; }

/* CTA */
.lp-cta { padding: 80px 0; background: #0D1E35; text-align: center; color: #fff; position: relative; overflow: hidden; }
.lp-cta__glow { position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,153,0,0.15) 0%, transparent 70%); transform: translate(-50%, -50%); pointer-events: none; }
.lp-cta__inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.lp-cta h2 { font-size: 42px; font-weight: 900; margin: 0 0 20px; letter-spacing: -1px; }
.lp-cta p { font-size: 18px; color: rgba(255,255,255,0.8); margin: 0 0 40px; }
.lp-cta__btns { display: flex; gap: 16px; justify-content: center; }

/* Responsive */
@media (max-width: 1024px) {
  .lp-why__grid, .lp-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-about__inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .lp-hero__title { font-size: 36px; }
  .lp-hero__stats { flex-wrap: wrap; gap: 20px; }
  .lp-hero__btns { flex-direction: column; }
  .lp-cert__inner { flex-direction: column; text-align: center; }
  .lp-cert__badge { border-left: none; border-top: 2px solid #FFEDD5; padding: 16px 0 0; margin-top: 16px; width: 100%; }
  .lp-why__grid, .lp-steps__grid { grid-template-columns: 1fr; }
  .lp-cta__btns { flex-direction: column; }
  .lp-hero { min-height: auto; }
  .lp-hero__badge { font-size: 13px; padding: 7px 12px; margin-bottom: 18px; }
  .lp-hero__title { font-size: 32px; margin-bottom: 18px; }
  .lp-hero__title br, .lp-hero__sub br { display: none; }
  .lp-hero__sub { font-size: 16px; line-height: 1.55; margin-bottom: 26px; }
  .lp-hero__content { padding: 72px 0 64px; }
  .lp-hero__sub { margin-bottom: 28px; }
  .lp-hero__btns { gap: 10px; margin-bottom: 28px; }
  .lp-hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; width: 100%; }
  .lp-hero__stat strong { font-size: 28px; }
  .lp-cta { padding: 56px 0; }
  .lp-cta h2 { font-size: 32px; }
  .lp-cta p { font-size: 16px; margin-bottom: 28px; }
  /* Fix section headers on mobile */
  .lp-section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .lp-section-title { font-size: 26px; }
  .lp-section-sub { display: none; }
  .lp-section-link { font-size: 13px; }
  /* Fix horizontal overflow */
  body, html { overflow-x: hidden; max-width: 100vw; }
  .lp-container { padding: 0 16px; }
  /* Fix carousel cards on mobile */
  .lp-pcard { width: 280px; padding: 18px; }
  .lp-pcard__img { height: 180px; }
  .lp-products, .lp-why, .lp-steps, .lp-about, .lp-partners, .lp-portfolio { padding: 56px 0; }
}

@media (max-width: 600px) {
  .lp-hero__title { font-size: 28px; line-height: 1.12; letter-spacing: -0.5px; }
  .lp-hero__sub { font-size: 15px; line-height: 1.5; }
  .lp-hero__badge { font-size: 12px; line-height: 1.35; }

  .lp-carousel-wrap { display: block; margin: 24px 0 0; padding: 0 0 52px; }
  .lp-carousel { width: 100%; gap: 12px; padding: 2px 0 6px; scroll-snap-type: x mandatory; scroll-padding-left: 0; }
  .lp-pcard {
    box-sizing: border-box;
    flex: 0 0 min(82vw, 310px);
    width: min(82vw, 310px);
    max-width: 310px;
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
    scroll-snap-align: start;
    box-shadow: 0 8px 24px rgba(13,30,53,0.08);
  }
  .lp-pcard__img {
    height: 148px;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 14px;
    background: #F8FAFC;
    box-sizing: border-box;
  }
  .lp-pcard__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .lp-pcard__body { min-height: 0; }
  .lp-pcard__name {
    font-size: 14px;
    line-height: 1.35;
    min-height: 38px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lp-pcard__specs { gap: 2px; margin-bottom: 8px; }
  .lp-pcard__spec { font-size: 11px; line-height: 1.25; padding-bottom: 2px; gap: 8px; }
  .lp-pcard__spec span { min-width: 0; }
  .lp-pcard__spec strong { max-width: 44%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lp-pcard__footer { gap: 8px; flex-wrap: nowrap; padding-top: 8px; }
  .lp-pcard__price { font-size: 19px; line-height: 1.1; white-space: nowrap; }
  .lp-pcard__btn { min-width: 102px; height: 36px; font-size: 11.5px; padding: 0 9px; gap: 5px; }
  .lp-pcard__btn svg { width: 16px; height: 16px; }
  .lp-carousel-arrow { position: absolute; bottom: 0; top: auto; width: 38px; height: 38px; border-radius: 10px; z-index: 3; }
  .lp-carousel-arrow--prev { left: calc(50% - 45px); }
  .lp-carousel-arrow--next { left: calc(50% + 7px); }
  .lp-products .lp-center { margin-top: 18px !important; }
}

@media (min-width: 601px) and (max-width: 768px) {
  .lp-why__grid, .lp-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Mobile navigation refinement ===== */
@media (max-width: 1024px) {
  .header { position: relative; z-index: 120; background: #fff; }
  .menubox {
    position: fixed !important;
    top: 108px !important;
    left: 16px !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    height: auto !important;
    max-height: calc(100dvh - 124px);
    padding: 10px !important;
    border-radius: 18px;
    background: #0D1E35 !important;
    box-shadow: 0 22px 60px rgba(4, 16, 32, 0.28);
    transform: translateY(-12px) scale(.985) !important;
    transform-origin: top left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .menubox.menubox-active {
    transform: translateY(0) scale(1) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .menubox .header__list {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .menubox .header__item,
  .menubox .header__item:not(:last-child) {
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.25;
  }
  .menubox .header__url {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 14px;
    border: 0;
    border-radius: 12px;
    color: #fff !important;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
  }
  .menubox .header__url::after {
    content: '';
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: 12px;
    border-top: 2px solid #FF9900;
    border-right: 2px solid #FF9900;
    transform: rotate(45deg);
  }
  .menubox .header__url:hover,
  .menubox .header__url:focus-visible {
    background: rgba(255,255,255,.08);
    color: #FF9900 !important;
    outline: none;
  }
  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(7, 20, 38, .42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .mobile-nav-backdrop.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
  body.mobile-nav-open { overflow: hidden; }

  .burger { transition: border-color .18s ease, transform .18s ease; }
  .burger::before, .burger::after { transition: transform .18s ease, top .18s ease, width .18s ease, background-color .18s ease; }
  .burger.cross { transform: none !important; border-top-color: transparent !important; }
  .burger.cross::before { display: block !important; top: 8px; width: 100% !important; transform: rotate(45deg); background-color: var(--color-dark); }
  .burger.cross::after { top: 8px; width: 100% !important; transform: rotate(-45deg); background-color: var(--color-dark); }
}
@media (max-width: 768px) {
  .menubox {
    top: 77px !important;
    left: 12px !important;
    width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 89px);
    border-radius: 16px;
  }
}

/* ===== Catalog cards refinement ===== */
.product-card {
  border-radius: 18px;
  border: 1px solid #EDF1F5;
  box-shadow: 0 8px 24px rgba(13,30,53,0.055);
}
.product-card__img-wrap {
  height: 205px;
  background: #F8FAFC;
}
.product-card__img-wrap img { padding: 14px; }
.product-card__body { padding: 16px; }
.product-card__category { font-size: 11px; margin-bottom: 6px; }
.product-card__name {
  font-size: 15px;
  line-height: 1.35;
  min-height: 41px;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__specs { gap: 2px; margin-bottom: 8px; }
.product-card__spec-item { font-size: 11.5px; line-height: 1.25; padding-bottom: 2px; gap: 8px; }
.product-card__spec-val { max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card__spec-item:nth-child(n+5) { display: none; }
.product-card__bottom { gap: 8px; margin-top: 10px; }
.product-card__price { font-size: 19px; line-height: 1.1; margin-top: 0; white-space: nowrap; }
.product-card__price span { font-size: 14px; }
.product-card__cart-btn {
  min-width: 104px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12px;
  gap: 5px;
  white-space: nowrap;
}
.product-card__cart-btn svg { width: 16px; height: 16px; }

@media (max-width: 600px) {
  .products-grid { gap: 14px; }
  .product-card { border-radius: 18px; }
  .product-card__img-wrap { height: 158px; }
  .product-card__img-wrap img { padding: 10px; }
  .product-card__body { padding: 14px; }
  .product-card__category { font-size: 10px; margin-bottom: 5px; }
  .product-card__name { font-size: 14px; line-height: 1.35; min-height: 38px; margin-bottom: 7px; }
  .product-card__specs { margin-bottom: 6px; }
  .product-card__spec-item { font-size: 10.5px; line-height: 1.2; }
  .product-card__spec-item:nth-child(n+4) { display: none; }
  .product-card__bottom { margin-top: 8px; gap: 8px; }
  .product-card__price { font-size: 18px; }
  .product-card__price span { font-size: 13px; }
  .product-card__cart-btn { min-width: 102px; min-height: 36px; padding: 0 9px; font-size: 11.5px; }
}

/* ===== Header Catalog Button ===== */
.header__catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FF9900;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s;
  margin-left: 24px;
  white-space: nowrap;
}
.header__catalog-btn:hover {
  background: #e08000;
  transform: translateY(-1px);
  color: #fff;
}
.header__catalog-btn svg {
  flex-shrink: 0;
}

/* ===== Header Cart Button ===== */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  color: #0D1E35;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.header-cart:hover {
  background: rgba(255,153,0,0.1);
  color: #FF9900;
}
.header-cart__svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}
.header-cart__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: #FF9900;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}
