
/*
Theme Name: MD Wholesale Premium
Theme URI: https://example.com/
Author: Mumtaz Deals
Author URI: https://example.com/
Description: Premium responsive wholesale catalogue theme for Mumtaz Deals.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: md-wholesale-premium
*/

:root{
    --md-primary:#111827;
    --md-secondary:#2563eb;
    --md-accent:#f59e0b;
    --md-bg:#f7f8fc;
    --md-card:#ffffff;
    --md-text:#111827;
    --md-muted:#6b7280;
    --md-border:#e5e7eb;
    --md-success:#16a34a;
    --md-radius:20px;
    --md-shadow:0 10px 35px rgba(15,23,42,.07);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--md-bg);
    color:var(--md-text);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* HEADER */

.md-header{
    background:#fff;
    border-bottom:1px solid var(--md-border);
    position:sticky;
    top:0;
    z-index:1000;
}

.md-header-inner{
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.md-logo{
    display:flex;
    align-items:center;
    gap:11px;
    font-size:23px;
    font-weight:900;
}

.md-logo-icon{
    width:42px;
    height:42px;
    border-radius:13px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    box-shadow:0 8px 20px rgba(37,99,235,.25);
}

.md-nav{
    display:flex;
    gap:25px;
    align-items:center;
}

.md-nav a{
    font-size:14px;
    font-weight:700;
    color:#4b5563;
}

.md-nav a:hover{
    color:var(--md-secondary);
}

.md-nav-btn{
    background:var(--md-primary)!important;
    color:#fff!important;
    padding:12px 18px;
    border-radius:12px;
}

/* HERO */

.md-hero{
    padding:70px 0 55px;
    background:
      radial-gradient(circle at 15% 20%,rgba(37,99,235,.12),transparent 28%),
      radial-gradient(circle at 85% 10%,rgba(124,58,237,.10),transparent 30%);
}

.md-hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:55px;
}

.md-badge{
    display:inline-flex;
    padding:8px 13px;
    border-radius:50px;
    background:#eff6ff;
    color:#2563eb;
    font-size:13px;
    font-weight:800;
    margin-bottom:17px;
}

.md-hero h1{
    font-size:clamp(38px,5vw,66px);
    line-height:1.02;
    margin:0 0 20px;
    letter-spacing:-2.5px;
}

.md-hero h1 span{
    color:#2563eb;
}

.md-hero p{
    color:var(--md-muted);
    font-size:18px;
    line-height:1.7;
    max-width:650px;
}

.md-search{
    margin-top:28px;
    background:#fff;
    border:1px solid var(--md-border);
    border-radius:17px;
    padding:7px;
    display:flex;
    box-shadow:var(--md-shadow);
}

.md-search input{
    flex:1;
    border:0;
    outline:0;
    padding:15px;
    font-size:15px;
    background:transparent;
}

.md-search button{
    border:0;
    border-radius:13px;
    padding:0 22px;
    background:var(--md-secondary);
    color:#fff;
    font-weight:800;
    cursor:pointer;
}

.md-hero-card{
    background:#fff;
    border-radius:30px;
    padding:25px;
    box-shadow:0 25px 70px rgba(15,23,42,.12);
    border:1px solid rgba(229,231,235,.8);
}

.md-hero-card img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:22px;
}

/* TRUST */

.md-trust{
    padding:20px 0 50px;
}

.md-trust-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.md-trust-item{
    background:#fff;
    border:1px solid var(--md-border);
    border-radius:17px;
    padding:20px;
    text-align:center;
}

.md-trust-item strong{
    display:block;
    font-size:15px;
    margin-top:8px;
}

.md-trust-item span{
    font-size:12px;
    color:var(--md-muted);
}

/* SECTION */

.md-section{
    padding:60px 0;
}

.md-section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:28px;
}

.md-section-head h2{
    margin:0;
    font-size:31px;
    letter-spacing:-1px;
}

.md-section-head p{
    margin:7px 0 0;
    color:var(--md-muted);
}

/* CATEGORY */

.md-categories{
    display:flex;
    gap:12px;
    overflow:auto;
    padding-bottom:10px;
}

.md-category{
    flex:0 0 auto;
    background:#fff;
    border:1px solid var(--md-border);
    padding:13px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}

.md-category.active,
.md-category:hover{
    background:var(--md-primary);
    color:#fff;
}

/* PRODUCTS */

.md-products{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.md-product{
    background:#fff;
    border:1px solid var(--md-border);
    border-radius:var(--md-radius);
    overflow:hidden;
    transition:.25s ease;
    box-shadow:0 5px 20px rgba(15,23,42,.03);
}

.md-product:hover{
    transform:translateY(-6px);
    box-shadow:var(--md-shadow);
}

.md-product-image{
    position:relative;
    background:#f3f4f6;
    aspect-ratio:1/1;
    overflow:hidden;
}

.md-product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;
}

.md-product:hover img{
    transform:scale(1.05);
}

.md-stock{
    position:absolute;
    top:13px;
    left:13px;
    background:#dcfce7;
    color:#15803d;
    padding:6px 9px;
    border-radius:8px;
    font-size:10px;
    font-weight:900;
}

.md-product-content{
    padding:17px;
}

.md-sku{
    color:#6b7280;
    font-size:11px;
    font-weight:800;
    margin-bottom:7px;
}

.md-product-title{
    font-size:15px;
    line-height:1.4;
    font-weight:800;
    margin:0 0 12px;
}

.md-price{
    font-size:21px;
    font-weight:900;
    color:#111827;
}

.md-product-button{
    width:100%;
    margin-top:14px;
    display:block;
    text-align:center;
    padding:12px;
    border-radius:11px;
    background:#111827;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

/* CTA */

.md-cta{
    padding:65px 0;
}

.md-cta-box{
    border-radius:30px;
    padding:50px;
    background:linear-gradient(135deg,#111827,#1e3a8a);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.md-cta-box h2{
    margin:0 0 10px;
    font-size:32px;
}

.md-cta-box p{
    margin:0;
    color:#dbeafe;
}

.md-cta-button{
    flex:0 0 auto;
    background:#fff;
    color:#111827;
    padding:15px 23px;
    border-radius:13px;
    font-weight:900;
}

/* FOOTER */

.md-footer{
    background:#0b1120;
    color:#fff;
    padding:45px 0;
}

.md-footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
}

.md-footer p{
    color:#9ca3af;
    line-height:1.7;
}

.md-footer h4{
    margin-top:0;
}

.md-footer a{
    color:#cbd5e1;
    display:block;
    margin:10px 0;
    font-size:14px;
}

/* MOBILE */

@media(max-width:900px){

    .md-hero-grid{
        grid-template-columns:1fr;
    }

    .md-products{
        grid-template-columns:repeat(3,1fr);
    }

    .md-trust-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .md-nav{
        display:none;
    }

    .md-footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){

    .md-header-inner{
        min-height:65px;
    }

    .md-hero{
        padding:42px 0;
    }

    .md-hero h1{
        font-size:42px;
    }

    .md-hero p{
        font-size:15px;
    }

    .md-search{
        display:block;
        padding:6px;
    }

    .md-search button{
        width:100%;
        height:48px;
    }

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

    .md-product-content{
        padding:12px;
    }

    .md-product-title{
        font-size:13px;
    }

    .md-price{
        font-size:17px;
    }

    .md-cta-box{
        padding:30px 22px;
        display:block;
    }

    .md-cta-button{
        display:inline-block;
        margin-top:22px;
    }

    .md-footer-grid{
        grid-template-columns:1fr;
    }
}
