@charset "UTF-8";
:root {
  --header-height: 6.7rem;
}
@media (width > 768px) {
  :root {
    --header-height: 11.2rem;
  }
}

:root {
  --header-height: 6.7rem;
}
@media (width > 768px) {
  :root {
    --header-height: 11.2rem;
  }
}

.main-layout {
  display: grid;
  grid-template-columns: 3.6rem 1fr 3.6rem;
}
@media (width > 768px) {
  .main-layout {
    grid-template-columns: 10rem 1fr 10rem;
    --hue-cell: calc((100vw - 20rem) / 7);
  }
}
@media (width > 1440px) {
  .main-layout {
    grid-template-columns: 1fr 124rem 1fr;
    --hue-cell: calc(124rem / 7);
  }
}
.main-layout > * {
  grid-column: 2;
}
.main-layout > .full {
  grid-column: 1/-1;
}

@media (width > 768px) {
  .main-layout-desktop {
    display: grid;
    grid-template-columns: 10rem 1fr 10rem;
    --hue-cell: calc((100vw - 20rem) / 7);
  }
}
@media (width > 768px) and (width > 1440px) {
  .main-layout-desktop {
    grid-template-columns: 1fr 124rem 1fr;
    --hue-cell: calc(124rem / 7);
  }
}
@media (width > 768px) {
  .main-layout-desktop > *:not(.border) {
    grid-column: 2;
  }
  .main-layout-desktop > .full {
    grid-column: 1/-1;
  }
}

/**
 * Product Landing — Product Series. Mobile-first.
 * Mobile: stacked — red title, centered product image, dark description, then the
 * "רמות גרגור" bordered table. Each item has a full-width red top rule; the last
 * item also gets a bottom rule.
 * Desktop: `.main-layout-desktop` centers the content in the 124rem column, framed
 * with red rules (full-bleed top/bottom on the item, content-width left/right on
 * the inner) plus a center divider between text and image. Image side alternates.
 */
.pl-series {
  direction: rtl;
}

.pl-series__item {
  padding: 7.2rem 3.6rem;
  border-top: 1px solid var(--red-30);
}
.pl-series__item--last {
  border-bottom: 1px solid var(--red-30);
}
@media (width > 768px) {
  .pl-series__item {
    padding: 0;
  }
}
.pl-series__item .pl-series__inner {
  display: flex;
  flex-direction: column;
  gap: 4.95rem;
}
@media (width > 768px) {
  .pl-series__item .pl-series__inner {
    position: relative;
    display: grid;
    align-items: stretch;
    -moz-column-gap: 13rem;
         column-gap: 13rem;
    row-gap: 1.6rem;
    padding: 9.9rem 4rem;
    text-align: right;
    border-left: 1px solid var(--red-30);
    border-right: 1px solid var(--red-30);
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "media title" "media content";
  }
  .pl-series__item .pl-series__inner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: var(--red-30);
  }
}
@media (width > 768px) {
  .pl-series__item--image-left .pl-series__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "title media" "content media";
  }
}
.pl-series__item .pl-series__title {
  margin: 0 auto;
  color: var(--red-main, #DB0032);
  text-align: center;
  font-family: "Simpler", sans-serif;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.1;
  max-width: 29rem;
}
@media (width > 768px) {
  .pl-series__item .pl-series__title {
    grid-area: title;
    align-self: end;
    margin: 0;
    text-align: right;
    font-size: 4rem;
    max-width: 55rem;
    color: var(--black-main, #333032);
  }
}
.pl-series__item .pl-series__media {
  align-self: center;
}
@media (width > 768px) {
  .pl-series__item .pl-series__media {
    grid-area: media;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.pl-series__item .pl-series__image {
  display: block;
  width: 16.1rem;
  height: auto;
  aspect-ratio: 161/201;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 0 auto;
}
@media (width > 768px) {
  .pl-series__item .pl-series__image {
    width: 34rem;
  }
}
.pl-series__item .pl-series__content {
  align-self: stretch;
}
@media (width > 768px) {
  .pl-series__item .pl-series__content {
    grid-area: content;
    align-self: start;
  }
}
.pl-series__item .pl-series__description {
  max-width: 30rem;
}
@media (width > 768px) {
  .pl-series__item .pl-series__description {
    max-width: 43.3rem;
  }
}
.pl-series__item .pl-series__description,
.pl-series__item .pl-series__description p {
  color: var(--black-main, #333032);
  text-align: center;
  font-family: "Simpler", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.3;
}
@media (width > 768px) {
  .pl-series__item .pl-series__description,
  .pl-series__item .pl-series__description p {
    text-align: right;
    font-size: 3rem;
  }
}
.pl-series__item .pl-series__description p {
  margin: 0 0 1.2rem;
}
.pl-series__item .pl-series__description p:last-child {
  margin-bottom: 0;
}
.pl-series__item {
  /* ------------------------------
     רמות גרגור — bordered table
  ------------------------------ */
}
.pl-series__item .pl-series__granularity {
  margin-top: 3.2rem;
}
.pl-series__item .pl-series__granularity-title {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--black-main, #333032);
  text-align: right;
  font-family: "Simpler", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.3;
}
.pl-series__item .pl-series__granularity-row {
  display: grid;
  grid-template-columns: repeat(var(--gran-cols, 3), 1fr);
  gap: 1px;
  background: var(--black-main, #333032);
  border: 1px solid var(--black-main, #333032);
}
.pl-series__item .pl-series__granularity-row--four {
  grid-template-columns: repeat(2, 1fr);
}
@media (width > 768px) {
  .pl-series__item .pl-series__granularity-row--four {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pl-series__item .pl-series__granularity-cell {
  min-width: 0;
  padding: 2rem 1rem;
  text-align: center;
  background: var(--white-main, #fff);
  font-family: "Simpler", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black-main, #333032);
}
