/* =====================================================
MARKETPLACE HOMEPAGE HERO
===================================================== */

.marketplace-hero{

    position:relative;

    overflow:hidden;

    padding:64px 0 58px;

    background:
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-dark) 100%
        );

    color:#ffffff;

}


/* =====================================================
BACKGROUND DETAIL
===================================================== */

.marketplace-hero .hero-bg{

    position:absolute;

    top:-180px;

    right:-130px;

    width:520px;

    height:520px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(76,132,20,.28) 0%,
            rgba(76,132,20,0) 70%
        );

    pointer-events:none;

}


.hero-container{

    position:relative;

    z-index:2;

}


/* =====================================================
HERO CONTENT
===================================================== */

.marketplace-hero-content{

    max-width:850px;

    margin:0 auto;

    text-align:center;

}


/* =====================================================
EYEBROW
===================================================== */

.hero-eyebrow{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-bottom:16px;

    padding:7px 13px;

    border:1px solid rgba(255,255,255,.12);

    border-radius:6px;

    background:rgba(255,255,255,.06);

    color:#dbe4f0;

    font-size:11px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}


/* =====================================================
TITLE
===================================================== */

.marketplace-hero h1{

    max-width:820px;

    margin:0 auto;

    color:#ffffff;

    font-size:46px;

    font-weight:800;

    line-height:1.15;

    letter-spacing:-.5px;

}


/* =====================================================
DESCRIPTION
===================================================== */

.marketplace-hero .hero-text{

    max-width:690px;

    margin:18px auto 0;

    color:#cbd5e1;

    font-size:15px;

    line-height:1.7;

}


/* =====================================================
SEARCH
===================================================== */

.home-marketplace-search{

    display:grid;

    grid-template-columns:minmax(0,1fr) auto;

    max-width:720px;

    margin:30px auto 0;

    padding:5px;

    border:1px solid rgba(255,255,255,.12);

    border-radius:10px;

    background:#ffffff;

    box-shadow:
        0 14px 32px
        rgba(0,0,0,.18);

}


.home-search-field{

    display:flex;

    align-items:center;

    min-width:0;

}


.home-search-field i{

    flex-shrink:0;

    margin-left:15px;

    color:#94a3b8;

    font-size:14px;

}


.home-search-field input{

    width:100%;

    min-width:0;

    height:46px;

    padding:0 14px;

    border:0;

    background:transparent;

    color:var(--navy);

    font-size:13px;

    outline:none;

}


.home-search-field input::placeholder{

    color:#94a3b8;

}


.home-search-button{

    min-width:100px;

    padding:0 20px;

    border:0;

    border-radius:7px;

    background:var(--green);

    color:#ffffff;

    font-size:13px;

    font-weight:700;

    cursor:pointer;

    transition:
        background .2s ease,
        box-shadow .2s ease;

}


.home-search-button:hover{

    background:var(--green-dark);

    box-shadow:
        0 4px 10px
        rgba(76,132,20,.18);

}


/* =====================================================
POPULAR SEARCHES
===================================================== */

.home-popular-searches{

    display:flex;

    align-items:center;

    justify-content:center;

    flex-wrap:wrap;

    gap:6px 12px;

    margin-top:13px;

    color:#94a3b8;

    font-size:11px;

}


.home-popular-searches span{

    color:#cbd5e1;

    font-weight:600;

}


.home-popular-searches a{

    color:#aeb9c8;

    text-decoration:none;

    transition:color .2s ease;

}


.home-popular-searches a:hover{

    color:var(--green);

}


/* =====================================================
HERO ACTIONS
===================================================== */

.marketplace-hero .hero-actions{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin-top:24px;

}


.marketplace-hero
.hero-actions
.btn + .btn{

    margin-left:0;

}


.marketplace-hero
.hero-actions
.btn{

    min-width:140px;

    padding:10px 18px;

    font-size:12px;

}


.marketplace-hero
.hero-actions
.btn-outline{

    border:1px solid rgba(255,255,255,.35);

    background:transparent;

    color:#ffffff;

}


.marketplace-hero
.hero-actions
.btn-outline:hover{

    border-color:var(--green);

    background:var(--green);

}


/* =====================================================
TRUST LINE
===================================================== */

.marketplace-hero .hero-trust{

    display:flex;

    align-items:center;

    justify-content:center;

    flex-wrap:wrap;

    margin-top:22px;

    color:#94a3b8;

    font-size:11px;

    font-weight:600;

}


.marketplace-hero
.hero-trust span{

    position:relative;

    margin-right:14px;

    padding-right:14px;

}


.marketplace-hero
.hero-trust span:not(:last-child)::after{

    content:"";

    position:absolute;

    top:50%;

    right:0;

    width:3px;

    height:3px;

    border-radius:50%;

    background:var(--green);

    transform:translateY(-50%);

}


/* =====================================================
TABLET
===================================================== */

@media(max-width:800px){

    .marketplace-hero{

        padding:52px 0 48px;

    }


    .marketplace-hero h1{

        font-size:38px;

    }


    .marketplace-hero .hero-text{

        font-size:14px;

    }

}


/* =====================================================
MOBILE
===================================================== */

@media(max-width:600px){

    .marketplace-hero{

        padding:42px 0 38px;

    }


    .hero-eyebrow{

        margin-bottom:13px;

        font-size:9px;

    }


    .marketplace-hero h1{

        font-size:31px;

    }


    .marketplace-hero .hero-text{

        margin-top:14px;

        font-size:13px;

        line-height:1.65;

    }


    .home-marketplace-search{

        grid-template-columns:1fr;

        gap:5px;

        margin-top:24px;

    }


    .home-search-button{

        min-height:42px;

    }


    .home-popular-searches{

        margin-top:12px;

        line-height:1.5;

    }


    .marketplace-hero .hero-actions{

        flex-direction:column;

        align-items:stretch;

        gap:8px;

        margin-top:20px;

    }


    .marketplace-hero
    .hero-actions
    .btn{

        width:100%;

    }


    .marketplace-hero .hero-trust{

        margin-top:18px;

        font-size:10px;

        line-height:1.6;

    }

}

/* =====================================================
HOME SECTION SPACING
===================================================== */

.home-industries-section{

    padding:38px 0 40px;

    background:#f8fafc;

}


.home-products-section{

    padding:36px 0 40px;

    background:#ffffff;

}


/* =====================================================
GENERAL SECTION HEADER
USED FOR INDUSTRIES
===================================================== */

.home-section-header{

    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    gap:24px;

    margin-bottom:18px;

}


.home-section-header > div{

    max-width:680px;

}


.home-section-header h2{

    margin:0;

    color:var(--navy);

    font-size:25px;

    font-weight:800;

    line-height:1.25;

}


.home-section-header p{

    margin:5px 0 0;

    color:#64748b;

    font-size:12px;

    line-height:1.55;

}


/* =====================================================
COMPACT PRODUCT SECTION HEADER
===================================================== */

.home-product-section-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    margin-bottom:16px;

}


.home-product-section-header h2{

    margin:0;

    color:var(--navy);

    font-size:21px;

    font-weight:800;

    line-height:1.3;

}


/* =====================================================
SECTION LINK
===================================================== */

.home-section-link{

    display:inline-flex;

    align-items:center;

    gap:7px;

    flex-shrink:0;

    color:var(--green);

    font-size:12px;

    font-weight:700;

    text-decoration:none;

}


.home-section-link i{

    font-size:10px;

    transition:transform .2s ease;

}


.home-section-link:hover i{

    transform:translateX(3px);

}


/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:600px){

    .home-industries-section{

        padding:32px 0 34px;

    }


    .home-products-section{

        padding:30px 0 34px;

    }


    .home-section-header{

        align-items:flex-start;

        flex-direction:column;

        gap:9px;

        margin-bottom:16px;

    }


    .home-section-header h2{

        font-size:23px;

    }


    .home-product-section-header{

        gap:14px;

        margin-bottom:14px;

    }


    .home-product-section-header h2{

        font-size:19px;

    }

}
/* =====================================================
INDUSTRY GRID
===================================================== */

.home-industries-grid{

    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:14px;

}


/* =====================================================
INDUSTRY CARD
===================================================== */

.home-industry-card{

    position:relative;

    display:flex;

    flex-direction:column;

    min-height:185px;

    padding:20px;

    border:1px solid #e5e7eb;

    border-radius:10px;

    background:#ffffff;

    color:inherit;

    text-decoration:none;

    overflow:hidden;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;

}


.home-industry-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:4px;

    height:100%;

    background:var(--green);

    transform:scaleY(0);

    transform-origin:bottom;

    transition:transform .25s ease;

}


.home-industry-card:hover{

    transform:translateY(-3px);

    border-color:#d8e5ce;

    box-shadow:
        0 10px 24px
        rgba(15,23,42,.06);

}


.home-industry-card:hover::before{

    transform:scaleY(1);

}


/* =====================================================
INDUSTRY ICON
===================================================== */

.home-industry-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:38px;

    height:38px;

    margin-bottom:16px;

    border-radius:8px;

    background:#eef5e8;

    color:var(--green);

    font-size:15px;

}


/* =====================================================
INDUSTRY CONTENT
===================================================== */

.home-industry-card h3{

    margin:0 0 7px;

    color:var(--navy);

    font-size:16px;

    font-weight:700;

    line-height:1.35;

}


.home-industry-card p{

    margin:0;

    color:#64748b;

    font-size:12px;

    line-height:1.55;

}


/* =====================================================
INDUSTRY CARD ACTION
===================================================== */

.home-industry-card-action{

    display:flex;

    align-items:center;

    gap:7px;

    margin-top:auto;

    padding-top:16px;

    color:var(--green);

    font-size:11px;

    font-weight:700;

}


.home-industry-card-action i{

    font-size:9px;

    transition:transform .2s ease;

}


.home-industry-card:hover
.home-industry-card-action i{

    transform:translateX(3px);

}


/* =====================================================
LOADING
===================================================== */

.home-section-loading{

    grid-column:1 / -1;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:9px;

    min-height:140px;

    color:#94a3b8;

    font-size:12px;

}


/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:900px){

    .home-industries-grid{

        grid-template-columns:
            repeat(2,minmax(0,1fr));

    }

}


@media(max-width:600px){

    .home-industries-section{

        padding:40px 0 44px;

    }


    .home-section-header{

        align-items:flex-start;

        flex-direction:column;

        gap:12px;

        margin-bottom:20px;

    }


    .home-section-header h2{

        font-size:24px;

    }


    .home-industries-grid{

        grid-template-columns:1fr;

        gap:10px;

    }


    .home-industry-card{

        min-height:160px;

        padding:18px;

    }

}

/* =====================================================
HOME PRODUCT SECTIONS
===================================================== */

.home-products-section{

    padding:52px 0 58px;

    background:#ffffff;

}


.home-featured-products{

    border-top:1px solid #eef2f7;

}


/* =====================================================
HOME PRODUCT GRID
===================================================== */

.home-product-grid{

    display:grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap:14px;

}


/* =====================================================
PRODUCT CARD
SAME MARKETPLACE DESIGN
===================================================== */

.home-product-grid .product-card{

    display:flex;

    flex-direction:column;

    height:100%;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:12px;

    overflow:hidden;

    transition:.3s;

}


.home-product-grid .product-card:hover{

    transform:translateY(-4px);

    box-shadow:0 14px 28px rgba(0,0,0,.07);

}


/* IMAGE */

.home-product-grid .product-image{

    position:relative;

    aspect-ratio:4/3;

    overflow:hidden;

    flex-shrink:0;

}


.home-product-grid .product-main-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:0;

    transition:
        opacity .35s ease,
        transform .35s ease;

}


.home-product-grid .product-main-image.active{

    opacity:1;

}


.home-product-grid
.product-card:hover
.product-main-image.active{

    transform:scale(1.04);

}

/* =====================================================
HOME PRODUCT IMAGE SLIDER
===================================================== */

.home-product-grid .image-prev,
.home-product-grid .image-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    display:flex;

    align-items:center;

    justify-content:center;

    width:32px;

    height:32px;

    padding:0;

    border:0;

    border-radius:50%;

    background:rgba(12,18,36,.45);

    backdrop-filter:blur(4px);

    color:#ffffff;

    font-size:16px;

    cursor:pointer;

    opacity:0;

    transition:
        opacity .2s ease,
        background .2s ease;

    z-index:8;

}


.home-product-grid .image-prev{

    left:12px;

}


.home-product-grid .image-next{

    right:12px;

}


.home-product-grid
.product-card:hover
.image-prev,

.home-product-grid
.product-card:hover
.image-next{

    opacity:1;

}


.home-product-grid .image-prev:hover,
.home-product-grid .image-next:hover{

    background:rgba(12,18,36,.70);

}


/* =====================================================
IMAGE DOTS
===================================================== */

.home-product-grid .image-dots{

    position:absolute;

    bottom:12px;

    left:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:7px;

    transform:translateX(-50%);

    z-index:8;

}


.home-product-grid .image-dots span{

    display:block;

    width:8px;

    height:8px;

    border:1px solid rgba(255,255,255,.8);

    border-radius:50%;

    background:rgba(12,18,36,.35);

    cursor:pointer;

    transition:
        background .2s ease,
        border-color .2s ease;

}


.home-product-grid .image-dots span.active{

    background:var(--green);

    border-color:var(--green);

}


/* =====================================================
MOBILE SLIDER CONTROLS
===================================================== */

@media(max-width:768px){

    .home-product-grid .image-prev,
    .home-product-grid .image-next{

        width:30px;

        height:30px;

        font-size:14px;

        opacity:1;

    }


    .home-product-grid .image-prev{

        left:9px;

    }


    .home-product-grid .image-next{

        right:9px;

    }


    .home-product-grid .image-dots{

        bottom:9px;

        gap:6px;

    }


    .home-product-grid .image-dots span{

        width:7px;

        height:7px;

    }

}


/* FAVORITE */

.home-product-grid .favorite-btn{

    position:absolute;

    top:12px;

    right:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    width:36px;

    height:36px;

    border:0;

    border-radius:50%;

    background:#ffffff;

    color:#64748b;

    font-size:16px;

    cursor:pointer;

    box-shadow:0 4px 12px rgba(0,0,0,.12);

    z-index:10;

}


.home-product-grid .favorite-btn:hover,
.home-product-grid .favorite-btn.active{

    color:#e11d48;

}


/* CONTENT */

.home-product-grid .product-info{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:17px 18px 18px;

}


.home-product-grid .product-title{

    margin:0 0 7px;

    color:var(--navy);

    font-size:16px;

    font-weight:700;

    line-height:1.35;

}


.home-product-grid .product-description{

    margin:0 0 14px;

    color:#64748b;

    font-size:13px;

    line-height:1.5;

}


.home-product-grid .inquiry-btn{

    width:100%;

    margin-top:auto;

}


/* BADGES */

.home-product-grid .product-badges{

    position:absolute;

    top:12px;

    left:0;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:5px;

    z-index:10;

}


.home-product-grid .badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:25px;

    padding:5px 10px 5px 12px;

    border-radius:0 4px 4px 0;

    color:#ffffff;

    font-size:10px;

    font-weight:700;

    line-height:1;

    letter-spacing:.3px;

    text-transform:uppercase;

}


.home-product-grid .sponsored-badge{

    background:#d97706;

}


.home-product-grid .featured-badge{

    background:var(--green);

}


/* =====================================================
HOME PRODUCT RESPONSIVE
===================================================== */

@media(max-width:1000px){

    .home-product-grid{

        grid-template-columns:
            repeat(3,minmax(0,1fr));

    }

}


@media(max-width:760px){

    .home-product-grid{

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:12px;

    }

}


@media(max-width:520px){

    .home-products-section{

        padding:40px 0 44px;

    }


    .home-product-grid{

        grid-template-columns:1fr;

    }

}


/* =====================================================
RECENTLY ADDED PRODUCTS
===================================================== */

.home-recent-products{

    background:#f8fafc;

    border-top:1px solid #eef2f7;

}


/* =====================================================
MARKETPLACE HOME — COMPACT SECTION RHYTHM
===================================================== */

.marketplace-hero{
    padding:48px 0 43px;
}

.hero-eyebrow{
    margin-bottom:11px;
}

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

.marketplace-hero .hero-text{
    margin-top:12px;
}

.home-marketplace-search{
    margin-top:22px;
}

.marketplace-hero .hero-actions{
    margin-top:18px;
}

.marketplace-hero .hero-trust{
    margin-top:16px;
}

.home-industries-section{
    padding:30px 0 32px;
}

.home-products-section{
    padding:28px 0 32px;
}

.home-section-header,
.home-product-section-header{
    margin-bottom:13px;
}

.home-industries-grid,
.home-product-grid{
    gap:12px;
}

.home-industry-card{
    min-height:164px;
    padding:17px;
}

.home-industry-icon{
    width:35px;
    height:35px;
    margin-bottom:12px;
}

.home-industry-card-action{
    padding-top:11px;
}

@media(max-width:600px){
    .marketplace-hero{
        padding:38px 0 36px;
    }

    .marketplace-hero h1{
        font-size:34px;
    }

    .home-industries-section,
    .home-products-section{
        padding:25px 0 28px;
    }

    .home-section-header,
    .home-product-section-header{
        margin-bottom:12px;
    }
}

