/* Extrait automatiquement de boutique.php */
* { box-sizing: border-box; }
        body { margin: 0; font-family: Arial, sans-serif; background: #f5f1ea; color: #2b2b2b; }

        .search-zone { background: #3e2f23; padding: 12px 16px; }
        .search-bar { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: auto auto 1fr auto auto auto; gap: 12px; align-items: center; }
        .search-form { display: block; width: 100%; }
        .search-box { width: 100%; background: #fff; border-radius: 30px; padding: 6px 8px 6px 18px; display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 10px; }
        .search-box input { border: none; outline: none; width: 100%; font-size: 15px; background: transparent; color: #333; }
        .search-box button { border: none; background: #3e2f23; color: #fff; border-radius: 22px; padding: 10px 14px; cursor: pointer; font-weight: bold; }
        .top-action, .top-select { background: #fff; color: #3e2f23; border: none; border-radius: 30px; min-height: 48px; padding: 0 16px; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-width: 120px; }
        .top-select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #3e2f23 50%), linear-gradient(135deg, #3e2f23 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
        .top-menu-button { background: rgba(0,0,0,0.55); color: #fff; border: none; border-radius: 8px; padding: 10px 12px; font-size: 22px; cursor: pointer; min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; }

        .sidebar { position: fixed; top: 0; left: -290px; width: 290px; height: 100%; background: #3e2f23; color: white; z-index: 9999; padding: 20px; transition: left 0.3s ease; overflow-y: auto; }
        .sidebar.open { left: 0; }
        .sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .sidebar-title { font-family: 'Oswald', sans-serif; font-size: 24px; }
        .close-btn { background: none; border: none; color: white; font-size: 28px; cursor: pointer; }
        .sidebar a { display: block; color: white; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-weight: bold; }
        .sidebar-group-title { margin-top: 18px; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; opacity: 0.75; letter-spacing: 1px; }
        .overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 9998; display: none; }
        .overlay.show { display: block; }

        .page-header { background: #3e2f23; color: #fff; padding: 20px; text-align: center; }
        .page-header h1 { margin: 0; font-family: 'Oswald', sans-serif; font-size: 32px; letter-spacing: 1px; }

        .cat-filter-bar { max-width: 1100px; margin: 20px auto 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
        .cat-filter-bar a { display: inline-block; background: #fff; color: #3e2f23; border: 2px solid #e9dfd2; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.15s ease; }
        .cat-filter-bar a:hover, .cat-filter-bar a.active { background: #3e2f23; color: #fff; border-color: #3e2f23; }

        .intro { max-width: 1100px; margin: 18px auto 0 auto; padding: 0 20px 10px 20px; }
        .intro h2 { margin: 0 0 6px 0; font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 800; }
        .intro p { margin: 0; font-size: 15px; color: #4b4037; line-height: 1.6; }

        .products-section { max-width: 1100px; margin: 0 auto; padding: 20px 20px 40px 20px; }
        .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

        .product-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 5px 14px rgba(0,0,0,0.08); }
        .product-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
        .product-info { padding: 14px; }
        .product-info h3 { margin: 0 0 6px 0; font-size: 17px; }
        .product-info p { margin: 0 0 10px 0; font-size: 13px; line-height: 1.5; color: #666; }
        .cat-badge { display: inline-block; background: #efe6da; color: #3e2f23; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
        .price { font-weight: bold; font-size: 18px; color: #3e2f23; margin-bottom: 10px; }

        /* Couleurs preview sur la carte */
        .card-options { margin: 8px 0 12px 0; }
        .card-options-titre { font-size: 11px; font-weight: 700; color: #3e2f23; text-transform: uppercase; margin-bottom: 5px; }
        .couleur-dots { display: flex; flex-wrap: wrap; gap: 5px; }
        .couleur-dot-sm { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #ccc; display: inline-block; flex-shrink: 0; }
        .taille-badges { display: flex; flex-wrap: wrap; gap: 5px; }
        .taille-badge-sm { background: #f5f1ea; color: #3e2f23; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }

        .buy-btn { display: inline-block; background: #3e2f23; color: #fff; text-decoration: none; padding: 11px 16px; border-radius: 24px; font-size: 14px; font-weight: bold; }
        .stock-out { display: inline-block; background: #b3261e; color: #fff; padding: 11px 16px; border-radius: 24px; font-size: 14px; font-weight: bold; }
        .empty-products { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 5px 14px rgba(0,0,0,0.08); text-align: center; font-size: 16px; color: #4b4037; }

        footer { background: #3e2f23; color: #fff; text-align: center; padding: 18px; }

        @media (max-width: 1000px) { .search-bar { grid-template-columns: 1fr 1fr; } .products-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 640px) { .search-bar { grid-template-columns: 1fr; } .products-grid { grid-template-columns: 1fr; } }