*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Urbanist", sans-serif;;
}
.main-preview{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}
.iframe-preview{
    justify-content: center;
    width: 100%;
    display: flex;
    height: calc(100vh - 100px);
}
.iframe-preview .demo-iframe {
    width: 100%;
    height: 100%;
}
.info-preview{
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    z-index: 9;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); 
}

@media (min-width: 48rem) {
    .info-preview {
        height: 100px;
    }
}

.info-preview-header{
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-preview-header a img{
    width: 142px;
    margin-right: 10px;
}
.info-preview-profile span{
    font-weight: 500;
    font-size: 14px;
    color: #76767c;
}
.info-preview-profile{
    display: flex;
    align-items: center;
}
.info-preview-profile img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
}
.text-preview{
    border: 1px solid #eef0f4;
    border-radius: 4px;
    padding: 14px;
    font-size: 15px;
}


.product-card {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
  }
  
  /* Discount section */
  .discount-section {
    display: none;
    align-items: center;
    gap: 10px;
  }
  
  @media (min-width: 768px) {
    .discount-section {
      display: flex;
    }
  }
  
  .discount-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    padding: 2px;
    background: rgba(248, 249, 252, 0.695);
    border: 1px solid rgba(213, 215, 218, 0.25);
  }
  
  .discount-text {
    font-weight: 500;
    font-size: 16px;
    color:#424244;
    transition: all 0.3s;
  }
  
  .price-info {
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .original-price {
    font-weight: 500;
    font-size: 15px;
    color: #909090;
    text-decoration: line-through;
    margin-bottom: -4px;
    transition: all 0.3s;
  }
  
  .current-price {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .price-number {
    font-weight: 600;
    font-size: 20px;
    color: #424244;
    transition: all 0.3s;
    margin-top: 2px;
  }
  
  .price-currency {
    font-size: 13px;
    color: #76767C;
    transition: all 0.3s;
  }
  
  /* Add to cart button */
  .add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    width: 154px;
    height: 48px;
    background-color: #7a5bf7;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
  }
  
  .add-to-cart-btn:hover {
    background-color: #4F4AE6;
  }
  
  .add-to-cart-btn svg {
    color: #fff;
  }
  
  /* Close button */
  .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #F9FAFC;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
  }
  
  .close-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
  }
  
  .close-btn svg {
    color: #878F9B;
  }


@media (max-width: 768px) {
    .info-preview-profile {
      display: none;
    }
    .text-preview{
        display: none;
    }
    .info-preview-header a img{
        width: 120px;
    }
  }