/* Canonical “Коллекции” block shared by every page that presents it. */
.home-collections,
.home-collections *{box-sizing:border-box}
.home-collections{padding:92px 0;background:#f5f5f5;color:#152544;font-family:Inter,Arial,sans-serif}
.home-collections a{color:inherit;text-decoration:none}
.home-collections__container{width:min(1400px,calc(100vw - 48px));margin-inline:auto}
.home-collections__head{display:grid;grid-template-columns:690px minmax(0,1fr);column-gap:140px;align-items:start;margin-bottom:58px}
.home-collections__head h2{margin:0;color:#152544;font-size:48px;line-height:58px;font-weight:700}
.home-collections__aside{display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding-top:8px}
.home-collections__aside p{margin:0;color:#152544;font-size:18px;line-height:24px;font-weight:400}
.home-collections__all{display:inline-flex;align-items:center;justify-content:center;gap:14px;width:216px;height:44px;background:#3fa654;color:#fff!important;font-size:14px;line-height:18px;font-weight:600;transition:background-color 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1)}
.home-collections__all img{display:block;width:14px;height:14px;object-fit:contain;transition:transform 220ms cubic-bezier(.23,1,.32,1)}
.home-collections__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-collections__card{position:relative;display:block;height:361px;overflow:hidden;isolation:isolate;background:#152544;color:#fff;opacity:1!important}
.home-collections__card::after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 44%,rgba(0,0,0,.76) 100%);pointer-events:none}
.home-collections__card::before{content:none!important;display:none!important}
.home-collections__card>img{position:absolute;z-index:0;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;opacity:1!important;filter:none!important;backface-visibility:hidden;transform:translate3d(0,0,0) scale(1);transition:transform 520ms cubic-bezier(.16,1,.3,1);will-change:transform}
.home-collections__card-body{position:absolute;z-index:2;right:26px;bottom:24px;left:26px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-collections__card h3{margin:0;color:#fff;font-size:24px;line-height:30px;font-weight:700;text-shadow:0 1px 10px rgba(0,0,0,.38)}
.home-collections__more{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;background:#fff;transition:background-color 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1)}
.home-collections__more img{display:block;width:18px;height:18px;object-fit:contain;filter:brightness(0);transition:filter 220ms cubic-bezier(.23,1,.32,1),transform 220ms cubic-bezier(.23,1,.32,1)}
.home-collections__all:focus-visible,.home-collections__card:focus-visible{outline:3px solid #3fb874;outline-offset:4px}

@media(hover:hover) and (pointer:fine){
  .home-collections__all:hover{background:#328b46;transform:translateY(-2px)}
  .home-collections__all:hover img{transform:translateX(4px)}
  .home-collections__card:hover{opacity:1!important}
  .home-collections__card:hover>img{opacity:1!important;filter:none!important;transform:translate3d(0,0,0) scale(1.04)}
  .home-collections__card:hover .home-collections__more{background:#3fa654;transform:translateY(-2px)}
  .home-collections__card:hover .home-collections__more img{filter:brightness(0) invert(1);transform:translateX(2px)}
}

@media(min-width:1201px) and (max-width:1536px){
  .home-collections{padding:68px 0}
  .home-collections__container{width:1200px;max-width:calc(100vw - 48px)}
  .home-collections__head{grid-template-columns:minmax(0,1fr) minmax(360px,500px);column-gap:64px;margin-bottom:42px}
  .home-collections__head h2{font-size:42px;line-height:50px}
  .home-collections__aside{gap:20px;padding-top:4px}
  .home-collections__aside p{font-size:16px;line-height:24px}
  .home-collections__all{width:188px;height:42px}
  .home-collections__grid{gap:18px}
  .home-collections__card{height:300px}
  .home-collections__card-body{right:22px;bottom:20px;left:22px;gap:16px}
  .home-collections__card h3{font-size:20px;line-height:26px}
  .home-collections__more{width:40px;height:40px;flex-basis:40px}
}

@media(min-width:761px) and (max-width:1200px){
  .home-collections{padding:68px 0}
  .home-collections__container{width:min(1040px,calc(100vw - 48px))}
  .home-collections__head{grid-template-columns:minmax(0,1fr) minmax(300px,420px);column-gap:40px;margin-bottom:42px}
  .home-collections__head h2{font-size:42px;line-height:50px}
  .home-collections__aside{gap:20px;padding-top:4px}
  .home-collections__aside p{font-size:16px;line-height:24px}
  .home-collections__all{width:188px;height:42px}
  .home-collections__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .home-collections__card{height:300px}
  .home-collections__card-body{right:22px;bottom:20px;left:22px}
  .home-collections__card h3{font-size:20px;line-height:26px}
  .home-collections__more{width:40px;height:40px;flex-basis:40px}
}

@media(max-width:760px){
  .home-collections{padding:56px 0}
  .home-collections__container{width:calc(100vw - 32px)}
  .home-collections__head{grid-template-columns:1fr;gap:24px;margin-bottom:36px}
  .home-collections__head h2{font-size:40px;line-height:48px}
  .home-collections__aside{gap:20px;padding-top:0}
  .home-collections__aside p{font-size:16px;line-height:24px}
  .home-collections__all{width:188px;height:42px}
  .home-collections__grid{grid-template-columns:1fr;gap:18px}
  .home-collections__card{height:300px}
  .home-collections__card-body{right:20px;bottom:20px;left:20px;gap:16px}
  .home-collections__card h3{font-size:clamp(14px,4.6vw,18px);line-height:24px;white-space:nowrap}
  .home-collections__more{width:40px;height:40px;flex-basis:40px}
}

@media(prefers-reduced-motion:reduce){
  .home-collections__all,.home-collections__all img,.home-collections__card>img,.home-collections__more,.home-collections__more img{transition:none}
  .home-collections__all:hover,.home-collections__all:hover img,.home-collections__card:hover>img,.home-collections__card:hover .home-collections__more,.home-collections__card:hover .home-collections__more img{transform:none}
}
