* {
    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;
  }
  
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
  }
  /*body1*/
  .logo-text {
    font-size: 28px;
    font-weight: bold;
    color:  purple;
  }
  
  .tagline {
    font-size: 14px;
    color: #666;
  }
  
  .search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 10px 20px;
  }
  
  .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: purple;
    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: purple;
    font-weight: bold;
  }
  /*body2-menu*/
  .main-nav {
    background-color: purple;
    padding: 10px 0;
  }
  
  .menu-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
    list-style-type: none;
  }
  
  .menu-items li {
    position: relative;
    list-style: none;
  }
  
  .menu-items a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    font-weight: bold;
    display: block;
  }
  
  .menu-items a:hover {
    background-color: #444;
    border-radius: 5px;
  }
    
  .category-menu {
    position: relative;
    display: inline-block;
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 14px 20px;
  }
  
  .category-menu span {
    margin-left: 10px;
  }

  .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;
    margin: 0;
    padding: 0;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
  }
  
  .dropdown-menu li a:hover {
    background-color: #eee;
  }
  
  .category-menu:hover .dropdown-menu,
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .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;
  }

  /*footer*/
  footer {
    background-color: purple;
    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%;
  }
  .footer-address {
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff; 
  }
  
  .footer-map iframe {
    border-radius: 8px;
    width: 100%;
    height: 200px;
  }

  /*maim*/
  .main-content {
    padding: 40px 0;
    background-color: #f8f9fa; /* Subtle background for contrast */
    min-height: 100vh;
  }
  
  .product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
  }
  
  /* Product Image */
  .product-image {
    flex: 1 1 400px;
    max-width: 500px;
  }
  
  .product-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  
  .product-image img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
  }
  
  /* Product Info */
  .product-detail-info {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .product-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c2c2c;
  }
  
  .product-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
  }
  
  .price-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .product-price {
    font-size: 24px;
    font-weight: bold;
    color: #6f42c1; /* Purple color for consistency */
  }
  
  .product-price span {
    font-size: 20px;
  }
  
  /* Buttons */
  .button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .btn-primary {
    background-color: #6f42c1;
    color: #fff;
  }
  
  .btn-primary:hover {
    background-color: #5632a0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .btn-secondary {
    background-color: #e9ecef;
    color: #333;
  }
  
  .btn-secondary:hover {
    background-color: #d3d7db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .product-detail-container {
      flex-direction: column;
      padding: 20px;
    }
  
    .product-image {
      max-width: 100%;
    }
  
    .product-title {
      font-size: 24px;
    }
  
    .product-price {
      font-size: 20px;
    }
  
    .btn {
      padding: 10px 20px;
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .button-group {
      flex-direction: column;
      gap: 10px;
    }
  
    .btn {
      width: 100%;
      text-align: center;
    }
  }