/* 
 * Styles généraux du plugin Karochebama Ecommerce
 * Frontend
 */

/* Styles pour les pages de produits individuels */
.single-agri_product .entry-content,
.single-fish_product .entry-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Galerie de produits */
.kb-product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.kb-product-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.kb-product-gallery img:hover {
    transform: scale(1.05);
}

/* Vidéo produit */
.kb-product-video {
    margin: 30px 0;
}

.kb-product-video iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 8px;
}

/* Informations produit */
.kb-product-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.kb-product-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.kb-product-info-item:last-child {
    border-bottom: none;
}

.kb-product-info-label {
    font-weight: 600;
    color: #2c3e50;
}

.kb-product-info-value {
    color: #7f8c8d;
}

/* Formulaire de commande */
.kb-order-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto;
}

.kb-form-group {
    margin-bottom: 20px;
}

.kb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.kb-form-group input,
.kb-form-group select,
.kb-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.kb-form-group input:focus,
.kb-form-group select:focus,
.kb-form-group textarea:focus {
    outline: none;
    border-color: #2ecc71;
}

.kb-form-group.required label::after {
    content: " *";
    color: #e74c3c;
}

.kb-form-submit {
    width: 100%;
    padding: 15px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kb-form-submit:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Messages */
.kb-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.kb-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.kb-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.kb-message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}