/* ==========================================================
   ENTERPRISE PRODUCT DISCOVERY CONSOLE
========================================================== */

.product-discovery-console{

    background:#ffffff;

    border:1px solid #dbe4ef;

    border-radius:16px;

    padding:16px;

    margin-bottom:16px;

    box-shadow:
        0 4px 12px rgba(15,23,42,.05);

}

/* ===========================
   SEARCH TOOLBAR
=========================== */

.product-toolbar{

    display:flex;

    align-items:center;

    width:100%;

    height:56px;

    margin:0;

    background:#ffffff;

    border:1px solid #d7dee8;

    border-radius:10px;

    overflow:hidden;

    box-shadow:
        0 1px 3px rgba(15,23,42,.05);

}

.filter-toggle{

    width:56px;

    flex:0 0 56px;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#ffffff;

    border:none;

    border-right:1px solid #e5e7eb;

    color:#475569;

    font-size:18px;

    cursor:pointer;

    transition:.2s;

}

.filter-toggle:hover{

    background:#f8fafc;

    color:#2563eb;

}

.filter-toggle.active{

    background:#eff6ff;

    color:#2563eb;

}

.product-controls{

    flex:1;

    position:relative;

}

.product-controls input{

    width:100%;

    height:100%;

    border:none;

    outline:none;

    background:transparent;

    padding:0 18px;

    font-size:15px;

    font-weight:500;

    color:#0f172a;

    line-height:56px;

}

.product-controls input::placeholder{

    color:#94a3b8;

    font-weight:400;

}

.product-toolbar:focus-within{

    border-color:#2563eb;

    box-shadow:

        0 0 0 3px rgba(37,99,235,.10);

}

.product-controls input:focus{

    outline:none;

    border-color:#2563eb;

}

/* ===========================
   FILTER PANEL
=========================== */

.filter-panel{

    display:none;

    margin-top:20px;

    padding-top:22px;

    border-top:1px solid #e2e8f0;

}

.filter-panel.active{

    display:block;

}

.filter-row{

    display:grid;

    grid-template-columns:170px 1fr;

    align-items:start;

    gap:20px;

    padding:16px 0;

    border-bottom:1px solid #f1f5f9;

}

.filter-row:last-child{

    border-bottom:none;

}

.filter-label{

    font-size:12px;

    font-weight:700;

    letter-spacing:1px;

    color:#64748b;

}

.filter-ribbon{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

/* ===========================
   FILTER CHIPS
=========================== */

.filter-chip{

    padding:9px 16px;

    border-radius:999px;

    border:1px solid #dbe4ef;

    background:#ffffff;

    color:#334155;

    font-size:14px;

    cursor:pointer;

    transition:.2s;

}

.filter-chip:hover{

    background:#eff6ff;

    border-color:#2563eb;

    color:#2563eb;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

.filter-row{

    grid-template-columns:1fr;

    gap:10px;

}

.filter-label{

    margin-bottom:6px;

}

}
.product-price{

    text-align:right;

    margin-top:8px;

    margin-bottom:8px;

}

.offer-price{

    font-size:22px;

    font-weight:700;

    color:#16a34a;

    line-height:1.1;

}

.mrp-price{

    font-size:13px;

    color:#dc2626;

    text-decoration:line-through;

}

.discount{

    color:#16a34a;

    font-weight:600;

}

.normal-price{

    color:#111827;

    font-size:22px;

    font-weight:700;

}

/* ==========================================================
   PRODUCT GRID (V1 STABLE)
========================================================== */

.product-grid{

    display:grid;

    grid-template-columns:
        repeat(5,minmax(0,1fr));

    gap:24px;

    margin-top:12px;

}

@media(max-width:1400px){

.product-grid{

    grid-template-columns:
        repeat(4,minmax(0,1fr));

}

}

@media(max-width:1200px){

.product-grid{

    grid-template-columns:
        repeat(3,minmax(0,1fr));

}

}

@media(max-width:900px){

.product-grid{

    grid-template-columns:
        repeat(2,minmax(0,1fr));

}

}

@media(max-width:768px){

.product-grid{

    grid-template-columns:1fr;

}

}

.product-colors.empty{

    width:24px;

    height:12px;

    flex-shrink:0;

}

/* ==========================================================
   PRODUCT EXPANSION
========================================================== */

.expand-section h4{

    margin-bottom:12px;

    font-size:15px;

    font-weight:700;

    color:#0f172a;

}

.spec-table{

    width:100%;

    border-collapse:collapse;

}

.spec-table td{

    padding:10px 0;

    border-bottom:1px solid #edf2f7;

    vertical-align:top;

}

.spec-table td:first-child{

    width:42%;

    color:#64748b;

    font-weight:600;

}

.spec-table td:last-child{

    color:#0f172a;

    font-weight:500;

}

.feature-list{

    margin:0;

    padding-left:18px;

}

.feature-list li{

    margin-bottom:8px;

    color:#334155;

}

.available-services{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.service-options{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.service-option{

    padding:10px 18px;

    border:1px solid #dbe4ef;

    border-radius:999px;

    background:#fff;

    cursor:pointer;

    transition:.2s;

}

.service-option.active{

    background:#2563eb;

    color:#fff;

    border-color:#2563eb;

}

.expand-footer{

    margin-top:24px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.quote-btn{

    padding:12px 24px;

    background:#2563eb;

    color:#fff;

    border:none;

    border-radius:8px;

    cursor:pointer;

}

.collapse-btn{

    background:none;

    border:none;

    color:#64748b;

    cursor:pointer;

}

/* ==========================================================
   ENTERPRISE PRODUCT EXPAND
========================================================== */

.product-expand{

    margin-top:18px;

    padding-top:18px;

    margin-bottom:24px;

    border-top:1px solid #e2e8f0;

    animation:bstExpand .25s ease;

}

.expand-section{

    padding:12px 0;

    border-bottom:1px solid #edf2f7;

}

.expand-section:last-of-type{

    border-bottom:none;

}

.expand-section h4{

    margin:0 0 12px;

    font-size:10px;

    font-weight:700;

    color:#0f172a;

}

@keyframes bstExpand{

    from{

        opacity:0;

        transform:translateY(-8px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   SERVICE SELECTION
========================================================== */

.service-selector{

    display:flex;

    flex-direction:column;

    gap:6px;

}

.service-card{

    width:170px;

    min-height:44px;

    padding:8px 14px;

    border:1px solid #dbe4ef;

    border-radius:10px;

    background:#ffffff;

    color:#0f172a;

    font-size:14px;

    line-height:1.2;

    cursor:pointer;

    transition:.2s;

}

.service-card:hover{

    border-color:#2563eb;

    background:#eff6ff;

}

.service-card.active{

    background:#16a34a;

    border-color:#16a34a;

    color:#ffffff;

}
