*,
** {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
}

:root {
  --section-header-font-size: clamp(18px, 3.92px + 2.2vw, 40px);
  --content-text-big-font-size: clamp();
  --content-text-font-size: clamp(10px, 4.88px + 0.8vw, 18px);
  --common-color: #005EAC;
  --sandy-color: #EEEBE7;
  --section-margin: clamp(40px, 14.4px + 4vw, 80px);
}

@media (max-width: 640px) {
  :root {
    --section-header-font-size: 20px;
    --content-text-font-size: 14px;
    --section-margin: 40px;
  }
}

.TODO-container {
  position: relative;
  margin: 0;
  padding: 0;
}

.TODO {
  position: absolute;
  left: 50%;
  top: 50%;
  font-weight: 800;
  font-size: 9rem;
  transform: translate(-50%, -50%);
  z-index: 10000;

  background: repeating-linear-gradient(45deg,
      #CCFF00,
      #CCFF00 10px,
      #000000 10px,
      #000000 20px);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  @media (max-width: 640px) {
    font-size: 4rem;
  }
}

.TODO::after {
  content: "TODO";
}

.tapo-rv50-omni {
  width: 100%;
  font-family: "Manrope";
  max-width: 1640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;

  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: flex;
  }

  @media (max-width: 640px) {
    .mobile-only {
      display: flex !important;
    }

    .desktop-only {
      display: none !important;
    }
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 700;
    line-height: 1.2;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  strong,
  b {
    font-weight: bold;
  }

  h1,
  h2,
  h3,
  p,
  ul,
  ol {
    margin-top: 0;
    margin-bottom: 1.25rem;
  }

  picture {
    display: block;
    width: 100%;
  }

  img {
    display: block;
    width: 100%;
  }

  .banner-container {
    width: 100%;
    position: relative;
  }

  .banner-img {
    width: 100%;
  }

  .banner-content {
    position: absolute;
    top: 50%;
    right: 48%;
    left: 20%;
    transform: translateY(-50%);

    @media (max-width: 640px) {
      top: 7%;
      right: 40%;
      left: 5%;
      transform: none;
    }
  }

  .banner-content-header {
    font-size: clamp(18px, -2.48px + 3.2vw, 50px);
    margin: 0;

    @media (max-width: 640px) {
      font-size: 20px;
    }
  }

  .banner-content-text {
    font-size: clamp(9px, -0.6px + 1.5vw, 24px);
    margin: clamp(10px, 3.6px + 1vw, 20px) auto;

    @media (max-width: 640px) {
      font-size: 15px;
    }
  }

  .button-lookalike {
    display: inline-block;
    background-color: var(--common-color);
    width: auto;
    padding: clamp(5px, 1.8px + 0.5vw, 10px) clamp(10px, 3.6px + 1vw, 20px);
    color: white;
    border-radius: 50px;
    margin: 0;
    font-size: clamp(9px, 1.96px + 1.1vw, 20px);

    @media (max-width: 640px) {
      font-size: 15px;
      padding: 3px 16px;
    }
  }

  .google-alexa-icons {
    position: absolute;
    bottom: 4%;
    right: 2%;
    width: 15%;

    @media (max-width: 640px) {
      bottom: 6%;
      right: 4%;
      width: 35%;
    }
  }

  .selling-points {
    width: 70%;
    margin-top: var(--section-margin);

    @media (max-width: 640px) {
      width: 95%;
    }
  }

  .mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 5px;

    @media (max-width: 640px) {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(10, auto);
    }
  }

  .mosaic picture {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mosaic img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mosaic-tile__tangle-free {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
    position: relative;

    @media (max-width: 640px) {
      grid-column: 1 / 3;
      grid-row: 1 / 4;
    }
  }

  .mosaic-tile__tangle-free-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
  }

  .mosaic-tile__tangle-free-content-text {
    margin: 0;
    padding: 0;
    color: white;
    font-weight: 600;
    font-size: clamp(15px, 7.96px + 1.1vw, 26px);
  }

  .mosaic-tile__12000Pa {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    position: relative;

    @media (max-width: 640px) {
      grid-column: 1 / 2;
      grid-row: 4 / 7;
      width: 98%;
    }
  }

  .mosaic-tile__auto-mop-removal {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
    position: relative;

    @media (max-width: 640px) {
      grid-column: 2 / 3;
      grid-row: 4 / 7;
      width: 100%;
    }
  }

  .mosaic-tile__12000Pa-content,
  .mosaic-tile__auto-mop-removal-content {
    position: absolute;
    top: 5%;
    left: 5%;

    @media (max-width: 640px) {
      margin: 0;
      padding: 0;
    }
  }

  .mosaic-tile__12000Pa-content-text,
  .mosaic-tile__auto-mop-removal-content-text {
    color: white;
    font-size: clamp(12px, 6.88px + 0.8vw, 20px);
    font-weight: 600;
  }

  .mosaic-tile__12000Pa-content-subtext {
    font-size: clamp(15px, 7.96px + 1.1vw, 26px);
  }

  .mosaic-tile__mop-lifting {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    position: relative;

    @media (max-width: 640px) {
      grid-column: 1 / 3;
      grid-row: 7 / 9;
    }
  }

  .mosaic-tile__warm-air-drying {
    grid-column: 3 / 5;
    grid-row: 3 / 4;
    position: relative;

    @media (max-width: 640px) {
      grid-column: 1 / 2;
      grid-row: 9 / 11;
    }
  }

  .mosaic-tile__auto-mop-washing {
    grid-column: 5 / 7;
    grid-row: 3 / 4;
    position: relative;

    @media (max-width: 640px) {
      grid-column: 2 / 3;
      grid-row: 9 / 11;
    }
  }

  .mosaic-tile__mop-lifting-content,
  .mosaic-tile__warm-air-drying-content,
  .mosaic-tile__auto-mop-washing-content {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;

    @media (max-width: 640px) {
      top: 85%;
    }
  }

  .mosaic-tile__mop-lifting-content {
    @media (max-width: 640px) {
      top: 57%;
      left: 5%;
      width: 40%;
      transform: none;
      transform: translateY(-50%);
    }
  }

  .mosaic-tile__mop-lifting-content-text,
  .mosaic-tile__warm-air-drying-content-text,
  .mosaic-tile__auto-mop-washing-content-text {
    font-size: clamp(10px, 2.32px + 1.2vw, 22px);
    font-weight: 600;

    @media (max-width: 640px) {
      font-size: 14px;
      margin: 0;
      padding: 0;
    }
  }

  .mosaic-video {
    border-radius: 15px;
  }

  .tangle-free {
    margin-top: var(--section-margin);
    width: 100%;

    @media (max-width: 640px) {
      width: 95%;
    }
  }

  .tangle-free-header {
    font-size: var(--section-header-font-size);
    text-align: center;
    margin-bottom: clamp(10px, 3.6px + 1vw, 20px);

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .tangle-free-text {
    font-size: var(--content-text-font-size);
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .tangle-free-img {
    width: 100%;
  }

  .tangle-free-video {
    width: 100%;
  }

  .anti-tangle {
    width: 70%;
    display: flex;
    flex-direction: column;
    margin-top: var(--section-margin);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    gap: 10px;

    @media (max-width: 640px) {
      width: 100%;
      align-items: center;
      margin-top: 10px;
    }
  }

  .anti-tangle-container {
    @media (max-width: 640px) {
      width: 95%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  }

  .anti-tangle-card {
    @media (max-width: 640px) {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 0;
      background-color: var(--sandy-color);
    }
  }

  .anti-tangle-row {
    display: flex;
    flex-direction: row;
    background-color: var(--sandy-color);
    border-radius: 10px;
  }

  .anti-tangle-img-container {
    display: block;
    flex: 0 0 50%;
    box-sizing: border-box;
  }

  .anti-tangle-img {
    width: 100%;
  }

  .anti-tangle-half {
    display: flex;
    justify-content: center;
    flex: 0 0 50%;
  }

  .anti-tangle-content {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    @media (max-width: 640px) {
      width: calc(100% - 40px);
      padding: 20px;
    }
  }

  .anti-tangle-content-header {
    font-size: clamp(13px, 5.96px + 1.1vw, 24px);
    margin: 0 0 10px 0;

    @media (max-width: 640px) {
      font-size: 16px;
    }
  }

  .anti-tangle-content-text {
    font-size: clamp(7px, 1.88px + 0.8vw, 15px);
    margin: 0;

    @media (max-width: 640px) {
      font-size: 12px;
    }
  }

  .anti-tangle-safe-icons {
    display: grid;
    margin: 20px 0 0 0;
    width: 60%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    row-gap: clamp(0px, -6.4px + 1vw, 10px);
    column-gap: clamp(10px, 3.6px + 1vw, 20px);
    align-items: center;
    justify-items: center;

    @media (max-width: 640px) {
      margin: 10px 0 0 0;
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }
  }

  .anti-tangle-pet-safe-icon-img {
    grid-column: 1 / 2;
    grid-row: 1 / 2;

    @media (max-width: 640px) {
      width: 10%;
    }
  }

  .anti-tangle-pet-safe-icon-text {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin: 0;
    font-size: var(--content-text-font-size);
    text-align: center;

    @media (max-width: 640px) {}
  }

  .anti-tangle-carpet-safe-icon-img {
    grid-column: 2 / 3;
    grid-row: 1 / 2;

    @media (max-width: 640px) {
      /* grid-row: 1 / 2;
      grid-column: 3 / 4; */
      width: 20%;
    }
  }

  .anti-tangle-carpet-safe-icon-text {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin: 0;
    font-size: var(--content-text-font-size);
    text-align: center;

    @media (max-width: 640px) {
      /* grid-row: 1 / 2;
      grid-column: 4 / 5; */
    }
  }

  .anti-tangle-safe-icons img {
    width: 50%;

    @media (max-width: 640px) {
      width: 10%;
    }
  }

  .handle-messes {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--section-margin);
  }

  .handle-messes-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;

    @media (max-width: 640px) {
      width: 95%;
      align-items: flex-start;
    }
  }

  .deep-cleaning-power {
    color: var(--common-color);
    text-align: center;
    font-size: clamp(14px, 5.04px + 1.4vw, 28px);
    font-weight: 500;
    margin-bottom: 0;

    @media (max-width: 640px) {
      font-size: 18px;
      text-align: left;
    }
  }

  .handle-messes-content-header {
    font-size: var(--section-header-font-size);
    text-align: center;
    margin: clamp(10px, 3.6px + 1vw, 20px) auto;

    @media (max-width: 640px) {
      text-align: left;
      margin: 10px 0;
    }
  }

  .handle-messes-content-text {
    font-size: var(--content-text-font-size);
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .handle-messes-img {
    width: 100%;
  }

  .carpet-detection {
    margin-top: var(--section-margin);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .carpet-detection-content {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (max-width: 640px) {
      width: 95%;
      align-items: flex-start;
    }
  }

  .carpet-detection-content-header {
    text-align: center;
    font-size: var(--section-header-font-size);
    margin-bottom: clamp(10px, 3.6px + 1vw, 20px);

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .carpet-detection-content-text {
    text-align: center;
    font-size: var(--content-text-font-size);

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .carpet-detection-carousel-wrapper {
    position: relative;
    width: 70%;
    display: flex;
    align-items: center;

    @media (max-width: 640px) {
      width: 100%;
    }
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(32px, 23.04px + 1.4vw, 46px);
    height: clamp(32px, 23.04px + 1.4vw, 46px);
    background-color: #EBEBEB;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.2s ease;

    @media (max-width: 640px) {
      width: 20px;
      height: 20px;
    }
  }

  .carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
  }

  .carousel-arrow:hover {
    background-color: #D6D6D6;
  }

  .carousel-arrow svg {
    width: 22px;
    height: 22px;
    fill: #333;
    display: block;

    @media (max-width: 640px) {
      width: 12px;
      height: 12px;
    }
  }

  .prev-arrow {
    left: clamp(-100px, -34.4px - 4vw, -60px);

    @media (max-width: 640px) {
      left: 3%;
    }
  }

  .next-arrow {
    right: clamp(-100px, -34.4px - 4vw, -60px);

    @media (max-width: 640px) {
      right: 3%;
    }
  }

  .carpet-detection-carousel-container {
    width: 100%;
    overflow: hidden;
  }

  .carpet-detection-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease-in-out;
  }

  .carpet-detection-carousel-slide {
    background-color: #F6F6F6;
    display: flex;
    width: 100%;
    flex-shrink: 0;
    border-radius: 15px;
    border: none;
    overflow: hidden;

    @media (max-width: 640px) {
      border-radius: 0;
    }
  }

  .carpet-detection-carousel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;

    @media (max-width: 640px) {
      width: 50%;
    }
  }

  .carpet-detection-content-text-container {
    width: 60%;
  }

  .carpet-detection-carousel-content-header {
    font-size: clamp(11px, 3.96px + 1.1vw, 22px);
    text-align: left;
    margin-bottom: clamp(10px, 3.6px + 1vw, 20px);

    @media (max-width: 640px) {
      font-size: 14px;
      margin-bottom: 5px;
    }
  }

  .carpet-detection-carousel-content-text {
    font-size: clamp(7px, -0.04px + 1.1vw, 18px);

    @media (max-width: 640px) {
      font-size: 10px;
      margin: 0;
    }
  }

  .carpet-detection-carousel-slide picture {
    width: 60%;

    @media (max-width: 640px) {
      width: 50%;
    }
  }

  .carpet-detection-carousel-img {
    width: 100%;
    display: block;
  }

  .meticulous-mopping {
    margin-top: var(--section-margin);
    position: relative;

    @media (max-width: 640px) {
      display: flex;
      flex-direction: column-reverse;
      width: 100%;
      align-items: center;
    }
  }

  .meticulous-mopping-img {
    width: 100%;
  }

  .meticulous-mopping-content {
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (max-width: 640px) {
      position: relative;
      left: auto;
      top: auto;
      transform: none;
      width: 95%;
    }
  }

  .meticulous-mopping-content-header {
    font-size: var(--section-header-font-size);
    text-align: center;
    margin-bottom: clamp(10px, 3.6px + 1vw, 20px);

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .meticulous-mopping-content-text {
    width: 90%;
    font-size: var(--content-text-font-size);
    text-align: center;
    align-self: center;

    @media (max-width: 640px) {
      text-align: left;
      width: 100%;
    }
  }

  .meticulous-mopping-labels {
    position: absolute;
    width: 20%;
    height: 35%;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    @media (max-width: 640px) {
      width: 75%;
      height: auto;
      top: auto;
      bottom: 5%;
      left: 5%;
      transform: none;
      flex-direction: row;
    }
  }

  .meticulous-mopping-label {
    display: flex;
    flex-direction: column;
  }

  .meticulous-mopping-label-header {
    font-size: clamp(24px, 8.64px + 2.4vw, 48px);
    color: var(--common-color);
    font-weight: 700;
  }

  .meticulous-mopping-label-text {
    font-size: var(--content-text-font-size);

    @media (max-width: 640px) {
      font-size: 11px;
    }
  }

  .one-dock {
    width: 100%;
    position: relative;
  }

  .one-dock .image {
    width: 100%;
    height: auto;
    will-change: opacity;
  }

  .one-dock .image:nth-child(1) {
    position: relative;
    opacity: 1;
  }

  .one-dock .image:not(:nth-child(1)) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  } 



  .smarter-avoidance {
    margin-top: var(--section-margin);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .smarter-avoidance-video {
    width: 100%;
  }

  .smarter-avoidance-content {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (max-width: 640px) {
      width: 95%;
      align-items: flex-start;
    }
  }

  .smarter-avoidance-content-header {
    font-size: var(--section-header-font-size);
    margin-bottom: clamp(10px, 3.6px + 1vw, 20px);
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .smarter-avoidance-content-text {
    font-size: var(--content-text-font-size);
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .smarter-avoidance-icons {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .smarter-avoidance-icon-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: clamp(28%, 34.56% - 0.4vw, 32%);
    /* width: 32%; */

    @media (max-width: 640px) {
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }
  }

  .smarter-avoidance-icon-label {
    font-weight: 500;
    font-size: clamp(11px, 3.96px + 1.1vw, 22px);
    margin: 0;

    @media (max-width: 640px) {
      text-align: center;
    }
  }

  .smarter-avoidance-icon-img {
    width: clamp(18%, 16.72% + 0.2vw, 20%);
  }

  .smarter-avoidance-img {
    width: 100%;
  }

  /* .handle-messes-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
  } */

  .pet-zone {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--section-margin);
  }

  .pet-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;

    @media (max-width: 640px) {
      width: 95%;
      align-items: flex-start;
    }
  }

  .pet-zone-content-subheader {
    color: var(--common-color);
    text-align: center;
    font-weight: 500;
    font-size: clamp(14px, 5.04px + 1.4vw, 28px);
    margin-bottom: 0;

    @media (max-width: 640px) {
      font-size: 18px;
      text-align: left;
    }
  }

  .pet-zone-content-header {
    font-size: var(--section-header-font-size);
    margin: clamp(10px, 3.6px + 1vw, 20px) 0;
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .pet-zone-content-text {
    font-size: var(--content-text-font-size);
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .pet-zone-img {
    width: 100%;
  }

  .tap-set-let-tapo {
    background-color: #EDEDED;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .tap-set-let-tapo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    @media (max-width: 640px) {
      width: 95%;
    }
  }

  .tap-set-let-tapo-header {
    text-align: center;
    margin-top: var(--section-margin);
    font-size: var(--section-header-font-size);
    margin-bottom: clamp(10px, 3.6px + 1vw, 20px);

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .tap-set-let-tapo-content {
    position: relative;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 40px 0 80px 0;

    @media (max-width: 640px) {
      width: 100%;
      display: flex;
      gap: 16px;
      margin: 20px 0 40px 0;
      flex-direction: row;
    }
  }

  .tap-set-let-tapo-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: var(--content-text-font-size);

    @media (max-width: 640px) {
      /* width: 50%; */
      flex: 0 0 calc(50% - 8px);
    }
  }

  .tap-set-let-tapo-column img {
    width: 100%;
  }

  .tap-set-let-tapo-content-text {
    padding: 0;
    margin: 0;
    font-size: var(--content-text-font-size);
    text-align: center;
  }

  .easy-custom-setup {
    margin-top: var(--section-margin);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .easy-custom-setup-content {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (max-width: 640px) {
      width: 95%;
    }
  }

  .easy-custom-setup-content-header {
    font-size: var(--section-header-font-size);
    margin-bottom: clamp(10px, 3.6px + 1vw, 20px);
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .easy-custom-setup-content-text {
    font-size: var(--content-text-font-size);
    text-align: center;

    @media (max-width: 640px) {
      text-align: left;
    }
  }

  .easy-custom-setup-img {
    width: 100%;
  }
}