/* Vendor dropdown content only. The homepage header and body retain styles.css. */
body:has(.home-hero) .header .mega-menu {
  --ink: #0b1228;
  --line: #d5deeb;
  --blue: var(--home-light-blue-6);
  --mega-surface: #fff;
  --mega-surface-subtle: #f4f6fa;
  --mega-surface-soft: #eaeff6;
  --mega-border: #d5deeb;
  --mega-text: #0b1228;
  --mega-text-card: #1a2a45;
  --mega-text-secondary: #52647e;
  --mega-text-muted: #687994;
  --mega-accent: var(--home-light-blue-6);
}

body:has(.home-hero) .header .mega-menu { position: absolute; top: 68px; left: 0; width: 100%; display: grid; grid-template-columns: 1.1fr repeat(var(--mega-columns,3),minmax(0,1fr)); gap: 44px; padding: 38px max(54px, calc((100vw - 1250px)/2)) 44px; background: var(--mega-surface); color: var(--mega-text); border-bottom: 1px solid var(--mega-border); box-shadow: 0 20px 50px rgba(5,9,26,.14); animation: megaIn .24s ease both; }

@keyframes megaIn {  from { opacity: 0; transform: translateY(-8px); }  }

body:has(.home-hero) .header .mega-intro { padding-right: 30px; border-right: 1px solid var(--line); }

body:has(.home-hero) .header .mega-intro > span,
body:has(.home-hero) .header .mega-column h3 { display: block; margin-bottom: 13px; color: var(--mega-text-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

body:has(.home-hero) .header .mega-intro h2 { max-width: 250px; margin: 0 0 24px; font: 700 27px/1.2 Manrope, sans-serif; }

body:has(.home-hero) .header .mega-intro a,
body:has(.home-hero) .header .mega-column a { display: flex; align-items: center; gap: 8px; font-size: 12px; }

body:has(.home-hero) .header .mega-intro a { color: var(--blue); font-weight: 700; }

body:has(.home-hero) .header .mega-column a { justify-content: space-between; padding: 9px 0; color: var(--mega-text-card); border-bottom: 1px solid var(--mega-surface-soft); }

body:has(.home-hero) .header .mega-column a svg,
body:has(.home-hero) .header .mega-intro a svg { width: 12px; fill: currentColor; transition: transform .2s; }

body:has(.home-hero) .header .mega-column a:hover svg,
body:has(.home-hero) .header .mega-intro a:hover svg { transform: translateX(4px); }

body:has(.home-hero) .header .mega-menu--catalog { display: block; padding: 0; }

body:has(.home-hero) .header .mega-catalog { width: calc(100% - 2 * max(36px, calc((100vw - 1320px)/2))); display: grid; grid-template-columns: 288px 1fr; margin: 0 auto; }

body:has(.home-hero) .header .mega-catalog-nav { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 40px 16px 48px 0; }

body:has(.home-hero) .header .mega-catalog-nav::after { content: ""; position: absolute; top: 40px; right: 0; bottom: 48px; width: 1px; background: var(--mega-surface-soft); }

body:has(.home-hero) .header .mega-catalog-nav [data-group-index],
body:has(.home-hero) .header .mega-catalog-all { width: 100%; min-height: 48px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: var(--home-space-3) var(--home-space-4); border: 0; border-radius: 4px; background: transparent; color: var(--mega-text-secondary); font-size: 16px; font-weight: var(--weight-medium); line-height: 1.5; text-align: left; white-space: nowrap; cursor: pointer; transition: color .2s ease, background-color .2s ease; }

body:has(.home-hero) .header .mega-catalog-nav [data-group-index] svg { width: 13px; flex: 0 0 auto; color: var(--mega-accent); fill: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }

body:has(.home-hero) .header .mega-catalog-nav [data-group-index]:hover svg,
body:has(.home-hero) .header .mega-catalog-nav [data-group-index]:focus-visible svg { opacity: 1; transform: translateX(0); }

body:has(.home-hero) .header .mega-catalog-nav [data-group-index]:hover,
body:has(.home-hero) .header .mega-catalog-nav [data-group-index]:focus-visible,
body:has(.home-hero) .header .mega-catalog-nav [data-group-index].is-active { background: var(--mega-surface-subtle); color: var(--mega-accent); outline: 0; }

body:has(.home-hero) .header .mega-catalog-all { width: calc(100% - 28px); min-height: 42px; margin: 12px 14px 0; padding: 0; border-top: 1px solid var(--mega-border); border-radius: 0; color: var(--mega-text); font-weight: 700; }

body:has(.home-hero) .header .mega-catalog-all:hover { color: var(--mega-accent); }

body:has(.home-hero) .header .mega-catalog-content { padding: 40px 0 48px 32px; }

body:has(.home-hero) .header .mega-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--home-space-3); align-content: start; }

body:has(.home-hero) .header .mega-product-card { position: relative; min-height: 112px; display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: var(--home-space-4); align-items: center; padding: var(--home-space-4); overflow: hidden; border: 1px solid var(--mega-surface-soft); border-radius: 5px; background: var(--mega-surface-subtle); color: var(--mega-text-card); animation: megaSeriesIn .55s cubic-bezier(.65,0,.35,1) both; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }

body:has(.home-hero) .header .mega-product-card:nth-child(2) { animation-delay: 60ms; }
body:has(.home-hero) .header .mega-product-card:nth-child(3) { animation-delay: 120ms; }
body:has(.home-hero) .header .mega-product-card:nth-child(4) { animation-delay: 180ms; }
body:has(.home-hero) .header .mega-product-card:nth-child(5) { animation-delay: 240ms; }
body:has(.home-hero) .header .mega-product-card:nth-child(6) { animation-delay: 300ms; }

@keyframes megaSeriesIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

body:has(.home-hero) .header .mega-product-card img { grid-column: 2; grid-row: 1; width: 120px; height: 80px; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; mix-blend-mode: multiply; }

body:has(.home-hero) .header .mega-product-card span { grid-column: 1; grid-row: 1; font: var(--weight-regular) 14px/1.35 Manrope, sans-serif; }

body:has(.home-hero) .header .mega-product-card:hover { border-color: var(--mega-border); box-shadow: 0 8px 20px rgba(11,18,40,.08); transform: translateY(-2px); }

@media (max-width: 1100px) and (min-width: 1051px) {
body:has(.home-hero) .header .mega-catalog { width: calc(100vw - 48px); grid-template-columns: 260px 1fr; }

body:has(.home-hero) .header .mega-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

body:has(.home-hero) .header .mega-product-card { grid-template-columns: minmax(0, 1fr) 120px; }

body:has(.home-hero) .header .mega-product-card img { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
body:has(.home-hero) .header .mega-product-card { animation: none; }
}

@media (max-width: 1050px) {
body:has(.home-hero) .header .mega-menu { display: none; }
}

body:has(.home-hero) .header .mega-intro > span,
body:has(.home-hero) .header .mega-column h3 { font-size: var(--type-label); line-height: 1.35; }

body:has(.home-hero) .header .mega-close { display: none; }

@media (max-width: 1050px) {
body:has(.home-hero) .header .mega-menu { position: fixed; top: 68px; right: 0; bottom: 0; left: 0; width: 100%; display: grid; grid-template-columns: 1fr; align-content: start; gap: 24px; padding: 24px; overflow-y: auto; }

body:has(.home-hero) .header .mega-menu.mega-menu--catalog { display: block; }

body:has(.home-hero) .header .mega-close { display: flex; align-items: center; grid-column: 1 / -1; margin: 0 0 22px; padding: 10px 0; border: 0; background: transparent; color: var(--mega-accent); font-size: 14px; cursor: pointer; }

body:has(.home-hero) .header .mega-intro { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--mega-border); }

body:has(.home-hero) .header .mega-intro h2 { max-width: none; font-size: 25px; }

body:has(.home-hero) .header .mega-catalog { width: 100%; min-height: 0; grid-template-columns: 1fr; }

body:has(.home-hero) .header .mega-catalog-nav { padding: 0 0 20px; border-bottom: 1px solid var(--mega-border); }

body:has(.home-hero) .header .mega-catalog-nav::after { display: none; }

body:has(.home-hero) .header .mega-catalog-content { padding: 24px 0; }

body:has(.home-hero) .header .mega-catalog-grid { grid-template-columns: 1fr; }

body:has(.home-hero) .header .mega-product-card { grid-template-columns: minmax(0,1fr) 120px; min-height: 112px; }

body:has(.home-hero) .header .mega-product-card img { width: 120px; object-fit: cover; }
}
