/* ================= GLOBAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    font-family:'Inter',sans-serif;
    background:#f3f4f6;
    color:#111;
}

/* ==========================================================
   TOP BAR (Unified with Homepage Header)
========================================================== */
.top-bar{
    background:#0B1A2A;
    color:#fff;
    padding:6px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:13px;
}
.top-bar a{
    color:#fff;
    text-decoration:none;
    margin-right:12px;
    white-space:nowrap;
}
.top-bar a:last-child{ margin-right:0; }

/* ==========================================================
   MAIN NAVIGATION (Unified with homepage)
========================================================== */
.main-nav{
    background:#0B1A2A;
    padding:12px 16px;
    border-bottom:1px solid rgba(255,255,255,0.08);
    position:sticky;
    top:0;
    z-index:999;
}
.nav-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

/* LOGO */
.logo-area{
    display:flex;
    align-items:center;
    gap:10px;
}
.logo-area img{
    height:42px;
    width:auto;
}
.logo-area .logo-text{
    font-weight:800;
    font-size:20px;
    color:#fff;
}
.logo-area .logo-sub{
    font-size:12px;
    color:#d1d5db;
    margin-top:-2px;
}

/* SEARCH (Ryans Style) */
.nav-search{
    flex:1;
    max-width:450px;
    background:#fff;
    border-radius:999px;
    display:flex;
    align-items:center;
    padding:4px 10px;
    position:relative;
}
.nav-search input{
    flex:1;
    border:none;
    outline:none;
    padding:8px 10px;
    font-size:14px;
}
.sbtn{
    border:none;
    background:#ff6f00;
    color:#fff;
    padding:6px 12px;
    border-radius:999px;
    font-size:14px;
    cursor:pointer;
}

/* SEARCH SUGGESTION BOX */
.suggest-box{
    display:none;
    background:#fff;
    position:absolute;
    top:46px;
    left:0;
    width:100%;
    border:1px solid #ddd;
    border-radius:8px;
    max-height:260px;
    overflow-y:auto;
    z-index:50;
    box-shadow:0 4px 12px rgba(0,0,0,0.12);
}

/* RIGHT NAV LINKS */
.nav-right{
    display:flex;
    align-items:center;
    gap:14px;
}
.nav-right a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
}

/* HOTLINE BUTTON */
.hotline,
.hotline-orange{
    background:#16a34a;
    color:#fff!important;
    padding:8px 14px;
    border-radius:999px;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
}
.hotline-orange{ background:#ff6f00; }

/* ================= CATEGORY BAR ================= */
.category-bar{
    background:#fff;
    border-bottom:1px solid #e5e7eb;
}
.cat-scroll{
    max-width:1200px;
    margin:auto;
    padding:12px 20px;
    display:flex;
    gap:20px;
    overflow-x:auto;
    scrollbar-width:none;
}
.cat-scroll::-webkit-scrollbar{display:none;}
.cat-link{
    text-decoration:none;
    color:#333;
    font-weight:700;
    position:relative;
    white-space:nowrap;
}
.cat-link:hover{
    color:#ff6f00;
}
.cat-link::after{
    content:"";
    width:0%;
    height:2px;
    background:#ff6f00;
    position:absolute;
    bottom:-4px;
    left:0;
    transition:0.25s;
}
.cat-link:hover::after{
    width:100%;
}

/* ================= HERO ================= */
.hero{
    background:#fff;
    padding:40px 20px;
    text-align:center;
}
.hero h1{
    font-size:32px;
    font-weight:900;
}
.hero p{
    margin-top:8px;
    font-size:15px;
    color:#555;
}
.hero-btn{
    margin-top:16px;
    padding:12px 22px;
    background:#ff6f00;
    color:#fff;
    border-radius:6px;
    font-weight:700;
    text-decoration:none;
}

/* ================= PRODUCTS ================= */
.section-title{
    font-size:22px;
    font-weight:900;
    padding:20px;
}
.products{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:22px;
    padding:0 20px 50px;
}
.product-card{
    background:#fff;
    padding:16px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
    transition:0.25s;
}
.product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}
.product-card img{
    height:140px;
    object-fit:contain;
}
.product-name{
    margin-top:10px;
    font-size:15px;
    font-weight:700;
}
.price{
    margin-top:8px;
    font-size:18px;
    font-weight:900;
    color:#e65100;
}
.call-btn{
    display:inline-block;
    margin-top:10px;
    padding:8px 16px;
    background:#28A745;
    color:#fff;
    font-weight:700;
    border-radius:6px;
    text-decoration:none;
}

/* ==========================================================
   MOBILE OPTIMIZATION
========================================================== */
@media (max-width: 768px){

    .top-bar{
        flex-direction:column;
        align-items:flex-start;
        font-size:12px;
        gap:4px;
    }

    .nav-container{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .nav-search{
        width:100%;
        max-width:100%;
    }

    .hotline, .hotline-orange{
        width:100%;
        text-align:center;
        padding:12px 0;
    }

    .cat-scroll{
        padding:10px 12px;
        gap:14px;
    }

    .hero{
        padding:30px 14px;
    }
    .hero h1{
        font-size:24px;
    }
    .hero p{
        font-size:14px;
    }

    .products{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
        padding:0 12px 40px;
    }
    .product-card{
        padding:12px;
    }
    .product-card img{
        height:110px;
    }
    .product-name{
        font-size:13px;
        min-height:36px;
    }
    .price{
        font-size:16px;
    }
}