.max-width-custom {
  --page-width: 1200px;
  --container-max-width: 1200px;
}

picture {
  width: 100%;
  height: auto;
  display: block;
}

[data-section='section-hot-deal'] {
  z-index: 2;
  width: 100%;
  padding: 0;
  position: relative;

  .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    padding-top: 90px;
    padding-bottom: 0;
    margin-bottom: 40px;
    .title_1 {
      .h2 {
        font-weight: 600;
        font-size: 40px !important;
        line-height: 49px;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 8px !important;
        color: #fff !important;
      }
    }
    .title_2 {
      .h2 {
        font-weight: 500;
        font-size: 26px !important;
        line-height: 32px;
        text-align: center;
        text-transform: capitalize !important;
        margin-bottom: 8px !important;
        color: #fff !important;
      }
    }
    .title_3 {
      .h2 {
        font-weight: 400;
        font-size: 18px !important;
        line-height: 22px;
        text-align: center;
        text-transform: none !important;
        color: #fff !important;
      }
    }
  }

  .collection-wrap {
    padding-top: 0;
    padding-bottom: 0;
    .product-list {
      gap: 20px;
      product-card {
        border-radius: 25px;
        overflow: hidden;
        .loox-rating {
          display: none;
        }
        .product-card__title {
          text-align: left;
          margin-bottom: 18px;
          a {
            font-weight: 600;
            font-size: 15px;
            line-height: 18px !important;
            text-align: left;
            text-transform: uppercase;
            display: -webkit-box !important;
            max-height: 54px;
            -webkit-line-clamp: 3 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            word-break: break-word;
          }
        }
        .price-list {
          --text-color: #e20612;
          margin-top: auto;
          margin-bottom: 16px;
          align-items: center;
          justify-content: flex-start;
          font-weight: 700;
          font-size: 36px;
          line-height: 44px;
          text-transform: uppercase;
          color: #e20612;

          .text-subdued.line-through {
            font-weight: 500;
            font-size: 22px;
            line-height: 27px;
            text-transform: uppercase;
            color: #747474;
          }
        }
        .product-card__info {
          padding: 8px 13px 26px;
          .v-stack {
            display: flex;
            flex-direction: column;
            flex: 1;
            .rating-with-text {
              flex: 1;
            }
          }
        }

        .product-card__info {
          gap: 0;
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          .v-stack {
            gap: 0;
          }
        }
        .quick-add-btn {
          margin: 0 !important;
          display: flex;
          align-items: flex-end;
          justify-content: space-between;
          gap: 6px;
          .quick-buy,
          .buy-now {
            &.disabled {
              pointer-events: none;
              .button {
                color: #e4e4e4;
                border: #e4e4e4;
                background: transparent;
              }
            }
            flex: 1;
            .button {
              width: 100%;
              font-family: Montserrat;
              font-weight: 700;
              font-style: Bold;
              font-size: 16px;
              line-height: 20px;
              text-align: center;
              text-transform: uppercase;
              padding: 13px 32px;
              border-radius: 50px;
              background: #e20612;
              white-space: nowrap;
              color: #fff;
            }
          }

          .quick-buy {
            .button {
              background-color: transparent;
              color: rgb(var(--button-outline-color) / var(--button-background-opacity, 1));
              box-shadow: inset 0 0 0 2px currentColor;
              &:hover {
                background: #e20612 !important;
                color: #fff !important;
                box-shadow: inset 0 0 0 2px #e20612 !important;
              }
            }
          }
          .buy-now {
            &.disabled {
              .button {
                border: 2px solid #e4e4e4;
                background: #e4e4e4;
                color: #fff;
              }
            }
          }
        }
      }
    }
  }

  .view-more-btn {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 80px;
  }

  .view-more-btn:hover .view-more-icon {
    filter: brightness(0) invert(1);
  }

  .view-more-text {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
    text-transform: uppercase;
  }

  .view-more-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
  }

  /* Inventory Progress Bar */
  .inventory-progress-wrap {
    width: 100%;
    margin-top: auto;

    .inventory-percentage {
      font-family: Montserrat;
      font-weight: 600;
      font-size: 16px;
      line-height: 20px;
      text-align: right;
      text-transform: uppercase;
    }

    .inventory-progress-bar {
      flex: 1;
      height: 20px;
      background: #e6e6e6;
      border-radius: 30px;
      overflow: hidden;
      min-width: 80px;
    }

    .inventory-progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #ffd400 0%, #e20612 100%);
      border-radius: 30px;
      transition: width 0.3s ease;
    }
  }
}

@media screen and (max-width: 1300px) {
  [data-section='section-hot-deal'] {
    .collection-wrap {
      .product-list {
        product-card {
          .quick-add-btn {
            flex-wrap: wrap;
            .quick-buy,
            .buy-now {
              .button {
                padding: 13px 16px;
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 750px) {
  #main.anchor [data-section='section-hot-deal'] {
    h2.h2 {
      font-size: 36px !important;
    }
  }

  #main.anchor [data-section='section-hot-deal'] {
    .section-stack {
      gap: 16px;
    }
    .title {
      padding: 0 32px;
      margin-top: 60px;
      margin-bottom: 12px;
      .title_1 {
        max-width: 208px;
        margin: 0 auto;

        .h2 {
          font-size: 28px !important;
          line-height: 1em;
          margin-bottom: 12px !important;
        }
      }
      .title_2 {
        max-width: 304px;
        margin: 0 auto;
        .h2 {
          font-size: 14px !important;
          line-height: 17px;
          margin-bottom: 8px !important;
        }
      }
      .title_3 {
        max-width: 319px;
        margin: 0 auto;
        .h2 {
          font-size: 12px !important;
          line-height: 16px;
        }
      }
    }
    .collection-wrap {
      .product-list {
        gap: 8px;
        product-card {
          border-radius: 15px;

          display: flex;
          flex-direction: column;
          .product-card__title {
            a {
              display: block;
              width: 100%;
              text-align: left;
              font-family: Montserrat;
              font-weight: 600;
              font-size: 14px;
              line-height: 18px;
              font-variant: small-caps;
            }
          }
          .price-list {
            width: 100%;
            justify-content: flex-start;
            flex-wrap: nowrap;
            margin-bottom: 16px;
            gap: 4px;
            font-weight: 700;
            font-size: 14px;
            line-height: 22px;

            .text-subdued.line-through {
              font-weight: 500;
              font-size: 12px;
              line-height: 17px;
            }
          }
          .product-card__info {
            flex: 1;
            padding: 3px 20px;
          }

          .quick-add-btn {
            font-weight: 700;
            font-size: 13px;
            line-height: 16px;
            padding-bottom: 13px;
            .pointer-fine\:hidden {
              display: none !important;
            }
            .pointer-coarse\:hidden {
              display: block !important;
            }
            .quick-buy,
            .buy-now {
              width: 100%;
              .button {
                font-size: 13px;
                width: 100%;
                padding: 8px 15px;
              }
            }
          }
        }
      }

      /* Inventory Progress Bar */
      .inventory-progress-wrap {
        margin-bottom: 7px;
        .inventory-percentage {
          font-size: 12px;
          line-height: 15px;
        }

        .inventory-progress-bar {
          height: 15px;
          border-radius: 15px;
          margin-bottom: 4px;
          min-width: 100%;
        }

        .inventory-progress-fill {
          border-radius: 15px;
        }
      }
    }
    .view-more-btn {
      font-weight: 600;
      font-size: 18px;
      margin-bottom: 48px;
      .view-more-text {
        font-size: 18px;
      }
    }
  }
}
