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

/* ======================= Fichier commerce-details.css ======================= */
/* ======================= VARIABLES GLOBALES ======================= */
:root {
    /* Couleurs principales - plus vives */
    --primary-color: #4eced2;
    --primary-hover: #4e9696;
    --secondary-color: #4ECDC4;
    --secondary-hover: #3DBEB6;
    --accent-color: #6dff92;
    --accent-hover: #3dff47;
    --border-text-dark: 1px solid #ffffff;
    
    /* Arrière-plans */
    --background-light: #367575;
    --background-cream: url('../images/Back-shop-marbre.png');
    --background-card: url('../images/Back-shop-category-.png');
    --background-gradient: linear-gradient(135deg, #FF9A8B, #4e9696);
    
    /* Textes */
    --text-dark: #fff;
    --text-secondary: #fff;
    --text-tertiaire: #4e9696;
    --text-quatre: #fff;
    --text-cinq: #fff;
    --text-highlight: #4e9696;
    
    /* Badges */
    --badge-new: #4ECDC4;
    --badge-popular: #FF9A8B;
    --badge-promo: #6dff92;
    
    /* Effets */
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --card-glow: 0 0 15px rgba(255, 107, 107, 0.4);
}

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

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-light);
    color: var(--text-tertiaire);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ======================= LAYOUT PRINCIPAL ======================= */
.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

.content {
    flex: 1;
    transition: margin-left 0.3s ease;
    margin-left: 0;
    min-height: calc(100vh - 60px);
}

.sidebar.open + .content {
    margin-left: 250px;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem;
    color: var(--text-tertiaire);
    box-sizing: border-box;
    flex: 1;
}

/* ======================= HEADER PRINCIPAL ======================= */
.main-header {
    background-color: var(--background-light);
    width: 100%;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-header {
    padding: 1rem 0;
    text-align: center;
    background: var(--background-light);
}

.logo-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.logo-header span {
    color: var(--primary-color);
}

/* Barre de navigation horizontale */
.main-nav {
    background-color: var(--background-cream);
    width: 100%;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover:after {
    width: 80%;
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.main-nav a.active:after {
    width: 80%;
}

/* ======================= SIDEBAR MOBILE ======================= */
.tab {
    position: fixed;
    top: 15px;
    left: 10px;
    z-index: 1001;
    width: 80px;
    height: 35px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 35px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    display: none; /* Caché par défaut, affiché en mobile */
}

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

.sidebar {
    background: linear-gradient(135deg, #FF9A8B, #4e9696);
    padding: 1.5rem 0.8rem;
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -250px;
    color: white;
    z-index: 1000;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: left 0.3s ease;
    font-size: 0.9rem;
}

.sidebar.open {
    left: 0;
}

.sidebar h1 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
}

.logo-container img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.button-group a {
    padding: 0.8em;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.button-group a i {
    width: 20px;
    text-align: center;
}

.button-group a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateX(5px);
}

.button-group a.active {
    background-color: white;
    color: var(--primary-color);
    position: relative;
}

.button-group a.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

/* ======================= BOUTONS ======================= */
.navigation-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-view {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    min-width: 70px;
    min-height: 38px;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view:hover {
    background-color: var(--accent-hover);
    transform: translateX(3px);
}

/* ======================= FOOTER ======================= */
.footer {
    background: var(--background-cream);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid #eee;
}

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

.footer-logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-social h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #367575;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================= STYLES SPÉCIFIQUES POUR COMMERCE.PHP ============================= */

/* Breadcrumb */
.breadcrumb-section {
    background: var(--background-light);
    padding: 1rem 0;
}

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

.breadcrumb a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Section principale du commerce */
.shop-main-section {
    background: var(--background-cream);
    padding: 2rem 0;
}

.shop-main-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
}

/* Galerie */
.shop-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    height: 350px;
    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.05);
}

.shop-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.new-badge {
    background-color: var(--badge-new);
}

.featured-badge {
    background-color: var(--badge-popular);
}

.promo-badge {
    background-color: var(--badge-promo);
    color: var(--text-dark);
}

.open-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.open {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.closed {
    background-color: var(--badge-popular);
    color: white;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

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

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

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Informations du commerce */
.shop-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shop-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1.5rem;
}

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

.shop-rating {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.shop-rating i {
    color: var(--accent-color);
}

.rating-value {
    font-weight: 600;
    color: var(--text-dark);
}

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

.shop-category, 
.shop-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.shop-category i, 
.shop-address i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.shop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.shop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-action.phone {
    background-color: var(--primary-color);
    color: white;
}

.btn-action.email {
    background-color: var(--secondary-color);
    color: white;
}

.btn-action.website {
    background-color: var(--badge-popular);
    color: white;
}

.btn-action.directions {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Description du commerce */
.shop-description,
.shop-services,
.shop-opening-hours,
.shop-social {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.shop-description h2,
.shop-services h2,
.shop-opening-hours h2,
.shop-social h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

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

/* Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.service-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Horaires d'ouverture */
.opening-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.opening-day {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem;
    border-radius: 8px;
    color: var(--text-secondary);
}

.opening-day:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.opening-day.today {
    background-color: rgba(78, 206, 210, 0.2);
    font-weight: 500;
}

.day-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.today-label {
    background-color: var(--primary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
}

.closed-day {
    color: var(--badge-popular);
    font-weight: 500;
}

.break-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: white;
}

.social-link i {
    font-size: 1.1rem;
}

.social-link[href*="facebook"] {
    background-color: #3b5998;
}

.social-link[href*="twitter"] {
    background-color: #1da1f2;
}

.social-link[href*="instagram"] {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-link[href*="linkedin"] {
    background-color: #0077b5;
}

.social-link[href*="youtube"] {
    background-color: #ff0000;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Carte */
.shop-map-section {
    background: var(--background-light);
    padding: 3rem 0;
}

.shop-map-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.shop-map-section h2 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Autres sections */
.shop-promotions-section,
.shop-events-section,
.shop-reviews-section,
.similar-shops-section,
.shop-contact-section {
    padding: 3rem 0;
}

.shop-promotions-section,
.shop-events-section,
.similar-shops-section {
    background: var(--background-cream);
}

.shop-reviews-section,
.shop-contact-section {
    background: var(--background-light);
}

.shop-promotions-section h2,
.shop-events-section h2,
.shop-reviews-section h2,
.similar-shops-section h2,
.shop-contact-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.shop-promotions-section h2 i,
.shop-events-section h2 i,
.shop-reviews-section h2 i,
.similar-shops-section h2 i,
.shop-contact-section h2 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Promotions */
.promotions-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.promotion-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px dashed var(--accent-color);
    padding: 1.5rem;
}

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

.promotion-discount {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.promotion-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    padding-right: 60px;
}

.promotion-dates {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.promotion-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Événements */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.event-image {
    height: 180px;
    overflow: hidden;
    background: var(--background-light);
}

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

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

.event-content {
    padding: 1.5rem;
}

.event-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

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

.event-description {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.event-location i {
    color: var(--primary-color);
}

/* Avis clients */
.reviews-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

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

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

.rating-big {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

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

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

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

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.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);
}

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

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

.rating-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50px;
}

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

.write-review-btn {
    padding: 0.8rem 1.5rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

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

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

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

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

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

.review-rating i {
    color: var(--accent-color);
}

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

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

.no-reviews {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.no-reviews p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.write-review-section {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

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

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

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

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

.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.5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.rating-stars-input label:hover,
.rating-stars-input label:hover ~ label,
.rating-stars-input input:checked ~ label {
    color: var(--accent-color);
}

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

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

textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 206, 210, 0.3);
}

.login-prompt {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.login-prompt p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.login-prompt .small {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.login-prompt a:hover {
    color: var(--primary-hover);
}

/* Commerces similaires */
.similar-shops-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.shop-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.shop-image {
    height: 180px;
    overflow: hidden;
    background: var(--background-light);
}

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

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

.shop-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.shop-meta {
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.shop-category,
.shop-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.shop-category i,
.shop-location i {
    color: var(--primary-color);
    width: 16px;
}

/* Contact du commerce */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.contact-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 206, 210, 0.3);
}

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

.contact-info {
    padding: 2rem;
    background-color: var(--primary-hover);
    color: white;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    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;
}

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

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.view-all-link {
    text-align: center;
    margin-top: 2rem;
}

/* ======================= RESPONSIVE ======================= */
@media screen and (max-width: 1200px) {
    .shop-main-container {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .promotions-container,
    .events-container,
    .similar-shops-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 992px) {
    .tab {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .shop-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .reviews-overview {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .promotions-container,
    .events-container,
    .similar-shops-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .logo-header h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .reviews-summary {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .promotions-container,
    .events-container,
    .similar-shops-container {
        grid-template-columns: 1fr;
    }
    
    .shop-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo-header h1 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 576px) {
    .gallery-main {
        height: 250px;
    }
    
    .shop-header h1 {
        font-size: 1.8rem;
    }
    
    .shop-description,
    .shop-services,
    .shop-opening-hours,
    .shop-social {
        padding: 1.2rem;
    }
    
    .shop-description h2,
    .shop-services h2,
    .shop-opening-hours h2,
    .shop-social h2,
    section h2 {
        font-size: 1.3rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .logo-header h1 {
        font-size: 1.6rem;
    }
}

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

/* Optimisation globale pour petits écrans (320px - 480px) */
@media screen and (max-width: 480px) {
    /* Container principal - Mobile */
    .container {
        padding: 0.5rem;
        max-width: 100%;
    }
    
    /* Header principal - Mobile optimisé */
    .logo-header {
        padding: 0.8rem 0;
    }
    
    .logo-header h1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
        line-height: 1.2;
    }
    
    /* Navigation principale - Mobile */
    .main-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0.5rem;
    }
    
    .main-nav li {
        flex-shrink: 0;
    }
    
    .main-nav a {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: 60px;
        text-align: center;
    }
    
    /* Sidebar mobile - Optimisé */
    .tab {
        display: block;
        width: 70px;
        height: 32px;
        line-height: 32px;
        font-size: 0.8rem;
        top: 10px;
        left: 8px;
        border-radius: 4px;
    }
    
    .sidebar {
        width: 100%;
        left: -100%;
        padding: 1rem;
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .sidebar h1 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .button-group {
        gap: 0.5rem;
        padding: 0;
    }
    
    .button-group a {
        padding: 0.7rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    /* Breadcrumb - Mobile */
    .breadcrumb {
        font-size: 0.8rem;
        padding: 0 0.5rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Section principale commerce - Mobile */
    .shop-main-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Galerie - Mobile optimisée */
    .gallery-main {
        height: 220px;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .shop-badges {
        top: 0.5rem;
        left: 0.5rem;
        gap: 0.3rem;
    }
    
    .badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .open-status {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        padding: 0.5rem 0;
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    /* Informations du commerce - Mobile */
    .shop-info {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .shop-header {
        padding-bottom: 1rem;
    }
    
    .shop-header h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .shop-rating {
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 0.8rem;
    }
    
    .shop-rating i {
        font-size: 0.9rem;
    }
    
    .rating-value {
        font-size: 0.9rem;
    }
    
    .rating-count {
        font-size: 0.8rem;
    }
    
    .shop-category,
    .shop-address {
        gap: 0.4rem;
        margin-bottom: 0.6rem;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }
    
    .shop-category i,
    .shop-address i {
        width: 16px;
        font-size: 0.9rem;
    }
    
    .shop-tags {
        gap: 0.4rem;
        margin: 0.8rem 0;
        justify-content: center;
    }
    
    .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .shop-actions {
        gap: 0.6rem;
        margin-top: 1rem;
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        justify-content: center;
        min-height: 44px;
        border-radius: 25px;
    }
    
    /* Sections descriptives - Mobile */
    .shop-description,
    .shop-services,
    .shop-opening-hours,
    .shop-social {
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .shop-description h2,
    .shop-services h2,
    .shop-opening-hours h2,
    .shop-social h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .description-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Services - Mobile */
    .services-list {
        gap: 0.8rem;
    }
    
    .service-item {
        gap: 0.8rem;
        flex-direction: column;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        padding: 1rem;
        border-radius: 8px;
    }
    
    .service-item i {
        font-size: 1.5rem;
        margin-top: 0;
    }
    
    .service-details h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .service-details p {
        font-size: 0.85rem;
    }
    
    /* Horaires d'ouverture - Mobile */
    .opening-hours-list {
        gap: 0.4rem;
    }
    
    .opening-day {
        padding: 0.5rem;
        border-radius: 6px;
        font-size: 0.85rem;
        flex-direction: column;
        text-align: center;
        gap: 0.2rem;
    }
    
    .day-name {
        gap: 0.4rem;
        justify-content: center;
    }
    
    .today-label {
        padding: 0.1rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 8px;
    }
    
    .break-time {
        font-size: 0.75rem;
    }
    
    /* Réseaux sociaux - Mobile */
    .social-links {
        gap: 0.8rem;
        flex-direction: column;
    }
    
    .social-link {
        width: 100%;
        padding: 0.8rem 1rem;
        justify-content: center;
        font-size: 0.85rem;
        border-radius: 25px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    /* Sections globales - Mobile */
    .shop-promotions-section,
    .shop-events-section,
    .shop-reviews-section,
    .similar-shops-section,
    .shop-contact-section,
    .shop-map-section {
        padding: 2rem 0.5rem;
    }
    
    .shop-promotions-section h2,
    .shop-events-section h2,
    .shop-reviews-section h2,
    .similar-shops-section h2,
    .shop-contact-section h2,
    .shop-map-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    /* Promotions - Mobile */
    .promotions-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .promotion-card {
        padding: 1rem;
        border-radius: 10px;
        margin: 0 0.5rem;
    }
    
    .promotion-discount {
        top: -10px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .promotion-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        padding-right: 50px;
    }
    
    .promotion-dates {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .promotion-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    /* Événements - Mobile */
    .events-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        margin: 0 0.5rem;
        border-radius: 10px;
    }
    
    .event-image {
        height: 150px;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .event-date {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        border-radius: 12px;
    }
    
    .event-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .event-description {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .event-location {
        gap: 0.4rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    /* Avis clients - Mobile */
    .reviews-overview {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
        margin: 0 0.5rem 1.5rem;
        border-radius: 10px;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .average-rating {
        gap: 0.4rem;
    }
    
    .rating-big {
        font-size: 2.2rem;
    }
    
    .rating-stars i {
        font-size: 1.1rem;
    }
    
    .rating-count {
        font-size: 0.8rem;
    }
    
    .rating-bars {
        width: 100%;
        max-width: 280px;
    }
    
    .rating-bar-row {
        gap: 0.6rem;
    }
    
    .rating-label {
        width: 30px;
        font-size: 0.8rem;
    }
    
    .rating-bar {
        height: 6px;
    }
    
    .rating-count-small {
        width: 20px;
        font-size: 0.8rem;
    }
    
    .write-review-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
        border-radius: 25px;
    }
    
    /* Liste des avis - Mobile */
    .reviews-list {
        gap: 1rem;
        margin: 0 0.5rem 1.5rem;
    }
    
    .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.85rem;
        line-height: 1.5;
    }
    
    /* Formulaire d'avis - Mobile */
    .write-review-section {
        padding: 1rem;
        margin: 0 0.5rem;
        border-radius: 10px;
    }
    
    .write-review-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .review-form {
        gap: 1rem;
    }
    
    .rating-selector {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .rating-stars-input {
        gap: 0.3rem;
    }
    
    .rating-stars-input label {
        font-size: 1.5rem;
    }
    
    /* Messages - Mobile */
    .no-reviews {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem 1.5rem;
        border-radius: 10px;
        text-align: center;
    }
    
    .login-prompt {
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
    }
    
    /* Commerces similaires - Mobile */
    .similar-shops-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .shop-card {
        border-radius: 10px;
    }
    
    .shop-image {
        height: 150px;
    }
    
    .shop-content {
        padding: 1rem;
    }
    
    .shop-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        text-align: center;
    }
    
    .shop-category,
    .shop-location {
        gap: 0.4rem;
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        justify-content: center;
    }
    
    .shop-category i,
    .shop-location i {
        width: 14px;
        font-size: 0.8rem;
    }
    
    /* Contact - Mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0 0.5rem;
        border-radius: 10px;
    }
    
    .contact-form {
        padding: 1rem;
        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 {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 44px;
    }
    
    textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 100px;
        resize: none;
    }
    
    .contact-info {
        padding: 1rem;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text-dark);
    }
    
    .contact-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item {
        gap: 0.8rem;
        text-align: center;
        flex-direction: column;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .contact-item i {
        font-size: 1.2rem;
        margin-top: 0;
        color: var(--primary-color);
    }
    
    .contact-item strong {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    /* Carte - Mobile */
    .map-container {
        border-radius: 10px;
        margin: 0 0.5rem;
    }
    
    .map-container iframe {
        min-height: 250px;
    }
    
    /* Footer - Mobile */
    .footer {
        padding: 2rem 0.5rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links h3,
    .footer-social h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links ul {
        gap: 0.4rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
    
    /* Améliorations tactiles générales */
    .btn-primary,
    .btn-secondary,
    .btn-view,
    .btn-action,
    .social-link,
    .write-review-btn,
    .thumbnail,
    input,
    textarea,
    button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Optimisation du scroll */
    .main-nav ul,
    .gallery-thumbnails,
    .breadcrumb {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .main-nav ul::-webkit-scrollbar,
    .gallery-thumbnails::-webkit-scrollbar,
    .breadcrumb::-webkit-scrollbar {
        display: none;
    }
}

/* Optimisation pour très petits écrans (jusqu'à 360px) */
@media screen and (max-width: 360px) {
    .container {
        padding: 0.3rem;
    }
    
    .logo-header h1 {
        font-size: 1.2rem;
    }
    
    .main-nav a {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .shop-header h1 {
        font-size: 1.4rem;
    }
    
    .gallery-main {
        height: 180px;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .shop-description,
    .shop-services,
    .shop-opening-hours,
    .shop-social {
        padding: 0.8rem;
    }
    
    .promotion-card,
    .event-card {
        margin: 0 0.3rem;
    }
    
    .rating-big {
        font-size: 2rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 0.8rem;
    }
}

/* Optimisation pour écrans moyens en mode portrait (phablets) */
@media screen and (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
    .shop-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .gallery-main {
        height: 280px;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .shop-header h1 {
        font-size: 1.8rem;
    }
    
    .shop-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .btn-action {
        width: calc(50% - 0.3rem);
    }
    
    .shop-description,
    .shop-services,
    .shop-opening-hours,
    .shop-social {
        padding: 1.5rem;
    }
}