* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff4f6;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo img {
    height: 85px;
    transition: transform 0.2s ease;
  }
  
  .logo a:active img {
    transform: scale(0.95);
  }
  
  .shop-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Lobster', cursive;
    font-size: 3.5rem;
    font-weight: bold;
    color: #e3348ca7;
  }
  
  .cart-container {
    position: relative;
  }
  
  .cart {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 20px;
  }
  
  .cart a {
    background-color: #FFA500;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
  }
  
  .cart a:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
  }
  
  .cart a:active {
    transform: scale(0.95);
  }
  
  .cart-summary {
    font-size: 1rem;
    color: #e91e63;
    white-space: nowrap;
  }
  
  .search-bar {
    text-align: center;
    padding: 20px 0;
    background-color: #fff0f4;
    border-top: 1px solid #ffe0e8;
    border-bottom: 1px solid #ffe0e8;
  }
  
  .search-bar input[type="text"] {
    width: 40%;
    max-width: 400px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
    transition: border-color 0.3s;
  }
  
  .search-bar input[type="text"]:focus {
    border-color: #FFA500;
  }
  
  .search-bar button {
    padding: 10px 16px;
    background-color: #FFA500;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .search-bar button:hover {
    background-color: #ff8c00;
  }
  
  .search-bar button:active {
    transform: scale(0.95);
  }

  .navbar {
    background-color: #565354;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 4px 0;
    font-family: 'Roboto', sans-serif;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .navbar a,
  .subnavbtn {
    font-size: 18px;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .navbar a:hover,
  .subnavbtn:hover {
    background-color: #f66bb1;
    border-radius: 5px;
  }
  
  .subnav {
    position: relative;
    display: inline-block;
  }
  
  .subnav-content {
    display: none;
    position: absolute;
    background-color: #f590c4ba;
    min-width: 160px;
    z-index: 1;
    top: 100%;
    left: 0;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 6px;
  }
  
  .subnav-content a {
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .subnav-content a:hover {
    background-color: #ec4899;
  }
  
  .subnav:hover .subnav-content {
    display: block;
  }
  
  
  .main-content {
    flex: 1;
    padding: 20px;
  }

  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    background-color: #fff4f6;
    gap: 40px;
  }
  
  .hero .text-content {
    flex: 1;
    max-width: 600px;
    text-align: center; 
  }
  
  .hero .welcome {
    font-size: 5rem;
    color: #db4992da;
    font-family: 'Lobster', cursive;
    margin-bottom: 10px;
  }
  
  .hero h1 {
    font-size: 3rem;
    color: #333;
    font-weight: 900;
    margin-bottom: 10px;
  }
  
  .hero h2 {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: bold;
    color: #555;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 25px;
  }
  
  .hero .btn {
    background-color: #FFA500;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
  }
  
  .hero .btn:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
  }
  
  .hero .btn:active {
    transform: scale(0.95);
  }
  
  .hero img {
    flex: 1;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }
  
  
  .product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
  }
  
  .product-card {
    background: white;
    border: 1px solid #ddd;
    width: 220px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease-in-out;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s;
    border-radius: 8px;
  }
  
  .product-card img:hover {
    transform: scale(1.05);
  }
  
  .product-card button {
    background-color: #FFA500;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
  }
  
  .product-card button:hover {
    background-color: #ff8c00;
  }
  
  .product-card button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  .in-stock { 
    color: green; 
    font-weight: bold; 
  }
  
  .out-of-stock { 
    color: red; 
    font-weight: bold; 
  }
  
  .btn {
    background-color: #FFA500;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }
  
  .btn:active {
    transform: scale(0.95);
  }
  
  .category-title {
    text-align: center;
    font-size: 1.8rem;
    color: #d63384;
    margin: 20px 0;
    padding: 0 20px;
  }
  
  .back-btn {
    display: block;
    margin: 20px auto 40px;
    width: fit-content;
    text-decoration: none;
    color: white;
    background: #FFA500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
  }
  
  .back-btn:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 1;
    transition: opacity 0.5s;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .cart-notification i {
    font-size: 1.2rem;
  }
  
  .cart-btn {
    min-width: 200px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: inline-block;
    border: none;
    cursor: pointer;
  }
  
  .cart-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }
  
  .click-effect {
    animation: clickScale 0.2s ease-in-out;
  }
  
  @keyframes clickScale {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
  }
  
  @media (max-width: 768px) {
    .header {
      padding: 10px 20px;
      flex-direction: column;
      gap: 10px;
    }
    
    .shop-name {
      position: static;
      transform: none;
      order: -1;
    }
    
    .search-bar input[type="text"] {
      width: 70%;
    }
    
    .product-card {
      width: 100%;
      max-width: 300px;
    }
  }

  button.cart-btn:disabled {
    background-color: #ccc !important;
    color: #666;
    cursor: not-allowed;
    border: none;
    opacity: 0.7;
  }
  