
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Segoe UI;
    margin: 0;
    
    line-height: 1.5;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.icon {
    width: 1rem;
    height: 1rem;
}

.header {

    width: 100%;
    border-bottom: 1px solid #e5e7eb;
   
    background:white;
}

/* ===============================
   PREMIUM TOP BAR – ATHAVAN PAPERS
   Orange #FF6B35 | Blue #1F3A70
   =============================== */

/* =====================================
   PREMIUM SOFT TOP BAR – DASHBOARD STYLE
   ===================================== */

.top-bar {
    display: none;
    margin-top: 20px;
}

@media (min-width: 1024px) {
    .top-bar {
        display: block;
    }
}

.top-bar .container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 30px;
    background: #eef1f4;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* Soft Neumorphism Shadow */
    box-shadow:
        12px 12px 30px rgba(0,0,0,0.08),
        -8px -8px 20px rgba(255,255,255,0.9);
}

/* LEFT SIDE */

.contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phone {
    font-size: 14px;
    font-weight: 600;
    color: #1F3A70;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone .icon {
    background: #1F3A70;
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* LINKS */

.customer-support,
.links a {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: 0.3s ease;
}

.customer-support:hover,
.links a:hover {
    color: #FF6B35;
}

/* RIGHT SIDE */

.user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.links {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* SOCIAL ICONS – SOFT ROUND BUTTONS */

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef1f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F3A70;
    font-size: 14px;

    box-shadow:
        6px 6px 12px rgba(0,0,0,0.08),
        -4px -4px 10px rgba(255,255,255,0.9);

    transition: all 0.3s ease;
}

.icon-link:hover {
    background: #FF6B35;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow:
        8px 8px 18px rgba(0,0,0,0.12);
}


/* ======================================
   PREMIUM MAIN HEADER – ATHAVAN PAPERS
   Orange #FF6B35 | Blue #1F3A70
   ====================================== */

/* Main Header */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 20px 0;
    max-width: 1280px;
    margin: auto;
}

/* Logo */
.logo img {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ================= SEARCH BAR ================= */

.search-container {
    flex: 1;
    max-width: 550px;
    display: flex;
    justify-content: center;
}

#searchForm {
    width: 100%;
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #E5E7EB;
    box-shadow: 0 8px 25px rgba(31,58,112,0.08);
    transition: all 0.3s ease;
}

#searchForm:focus-within {
    border-color: #FF6B35;
    box-shadow: 0 8px 30px rgba(255,107,53,0.25);
}

#searchInput {
    flex: 1;
    border: none;
    padding: 14px 22px;
    font-size: 16px;
    outline: none;
    color: #111827;
}

#searchInput::placeholder {
    color: #9CA3AF;
}

/* Search Button */
#searchForm input[type="submit"] {
    background: linear-gradient(135deg, #FF6B35, #E4572E);
    color: #ffffff;
    border: none;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
}

#searchForm input[type="submit"]:hover {
    background: linear-gradient(135deg, #E4572E, #cc3d1a);
}

/* ================= AUTOCOMPLETE ================= */

.ui-autocomplete {
    max-height: 420px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    background: #ffffff;
    padding: 0;
}

.ui-menu-item {
    padding: 12px 18px;
    border-bottom: 1px solid #F1F5F9;
}

.ui-menu-item:last-child {
    border-bottom: none;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #F4F7FC;
    color: #1F3A70;
}

/* Suggestion Layout */
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.suggestion-image {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
}

.suggestion-name {
    font-weight: 600;
    color: #111827;
}

.suggestion-sku {
    font-size: 13px;
    color: #6B7280;
}

.suggestion-price {
    font-weight: 600;
    color: #FF6B35;
}

/* ================= USER ACTIONS ================= */

.user-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-actions a {
    text-decoration: none;
}

/* Icon Buttons */
.icon-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F4F7FC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F3A70;
    font-size: 18px;
    transition: all 0.3s ease;
}

.icon-button:hover {
    background: #FF6B35;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,107,53,0.35);
}

/* Cart */
.cart {
    display: flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {

    .main-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo img {
        height: 80px;
    }

    .search-container {
        max-width: 100%;
    }
}

/* ======================================
   PREMIUM NAVIGATION – ATHAVAN PAPERS
   Orange #FF6B35 | Blue #1F3A70
   ====================================== */

.navigation {
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.container1 {
    max-width: 1280px;
    margin: auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* ================= CATEGORY BUTTON ================= */

.categories-button {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 56px;
    padding: 0 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, #FF6B35, #E4572E);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.categories-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.35);
}

/* ================= NAV LINKS ================= */

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 50px;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 56px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    position: relative;
    transition: color 0.3s ease;
}

/* Animated underline */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 0%;
    height: 3px;
    background: #FF6B35;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #1F3A70;
}

.nav-link:hover::after {
    width: 100%;
}

/* ================= MEGA MENU ================= */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 4px solid #FF6B35;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    display: none;
    animation: fadeDown 0.3s ease;
}

.mega-menu.active {
    display: block;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-content {
    display: flex;
    align-items: flex-start;
    max-width: 1280px;
    margin: auto;
}

/* ================= LEFT CATEGORY PANEL ================= */

.categories-list {
    width: 260px;
    background: linear-gradient(180deg, #F8FAFF, #EEF3FB);
    padding: 20px 0;
    border-right: 1px solid #E5E7EB;
}

.category-item {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item a {
    text-decoration: none;
    color: inherit;
}

.category-item:hover,
.category-item.active {
    background: #ffffff;
    color: #FF6B35;
    padding-left: 30px;
}

/* ================= SUBCATEGORIES ================= */

.subcategories {
    display: none;
    position: absolute;
    left: 260px;
    top: 0;
    width: calc(100% - 260px);
    background: #ffffff;
    padding: 30px;
}

.subcategories.active {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.subcategory-group {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.subcategory-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: #1F3A70;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subcategory-title a {
    text-decoration: none;
    color: #1F3A70;
}

.subcategory-title a:hover {
    color: #FF6B35;
}

.subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subcategory-item a {
    display: block;
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    color: #6B7280;
    transition: all 0.3s ease;
}

.subcategory-item a:hover {
    color: #FF6B35;
    padding-left: 8px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .subcategories.active {
        grid-template-columns: 1fr;
    }

    .categories-list {
        width: 100%;
        border-right: none;
    }

    .subcategories {
        left: 0;
        width: 100%;
        position: relative;
    }
}