﻿p {
  text-wrap: nowrap;
}

h3 {
  text-wrap: nowrap;
}

body {
  margin: 0;
}

html:root,
html:root body,
html:root .page-content-wrapper {
  min-width: 0 !important;
}

html:root body {
  overflow-x: visible !important;
}

@media (max-width: 1024px) {
  html:root,
  html:root body,
  html:root .page-content-wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html:root .page-content-wrapper {
    width: 100% !important;
  }
}

.banner{
  font-size: 0.0625em;
  margin:0 auto;

  background-image: url('https://static-page.tp-link.com/prime_day_2026/img_v2/Desktop/0-bd.png?v4');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  padding-top: 40%;
}

@media (max-width: 736px) {
  .banner {
    background-image: url('https://static-page.tp-link.com/prime_day_2026/img_v2/Mobile/0-bg-m.png?v4');
    padding-top: 120.6633%;
  }
}

.banner img{
  width: 100%;
  height: auto;
  display: block;
}

.w-container{
  padding-top:3em;
  background-color: #f0f3f8;
}

.content{
    width:75%;
    margin: 0 auto;
    container-type: inline-size;
}

@media (max-width: 735px) {
  .content {
    width: 95.5%;
  }
}
/* Section Deco */

.sectionA{
    margin-bottom: 5em
}

.sectionA h2{
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #171e31;
    text-align: center;
    padding:0.5em;
}

.product{
    display: flex;
    aspect-ratio: 700 / 424;
    flex: 1 1 0;
    min-width: 0;
    font-size: max(1px, 1.0667cqw);
    border-radius: 3em;
    overflow: hidden;
    width: calc((100% - 2.5em) / 2);
}

.sectionA-list{
    display: flex;
    flex-direction: row;
    gap: 2.5em;
    container-type: inline-size;
}

/* left: image */

.sectionA-list .product > picture {
  display: contents;
}

.sectionA-list .product > img,
.sectionA-list .product > picture > img{
  flex: 0 1 50%;
  width: 50%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.sectionA-list .product > .a-1-img1-image-composite {
  position: relative;
  flex: 0 1 50%;
  width: 50%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.a-1-img1-image-composite > picture {
  display: contents;
}

.a-1-img1-image-main {
  display: block;
  width: 100%;
  object-fit: cover;
}

.a-1-img1-badge {
  position: absolute;
  height: auto;
}

.a-1-img1-badge-editor {
  left: 8%;
  bottom: 4.5%;
  width: 20%;
}

.a-1-img1-badge-pack {
  right: 5.7%;
  bottom: 4.5%;
  width: 25%;
}

.sectionA-list .product > .a-1-img2-image-composite {
  position: relative;
  flex: 0 1 50%;
  width: 50%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.a-1-img2-image-composite > picture {
  display: contents;
}

.a-1-img2-image-main {
  display: block;
  width: 100%;
  object-fit: cover;
}

.a-1-img2-badge {
  position: absolute;
  height: auto;
}

.a-1-img2-badge-wired {
  left: 7.5%;
  bottom: 4.5%;
  width: 20%;
}

.sectionA-list .product > .a-2-img1-image-composite {
  position: relative;
  flex: 0 1 50%;
  width: 50%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.a-2-img1-image-composite > picture {
  display: contents;
}

.a-2-img1-image-main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a-2-img1-badge {
  position: absolute;
  height: auto;
}

.a-2-img1-badge-readers-choice {
  top: 4.8%;
  left: 5.6%;
  width: 36.5%;
}

  /* Right: Info Panel */
  .product-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2em;
    background: #fff;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 50%
  }

  .info-top {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    min-width: 0;
  }

  .info-headers {
    display: flex;
    flex-direction: column;
    width: min(18.75em, 100%);
    min-width: 0;
    color: #171e31;
  }
 .product-title {
    font-weight: 700;
    font-size: 1.8em;
    line-height: 1.25em;
    margin: 0;
    white-space: nowrap;
  }

  .product-subtitle {
    font-weight: 500;
    font-size: 1.7em;
    line-height: 1.2em;
    margin: 0;
    white-space: nowrap;
  }

  .product-model {
    font-weight: 500;
    font-size: 1.35em;
    line-height: normal;
    color: rgba(23, 30, 49, 0.6);
    width: min(18.75em, 100%);
    min-width: 0;
    margin: 0;
    white-space: nowrap;
  }

  .info-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    width: 100%;
  }

  .price-section {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    width: 100%;
  }

  .discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    background: #0479ff;
    color: #fff;
    font-weight: 600;
    font-size: 1.375em;
    line-height: 1;
    text-transform: uppercase;
    padding: 0.3em 0.625em;
    border-radius: 0.5em;
    white-space: nowrap;
  }

  .price-row {
    display: flex;
    align-items: flex-end;
    gap: 0.75em;
    white-space: nowrap;
  }

  .sale-price {
    font-weight: 700;
    font-size: 2.25em;
    line-height: normal;
    color: #0479ff;
  }

  .original-price {
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.625em;
    color: rgba(23, 30, 49, 0.6);
    text-decoration: line-through;
  }

  .shop-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.8em;
    background: #0479ff;
    color: #fff;
    font-weight: 700;
    font-size: 1.15625em;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 109px;
    cursor: pointer;
  }

  .shop-now-btn:hover {
    opacity: 0.9;
  }

  @media (min-width: 736px) and (max-width: 1024px) {
    .sectionA-list {
      flex-direction: row;
      align-items: stretch;
      gap: 1.5em;
    }

    .product {
      width: calc((100% - 1.5em) / 2);
      flex: 1 1 0;
      font-size: clamp(5px, 1.0667cqw, 8px);
    }

    .product-info-panel {
      padding: 1.6em;
    }

    .info-headers,
    .product-model {
      width: 100%;
    }
  }

  @media (max-width: 735px) {
  .sectionA-list {
    flex-direction: column;
    gap:4vw;
  }

  .sectionA h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .product {
    width: 100%;
    flex: 0 0 auto;
    border-radius: 1.5em;
    font-size: clamp(5.4px, 2.23cqw, 11.8px);
  }

    .sectionA-list .product > img,
    .sectionA-list .product > picture > img {
      flex-basis: 49%;
      width: 49%;
    }

    .sectionA-list .product > .a-1-img1-image-composite {
      flex-basis: 49%;
      width: 49%;
    }

    .sectionA-list .product > .a-1-img2-image-composite {
      flex-basis: 49%;
      width: 49%;
    }

    .sectionA-list .product > .a-2-img1-image-composite {
      flex-basis: 49%;
      width: 49%;
    }

    .product-info-panel {
      container-type: inline-size;
      justify-content: space-between;
      gap: 0;
      width: 51%;
      padding: 1.2em 2.05em 1.2em;
    }

    .info-top {
      gap: 0.55em;
    }

    .product-title {
      font-size: clamp(9.5px, 9.6cqw, 2.2em);
      margin: 0;
    }

    .product-subtitle {
      font-size: clamp(9px, 9.05cqw, 2em);
    }

    .product-model {
      font-size: clamp(8px, 7.2cqw, 1.7em);
    }

    .discount-badge {
      font-size: clamp(8px, 7.35cqw, 1.375em);
    }

    .price-row {
      gap: 0.85em;
    }

    .sale-price {
      font-size: clamp(12px, 12cqw, 2.25em);
    }

    .original-price {
      font-size: clamp(8px, 8cqw, 1.5em);
    }

    .shop-now-btn {
      height: 2.8em;
      font-size: clamp(8px, 6.65cqw, 1.5em);
    }

    .info-headers,
    .product-model {
      width: 100%;
    }
  }

/*Section B: More Prime Deals */


.sectionB-title {
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #171e31;
  text-align: center;
  letter-spacing: -0.03em;
  padding: 2.5rem 0;
  margin: 0;
}

.sectionB-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  container-type: inline-size;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 3em;
  overflow: hidden;
  min-width: 0;
  font-size: max(1px, 1.0667cqw);
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 342 / 240;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image > picture:first-child {
  display: contents;
}

.card-image > img:first-child,
.card-image > picture:first-child > img {
  max-width: 100%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card-badge {
  position: absolute;
  top: 1.333em;
  left: 1.333em;
  width: 6em;
  height: 6em;
  object-fit: contain;
}

.card-badge-wide {
  width: 9.833em;
  height: 3.333em;
}

.card-badge-right {
  position: absolute;
  top: 1.333em;
  left: 50%;
  transform: translateX(-50%);
  width: 10em;
  height: 3.5em;
  object-fit: contain;
}

.card-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 2em 2.5em 2.5em;
  background: #fff;
  box-sizing: border-box;
}

.card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.333em;
  text-align: center;
}

.card-headers {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: #171e31;
}

.card-title {
  font-weight: 700;
  font-size: 1.7em;
  line-height: 1.333em;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.card-subtitle {
  font-weight: 500;
  font-size: 1.45em;
  line-height: 1.273em;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.card-model {
  font-weight: 500;
  font-size: 1.35em;
  line-height: normal;
  color: rgba(23, 30, 49, 0.6);
  margin: 0;
  white-space: nowrap;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  margin-top: 2em;
}

.card-price-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.667em;
  width: 100%;
}

.card-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0479ff;
  color: #fff;
  font-weight: 600;
  font-size: 1.4em;
  line-height: normal;
  text-transform: uppercase;
  padding: 0.1em 0.625em;
  border-radius: 0.5em;
  white-space: nowrap;
  height:1.5em
}

.card-price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.667em;
  white-space: nowrap;
}

.card-sale-price {
  font-weight: 700;
  font-size: 1.8em;
  line-height: normal;
  color: #0479ff;
}

.card-original-price {
  font-weight: 400;
  font-size: 1.3em;
  line-height: 1.6em;
  color: rgba(23, 30, 49, 0.6);
  text-decoration: line-through;
}

.card-shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.3em;
  background: #0479ff;
  color: #fff;
  font-weight: 700;
  font-size: 1.55em;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 109px;
  cursor: pointer;
}

.card-shop-btn:hover {
  opacity: 0.9;
}

/* Section B Responsive */

@media (min-width: 736px) and (max-width: 1024px) {
  .sectionB-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 0.75rem;
  }

  .card {
    font-size: clamp(7px, 1.0667cqw, 10px);
  }

  .card-text {
    padding: 2em 1.9em 2.5em;
  }

  .card-subtitle {
    font-size: 1.4em;
  }
}


@media (max-width: 735px) {
  .sectionB-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .sectionB-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .card {
    font-size: 1.7vw;
  }

}

  /* section C */
  .sectionC-content {
    text-align: center;
    padding:4em 2em
  }

  .sectionC-content p {
    font-weight: 400;
    font-size: 0.8em;
    line-height: 1.5em;
    color: #171e31;
    text-wrap: wrap;
    overflow-wrap: anywhere;
  }


