/*==================================================
    MMG FEDERATION PRODUCT STORE
    HERO • CATEGORIES • FEATURED
==================================================*/

:root{

    --primary:#0066CC;
    --primary-dark:#004A99;
    --secondary:#28B6F6;

    --light:#F4F8FC;
    --white:#ffffff;

    --text:#233044;
    --muted:#64748B;

    --border:#E7EEF7;

    --radius:22px;

    --shadow:0 12px 35px rgba(0,0,0,.08);
    --shadow-hover:0 25px 60px rgba(0,0,0,.15);

}

/*=====================================
GENERAL
=====================================*/

body{

    font-family:'Montserrat',sans-serif;
    background:var(--light);
    color:var(--text);

}

section{

    padding:90px 0;

}

.section-title{

    margin-bottom:70px;
    text-align:center;

}

.section-subtitle{

    display:inline-block;

    padding:8px 18px;

    border-radius:50px;

    background:#EAF5FF;

    color:var(--primary);

    font-size:14px;

    font-weight:700;

    margin-bottom:20px;

}

.section-title h2{

    font-size:48px;

    font-weight:800;

    letter-spacing:-1px;

    margin-bottom:15px;

}

.section-title p{

    color:var(--muted);

    font-size:18px;

}

/*=====================================
HERO
=====================================*/

.product-hero{

    position:relative;

    overflow:hidden;

    background:

    radial-gradient(circle at top right,
    rgba(255,255,255,.18),
    transparent 35%),

    linear-gradient(135deg,#0059b3,#1698ff);

    color:#fff;

    padding:130px 0;

}

.product-hero::before{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    right:-220px;

    top:-250px;

}

.product-hero::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    left:-150px;

    bottom:-180px;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 22px;

    border-radius:40px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(12px);

    font-weight:600;

}

.hero-title{

    font-size:62px;

    font-weight:800;

    line-height:1.1;

    margin:25px 0;

}

.hero-description{

    font-size:18px;

    line-height:1.9;

    max-width:560px;

    opacity:.95;

}

/* Search */

.hero-search{

    display:flex;

    align-items:center;

    overflow:hidden;

    background:#fff;

    border-radius:60px;

    margin-top:45px;

    padding:7px;

    box-shadow:0 20px 45px rgba(0,0,0,.18);

}

.hero-search input{

    flex:1;

    border:none;

    outline:none;

    padding:18px 28px;

    font-size:16px;

    background:transparent;

}

.hero-search button{

    width:62px;

    height:62px;

    border:none;

    border-radius:50%;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    font-size:20px;

    transition:.3s;

}

.hero-search button:hover{

    transform:scale(1.05);

}

/* Buttons */

.btn-shop{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 36px;

    border-radius:50px;

    background:#fff;

    color:var(--primary);

    font-weight:700;

    transition:.35s;

}

.btn-shop:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow-hover);

}

.hero-image{

    width:100%;

    animation:floatImage 4s ease-in-out infinite;

    filter:drop-shadow(0 30px 45px rgba(0,0,0,.25));

}

@keyframes floatImage{

    0%{transform:translateY(0);}
    50%{transform:translateY(-15px);}
    100%{transform:translateY(0);}

}

/* Stats */

.hero-stats{

    margin-top:60px;

}

.hero-stats h3{

    font-size:34px;

    font-weight:800;

    margin-bottom:6px;

}

.hero-stats small{

    opacity:.9;

    font-size:14px;

}

/* Floating Cards */

.hero-image-wrapper{

    position:relative;

}

.floating-card{

    position:absolute;

    background:#fff;

    color:var(--text);

    padding:15px 22px;

    border-radius:18px;

    box-shadow:var(--shadow);

    font-weight:700;

    animation:floatCard 5s ease-in-out infinite;

}

.floating-card i{

    color:var(--primary);

    margin-right:8px;

}

.card-one{

    top:40px;

    left:-30px;

}

.card-two{

    right:-20px;

    top:180px;

}

.card-three{

    bottom:30px;

    left:30px;

}

@keyframes floatCard{

    0%{transform:translateY(0);}
    50%{transform:translateY(-10px);}
    100%{transform:translateY(0);}

}

/*=====================================
CATEGORIES
=====================================*/

.categories-section{

    background:#fff;

}

.category-card{

    background:#fff;

    border-radius:22px;

    border:1px solid var(--border);

    padding:40px 25px;

    text-align:center;

    transition:.35s;

    box-shadow:var(--shadow);

    height:100%;

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

    border-color:var(--primary);

}

.category-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#EAF5FF;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--primary);

    font-size:42px;

    margin-bottom:25px;

    transition:.3s;

}

.category-card:hover .category-icon{

    background:var(--primary);

    color:#fff;

}

.category-card h5{

    font-weight:700;

    margin-bottom:10px;

}

.category-card p{

    color:var(--muted);

    font-size:14px;

}

/*=====================================
FEATURED
=====================================*/

.featured-section{

    background:var(--light);

}

.featured-section .carousel-inner{

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    box-shadow:var(--shadow-hover);

}

.featured-section .carousel-item{

    padding:70px;

}

.featured-image{

    width:100%;

    border-radius:20px;

}

.featured-badge{

    display:inline-block;

    padding:8px 18px;

    background:#EAF5FF;

    color:var(--primary);

    border-radius:40px;

    font-size:14px;

    font-weight:700;

    margin-bottom:20px;

}

.featured-section h2{

    font-size:42px;

    font-weight:800;

    margin-bottom:20px;

}

.featured-section p{

    color:var(--muted);

    line-height:1.9;

    margin-bottom:35px;

}

.carousel-control-prev,
.carousel-control-next{

    width:55px;

    height:55px;

    border-radius:50%;

    background:#fff;

    top:50%;

    transform:translateY(-50%);

    opacity:1;

    box-shadow:var(--shadow);

}

.carousel-control-prev{

    left:-25px;

}

.carousel-control-next{

    right:-25px;

}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    filter:invert(1);

}

/*=====================================
RESPONSIVE
=====================================*/

@media(max-width:991px){

.hero-title{

    font-size:46px;

}

.hero-image{

    margin-top:60px;

}

.featured-section .carousel-item{

    padding:40px;

}

}

@media(max-width:768px){

section{

    padding:70px 0;

}

.hero-title{

    font-size:36px;

}

.hero-search{

    flex-direction:column;

    border-radius:22px;

}

.hero-search button{

    width:100%;

    border-radius:16px;

    margin-top:8px;

}

.hero-search input{

    width:100%;

}

.section-title h2{

    font-size:34px;

}

.floating-card{

    display:none;

}

.carousel-control-prev,
.carousel-control-next{

    display:none;

}

.featured-section .carousel-item{

    padding:25px;

}

}

.hero-carousel{

position:relative;

padding:20px;

}

.hero-carousel .carousel-item{

text-align:center;

}

.hero-product-info{

margin-top:30px;

background:rgba(255,255,255,.12);

backdrop-filter:blur(18px);

border-radius:20px;

padding:25px;

color:white;

}

.hero-product-info span{

font-size:14px;

opacity:.8;

}

.hero-product-info h3{

font-size:32px;

font-weight:700;

margin:10px 0;

}

.hero-product-info p{

opacity:.9;

margin:0;

}

.carousel-indicators{

bottom:-45px;

}

.carousel-indicators button{

width:12px;

height:12px;

border-radius:50%;

background:white;

opacity:.5;

}

.carousel-indicators .active{

opacity:1;

transform:scale(1.3);

}
.carousel-item{
    position:relative;
    text-align:center;
}

.hero-product-wrapper{
    position:relative;
    display:inline-block;
    overflow:visible;
}

/* Shadow underneath the poster */
.hero-product-wrapper::after{
    content:"";
    position:absolute;

    left:131%;
    bottom:-1px;

    width:90%;
    height:10%;

    background:rgba(0,0,0,.30);

    transform:translateX(-130%) skewX(-35deg);

    filter:blur(3px);

    z-index:0;
}
.hero-product-image{
    position:relative;
    z-index:2;

    width:100%;
    max-width:340px;
    height:auto;
    display:block;
    margin:auto;
    object-fit:contain;

    animation:floating 5s ease-in-out infinite;
}

.modal-content{

    border:none;
    border-radius:28px;

    overflow:hidden;

}

.modal-header{

    padding:30px 35px;

    border-bottom:1px solid #edf2f7;

}

.modal-header h3{

    font-weight:700;

}

.modal-search{

    display:flex;

    align-items:center;

    background:#f5f8fb;

    border-radius:50px;

    padding:15px 22px;

}

.modal-search i{

    color:#8b98a9;

    margin-right:15px;

}

.modal-search input{

    width:100%;

    border:none;

    outline:none;

    background:none;

}

.catalog-card{

    background:#fff;

    border:1px solid #edf2f7;

    border-radius:22px;

    overflow:hidden;

    transition:.35s;

    height:100%;

}

.catalog-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.catalog-image{

    background:#f8fbff;

    padding:25px;

    height:230px;

    display:flex;

    align-items:center;

    justify-content:center;

}

.catalog-image img{

    max-height:180px;

    transition:.35s;

}

.catalog-card:hover img{

    transform:scale(1.08);

}

.catalog-body{

    padding:22px;

}

.catalog-category{

    display:inline-block;

    padding:5px 14px;

    border-radius:50px;

    background:#eaf5ff;

    color:#0066cc;

    font-size:12px;

    font-weight:700;

    margin-bottom:12px;

}

.catalog-body h5{

    font-weight:700;

    margin-bottom:12px;

}

.catalog-body p{

    color:#667085;

    font-size:14px;

    min-height:65px;

}

.catalog-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:20px;

}

.catalog-footer .btn{

    border-radius:12px;

}

.empty-products{

    text-align:center;

    padding:70px 20px;

}

.empty-products i{

    font-size:70px;

    color:#cbd5e1;

}

.empty-products h4{

    margin-top:20px;

    font-weight:700;

}

.empty-products p{

    color:#64748b;

}
