:root{

    --bg-primary:#0d0d0d;
    --bg-secondary:#161616;

    --primary-red:#b71c1c;
    --dark-red:#7a1010;

    --primary-orange:#ff6b00;
    --light-orange:#ff8c00;

    --text-white:#ffffff;
    --text-light:#d0d0d0;

    --border-light:
    rgba(255,255,255,.08);

    --transition:
    all .35s ease;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:
    Arial,sans-serif;

    background:#ffffff;

    color:#111827;

    overflow-x:hidden;

    line-height:1.6;

    position:relative;
}

a{
    text-decoration:none;
}

.site-wrapper{
    width:100%;
    min-height:100vh;
}

/* MAIN LAYOUT */

.main-layout{

    display:flex;

    align-items:flex-start;

    gap:24px;

    padding:
    30px 30px 70px;

    width:100%;

    background:#fff;

    position:relative;
}

.products-content{
    background:#fff;
}

#products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.coming-soon{
    grid-column:1/-1;
    height:220px;
    background:linear-gradient(
        135deg,
        #111827,
        #1e293b
    );

    border-radius:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:28px;
    font-weight:700;

    border:1px solid rgba(255,255,255,.08);
}

/* LOGO*/

.logo{

    font-size:30px;
    font-weight:800;

    letter-spacing:1px;

    display:flex;
    align-items:center;
}

.logo-affal{

    background:
    linear-gradient(
        90deg,
        #b71c1c,
        #ff6b00,
        #ffb347
    );

    -webkit-background-clip:
    text;

    -webkit-text-fill-color:
    transparent;
}

.logo-deals{
    color:#ffffff;
}

/* HERO */

.hero-section{
    margin:20px 40px;

    border-radius:30px;

    min-height:260px;

    background:
    linear-gradient(
        135deg,
        #111827,
        #1e3a8a,
        #0f172a
    );

    display:flex;
    align-items:center;

    padding:45px 55px;

    position:relative;
    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(37,99,235,.25),
        transparent 40%
    );
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:700px;
}

.hero-badge{
    display:inline-block;

    padding:10px 20px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    margin-bottom:20px;

    color:#cbd5e1;
}

.hero-content h1{
    font-size:48px;
    line-height:1.08;
    margin-bottom:14px;
}

.hero-content p{
    font-size:16px;
    color:#cbd5e1;
    line-height:1.7;
    max-width:520px;
}

.hero-buttons{
    margin-top:35px;
    display:flex;
    gap:18px;
}

.primary-btn,
.secondary-btn{
    padding:14px 22px;
    border-radius:14px;
    font-weight:700;
    font-size:14px;
}

.primary-btn{
    background:#2563eb;
    color:#fff;
}

.secondary-btn{
    background:rgba(255,255,255,.08);
    color:#fff;
}

/* FEATURED DEALS */

.featured-section{
    padding:10px 40px 25px;
}

.section-head{
    margin-bottom:28px;
}

.section-head h2{
    font-size:28px;
}

.section-head p{
    color:#94a3b8;
    margin-top:8px;
}

.featured-grid{
    display:grid;
    grid-template-columns:
    repeat(3,1fr);

    gap:18px;
}

.featured-card{
    position:relative;

    background:
    linear-gradient(
        145deg,
        #111827,
        #1e293b
    );

    border-radius:22px;
    padding:18px;

    border:
    1px solid
    rgba(255,255,255,.08);
}

.featured-card img{
    width:100%;
    height:130px;
    object-fit:contain;
    margin-bottom:12px;
}

.featured-badge{
    position:absolute;
    top:18px;
    right:18px;

    background:#2563eb;
    color:#fff;

    padding:8px 14px;

    border-radius:999px;
    font-size:13px;
    font-weight:700;
}

.featured-content h3{
    font-size:18px;
    margin-bottom:8px;
}

.featured-content p{
    color:#cbd5e1;
    margin-bottom:14px;
    font-size:14px;
    line-height:1.5;
}

.featured-btn{
    display:inline-block;
    background:#2563eb;
    color:#fff;
    padding:10px 16px;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
}

/* HERO */

.hero-slider{

    position:relative;

    margin:
    20px 30px 0;

    height:320px;

    border-radius:34px;

    overflow:hidden;

    background:
    linear-gradient(
        135deg,
        #0d0d0d,
        #161616
    );

    border:
    1px solid
    rgba(255,255,255,.05);

    box-shadow:
    0 0 60px
    rgba(255,107,0,.08);
}

.hero-slider::before{

    content:"";

    position:absolute;

    width:340px;
    height:2400px;

    border-radius:50%;

    background:
    rgba(183,28,28,.18);

    filter:blur(120px);

    top:-120px;
    left:-100px;
}

.hero-slider::after{

    content:"";

    position:absolute;

    width:340px;
    height:340px;

    border-radius:50%;

    background:
    rgba(255,107,0,.12);

    filter:blur(120px);

    bottom:-120px;
    right:-100px;
}

.slides-wrapper{
    width:100%;
    height:100%;
    position:relative;
}

.slide{
    position:absolute;
    inset:0;

    opacity:0;
    visibility:hidden;

    transition:.5s ease;

    padding:25px;
}

.slide.active{
    opacity:1;
    visibility:visible;
}

/* INTRO */

.intro-slide{
    height:100%;

    display:flex;
    align-items:center;
}

.intro-content{
    max-width:600px;
    padding-left:20px;
}

.hero-badge{
    display:inline-block;

    padding:10px 16px;

    border-radius:999px;

    background:
    rgba(255,255,255,.1);

    margin-bottom:18px;
}

.intro-content h1{

    font-size:52px;

    line-height:1.08;

    margin-bottom:15px;

    background:
    linear-gradient(
        90deg,
        #ff6b00,
        #ffb347
    );

    -webkit-background-clip:
    text;

    -webkit-text-fill-color:
    transparent;
}

.intro-content p{
    color:#cbd5e1;
    line-height:1.7;
    margin-bottom:20px;
}

.primary-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:
    linear-gradient(
        135deg,
        #b71c1c,
        #ff6b00
    );

    color:#fff;

    padding:14px 24px;

    border-radius:16px;

    font-weight:700;

    box-shadow:
    0 12px 30px
    rgba(255,107,0,.18);

    transition:.3s ease;
}

.primary-btn:hover{

    transform:
    translateY(-3px);

    box-shadow:
    0 18px 35px
    rgba(255,107,0,.28);
}

/* TREND GRID */

.trend-grid{
    height:100%;

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:18px;

    align-items:center;
}

.hero-product-card{
    position:relative;

    background:#fff;

    border-radius:20px;

    padding:16px;

    text-align:center;

    color:#111827;

    height:210px;
}

.hero-product-card img{
    width:100%;
    height:110px;
    object-fit:contain;
    margin-bottom:10px;
}

.hero-product-card h3{
    font-size:14px;
    line-height:1.4;
    margin-bottom:14px;
}

.hero-product-card{
position:relative;
display:block;
text-decoration:none;
z-index:1;
overflow:hidden;
}

.hero-product-card *{
pointer-events:none;
}

.hero-product-card{
pointer-events:auto;
}

.trend-btn{

    display:block;

    background:
    linear-gradient(
        135deg,
        #b71c1c,
        #ff6b00
    );

    color:#fff;

    padding:10px;

    border-radius:12px;

    font-size:14px;
    font-weight:700;

    transition:.3s ease;
}

.trend-badge{

    position:absolute;

    top:10px;
    right:10px;

    background:
    linear-gradient(
        135deg,
        #b71c1c,
        #ff6b00
    );

    color:#fff;

    font-size:11px;

    padding:5px 10px;

    border-radius:999px;
}

/* ARROWS */

.slider-arrow{
    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    background:
    rgba(255,255,255,.15);

    color:#fff;

    cursor:pointer;
    z-index:5;
}

.prev{
    left:14px;
}

.next{
    right:14px;
}

/* DOTS */

.slider-dots{
    position:absolute;

    bottom:14px;
    left:50%;

    transform:
    translateX(-50%);

    display:flex;
    gap:8px;
}

.dot{
    width:10px;
    height:10px;

    border-radius:50%;

    background:
    rgba(255,255,255,.35);

    cursor:pointer;
}

.dot.active{
    background:#fff;
}

.page-header{
    padding:40px;
}

.page-header h1{
    font-size:42px;
    margin-bottom:10px;
}

.page-header p{
    color:#94a3b8;
}

.products-page{
    padding:0 40px 60px;
}

.category-grid{
    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;

    padding:0 40px 60px;
}

.category-box{
    background:#111827;

    padding:30px;

    border-radius:22px;

    text-align:center;

    font-size:22px;
    font-weight:700;
}

/* CATEGORY PAGE */

.category-tabs-wrap{
    padding:
    0 40px 25px;
}

.category-tabs{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.category-tabs a{

    padding:12px 18px;

    border-radius:999px;

    background:
    rgba(22,22,22,.06);

    color:#4b5563;

    border:
    1px solid
    rgba(255,107,0,.08);

    transition:.25s ease;
}

.category-tabs a:hover,
.category-tabs a.active{

    background:
    linear-gradient(
        135deg,
        #b71c1c,
        #ff6b00
    );

    color:#fff;

    box-shadow:
    0 10px 20px
    rgba(255,107,0,.18);
}

h1,h2,h3{

    color:#111827;
}

.page-header h1,
.sidebar-title{

    background:
    linear-gradient(
        90deg,
        #b71c1c,
        #ff6b00
    );

    -webkit-background-clip:
    text;

    -webkit-text-fill-color:
    transparent;
}

/* PRODUCT TOOLS */

.product-tools{

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:20px;

    margin-bottom:24px;
}

.product-counter{

    min-width:220px;

    text-align:right;

    font-size:15px;
    font-weight:600;

    color:#6b7280;

    white-space:nowrap;
}

.product-search-wrap{
    flex:1;

    max-width:78%;
}

.product-search-wrap input{

    width:100%;

    height:64px;

    border-radius:20px;

    border:
    1px solid
    rgba(255,107,0,.12);

    padding:0 26px;

    background:#fff;

    font-size:16px;

    box-shadow:
    0 10px 25px
    rgba(0,0,0,.06);

    transition:.3s ease;
}

.product-counter{

    font-size:15px;
    font-weight:600;

    color:#6b7280;
}

.product-counter span{

    background:
    linear-gradient(
        90deg,
        #b71c1c,
        #ff6b00
    );

    -webkit-background-clip:
    text;

    -webkit-text-fill-color:
    transparent;

    font-weight:800;
}

/* EMPTY STATE */

.empty-state{

    display:none;

    text-align:center;

    padding:80px 20px;
}

.empty-state h3{

    font-size:30px;

    margin-bottom:12px;

    background:
    linear-gradient(
        90deg,
        #b71c1c,
        #ff6b00
    );

    -webkit-background-clip:
    text;

    -webkit-text-fill-color:
    transparent;
}

.empty-state p{
    color:#6b7280;
}
