@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.navbar {
    background-color: #081621;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-img {
    height: 70px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
}

.search-wrapper {
    position: relative;
    display: none;
    width: 27rem;
}

.search-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.75rem;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.search-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
}

.search-input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #111827;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 3px;
}

.search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.nav-menu {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.2s;
}

.nav-item.active {
    color: #ffffff;
}

.nav-item:hover {
    color: #8c15ed;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    padding: 0.5rem;
    color: #9ca3af;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.icon-btn:hover {
    background-color: #1f2937;
    color: #ffffff;
}

.icon-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.pcb-spc {
    display: flex;
    align-items: center;
}

.button-pcb {
    position: relative;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    background-color: #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    border-radius: 2px;
    animation: pcb-clr 20s ease-in-out infinite;
}

.button-pcb::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2061BE;
    z-index: -1;
    transition: top 0.4s ease;
}

.button-pcb:hover::before {
    top: 0;
}

.button-pcb:hover {
    color: white;
}

.category-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 15px;
    width: 100%;
}

.cat-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}

.cat-item {
    position: relative;
    padding: 5px 12px;
}

.cat-item a {
    text-decoration: none;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.cat-item a:hover {
    color: #E81515;
}

.cat-dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.cat-dropdown a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 400;
}

.cat-dropdown a:last-child {
    border-bottom: none;
}

.has-dropdown:hover .cat-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.slider-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 10px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.slider-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
    aspect-ratio: 2048 / 686;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
    width: 25px;
    border-radius: 5px;
}

.featured-prd-label {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.featured-prd {
    font-size: 27px;
    font-weight: 700;
    color: #000;
    margin: 0;
    font-family: "Open Sans", sans-serif;
}

.fprd-sting {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 400;
    color: #111;
    font-family: "Open Sans", sans-serif;
}


#mobileSidebar.active {
    left: 0 !important;
}

#sidebarOverlay.active {
    display: block !important;
    opacity: 1 !important;
}

.no-scroll {
    overflow: hidden;
}

.announcement-bar {
    width: 70%;
    background-color: #f8f9fa;
    color: #333;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid #ddd;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
}

.scrolling-text span {
    display: inline-block;
    padding-right: 50px;
    font-family: sans-serif;
    font-size: 14px;
}

.fprd-sting {
    display: block;
    margin-top: -20px;
    margin-left: 18px;

    font-size: 15px;
    font-weight: 500;
    color: #6b7280;

    letter-spacing: 0.3px;
}

.featured-category {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    padding: 30px;
    background: #f5f5f7;
}

.featured-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: .35s ease;
}

.featured-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #ff4d00;
}

.featured-box img {
    width: 45px;
    margin-bottom: 15px;
    opacity: .85;
}

.featured-box h3 {
    font-size: 17px;
    font-weight: 500;
    color: #111827;
    line-height: 1.4;
}

.featured-category-section {
    background: #f9fafb;
    padding: 50px 20px;
}

.featured-container {
    max-width: 1280px;
    margin: auto;
}

.featured-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    border-left: 4px solid #ef4444;
    padding-left: 15px;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.featured-box {
    background: white;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
    cursor: pointer;
    transition: .3s ease;
}

.featured-box:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 20px rgba(239,68,68,0.15);
}

.featured-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #374151;
    transition: .3s ease;
}

.featured-box:hover .featured-icon {
    color: #dc2626;
    transform: scale(1.1);
}

.featured-box p {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    transition: .3s ease;
}

.featured-box:hover p {
    color: #dc2626;
}
