/* assets/css/style.css - CSS principal */

/* Reset et variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Layout de base */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
}

.site-title a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.site-title a:hover {
    opacity: 0.9;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
}

.admin-link {
    background: var(--secondary-color);
    font-weight: 500;
}

.admin-link:hover {
    background: #2980b9;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Recherche */
.search-section {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.search-input-group {
    display: flex;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.search-button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    background: #2980b9;
}

.filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: white;
    font-size: 1rem;
    min-width: 200px;
}

.filter-button {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.filter-button:hover {
    background: #219a52;
}

.clear-filters {
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.75rem;
    transition: var(--transition);
}

.clear-filters:hover {
    opacity: 0.8;
}

/* Grille des catégories */
.categories-grid {
    padding: 3rem 0;
    background: white;
}

.categories-grid h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.category-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.category-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.category-name {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Section événements */
.events-section {
    padding: 3rem 0;
}

.events-header {
    text-align: center;
    margin-bottom: 2rem;
}

.events-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.events-count {
    color: var(--text-light);
    font-size: 1.1rem;
}

.no-events {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.events-day {
    margin-bottom: 3rem;
}

.day-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
}

/* Cartes d'événements */
.event-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.event-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

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

.event-cancelled {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
}

.event-details {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-title {
    font-size: 1.3rem;
    margin: 0;
}

.event-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.event-title a:hover {
    color: var(--secondary-color);
}

.event-boutique a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.event-boutique a:hover {
    color: var(--secondary-color);
}

.event-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-description {
    color: var(--text-color);
    line-height: 1.5;
}

.event-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

/* Boutons */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.button-primary {
    background: var(--secondary-color);
    color: white;
}

.button-primary:hover {
    background: #2980b9;
}

.button-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.button-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.button-danger {
    background: var(--accent-color);
    color: white;
}

.button-danger:hover {
    background: #c0392b;
}

.button-success {
    background: var(--success-color);
    color: white;
}

.button-success:hover {
    background: #219a52;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* Alertes */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    border-left: 4px solid;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        min-width: auto;
    }
    
    .categories-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .event-card {
        flex-direction: column;
        gap: 0;
    }
    
    .event-image {
        width: 100%;
        height: 200px;
    }
    
    .event-details {
        padding: 1rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .categories-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-card {
    animation: fadeIn 0.5s ease-out;
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states pour l'accessibilité */
a:focus, button:focus, input:focus, select:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Loading states */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Styles spécifiques pour la page de détail d'événement - à ajouter à style.css */

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

/* Page de détail d'événement */
.event-detail {
    padding: 2rem 0;
}

.event-detail .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
}

.event-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* En-tête de l'événement */
.event-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.event-image-large {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.event-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.event-cancelled-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.event-info h1.event-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.event-category {
    margin-bottom: 1.5rem;
}

.category-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-tag:hover {
    background: #2980b9;
}

/* Métadonnées détaillées */
.event-meta-large {
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.meta-item strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item span,
.meta-item div {
    font-size: 1.1rem;
    color: var(--text-color);
}

.boutique-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.boutique-link:hover {
    text-decoration: underline;
}

.address {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Section d'inscription */
.event-registration {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--secondary-color);
}

.button-large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

/* Description */
.event-description {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.event-description h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.description-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Informations boutique */
.boutique-info {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: #f9f9f9;
}

.boutique-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.boutique-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.boutique-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.boutique-details {
    flex: 1;
}

.boutique-details h3 {
    margin-bottom: 0.5rem;
}

.boutique-details h3 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
}

.boutique-details h3 a:hover {
    color: var(--secondary-color);
}

.boutique-contact {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.boutique-contact div {
    font-size: 0.95rem;
}

.boutique-contact a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Partage social */
.event-share {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.event-share h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    cursor: pointer;
}

.share-button:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
}

.share-button.facebook:hover {
    background: #3b5998;
    border-color: #3b5998;
}

.share-button.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-button.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

/* Sidebar */
.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-events,
.calendar-widget {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.related-events h3,
.calendar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.related-event {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.related-event:hover {
    border-color: var(--secondary-color);
    background: #f9f9f9;
}

.related-event h4 {
    margin-bottom: 0.5rem;
}

.related-event h4 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
}

.related-event h4 a:hover {
    color: var(--secondary-color);
}

.related-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.calendar-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calendar-buttons .button {
    text-align: center;
    font-size: 0.95rem;
}

/* Responsive pour la page de détail */
@media (max-width: 1024px) {
    .event-detail .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-image-large {
        order: -1;
    }
    
    .event-main-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .event-detail {
        padding: 1rem 0;
    }
    
    .event-header {
        padding: 1.5rem;
    }
    
    .event-info h1.event-title {
        font-size: 1.8rem;
    }
    
    .meta-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .boutique-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .boutique-logo {
        align-self: center;
    }
    
    .event-description,
    .boutique-info,
    .event-share {
        padding: 1.5rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .button-large {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .event-info h1.event-title {
        font-size: 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .related-events,
    .calendar-widget {
        padding: 1rem;
    }
}

/* Styles spécifiques pour la page de détail boutique - à ajouter à style.css */

/* Page de détail boutique */
.boutique-detail {
    padding: 2rem 0;
}

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

/* En-tête de la boutique */
.boutique-header {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    overflow: hidden;
}

.boutique-hero {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: start;
}

.boutique-logo-large {
    text-align: center;
}

.logo-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.boutique-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.boutique-name {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.boutique-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Contact de la boutique */
.boutique-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--text-color);
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Horaires */
.boutique-hours {
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.boutique-hours h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.hours-content {
    color: var(--text-color);
    line-height: 1.5;
}

/* Section codes d'intégration */
.integration-codes {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 3rem;
}

.integration-codes h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.integration-codes > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.code-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.code-option {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    background: #f9f9f9;
}

.code-option h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.code-textarea {
    width: 100%;
    height: 120px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: white;
    resize: vertical;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.code-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.integration-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Section événements de la boutique */
.boutique-events {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.boutique-events .events-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.boutique-events .events-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.boutique-events .events-count {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Cards d'événements dans la page boutique */
.boutique-events .event-card {
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
}

.boutique-events .event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.boutique-events .event-image {
    width: 150px;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.boutique-events .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boutique-events .event-details {
    padding: 1.5rem 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boutique-events .event-title {
    margin: 0;
    font-size: 1.2rem;
}

.boutique-events .event-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.boutique-events .event-title a:hover {
    color: var(--secondary-color);
}

.boutique-events .category-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
}

.boutique-events .event-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.boutique-events .event-description {
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.boutique-events .event-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.boutique-events .button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* En-têtes de jour */
.boutique-events .day-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.boutique-events .events-day {
    margin-bottom: 2rem;
}

.boutique-events .events-day:last-child {
    margin-bottom: 0;
}

/* État vide */
.boutique-events .no-events {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.boutique-events .no-events p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive pour la page boutique */
@media (max-width: 1024px) {
    .boutique-hero {
        grid-template-columns: 150px 1fr;
        gap: 1.5rem;
    }
    
    .logo-image {
        width: 120px;
        height: 120px;
    }
    
    .boutique-name {
        font-size: 2rem;
    }
    
    .boutique-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .boutique-detail {
        padding: 1rem 0;
    }
    
    .boutique-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .boutique-name {
        font-size: 1.8rem;
    }
    
    .integration-codes,
    .boutique-events {
        padding: 1.5rem;
    }
    
    .code-options {
        grid-template-columns: 1fr;
    }
    
    .integration-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .integration-links .button {
        text-align: center;
    }
    
    .boutique-events .event-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .boutique-events .event-image {
        width: 100%;
        height: 150px;
    }
    
    .boutique-events .event-details {
        padding: 1rem;
    }
    
    .boutique-events .event-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .boutique-header {
        margin-bottom: 2rem;
    }
    
    .boutique-hero {
        padding: 1.5rem;
    }
    
    .boutique-name {
        font-size: 1.5rem;
    }
    
    .logo-image {
        width: 100px;
        height: 100px;
    }
    
    .integration-codes h2,
    .boutique-events .events-header h2 {
        font-size: 1.5rem;
    }
    
    .code-textarea {
        height: 100px;
        font-size: 0.8rem;
    }
    
    .boutique-events .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Notification temporaire (pour le JS de copie) */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.notification-success {
    background: var(--success-color);
}

.notification-info {
    background: var(--secondary-color);
}

.notification-error {
    background: var(--accent-color);
}

/* Animations pour les notifications */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.notification {
    animation: slideInRight 0.3s ease-out;
}

.notification.fade-out {
    animation: slideOutRight 0.3s ease-out;
}