
  h2 { margin-bottom: 20px; }



  /* Container */

  .cart-main  {

    max-width: 1200px;

    margin: 40px auto;

    padding: 0 20px;

    display: flex;

    gap: 40px;

    flex-wrap: wrap;

  }



  /* Product Cards */

  .products {

    flex: 2;

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

    gap: 20px;

  }



  .product-card {

    background: rgba(44, 74, 82, 0.85);

    border-radius: 12px;

    padding: 20px;

    text-align: center;

    box-shadow: 0 8px 20px rgba(0,0,0,0.5);

    transition: transform 0.3s, box-shadow 0.3s;

    backdrop-filter: blur(5px);

    display: flex;

    flex-direction: column;

    align-items: center;

  }



  .product-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 12px 30px rgba(0,0,0,0.7);

  }



  .product-card img {

    max-width: 150px;

    border-radius: 10px;

    margin-bottom: 15px;

    transition: transform 0.3s;

  }



  .product-card img:hover {

    transform: scale(1.05);

  }



  .product-card h3 {

    margin: 10px 0 5px;

    font-size: 20px;
    color: white;

  }



  .product-card p {

    margin: 5px 0 15px;

    font-size: 16px;

    color: #a0c1c8;

  }



  .product-card input[type="number"] {

    width: 60px;

    padding: 6px;

    border-radius: 5px;

    border: 1px solid rgba(255,255,255,0.5);

    background: transparent;

    color: #fff;

    margin-bottom: 10px;

    text-align: center;

  }



  .btn-add {

    background: rgb(255, 77, 77);

    color: white;

    padding: 10px 18px;

    border: none;

    border-radius: 8px;

    cursor: pointer;
    font-size: 14px;

    font-weight: bold;

    transition: all 0.3s;

  }



  .btn-add:hover { background: rgb(248, 104, 104); }



  /* Cart Sidebar */

  .cart {

    flex: 1;

    background: rgba(44, 74, 82, 0.85);

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.5);

    backdrop-filter: blur(5px);

    height: fit-content;

    position: sticky;

    top: 40px;

  }



  .cart h2 { margin-bottom: 20px; }

  .cart-item {

    display: flex;

    justify-content: space-between;

    margin-bottom: 12px;

    font-size: 15px;
    color: #a0c1c8;

  }



  .total {

    font-weight: bold;

    font-size: 20px;

    margin-top: 15px;

    color: rgb(255, 77, 77);

  }



  .checkout-btn {

    margin-top: 20px;

    width: 100%;

    padding: 15px;

    background: rgb(255, 77, 77);

    color: #1e3840;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    font-weight: bold;

    transition: all 0.3s ease;

  }



  .checkout-btn:hover {  background: rgb(248, 104, 104); }



  #cart-msg {

    margin-top: 10px;

    font-size: 14px;

  }



  /* Responsive */

  @media(max-width: 900px){

    .cart-main { flex-direction: column; }

    .cart { position: relative; top: 0; margin-top: 20px; }

  }