/* ==========================================================
   Sell-Then Ultimate
   Premium E-commerce Website
   Version : 1.0
   Developer : ChatGPT + Sunny
========================================================== */

/* ===========================
        GOOGLE FONT
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===========================
        ROOT VARIABLES
=========================== */
:root{

    --primary:#FFD400;
    --primary-dark:#E5BC00;

    --black:#171717;
    --white:#ffffff;

    --text:#555555;

    --bg:#F8F8F8;

    --border:#ECECEC;

    --shadow:0 15px 35px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}

/* ===========================
        RESET
=========================== */

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Poppins',sans-serif;

background:var(--bg);

color:var(--black);

}

/* ===========================
        LINKS
=========================== */

a{

text-decoration:none;
color:inherit;

}

img{

max-width:100%;
display:block;

}

ul{

list-style:none;

}

/* ===========================
        HEADER
=========================== */

.header{

position:fixed;

top:0;
left:0;

width:100%;

height:82px;

background:rgba(255,255,255,.92);

backdrop-filter:blur(18px);

display:flex;

align-items:center;

justify-content:space-between;

padding:0 7%;

box-shadow:var(--shadow);

z-index:999;

}

/* Logo */

.logo a{

font-size:36px;

font-weight:800;

color:var(--primary-dark);

letter-spacing:1px;

}

/* ===========================
      SEARCH
=========================== */

.search-box{

width:420px;

height:48px;

display:flex;

background:#fff;

border-radius:40px;

overflow:hidden;

border:1px solid var(--border);

}

.search-box input{

flex:1;

border:none;

outline:none;

padding:0 18px;

font-size:15px;

}

.search-box button{

width:60px;

border:none;

background:var(--primary);

font-size:18px;

cursor:pointer;

transition:var(--transition);

}

.search-box button:hover{

background:var(--primary-dark);

}

/* ===========================
      MENU
=========================== */

.navbar ul{

display:flex;

gap:30px;

}

.navbar a{

font-weight:600;

transition:var(--transition);

position:relative;

}

.navbar a:hover{

color:var(--primary-dark);

}

/* underline */

.navbar a::after{

content:'';

position:absolute;

left:0;

bottom:-5px;

width:0;

height:3px;

background:var(--primary);

transition:.3s;

border-radius:20px;

}

.navbar a:hover::after{

width:100%;

}

/* ===========================
      ICONS
=========================== */

.header-icons{

display:flex;

gap:18px;

}

.header-icons a{

width:48px;

height:48px;

background:#fff;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

font-size:18px;

box-shadow:var(--shadow);

transition:var(--transition);

}

.header-icons a:hover{

background:var(--primary);

transform:translateY(-4px);

}

/* ===========================
      HERO
=========================== */

.hero{

min-height:100vh;

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

padding:140px 7% 80px;

gap:60px;

}

.offer{

display:inline-block;

padding:10px 18px;

background:#FFF7D5;

border-radius:40px;

font-weight:600;

margin-bottom:18px;

}

.hero h1{

font-size:65px;

line-height:1.1;

margin-bottom:25px;

}

.hero h1 span{

color:var(--primary-dark);

}

.hero p{

font-size:18px;

line-height:32px;

color:var(--text);

margin-bottom:35px;

}

/* ===========================
      BUTTONS
=========================== */

.hero-buttons{

display:flex;

gap:18px;

}

.btn-primary{

background:var(--primary);

padding:16px 34px;

border-radius:50px;

font-weight:700;

transition:var(--transition);

}

.btn-primary:hover{

transform:translateY(-5px);

box-shadow:var(--shadow);

}

.btn-secondary{

padding:16px 34px;

border:2px solid var(--primary);

border-radius:50px;

font-weight:700;

transition:var(--transition);

}

.btn-secondary:hover{

background:var(--primary);

}

/* ===========================
      HERO IMAGE
=========================== */

.hero-right img{

border-radius:30px;

box-shadow:var(--shadow);

}

/* ===========================
      SECTION TITLE
=========================== */

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title h2{

font-size:42px;

margin-bottom:12px;

}

.section-title p{

color:var(--text);

}

/* ===========================
      CATEGORY
=========================== */

.categories{

padding:80px 7%;

}

.category-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

gap:25px;

}

.category-card{

background:#fff;

padding:40px 20px;

border-radius:20px;

text-align:center;

font-size:45px;

cursor:pointer;

transition:var(--transition);

box-shadow:var(--shadow);

}

.category-card h3{

font-size:18px;

margin-top:18px;

}

.category-card:hover{

transform:translateY(-10px);

background:var(--primary);

}

/* ===========================
      COMMON SECTION
=========================== */

section{

width:100%;

}

/* ===========================
      SCROLLBAR
=========================== */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-thumb{

background:var(--primary);

border-radius:50px;

}

::-webkit-scrollbar-track{

background:#f2f2f2;

}
/* ===========================
   Sticky Header Effect
=========================== */

.header.sticky{
    background:#ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}
/* ==========================================
   HEADER V2
========================================== */

.container{

    width:90%;
    max-width:1400px;
    margin:auto;

}

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#ffffff;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

    z-index:999;

}

.header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:80px;

}

.logo{

    font-size:34px;

    font-weight:800;

    color:#111;

}

.logo span{

    color:#FFD400;

}

.navbar{

    display:flex;

    gap:30px;

}

.navbar a{

    color:#333;

    font-weight:600;

    transition:.3s;

}

.navbar a:hover{

    color:#FFD400;

}

.search-box{

    display:flex;

    align-items:center;

    background:#f5f5f5;

    border-radius:50px;

    overflow:hidden;

}

.search-box input{

    border:none;

    outline:none;

    padding:12px 15px;

    width:230px;

    background:none;

}

.search-box button{

    border:none;

    width:50px;

    background:#FFD400;

    cursor:pointer;

}

.icons{

    display:flex;

    gap:15px;

}

.icons a{

    width:45px;

    height:45px;

    background:#f5f5f5;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    transition:.3s;

}

.icons a:hover{

    background:#FFD400;

}

.icons span{

    position:absolute;

    top:-5px;

    right:-5px;

    width:20px;

    height:20px;

    background:red;

    color:#fff;

    font-size:11px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

}
/* ==========================================
   HERO SECTION V2
========================================== */

.hero{
    padding:140px 0 80px;
    background:linear-gradient(135deg,#fffdf5,#ffffff);
    overflow:hidden;
    position:relative;
}

.hero::before{
    content:"";
    width:350px;
    height:350px;
    background:#FFD400;
    opacity:.08;
    position:absolute;
    right:-120px;
    top:-100px;
    border-radius:50%;
}

.hero::after{
    content:"";
    width:250px;
    height:250px;
    background:#FFD400;
    opacity:.05;
    position:absolute;
    left:-80px;
    bottom:-100px;
    border-radius:50%;
}

.hero-content h1{

    font-size:70px;

    line-height:1.1;

    font-weight:800;

}

.hero-content p{

    margin:25px 0;

    color:#555;

    font-size:20px;

    line-height:1.8;

}

.hero-image img{

    width:100%;

    border-radius:25px;

    box-shadow:0 30px 60px rgba(0,0,0,.15);

    transition:.5s;

}

.hero-image img:hover{

    transform:scale(1.03);

}

.hero-btn{

    display:flex;

    gap:20px;

    margin-top:35px;

}

.btn{

    padding:16px 35px;

    border-radius:50px;

    font-size:17px;

    font-weight:700;

    transition:.35s;

}

.btn-primary{

    background:#FFD400;

    color:#111;

}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(255,212,0,.45);

}

.btn-outline{

    border:2px solid #FFD400;

    color:#111;

}

.btn-outline:hover{

    background:#FFD400;

}
/* ==========================================
   HERO OFFER BADGE
========================================== */

.hero-right{
    position: relative;
}

.offer-badge{

    position:absolute;

    top:20px;

    left:20px;

    background:#FFD400;

    color:#111;

    padding:12px 22px;

    border-radius:50px;

    font-weight:700;

    font-size:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    animation:floatBadge 3s ease-in-out infinite;

    z-index:5;

}

@keyframes floatBadge{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }

}
/*==========================================
FEATURED PRODUCTS
==========================================*/

.featured-products{

    padding:100px 0;

    background:#fafafa;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title span{

    color:#ff9800;

    font-weight:700;

}

.section-title h2{

    font-size:42px;

    margin:10px 0;

}

.products-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.product-card{

    background:#fff;

    border-radius:20px;

    padding:20px;

    position:relative;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.product-card:hover{

    transform:translateY(-10px);

}

.product-card img{

    width:100%;

    border-radius:15px;

}

.discount{

    position:absolute;

    top:15px;

    left:15px;

    background:#ff3b30;

    color:#fff;

    padding:8px 15px;

    border-radius:30px;

    font-size:13px;

}

.price{

    display:flex;

    gap:12px;

    margin:15px 0;

    align-items:center;

}

.new-price{

    font-size:22px;

    font-weight:700;

    color:#111;

}

.old-price{

    color:#999;

    text-decoration:line-through;

}

.cart-btn{

    width:100%;

    padding:14px;

    border:none;

    background:#FFD400;

    border-radius:50px;

    cursor:pointer;

    font-weight:700;

    transition:.3s;

}

.cart-btn:hover{

    background:#111;

    color:#fff;

}
/*====================================
 FEATURED PRODUCTS V1
====================================*/

.featured-products{

    padding:100px 0;

    background:#fafafa;

}

.section-heading{

    text-align:center;

    margin-bottom:50px;

}

.section-heading span{

    color:#ff9800;

    font-weight:700;

}

.section-heading h2{

    font-size:42px;

    margin:15px 0;

}

.section-heading p{

    color:#777;

}

.products-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    position:relative;

    box-shadow:0 15px 30px rgba(0,0,0,.08);

    transition:.4s;

    padding:20px;

}

.product-card:hover{

    transform:translateY(-10px);

}

.product-card img{

    width:100%;

    border-radius:15px;

}

.product-discount{

    position:absolute;

    top:15px;

    left:15px;

    background:#ff3b30;

    color:#fff;

    padding:8px 14px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

}

.wishlist{

    position:absolute;

    top:15px;

    right:15px;

    width:40px;

    height:40px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 5px 15px rgba(0,0,0,.1);

    cursor:pointer;

}

.rating{

    margin-top:12px;

    color:#ffb400;

}

.price{

    display:flex;

    gap:12px;

    margin:15px 0;

    align-items:center;

}

.new-price{

    font-size:22px;

    font-weight:700;

}

.old-price{

    color:#999;

    text-decoration:line-through;

}
/* ==========================
 HERO SLIDER
========================== */

.hero-slider{
    width:100%;
}

.hero-slider img{

    width:100%;

    border-radius:25px;

    box-shadow:0 20px 50px rgba(0,0,0,.15);

    transition:.5s;

}
/*=====================================
 FLASH SALE
=====================================*/

.flash-sale{

    padding:80px 0;

    background:#111;

    color:#fff;

}

.flash-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

}

.flash-header h2{

    font-size:42px;

    margin-bottom:10px;

}

.countdown{

    display:flex;

    gap:15px;

    font-size:28px;

    font-weight:700;

}

.countdown span{

    background:#FFD400;

    color:#111;

    padding:12px 18px;

    border-radius:12px;

    min-width:60px;

    text-align:center;

}