/* ════════════════════════════════════════
   CATEGORY VIEW — Dark + Neon Green
════════════════════════════════════════ */
.cat-page {
    min-height: 80vh;
    background: #080b14;
    color: #e2e8f0;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    padding: 70px 0 72px;
}

/* ── Breadcrumb ── */
.cat-breadcrumb {
    padding: 12px 0;
    font-size: .9rem; color: #64748b;
    border-bottom: 1px solid rgba(26,209,118,.1);
    margin-bottom: 0;
}
.cat-breadcrumb a { color: #64748b; text-decoration: none; transition: color .2s; }
.cat-breadcrumb a:hover { color: #1ad176; }
.cat-breadcrumb .sep { margin: 0 7px; opacity: .35; }
.cat-breadcrumb .cur { color: #1ad176; font-weight: 600; }

/* ── Barre mobile (catégories) ── */
.cat-mobile-bar {
    display: none;
    background: rgba(14,18,32,.95);
    border-bottom: 1px solid rgba(26,209,118,.15);
    /*padding: 6px 20px;*/
    padding: 6px 15px 16px 15px;
    position: sticky; top: 66px; z-index: 100;
    backdrop-filter: blur(10px);
}
.bc-mobile-select{
    width: auto;
    background: rgba(26,209,118,.0); border: none;
    color: #9D00FF;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem; /*font-weight: 600;
    /*padding: 15px 14px 35px 0px; outline: none;*/
    -webkit-appearance: none; appearance: none;
    cursor: pointer;
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff9f1c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' stroke='%239D00FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");*/
    background-repeat: no-repeat; background-position: right 0px center; background-size: 16px;
}
.cat-mobile-select {
    width: 100%;
    background: rgba(26,209,118,.0); border: none;
    /*border: 1px solid rgba(26,209,118,.3);*/
    /*border-radius: 8px;*/ /*color: #1ad176;*/
    color: #9D00FF;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem; font-weight: 600;
    padding: 15px 14px 35px 0px; outline: none;
    -webkit-appearance: none; appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff9f1c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' stroke='%239D00FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");*/
    background-repeat: no-repeat; background-position: right 0px center; background-size: 16px;
}
.cat-mobile-select option { background: #0f1422; color: #e2e8f0; }

/* ── Layout ── */
.cat-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px; align-items: start;
    max-width: 1280px; margin: 0 auto; padding: 32px 24px;
}

/* ── Sidebar ── */
.cat-sidebar {
    position: sticky; top: 90px;
    background: rgba(14,18,32,.9);
    border: 1px solid rgba(26,209,118,.15);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.cat-sidebar::before {
    content: '';
    display: block; height: 2px;
    background: linear-gradient(90deg, #1ad176, rgba(26,209,118,.1));
}
.cat-sidebar-head {
    padding: 14px 18px;
    font-family: 'Syne', sans-serif;
    font-size: .82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    color: #1ad176;
    border-bottom: 1px solid rgba(26,209,118,.1);
    display: flex; align-items: center; gap: 7px;
}
.cat-list { list-style: none; padding: 8px 0; }
.cat-list li { margin: 0; }
.cat-list a {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 18px; font-size: .84rem; color: #64748b;
    text-decoration: none; transition: all .18s;
    position: relative;
}
.cat-list a::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 2px; height: 0;
    background: #1ad176; border-radius: 1px;
    transition: height .2s;
}
.cat-list a:hover { color: #e2e8f0; background: rgba(26,209,118,.05); padding-left: 22px; }
.cat-list a:hover::before { height: 60%; }
.cat-list a.active {
    color: #1ad176; font-weight: 600;
    background: rgba(26,209,118,.08);
}
.cat-list a.active::before { height: 70%; }
.cat-list a .cat-dot {
    width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,.1);
    transition: background .2s;
}
.cat-list a.active .cat-dot { background: #1ad176; box-shadow: 0 0 6px rgba(26,209,118,.6); }
.cat-list a:hover .cat-dot  { background: rgba(26,209,118,.5); }

/* Header de section */
.cat-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.cat-section-head h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 800; margin: 0;
    display: flex; align-items: center; gap: 10px;
}
.cat-section-head h1 .title-accent {
    color: #9D00FF;
}
.cat-count {
    display: inline-flex; align-items: center; gap: 5px;
    background: #c580201e;
    border: 1px solid #c5802056;
    color: #ff9f1c; font-size: .75rem; font-weight: 700;
    padding: 4px 12px; border-radius: 8px; letter-spacing: .3px;
}
.man-cat-count{
    display: none; align-items: center; gap: 5px;
    background: #c580201e;
    border: 1px solid #c5802056;
    color: #ff9f1c; font-size: .75rem; font-weight: 700;
    padding: 4px 12px; border-radius: 8px; letter-spacing: .3px;
}

/* Filtres de tri */
.cat-sort {
    display: flex; align-items: center; gap: 8px;
    font-size: .78rem; color: #64748b;
}
.cat-sort select {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px; color: #e2e8f0;
    font-family: 'DM Sans', sans-serif; font-size: .78rem;
    padding: 5px 10px; outline: none; cursor: pointer;
}

/* ── Grille produits ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* ── Card produit ── */
.cat-card {
    background: rgba(14,18,32,.9);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 5px; overflow: hidden;
    display: flex; flex-direction: column;
    text-decoration: none; color: #e2e8f0;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative; cursor: pointer;
}
.cat-card:hover {
    /*border-color: #1ad176;*/
    border-color: #CCFF00;
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(26,209,118,.18);
    color: #e2e8f0;
}
/* Badge "NEW" ou promo */
.cat-card-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: rgba(26,209,118,.9); color: #0a0f1a;
    font-size: .65rem; font-weight: 800;
    padding: 2px 8px; border-radius: 5px;
    letter-spacing: .5px; text-transform: uppercase;
}
.cat-card-badge.promo { background: rgba(239,68,68,.9); color: #fff; }

/* Image */
.cat-card-img {
    aspect-ratio: 1;
    /*background: linear-gradient(135deg, #0d1025, #1a0a40, #0d1025);*/
    background: #F4F6F8;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
    flex-shrink: 0;
}
.cat-card-img::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(26,209,118,.08) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0; transition: opacity .3s;
}
.cat-card:hover .cat-card-img::after { opacity: 1; }
.cat-card-img img {
    width: 80%; height: 80%; object-fit: contain;
    transition: transform .4s cubic-bezier(.34,1.2,.64,1);
    /*filter: drop-shadow(0 6px 16px rgba(26,209,118,.2));*/
}
.cat-card:hover .cat-card-img img { transform: scale(1.1); }

/* Infos */
.cat-card-body {
    padding: 13px 14px 14px;
    display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.cat-card-name {
    font-size: .84rem; font-weight: 700;
    line-height: 1.3; color: #e2e8f0;
}
.cat-card-sub {
    font-size: .74rem; color: #64748b; line-height: 1.3;
}
.cat-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 8px;
}
.cat-card-price {
    font-family: 'Syne', sans-serif;
    font-size: 1rem; font-weight: 800;
    color: #1ad176;
}
.cat-card-price .old {
    font-size: .72rem; color: #374151;
    text-decoration: line-through; font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    display: block; line-height: 1;
}
.cat-card-btn {
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(26,209,118,.12);
    border: 1px solid rgba(26,209,118,.25);
    display: flex; align-items: center; justify-content: center;
    color: #1ad176; font-size: .75rem;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}
.cat-card:hover .cat-card-btn {
    background: rgba(26,209,118,.25);
    transform: scale(1.08);
}

/* ── Vide / chargement ── */
.cat-empty {
    grid-column: 1 / -1;
    text-align: center; padding: 60px 20px;
    color: #64748b;
}
.cat-empty i { font-size: 3rem; display: block; margin-bottom: 16px; color: rgba(26,209,118,.3); }
.cat-empty h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: #94a3b8; }

/* ── Ligne déco bas de sidebar ── */
.cat-sidebar-footer {
    padding: 12px 18px;
    border-top: 1px solid rgba(26,209,118,.1);
    font-size: .72rem; color: #374151;
    display: flex; align-items: center; gap: 6px;
}
.cat-sidebar-footer i { color: #1ad176; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .cat-sidebar    { display: none; }
    .cat-mobile-bar { display: block; }
    .cat-layout     { grid-template-columns: 1fr; padding: 20px 16px; }
    .cat-grid       { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-page  		{ padding-top: 0px; }
    .title-accent	{ display: none; }
    .man-cat-count  { display: inline-flex; gap: 5px;}
}
@media (max-width: 420px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-card-body { padding: 10px 11px 12px; }
}