/**
 * Cova Integration Frontend Styles
 */

/* Products Grid */
.cova-products-grid {
    display: grid;
    grid-gap: 20px;
    margin-bottom: 20px;
}

.cova-columns-1 {
    grid-template-columns: 1fr;
}

.cova-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cova-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cova-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive grid */
@media (max-width: 768px) {
    .cova-columns-3, .cova-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cova-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product */
.cova-product {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    transition: box-shadow 0.3s ease;
}

.cova-product:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.cova-product-image {
    text-align: center;
    margin-bottom: 15px;
}

.cova-product-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

.cova-product-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.cova-product-description {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.cova-product-price {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.cova-product-inventory {
    font-size: 14px;
    color: #666;
}

.cova-stock-level {
    margin: 0 0 5px;
}

.cova-last-updated {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Status indicators */
.cova-status-success {
    color: #4CAF50;
    font-weight: bold;
}

.cova-status-error {
    color: #F44336;
    font-weight: bold;
}

.cova-error {
    padding: 10px;
    background-color: #FFF4F4;
    border: 1px solid #FFCDD2;
    border-radius: 4px;
    color: #D32F2F;
}

/* Age Verification Modal */
.cova-age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cova-age-verification-modal {
    background: #fff;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.cova-age-verification-title {
    font-size: 24px;
    margin: 0 0 20px;
}

.cova-age-verification-content {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.cova-age-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cova-age-verification-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.cova-age-verification-confirm {
    background-color: #4CAF50;
    color: white;
}

.cova-age-verification-confirm:hover {
    background-color: #3d8b40;
}

.cova-age-verification-decline {
    background-color: #F44336;
    color: white;
}

.cova-age-verification-decline:hover {
    background-color: #d32f2f;
} 