/* ==========================================================
   ABTECH CCTV CATALOG
   STYLE.CSS PART 1
========================================================== */

/* ==========================
   RESET
========================== */

:root{

    --primary:#54909e;
--primary-hover:#164d7a;
--primary-light:#EEF3F8;

--background:#F7F9FC;

--white:#FFFFFF;

--text:#1E293B;
--text2:#64748B;

--border:#E6EBF2;

--shadow:0 10px 30px rgba(66,90,122,.08);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

button{

    font-family:Poppins;

    cursor:pointer;

}

a{

    text-decoration:none;

}

.container{

    width:100%;

    max-width:1400px;

    margin:auto;

    padding-bottom:90px;

}

/* ==========================
   HEADER
========================== */

.header{

    position:relative;

    background:#fff;

    padding:20px;

    border-radius:0 0 28px 28px;

    overflow:hidden;

    box-shadow:0 5px 30px rgba(0,0,0,.04);

}

/* Background Gradient */

.header::before{

    content:"";

    position:absolute;

    width:650px;
    height:650px;

    right:-180px;
    top:-250px;

    border-radius:50%;

    background:radial-gradient(circle,

        rgba(59,130,246,.20) 0%,

        rgba(147,197,253,.12) 45%,

        rgba(255,255,255,0) 75%

    );

}

.header>*{

    position:relative;

    z-index:2;

}

/* ==========================
   TOPBAR
========================== */

.topbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.logo img{

    width:92px;

}

.menu-btn{

    width:42px;

    height:42px;

    border:none;

    background:#F1F5F9;

    border-radius:14px;

    color:var(--primary);

    font-size:22px;

    transition:.25s;

}

.menu-btn:hover{

    background:#DBEAFE;

}

/* ==========================
   HERO
========================== */

.hero{

    margin-top:10px;

}

.hero-badge{

    display:inline-block;

    background:#EFF6FF;

    color:#2563EB;

    padding:8px 14px;

    border-radius:50px;

    font-size:12px;

    font-weight:600;

    margin-bottom:14px;

}

.hero h1{

    font-size:28px;

    line-height:1.35;

    font-weight:700;

    margin-bottom:12px;

    color:#111827;

}

.hero p{

    font-size:14px;

    color:#64748B;

    line-height:1.8;

}

/* ==========================
   SEARCH
========================== */

.search-box{

    margin-top:25px;

    display:flex;

    align-items:center;

    height:56px;

    background:#FFFFFF;

    border:1px solid var(--border);

    border-radius:18px;

    padding:0 18px;

    box-shadow:0 8px 20px rgba(59,130,246,.06);

}

.search-box i{

    color:#3B82F6;

    font-size:18px;

    margin-right:12px;

}

.search-box input{

    width:100%;

    border:none;

    outline:none;

    background:none;

    font-size:15px;

    font-family:Poppins;

}

.search-box input::placeholder{

    color:#94A3B8;

}

/* ==========================
   PROMO
========================== */

.promo-card{

    margin:18px;

    background:linear-gradient(135deg,#FFFFFF,#F3F8FF);

    border:1px solid #DBEAFE;

    border-radius:24px;

    padding:20px;

    display:flex;

    align-items:center;

    gap:16px;

    box-shadow:0 8px 24px rgba(59,130,246,.05);

}

.promo-card div{

    flex:1;

}

.promo-card small{

    color:#2563EB;

    font-size:12px;

    font-weight:600;

}

.promo-card h2{

    margin:8px 0;

    font-size:22px;

}

.promo-card p{

    color:#64748B;

    font-size:14px;

}

.promo-card button{

    min-width:85px;

    border:none;

    background:#091e3f;

    color:#fff;

    border-radius:14px;

    padding:12px 18px;

    font-weight:600;

    transition:.3s;

}

.promo-card button:hover{

    background:#0e1c3b;

}

/* ==========================
   DESKTOP
========================== */

@media(min-width:768px){

.header{

padding:30px;

}

.logo img{

width:110px;

}

.hero h1{

font-size:38px;

max-width:650px;

}

.hero p{

max-width:560px;

font-size:15px;

}

.search-box{

max-width:520px;

}

.promo-card{

margin:24px 30px;

}

}

@media(min-width:992px){

.header{

padding:40px 60px;

}

.logo img{

width:120px;

}

.hero h1{

font-size:42px;

}

}

/* ==========================================================
   CATEGORY
========================================================== */

.category{

    padding:0 18px 10px;

}

.title-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.title-row h3{

    font-size:20px;

    font-weight:700;

    color:var(--text);

}

.title-row a{

    font-size:13px;

    color:var(--primary);

    font-weight:600;

}

.category-scroll{

    display:flex;

    gap:12px;

    overflow-x:auto;

    scrollbar-width:none;

    -ms-overflow-style:none;

    padding-bottom:6px;

}

.category-scroll::-webkit-scrollbar{

    display:none;

}

.category-scroll a{

    white-space:nowrap;

    padding:12px 20px;

    border-radius:50px;

    background:#fff;

    border:1px solid var(--border);

    color:#475569;

    font-size:14px;

    font-weight:500;

    transition:.3s;

}

.category-scroll a.active{

    background:var(--primary);

    color:#fff;

    border-color:var(--primary);

}

.category-scroll a:hover{

    background:#EFF6FF;

    color:var(--primary);

}


/* ==========================================================
   PRODUCT
========================================================== */

.products{

    padding:15px 18px 120px;

}

.grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}


/* ==========================================================
   CARD
========================================================== */

.card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    border:1px solid #EEF2F7;

    transition:.35s;

    box-shadow:0 5px 18px rgba(15,23,42,.04);

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(15,23,42,.08);

}

.thumb{

    position:relative;

    background:#F8FAFC;

    aspect-ratio:1/1;

}

.thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.badge{

    position:absolute;

    top:12px;

    right:12px;

    left:auto;

    color:#fff;

    font-size:11px;

    padding:7px 12px;

    border-radius:40px;

    font-weight:600;

    z-index:5;

}

/* BEST SELLER */
.badge-best{
    background:#ef4444;
}

/* PROMO */
.badge-promo{
    background:#f59e0b;
}

/* NEW */
.badge-new{
    background:#2563eb;
}

/* DEFAULT */
.badge-default{
    background:#4338ca;
}

.promo-btn{

display:flex;
align-items:center;
justify-content:center;

background:#091e3f;

color:white;

width:85px;
height:40px;

border-radius:14px;

font-size:13px;

font-weight:600;

text-decoration:none;

flex-shrink:0;

}


.promo-btn:hover{

background:#164d7a;

}

.content{

    padding:16px;

}

.content h4{

    font-size:15px;

    font-weight:600;

    line-height:1.5;

    margin-bottom:8px;

    color:#111827;

}

.price{

    color:var(--primary);

    font-size:20px;

    font-weight:700;

    margin-bottom:12px;

}

.content ul{

    list-style:none;

    margin-bottom:16px;

}

.content ul li{

    position:relative;

    padding-left:18px;

    margin-bottom:8px;

    color:#64748B;

    font-size:13px;

}

.content ul li::before{

    content:"";

    width:7px;

    height:7px;

    border-radius:50%;

    background:#18294f;

    position:absolute;

    left:0;

    top:7px;

}
.content .detail-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    height:42px;

    background:#425A7A;

    color:#fff;

    border-radius:12px;

    text-decoration:none;

    font-size:13px;

    font-weight:600;

    transition:.3s;

}

.content .detail-btn:hover{

    background:#314866;

}

.content button:hover{

    background:var(--primary-hover);

}


/* ==========================================================
   FLOATING WHATSAPP
========================================================== */

.wa{

    position:fixed;

    right:18px;

    bottom:92px;

    width:58px;

    height:58px;

    border-radius:50%;

    background:#18294f;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

    text-decoration:none;

    box-shadow:0 15px 35px rgba(37,99,235,.28);

    z-index:999;

    transition:.3s;

}

.wa:hover{

    transform:scale(1.08);

}

/* ==========================================================
   BOTTOM NAVIGATION
========================================================== */

.bottom-nav{

    position:fixed;

    left:0;

    bottom:0;

    width:100%;

    height:70px;

    background:#fff;

    border-top:1px solid #E6EBF2;

    display:flex;

    justify-content:space-around;

    align-items:center;

    z-index:9999;

    box-shadow:0 -5px 20px rgba(0,0,0,.05);

}


.bottom-nav a{

    flex:1;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:5px;

    color:#94A3B8;

    text-decoration:none;

    font-size:11px;

}


.bottom-nav i{

    font-size:21px;

}


.bottom-nav a.active{

    color:#54909e;

}


.bottom-nav a:hover{

    color:#54909e;

}




/* ==========================================================
   TABLET
========================================================== */

@media(min-width:768px){

.category{

padding:0 30px;

}

.products{

padding:20px 30px 120px;

}

.grid{

grid-template-columns:repeat(3,1fr);

}

}


/* ==========================================================
   DESKTOP
========================================================== */

@media(min-width:992px){

.category{

padding:0 60px;

}

.products{

padding:20px 60px 60px;

}

.grid{

grid-template-columns:repeat(4,1fr);

}

.bottom-nav{

display:none;

}

.wa{

bottom:25px;

}

}


/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media(min-width:1400px){

.container{

max-width:1500px;

}

.grid{

gap:22px;

}

}

/* ===================================================
   FOOTER
=================================================== */

.footer-desktop{

    display:none;

}

@media(min-width:992px){

.footer-desktop{

display:block;

background:#FFFFFF;

border-top:1px solid #E8EDF5;

padding:20px 0;

margin-top:50px;

}

.footer-container{

max-width:1200px;

margin:auto;

padding:0 20px;

display:flex;

align-items:center;

justify-content:space-between;

gap:30px;

}

.footer-logo{

width:90px;

height:auto;

flex:none;

}

.footer-text{

flex:1;

margin:0;

font-size:13px;

line-height:1.7;

color:#64748B;

padding:0 25px;

}

.footer-copy{

margin:0;

font-size:12px;

color:#94A3B8;

white-space:nowrap;

}

}


.empty-product{

grid-column:1/-1;

background:#fff;

border-radius:24px;

padding:45px 25px;

text-align:center;

border:1px solid #e5e7eb;

}


.empty-product i{

font-size:45px;

color:#54909e;

}


.empty-product h3{

margin:15px 0 8px;

font-size:20px;

}


.empty-product p{

color:#64748b;

font-size:14px;

line-height:1.7;

}


.empty-product a{

display:inline-block;

margin-top:20px;

background:#18294f;

color:#fff;

padding:12px 25px;

border-radius:30px;

font-size:14px;

font-weight:600;

}