* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    width: 100%;
    background-color: #f9f9f9;
    color: #333;
  }
  
  .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
  }
  
  header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
  }
  /*tieu de*/
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
  }
  
  .logo-text {
    font-size: 28px;
    font-weight: bold;
    color:  #FF6666;
  }
  
  .tagline {
    font-size: 14px;
    color: #666;
  }
  
  .search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 10px 20px;
    position: relative;
  }
  
  .search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px 0 0 25px;
    outline: none;
  }
  
  .search-bar button {
    padding: 10px;
    border: none;
    background-color: #FF6666;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
  }
  
  .search-bar button img {
    width: 20px;
    height: 20px;
  }
  
  .right-section {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .user-actions a {
    margin-right: 10px;
    color: black;
    text-decoration: none;
    font-size: 14px;
  }
  
  .user-actions img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
  }
  
  .hotline {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .phone-icon img {
    width: 24px;
    height: 24px;
  }
  
  .contact-info .hotline-text {
    font-size: 12px;
    color: #666;
  }
  
  .phone-number {
    font-size: 14px;
    color: #FF6666;
    font-weight: bold;
  }
  
  /* NAVIGATION */
  .main-nav {
    background-color:#FF6666;
    padding: 10px 0;
  }
  
  .suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border-radius: 8px;
}

.suggestions-box .suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    border-radius: 8px;
}

.suggestions-box .suggestion-item:hover {
    background-color: #f2f2f2;
}

.suggestions-box .suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
}


  .category-menu {
    position: relative;
    display: inline-block;
    color: white;
    font-weight: bold;
    cursor: pointer;
  }
  
  .category-menu span {
    margin-left: 10px;
  }
  
  .category-menu:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }
  
  .dropdown-menu ul {
    list-style: none;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
  }
  
  .dropdown-menu li a:hover {
    background-color: #eee;
  }
  
  .menu-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
  }
  
  .menu-items li {
    list-style: none;
  }
  
  .menu-items a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: bold;
  }
  
  .menu-items a:hover {
    background-color:purple;
    border-radius: 5px;
  }
  
  /* djch vu */
  .service-features {
    background-color: #fff;
    padding: 20px 0;
  }
  
  .features-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .feature-item {
    flex: 1 1 180px;
    text-align: center;
    font-size: 14px;
  }
  
  .feature-icon img {
    width: 50px;
    margin-bottom: 10px;
  }
  
  /* san pham */
  .main-content {
    padding: 30px 0;
    background-color: #fff;
    margin-top: 10px;
  }
  
  .section-header {
    margin-bottom: 10px;
    margin-top: 20px;
  }
  
  .section-title {
    font-size: 20px;
    font-weight: bold;
    color: #FF6666;
    border-bottom: 2px solid #FF6666;
    padding-bottom: 5px;
    display: inline-block;
  }
  
  .product-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 360px;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
    background-color: white;
    transition: transform 0.3s ease;
  }

  .product-item-new {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 360px;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
    background-color: white;
    transition: transform 0.3s ease;
  }

  .product-item.hidden {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 360px;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
    background-color: white;
    transition: transform 0.3s ease;
  }
  
  .product-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 10px;
    cursor: grab;
    width: 100%;
}

.product-scroll {
    display: flex;
    gap: 20px;
    margin: auto;
}

.product-item {
    flex: 0 0 auto;
    width: 250px;
    height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: white;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}


  .product-item.hidden1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 360px;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
    background-color: white;
    transition: transform 0.3s ease;
  }

  .product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .product-image img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    height: 150px;
  }
  
  .product-name {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    text-decoration: none;
  }
  
  .product-price {
    color: #FF6666;
    font-weight: bold;
    margin-top: 5px;
  }
  
  .original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 13px;
  }
  
  .inline-discount-badge {
    background-color: purple;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 5px;
    display: inline-block;
    margin-left: 5px;
  }
  
  .add-to-cart-btn {
    padding: 8px 16px;
    background-color: #FF6666;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .add-to-cart-btn img {
    width: 24px;
    height: 24px;
  }
  
  .add-to-cart:hover {
    background-color: #c22030;
  }
  
  /* FLASH SALE BANNER */
  .flash-sale-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .flash-sale-item img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  /* MEGA SALE */
  .mega-sale-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  /* VIEW ALL BUTTON */
  .view-all-container {
    text-align: center;
    margin-top: 20px;
  }

  .view-all-container1{
    text-align: center;
    margin-top: 20px;
  }
  
  .view-all-btn {
    background-color: #FF6666;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
  }

   .view-all-btn1 {
    background-color: #FF6666;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
  }
  
  .view-all-btn:hover {
    background-color: #4caf50;
  }
  
  /* FOOTER */
  footer {
    background-color: #FF6666;
    color: white;
    padding: 40px 0;
    margin-top: 30px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .footer-column {
    flex: 1 1 200px;
  }
  
  .footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 8px;
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .payment-methods img {
    margin-top: 10px;
    max-width: 100%;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {

    #slideshow{
      display: none;
    }
    .main-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .search-bar {
      margin: 10px 0;
    }
  
    .menu-items {
      flex-direction: column;
      gap: 10px;
      margin-top: 10px;
    }
  
    .product-grid-container {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .tulanh-mat-row{
      grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
      justify-content: center;
    }
  }

  .menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    margin: 10px;
    z-index: 1001;
  }
  
  @media (max-width: 480px) {
    .product-grid-container {
      grid-template-columns: 1fr;
    }
  
    .flash-sale-row {
      flex-direction: column;
    }
  
    .logo-text {
      font-size: 22px;
    }
    .tulanh-mat-row {
      grid-template-columns: 2fr;
    }
  }
  
  .tulanh-mat-section {
    width: 100%;
    margin-top: 20px;
  }
  
  .tulanh-mat-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
 /*bannerslide và bannersale*/
 #slideshow {
    position: relative;
    width: 70%;
    max-width: 800px;
    margin: auto; 
  }
  
  #slide {
    width: 100%;
    display: block;
    border-radius: 8px;
    height: 298px;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
  }
  
  .arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .arrow.left {
    left: 10px;
  }
  
  .arrow.right {
    right: 10px;
  }

  #sale {
    width: 100%;
    display: block;
    border-radius: 8px;
    height: 350px;
  }

  .old-price {
    color: #b2b2b2;
    text-decoration: line-through;
  }
  /*Bản đồ*/
  .footer-address {
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff; 
  }
  
  .footer-map iframe {
    border-radius: 8px;
    width: 100%;
    height: 200px;
  }
  /* dropdown menu*/
  .menu-items {
    list-style-type: none;
    display: flex;
  }
  
  .menu-items li {
    position: relative;
  }
  
  .menu-items li a,
  .category-menu {
    display: block;
    padding: 14px 20px;
    color: black ;
    text-decoration: none;
    cursor: pointer;
  }
  
  .menu-items li a:hover,
  .category-menu:hover {
    background-color: #444;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .hidden {
    display: none;
  } 

  .hidden1{
    display: none;
  }
