/* =========================================
   Container ( Dark Blue Bar)
   ========================================= */
.custom-megamenu {
    background: #FF6F91 !important;
    width: 100%;
    border-bottom: none;
}

/* =========================================
   Top Level Items (The Main Categories)
   ========================================= */
.mega-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 15px; /* Slight padding on the sides */
    justify-content: flex-start; /* Align left like Amazon */
}

.mega-menu-list > li.category-item {
    position: relative;
    padding: 0; /* Remove padding here, put on anchor */
}

.mega-menu-list > li.category-item > a {
    display: block;
    text-decoration: none;
    color: #ffffff; /* White text */
    font-weight: 700; /* Bold */
    font-size: 14px;
    padding: 12px 15px;
    transition: background-color 0.2s ease;
    border: 1px solid transparent; /* Prevents jumping on hover */
}

/* Hover effect for Top Level: Lighter Blue border/bg */
.mega-menu-list > li.category-item:hover > a {
    background-color: #2d2d2d; 
    border-color: #555;
    color: #ffffff;
}

/* =========================================
   Dropdown Submenu
   ========================================= */
.submenu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff; /* White background */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    min-width: 250px;
    z-index: 1000;
    padding: 15px;
    border-radius: 0 0 4px 4px;
    text-align: left;
}

/* Show Submenu on Hover */
.mega-menu-list > li.category-item:hover .submenu {
    display: block;
}

/* =========================================
   Submenu Items (Children)
   ========================================= */
.submenu ul.level1 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu li.child-item a {
    display: block;
    padding: 8px 0;
    color: #333333; /* Dark Grey text */
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s;
    border-bottom: 1px solid #eeeeee; /* Light separator lines */
}

.submenu li.child-item:last-child a {
    border-bottom: none;
}

/* Hover effect for Children: 
.submenu li.child-item a:hover {
    color: #ff9900; /* Amazon Orange */
    background: none;
}

.page-footer {
    background-color: #2d2d2d !important; 
    padding: 0 !important;
    margin-top: 60px !important;
}

.trust-bar {
    background-color: #f3f3f3 !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    padding: 30px 0 !important;
    width: 100% !important;
}
.trust-bar .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    flex-wrap: nowrap !important;
}

.trust-bar .trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
}
.trust-bar .trust-item .icon { 
    font-size: 24px; 
    color: #FF69B4; 
}
.trust-bar .trust-item .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.trust-bar .trust-item .text strong { 
    color: #333; 
    font-size: 14px; 
    font-family: Arial, sans-serif; 
}

.trust-bar .trust-item .text span { 
    color: #666; 
    font-size: 12px; 
    font-family: Arial, sans-serif; 
}

.professional-footer {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    padding: 60px 0 40px !important;
}

.professional-footer .footer-content {
    display: flex !important;
    flex-direction: row !important; 
    justify-content: space-between !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    flex-wrap: wrap !important;
}

/* Columns */
.professional-footer .footer-col {
    flex: 1 !important;
    min-width: 250px !important;
    margin-bottom: 30px !important;
}

/* Titles */
.professional-footer .footer-col h3.footer-title {
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Text Paragraphs */
.professional-footer .footer-col p { 
    color: #ccc; 
    font-size: 14px; 
    line-height: 1.6; 
    font-family: Arial, sans-serif;
    margin-bottom: 15px;
}

/* Links */
.professional-footer .footer-col ul li a {
    color: #ddd !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-family: Arial, sans-serif !important;
}

.professional-footer .footer-col ul li a:hover { 
    color: #fff !important; 
    text-decoration: underline !important; 
}

.professional-footer .footer-newsletter {
    display: flex !important;
    flex-direction: row !important;
    margin-top: 15px;
}

.professional-footer .footer-newsletter input {
    flex: 1 !important;
    height: 45px !important;
    border-radius: 4px 0 0 4px !important;
    border: none !important;
    padding: 0 15px !important;
    font-size: 14px !important;
}

.professional-footer .footer-newsletter button {
    background-color: #febd69 !important;
    border: none !important;
    height: 45px !important;
    padding: 0 25px !important;
    border-radius: 0 4px 4px 0 !important;
    font-weight: bold !important;
    color: #111 !important;
}

/* Use a real color instead of 'darken' */
.professional-footer .footer-newsletter button:hover { 
    background-color: #f5a623 !important; 
}

.footer-bottom {
    background-color: #1a232e !important;
    padding: 30px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.footer-bottom .copyright {
    color: #999 !important;
    font-size: 13px !important;
    font-family: Arial, sans-serif;
}

.footer-bottom .payment-icons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.footer-bottom .payment-icons .card {
    background: rgba(255,255,255,0.1);
    color: #eee;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
/* --- Header Fix --- */
.page-header {
    background-color: #FF69B4 !important;
}

.block-search .control input {
    border-radius: 4px 0 0 4px !important;
    height: 40px !important;
}

.block-search .action.search {
    background-color: #febd69 !important;
    border-radius: 0 4px 4px 0 !important;
    height: 40px !important;
}

/* --- Product Cards Fix --- */
.products-grid .product-item {
    background: #fff !important;
    border: 1px solid #e7e7e7 !important;
    padding: 15px !important;
}

.products-grid .product-item .action.tocart {
    background: #ffd814 !important;
    border-radius: 20px !important;
}