/* =========================
   Homepage Hero
========================= */

.sr-hero {
  margin-top: 20px;
}

.sr-hero__inner {
  max-width: 1170px;
  margin: 0 auto;
}

.sr-hero__image {
  width: 100%;
  height: 600px;

  display: block;

  object-fit: cover;
  border-radius: 20px;
}

/* =========================
   Homepage Product Sections
========================= */

.sr-home-products {
  margin-top: 40px;
}

.sr-home-products .sr-container {
  max-width: 1170px;
  padding-left: 0;
  padding-right: 0;
}

.sr-products-grid {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 67fr);
  column-gap: clamp(24px, 3.4vw, 40px);
  align-items: start;
}

.sr-products-right {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 41px;
}

.sr-products-block {
  padding: 40px;

  border-radius: 10px;

  overflow: hidden;
}

.sr-products-block--best {
  min-height: 1181px;

  background: #d6dae0;
}

.sr-products-block--new {
  height: 570px;

  background: linear-gradient(251.34deg, #535563 -6.03%, #1a1c25 94.38%);
}

.sr-products-block--sale {
  height: 570px;

  background: #ffffff;
  border: 1px solid #e3e5ea;
}

.sr-products-block--best,
.sr-products-block--new,
.sr-products-block--sale {
  width: 100%;
}

/* Titles */

.sr-products-title {
  margin: 0 0 20px;

  font-family: "Google Sans", sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
}

.sr-products-block--best .sr-products-title {
  color: #1b1b1b;
}

.sr-products-block--new .sr-products-title {
  color: #ffffff;
}

.sr-products-block--sale .sr-products-title {
  color: #464855;
}

/* Product lists */

.sr-products-list {
  display: grid;
  gap: 20px;
}

.sr-products-block--best .sr-products-list {
  grid-template-columns: repeat(2, 180px);
}

.sr-products-block--new .sr-products-list,
.sr-products-block--sale .sr-products-list {
  display: flex;
  gap: 20px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.sr-products-block--new .sr-products-list::-webkit-scrollbar,
.sr-products-block--sale .sr-products-list::-webkit-scrollbar {
  display: none;
}

.sr-products-block--new .sr-product-tile,
.sr-products-block--sale .sr-product-tile {
  flex: 0 0 180px;
}

/* Arrows */

.sr-products-block--new .sr-products-arrow {
  border-color: #ffffff;
  color: #ffffff;
}

.sr-products-block--new .sr-products-arrow:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

/* =========================
   Homepage CTA Banner
========================= */

.sr-home-cta {
  margin-top: 60px;
  margin-bottom: 80px;
}

.sr-home-cta .sr-container {
  max-width: 1170px;
  padding-left: 0;
  padding-right: 0;
}

.sr-home-cta__inner {
  width: 100%;
  height: 443px;

  display: grid;
  grid-template-columns: minmax(280px, 363px) minmax(0, 1fr);
  column-gap: clamp(24px, 3.4vw, 40px);

  padding: 40px;

  background: linear-gradient(251.34deg, #535563 -6.03%, #1a1c25 94.38%);
  border-radius: 10px;

  overflow: hidden;
}

.sr-home-cta__image {
  width: 100%;
  max-width: 363px;
  aspect-ratio: 1 / 1;

  border-radius: 10px;
  overflow: hidden;
}

.sr-home-cta__image img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

.sr-home-cta__content {
  padding-top: 94px;
}

.sr-home-cta__title {
  width: 354px;

  margin: 0 0 20px;

  font-family: "Google Sans", sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;

  color: #ffffff;
}

.sr-home-cta__subtitle {
  width: 498px;
  height: 25px;

  margin: 0 0 40px;

  font-family: "Google Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;

  color: #eceff2;
}

.sr-home-cta__actions {
  display: flex;
  gap: 10px;
}

/* =========================
   Homepage Product Reviews
========================= */

.sr-home-reviews {
  padding-bottom: 60px;
}

.sr-home-reviews .sr-container {
  max-width: 1170px;
  padding-left: 0;
  padding-right: 0;
}

.sr-home-reviews__title {
  margin: 0 0 24px;

  font-family: "Google Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  color: #464855;
  text-align: center;
}

.sr-home-reviews__slider {
  position: relative;
  width: 100%;
}

.sr-home-reviews__track {
  width: 100%;

  display: flex;
  gap: 30px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.sr-home-reviews__track::-webkit-scrollbar {
  display: none;
}

.sr-review-card {
  width: 216px;
  min-width: 216px;
  height: 290px;

  flex-shrink: 0;

  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.sr-review-card__image {
  width: 216px;
  height: 150px;

  display: block;

  background: #eceff2;
  overflow: hidden;
}

.sr-review-card__image img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

.sr-review-card__body {
  width: 216px;
  height: 140px;

  padding: 17px 20px 18px;

  background: #ffffff;
}

.sr-review-card__author,
.sr-review-card__review-title {
  width: 176px;
  height: 18px;

  overflow: hidden;

  font-family: "Google Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  color: #464855;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.sr-review-card__author {
  margin-bottom: 8px;
}

.sr-review-card__review-title {
  margin-bottom: 8px;
}

.sr-review-card__meta {
  width: 176px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 8px;
}

.sr-review-card__rating {
  font-size: 14px;
  line-height: 1;

  color: #f4b400;
}

.sr-review-card__date {
  font-family: "Google Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;

  color: #464855;
  white-space: nowrap;
}

.sr-review-card__text {
  width: 176px;
  height: 36px;

  overflow: hidden;

  font-family: "Google Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;

  color: #464855;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sr-review-card__product {
  display: none;
}

/* =========================
   Homepage Trustpilot
========================= */

.sr-home-trustpilot {
  padding-bottom: 80px;
}

.sr-home-trustpilot .sr-container {
  max-width: 1310px;
  padding-left: 0;
  padding-right: 0;
}

.sr-home-trustpilot__title {
  margin: 0 0 24px;

  font-family: "Google Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  color: #464855;
  text-align: center;
}

.sr-home-trustpilot__inner {
  width: 100%;
}

/* =========================
   Homepage Articles
========================= */

.sr-home-articles {
  padding-bottom: 80px;
}

.sr-home-articles .sr-container {
  max-width: 1170px;
  padding-left: 0;
  padding-right: 0;
}

.sr-home-articles__title {
  margin: 0 0 24px;

  font-family: "Google Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  color: #464855;
  text-align: center;
}

.sr-home-articles__slider {
  position: relative;
  width: 100%;
}

.sr-home-articles__track {
  width: 100%;

  display: flex;
  gap: 30px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.sr-home-articles__track::-webkit-scrollbar {
  display: none;
}

.sr-article-card {
  width: 370px;
  min-width: 370px;
  height: 293px;

  flex-shrink: 0;

  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.sr-article-card__image {
  width: 370px;
  height: 198px;

  display: block;

  background: #eceff2;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

  overflow: hidden;
}

.sr-article-card__image img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

.sr-article-card__body {
  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sr-article-card__title {
  width: 330px;
  min-height: 40px;

  overflow: hidden;

  font-family: "Google Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;

  color: #464855;
  text-decoration: none;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sr-article-card__title a {
  color: inherit;
  text-decoration: none;
}

.sr-article-card__title a:hover {
  color: inherit;
}

.sr-article-card__date {
  font-family: "Google Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;

  color: #537892;
}

.sr-article-card__excerpt {
  display: none;
}


/* =========================
   Homepage Tablet
========================= */

@media (min-width: 769px) and (max-width: 1024px) {

  .sr-hero {
    margin-top: 20px;
  }

  .sr-hero .sr-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .sr-hero__inner {
    max-width: none;
  }

  .sr-hero__image {
    height: auto;
    aspect-ratio: 1170 / 600;
    border-radius: 16px;
  }

  .sr-home-products .sr-container,
  .sr-home-cta .sr-container,
  .sr-home-reviews .sr-container,
  .sr-home-articles .sr-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .sr-products-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .sr-products-right {
    row-gap: 24px;
  }

  .sr-products-block {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 32px;
  }

  .sr-products-block--best .sr-products-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .sr-products-block--best .sr-products-list::-webkit-scrollbar {
    display: none;
  }

  .sr-products-block--best .sr-product-tile {
    flex: 0 0 180px;
  }

  .sr-products-title {
    font-size: 48px;
  }

  .sr-home-cta {
    margin-top: 48px;
    margin-bottom: 60px;
  }

  .sr-home-cta__inner {
    height: auto;
    grid-template-columns: 300px 1fr;
    column-gap: 32px;
    padding: 32px;
  }

  .sr-home-cta__image {
    width: 300px;
    height: 300px;
  }

  .sr-home-cta__content {
    padding-top: 54px;
  }

  .sr-home-cta__title {
    width: auto;
    font-size: 48px;
  }

  .sr-home-cta__subtitle {
    width: auto;
    height: auto;
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.3;
  }

  .sr-home-reviews {
    padding-bottom: 60px;
  }

  .sr-home-reviews__slider,
  .sr-home-reviews__track {
    width: 100%;
  }

  .sr-home-reviews__track {
    gap: 20px;
  }

  .sr-home-articles {
    padding-bottom: 60px;
  }

  .sr-home-articles__slider,
  .sr-home-articles__track {
    width: 100%;
  }

  .sr-home-articles__track {
    gap: 20px;
  }

  .sr-article-card {
    width: 320px;
    min-width: 320px;
  }

  .sr-article-card__image {
    width: 320px;
  }

  .sr-article-card__title {
    width: 280px;
  }

  .sr-home-trustpilot .sr-container {
    padding-left: 32px;
    padding-right: 32px;
  }
    .sr-review-arrow,
  .sr-article-arrow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
}

/* =========================
   Homepage Mobile
========================= */

@media (max-width: 768px) {
  .sr-hero {
    margin-top: 0;
  }

  .sr-hero .sr-container {
    padding-left: 0;
    padding-right: 0;
  }

  .sr-hero__inner {
    max-width: none;
  }

  .sr-hero__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    display: block;

    object-fit: cover;
    border-radius: 0;
  }

  .sr-home-products {
    margin-top: 16px;
  }

  .sr-home-products .sr-container {
    padding-left: 16px;
    padding-right: 0;
  }

  .sr-products-grid,
  .sr-products-right {
    display: block;
  }

  .sr-products-block {
    position: relative;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 16px 16px 0;

    padding-top: 18px;
    padding-left: 16px;
    padding-right: 0;
    padding-bottom: 16px;

    border-radius: 10px;
    overflow: hidden;
  }

  .sr-products-title {
    margin: 0 0 20px;

    font-size: 32px;
    font-weight: 700;
    line-height: 1;
  }

  .sr-products-list {
    position: relative;
    z-index: 1;

    display: flex !important;
    gap: 16px;

    padding-right: 16px;
    padding-bottom: 0;

    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .sr-products-list::-webkit-scrollbar {
    display: none;
  }

  .sr-products-list .sr-product-tile {
    width: 172px;
    min-width: 172px;
    height: auto;

    flex: 0 0 172px;

    overflow: visible;
  }

  .sr-products-list .sr-product-tile__media {
    width: 172px;
  }

  .sr-products-list .sr-product-tile__image {
    width: 172px;
    height: 167px;

    overflow: hidden;
  }

  .sr-products-arrows {
    display: none;
  }

  .sr-products-block::after {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    z-index: 30;

    width: 32px;
    height: 100%;

    pointer-events: none;
  }

  .sr-products-block--best::after {
    background: linear-gradient(
      to left,
      #d6dae0 0%,
      rgba(214, 218, 224, 0) 100%
    );
  }

  .sr-products-block--new::after {
    background: linear-gradient(
      to left,
      rgba(50, 52, 64, 1) 0%,
      rgba(50, 52, 64, 0) 100%
    );
  }

  .sr-products-block--sale::after {
    background: linear-gradient(
      to left,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  
  /* =========================
   Mobile CTA Banner
========================= */

.sr-home-cta {
  margin-top: 24px;
  margin-bottom: 40px;
}

.sr-home-cta .sr-container {
  padding-left: 16px;
  padding-right: 16px;
}

.sr-home-cta__inner {
  width: 100%;
  height: auto;

  display: flex;
  flex-direction: column;

  padding: 24px;

  border-radius: 10px;
}

.sr-home-cta__image {
  width: 100%;
  max-width: 313px;
  height: 313px;

  margin: 0 auto 24px;

  border-radius: 10px;
  overflow: hidden;

  border: 11px solid #3F4250;
}

.sr-home-cta__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.sr-home-cta__content {
  padding-top: 0;
}

.sr-home-cta__title {
  width: auto;

  margin: 0 0 16px;

  font-family: "Baskervville", serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;

  color: #fff;
}

.sr-home-cta__subtitle {
  width: auto;
  height: auto;

  margin: 0 0 24px;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;

  color: #ECEFF2;
}

.sr-home-cta__actions {
  display: flex;
  gap: 9px;

  margin-top: 0;
}

.sr-home-cta__actions .sr-btn {
  width: 136px;
  height: 40px;

  flex: 0 0 136px;
}

.sr-home-cta__actions .sr-btn--secondary {
  border: 1px solid #ECEFF2;
}

   /* =========================
     Mobile Reviews
  ========================= */

  .sr-home-reviews {
    padding-bottom: 40px;
  }

  .sr-home-reviews .sr-container {
    padding-left: 16px;
    padding-right: 0;
  }

  .sr-home-reviews__title {
    margin: 0 0 24px;

    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    text-align: center;
  }

  .sr-home-reviews__slider,
  .sr-home-reviews__track {
    width: 100%;
  }

  .sr-home-reviews__track {
    display: flex;
    gap: 16px;

    padding-right: 16px;

    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .sr-home-reviews__track::-webkit-scrollbar {
    display: none;
  }

  .sr-review-card {
    width: 180px;
    min-width: 180px;
    height: 284px;

    flex: 0 0 180px;

    background: #fff;
    border-radius: 10px;
    overflow: hidden;
  }

  .sr-review-card__image {
    width: 180px;
    height: 150px;

    display: block;
    overflow: hidden;
  }

  .sr-review-card__image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
  }

  .sr-review-card__body {
    width: 180px;
    height: 134px;

    padding: 16px;
    background: #fff;
  }

  .sr-review-card__author {
    width: 148px;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }

  .sr-review-card__meta {
    width: 148px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 8px;
  }

  .sr-review-card__rating {
    font-size: 14px;
    line-height: 1;
  }

  .sr-review-card__date {
    font-size: 12px;
    line-height: 1;

    white-space: nowrap;
  }

  .sr-review-card__review-title {
    width: 148px;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sr-review-card__text {
    width: 148px;
    height: 34px;

    overflow: hidden;

    font-size: 12px;
    line-height: 1.2;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
    .sr-review-arrow,
    .sr-article-arrow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

  }
  
  /* =========================
   Mobile Articles
========================= */

.sr-home-articles {
  padding-bottom: 40px;
}

.sr-home-articles .sr-container {
  padding-left: 16px;
  padding-right: 0;
}

.sr-home-articles__slider,
.sr-home-articles__track {
  width: auto;
}

.sr-home-articles__track {
  gap: 12px;
  padding-right: 16px;
}

.sr-article-card {
  width: 173px;
  min-width: 173px;
  height: 257px;

  flex-shrink: 0;

  border-radius: 10px;
  overflow: hidden;
}

.sr-article-card__image {
  width: 173px;
  height: 150px;
}

.sr-article-card__body {
  padding: 16px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 107px;
}

.sr-article-card__title {
  width: auto;
  min-height: auto;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;

  -webkit-line-clamp: 3;
}

.sr-article-card__date {
  margin-top: auto;

  font-size: 12px;
  line-height: 1;

  color: #7e8ca0;
}

.sr-products-block,

  .sr-home-reviews__slider,

  .sr-home-articles__slider {

    position: relative;

  }

  .sr-products-block::before,

  .sr-home-reviews__slider::before,

  .sr-home-articles__slider::before {

    content: "›";

    position: absolute;

    top: 18px;

    right: 16px;

    width: 28px;

    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border: 1px solid #464855;

    border-radius: 50%;

    color: #464855;

    font-size: 16px;

    font-weight: 400;
    opacity: .8;

    line-height: 1;

    z-index: 30;

    pointer-events: none;

  }
}

/* =========================
   Homepage SEO Content
========================= */

.sr-home-seo {
  padding: 34px 0 44px;
}

.sr-home-seo__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}

.sr-home-seo__title {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--sr-text);
}

.sr-home-seo__intro,
.sr-home-seo__content p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #8592a4;
}

.sr-home-seo__details {
  margin-top: 14px;
}

.sr-home-seo__details summary {
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #6f7890;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sr-home-seo__content {
  padding-top: 18px;
}

.sr-home-seo__content h2,
.sr-home-seo__content h3 {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #6f7890;
}

.sr-home-seo__content h2:first-child {
  margin-top: 0;
}

.sr-home-seo__content p {
  margin-bottom: 10px;
}

.sr-home-seo__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .sr-home-seo {
    padding: 24px 0 36px;
  }

  .sr-home-seo__inner {
    padding: 0 16px;
  }

  .sr-home-seo__title {
    margin-bottom: 12px;
    font-size: 24px;
  }

  .sr-home-seo__intro,
  .sr-home-seo__content p,
  .sr-home-seo__details summary {
    font-size: 13px;
  }

  .sr-home-seo__content h2,
  .sr-home-seo__content h3 {
    font-size: 15px;
  }
}