/* COMMON STYLES */
.multi-button {
  display: inline-flex;
  background-color: #fc581e;
  border-radius: 50px;
  overflow: hidden;
  border: 2px solid #fff;

  button {
    flex: 1;
    border: none;
    outline: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    padding: 12px 24px;
    background-color: transparent;
    color: #fff;
    transition:
      background-color 0.3s ease,
      color 0.3s ease;

    &:not(.active):hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    &.btn-left {
      border-radius: 50px 0 0 50px;
    }

    &.btn-right {
      border-radius: 0 50px 50px 0;
    }

    & + button {
      border-left: 1px solid rgba(255, 255, 255, 0.5);
    }
  }
}

#home-page-v2-mentions,
#home-page-v2-collection,
#home-page-v2-featured-2,
#home-page-v2-table,
[data-id="home-page-v2-home-hero-2"],
[data-id="home-page-v2-hero"],
#home-page-v2-alternate-features,
#home-page-v2-featured-product-2,
#home-page-v2-text-with-image-2,
#home-page-v2-featured,
#home-page-v2-card-carousel,
#home-page-v2-text-with-columns,
#home-page-v2-collection-2 {
  display: none;
}

#camo-as-seen-in,
#camo-comparison-table,
#camo-featured-collection,
#camo-featured-collection-2,
#camo-cards-carousel {
  display: block !important;
}

#camo-why-meridian,
#camo-hot-tips {
  display: flex !important;
}

#camo-hot-tips {
  color: #fff;

  .image-with-text__picture {
    max-width: 400px;

    img {
      width: 90%;
      margin: 0 auto 56px;
    }
  }

  .image-with-text__title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 32px;
  }

  .image-with-text__description {
    font-size: 16px;

    p:not(:first-child) {
      margin-top: 30px;
    }
  }

  .image-with-text__link-container a {
    font-size: 16px;
    max-width: 250px;
  }

  @media (min-width: 768px) {
    .image-with-text__picture {
      max-width: unset;

      img {
        width: 75%;
        margin-bottom: unset;
      }
    }

    .image-with-text__title {
      margin-bottom: 10px;
      font-size: 48px;
    }

    .image-with-text__description {
      font-size: 24px;

      p:not(:first-child) {
        margin-top: 30px;
      }
    }
  }
}

#camo-comparison-table {
  background-color: #f5f3f1 !important;

  .comparison-table__cell:nth-child(3) {
    background-color: #fff;

    &:nth-child(3)::before {
      background-color: unset;
    }
  }
  .comparison-table__table thead tr:first-child .comparison-table__cell:nth-child(3) {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .comparison-table__table tfoot tr:last-child .comparison-table__cell:nth-child(3) {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

.camo__product-wrapper .forest,
.camo__product-wrapper .arctic,
.home-hero__bg-img {
  display: none;
}

.featured-collection product-item-variant-selector .product-card__description {
  text-align: center;
}

/* FOREST THEME */
[data-camo-overtake="forest"] {
  #camo-forest {
    background-color: #a83911;
    color: #410d0d;
    cursor: not-allowed;
  }

  #camo-arctic {
    color: #fff;
  }

  .alt-bg-design.product-card product-options:not([data-option-name*="color"]) .product-options__label {
    flex: unset;
    min-width: 38px;
    height: 38px;
  }
  #camo-featured-collection {
    .product-card__wrapper {
      .product-card__content {
        order: 1;
      }
      .product-card__form {
        order: 2;
        margin-top: 0;
        padding-top: 0;
        border: none;
      }
      .cart-upsell-grp-opener,
      .product-form {
        order: 3;
      }
    }
  }
  .featured-collection {
    .included_in_box {
      display: none;
    }
  }
  .camo__copy {
    background-color: #4c503f;

    @media (min-width: 768px) {
      background-color: unset;
    }
  }

  .home-hero__bg-img.arctic {
    display: none;
  }

  .home-hero__bg-img.forest {
    display: block;
  }

  .camo__product-wrapper .forest {
    display: block;
  }

  .camo__product-wrapper .arctic {
    display: none;
  }

  #camo-as-seen-in {
    background-color: #b09673;
    color: #000;
    padding-top: 20px;
    padding-bottom: 20px;

    .as-seen-in__slide img {
      filter: none;
    }
  }

  #camo-why-meridian {
    .why-meridian-content,
    .why-meridian-content::before {
      background-color: #4c503f;
    }

    .why-meridian-image.forest {
      display: block;
    }

    .why-meridian-image.arctic {
      display: none;
    }
    .why-meridian-feature img {
      width: 72px;
      height: 72px;
    }
  }

  .announcement,
  .announcement__control-wrapper {
    background-color: #4c503f;
    color: #fff;
  }

  #camo-hot-tips {
    background-color: #4c503f;
  }

  #camo-cards-carousel {
    background: url("/cdn/shop/files/mobile_card_background.jpg?v=1756279614")
      top left / cover;

    .slider__title {
      font-size: 32px;
      width: 280px;
      color: #fff;
    }

    .slider__rating {
      font-size: 28px;
      color: #fff;

      img {
        filter: brightness(0) invert(1);
        scale: 0.8;
        margin-left: 10px;
      }
    }

    .card-slider__description {
      order: 2;
      font-size: 14px;
      color: #fff;
    }

    .carousel__button {
      display: none;
    }

    @media (min-width: 768px) {
      background: url("/cdn/shop/files/desktop_cards_background.jpg?v=1756279615")
        center / cover;

      .slider__title {
        font-size: 64px;
        width: unset;
      }

      .slider__rating {
        font-size: 40px;

        img {
          filter: brightness(0) invert(1);
          scale: 1;
          margin-left: 20px;
        }
      }

      .card-slider__description {
        font-size: 16px;
      }
    }
  }

  #camo-text-with-columns {
    background-color: #4c503f;
    color: #fff;

    .social-section__img-container {
      display: none;
    }
  }
}

/* ARCTIC THEME */
[data-camo-overtake="arctic"] {
  .alt-bg-design.product-card product-options:not([data-option-name*="color"]) .product-options__label {
    flex: unset;
    min-width: 38px;
    height: 38px;
  }
  #camo-featured-collection {
    .product-card__wrapper {
      .product-card__content {
        order: 1;
      }
      .product-card__form {
        order: 2;
        margin-top: 0;
        padding-top: 0;
        border: none;
      }
      .cart-upsell-grp-opener,
      .product-form {
        order: 3;
      }
    }
  }
  .featured-collection {
    .included_in_box {
      display: none;
    }
  }
  .camo__copy {
    background-color: #7f7d7e;

    @media (min-width: 768px) {
      background-color: unset;
    }
  }

  .home-hero__bg-img.arctic {
    display: block;
  }

  .home-hero__bg-img.forest {
    display: none;
  }

  .camo__product-wrapper .forest {
    display: none;
  }

  .camo__product-wrapper .arctic {
    display: block;
  }

  #camo-forest {
    color: #fff;
  }

  #camo-arctic {
    background-color: #a83911;
    color: #410d0d;
    cursor: not-allowed;
  }

  #camo-as-seen-in {
    background-color: #d7d7d7;
    color: #000;
    padding-top: 20px;
    padding-bottom: 20px;

    .as-seen-in__slide img {
      filter: none;
    }
  }

  #camo-why-meridian {
    .why-meridian-content,
    .why-meridian-content::before {
      background-color: #7f7d7e;
    }

    .why-meridian-image.forest {
      display: none;
    }

    .why-meridian-image.arctic {
      display: block;
    }
  }

  .announcement,
  .announcement__control-wrapper {
    background-color: #7f7d7e;
    color: #fff;
  }

  #camo-hot-tips {
    background-color: #7f7d7e;
  }

  #camo-cards-carousel {
    background: url("/cdn/shop/files/mobile-arctic-camo-macro-pattern.png?v=1756279619")
      top left / cover;

    .slider__title {
      font-size: 32px;
      width: 280px;
      color: #fff;
    }

    .slider__rating {
      font-size: 28px;
      color: #fff;

      img {
        filter: brightness(0) invert(1);
        scale: 0.8;
        margin-left: 10px;
      }
    }

    .card-slider__description {
      order: 2;
      font-size: 14px;
      color: #fff;
    }

    .carousel__button {
      display: none;
    }

    @media (min-width: 768px) {
      background: url("/cdn/shop/files/desktop-arctic-macro-camo-pattern.png?v=1756279620")
        center / cover;

      .slider__title {
        font-size: 64px;
        width: unset;
      }

      .slider__rating {
        font-size: 40px;

        img {
          filter: brightness(0) invert(1);
          scale: 1;
          margin-left: 20px;
        }
      }

      .card-slider__description {
        font-size: 16px;
      }
    }
  }

  #camo-text-with-columns {
    background-color: #7f7d7e;
    color: #fff;

    .social-section__img-container {
      display: none;
    }
  }
}
