/**
 * SC Catalog - Styles
 *
 * @author    Scriptami
 * @copyright Scriptami
 */

/* ===== BOUTON DEVIS - FICHE PRODUIT ===== */
.sccatalog-quote-action {
    margin: 1rem 0;
    padding: 1rem 0;
}

.sccatalog-btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sccatalog-btn-quote .material-icons {
    font-size: 1.25rem;
}

.sccatalog-or {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #666;
}

.sccatalog-reference {
    margin-top: 0.5rem;
    color: #888;
}

/* ===== BOUTON DEVIS - LISTE PRODUITS ===== */
.sccatalog-btn-quote-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
}

.sccatalog-btn-quote-mini .material-icons {
    font-size: 1rem;
}

/* ===== PAGE DEVIS ===== */
.sccatalog-quote-page {
    max-width: 800px;
    margin: 0 auto;
}

.sccatalog-success {
    text-align: center;
    padding: 2rem;
}

.sccatalog-success h4 {
    margin-bottom: 1rem;
    color: #28a745;
}

.sccatalog-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.sccatalog-errors {
    margin-bottom: 1.5rem;
}

.sccatalog-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* ===== FIELDSETS ===== */
.sccatalog-fieldset {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
}

.sccatalog-fieldset legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.sccatalog-fieldset legend .material-icons {
    font-size: 1.25rem;
    color: #666;
}

/* ===== PRODUITS ===== */
.sccatalog-list-intro {
    margin-bottom: 1rem;
    color: #666;
}

.sccatalog-product-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.sccatalog-product-item:last-of-type {
    border-bottom: none;
}

.sccatalog-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.sccatalog-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 4px;
    color: #ccc;
}

.sccatalog-no-image .material-icons {
    font-size: 2rem;
}

.sccatalog-product-name {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.sccatalog-product-name a {
    color: inherit;
    text-decoration: none;
}

.sccatalog-product-name a:hover {
    color: #2fb5d2;
}

.sccatalog-product-ref,
.sccatalog-product-attrs {
    margin: 0;
    color: #888;
}

.sccatalog-qty-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.sccatalog-qty-input {
    max-width: 100px;
}

.sccatalog-cart-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #888;
}

.sccatalog-cart-note .material-icons {
    font-size: 1rem;
    vertical-align: middle;
}

.sccatalog-no-product {
    text-align: center;
    padding: 2rem;
}

/* ===== FORMULAIRE CONTACT ===== */
.sccatalog-contact-section .form-group {
    margin-bottom: 1rem;
}

.sccatalog-contact-section label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.sccatalog-contact-section label.required::after {
    content: ' *';
    color: #dc3545;
}

.sccatalog-contact-section .form-control {
    width: 100%;
}

/* ===== BOUTON SUBMIT ===== */
.sccatalog-submit-section {
    text-align: center;
    padding: 1.5rem 0;
}

.sccatalog-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sccatalog-btn-submit .material-icons {
    font-size: 1.25rem;
}

.sccatalog-submit-note {
    margin-top: 0.75rem;
    color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .sccatalog-fieldset {
        padding: 1rem;
    }
    
    .sccatalog-product-item .col-md-3 {
        margin-top: 1rem;
    }
    
    .sccatalog-qty-input {
        max-width: 100%;
    }
    
    .sccatalog-actions {
        flex-direction: column;
    }
    
    .sccatalog-actions .btn {
        width: 100%;
    }
}
