/* ============================================================================
   FICHIER CSS COMBINÉ - American Shop by Toutou
   Fusion de variables.css + custom.css + responsive.css + responsive-enhanced.css
   + mobile-fixes.css + images.css + hamburger.css + woo-responsive-override.css
   Ordre de cascade conservé à l'identique de l'ancien chargement séquentiel.
   Les fichiers sources restent sur disque pour référence mais ne sont plus enqueue.
   ============================================================================ */

/* ===== 1/8 : variables.css ===== */
/* Variables CSS pour American Shop by Toutou */
:root {
    /* Couleurs principales */
    --primary-color: #F3B2C8;
    --primary-hover: #E092B0;
    --primary-light: #F8D4E1;
    --primary-dark: #D67399;

    /* Couleurs secondaires */
    --secondary-color: #333333;
    --secondary-light: #666666;
    --secondary-dark: #222222;

    /* Couleurs de fond */
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;

    /* Couleurs de texte */
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;

    /* Couleurs d'accent */
    --accent-color: #667eea;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Ombres */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-primary: 0 5px 15px rgba(243, 178, 200, 0.4);

    /* Animations */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;

    /* Espacement */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;

    /* Bordures */
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 50px;

    /* Typographie */
    --font-family-primary: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 0.8rem;
    --font-size-sm: 1rem;
    --font-size-md: 1.2rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.5rem;
    --font-size-hero: 3.5rem;
}

/* Classes utilitaires utilisant les variables */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

.text-secondary { color: var(--secondary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

.shadow-light { box-shadow: var(--shadow-light) !important; }
.shadow-medium { box-shadow: var(--shadow-medium) !important; }
.shadow-heavy { box-shadow: var(--shadow-heavy) !important; }

.transition-fast { transition: all var(--transition-fast) !important; }
.transition-medium { transition: all var(--transition-medium) !important; }

.rounded-sm { border-radius: var(--border-radius-sm) !important; }
.rounded-md { border-radius: var(--border-radius-md) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }

/* Application des variables aux éléments existants */
.site-logo {
    color: var(--primary-color);
}

.site-logo:hover {
    color: var(--primary-hover);
}

.cta-button {
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-fast);
}

.cta-button:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}

.product-card {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-fast);
}

.product-card:hover {
    box-shadow: var(--shadow-heavy);
}

.product-price {
    color: var(--primary-color);
}

.product-badge {
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
}

.add-to-cart:hover {
    background: var(--primary-color);
}

/* Mode sombre (optionnel pour le futur) */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a1a1a;
        --background-light: #2d2d2d;
        --text-color: #ffffff;
        --text-light: #cccccc;
    }
}

/* ===== 2/8 : custom.css ===== */
/* Custom CSS pour American Shop by Toutou */

/* Amélioration des animations */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Styles pour la recherche */
.search-form-container {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-field {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #F3B2C8;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-field:focus {
    border-color: #E092B0;
}

.search-submit {
    background: #F3B2C8;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #E092B0;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Styles WooCommerce personnalisés */
.woocommerce-page-header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 40px;
}

.woocommerce-page-header .page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Produits WooCommerce */
.woocommerce-products .product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.woocommerce-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.woocommerce-products .product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.woocommerce-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.woocommerce-products .product-card:hover .product-image img {
    transform: scale(1.1);
}

.woocommerce-products .product-info {
    padding: 25px;
}

.woocommerce-products .product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.woocommerce-products .product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.woocommerce-products .product-title a:hover {
    color: #F3B2C8;
}

.woocommerce-products .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #F3B2C8;
    margin-bottom: 15px;
}

.woocommerce-products .price del {
    color: #999;
    font-size: 0.9em;
    margin-right: 10px;
}

.woocommerce-products .add_to_cart_button,
.woocommerce-products .button {
    width: 100%;
    background: #333;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.woocommerce-products .add_to_cart_button:hover,
.woocommerce-products .button:hover {
    background: #F3B2C8;
    color: white;
}

/* Badges produits */
.onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #F3B2C8;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* Pagination WooCommerce */
.woocommerce-pagination {
    text-align: center;
    margin-top: 40px;
}

.woocommerce-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    border: 2px solid #eee;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.woocommerce-pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers.current {
    background: #F3B2C8;
    color: white;
    border-color: #F3B2C8;
}

/* Panier */
.cart-contents {
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.cart-contents:hover {
    color: #F3B2C8;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #F3B2C8;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* Messages WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.woocommerce-info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.woocommerce-error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* CENTRAGE GLOBAL DES IMAGES PRODUITS */
.woocommerce-products .product-image,
.product-card .product-image,
.product-item .product-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
}

.woocommerce-products .product-image img,
.product-card .product-image img,
.product-item .product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 6px !important;
    padding: 8px !important;
}

/* Correction pour les images WooCommerce */
.woocommerce .products .product a img {
    margin: 0 auto !important;
    display: block !important;
}

/* Image de remplacement centrée */
.woocommerce .product .woocommerce-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f0f0f0 !important;
    color: #ccc !important;
    font-size: 2rem !important;
    text-align: center !important;
}

/* Améliorations responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 20px;
    }

    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .main-navigation a {
        display: block;
        padding: 15px 0;
    }

    .header-actions {
        gap: 10px;
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-field,
    .search-submit {
        border-radius: 8px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .woocommerce-products .product-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* Animations au scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour les formulaires */
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="password"],
.woocommerce form textarea,
.woocommerce form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.woocommerce form input[type="text"]:focus,
.woocommerce form input[type="email"]:focus,
.woocommerce form input[type="password"]:focus,
.woocommerce form textarea:focus,
.woocommerce form select:focus {
    outline: none;
    border-color: #F3B2C8;
}

.woocommerce form button,
.woocommerce form input[type="submit"] {
    background: #F3B2C8;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.woocommerce form button:hover,
.woocommerce form input[type="submit"]:hover {
    background: #E092B0;
}

/* Styles pour les étoiles de notation */
.star-rating {
    color: #ffd700;
    font-size: 1rem;
}

.star-rating::before {
    content: "★★★★★";
    color: #ddd;
}

.star-rating span::before {
    content: "★★★★★";
    color: #ffd700;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: loading 1.5s infinite;
}

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

/* ===== 3/8 : responsive.css ===== */
/* Responsive Design Moderne - American Shop by Toutou */

/* Variables responsive */
:root {
    --container-mobile: 95%;
    --container-tablet: 90%;
    --container-desktop: 1200px;

    --grid-gap-mobile: 15px;
    --grid-gap-tablet: 25px;
    --grid-gap-desktop: 30px;

    --font-scale-mobile: 0.9;
    --font-scale-tablet: 1;
    --font-scale-desktop: 1;
}

/* Container responsive */
.container {
    max-width: var(--container-desktop);
    margin: 0 auto;
    padding: 0 20px;
    transition: all 0.3s ease;
}

/* Grilles responsives modernes */
.products-grid {
    display: grid;
    gap: var(--grid-gap-desktop);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
}

/* Header responsive amélioré */
.site-header {
    transition: all 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Navigation responsive */
.main-navigation {
    transition: all 0.3s ease;
}

.main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Hero section responsive */
.hero-section {
    padding: clamp(60px, 10vw, 120px) 0;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cartes produits responsives */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    flex-shrink: 0;
}

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-price {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Utilitaires responsive */
.text-center-mobile {
    text-align: center;
}

.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

.flex-column-mobile {
    display: flex;
}

/* Breakpoint Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --grid-gap-desktop: var(--grid-gap-tablet);
    }

    .container {
        max-width: var(--container-tablet);
        padding: 0 15px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--grid-gap-tablet);
    }

    .hero-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

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

/* Breakpoint Mobile Large (768px) */
@media (max-width: 768px) {
    :root {
        --grid-gap-desktop: var(--grid-gap-mobile);
    }

    .container {
        max-width: var(--container-mobile);
        padding: 0 15px;
    }

    /* Header mobile */
    .header-top {
        padding: 8px 0;
        font-size: 0.8rem;
    }

    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .site-logo {
        font-size: 1.8rem;
    }

    /* Menu mobile hamburger */
    .menu-toggle {
        display: flex;
        order: -1;
        align-self: flex-end;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .main-navigation {
        order: 1;
        width: 100%;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 20px;
        display: none;
    }

    .main-navigation.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
        padding: 15px 0;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
    }

    /* Header actions mobile */
    .header-actions {
        gap: 20px;
        justify-content: center;
    }

    .search-toggle,
    .cart-toggle,
    .account-toggle {
        padding: 15px;
        font-size: 1.3rem;
    }

    /* Hero mobile */
    .hero-section {
        padding: 60px 0;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* Produits mobile */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--grid-gap-mobile);
    }

    .product-image {
        height: 220px;
    }

    /* Search form mobile */
    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-field {
        border-radius: 25px;
        font-size: 1rem;
        padding: 15px 20px;
    }

    .search-submit {
        border-radius: 25px;
        padding: 15px;
        font-size: 1rem;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
        font-size: 0.9rem;
    }

    /* Utilitaires mobile */
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }

    .text-center-mobile {
        text-align: center !important;
    }

    .flex-column-mobile {
        flex-direction: column !important;
    }
}

/* Breakpoint Mobile Small (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Header ultra mobile */
    .header-main {
        padding: 15px 0;
    }

    .site-logo {
        font-size: 1.5rem;
    }

    .header-actions {
        gap: 15px;
    }

    .search-toggle,
    .cart-toggle,
    .account-toggle {
        padding: 12px;
        font-size: 1.2rem;
    }

    /* Hero ultra mobile */
    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        margin-bottom: 15px;
    }

    .hero-subtitle {
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    /* Grille ultra mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    /* Sections spacing ultra mobile */
    .featured-products,
    .about-section,
    .testimonials-section,
    .newsletter-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Footer ultra mobile */
    .footer-content {
        gap: 25px;
    }

    .footer-section {
        padding: 20px 0;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 0.8rem;
    }

    .footer-bottom p {
        margin-bottom: 5px;
    }
}

/* Breakpoint Extra Small (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    .site-logo {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-info {
        padding: 12px;
    }

    .add-to-cart {
        padding: 10px;
        font-size: 0.9rem;
    }
}

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

/* Hover states pour desktop uniquement */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

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

    .cta-button:hover {
        transform: translateY(-2px);
    }

    .main-navigation a:hover::after {
        width: 100%;
    }
}

/* Amélioration pour écrans très larges */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
}

/* Optimisations pour l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Thème sombre automatique */
@media (prefers-color-scheme: dark) {
    .product-card {
        background: #2d3436;
        color: #ddd;
    }

    .main-navigation {
        background: #2d3436;
    }

    .search-form-container {
        background: #2d3436;
    }
}

/* Orientation landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .product-image {
        height: 180px;
    }
}

/* ===== 4/8 : responsive-enhanced.css ===== */
/* CSS Responsive Amélioré - American Shop by Toutou */
/* Adaptation optimisée pour Mobile, Tablette et Desktop */

/* ===== VARIABLES RESPONSIVE ===== */
:root {
    /* Breakpoints */
    --mobile-max: 768px;
    --tablet-min: 769px;
    --tablet-max: 1023px;
    --desktop-min: 1024px;
    --large-desktop-min: 1400px;

    /* Spacing responsive */
    --spacing-mobile: 10px;
    --spacing-tablet: 15px;
    --spacing-desktop: 20px;

    /* Font sizes responsive */
    --font-scale-mobile: 0.9;
    --font-scale-tablet: 1;
    --font-scale-desktop: 1;

    /* Header heights */
    --header-height-mobile: 60px;
    --header-height-tablet: 70px;
    --header-height-desktop: 80px;
}

/* ===== BASE RESPONSIVE ===== */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Container responsive */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-desktop);
    width: 100%;
}

/* ===== HEADER RESPONSIVE OPTIMISÉ ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Header top bar */
.header-top {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Header main */
.header-main {
    padding: var(--spacing-desktop) 0;
}

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

/* Logo responsive */
.site-branding {
    flex-shrink: 0;
}

.logo-image,
.custom-logo {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.site-logo {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.site-logo:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

/* Navigation principale */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Actions header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle,
.cart-toggle,
.account-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.search-toggle:hover,
.cart-toggle:hover,
.account-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
}

/* Menu hamburger (mobile) */
.menu-toggle {
    display: none;
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger {
    width: 20px;
    height: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION RESPONSIVE ===== */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    padding: 80px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(243, 178, 200, 0.4);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(243, 178, 200, 0.6);
}

/* ===== GRILLES PRODUITS RESPONSIVE ===== */
.products-grid {
    display: grid;
    gap: var(--spacing-desktop);
    margin-top: 40px;
}

/* Desktop (4+ colonnes) */
.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

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

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: auto;
}

.add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== BREAKPOINT TABLETTE (769px - 1023px) ===== */
@media (min-width: 769px) and (max-width: 1023px) {
    :root {
        --spacing-desktop: var(--spacing-tablet);
    }

    .container {
        padding: 0 var(--spacing-tablet);
    }

    /* Header tablette */
    .header-content {
        gap: 15px;
    }

    .main-navigation ul {
        gap: 20px;
    }

    .logo-image,
    .custom-logo {
        max-height: 45px;
    }

    /* Hero tablette */
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }

    /* Grille produits tablette (2-3 colonnes) */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-tablet);
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 18px;
    }
}

/* ===== BREAKPOINT MOBILE (≤768px) ===== */
@media (max-width: 768px) {
    :root {
        --spacing-desktop: var(--spacing-mobile);
    }

    .container {
        padding: 0 var(--spacing-mobile);
    }

    /* Header mobile */
    .header-top {
        padding: 5px 0;
        font-size: 0.75rem;
    }

    .header-top .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-info {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-links {
        gap: 12px;
    }

    .header-main {
        padding: 15px 0;
    }

    .header-content {
        position: relative;
    }

    /* Logo mobile */
    .logo-image,
    .custom-logo {
        max-height: 40px;
    }

    .site-logo {
        font-size: 1.5rem;
    }

    /* Menu hamburger mobile */
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    /* Navigation mobile */
    .main-navigation {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 999;
    }

    .main-navigation.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
        padding: 15px 0;
        text-align: center;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        font-size: 1.1rem;
        padding: 15px 0;
        display: block;
    }

    /* Actions header mobile */
    .header-actions {
        position: absolute;
        top: 50%;
        right: 60px;
        transform: translateY(-50%);
        gap: 10px;
    }

    .search-toggle,
    .cart-toggle,
    .account-toggle {
        padding: 8px;
        font-size: 1.1rem;
    }

    /* Hero mobile */
    .hero-section {
        min-height: 50vh;
        padding: 40px 0;
    }

    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }

    /* Grille produits mobile (1 colonne) */
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-mobile);
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .add-to-cart {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}

/* ===== BREAKPOINT MOBILE PETIT (≤480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .header-main {
        padding: 12px 0;
    }

    .logo-image,
    .custom-logo {
        max-height: 35px;
    }

    .site-logo {
        font-size: 1.3rem;
    }

    .hero-section {
        min-height: 40vh;
        padding: 30px 0;
    }

    .hero-title {
        margin-bottom: 20px;
    }

    .hero-subtitle {
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 12px;
    }
}

/* ===== BREAKPOINT LARGE DESKTOP (≥1400px) ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .product-image {
        height: 280px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* ===== UTILITAIRES RESPONSIVE ===== */
.mobile-only {
    display: none;
}

.tablet-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .mobile-hidden {
        display: none !important;
    }

    .desktop-only {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .tablet-only {
        display: block;
    }

    .tablet-hidden {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .desktop-hidden {
        display: none !important;
    }
}

/* ===== OPTIMISATIONS TACTILES ===== */
@media (max-width: 768px) {
    /* Zones tactiles plus grandes */
    .main-navigation a,
    .header-actions button,
    .add-to-cart,
    .cta-button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Espacements tactiles */
    .products-grid {
        padding: 0 5px;
    }

    .product-card {
        margin-bottom: 10px;
    }
}

/* ===== AMÉLIORATIONS PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Orientation paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
    }

    .header-main {
        padding: 10px 0;
    }
}

/* Support pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .custom-logo {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ===== 5/8 : mobile-fixes.css ===== */
/* CSS Mobile Corrigé - American Shop by Toutou */
/* Corrections spécifiques pour une meilleure expérience mobile */

/* ===== FIXES GÉNÉRAUX MOBILE ===== */

/* Empêcher le débordement horizontal */
html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch; /* smoother scroll on iOS */
}

/* Container mobile corrigé */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== HEADER MOBILE FIXES ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100vw;
}

.header-top {
    padding: 8px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Logo mobile */
.site-logo {
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--primary-color, #F3B2C8);
    text-decoration: none;
    flex-shrink: 0;
}

/* Menu hamburger */
.menu-toggle {
    display: none;
    background: var(--primary-color, #F3B2C8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}

/* Actions header mobile */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.search-toggle,
.cart-toggle,
.account-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-color, #333);
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== NAVIGATION MOBILE ===== */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color, #333);
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

/* ===== GRILLES PRODUITS MOBILE ===== */
.products-grid,
.woocommerce-products,
.products {
    display: grid;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.product-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-title a {
    text-decoration: none;
    color: var(--text-color, #333);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color, #F3B2C8);
    margin-bottom: 15px;
}

/* ===== BREAKPOINTS MOBILES ===== */

/* Mobile Large (≤768px) */
@media (max-width: 768px) {
    /* Container mobile */
    .container {
        padding: 0 15px;
        max-width: 100vw;
    }

    /* Header mobile */
    .header-top .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .header-content {
        flex-wrap: nowrap;
        gap: 15px;
    }

    /* Menu mobile */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 15px 15px;
        padding: 20px;
        z-index: 1000;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
        padding: 15px 0;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
    }

    /* Grilles mobile - 1 colonne pour éviter débordement */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sections mobile */
    .featured-products,
    .about-section,
    .testimonials-section,
    .newsletter-section {
        padding: 50px 0;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
}

/* Mobile Medium (≤480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Header ultra mobile */
    .header-main {
        padding: 12px 0;
    }

    .site-logo {
        font-size: 1.4rem;
    }

    .header-actions {
        gap: 8px;
    }

    .search-toggle,
    .cart-toggle,
    .account-toggle {
        padding: 10px;
        font-size: 1.1rem;
        min-width: 40px;
        min-height: 40px;
    }

    /* Grilles ultra mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }
}

/* Mobile Small (≤320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .site-logo {
        font-size: 1.2rem;
    }

    .product-info {
        padding: 12px;
    }
}

/* ===== FIXES WOOCOMMERCE MOBILE ===== */
.woocommerce .products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .woocommerce .products {
        grid-template-columns: 1fr !important;
    }
}

/* ===== FIXES DÉBORDEMENT ===== */
img,
picture,
video,
iframe,
embed,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== FIXES TOUCH ===== */
@media (hover: none) and (pointer: coarse) {
    .cta-button,
    .btn,
    .button,
    .add-to-cart {
        min-height: 48px;
        min-width: 48px;
        padding: 15px 25px;
    }

    .search-toggle,
    .cart-toggle,
    .account-toggle {
        min-height: 48px;
        min-width: 48px;
    }

    .menu-toggle {
        min-height: 48px;
        min-width: 48px;
    }
}

/* ===== FIXES SCROLL ===== */
.site {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* Menu mobile overlay fix */
body.menu-open {
    overflow: hidden;
}

/* ===== ORIENTATION LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .main-navigation {
        max-height: calc(100vh - 100px);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image {
        height: 160px;
    }
}

/* ===== PERFORMANCE MOBILE ===== */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .product-card:hover {
        transform: none;
    }

    .product-image img:hover {
        transform: none;
    }
}

/* ===== ACCESSIBILITÉ MOBILE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour navigation clavier */
.cta-button:focus,
.btn:focus,
.button:focus,
.search-toggle:focus,
.cart-toggle:focus,
.account-toggle:focus,
.menu-toggle:focus {
    outline: 2px solid var(--primary-color, #F3B2C8);
    outline-offset: 2px;
}

/* ===== 6/8 : images.css ===== */
/* Optimisation d'images pour American Shop by Toutou */

/* Lazy loading pour toutes les images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Placeholder pendant le chargement */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Optimisation pour les images de produits */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Hero image responsive */
.hero-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Logo responsive */
.logo-image,
.custom-logo {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Optimisation pour mobiles */
@media (max-width: 768px) {
    .logo-image,
    .custom-logo {
        max-height: 40px;
    }

    .product-image {
        height: 200px;
    }

    .hero-section {
        min-height: 300px;
        background-attachment: scroll; /* Meilleure performance sur mobile */
    }
}

/* Préchargement des images critiques */
.preload-images {
    position: absolute;
    left: -9999px;
    top: -9999px;
    visibility: hidden;
}

/* Format WebP si supporté */
@supports (background-image: url('image.webp')) {
    .hero-section {
        background-image: url('assets/images/hero-bg.webp'),
                         linear-gradient(rgba(243, 178, 200, 0.8), rgba(233, 30, 99, 0.8));
    }
}

/* Images avec aspect ratio fixe */
.aspect-ratio-box {
    position: relative;
    overflow: hidden;
}

.aspect-ratio-box::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 ratio */
}

.aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galerie produit avec aspect ratio */
.product-gallery .aspect-ratio-box::before {
    padding-top: 100%; /* 1:1 ratio pour les images produits */
}

/* Effet de flou pendant le chargement */
.blur-load {
    background-size: cover;
    background-position: center;
}

.blur-load img {
    opacity: 0;
    transition: opacity 0.3s;
}

.blur-load.loaded img {
    opacity: 1;
}

.blur-load::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(15px);
    transform: scale(1.1);
}

.blur-load.loaded::before {
    opacity: 0;
}

/* Progressive JPEG support */
.progressive-image {
    filter: blur(5px);
    transition: filter 0.3s;
}

.progressive-image.loaded {
    filter: blur(0);
}

/* ===== 7/8 : hamburger.css ===== */
/* ===== Hamburger Menu Styles (mobile-first, modern & accessible) ===== */

/* Reset */
.nav-drawer, .menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-list li { margin: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: #ffffff;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: #111;
  font-size: 1.25rem;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.8; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-action {
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.header-action:hover {
  transform: scale(1.1);
  color: #F3B2C8;
  background: rgba(243, 178, 200, 0.1);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #F3B2C8;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  position: absolute;
  top: -2px;
  right: -2px;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  pointer-events: none;
  z-index: 1;
}

/* Hamburger Button */
.hamburger {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hamburger:hover {
  background: rgba(243, 178, 200, 0.1);
}
.hamburger:focus-visible {
  outline: 2px solid #F3B2C8;
  outline-offset: 2px;
}

.hamburger-box {
  position: absolute;
  inset: 10px;
  display: block;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #111;
  position: absolute;
  left: 0;
  border-radius: 2px;
  transition: transform 300ms cubic-bezier(.22,.61,.36,1),
              opacity 300ms ease,
              background-color 300ms ease;
}
.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-inner::before {
  content: "";
  top: -8px;
}
.hamburger-inner::after {
  content: "";
  top: 8px;
}

/* Hamburger Active State */
.hamburger[aria-expanded="true"] .hamburger-inner {
  transform: rotate(45deg);
  background-color: #F3B2C8;
}
.hamburger[aria-expanded="true"] .hamburger-inner::before {
  transform: rotate(90deg) translateX(-8px);
  background-color: #F3B2C8;
}
.hamburger[aria-expanded="true"] .hamburger-inner::after {
  opacity: 0;
}

/* Navigation Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  height: 100vh; /* Fallback */
  width: min(85vw, 380px);
  transform: translateX(100%);
  transition: transform 340ms cubic-bezier(.22,.61,.36,1);
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,.12);
  padding: 4rem 1.5rem 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 10000;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer.open {
  transform: translateX(0%);
}

/* Menu List */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-list a {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.menu-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #F3B2C8;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.menu-list a:hover,
.menu-list a:focus {
  background: rgba(243, 178, 200, 0.1);
  color: #F3B2C8;
  outline: none;
  padding-left: 1.5rem;
}

.menu-list a:hover::before,
.menu-list a:focus::before {
  transform: scaleY(1);
}

.menu-list a:active {
  background: rgba(243, 178, 200, 0.2);
  transform: scale(0.98);
}

/* Current Menu Item */
.menu-list .current-menu-item a,
.menu-list .current_page_item a {
  background: rgba(243, 178, 200, 0.15);
  color: #F3B2C8;
  font-weight: 700;
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9999;
  animation: fadeIn 300ms ease;
  cursor: pointer;
}
.nav-overlay[hidden] {
  display: none;
}

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

/* Prevent Body Scroll When Menu Open */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Desktop Styles */
@media (min-width: 992px) {
  .hamburger {
    display: none;
  }

  .nav-overlay {
    display: none !important;
  }

  .nav-drawer {
    position: static;
    transform: none;
    box-shadow: none;
    height: auto;
    width: auto;
    padding: 0;
    background: transparent;
    overflow-y: visible;
  }

  .menu-list {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
  }

  .menu-list a {
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
  }

  .menu-list a::before {
    display: none;
  }

  .menu-list a:hover,
  .menu-list a:focus {
    padding-left: 1rem;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-drawer {
    width: min(70vw, 320px);
  }
}

/* Optional Dark Mode */
@media (prefers-color-scheme: dark) {
  .site-header,
  .header-bar {
    background: #0f0f10;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
  }

  .brand,
  .header-action {
    color: #eee;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    background: #eee;
  }

  .hamburger[aria-expanded="true"] .hamburger-inner,
  .hamburger[aria-expanded="true"] .hamburger-inner::before {
    background: #F3B2C8;
  }

  .nav-drawer {
    background: #151517;
    color: #eee;
    box-shadow: -10px 0 40px rgba(0,0,0,.5);
  }

  .menu-list a {
    color: #eee;
  }

  .menu-list a:hover,
  .menu-list a:focus {
    background: rgba(243, 178, 200, 0.15);
  }

  .menu-list .current-menu-item a,
  .menu-list .current_page_item a {
    background: rgba(243, 178, 200, 0.2);
  }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after,
  .nav-drawer,
  .menu-list a,
  .header-action,
  .brand {
    transition: none;
  }

  .nav-overlay {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .hamburger,
  .nav-overlay {
    display: none !important;
  }

  .nav-drawer {
    position: static;
    transform: none;
    box-shadow: none;
  }
}

/* ===== 8/8 : woo-responsive-override.css ===== */
/* WooCommerce responsive override
   Chargé après les styles existants pour garantir l'affichage correct
   sur les pages catégories produits (grid responsive, images, buttons)
*/

/* Conteneur produits - forcer une grille moderne (sélecteurs fortement spécifiques) */
body.woocommerce .site-main .container .woocommerce ul.products,
body.woocommerce .site-main .container .woocommerce-page ul.products,
body.woocommerce .site-main .container .woocommerce .products,
body.woocommerce .site-main .container ul.products,
body.woocommerce .site-main .container .products-grid-responsive,
.woocommerce.woocommerce-page .site-main .container ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Cartes produits : layout en colonne pour garder les actions en bas */
body.woocommerce .site-main .container .woocommerce ul.products li.product,
body.woocommerce .site-main .container .woocommerce-page ul.products li.product,
body.woocommerce .site-main .container li.product,
body.woocommerce .site-main .container .product,
.woocommerce.woocommerce-page .site-main .container li.product,
li.product,
.product {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    height: 100% !important;
}

/* Image container responsive : aspect ratio pour éviter hauteurs fixes */
body.woocommerce .site-main .container .woocommerce ul.products li.product .woocommerce-loop-product__link,
body.woocommerce .site-main .container .woocommerce ul.products li.product a:first-child,
body.woocommerce .site-main .container li.product .woocommerce-loop-product__link,
body.woocommerce .site-main .container li.product a:first-child,
li.product .woocommerce-loop-product__link,
li.product a:first-child,
.product-image-responsive {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    aspect-ratio: 4/3 !important;
    height: auto !important;
}

.woocommerce.woocommerce-page .site-main .container ul.products li.product img,
body.woocommerce .site-main .container li.product img,
.woocommerce ul.products li.product img,
li.product img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    background: #f8f9fa !important;
}

/* Titre / prix / boutons */
.woocommerce.woocommerce-page .site-main .container ul.products li.product .woocommerce-loop-product__title,
body.woocommerce .site-main .container li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
li.product .woocommerce-loop-product__title {
    padding: 12px 14px 6px !important;
    text-align: center !important;
}

.woocommerce.woocommerce-page .site-main .container ul.products li.product .price,
body.woocommerce .site-main .container li.product .price,
.woocommerce ul.products li.product .price,
li.product .price {
    padding: 0 14px 10px !important;
    text-align: center !important;
}

body.woocommerce .site-main .container .woocommerce ul.products li.product .button,
body.woocommerce .site-main .container .woocommerce ul.products li.product .add_to_cart_button,
body.woocommerce .site-main .container li.product .button,
body.woocommerce .site-main .container li.product .add_to_cart_button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
li.product .button,
li.product .add_to_cart_button {
    margin: 12px auto 16px !important;
    margin-top: auto !important; /* pousse le bouton vers le bas */
    display: block !important;
    width: calc(100% - 28px) !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* Breakpoints spécifiques (complémentaires) */
@media (max-width: 420px) {
    .woocommerce ul.products,
    .products-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 12px !important;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__link {
        aspect-ratio: 16/10 !important;
    }

    /* Centrage mobile pour images */
    .product-image-responsive {
        height: 300px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .product-image-responsive img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    /* Centrage mobile pour boutons */
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .add_to_cart_button,
    li.product .button,
    li.product .add_to_cart_button,
    .add-to-cart {
        margin: 12px auto 16px !important;
        width: calc(100% - 28px) !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Conteneur actions mobile */
    .product-actions-responsive {
        width: 100% !important;
        text-align: center !important;
    }
}

@media (min-width: 421px) and (max-width: 767px) {
    .woocommerce ul.products,
    .products-grid-responsive {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 0 12px !important;
    }

    /* Centrage tablet pour images */
    .product-image-responsive {
        height: 350px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    /* Centrage tablet pour boutons */
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .add_to_cart_button,
    li.product .button,
    li.product .add_to_cart_button,
    .add-to-cart {
        margin: 12px auto 16px !important;
        width: calc(100% - 28px) !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Fin du fichier d'override */

/* ========================================================================
   CARTES PRODUITS FRONT-PAGE (product-card-responsive)
   ======================================================================== */

.product-card-responsive {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-image-responsive {
    position: relative !important;
    height: 400px !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.product-image-responsive img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

/* Responsive adjustments for product images */
@media (max-width: 768px) {
    .product-image-responsive {
        height: 350px !important;
    }
}

@media (max-width: 480px) {
    .product-image-responsive {
        height: 300px !important;
    }
}

/* ========================================================================
   GRILLE RESPONSIVE POUR products-grid-responsive
   ======================================================================== */

/* Responsive pour la grille - Identique front-page */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid-responsive {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 768px) {
    .products-grid-responsive {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .products-grid-responsive {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* Forcer le style des images dans la grille */
.products-grid-responsive .product-image-responsive {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa !important;
}

.products-grid-responsive .product-image-responsive img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    pointer-events: none !important;
}

/* Supprimer les styles WooCommerce par défaut dans products-grid-responsive */
.products-grid-responsive.woocommerce ul.products,
.products-grid-responsive {
    display: grid !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.products-grid-responsive .woocommerce ul.products li.product,
.products-grid-responsive li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    clear: none !important;
}
