.material-modal{

display:none;

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

z-index:10000;

}

.material-modal-overlay{

position:absolute;

width:100%;

height:100%;

background:rgba(0,0,0,.65);

}

.material-modal-box{

position:absolute;

left:50%;

top:50%;

transform:translate(-50%,-50%);

width:900px;

max-width:95%;

background:#fff;

border-radius:24px;

overflow:hidden;

box-shadow:0 25px 80px rgba(0,0,0,.25);

}

.material-modal-content{

padding:40px;

min-height:420px;

}

.material-modal-close{

position:absolute;

top:20px;

right:20px;

width:46px;

height:46px;

border:none;

border-radius:50%;

background:#f3f3f3;

font-size:28px;

cursor:pointer;

}
/*==========================================
MATERIAL POPUP
==========================================*/

.material-popup{

display:grid;

grid-template-columns:380px 1fr;

gap:40px;

align-items:start;

}

.popup-image{

background:#f8f9fb;

border-radius:18px;

padding:18px;

display:flex;

align-items:center;

justify-content:center;

min-height:250px;

}

.popup-image img{

max-height:220px;

}

.popup-info h2{

font-size:30px;

font-weight:800;

margin-bottom:15px;

color:#222;

}

.popup-info p{

font-size:15px;

line-height:1.8;

color:#666;

margin-bottom:14px;

}

.popup-info hr{

margin:20px 0;

border:none;

border-top:1px solid #ececec;

}
/*==========================================
POPUP ACTIONS
==========================================*/

.material-popup-actions{

display:flex;

gap:16px;

margin-top:30px;

flex-wrap:wrap;

}

.btn-material-view,
.btn-material-use{

flex:1;

min-width:220px;

height:54px;

border:none;

border-radius:14px;

display:flex;

align-items:center;

justify-content:center;

text-decoration:none;

font-size:15px;

font-weight:700;

cursor:pointer;

transition:.30s;

}

.btn-material-view{

background:#f4f5f7;

color:#222;

}

.btn-material-view:hover{

background:#e9ecef;

}

.btn-material-use{

background:#18b45b;

color:#fff;

}

.btn-material-use:hover{

background:#15934a;

transform:translateY(-2px);

}
/*==========================================
MATERIAL BADGES
==========================================*/

.material-badges{

display:flex;

flex-wrap:wrap;

gap:12px;

margin:24px 0;

}

.material-badges .badge{

padding:10px 16px;

border-radius:30px;

font-size:13px;

font-weight:700;

}

.badge-water{

background:#e8f6ff;

color:#1570b8;

}

.badge-heavy{

background:#eef8ef;

color:#18864a;

}

.badge-oem{

background:#fff4d8;

color:#a66a00;

}

.badge-eco{

background:#ecfff2;

color:#16863f;

}
/*==========================================
AVAILABLE COLORS
==========================================*/

.material-colors{

margin-top:30px;

}

.material-colors h3{

font-size:18px;

font-weight:700;

margin-bottom:15px;

color:#222;

}

.color-swatches{

display:flex;

gap:14px;

flex-wrap:wrap;

}

.color-swatch{

width:34px;

height:34px;

border-radius:50%;

border:2px solid #ddd;

cursor:pointer;

transition:.30s;

}

.color-swatch:hover{

transform:scale(1.15);

border-color:#18b45b;

}

.color-swatch.black{

background:#111;

}

.color-swatch.olive{

background:#556b2f;

}

.color-swatch.coyote{

background:#81613c;

}

.color-swatch.navy{

background:#0b3d91;

}

.color-swatch.gray{

background:#9da3a6;

}
/*==========================================
COMPACT META
==========================================*/

.material-meta{

display:flex;

flex-wrap:wrap;

gap:10px;

margin:18px 0;

}

.material-variant-info{

margin:16px 0;

padding:14px 16px;

background:#f6f7f9;

border-radius:8px;

}

.material-variant-info p{

margin:0 0 8px 0;

font-size:14px;

line-height:1.6;

color:#333;

}

.material-variant-info p:last-child{

margin-bottom:0;

}

.material-meta span{

background:#f6f7f9;

padding:8px 14px;

border-radius:20px;

font-size:13px;

font-weight:600;

color:#555;

}


/*==========================================
INLINE COLORS
==========================================*/

.material-colors-inline{

display:flex;

align-items:center;

gap:16px;

margin:18px 0 24px;

flex-wrap:wrap;

}

.material-colors-inline strong{

font-size:15px;

color:#333;

}
/*==========================================
ACTION BUTTONS - PREMIUM
==========================================*/

.material-popup-actions{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:16px;

    margin-top:30px;

}

.btn-material-view,
.btn-material-use{

    width:100%;
    height:56px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:14px;

    font-size:15px;
    font-weight:700;

    transition:.30s;

}

.btn-material-view:hover,
.btn-material-use:hover{

    transform:translateY(-3px);

}


/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:900px){

.material-popup{

    grid-template-columns:1fr;

}

.popup-image{

    min-height:220px;

}

.material-popup-actions{

    grid-template-columns:1fr;

}

}