/* Central layout ported from the supplied SibRS HTML/CSS prototype. */
.sibrs-home {
  --sibrs-primary: var(--sibrs-color-accent);
  --sibrs-primary-strong: #4278F2;
  --page: #FBFBFB;
  --ink: #111318;
  --muted: #808080;
  --line: #E8E9EB;
  --green-weak: #E5F8EF;
  --shadow: 0 10px 30px rgba(29,46,84,.035);
}

.sibrs-home {
  padding: 22px 0 72px;
}

.sibrs-home__section {
  margin-top: 42px;
}

.sibrs-home__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
}

.sibrs-home__title {
  font-size: 32px;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 0;
  font-weight: 760;
}

.sibrs-home__more {
  font-size: 14px;
  font-weight: 720;
  color: var(--sibrs-primary-strong);
  white-space: nowrap;
  transition: opacity .2s;
}

.sibrs-home__more:hover {
  opacity: .7;
}

.sibrs-home__more svg {
  vertical-align: middle;
  margin-left: 4px;
}

.sibrs-home__hero {
  position: relative;
  isolation: isolate;
  min-height: 366px;
  background: linear-gradient(110deg,#f3f4fa 32%,#dfe8f9 100%);
  border: 1px solid #edf1f8;
  display: grid;
  grid-template-columns: 49% 51%;
  align-items: stretch;
  overflow: hidden;
  border-radius: 20px;
}

.sibrs-home__hero-copy {
  padding: 55px 0 45px 48px;
  z-index: 2;
  max-width: 650px;
}

.sibrs-home__hero h1 {
  font-size: clamp(36px,3.3vw,51px);
  line-height: 1.11;
  letter-spacing: -.052em;
  font-weight: 770;
  margin: 0 0 22px;
}

.sibrs-home__hero h1 span {
  font-style: normal;
  color: var(--sibrs-primary);
}

.sibrs-home__hero p {
  font-size: 15px;
  line-height: 1.65;
  color: #404859;
  max-width: 550px;
  margin: 0 0 24px;
}

.sibrs-home__hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sibrs-home__hero-actions .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  border: 1px solid var(--sibrs-primary);
  padding: 0 22px;
  min-height: 46px;
  font-size: 14px;
  font-weight: 730;
  white-space: nowrap;
  transition: transform .15s ease,background .15s ease,box-shadow .15s ease;
}

.sibrs-home__hero-actions .btn:hover {
  transform: translateY(-2px);
}

.sibrs-home__primary {
  background: var(--sibrs-primary);
  color: white;
  box-shadow: 0 7px 16px rgba(93,145,254,.17);
}

.sibrs-home__secondary {
  background: #fff;
  color: #3168DA;
}

.sibrs-home__hero-art {
  --hero-art-height: clamp(365px,22vw,415px);
  position: relative;
  align-self: stretch;
  min-height: var(--hero-art-height);
}

.sibrs-home__hero-picture {
  position: absolute;
  top: 50%;
  right: 0;
  width: min(155%,calc(var(--hero-art-height) * 2.375));
  transform: translateY(-50%);
  pointer-events: none;
}

/* Blend only the empty margins of the crop into the banner background. */
.sibrs-home__hero-picture img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to right,transparent,#000 32%),
              linear-gradient(to bottom,transparent,#000 8.5%,#000 91.5%,transparent);
  mask-composite: intersect;
}

.sibrs-home__benefits {
  --benefit-icon-size: 38px;
  margin: 18px 0 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.sibrs-home__benefits > li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px clamp(15px,1.6vw,26px);
  min-width: 0;
}

.sibrs-home__benefits > li + li {
  border-left: 1px solid var(--line);
}

.sibrs-home__benefits svg {
  color: var(--sibrs-primary);
  width: var(--benefit-icon-size);
  height: var(--benefit-icon-size);
}

.sibrs-home__benefit-title {
  font-size: 16px;
  font-weight: 760;
  line-height: 1.33;
}

.sibrs-home__benefit-note {
  font-size: 13px;
  color: #566276;
  line-height: 1.4;
  margin-top: 4px;
}

.sibrs-home__equipment {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.sibrs-home__category {
  --category-inset: 20px;
  --category-arrow-size: 40px;
  display: block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: linear-gradient(140deg,#fff 0%,#fff 37%,#f3f6fd 100%);
  height: clamp(256px,14vw,268px);
  padding: var(--category-inset);
  transition: box-shadow .17s ease,border-color .17s ease,transform .17s ease;
}

.sibrs-home__category:hover {
  transform: translateY(-3px);
  border-color: #c8d7fb;
  box-shadow: var(--shadow);
}

.sibrs-home__category h3 {
  font-size: 21px;
  line-height: 1.17;
  letter-spacing: -.025em;
  margin: 0 0 8px;
  max-width: 95%;
  font-weight: 760;
}

.sibrs-home__category p {
  font-size: 14px;
  line-height: 1.4;
  color: #566276;
  margin: 0;
  position: relative;
  z-index: 2;
}

.sibrs-home__category-photo {
  position: absolute;
  right: var(--category-inset);
  bottom: calc(var(--category-inset) + var(--category-photo-lift,0px));
  width: min(calc(100% - 2 * var(--category-inset) - var(--category-photo-clearance)),var(--category-photo-width));
  height: var(--category-photo-height);
  --category-photo-clearance: calc(var(--category-arrow-size) + 8px);
  pointer-events: none;
}

.sibrs-home__category-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.sibrs-home__category--servers {
  --category-photo-width: 290px;
  --category-photo-height: 118px;
}

.sibrs-home__category--workstations {
  --category-photo-width: 176px;
  --category-photo-height: 136px;
}

.sibrs-home__category--nas {
  --category-photo-width: 234px;
  --category-photo-height: 128px;
}

.sibrs-home__category--mini {
  --category-photo-width: 255px;
  --category-photo-height: 116px;
}

.sibrs-home__category .sibrs-home__arrow {
  position: absolute;
  bottom: var(--category-inset);
  left: var(--category-inset);
  display: grid;
  place-items: center;
  width: var(--category-arrow-size);
  height: var(--category-arrow-size);
  border-radius: 10px;
  border: 1px solid #dce5f4;
  background: #fff;
  color: #26364a;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  z-index: 3;
}

.sibrs-home__tasks {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 12px;
}

.sibrs-home__tasks a {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border-radius: 11px;
  border: 1px solid var(--line);
  padding: 12px 15px;
  color: #1b2434;
  font-weight: 680;
  font-size: 15px;
  transition: background .2s,border-color .2s;
}

.sibrs-home__tasks a:hover {
  background: #f7faff;
  border-color: #cad9fe;
}

.sibrs-home__tasks svg {
  color: var(--sibrs-primary-strong);
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.sibrs-home__configurations {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

.sibrs-home__configuration {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  min-width: 0;
  transition: border-color .2s,box-shadow .2s;
}

.sibrs-home__configuration:hover {
  border-color: #cad7f5;
  box-shadow: var(--shadow);
}

.sibrs-home__tags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.sibrs-home__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 8px;
  background: #E9F0FF;
  color: #356EE9;
  font-size: 13px;
  font-weight: 750;
}

.sibrs-home__badge--stock {
  background: var(--green-weak);
  color: #087347;
}

.sibrs-home__badge--order {
  background: #edf1f8;
  color: #465575;
}

.sibrs-home__product-photo {
  height: clamp(116px,8vw,148px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}

.sibrs-home__product-photo :is(img,svg) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sibrs-home__configuration h3 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0 0 8px;
  font-weight: 780;
  min-height: 2.5em;
}

.sibrs-home__specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
  color: #354155;
  font-size: 15px;
  line-height: 1.3;
}

.sibrs-home__specs > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 16px;
}

.sibrs-home__specs svg {
  color: #536987;
  width: 16px;
  height: 16px;
  vertical-align: -.18em;
}

.sibrs-home__product-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.sibrs-home__price {
  display: block;
  font-size: 24px;
  font-weight: 790;
  letter-spacing: -.03em;
  white-space: nowrap;
  color: #151a25;
}

.sibrs-home__price-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}

.sibrs-home__buy {
  width: 44px;
  height: 44px;
  border: 1px solid #b6cbff;
  background: #fff;
  color: var(--sibrs-primary-strong);
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  transition: background .15s;
}

.sibrs-home__buy:hover {
  background: #eaf1ff;
}

.sibrs-home__buy svg {
  width: 20px;
  height: 20px;
}

.sibrs-home__composition {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(680px,calc(100% - 32px));
  max-height: 82dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(16px,3vw,28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.sibrs-home__composition::backdrop {
  background: #151a2566;
}

.sibrs-home__composition-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.sibrs-home__composition h2 {
  font-size: 21px;
  font-weight: 700;
}

.sibrs-home__composition button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 24px;
}

.sibrs-home__composition dl > div {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.sibrs-home__composition dt {
  font-weight: 700;
}

.sibrs-home__composition dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.sibrs-home__composition a {
  display: inline-block;
  margin-top: 12px;
  color: var(--sibrs-primary-strong);
  font-weight: 700;
}

.sibrs-home__why {
  margin-top: 43px;
  display: grid;
  grid-template-columns: 1.22fr repeat(4,minmax(0,1fr));
  background: linear-gradient(125deg,#f5f8ff 0%,#edf3ff 100%);
  border: 1px solid #ebf0fb;
  border-radius: 18px;
  min-height: 144px;
  padding: 22px 20px;
  align-items: center;
}

.sibrs-home__why h2 {
  font-size: 28px;
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 0 12px;
}

.sibrs-home__why h2 span {
  display: block;
  color: var(--sibrs-primary);
  margin-top: 5px;
}

.sibrs-home__why li {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 96px;
  border-left: 1px solid #d8e1f2;
  padding: 3px 16px;
}

.sibrs-home__why li svg {
  height: 38px;
  width: 38px;
  color: var(--sibrs-primary-strong);
}

.sibrs-home__why li span {
  font-size: 15px;
  font-weight: 690;
  line-height: 1.38;
}

/* Mobile & tablet */
@media(max-width:1120px) {
  .sibrs-home__hero h1 {
    font-size: 40px;
  }
  .sibrs-home__hero-copy {
    padding: 42px 0 40px 34px;
  }
  .sibrs-home__benefits {
    grid-template-columns: repeat(2,1fr);
    row-gap: 10px;
  }
  .sibrs-home__benefits > li:nth-child(3) {
    border-left: 0;
  }
  .sibrs-home__equipment {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .sibrs-home__tasks {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .sibrs-home__why {
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
  }
  .sibrs-home__why h2 {
    grid-column: 1/-1;
    margin: 0 0 12px;
  }
  .sibrs-home__why ul > li:first-child {
    border-left: 0;
  }
}

@media(max-width:991.98px) {
  .sibrs-home__configurations {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:680px) {
  .sibrs-home {
    padding-top: 12px;
    padding-bottom: 38px;
  }
  .sibrs-home__hero {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(#f3f4fa 56%,#dfe8f9);
  }
  .sibrs-home__hero-copy {
    padding: 23px 17px 5px;
  }
  .sibrs-home__hero h1 {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .sibrs-home__hero p {
    font-size: 14px;
    line-height: 1.43;
    margin-bottom: 12px;
  }
  .sibrs-home__hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sibrs-home__hero-actions .btn {
    padding: 4px 8px;
    min-height: 44px;
    font-size: 12px;
    white-space: normal;
    line-height: 1.17;
    text-align: center;
  }
  .sibrs-home__hero-art {
    --hero-art-height: 169px;
    height: var(--hero-art-height);
  }
  .sibrs-home__hero-picture {
    right: 50%;
    width: min(100%,calc(var(--hero-art-height) * 20 / 11));
    transform: translate(50%,-50%);
  }
  .sibrs-home__hero-picture img {
    mask-image: linear-gradient(to right,transparent,#000 4%,#000 97.5%,transparent),
                linear-gradient(to bottom,transparent,#000 3.5%,#000 96.3%,transparent);
  }
  .sibrs-home__benefits {
    --benefit-icon-size: 30px;
    margin-top: 12px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 6px 0;
  }
  .sibrs-home__benefits > li {
    display: grid;
    grid-template-columns: 21px minmax(0,1fr);
    gap: 5px 7px;
    align-content: start;
    padding: 10px;
  }
  .sibrs-home__benefits > li > div {
    display: contents;
  }
  .sibrs-home__benefits > li + li {
    border: 0;
  }
  .sibrs-home__benefits > li:nth-child(2n) {
    border-left: 1px solid var(--line);
  }
  .sibrs-home__benefits svg {
    /* Keep the text track and the full-width delivery note unchanged. */
    place-self: center;
  }
  .sibrs-home__benefit-title {
    font-size: 15px;
  }
  .sibrs-home__benefit-title span {
    margin-top: 2px;
    font-weight: 600;
  }
  .sibrs-home__benefit-note {
    grid-column: 1/-1;
    margin-top: 0;
    font-size: 13px;
    color: #455366;
  }
  .sibrs-home__section {
    margin-top: 31px;
  }
  .sibrs-home__heading {
    align-items: center;
    margin-bottom: 13px;
  }
  .sibrs-home__title {
    font-size: 25px;
  }
  .sibrs-home__more {
    font-size: 11px;
  }
  .sibrs-home__more svg {
    width: 13px;
    height: 13px;
    margin-left: 1px;
  }
  .sibrs-home__equipment {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
  }
  .sibrs-home__category {
    --category-inset: 12px;
    --category-arrow-size: 32px;
    height: 216px;
    border-radius: 12px;
  }
  .sibrs-home__category h3 {
    font-size: 16px;
    line-height: 1.2;
    max-width: 100%;
  }
  .sibrs-home__category p {
    font-size: 13px;
    line-height: 1.35;
  }
  .sibrs-home__category--workstations {
    --category-photo-height: 88px;
  }
  .sibrs-home__category--nas {
    --category-photo-height: 76px;
  }
  .sibrs-home__category--servers {
    --category-photo-height: 54px;
  }
  .sibrs-home__category--mini {
    --category-photo-height: 69px;
  }
  .sibrs-home__category--servers .sibrs-home__category-photo,
  .sibrs-home__category--mini .sibrs-home__category-photo {
    --category-photo-clearance: 0px;
    --category-photo-lift: calc(var(--category-arrow-size) + 2px);
  }
  .sibrs-home__category .sibrs-home__arrow {
    font-size: 17px;
  }
  .sibrs-home__tasks {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .sibrs-home__tasks a {
    min-height: 52px;
    padding: 8px;
    gap: 6px;
    font-size: 13px;
    border-radius: 10px;
  }
  .sibrs-home__tasks svg {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .sibrs-home__configurations {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sibrs-home__configuration {
    padding: 14px;
  }
  .sibrs-home__product-photo {
    height: 108px;
    margin: 6px 0;
  }
  .sibrs-home__configuration h3 {
    font-size: 17px;
    min-height: 0;
  }
  .sibrs-home__why {
    margin-top: 30px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 18px 12px 20px;
    gap: 10px 0;
  }
  .sibrs-home__why h2 {
    font-size: 24px;
    margin: 0 4px 8px;
  }
  .sibrs-home__why li {
    min-height: 102px;
    padding: 9px 6px;
    border-left: 0;
  }
  .sibrs-home__why ul > li:nth-child(2n) {
    border-left: 1px solid #d8e1f2;
  }
  .sibrs-home__why li span {
    font-size: 14px;
  }
}

@media(max-width:360px) {
  .sibrs-home__hero-art {
    --hero-art-height: 154px;
  }
  .sibrs-home__hero h1 {
    font-size: 31px;
  }
  .sibrs-home__title {
    font-size: 23px;
  }
  .sibrs-home__equipment {
    grid-template-columns: 1fr;
  }
  .sibrs-home__category {
    height: 190px;
  }
  .sibrs-home__tasks {
    grid-template-columns: minmax(0,1fr);
  }
}

/* Storefront integration. The theme supplies the outer grid. */
.sibrs-home {
  color: var(--ink);
  font-family: var(--sibrs-font-body);
  background: var(--page);
  line-height: 1.4;
}

.sibrs-home__container *, .sibrs-home__container *::before, .sibrs-home__container *::after {
  box-sizing: border-box;
}

.sibrs-home svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sibrs-home :is(a,button):focus-visible {
  outline: 2px solid var(--sibrs-primary);
  outline-offset: 2px;
}

.sibrs-home__category:focus-visible {
  outline-offset: -3px;
}

.sibrs-home__why ul {
  display: contents;
}

.sibrs-home :is(ul,dl) {
  list-style: none;
}

.sibrs-home a {
  text-decoration: none;
}

.sibrs-home__buy {
  cursor: pointer;
}

.sibrs-home__hero-actions .btn {
  margin: 0;
}

.sibrs-home__category-bottom {
  display: contents;
}

.sibrs-home__equipment > li, .sibrs-home__tasks > li {
  min-width: 0;
}

.sibrs-home__tasks a {
  height: 100%;
}

.sibrs-home__configuration h3 a:focus-visible::after {
  outline: 2px solid var(--sibrs-primary);
  outline-offset: 2px;
}

.sibrs-home__configuration h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.sibrs-home__configuration {
  position: relative;
}

.sibrs-home__buy {
  position: relative;
  z-index: 1;
}

.sibrs-home__buy:disabled {
  opacity: .6;
  cursor: wait;
}

.sibrs-home__specs dt,.sibrs-home__specs dd {
  margin: 0;
}

.sibrs-home__specs dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sibrs-home__specs span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sibrs-home__cart-message {
  margin-top: 12px;
  color: #a42c40;
}

.sibrs-home__benefit-title span {
  display: block;
}

@media(max-width:680px) {
  .sibrs-home__hero h1 {
    letter-spacing: -.048em;
  }
  .sibrs-home__hero-actions .btn {
    min-width: 0;
  }
  .sibrs-home__heading {
    gap: 8px;
  }
  .sibrs-home__heading .sibrs-home__title {
    min-width: 0;
  }
  .sibrs-home__category h3 {
    overflow-wrap: anywhere;
  }
}

.sibrs-home__empty {
  color: var(--muted);
  font-size: 14px;
}
