.catalog-home { --home-rule: #dce3eb; --home-accent: var(--shop-red); color: #182636; padding-block: 22px 48px; }
.catalog-home-hero { display: grid; grid-template-columns: minmax(210px, 19%) minmax(0, 1fr); border: 1px solid var(--home-rule); border-radius: 10px; overflow: hidden; }
.catalog-home-categories { padding: 18px 16px; background: #f6f8fa; }
.catalog-home-categories > div, .catalog-home-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.catalog-home-categories > div a, .catalog-home-heading > a { color: var(--shop-red); font-size: .85rem; }
.catalog-home-categories ul { margin: 8px 0 0; padding: 0; list-style: none; }
.catalog-home-categories li a { display: block; padding: 5px 8px; border-radius: 4px; font-weight: 600; line-height: 1.25; }
.catalog-home-banner { display: grid; align-items: center; min-height: 410px; padding: clamp(18px, 4vw, 60px); background: #f5f7fa url('../images/vinosen/electronics-hero.webp') center right / cover no-repeat; }
.catalog-home-banner > div { background: #ffffffed; padding: clamp(16px, 3vw, 36px); max-width: min(450px, 58%); border-left: 3px solid var(--home-accent); border-radius: 0 8px 8px 0; box-shadow: 0 8px 28px #18263614; }
.catalog-home-banner h1 { color: #182636; font-size: clamp(27px, 3vw, 44px); margin-bottom: 14px; }
.catalog-home-banner p { margin-bottom: 20px; }
.catalog-home .catalog-home-banner .action { background: var(--shop-red); color: white; }
.catalog-home-section { margin-top: 38px; }
.catalog-home-six, .catalog-home-news { display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.catalog-home-news { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-home-card, .catalog-home-brand { min-width: 0; border: 1px solid var(--home-rule); border-radius: 8px; background: white; transition: border-color .16s ease, box-shadow .16s ease; }
.catalog-home-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px; overflow-wrap: anywhere; }
.catalog-home-card:hover, .catalog-home-brand:hover { border-color: #a9b7c5; box-shadow: 0 5px 16px #18263613; }
.catalog-home-card img { width: 100%; height: 116px; object-fit: contain; }
.catalog-home-card span:not(.catalog-home-badge), .catalog-home-card small, .catalog-home-card time { color: #526171; }
.catalog-home-card b { margin-top: auto; padding-top: 6px; color: #182636; }
.catalog-home-badge { position: absolute; top: 7px; inset-inline-start: 7px; display: inline-flex; align-items: center; gap: 4px; width: fit-content; max-width: calc(100% - 14px); padding: 3px 7px; border: 1px solid; border-radius: 99px; font-size: .7rem; line-height: 1.25; font-weight: 700; }
.catalog-home-badge.stock { color: #17613e; background: #e8f5ee; border-color: #c8e6d5; }
.catalog-home-badge.hot { color: var(--shop-red); background: color-mix(in srgb, var(--shop-red) 8%, white); border-color: color-mix(in srgb, var(--shop-red) 25%, white); }
.catalog-home-six .catalog-home-card { background: transparent; }
.catalog-home-product-image { position: relative; display: grid; align-items: end; padding: 30px 6px 5px; background: transparent; }
.catalog-home-brand { display: grid; place-items: center; min-height: 88px; padding: 14px; }
.catalog-home-brand img { width: 100%; max-width: 160px; height: 48px; object-fit: contain; }
.catalog-home-news img { height: 145px; padding: 8px; border-radius: 6px; background: #f3f6f8; }
.catalog-home-news span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-home-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; padding-block: 4px; border-block: 1px solid var(--home-rule); }
.catalog-home-services a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; font-weight: 600; }
.catalog-home-services a + a { border-inline-start: 1px solid var(--home-rule); }
.catalog-home-services .ui-icon { color: var(--home-accent); font-size: 1.15rem; }
.catalog-home-heading { margin-bottom: 12px; border-bottom: 1px solid var(--home-rule); }
.catalog-home-heading h2 { margin: 0; border-bottom: 2px solid var(--home-accent); padding: 0 8px 9px 0; }
.catalog-home-categories li a:hover, .catalog-home-categories li a:focus-visible { background: #eaf0f5; }
.catalog-home :is(a, button):focus-visible { outline: 2px solid var(--home-accent); outline-offset: 2px; }
@media (max-width: 1023px) {
  .catalog-home-six { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .catalog-home-hero, .catalog-home-services { grid-template-columns: minmax(0, 1fr); }
  .catalog-home-services a { justify-content: flex-start; padding: 9px 12px; }
  .catalog-home-services a + a { border-inline-start: 0; border-top: 1px solid var(--home-rule); }
  .catalog-home-categories ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: minmax(125px, 42%); gap: 3px 10px; overflow-x: auto; }
  .catalog-home-banner { min-height: 275px; background-position: 62% center; }
  .catalog-home-banner > div { max-width: min(285px, 86%); }
  .catalog-home-six, .catalog-home-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
