/* Mercaya Catalogo Pro v2.1 */

.mc-catalog{
    max-width:1400px;
    margin:0 auto;
    padding:42px 20px;
    font-family:inherit;
}

.mc-alert{
    max-width:900px;
    margin:30px auto;
    padding:18px 22px;
    background:#fff3f3;
    border-left:5px solid #b00020;
    border-radius:12px;
    color:#444;
}

.mc-hero{
    background:
        radial-gradient(circle at top left, rgba(176,0,32,.10), transparent 36%),
        linear-gradient(135deg,#ffffff,#f7f7f7);
    border:1px solid #eeeeee;
    border-radius:28px;
    padding:42px 24px;
    text-align:center;
    box-shadow:0 16px 38px rgba(0,0,0,.06);
    margin-bottom:48px;
}

.mc-eyebrow{
    display:inline-block;
    background:#b00020;
    color:#ffffff;
    padding:9px 17px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    margin-bottom:14px;
}

.mc-hero h1{
    font-size:38px;
    line-height:1.1;
    margin:0 0 10px;
    color:#222222;
    font-weight:900;
}

.mc-hero p{
    max-width:720px;
    margin:0 auto 22px;
    color:#666666;
    font-size:15px;
    line-height:1.65;
}

.mc-toolbar{
    display:flex;
    justify-content:center;
    align-items:center;
}

.mc-generate-btn{
    background:linear-gradient(135deg,#b00020,#850018);
    color:#ffffff;
    border:0;
    border-radius:14px;
    padding:15px 24px;
    font-weight:900;
    font-size:15px;
    cursor:pointer;
    transition:transform .22s ease, box-shadow .22s ease;
    box-shadow:0 12px 26px rgba(176,0,32,.18);
}

.mc-generate-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 34px rgba(176,0,32,.28);
}

.mc-category{
    margin-bottom:46px;
}

.mc-category-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:16px;
    margin-bottom:18px;
    padding-bottom:9px;
    border-bottom:2px solid #b00020;
}

.mc-category-label{
    display:block;
    color:#888888;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:3px;
}

.mc-category-header h2{
    margin:0;
    color:#b00020;
    font-size:22px;
    line-height:1.25;
    font-weight:900;
}

.mc-count{
    background:#f2f2f2;
    color:#555555;
    border-radius:999px;
    padding:6px 11px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.mc-products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:14px;
}

.mc-product-card{
    background:#ffffff;
    border:1px solid #f0f0f0;
    border-radius:17px;
    padding:12px;
    text-align:center;
    box-shadow:0 6px 16px rgba(0,0,0,.06);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mc-product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(0,0,0,.11);
    border-color:rgba(176,0,32,.22);
}

.mc-product-link{
    color:inherit;
    text-decoration:none;
    display:block;
}

.mc-product-image{
    height:160px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:9px;
}

.mc-product-image img,
.mc-web-img{
    max-width:130px !important;
    max-height:130px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    display:block;
}

.mc-no-image{
    width:74px;
    height:74px;
    border-radius:13px;
    background:#f3f3f3;
    color:#999999;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
}

.mc-product-card h3{
    margin:0;
    color:#333333;
    font-size:13px;
    line-height:1.35;
    font-weight:800;
}

.mc-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.58);
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.mc-modal.mc-active{
    display:flex;
}

.mc-modal-box{
    max-width:460px;
    width:100%;
    background:#ffffff;
    border-radius:26px;
    padding:34px;
    text-align:center;
    box-shadow:0 25px 80px rgba(0,0,0,.3);
}

.mc-spinner{
    width:58px;
    height:58px;
    border:6px solid #eeeeee;
    border-top-color:#b00020;
    border-radius:50%;
    margin:0 auto 18px;
    animation:mcSpin 1s linear infinite;
}

@keyframes mcSpin{
    to{transform:rotate(360deg);}
}

.mc-modal-box h2{
    margin:0 0 8px;
    color:#b00020;
    font-size:23px;
    font-weight:900;
}

.mc-modal-box p{
    margin:0 0 18px;
    color:#666666;
}

.mc-steps{
    display:grid;
    gap:8px;
    text-align:left;
    color:#555555;
    background:#f8f8f8;
    border-radius:17px;
    padding:16px;
    margin-bottom:18px;
}

.mc-progress{
    height:10px;
    border-radius:999px;
    background:#eeeeee;
    overflow:hidden;
}

.mc-progress-bar{
    height:100%;
    width:20%;
    background:#b00020;
    border-radius:999px;
    animation:mcProgress 2.2s ease-in-out infinite;
}

@keyframes mcProgress{
    0%{width:18%;}
    50%{width:74%;}
    100%{width:100%;}
}

@media(max-width:900px){
    .mc-hero h1{
        font-size:32px;
    }

    .mc-category-header{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:640px){
    .mc-catalog{
        padding:30px 14px;
    }

    .mc-hero{
        padding:34px 18px;
        border-radius:22px;
    }

    .mc-hero h1{
        font-size:28px;
    }

    .mc-products-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .mc-product-card{
        border-radius:16px;
        padding:12px;
    }

    .mc-product-image{
        height:82px;
    }

    .mc-product-image img,
    .mc-web-img{
        max-width:120px !important;
        max-height:120px !important;
    }

    .mc-product-card h3{
        font-size:11px;
    }
}


.mc-sku{
margin-top:4px;
font-size:12px;
color:#b00020;
font-weight:700;
line-height:1.2;
}
