.shop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Container for all products */
.products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
    margin: 0 auto;
    max-width: 80%;
}

/* Individual product card */
.product {
    background-color: #f8f8f8;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    color: black;
    transition: transform 0.2s ease;
}

.product:hover {
    transform: translateY(-3px);
}

/* Product image */
.product img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Text styling */
.product-title {
    font-size: 1.1rem;
    margin: 12px 0 4px;
    text-align: center;
}

.product-description {
    text-align: center;
    font-size: 0.9rem;
    margin: 4px 0;
    color: #333;
}

.product-price {
    font-weight: bold;
    margin: 6px 0 12px;
}

/* Options (like size) */
.product-options {
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
}

.product-options label {
    margin-right: 6px;
}

/* Actions (qty + button) */
.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    width: 100%;
}

.quantity-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.quantity-container label {
    font-size: 0.85rem;
}

.add-to-cart {
    background-color: #C92128;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    margin-right: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.add-to-cart:hover {
    transform: scale(1.05);
    background-color: #a81a1f;
}

.checkout-button {
    display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-button button {
    background: #C92128;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.8em 2.2em;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(201,33,40,0.15);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  outline: none;
}

.checkout-button button:hover {
  background: #a81a1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,33,40,0.25);
}

/* Mobile layout */
@media (max-width: 800px) {
    .products-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
