/* =====================================================
   FIRSTBID STORE
   PROFESSIONAL ECOMMERCE UI
   PART 1
===================================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
   ROOT VARIABLES
===================================================== */

:root{

    --primary:#0F172A;
    --secondary:#1E293B;

    --accent:#2563EB;
    --accent-hover:#1D4ED8;

    --success:#16A34A;

    --white:#FFFFFF;

    --light:#F8FAFC;
    --light-2:#F1F5F9;

    --border:#E2E8F0;

    --text:#0F172A;
    --muted:#64748B;

    --shadow-sm:0 2px 8px rgba(0,0,0,.05);
    --shadow-md:0 8px 25px rgba(0,0,0,.08);
    --shadow-lg:0 20px 45px rgba(0,0,0,.12);

    --radius:12px;
    --radius-lg:20px;

    --transition:all .3s ease;
}

/* =====================================================
   RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--light);

    color:var(--text);

    overflow-x:hidden;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
    margin:0;
    padding:0;
}

img{
    max-width:100%;
    display:block;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,h2,h3,h4,h5,h6{
    font-weight:700;
    color:var(--primary);
}

.section-title{

    font-size:42px;

    font-weight:700;

    margin-bottom:15px;
}

.section-subtitle{

    color:var(--muted);

    max-width:650px;

    margin:auto;
}

/* =====================================================
   TOP BAR
===================================================== */

.topbar{

    background:var(--primary);

    color:#fff;

    padding:10px 0;

    font-size:14px;
}

.topbar i{

    margin-right:8px;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar{

    padding:18px 0 !important;

    transition:var(--transition);

    background:#fff !important;
}

.navbar-brand{

    font-size:28px;

    font-weight:800;

    color:var(--primary)!important;
}

.nav-link{

    color:var(--primary)!important;

    font-weight:500;

    margin:0 8px;

    position:relative;
}

.nav-link::after{

    content:'';

    position:absolute;

    left:0;

    bottom:-5px;

    width:0;

    height:2px;

    background:var(--accent);

    transition:.3s;
}

.nav-link:hover::after{

    width:100%;
}

.nav-link:hover{

    color:var(--accent)!important;
}

/* =====================================================
   DROPDOWN
===================================================== */

.dropdown-menu{

    border:none;

    border-radius:14px;

    padding:12px;

    box-shadow:var(--shadow-md);
}

.dropdown-item{

    padding:10px 14px;

    border-radius:10px;

    transition:var(--transition);
}

.dropdown-item:hover{

    background:var(--accent);

    color:#fff;
}

/* =====================================================
   SEARCH FORM
===================================================== */

.navbar form{

    min-width:280px;
}

.navbar .form-control{

    border:1px solid var(--border);

    border-radius:10px;

    height:45px;
}

.navbar .form-control:focus{

    box-shadow:none;

    border-color:var(--accent);
}

/* =====================================================
   BUTTONS
===================================================== */

.btn{

    border-radius:10px;

    font-weight:600;

    transition:var(--transition);
}

.btn-primary{

    background:var(--accent);

    border:none;
}

.btn-primary:hover{

    background:var(--accent-hover);

    transform:translateY(-2px);
}

.btn-dark{

    background:var(--primary);

    border:none;
}

.btn-dark:hover{

    transform:translateY(-2px);
}

.btn-lg{

    padding:14px 30px;
}

/* =====================================================
   COMMON SECTION
===================================================== */

.section-padding{

    padding:100px 0;
}

.bg-light-custom{

    background:var(--light);
}

.bg-white-custom{

    background:#fff;
}

/* =====================================================
   CARD
===================================================== */

.custom-card{

    background:#fff;

    border-radius:18px;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);
}

.custom-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-md);
}

/* =====================================================
   BADGE
===================================================== */

.custom-badge{

    display:inline-block;

    background:#E0E7FF;

    color:var(--accent);

    padding:8px 16px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;
}

/* =====================================================
   IMAGE ZOOM
===================================================== */

.image-hover{

    overflow:hidden;

    border-radius:18px;
}

.image-hover img{

    transition:.5s;
}

.image-hover:hover img{

    transform:scale(1.08);
}

/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar{

    width:8px;
}

::-webkit-scrollbar-track{

    background:#f1f1f1;
}

::-webkit-scrollbar-thumb{

    background:var(--accent);

    border-radius:20px;
}

/* =====================================================
   ANIMATIONS
===================================================== */

.fade-up{

    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);
    }

    to{

        opacity:1;

        transform:translateY(0);
    }
}

/*=====================================================
HERO SECTION
======================================================*/

.hero-section{
    position:relative;
    overflow:hidden;
    padding:90px 0;
    background:linear-gradient(135deg,#f8fafc,#eef5ff);
}

.hero-section::before{
    content:"";
    position:absolute;
    top:-200px;
    right:-200px;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(37,99,235,.08);
}

.hero-section::after{
    content:"";
    position:absolute;
    bottom:-120px;
    left:-120px;
    width:300px;
    height:300px;
    border-radius:50%;
    background:rgba(59,130,246,.06);
}

.hero-content{
    position:relative;
    z-index:10;
}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 20px;

    border-radius:50px;

    background:#dbeafe;

    color:#2563eb;

    font-weight:600;

    margin-bottom:20px;

}

.hero-title{

    font-size:58px;

    line-height:1.15;

    font-weight:700;

    color:#0f172a;

    margin-bottom:20px;

}

.hero-title span{

    color:#2563eb;

}

.hero-desc{

    color:#64748b;

    font-size:17px;

    line-height:30px;

    max-width:550px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.btn-shop{

    background:#2563eb;

    color:#fff;

    border:none;

    border-radius:12px;

    padding:14px 32px;

    font-weight:600;

    transition:.3s;

}

.btn-shop:hover{

    background:#1d4ed8;

    color:#fff;

    transform:translateY(-3px);

}

.btn-outline-custom{

    border:2px solid #2563eb;

    color:#2563eb;

    border-radius:12px;

    padding:13px 30px;

    font-weight:600;

    transition:.3s;

}

.btn-outline-custom:hover{

    background:#2563eb;

    color:#fff;

}

.hero-image{

    position:relative;

    text-align:center;

}

.hero-image img{

    width:100%;

    max-width:520px;

    animation:float 5s infinite ease-in-out;

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0);

    }

}

/*=====================================================
FEATURE BOXES
======================================================*/

.hero-stat{

    position:absolute;

    background:#fff;

    border-radius:18px;

    padding:18px;

    box-shadow:0 18px 40px rgba(0,0,0,.08);

}

.hero-stat h4{

    font-size:28px;

    font-weight:700;

    color:#2563eb;

    margin-bottom:0;

}

.hero-stat p{

    margin:0;

    color:#64748b;

}

.stat-one{

    top:40px;

    left:-20px;

}

.stat-two{

    bottom:40px;

    right:-20px;

}

/*=====================================================
SECTION TITLE
======================================================*/

.section{

    padding:90px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title span{

    display:inline-block;

    background:#dbeafe;

    color:#2563eb;

    padding:8px 18px;

    border-radius:40px;

    font-size:14px;

    font-weight:600;

    margin-bottom:15px;

}

.section-title h2{

    font-size:42px;

    color:#0f172a;

    font-weight:700;

    margin-bottom:15px;

}

.section-title p{

    color:#64748b;

    max-width:700px;

    margin:auto;

}

/*=====================================================
CATEGORY CARD
======================================================*/

.category-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    transition:.35s;

    text-align:center;

    border:1px solid #edf2f7;

    height:100%;

    cursor:pointer;

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}

.category-icon{

    width:85px;

    height:85px;

    border-radius:50%;

    background:#eff6ff;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    margin-bottom:20px;

}

.category-icon i{

    font-size:38px;

    color:#2563eb;

}

.category-card h4{

    font-size:22px;

    font-weight:600;

    color:#0f172a;

    margin-bottom:10px;

}

.category-card p{

    color:#64748b;

    font-size:15px;

}

/*=====================================================
HOVER BORDER
======================================================*/

.category-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:0;

    height:4px;

    background:#2563eb;

    transition:.4s;

}

.category-card{

    position:relative;

    overflow:hidden;

}

.category-card:hover::before{

    width:100%;

}
/*==================================================
PRODUCT SECTION
==================================================*/

.product-section{
    padding:90px 0;
    background:#f8fafc;
}

/*==================================================
PRODUCT CARD
==================================================*/

.product-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    transition:.35s ease;
    border:1px solid #edf2f7;
    height:100%;
    position:relative;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 22px 55px rgba(15,23,42,.10);
}

/*==================================================
IMAGE
==================================================*/

.product-image{
    position:relative;
    overflow:hidden;
    background:#f4f7fb;
}

.product-image img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:.45s;
}

.product-card:hover .product-image img{
    transform:scale(1.08);
}

/*==================================================
PRODUCT BADGES
==================================================*/

.product-badge{
    position:absolute;
    top:18px;
    left:18px;
    background:#2563eb;
    color:#fff;
    padding:8px 14px;
    font-size:13px;
    font-weight:600;
    border-radius:30px;
    z-index:5;
}

.product-sale{
    background:#dc2626;
}

.product-new{
    background:#16a34a;
}

/*==================================================
PRODUCT BODY
==================================================*/

.product-body{
    padding:25px;
}

.product-category{
    color:#64748b;
    font-size:13px;
    font-weight:500;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:10px;
}

.product-title{
    font-size:22px;
    font-weight:600;
    color:#0f172a;
    margin-bottom:15px;
    line-height:30px;
}

.product-title a{
    color:#0f172a;
    text-decoration:none;
    transition:.3s;
}

.product-title a:hover{
    color:#2563eb;
}

/*==================================================
RATING
==================================================*/

.rating{
    margin-bottom:15px;
}

.rating i{
    color:#f59e0b;
    margin-right:2px;
    font-size:14px;
}

/*==================================================
PRICE
==================================================*/

.price-box{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:22px;
}

.current-price{
    font-size:28px;
    font-weight:700;
    color:#2563eb;
}

.old-price{
    color:#94a3b8;
    text-decoration:line-through;
    font-size:16px;
}

/*==================================================
BUTTON
==================================================*/

.buy-btn{
    width:100%;
    border:none;
    border-radius:12px;
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    color:#fff;
    padding:14px;
    font-size:15px;
    font-weight:600;
    transition:.35s;
}

.buy-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(37,99,235,.30);
}

/*==================================================
IMAGE OVERLAY
==================================================*/

.product-overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.45);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:.35s;
}

.product-card:hover .product-overlay{
    opacity:1;
}

.quick-view{

    width:55px;

    height:55px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#2563eb;

    font-size:22px;

    transition:.3s;

    text-decoration:none;

}

.quick-view:hover{

    background:#2563eb;

    color:#fff;

    transform:scale(1.1);

}

/*==================================================
FEATURED SECTION
==================================================*/

.featured-products{

    padding:90px 0;

}

.product-filter{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-bottom:50px;

    flex-wrap:wrap;

}

.product-filter button{

    border:none;

    background:#fff;

    color:#334155;

    padding:12px 24px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

    border:1px solid #e2e8f0;

}

.product-filter button.active,

.product-filter button:hover{

    background:#2563eb;

    color:#fff;

}

/*==================================================
PROMOTION CARD
==================================================*/

.offer-card{

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    border-radius:25px;

    padding:50px;

    color:#fff;

    overflow:hidden;

    position:relative;

}

.offer-card h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:15px;

}

.offer-card p{

    font-size:18px;

    opacity:.9;

    margin-bottom:25px;

}

.offer-card .btn{

    background:#fff;

    color:#2563eb;

    border-radius:10px;

    padding:14px 28px;

    font-weight:600;

}

.offer-card::after{

    content:"";

    position:absolute;

    right:-80px;

    top:-80px;

    width:240px;

    height:240px;

    background:rgba(255,255,255,.12);

    border-radius:50%;

}

/*==================================================
LOAD MORE
==================================================*/

.load-more{

    text-align:center;

    margin-top:55px;

}

.load-more .btn{

    padding:14px 34px;

    border-radius:12px;

    font-weight:600;

}
/*==================================================
PRODUCT DETAILS
==================================================*/

.product-details{
    padding:90px 0;
    background:#fff;
}

.product-gallery{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:20px;
}

.product-gallery img{
    width:100%;
    border-radius:16px;
}

.product-info h1{
    font-size:42px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:20px;
}

.product-info .price{
    font-size:38px;
    color:#2563eb;
    font-weight:700;
    margin:20px 0;
}

.product-info p{
    color:#64748b;
    line-height:30px;
    margin-bottom:25px;
}

/*==================================================
QUANTITY
==================================================*/

.qty-box{
    display:flex;
    align-items:center;
    margin-bottom:30px;
}

.qty-btn{

    width:45px;

    height:45px;

    border:none;

    background:#eef2ff;

    font-size:20px;

    font-weight:700;

}

.qty-input{

    width:70px;

    height:45px;

    border:1px solid #ddd;

    text-align:center;

    font-weight:600;

}

/*==================================================
BUY BUTTON
==================================================*/

.btn-buy{

    padding:15px 35px;

    border-radius:12px;

    background:#25D366;

    color:#fff;

    border:none;

    font-weight:600;

    transition:.3s;

}

.btn-buy:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(37,211,102,.30);

}

/*==================================================
BREADCRUMB
==================================================*/

.breadcrumb-area{

    background:#f8fafc;

    padding:18px 0;

}

.breadcrumb-item a{

    color:#2563eb;

    text-decoration:none;

}

/*==================================================
PAGINATION
==================================================*/

.pagination{

    justify-content:center;

    margin-top:50px;

}

.page-link{

    border:none;

    margin:0 6px;

    border-radius:10px;

    color:#0f172a;

}

.page-item.active .page-link{

    background:#2563eb;

}

/*==================================================
NEWSLETTER
==================================================*/

.newsletter{

    background:#2563eb;

    padding:70px 0;

    color:#fff;

}

.newsletter h2{

    font-weight:700;

    margin-bottom:20px;

}

.newsletter input{

    height:55px;

    border:none;

    border-radius:10px;

}

.newsletter button{

    height:55px;

    border:none;

    border-radius:10px;

    font-weight:600;

}

/*==================================================
FOOTER
==================================================*/

.footer{

    background:#0f172a;

    color:#cbd5e1;

    padding:80px 0 30px;

}

.footer h4{

    color:#fff;

    margin-bottom:25px;

    font-weight:600;

}

.footer a{

    color:#cbd5e1;

    text-decoration:none;

    display:block;

    margin-bottom:12px;

    transition:.3s;

}

.footer a:hover{

    color:#fff;

    padding-left:8px;

}

.footer-contact i{

    width:35px;

    color:#2563eb;

}

.footer-bottom{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

}

/*==================================================
WHATSAPP FLOAT
==================================================*/

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    z-index:999;

    text-decoration:none;

    box-shadow:0 10px 25px rgba(0,0,0,.20);

    transition:.3s;

}

.whatsapp-float:hover{

    transform:scale(1.08);

    color:#fff;

}

/*==================================================
BACK TO TOP
==================================================*/

.back-top{

    position:fixed;

    right:25px;

    bottom:100px;

    width:50px;

    height:50px;

    background:#2563eb;

    color:#fff;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px){

.hero-title{

font-size:42px;

}

.section-title h2{

font-size:34px;

}

.product-info h1{

font-size:32px;

}

.hero-section{

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero-image{

margin-top:50px;

}

}

@media(max-width:767px){

.hero-title{

font-size:34px;

}

.section{

padding:60px 0;

}

.section-title{

margin-bottom:40px;

}

.product-title{

font-size:20px;

}

.offer-card{

padding:35px;

}

.offer-card h2{

font-size:30px;

}

.footer{

text-align:center;

}

.footer-contact i{

display:none;

}

}

@media(max-width:576px){

.hero-title{

font-size:28px;

}

.current-price{

font-size:24px;

}

.product-image img{

height:250px;

}

.btn-shop,

.btn-outline-custom{

width:100%;

}

.product-info .price{

font-size:30px;

}

}

/*==================================================
ANIMATIONS
==================================================*/

.fade-up{

animation:fadeUp .8s ease;

}

@keyframes fadeUp{

0%{

opacity:0;

transform:translateY(30px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

.shadow-hover{

transition:.3s;

}

.shadow-hover:hover{

box-shadow:0 20px 45px rgba(0,0,0,.10);

}