/**
 * Fichier: css/commerce-tabs.css
 * Ajouté le: 2026-01-21 06:23:36
 */

/* ======================= Fichier commerce-tabs.css ======================= */
/* ======================= STYLES POUR LES ONGLETS ======================= */

/* Section en-tête du commerce */
.shop-header-section {
    background: var(--background-cream);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.shop-main-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.shop-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.open-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Section des onglets */
.shop-tabs-section {
    background: var(--background-light);
    min-height: 70vh;
}

/* Navigation des onglets - 3 onglets */
.tabs-navigation {
    display: flex;
    background: var(--background-cream);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.tab-button {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-bottom: 3px solid transparent;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button i {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-bottom-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 206, 210, 0.4);
}

.tab-button.active i {
    color: white;
    transform: scale(1.1);
}

.tab-button.active::before {
    display: none;
}

/* Contenu des onglets */
.tabs-content {
    background: var(--background-light);
    border-radius: 0 0 15px 15px;
    box-shadow: var(--card-shadow);
}

.tab-panel {
    display: none;
    padding: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Grille du contenu des informations */
.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

/* Sections d'informations */
.info-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-section:hover::before {
    transform: scaleX(1);
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.8rem;
}

.info-section h2 i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.info-section:hover h2 i {
    transform: scale(1.1);
}

.description-content {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Section carte dans l'onglet informations */
.map-section {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.map-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.map-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.map-section h2 i {
    color: var(--primary-color);
}

/* Onglet Galerie */
.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.shop-gallery {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    height: 500px;
    background-color: var(--background-light);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.03);
}

/* Bouton de zoom */
.zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.zoom-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.zoom-btn i {
    font-size: 1.2rem;
}

/* Modal de zoom */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.zoom-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zoom-close {
    position: absolute;
    top: -50px;
    right: -50px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.zoom-close:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

#zoom-image {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
    cursor: grab;
}

.zoom-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10001;
}

.zoom-controls button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.zoom-controls button:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.gallery-slider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    overflow-x: auto;
    padding: 1rem 0;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.7;
    border: 3px solid transparent;
    flex-shrink: 0;
    position: relative;
}

.thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 206, 210, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.thumbnail:hover::before {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(78, 206, 210, 0.4);
    transform: scale(1.1);
}

.thumbnail.active img {
    transform: scale(1.05);
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(78, 206, 210, 0.5);
}

/* Description dans la galerie */
.gallery-description {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-description::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(78, 206, 210, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-description:hover::before {
    opacity: 1;
}

.gallery-description:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-description h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1;
}

.description-extended {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Catégories dans l'en-tête */
.shop-categories {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.shop-categories i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.category-tag i {
    font-size: 0.8rem;
}

/* ======================= ONGLET AVIS & CONTACT ======================= */

.avis-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.reviews-section,
.contact-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.reviews-section:hover,
.contact-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.reviews-section h2,
.contact-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.8rem;
}

.reviews-section h2 i,
.contact-section h2 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Système d'avis amélioré */
.reviews-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.reviews-overview:hover {
    background: rgba(255, 255, 255, 0.1);
}

.reviews-summary {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rating-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    animation: pulse 2s infinite;
}

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

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-stars i {
    color: var(--accent-color);
    font-size: 1.2rem;
    animation: starTwinkle 3s infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rating-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.rating-label i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 50px;
    transition: width 1s ease-out;
    position: relative;
}

.rating-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.rating-count-small {
    font-size: 0.9rem;
    color: var(--text-secondary);
    width: 30px;
    text-align: right;
}

.write-review-btn {
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.write-review-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 255, 146, 0.3);
}

/* Liste des avis */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.reviews-list::-webkit-scrollbar {
    width: 6px;
}

.reviews-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.reviews-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.reviewer-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.review-rating i {
    color: var(--accent-color);
    font-size: 1rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Formulaire d'avis */
.write-review-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.write-review-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rating-selector {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.rating-stars-input {
    display: flex;
    gap: 0.3rem;
}

.rating-stars-input input {
    display: none;
}

.rating-stars-input label {
    cursor: pointer;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.rating-stars-input label:hover,
.rating-stars-input label:hover ~ label,
.rating-stars-input input:checked ~ label {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(109, 255, 146, 0.5);
}

.rating-stars-input label.selected {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Section Contact */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(78, 206, 210, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-actions {
    margin-top: 1rem;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    color: var(--primary-color);
    width: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Messages d'alerte */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(109, 255, 146, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--text-dark);
}

.alert-error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: var(--text-dark);
}

/* ======================= RESPONSIVE POUR LES ONGLETS ======================= */

@media screen and (max-width: 1200px) {
    .tab-content-grid,
    .avis-contact-grid {
        gap: 2rem;
    }
    
    .gallery-main {
        height: 400px;
    }
    
    .avis-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 992px) {
    .shop-header-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .shop-main-info h1 {
        font-size: 2rem;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-panel {
        padding: 2rem;
    }
    
    .gallery-main {
        height: 350px;
    }
    
    .thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .shop-quick-actions {
        justify-content: center;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .rating-bars {
        min-width: auto;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .tabs-navigation {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .tab-button {
        padding: 1.2rem 1rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .tab-button span {
        display: none;
    }
    
    .tab-button i {
        font-size: 1.5rem;
    }
    
    .tab-panel {
        padding: 1.5rem;
    }
    
    .info-section,
    .reviews-section,
    .contact-section {
        padding: 1.5rem;
    }
    
    .info-section h2,
    .reviews-section h2,
    .contact-section h2 {
        font-size: 1.2rem;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .gallery-description {
        padding: 2rem;
    }
    
    .gallery-description h2 {
        font-size: 1.6rem;
    }
    
    .shop-main-info h1 {
        font-size: 1.8rem;
    }
    
    .shop-quick-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .reviews-overview {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .rating-big {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .tabs-navigation {
        border-radius: 10px 10px 0 0;
    }
    
    .tab-button {
        padding: 1rem 0.8rem;
        gap: 0.3rem;
        min-width: 100px;
    }
    
    .tab-button i {
        font-size: 1.3rem;
    }
    
    .tab-panel {
        padding: 1rem;
    }
    
    .info-section,
    .reviews-section,
    .contact-section {
        padding: 1.2rem;
    }
    
    .gallery-main {
        height: 250px;
        border-radius: 15px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .gallery-description {
        padding: 1.5rem;
    }
    
    .gallery-description h2 {
        font-size: 1.4rem;
    }
    
    .shop-main-info h1 {
        font-size: 1.6rem;
    }
    
    .map-section {
        padding: 1.5rem;
    }
    
    .zoom-close {
        top: -40px;
        right: -40px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .zoom-controls {
        bottom: -50px;
    }
    
    .zoom-controls button {
        width: 35px;
        height: 35px;
    }
    
    .rating-stars-input label {
        font-size: 1.5rem;
    }
    
    .reviews-list {
        max-height: 300px;
    }
}

/* Amélioration des transitions */
.tab-button,
.info-section,
.thumbnail,
.gallery-main img,
.review-card,
.contact-item {
    will-change: transform;
}

/* Focus states pour l'accessibilité */
.tab-button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.thumbnail:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

/* Amélioration du contraste pour certains éléments */
.tab-button.active span {
    font-weight: 700;
}

.info-section h2,
.reviews-section h2,
.contact-section h2 {
    font-weight: 600;
}

/* Effets de parallaxe légers */
.gallery-description::before {
    animation: float 6s ease-in-out infinite;
}

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

/* États de chargement */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}/* ======================= STYLES POUR LES ONGLETS ======================= */

/* Section en-tête du commerce */
.shop-header-section {
    background: var(--background-cream);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.shop-main-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.shop-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.open-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Section des onglets */
.shop-tabs-section {
    background: var(--background-light);
    min-height: 70vh;
}

/* Navigation des onglets */
.tabs-navigation {
    display: flex;
    background: var(--background-cream);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.tab-button {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-bottom: 3px solid transparent;
    font-family: 'Poppins', sans-serif;
}

.tab-button i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-bottom-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 206, 210, 0.3);
}

.tab-button.active i {
    color: white;
}

/* Contenu des onglets */
.tabs-content {
    background: var(--background-light);
    border-radius: 0 0 15px 15px;
    box-shadow: var(--card-shadow);
}

.tab-panel {
    display: none;
    padding: 2.5rem;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

/* Grille du contenu des informations */
.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

/* Sections d'informations */
.info-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.info-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.info-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.8rem;
}

.info-section h2 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.description-content {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Section carte dans l'onglet informations */
.map-section {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.map-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.map-section h2 i {
    color: var(--primary-color);
}

/* Onglet Galerie */
.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.shop-gallery {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    height: 500px;
    background-color: var(--background-light);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.gallery-slider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    overflow-x: auto;
    padding: 1rem 0;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 3px solid transparent;
    flex-shrink: 0;
}

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

.thumbnail:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(78, 206, 210, 0.4);
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Description dans la galerie */
.gallery-description {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.gallery-description h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.description-extended {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Catégories dans l'en-tête */
.shop-categories {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.shop-categories i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.category-tag i {
    font-size: 0.8rem;
}

/* ======================= RESPONSIVE POUR LES ONGLETS ======================= */

@media screen and (max-width: 1200px) {
    .tab-content-grid {
        gap: 2rem;
    }
    
    .gallery-main {
        height: 400px;
    }
}

@media screen and (max-width: 992px) {
    .shop-header-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .shop-main-info h1 {
        font-size: 2rem;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-panel {
        padding: 2rem;
    }
    
    .gallery-main {
        height: 350px;
    }
    
    .thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .shop-quick-actions {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .tabs-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .tab-button span {
        display: none;
    }
    
    .tab-panel {
        padding: 1.5rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
    
    .info-section h2 {
        font-size: 1.2rem;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .gallery-description {
        padding: 2rem;
    }
    
    .gallery-description h2 {
        font-size: 1.6rem;
    }
    
    .shop-main-info h1 {
        font-size: 1.8rem;
    }
    
    .shop-quick-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .tabs-navigation {
        border-radius: 10px 10px 0 0;
    }
    
    .tab-button {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .tab-button i {
        font-size: 1.5rem;
    }
    
    .tab-panel {
        padding: 1rem;
    }
    
    .info-section {
        padding: 1.2rem;
    }
    
    .gallery-main {
        height: 250px;
        border-radius: 15px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .gallery-description {
        padding: 1.5rem;
    }
    
    .gallery-description h2 {
        font-size: 1.4rem;
    }
    
    .shop-main-info h1 {
        font-size: 1.6rem;
    }
    
    .map-section {
        padding: 1.5rem;
    }
}

/* Amélioration des transitions */
.tab-button,
.info-section,
.thumbnail,
.gallery-main img {
    will-change: transform;
}

/* Focus states pour l'accessibilité */
.tab-button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.thumbnail:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Amélioration du contraste pour certains éléments */
.tab-button.active span {
    font-weight: 700;
}

.info-section h2 {
    font-weight: 600;
}

/* ======================= RÈGLES MOBILE OPTIMISÉES POUR COMMERCE-TABS.CSS ======================= */
/* À ajouter à la fin du fichier commerce-tabs.css */

/* Optimisation pour petits écrans (320px - 480px) */
@media screen and (max-width: 480px) {
    /* En-tête du commerce - Mobile optimisé */
    .shop-header-section {
        padding: 1rem 0;
    }
    
    .shop-header-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .shop-main-info h1 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        text-align: center;
        line-height: 1.3;
    }
    
    .shop-quick-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        justify-content: center;
        min-height: 44px; /* Taille tactile recommandée */
    }
    
    /* Navigation des onglets - Mobile */
    .tabs-navigation {
        border-radius: 8px 8px 0 0;
        margin: 0 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-button {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        min-width: 90px;
        gap: 0.2rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .tab-button i {
        font-size: 1.1rem;
    }
    
    .tab-button span {
        display: none; /* Masquer le texte, garder seulement les icônes */
    }
    
    /* Contenu des onglets - Mobile */
    .tab-panel {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Sections d'informations - Mobile */
    .info-section {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .info-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .info-section h2 i {
        font-size: 1rem;
    }
    
    .description-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Galerie - Mobile optimisée */
    .gallery-main {
        height: 220px;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .gallery-controls {
        padding: 0 0.5rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        border-width: 2px;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        padding: 0.5rem 0;
        justify-content: flex-start;
    }
    
    .gallery-indicators {
        gap: 0.3rem;
        margin-top: 0.5rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .gallery-description {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 10px;
    }
    
    .gallery-description h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .description-extended {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Carte - Mobile */
    .map-section {
        padding: 1rem;
        margin: 1rem 0.5rem 0;
        border-radius: 10px;
    }
    
    .map-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }
    
    /* Catégories - Mobile */
    .shop-categories {
        justify-content: center;
        text-align: center;
        gap: 0.3rem;
    }
    
    .category-tag {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .category-tag i {
        font-size: 0.7rem;
    }
    
    /* Avis et Contact - Mobile optimisé */
    .avis-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .reviews-section,
    .contact-section {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .reviews-section h2,
    .contact-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }
    
    /* Vue d'ensemble des avis - Mobile */
    .reviews-overview {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
        border-radius: 10px;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .average-rating {
        gap: 0.3rem;
    }
    
    .rating-big {
        font-size: 2rem;
    }
    
    .rating-stars i {
        font-size: 1rem;
    }
    
    .rating-bars {
        width: 100%;
        max-width: 250px;
    }
    
    .rating-bar-row {
        gap: 0.5rem;
    }
    
    .rating-label {
        width: 35px;
        font-size: 0.8rem;
    }
    
    .rating-bar {
        flex: 1;
        min-width: 80px;
    }
    
    .rating-count-small {
        width: 25px;
        font-size: 0.8rem;
    }
    
    .write-review-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
        border-radius: 25px;
    }
    
    /* Liste des avis - Mobile */
    .reviews-list {
        gap: 1rem;
        max-height: 250px;
        padding-right: 0.3rem;
    }
    
    .review-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .reviewer-info {
        gap: 0.8rem;
        width: 100%;
    }
    
    .reviewer-avatar,
    .reviewer-avatar-placeholder {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .reviewer-name {
        font-size: 0.9rem;
    }
    
    .review-rating {
        gap: 0.1rem;
    }
    
    .review-rating i {
        font-size: 0.9rem;
    }
    
    .review-date {
        font-size: 0.8rem;
    }
    
    .review-content {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-top: 0.3rem;
    }
    
    /* Formulaire d'avis - Mobile */
    .write-review-section {
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .write-review-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .review-form {
        gap: 1rem;
    }
    
    .rating-selector {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .rating-stars-input {
        gap: 0.2rem;
        justify-content: center;
        width: 100%;
    }
    
    .rating-stars-input label {
        font-size: 1.3rem;
    }
    
    /* Formulaire de contact - Mobile */
    .contact-form {
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .form-group {
        gap: 0.3rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 44px; /* Taille tactile */
    }
    
    .form-group textarea {
        min-height: 100px;
        resize: none; /* Désactiver le redimensionnement sur mobile */
    }
    
    /* Informations de contact - Mobile */
    .contact-info {
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        border-radius: 8px;
        gap: 0.8rem;
    }
    
    .contact-item i {
        font-size: 1rem;
        width: 18px;
        margin-top: 0.1rem;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Zoom modal - Mobile */
    .zoom-modal-content {
        max-width: 100%;
        max-height: 100%;
        padding: 1rem;
    }
    
    .zoom-close {
        top: -35px;
        right: -35px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .zoom-controls {
        bottom: -45px;
        gap: 0.8rem;
    }
    
    .zoom-controls button {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    #zoom-image {
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
    }
    
    /* Alertes - Mobile */
    .alert {
        padding: 0.8rem 1rem;
        border-radius: 8px;
        margin: 0 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Améliorations tactiles */
    .tab-button,
    .thumbnail,
    .gallery-prev,
    .gallery-next,
    .zoom-btn,
    .indicator,
    .rating-stars-input label,
    .btn-action,
    .write-review-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Optimisation du scroll */
    .tabs-navigation,
    .gallery-thumbnails,
    .reviews-list {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .tabs-navigation::-webkit-scrollbar,
    .gallery-thumbnails::-webkit-scrollbar,
    .reviews-list::-webkit-scrollbar {
        display: none; /* Webkit */
    }
}

/* Optimisation pour très petits écrans (jusqu'à 360px) */
@media screen and (max-width: 360px) {
    .shop-main-info h1 {
        font-size: 1.3rem;
    }
    
    .tab-button {
        min-width: 80px;
        padding: 0.7rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .tab-button i {
        font-size: 1rem;
    }
    
    .gallery-main {
        height: 200px;
    }
    
    .thumbnail {
        width: 45px;
        height: 45px;
    }
    
    .info-section {
        padding: 0.8rem;
    }
    
    .info-section h2 {
        font-size: 1rem;
    }
    
    .description-content {
        font-size: 0.85rem;
    }
    
    .rating-big {
        font-size: 1.8rem;
    }
    
    .reviews-section,
    .contact-section {
        padding: 0.8rem;
    }
    
    .review-card {
        padding: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

/* Optimisation pour écrans très larges en mode portrait (phablets) */
@media screen and (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
    .tab-button span {
        display: inline; /* Réafficher le texte sur les écrans plus grands */
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .tab-panel {
        padding: 1.5rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
}