.highlighted{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px; 
  padding: 50px 5%;
  height: 537px;
  box-sizing: border-box;

  }
  .main-highlight{
    position: relative;
    background-color: #D7D7D7;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 437px;
  }
  .main-content{
    width: 100%;
    height: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }
  .arrow-left,
  .arrow-right{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arrow-left{
    left: 10px;
  }
  .arrow-right{
    right: 10px;
  }
  .sec-highlighted{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .box{
    background-color: #D7D7D7;
    flex: 1;
    border-radius: 10px;
    max-height: 213.5px;
  }


  .categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #f5f8fc;
    top: 50px;
    flex-wrap: wrap;
  }
  .categories a{
    text-decoration: none;
  }
  .category {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100px;
    transition: transform 0.3s ease;
  }
  
  .category img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  
  .category p {
    font-size: 14px;
    font-weight: bold;
    color: #333;
  }
  
  .category:hover {
    transform: translateY(-10px);
  }




.flash-sale {
    padding: 20px;
    background: #f9f9f9;
  }
  
  .flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 50px;
    padding-left:5%;
    padding-right:5%;
  }
  
  .timer {
    background: #ffd700;
    color: #000;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 16px;
    margin-left: 10px;
  }
  .fsh{
    display: flex;
    align-items: center;
  }
  .view-all {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
  }
  
  .products {
    display: flex;
    gap: 20px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
  
  .product-card {
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 350.5px;
  }
  
  .product-image {
    width: 150px;
    min-width: 150px;
    height: 200px;
    background: #ccc;
    border-radius: 10px;
    margin-bottom: 15px;
    margin-right: 10px;
  }
  
  .product-card h3 {
    font-size: 18px;
    margin: 10px 0;
  }
  
  .price {
    font-size: 16px;
    margin: 5px 0;
  }
  
  .original-price {
    text-decoration: line-through;
    color: #999;
  }
  
  .availability {
    color: #555;
  }
  
  .progress-bar {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
  }
  
  .progress {
    height: 100%;
    background: #ffc107;
  }
  
  .add-to-cart {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.7s ;
  }
  .add-to-cart a{
    text-decoration: none;
    color: var(--color-white);
  }
  
  .add-to-cart:hover {
    background: #0056b3;
  }



  .best-seller {
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    padding:50px 5%;
  }
  
  .bs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

  }
  .bs-header .bs-view-all {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: bold;
  }
  
  .bs-content {
    display: flex;
    gap: 20px;
    flex-direction: row-reverse;
  }
  
  .bs-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 2;
  }
  
  .bs-card {
    background-color: #f0f4f8;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
  }
  
  .bs-card .image-placeholder {
    width: 118px;
    height: 118px;
    background-color: #d1d5db;
    margin-bottom: 10px;
    border-radius: 4px;
    margin-right: 5px;
  }
  
  .bs-card p {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
  }
  
  .bs-card .bs-btn {
    display: inline-block;
    padding: 8px 16px;
    color: white;
    background-color:var(--color-primary);
    text-decoration: none;
    border-radius: 25px;
    height: 20px;
  }
  
  .bs-banner {
    flex: 1;
    background-color: #d1d5db;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 368px;
    min-height: 168px;
  }
  
  .bs-banner p {
    font-size: 16px;
    color: #888;
  }
  
  .bs-banner h4 {
    margin: 10px 0;
  }
  
  .bs-banner .bs-btn {
    display: inline-block;
    padding: 8px 16px;
    color: white;
    background-color: var(--color-primary);
    text-decoration: none;
    border-radius: 25px;
    margin-top: 10px;
  }
  .bs-details{
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: space-evenly;
        margin-left: 10px;
  }
  .bs-banner-details{
        display: flex;
        flex-direction: column;
        justify-content: center;
        left: 70%;
        width: 120px;
  }

  .hns-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .hns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 5%;
  }


  .hns-header a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: bold;
  }

  .hns-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .hns-product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;

  }

  .hns-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    .hns-heart-icon{
      opacity:1 ;
    }
  }

  .hns-product-image {
    width: 100%;
    height: 150px;
    background-color: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 4px;
  }

  .hns-product-rating {
    font-size: 0.9rem;
    margin-bottom: 5px;
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: white;
    width: 50px;
    border-radius: 25px;
    color: var(--color-primary);
  }
.star{
color: #ffcc00;
}
  .hns-heart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: #ff6666;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    opacity: 0;
  }

  .hns-heart-icon:hover {
    background-color: #e60000;
    opacity: 1;
  }

  .hns-product-title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
  }

  .hns-product-sold {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
  }

  .hns-product-price {
    font-size: 1.2rem;
    color: var(--color-orange);
    font-weight: bold;
    margin-bottom: 10px;
  }

  .hns-buy-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #fff;
    background-color: var(--color-primary);
    border: none;
    border-radius: 25px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .hns-buy-button:hover {
    background-color: #0056b3;
  }




  .news-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 5%;
}


.news-header a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: bold;
}

.news-container {
    display: flex;
    gap: 20px;
}

.news-card {
    flex: 1;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card .image-placeholder {
    height: 150px;
    background-color: #e0e0e0;
}

.news-card .content {
    padding: 15px;
}

.news-card .content p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.news-card .content h5 {
    margin: 1px 0;
    color: var(--color-primary);
}

.news-card .read-more {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.news-card .read-more:hover {
    background-color: #0056b3;
}


@media(max-width: 1221px){
.products{
  flex-direction: column;
  align-items: center;
}
.product-card{
  justify-content: space-evenly;
  width: 50%;
}
}

@media(max-width: 1125px){
  .bs-content{
    flex-wrap: wrap-reverse;

  }
}


@media(max-width: 979px){
#camera{
display: none;
}
}

@media(max-width: 819px){
  #camera,
  #tv,
  #laptop{
    display: none;
  }
}
@media(max-width: 499px){
#camera,
#tv{
  display: none;
}
#laptop{
  display: block;
}
}

@media(max-width: 585px){
  .bs-categories{
    display: flex !important;
    flex-wrap: wrap;
  }
  .bs-content{
    display: flex;
    flex-direction: column-reverse;

  }
  .news-container{
    flex-direction: column;
  }
}
@media (max-width: 504px) {
.highlighted{
  grid-template-columns: none !important;
  grid-template-rows: 1fr;
}
.sec-highlighted{
  display: none;
}
#camera,
#tv{
  display: none;
}
}