/* ====== RESET & BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== TYPOGRAPHIE ====== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* ====== HEADER ====== */
.top-header {
    background: linear-gradient(90deg, #1a1a1a 0%, #4a2c0f 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    flex: 1;
    min-width: 300px;
}

.site-title {
    font-size: 2.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900;
    background: linear-gradient(45deg, #d4af37, #ffd700, #f0c420);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.subtitle {
    font-style: italic;
    font-size: 1.1rem;
    color: #d4af37;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ====== BOUTONS ====== */
button {
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-cart {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    position: relative;
}

.cart-badge {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 8px;
}

.cart-badge.has-items {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-login {
    background: linear-gradient(45deg, #6f42c1, #6610f2);
    color: white;
}

.btn-help {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
}

.btn-warning {
    background: linear-gradient(45deg, #ffc107, #e0a800);
    color: #212529;
}

.btn-logout {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
}

.btn-add {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-add-to-cart {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: linear-gradient(45deg, #128C7E, #075E54);
}

.btn-file {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-file-large {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    font-size: 1.1rem;
    text-align: center;
    margin: 10px;
}

.btn-browse {
    background: linear-gradient(45deg, #6f42c1, #6610f2);
    color: white;
}

.btn-refresh {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
}

.btn-upload {
    background: linear-gradient(45deg, #fd7e14, #e8590c);
    color: white;
}

/* ====== FILTRE ====== */
.filter-section {
    background: white;
    padding: 20px 0;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.1rem;
}

#categoryFilter {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

#categoryFilter:focus {
    outline: none;
    border-color: #b8941f;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* ====== PRODUITS ====== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border: 2px solid #e9ecef;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #d4af37;
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    flex-grow: 1;
}

.product .description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    flex: 1;
}

.product .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d4af37;
    margin: 10px 0;
}

.product .stock {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}

.product .category {
    font-size: 0.8rem;
    color: #999;
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-block;
    margin: 5px 0;
}

.product .add-cart {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s;
}

.product .add-cart:hover {
    background: linear-gradient(45deg, #218838, #1e9e8a);
}

.product .danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* ====== LOADING & EMPTY STATES ====== */
.loading {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.loading.active {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.spinner.small {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-products p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

/* ====== NOTIFICATION ====== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.notification.success {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.notification.error {
    background: linear-gradient(45deg, #dc3545, #c82333);
}

.notification.warning {
    background: linear-gradient(45deg, #ffc107, #e0a800);
    color: #212529;
}

.notification.info {
    background: linear-gradient(45deg, #17a2b8, #138496);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ====== ADMIN PANEL ====== */
.admin-panel {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #d4af37;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.image-upload-section {
    border: 2px dashed #d4af37;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    background: #f8f9fa;
}

.upload-options {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.upload-option {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.file-input {
    display: none;
}

.file-info {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.upload-divider {
    color: #666;
    font-weight: 600;
    padding: 0 10px;
}

.preview-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.preview-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

.admin-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
}

/* ====== MODALES ====== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-dialog {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: auto;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.modal-body {
    padding: 30px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* ====== CORRECTIONS POUR LE PANIER ====== */
.cart-dialog {
    max-width: 600px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.cart-empty p:first-child {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cart-empty p:last-child {
    font-size: 1rem;
    color: #999;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3px;
}

.cart-item-category {
    font-size: 0.8rem;
    color: #999;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.cart-item-total {
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    margin-left: auto;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-remove-item:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.cart-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
    margin-top: 15px;
}

.btn-clear-cart {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
}

/* ====== GALERIE D'IMAGES ====== */
.image-browser-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.btn-clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-clear-search:hover {
    color: #dc3545;
}

.control-buttons {
    display: flex;
    gap: 10px;
}

.control-buttons button {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    font-size: 1.2rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.image-item {
    border: 3px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    padding: 10px;
    text-align: center;
}

.image-item:hover {
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.image-item.selected {
    border-color: #28a745;
    background: #f0f9f0;
}

.image-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.image-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    word-break: break-all;
}

.image-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.image-details {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* ====== UPLOAD AREA ====== */
.upload-area {
    border: 3px dashed #d4af37;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
    background: #e9ecef;
    border-color: #b8941f;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #d4af37;
}

.upload-or {
    margin: 15px 0;
    color: #666;
    font-weight: 600;
}

.upload-preview {
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.upload-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.preview-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.upload-requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
}

.upload-requirements h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.upload-requirements ul {
    padding-left: 20px;
    color: #666;
}

.upload-requirements li {
    margin-bottom: 5px;
}

/* ====== BOUTON WHATSAPP FIXE ====== */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-fixed .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ====== AIDE ====== */
.help-steps {
    margin-bottom: 30px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, #d4af37, #b8941f);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.step-content p {
    color: #666;
    margin: 0;
}

.contact-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.contact-info h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ====== FOOTER ====== */
.main-footer {
    background: linear-gradient(90deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 8px;
    color: #ccc;
}

.copyright {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #999;
}

/* ====== CLASSES UTILITAIRES ====== */
.hidden {
    display: none !important;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-images {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .site-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .upload-option {
        min-width: auto;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
    }
    
    .cart-item {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto;
    }
    
    .cart-item-total {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        margin-top: 10px;
    }
    
    .whatsapp-fixed {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    
    .modal-dialog {
        width: 95%;
    }
    
    button {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    .whatsapp-fixed {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}