/* Individual Product Card */
.product {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Reset and Body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7faff;
    color: #0f1724;
}

/* Header */
header {
    margin-bottom: 10%;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #07a6c6, #00b3a6);
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 12px;
}
.pbody h3 {
    margin: 0 0 6px 0;
}
.pbody p {
    margin: 4px 0;
}
.price {
    font-weight: 700;
    color: #07a6c6;
}

/* Buttons */
.add-cart, .buy-now {
    padding: 8px 12px;
    background: #07a6c6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.3s;
}
.add-cart:hover, .buy-now:hover {
    background: #00b3a6;
}

/* Quantity Label */
label {
    display: block;
    margin-top: 6px;
}
input.qty {
    width: 50px;
    border-radius: 6px;
    padding: 4px;
    border: 1px solid #ccc;
    text-align: center;
}

/* Cart Sidebar */
.cart {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 250px;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.cart h2 {
    margin-top: 0;
}
.cart ul {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
}
.cart li {
    margin-bottom: 6px;
}

/* Checkout Button */
#checkout {
    width: 100%;
    padding: 10px;
    background: #07a6c6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
#checkout:hover {
    background: #00b3a6;
}

.back {
  background-color: #07a6c6;       /* Nivera blue */
  color: white;
  border: none;
  padding: 20px 35px;
  align-items: center;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 30px;
  margin-top: 30px;
  margin-left: 50%;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.back:hover {
  background-color: #05889f;       /* Darker on hover */
  transform: translateY(-2px);
}

.back:active {
  transform: scale(0.97);
}

a {
  text-decoration: none;           /* Remove underline from link */
}

.back {
  background-color: #07a6c6;       /* Nivera blue */
  color: white;
  border: none;
  padding: 20px 35px;
  align-items: center;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 30px;
  margin-top: 30px;
  margin-left: 50%;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.back:hover {
  background-color: #05889f;       /* Darker on hover */
  transform: translateY(-2px);
}

.back:active {
  transform: scale(0.97);
}

a {
  text-decoration: none;           /* Remove underline from link */
}


