 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Arial', sans-serif;
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      min-height: 100vh;
    }

    header {
      background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
      color: white;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    header h1 {
      font-size: 24px;
      font-weight: bold;
      background: linear-gradient(45deg, #ffa41c, #ff6b35);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    nav {
      display: flex;
      gap: 20px;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-size: 16px;
      padding: 8px 16px;
      border-radius: 20px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    nav a:hover {
      background: rgba(255, 164, 28, 0.2);
      transform: translateY(-2px);
    }

    nav a:before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }

    nav a:hover:before {
      left: 100%;
    }

    .product-page {
      max-width: 1200px;
      margin: 30px auto;
      background: white;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      padding: 40px;
      backdrop-filter: blur(10px);
      position: relative;
      overflow: hidden;
    }

    .product-page:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #ffa41c, #ff6b35, #e74c3c, #9b59b6);
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      margin-bottom: 20px;
      color: #007185;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s ease;
      padding: 8px 16px;
      border-radius: 25px;
      background: rgba(0, 113, 133, 0.1);
    }

    .back-link:hover {
      background: rgba(0, 113, 133, 0.2);
      transform: translateX(-5px);
    }

    .product-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: start;
    }

    .product-image {
      text-align: center;
      position: relative;
    }

    .product-image img {
      max-width: 100%;
      height: auto;
      border-radius: 15px;
      box-shadow: 0 15px 30px rgba(0,0,0,0.2);
      transition: transform 0.3s ease;
    }

    .product-image:hover img {
      transform: scale(1.05);
    }

    .product-details h2 {
      font-size: 32px;
      color: #2c3e50;
      margin-bottom: 15px;
      font-weight: 700;
    }

    .price {
      font-size: 28px;
      color: #e74c3c;
      margin: 15px 0;
      font-weight: bold;
      text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    }

    .description {
      margin: 20px 0;
      line-height: 1.8;
      color: #555;
      font-size: 16px;
    }

    .btn-container {
      display: flex;
      gap: 15px;
      margin-top: 25px;
    }

    .btn {
      background: linear-gradient(135deg, #ffa41c 0%, #ff6b35 100%);
      color: white;
      border: none;
      padding: 15px 30px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      border-radius: 50px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(255, 164, 28, 0.4);
      position: relative;
      overflow: hidden;
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(255, 164, 28, 0.6);
    }

    .btn:active {
      transform: translateY(-1px);
    }

    .btn-secondary {
      background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
      box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    }

    .btn-secondary:hover {
      box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
    }

    .reviews {
      margin-top: 50px;
    }

    .reviews h3 {
      font-size: 24px;
      color: #2c3e50;
      border-bottom: 3px solid #ffa41c;
      padding-bottom: 10px;
      margin-bottom: 25px;
    }

    .review {
      margin: 20px 0;
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      padding: 20px;
      border-radius: 15px;
      border-left: 4px solid #ffa41c;
      transition: transform 0.3s ease;
    }

    .review:hover {
      transform: translateX(5px);
    }

    .review strong {
      color: #2c3e50;
      font-size: 16px;
    }

    .stars {
      color: #ffa41c;
      font-size: 18px;
      margin-left: 10px;
    }

    #cart {
      position: fixed;
      top: 80px;
      right: 20px;
      background: white;
      padding: 20px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      border-radius: 15px;
      z-index: 1000;
      display: none;
      min-width: 300px;
      max-height: 400px;
      overflow-y: auto;
    }

    #cart h3 {
      color: #2c3e50;
      margin-bottom: 15px;
      border-bottom: 2px solid #ffa41c;
      padding-bottom: 5px;
    }

    #cart-items {
      list-style: none;
      margin-bottom: 15px;
    }

    #cart-items li {
      padding: 8px 0;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .cart-total {
      font-weight: bold;
      font-size: 18px;
      color: #e74c3c;
      margin-bottom: 15px;
    }

            footer {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: #ecf0f1;
            padding: 2rem 0 1rem 0;
            margin-top: auto;
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71, #3498db, #9b59b6);
            animation: rainbow 3s linear infinite;
        }

        @keyframes rainbow {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            text-align: center;
        }

        .footer-links {
            margin-bottom: 1.5rem;
        }

        .footer-links a {
            color: #ecf0f1;
            text-decoration: none;
            margin: 0 1rem;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            transition: all 0.3s ease;
            display: inline-block;
            position: relative;
            font-weight: 500;
        }

        .footer-links a:hover {
            color: #3498db;
            background: rgba(52, 152, 219, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .footer-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 2px;
            background: #3498db;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .footer-links a:hover::after {
            width: 80%;
        }


    @media (max-width: 768px) {
      .product-content {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .product-page {
        margin: 20px;
        padding: 20px;
      }
      
      .btn-container {
        flex-direction: column;
      }
      
      nav {
        flex-direction: column;
        gap: 10px;
      }
      
      header {
        flex-direction: column;
        text-align: center;
      }
    }
  #cart-count {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    margin-left: 5px;
}