/* Product Grid */
.catp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.catp-product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.catp-product-card:hover {
    transform: translateY(-5px);
}
.catp-product-image img {
    width: 100%;
    height: auto;
    display: block;
}
.catp-product-info {
    padding: 15px;
    text-align: center;
}
.catp-product-info h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
}
.catp-product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.catp-add-to-cart, .catp-update-btn, .catp-place-order-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}
.catp-add-to-cart:hover, .catp-update-btn:hover, .catp-place-order-btn:hover {
    background: #005177;
}

/* Mini Message */
#catp-mini-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4caf50;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    display: none;
    z-index: 9999;
}

/* Cart Table */
.catp-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.catp-cart-table th, .catp-cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.catp-cart-table th {
    background: #f9f9f9;
}
.catp-cart-table input[type="number"] {
    width: 70px;
}
.catp-remove-btn {
    color: red;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2em;
}
.catp-right {
    text-align: right;
}

/* Checkout Form */
.catp-checkout-wrapper {
    max-width: 600px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}
.catp-checkout-form p {
    margin-bottom: 15px;
}
.catp-checkout-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.catp-checkout-form input[type="text"],
.catp-checkout-form input[type="email"],
.catp-checkout-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.catp-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}
