.enc-catalogue-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'DM Mono', monospace;
}

/* --- TITRE DE SECTION --- */
.crc-section-title {
    text-align: center;
    color: #1a1a1a;
    font-size: 32px;
    margin-bottom: 40px;
    font-family: 'Impact', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- RECHERCHE PREMIUM --- */
.crc-search-area {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.crc-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}
.crc-search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    z-index: 3;
}
#crc-search-input {
    width: 100%;
    padding: 18px 25px 18px 60px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    outline: none;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-family: 'DM Mono', monospace;
}
#crc-search-input:focus {
    border-color: #1a1a1a;
}
.crc-suggestions-list {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 25px 25px;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: -15px;
    padding-top: 15px;
}
.crc-suggestion-item {
    padding: 12px 25px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s, color 0.2s;
    color: #666;
}
.crc-suggestion-item:hover {
    background: #f8fafc;
    color: #1a1a1a;
    font-weight: bold;
}

/* --- NOUVELLE GRILLE ASYMÉTRIQUE --- */
.enc-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.enc-cat-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #e8e8e8;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none !important;
    display: block;
}
.enc-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.enc-cat-card:nth-child(1) { grid-column: span 2; aspect-ratio: auto; min-height: 300px; }
.enc-cat-card:nth-child(6) { grid-column: span 2; aspect-ratio: auto; min-height: 240px; }

.enc-cat-icon-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: #f0ede8;
    transition: transform 0.4s;
}
.enc-cat-card:hover .enc-cat-icon-bg { transform: scale(1.1); }

.enc-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    box-sizing: border-box;
}
.enc-cat-name {
    font-family: 'Impact', sans-serif;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.enc-cat-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,.7);
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}
.enc-cat-arrow {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s, transform 0.25s;
}
.enc-cat-card:hover .enc-cat-arrow { opacity: 1; transform: translateY(0); }

/* --- RÉSULTATS DES PRODUITS (après clic) --- */
.enc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}
.crc-product-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.crc-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.crc-product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #f5f5f5;
}
.crc-product-card h3 {
    font-family: 'Impact', sans-serif;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.crc-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #1a1a1a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-top: auto;
}
.crc-btn:hover { background: #333; }
.crc-no-products {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 2rem;
}

/* --- BOUTON RETOUR --- */
#crc-back-to-cats {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    padding: 12px 30px;
    border-radius: 2px;
    font-family: 'Impact', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
#crc-back-to-cats:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Responsive */
@media(max-width:900px){
    .enc-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .enc-cat-card:nth-child(1), .enc-cat-card:nth-child(6) { grid-column: span 1; min-height: 180px; }
}
@media(max-width:600px){
    .enc-cat-grid { grid-template-columns: repeat(2, 1fr); }
}