
.pg-topbar {
    background: #111;
    border-bottom: 1px solid #e4e4e4;
    font-size: 14px;
}
.pg-topbar-inner {
    display: flex;
    justify-content: space-between;
    padding: 6px 20px;
}
.pg-top-left i {
    margin-right: 6px;
    color: var(--primary);
}


.pg-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.pg-container {
    max-width: 1560px;
    margin: auto;
    padding: 12px 20px;
}


.pg-header .pg-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
}


.pg-logo img {
    height: 40px;
    object-fit: contain;
}


.pg-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap; 
}

.pg-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    position: relative;
    font-size: 16px;
}

.pg-menu .fa-chevron-down {
    font-size: 12px;
    margin-left: 6px;
}

.pg-dropdown {
    position: relative;
}
.pg-dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 1000;
}
.pg-dropdown:hover .pg-dropdown-menu {
    display: block;
}
.pg-dropdown-menu a {
    padding: 10px 15px;
    display: block;
    color: #222;
}
.pg-dropdown-menu a:hover {
    background: #f1f1f1;
}


.pg-user-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

.pg-icon {
    position: relative;
    font-size: 20px;
    color: #000;
}
.pg-icon:hover {
    color: var(--primary);
}

.pg-badge {
    background: #ff4d4d;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    right: -8px;
}


.pg-mobile-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}


.pg-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    padding: 30px 25px;
    box-shadow: -4px 0 10px rgba(0,0,0,0.15);
    transition: .4s ease;
    overflow-y: auto;
    z-index: 99999;
}

.pg-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.pg-mobile-logo {
    width: 150px;
}
.pg-close {
    font-size: 32px;
    cursor: pointer;
    color: #000 !important;
}

.pg-close i,
.pg-close i::before {
    color: #000 !important;
}


.pg-mobile-menu a,
.pg-mobile-menu .pg-dropdown {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    font-size: 18px;
    color: #111;
    font-weight: 500;
}

.pg-mobile-menu .pg-drop-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.pg-mobile-menu .pg-dropdown-menu {
    display: none;
    position: relative;
    padding-left: 20px;
    margin-top: 8px;
}


@media (max-width: 991px) {
    .pg-menu {
        display: none;
    }
    .pg-mobile-btn {
        display: block;
    }
}
.pg-mobile-menu a {
    text-decoration: none !important;
    border-bottom: none !important;
}
.pg-mobile-menu a:hover {
    text-decoration: none !important;
}


.pg-login-links a{
    color: #fff !important;
    text-decoration: none;
}

/* USER BOX WRAPPER */
.pg-user-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

/* USER BOX (image + name) */
.pg-user-box {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: 0.2s ease;
}

.pg-user-box:hover {
    background: #f3f3f3;
}

/* USER PROFILE IMAGE */
.pg-user-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #e0e0e0;
}

/* USER NAME */
.pg-user-name {
    font-size: 14px;
    color: #ffffff; /* change to black if using light header */
    font-weight: 500;
    text-transform: capitalize;
}

.pg-user-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 160px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.25);
    padding: 10px 0;
    display: none;
    z-index: 999999 !important; /* SUPER HIGH */
}


/* DROPDOWN LINKS */
.pg-user-dropdown a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

.pg-user-dropdown a:hover {
    background: #f2f2f2;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .pg-user-icons {
        gap: 12px;
    }

    .pg-user-img {
        width: 32px;
        height: 32px;
    }

    .pg-user-name {
        display: none; /* hide name on mobile for clean layout */
    }

    .pg-user-dropdown {
        top: 45px;
    }
}


/* TOPBAR ACCOUNT ICONS (Black Bar) */
.pg-account-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}
.pg-account-icons .pg-user-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}
.pg-account-icons .pg-user-name {
    color: #fff; /* WHITE name only in top bar */
}
.pg-account-icons .pg-user-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 160px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.25);
    padding: 10px 0;
    display: none;
    z-index: 9999;
}





.pg-footer {
    background: #111;
    color: #ffffff;
    padding-top: 60px;
    margin-top: 60px;
}

/* Main grid - perfect top alignment */
.pg-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;  /* FIX: more balanced layout */
    align-items: start;                        /* FIX: top align all columns */
    gap: 60px;                                  /* FIX: equal spacing */
    padding-bottom: 40px;
}

/* Logo image size reduced */
.pg-footer-logo-img img {
    width: 150px;
    margin-bottom: 15px;
}

/* Fix weird paragraph wide look */
.pg-footer-about {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 280px;   /* FIX: reduces height and aligns columns */
}

/* Headings */
.pg-footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px; /* Fix spacing */
    color: #fc6e1d;
    font-weight: 700;
}

/* List */
.pg-footer-col ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pg-footer-col ul li {
    margin-bottom: 12px;
}

.pg-footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.85;
    transition: 0.3s;
}

.pg-footer-col ul li a:hover {
    opacity: 1;
    color: #fc6e1d;
    padding-left: 3px;
}

/* Contact section */
.pg-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px; /* FIX spacing */
}

.pg-contact-list li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
    transition: 0.3s;
}

.pg-contact-list li a:hover {
    color: #fc6e1d;
}

.pg-contact-list i {
    color: #fc6e1d;
    font-size: 16px;
    margin-top: 4px;
}

/* Footer bottom */
.pg-footer-bottom {
    text-align: center;
    padding: 15px 0;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.pg-footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Fix */
@media (max-width: 991px) {
    .pg-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .pg-footer-inner {
        grid-template-columns: 1fr;
    }
}




.pg-footer-social {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

.pg-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pg-footer-social a:hover {
    background: #ff6a00; /* Pockey Gadgets orange */
    transform: translateY(-2px);
}
