/* ===================================================
   CollapseProductBlock
   =================================================== */

.CollapseProductBlock_collapse-product-block {
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  max-width: 1616px;
}

@media (max-width: 501px) {
  .CollapseProductBlock_collapse-product-block {
    padding: 4rem 1rem;
  }
}

.CollapseProductBlock_collapse-product-block__header {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
}

@media (min-width: 1024px) {
  .CollapseProductBlock_collapse-product-block__header {
    flex-direction: row;
  }
}


/* ===================================================
   OfferCarousel
   =================================================== */

/* Outer grid container */
div:has(> section.OfferCarousel_no-slide-wrapper) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 21px;
}

@media (max-width: 550px) {
  div:has(> section.OfferCarousel_no-slide-wrapper) {
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 0.5rem;
  }
}

/* Card */
.OfferCarousel_no-slide-wrapper {
  background: var(--Product-Radial, radial-gradient(50% 50% at 50% 50%, #303239 0, #191919 100%));
  width: auto;
  padding: 5px 0 24px;
}


/* ===================================================
   ProductBlockContainer
   =================================================== */

.ProductBlockContainer_pdp_thumbnail {
  background: transparent;
  padding: 32px;
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 550px) {
  .ProductBlockContainer_pdp_thumbnail {
    padding: 0.5rem;
  }
}

.ProductBlockContainer_pdp_name {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--white);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  height: 3.75rem;
}

@media (max-width: 550px) {
  .ProductBlockContainer_pdp_name {
    display: -webkit-box;
    font-size: 12px;
    line-height: 16px;
    height: 3rem;
  }
}

.ProductBlockContainer_pdp_price {
  padding: 0 32px;
  gap: 0.5rem;
}

@media (max-width: 550px) {
  .ProductBlockContainer_pdp_price {
    padding: 0 0.5rem;
  }
}

.ProductBlockContainer_pdp_price .product-price {
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: Saira, sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 1.125rem;
}

@media (max-width: 767px) {
  .ProductBlockContainer_pdp_price .product-price {
    font-size: 1rem;
  }
}

.ProductBlockContainer_pdp_price .compare-price {
  position: relative;
  display: inline-block;
  font-family: Saira, sans-serif;
  color: var(--text-tertiary);
  font-size: 1rem;
  margin-left: 8px;
  letter-spacing: 0.6px;
}

.ProductBlockContainer_pdp_price .compare-price::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  content: "";
  height: 1px;
  background-color: var(--text-tertiary);
}

.ProductBlockContainer_pdp_btn_custom {
  display: block;
  border-width: 0;
  padding: 0;
  background-color: transparent;
  text-decoration: none !important;
}

.ProductBlockContainer_pdp_btn_custom:hover {
  border-color: transparent;
  background-color: transparent;
  text-decoration: none;
}

.ProductBlockContainer_pdp_btn_custom svg {
  display: none;
}

/* Yellow pill button */
.ProductBlockContainer_pdp_btn_add_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ECE81A;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 0.45rem 1.25rem;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.ProductBlockContainer_pdp_btn_add_cart span {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.ProductBlockContainer_pdp_btn_add_cart img {
  height: 22px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.ProductBlockContainer_pdp_btn_add_cart:hover {
  background-color: #cdc917;
  text-decoration: none;
}

@media (max-width: 550px) {
  .ProductBlockContainer_pdp_btn_add_cart {
    font-size: 12px;
    padding: 0.4rem 0.75rem;
    gap: 6px;
  }

  .ProductBlockContainer_pdp_btn_add_cart img {
    height: 18px;
  }
}


/* ===================================================
   Button
   =================================================== */

.Button_root {
  background-color: transparent;
  text-decoration: none !important;
}

.Button_link {
  text-decoration: none;
}


/* ===================================================
   Misc / ID overrides
   =================================================== */

#amazongamingdeals a.corsair-links.Button_link:hover {
  text-decoration: none;
}

#two-tiles-ab {
  display: none;
}


/* ===================================================
   Discount badge
   =================================================== */

.ProductBlockContainer_pdp_thumbnail[data-badge]::before {
  content: attr(data-badge);
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 10;
  background: linear-gradient(90deg, #22B8CF 0%, #5ECAEB 95.57%);
  color: #000;
  font-family: Saira, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  line-height: 1.4;
  pointer-events: none;
}

@media (max-width: 550px) {
  .ProductBlockContainer_pdp_thumbnail[data-badge]::before {
    font-size: 9px;
    padding: 2px 6px;
    top: 5px;
    left: 0;
  }
}