/* ==========================================
   NEXORA OFFERS
   Premium Glossy Theme
========================================== */

:root{

    --navy:#0B1F3A;
    --navy-light:#163A70;
    --gold:#D4AF37;
    --gold-soft:#F5E8B5;
    --white:#FFFFFF;
    --bg:#F7F9FC;
    --text:#1D2A3A;
    --muted:#72809A;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:"Poppins",sans-serif;

    background:
    radial-gradient(circle at top,#ffffff,#F7F9FC 70%);

    color:var(--text);

    min-height:100vh;

}

.page{

    max-width:1200px;

    margin:auto;

    padding-bottom:100px;

}

/* ==========================
HERO
========================== */

.hero{

    padding:24px 18px;

}

.hero-card{

    background:
    linear-gradient(
    145deg,
    rgba(255,255,255,.96),
    rgba(247,249,252,.95)
    );

    border-radius:28px;

    padding:30px 22px;

    border:1px solid rgba(212,175,55,.25);

    box-shadow:
    0 18px 45px rgba(11,31,58,.08);

}

.hero-badge{

    display:inline-block;

    padding:7px 15px;

    background:var(--navy);

    color:white;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.hero h1{

    margin-top:18px;

    font-size:34px;

    color:var(--navy);

}

.hero p{

    margin-top:12px;

    color:var(--muted);

    line-height:1.7;

}

/* ==========================
SEARCH
========================== */

.search-section{

    padding:0 18px 24px;

}

.search-box{

    background:white;

    border-radius:18px;

    border:1px solid rgba(212,175,55,.25);

    box-shadow:
    0 10px 25px rgba(0,0,0,.06);

}

.search-box input{

    width:100%;

    border:none;

    outline:none;

    background:transparent;

    padding:18px;

    font-size:15px;

}

/* ==========================
SECTION
========================== */

.section{

    padding:0 18px;

}

.section-title{

    font-size:22px;

    color:var(--navy);

    font-weight:700;

    margin-bottom:18px;

}

/* ==========================
GRID
========================== */

.offers-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));

    gap:20px;

}

/* ==========================
CARD
========================== */

.offer-card{

    background:white;

    border-radius:24px;

    overflow:hidden;

    border:1px solid rgba(212,175,55,.18);

    box-shadow:
    0 12px 30px rgba(0,0,0,.06);

    transition:.25s;

}

.offer-card:hover{

    transform:translateY(-4px);

}

.offer-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

/* ==========================
BADGE
========================== */

.discount-badge{

    position:absolute;

    top:14px;

    right:14px;

    background:var(--gold);

    color:var(--navy);

    padding:8px 14px;

    border-radius:999px;

    font-size:11px;

    font-weight:700;

}

/* ==========================
CONTENT
========================== */

.offer-card-content{

    padding:18px;

}

.offer-card h3{

    color:var(--navy);

    font-size:20px;

    margin-bottom:12px;

}

.market{

    display:block;

    color:#9ca3af;

    text-decoration:line-through;

    font-size:14px;

}

.group{

    display:block;

    color:var(--navy);

    font-size:28px;

    font-weight:800;

    margin:8px 0 16px;

}

.offer-divider{

    height:1px;

    background:#edf2f7;

    margin:16px 0;

}

.offer-meta{

    display:flex;

    flex-direction:column;

    gap:8px;

    color:var(--muted);

    font-size:14px;

}

.offer-meta strong{

    color:var(--navy);

}

/* ==========================
BUTTON
========================== */

.view-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-top:18px;

    height:50px;

    border-radius:18px;

    background:
    linear-gradient(
    135deg,
    var(--navy),
    var(--navy-light)
    );

    color:white;

    text-decoration:none;

    font-weight:700;

}

/* ==========================
LOADING / EMPTY
========================== */

.loading-card,
.empty-state{

    grid-column:1/-1;

    background:white;

    border-radius:24px;

    padding:60px 20px;

    text-align:center;

    color:var(--muted);

    border:1px solid rgba(212,175,55,.18);

}

/* ==========================
IMAGE MODAL
========================== */

.image-modal{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.88);

    z-index:9999;

}

.image-modal img{

    max-width:92%;

    max-height:88%;

    border-radius:20px;

}

.close-modal{

    position:absolute;

    top:20px;

    right:20px;

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:white;

    color:var(--navy);

    font-size:22px;

    cursor:pointer;

}

/* ==========================
RESPONSIVE
========================== */

@media(max-width:768px){

.hero h1{

    font-size:28px;

}

.offers-grid{

    grid-template-columns:1fr;

}

.offer-card img{

    height:200px;

}

}
.hero{
    padding:24px 8px;
}

.search-section{
    padding:0 8px 24px;
}

.section{
    padding:0 8px;
}
.hero{
    padding:20px 0;
}

.search-section{
    padding:0 0 20px;
}

.section{
    padding:0;
}
.offer-card{
    position:relative;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
}
.hero{

margin:0;

padding:0;

}

.hero-card{

background:#fff;

border:none;

border-radius:0 0 28px 28px;

padding:32px 30px;

box-shadow:none;

}
/* ==========================
SEARCH
========================== */

.search-section{

padding:24px 0 36px;

}

.search-box{

height:72px;

display:flex;

align-items:center;

padding:0 24px;

background:#fff;

border:1px solid rgba(212,175,55,.18);

border-radius:22px;

box-shadow:0 12px 30px rgba(11,31,58,.06);

}

.search-box input{

width:100%;

border:none;

outline:none;

background:transparent;

font-size:18px;

color:var(--navy);

}

.search-box input::placeholder{

color:#8A94A6;

}
.action-buttons{

display:flex;
justify-content:center;
margin:20px 0 30px;

}

.premium-btn{

display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;

padding:14px 26px;

background:#0B1F4D;
color:#fff;

text-decoration:none;

font-family:'Poppins',sans-serif;
font-size:15px;
font-weight:600;

border-radius:14px;

border:2px solid #D4AF37;

box-shadow:
0 8px 20px rgba(11,31,77,.18);

transition:.25s ease;

}

.premium-btn:hover{

background:#102C6B;

transform:translateY(-2px);

box-shadow:
0 12px 28px rgba(11,31,77,.25);

}

.premium-btn:active{

transform:scale(.98);

}
.load-more-container{
    display:flex;
    justify-content:center;
    margin:32px 0;
}

#loadMoreOffers{
    min-width:220px;
}
/* =====================================================
   NEXORA COLLECTIVE DEALS
   BRIGHT TEXT OVERRIDE
===================================================== */

/* PRODUCT / OFFER NAME */
.offer-card h3{
    color:#FFFFFF !important;
    font-weight:800 !important;
    font-size:21px !important;
    line-height:1.35 !important;
}


/* OLD / MARKET PRICE */
.offer-card .market{
    color:#BFC3CC !important;
    font-size:16px !important;
    font-weight:500 !important;
    text-decoration-color:#BFC3CC !important;
}


/* MAIN GROUP BUY PRICE */
.offer-card .group{
    color:#FFB000 !important;
    font-size:30px !important;
    font-weight:900 !important;
    line-height:1.15 !important;
}


/* SAVE INFORMATION */
.offer-card .offer-meta{
    color:#E8E8EC !important;
    font-size:16px !important;
    font-weight:500 !important;
}


/* IMPORTANT META TEXT */
.offer-card .offer-meta strong{
    color:#FFD54A !important;
    font-weight:800 !important;
}


/* BUYERS JOINED */
.offer-card .buyers,
.offer-card .joined,
.offer-card [class*="buyer"]{
    color:#F5F5F7 !important;
}


/* DIVIDER */
.offer-card .offer-divider{
    background:rgba(255,255,255,.55) !important;
}


/* BUTTON */
.offer-card .view-btn{
    background:linear-gradient(
        135deg,
        #FF7A00,
        #FF9D00
    ) !important;

    color:#FFFFFF !important;

    font-size:17px !important;
    font-weight:800 !important;

    box-shadow:
        0 8px 24px rgba(255,122,0,.25) !important;
}


/* ACTIVE BADGE */
.offer-card .discount-badge{
    background:#FFD43B !important;
    color:#171717 !important;

    font-weight:900 !important;
}


/* Prevent inherited dark colours */
.offer-card-content{
    color:#FFFFFF !important;
}