/* CSS Document */


/* =====================================================
   MAHI TRENDZ Commerce Engine (MTCE)
   Version : 1.0.0
   File    : style.css
   Purpose : Global Frontend Styles
   Author  : Pankaj Kumar & ChatGPT
===================================================== */
/* Base 
@import url("variables.css");
@import url("utilities.css");
*/
/* Components 
@import url("header.css");
@import url("footer.css");
@import url("buttons.css");
@import url("cards.css");
*/
/* Pages */
@import url("shop-sidebar.css");
/*@import url("shop.css");*/
@import url("product.css");
/* ===============================
   Google Font
================================= */

:root{

    --primary:#FF6B00;
    --dark:#212529;
    --light:#F8F9FA;
    --border:#E9ECEF;
    --text:#555555;
    --white:#FFFFFF;

    --radius:12px;

    --shadow:0 5px 20px rgba(0,0,0,.08);

    --transition:.30s ease;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--white);
    color:var(--dark);
    font-size:15px;
    line-height:1.7;

}

/* ===============================
   Links
================================= */

a{

    text-decoration:none;
    transition:var(--transition);

}

a:hover{

    color:var(--primary);

}

/* ===============================
   Buttons
================================= */

.btn{

    border-radius:50px;
    transition:var(--transition);

}

.btn-dark{

    background:#111;
    border-color:#111;

}

.btn-dark:hover{

    background:var(--primary);
    border-color:var(--primary);

}

.btn-primary{

    background:var(--primary);
    border-color:var(--primary);

}

.btn-primary:hover{

    background:#e55f00;
    border-color:#e55f00;

}

/* ===============================
   Navbar
================================= */

.navbar{

    min-height:80px;

}

.navbar-brand img{

    max-height:55px;

}

.navbar-nav .nav-link{

    color:#222;
    font-weight:500;
    margin-left:10px;
    margin-right:10px;
    position:relative;

}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{

    color:var(--primary);

}

.navbar-nav .nav-link::after{

    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:var(--transition);

}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{

    width:100%;

}

/* ===============================
   Cards
================================= */

.card{

    border:none;
    border-radius:var(--radius);
    box-shadow:var(--shadow);

}

.card img{

    border-radius:var(--radius) var(--radius) 0 0;

}

/* ===============================
   Product Card
================================= */

.product-card{

    overflow:hidden;
    transition:var(--transition);

}

.product-card:hover{

    transform:translateY(-8px);

}

.product-card img{

    transition:var(--transition);

}

.product-card:hover img{

    transform:scale(1.05);

}

/* ===============================
   Sections
================================= */

section{

    padding:80px 0;

}

.section-title{

    font-size:34px;
    font-weight:700;
    margin-bottom:15px;

}

.section-subtitle{

    color:var(--text);
    margin-bottom:45px;

}

/* ===============================
   Footer
================================= */

footer a{

    color:#bbbbbb;

}

footer a:hover{

    color:#ffffff;

}

/* ===============================
   Forms
================================= */

.form-control{

    border-radius:10px;
    box-shadow:none;

}

.form-control:focus{

    border-color:var(--primary);
    box-shadow:none;

}

/* ===============================
   Badges
================================= */

.badge{

    border-radius:50px;

}

/* ===============================
   Responsive
================================= */

@media(max-width:991px){

    .navbar-nav{

        padding-top:20px;

    }

    .navbar-nav .nav-link{

        margin:10px 0;

    }

}

@media(max-width:767px){

    section{

        padding:60px 0;

    }

    .section-title{

        font-size:28px;

    }

}

/* ========================================
   BRAND HIGHLIGHTS
======================================== */

.brand-highlights{
    background:#ffffff;
}

.highlight-card{
    background:#ffffff;
    border:1px solid #efefef;
    border-radius:18px;
    padding:35px 20px;
    transition:.35s ease;
    height:100%;
}

.highlight-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.highlight-icon{
    width:72px;
    height:72px;
    margin:0 auto 20px;
    border-radius:50%;
    background:#fff5ee;
    display:flex;
    align-items:center;
    justify-content:center;
}

.highlight-icon i{
    font-size:30px;
    color:#ff6a00;
}

.highlight-card h5{
    font-size:20px;
    font-weight:700;
    color:#212529;
    margin-bottom:10px;
}

.highlight-card p{
    margin:0;
    font-size:15px;
    color:#6c757d;
    line-height:1.7;
}

.highlight-card strong{
    color:#ff6a00;
}

@media(max-width:991px){

    .highlight-card{
        padding:28px 18px;
    }

    .highlight-icon{
        width:60px;
        height:60px;
    }

    .highlight-icon i{
        font-size:24px;
    }

}

/*==================================================
SHOP BY CATEGORY
==================================================*/
.shop-category .section-desc{
    max-width:650px;
    margin:auto;
    color:#777;
    font-size:16px;
}

.shop-category{
    padding:90px 0;
    background:#fff;
}

/* Section Heading */

.section-subtitle{
    display:inline-block;
    color:#ff6a00;
    font-size:14px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:12px;
}

.section-title{
    font-size:42px;
    font-weight:700;
    color:#222;
    margin-bottom:15px;
}

.shop-category p{
    color:#777;
    font-size:16px;
}

/*=========================================
Category Card
=========================================*/

.category-card{

    display:block;

    position:relative;

    overflow:hidden;

    border-radius:2px;

    background:#fff;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:all .45s ease;

}

/* Orange Glow */

.category-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        180deg,
        rgba(255,106,0,0),
        rgba(255,106,0,.12)
    );

    opacity:0;

    transition:.45s ease;

    z-index:1;

}

/* Image */

.category-card img{

    width:100%;

    height:360px;

    object-fit:cover;

    transform:scale(1);

    filter:grayscale(0%) brightness(1);

    opacity:1;

    transition:
        transform .8s cubic-bezier(.22,.61,.36,1),
        filter .8s ease,
        opacity .6s ease;

}

/* Overlay */

.category-overlay{

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    padding:28px;

    background:linear-gradient(
        to top,
        rgba(15,15,15,.78),
        rgba(15,15,15,0)
    );

    color:#fff;

    z-index:2;

    transform:translateY(15px);

    opacity:.92;

    transition:.45s ease;

}

/* Orange Line */

.category-overlay::after{

    content:"";

    position:absolute;

    left:28px;

    bottom:18px;

    width:0;

    height:3px;

    background:#ff6a00;

    transition:.45s ease;

}

/* Heading */

.category-overlay h3{

    font-size:20px;

    font-weight:700;

    margin-bottom:10px;

    transition:.35s ease;

}

/* Explore */

.category-overlay span{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:#ffffff;

    font-size:14px;

    font-weight:500;

    transition:.35s ease;

}

.category-overlay i{

    transition:.35s ease;

}

/*=========================================
Hover Effects
=========================================*/

.category-card:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 50px rgba(0,0,0,.16);

}

.category-card:hover::before{

    opacity:1;

}

.category-card:hover img{

    transform:scale(1.10);

    filter:grayscale(80%) brightness(.78);

    opacity:.85;

}

.category-card:hover .category-overlay{

    transform:translateY(0);

    opacity:1;

}

.category-card:hover .category-overlay::after{

    width:70px;

}

.category-card:hover h3{

    letter-spacing:1px;

}

.category-card:hover span{

    color:#ff6a00;

}

.category-card:hover i{

    transform:translateX(8px);

}

/*=========================================
Responsive
=========================================*/

@media(max-width:991px){

    .category-card img{

        height:300px;

    }

}

@media(max-width:767px){

    .shop-category{

        padding:70px 0;

    }

    .section-title{

        font-size:34px;

    }

    .category-card img{

        height:250px;

    }

}
/*==================================================
NEW ARRIVALS
==================================================*/

.new-arrivals{

    padding:90px 0;

    background:#fafafa;

}

.view-all-btn{

    color:#222;

    font-weight:600;

    text-decoration:none;

    transition:.35s;

}

.view-all-btn:hover{

    color:#ff6a00;

}

.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    position:relative;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 45px rgba(0,0,0,.15);

}

.product-image{

    position:relative;

    overflow:hidden;

}

.product-image img{

    width:100%;

    height:340px;

    object-fit:cover;

    transition:.6s;

}

.product-card:hover img{

    transform:scale(1.08);

}

.product-badge{

    position:absolute;

    top:15px;

    left:15px;

    z-index:5;

    background:#ff6a00;

    color:#fff;

    padding:6px 12px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

}

.product-actions{

    position:absolute;

    right:15px;

    top:20px;

    display:flex;

    flex-direction:column;

    gap:10px;

    opacity:0;

    transform:translateX(15px);

    transition:.35s;

}

.product-card:hover .product-actions{

    opacity:1;

    transform:translateX(0);

}

.product-actions a{

    width:42px;

    height:42px;

    background:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#222;

    text-decoration:none;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

    transition:.3s;

}

.product-actions a:hover{

    background:#ff6a00;

    color:#fff;

}

.product-content{

    padding:22px;

}

.product-content h3{

    font-size:14px;

    font-weight:600;

    line-height:1.5;

    margin-bottom:15px;

    height:56px;

}

.product-rating{

    color:#ffb400;

    margin-bottom:12px;

}

.product-price{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:20px;

}

.sale-price{

    color:#ff6a00;

    font-size:16px;

    font-weight:700;

}

.old-price{

    color:#999;

    text-decoration:line-through;

}

.cart-btn{

    display:block;

    text-align:center;

    background:#222;

    color:#fff;

    padding:12px;

    border-radius:10px;

    text-decoration:none;

    transition:.35s;

}

.cart-btn:hover{

    background:#ff6a00;

    color:#fff;

}

@media(max-width:991px){

    .product-image img{

        height:300px;

    }

}

@media(max-width:767px){

    .new-arrivals{

        padding:70px 0;

    }

}

.product-badge.out-stock{

    background:#dc3545;

}

/*==================================================
Pagination
==================================================*/

.pagination{

    gap:6px;

}

.pagination .page-link{

    color:#212529;

    background:#ffffff;

    border:1px solid #dee2e6;

    border-radius:6px;

    min-width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:500;

    transition:.25s ease;

}

.pagination .page-link:hover{

    color:#ffffff;

    background:#212529;

    border-color:#212529;

}

.pagination .page-item.active .page-link{

    color:#ffffff;

    background:#212529;

    border-color:#212529;

}

.pagination .page-item.disabled .page-link{

    color:#adb5bd;

    background:#f8f9fa;

    border-color:#dee2e6;

}

.pagination .page-link:focus{

    box-shadow:none;

}
.pagination .page-link{

    border-radius:8px;

}