/* Styles pour la page de détail d'une boutique */

/* Fil d'Ariane */
.boutique-breadcrumb {
    padding: 15px 0;
    font-size: 0.95rem;
    color: #777;
}

.boutique-breadcrumb a {
    color: #555;
    transition: var(--transition);
}

.boutique-breadcrumb a:hover {
    color: var(--primary-color);
}

.boutique-breadcrumb .separator {
    margin: 0 8px;
}

/* En-tête de la boutique */
.boutique-header {
    background-color: var(--white-color);
    padding: 20px 0 40px;
    border-bottom: 1px solid var(--secondary-color);
}

.boutique-main-info {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.boutique-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: var(--box-shadow);
}

.boutique-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boutique-info h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.boutique-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: #555;
}

.boutique-category i,
.boutique-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.boutique-rating {
    display: flex;
    align-items: center;
}

.stars {
    color: #FFD700;
    margin-right: 8px;
}

.rating-text {
    color: #555;
    font-weight: 500;
}

.boutique-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Style pour le bouton WhatsApp */
.whatsapp-btn {
    background: #25D366 !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn i {
    font-size: 1.2em;
}

/* Style pour le bouton téléphone */
.phone-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

.phone-btn i {
    font-size: 1.2em;
}

/* Tabs de contenu */
.boutique-content {
    padding: 40px 0 60px;
}

.boutique-tabs {
    display: flex;
    border-bottom: 1px solid var(--secondary-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Onglet À propos */
.about-content p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.business-hours {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    max-width: 500px;
}

.business-hours h3 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.business-hours h3 i {
    margin-right: 10px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Onglet Services et Produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card-content {
    padding: 20px;
}

.product-card-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 10px;
    font-size: 0.95rem;
}

/* Onglet Galerie */
.gallery-container {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-main {
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-main .swiper-slide {
    height: 450px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    height: 100px;
}

.gallery-thumbs .swiper-slide {
    opacity: 0.6;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

/* Onglet Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-details p, 
.contact-details a {
    color: #555;
    font-size: 0.95rem;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Section boutiques similaires */
.similar-boutiques {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.similar-boutiques-slider {
    margin-top: 40px;
    padding-bottom: 40px;
}

.similar-boutiques-slider .swiper-pagination {
    bottom: 0;
}

.similar-boutiques-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

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

/* Responsive */
@media (max-width: 991px) {
    .boutique-main-info {
        grid-template-columns: auto 1fr;
    }
    
    .boutique-contact {
        grid-column: span 2;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .boutique-main-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .boutique-logo {
        margin: 0 auto;
    }
    
    .boutique-meta {
        justify-content: center;
    }
    
    .boutique-contact {
        flex-direction: column;
    }
    
    .whatsapp-btn,
    .phone-btn {
        width: 100%;
        justify-content: center;
    }
    
    .boutique-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        padding: 12px 10px;
        font-size: 0.95rem;
        text-align: center;
    }
    
    .gallery-main .swiper-slide {
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .boutique-contact {
        flex-direction: column;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Styles modernes pour la section des commentaires */
.comment-form-container {
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 2rem;
    color: #e0e0e0;
    transition: all 0.3s ease;
    margin: 0;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: #ffc107;
    transform: scale(1.1);
}

.comment-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    background: #ffffff;
}

.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    background: #ffffff;
}

.comment-form button {
    align-self: flex-start;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.comment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.login-prompt {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-prompt p {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 500;
}

.login-prompt .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comment-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.comment-header {
    margin-bottom: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.comment-card:hover .user-avatar {
    transform: scale(1.1);
}

.user-details h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.8rem;
}

.rating {
    display: flex;
    gap: 0.3rem;
}

.rating i {
    color: #e0e0e0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.rating i.active {
    color: #ffc107;
}

.date {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.comment-content {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 1.05rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.no-comments {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.no-comments i {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.no-comments:hover i {
    transform: scale(1.1);
}

.no-comments p {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .comment-form-container {
        padding: 1.5rem;
    }
    
    .user-info {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .user-avatar {
        margin: 0 auto;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .comment-form button {
        width: 100%;
        justify-content: center;
    }
    
    .rating-input {
        justify-content: center;
    }
}

/* Animation pour les nouveaux commentaires */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-card {
    animation: slideIn 0.5s ease forwards;
} 