/*
Theme Name: Storefront Child
Template: storefront
Version: 1.0
*/


.custom-header{
    background-color: #19366b;
     position: relative;
    z-index: 9999;
}
    /* ===== DESKTOP TOP BAR ===== */
.desktop-top {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
    padding: 10px 20px;
}
/* ====================================
               header-logo
======================================*/
.header-logo {
    width: 20%;
}
.header-logo img{
    max-height: 90px;
    width: auto;
}
/* ====================================
               header-search
======================================*/
/* ===== SEARCH (60%) ===== */
.custom-header-search {
    width: 70%;
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center; 
}
.custom-header-search form {
    display: flex;
    align-items: center;
    background: #1e3f7a;
    border-radius: 50px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
}

/* input placeholder color */
.custom-header-search input::placeholder {
    color: #ddd;
}
/* CATEGORY DROPDOWN */
.custom-header-search select {
    border: none;
    padding: 10px 20px;
    background: #294e8a ;
    color: #fff;
    outline: none;
    cursor: pointer;
}
.custom-header-search select option {
    color: #000;
    background:#fff;
}
/* SEARCH INPUT */
.custom-header-search input {
    flex: 1;
    padding: 10px;
    color: #fff!important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
}

/* SEARCH BUTTON */
.custom-header-search button {
    border: none;
    background: none;   /* nice highlight color */
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ICON SIZE */
.custom-header-search button i {
    font-size: 18px;
}


/* ====================================
               header-button
======================================*/
/* HEADER ICONS */
.header-icons {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10px;
    gap: 25px;
}

/* ICON ITEM */
.header-icon-item {
    position: relative;
}

/* LINK */
.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
}

.icon-link i {
    font-size: 22px;
}

/* DROPDOWN */
.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px;

    display: none;
    z-index: 99999; /* VERY HIGH */
}

/* SHOW ON HOVER */
.account-wrapper:hover .account-dropdown {
    display: block;
}

/* DROPDOWN TEXT */
.account-dropdown p {
    font-size: 13px;
    margin-bottom: 10px;
}

/* LIST */
.account-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-dropdown ul li {
    margin-bottom: 8px;
}

.account-dropdown ul li a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

.account-dropdown ul li a:hover {
    color: #1e3f7a;
}
/*===========================================================================
                            menu
============================================================================*/
/* =========================
   MAIN MENU WRAPPER
========================= */
.main-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 10px 20px;
}

/* TOP LEVEL ITEMS */
.main-menu > li {
    position: relative;
    margin: 0 15px;
}

/* TOP LEVEL LINKS */
.main-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
}

/* HOVER COLOR */
.main-menu > li > a:hover {
    border-bottom: 2px solid #fff;;
}

/* =========================
   DROPDOWN ARROW ICON
========================= */
.main-menu > li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* ROTATE ARROW ON HOVER */
.main-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* =========================
   SUBMENU
========================= */
.main-menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #19366b;
    min-width: 220px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
}

/* SHOW SUBMENU ON HOVER */
.main-menu li:hover > .sub-menu {
    display: block;
}

/* SUBMENU ITEMS */
.main-menu .sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

/* SUBMENU HOVER */
.main-menu .sub-menu li a:hover {
    background: #f5f5f5;
    color: #1e3f7a;
}
@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
}

.mobile-header {
    display: none;
}
.mobile-sidebar,
.sidebar-overlay,
.mobile-menu {
    display: none;
}
@media (max-width: 768px) {

    .mobile-header {
        display: block;
        background-color: #19366b;
        padding-bottom: 10px;
    }

    .mobile-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobile-top::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleY(0.4);
    transform-origin: bottom;
}
    /* ==================================
    menu 
    ======================*/
    .mobile-top .mobile-menu {
        width: 10%;
        display: block;
        align-items: center;       
        justify-content: flex-end;
        
    }
    .menu-icon{
        font-size: 22px;
        color: #fff;
        
    }
    /*menu side bar*/
    
/* ================= SIDEBAR ================= */
.mobile-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #19366b;
    z-index: 9999;
    transition: 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

/* CLOSE BUTTON */
.sidebar-close {
    text-align: right;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    margin-bottom: 20px;
}

/* MENU LIST */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    position: relative;
    list-style: none;
    margin-bottom: 15px;
}

.mobile-menu-list li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleY(0.4);
    transform-origin: bottom;
}

.mobile-menu-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

/* ACTIVE MENU */
.mobile-sidebar .current-menu-item > a,
.mobile-sidebar .current-menu-ancestor > a {
    color: #ffcc00;
    font-weight: bold;
}

/* ================= OVERLAY ================= */
.sidebar-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9998;
}

.sidebar-overlay.active {
    display: block;
}

/* ================= ACCORDION ================= */
.mobile-sidebar .sub-menu {
    display: none;
    padding-left: 15px;
}

.mobile-sidebar li.open > .sub-menu {
    display: block;
}

/* arrow */
.mobile-sidebar li.menu-item-has-children > a::after {
     content: "\f105"; /* right arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    margin-left: 10px;
    float: right;
    transition: transform 0.3s ease;
}

.mobile-sidebar li.open > a::after {
    transform: rotate(90deg);
}

/* HAMBURGER */
.mobile-menu {
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}
    
/*=============logo====================*/
    .mobile-top .mobile-logo {
        width: 60%;
        display: flex; 
        align-items: center;       
        justify-content: center; 
    }
    .mobile-logo img{
    max-height: 90px;
    width: auto;
}
/*=======================================
mobile account and cart to button
========================================*/
    .mobile-top .mobile-icons {
        width: 20%;
        display: flex;
        gap: 25px;
        align-items: center;       
        justify-content: center; 
    }
/*=============search bar====================*/
 /* CONTAINER */
    .mobile-bottom {
        width: 100%;
        padding: 10px 0 0 0;
    }

    /* CENTER WRAPPER */
    .mobile-search {
        width: 100%;
        display: flex;
        justify-content: center;

    }

    /* SEARCH FORM (80%) */
   .mobile-search .mobile-search-form {
        width: 80%;
        display: flex;
        background: #1e3f7a;
        align-items: center;
        border-radius: 40px;
        overflow: hidden;
    }

    /* CATEGORY (25%) */
    .mobile-search-form .mobile-search-category {
        width: 25%;
        border: none;
        background: #294e8a ;
        color: #fff;
        outline: none;
        padding: 8px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-search-category  option {
        color: #000;
        background:#fff;
    }
    
    /* REMOVE FOCUS WHITE BACKGROUND */
    .mobile-search-category:focus,
    .mobile-search-category:active {
        background: #294e8a;
        color: #fff;
        outline: none;
        box-shadow: none;
    }

    /* INPUT (55%) */
    .mobile-search-form input {
    width: 55%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 8px;
    color: #fff!important;
    -webkit-appearance: none;
}

    /* BUTTON (20%) */
    .mobile-search-form button {
        width: 20%;
        border: none;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ICON */
    .mobile-search-form button i {
        font-size: 16px;
    }
}
    /* =========================
   FOOTER MAIN
========================= */
.custom-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 50px;
    font-family: 'Poppins', sans-serif;
}

/* CONTAINER */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px;
}

/* COLUMNS */
.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #38bdf8;
    padding-left: 5px;
}

/* MENU */
.footer-menu li {
    margin-bottom: 8px;
}

/* NEWSLETTER */
.footer-newsletter {
    display: flex;
    gap: 10px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    outline: none;
}

.footer-newsletter button {
    background: #38bdf8;
    color: #000;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    background: #0ea5e9;
}

/* BOTTOM BAR */
.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    font-size: 14px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}