/* --- 1. BACKGROUND AND FULL TRANSPARENCY --- */

/* Gradient Background (White to Metallic Blue) */
body {
    background: linear-gradient(to bottom, #FFFFFF, #B0D3F5) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important; 
    background-color: #FFFFFF !important;
}

/* Force Transparency on all major containers */
#wrapper,
#content-wrapper,
.page-wrapper,
#header,
.header-container,
.nav-container,
.main-header,
.header-top,
.header-nav,
#footer,
.footer-container,
.container,
.header-top .row,
.header-nav .row,
.page-header,
.content-area,
.card,
#content {
    background-color: transparent !important;
    background: transparent !important;
}

/* --- 2. USER OPTIONS DROPDOWN STYLING (#user-options-wrapper) --- */

/* Positioning container */
#user-options-wrapper {
    position: relative; 
    display: inline-block; 
    z-index: 1000; 
    float: right; 
    margin-right: 15px;
    transition: all 0.3s ease-in-out !important;
}

/* Button/Icon style */
#user-options-button {
    font-size: 24px;
    padding: 5px 8px;
    display: block;
    color: #4A4A4A; 
}
#user-options-button:hover {
    color: #3C763D; 
}

/* Dropdown Menu - Hide and Style */
#user-options-menu {
    display: none !important; 
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 250px; 
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    padding: 10px;
}

/* SHOW on HOVER */
#user-options-wrapper:hover #user-options-menu {
    display: block !important;
}

/* Inner item structure (Login/Register links) */
.user-option-item {
    border-bottom: 1px solid #EEEEEE;
    padding: 5px 0;
    font-size: 14px; 
}
.user-option-item:last-child {
    border-bottom: none;
}

/* Ensure inner links/elements take up full width vertically */
.user-option-item > *,
.user-option-item a {
    display: block !important; 
    width: 100% !important;
    padding: 5px 0;
    text-decoration: none;
    color: #4A4A4A;
}

/* Style for icons in manual links */
.user-option-item a i {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

/* --- 3. LANGUAGE AND CURRENCY STYLES (displayNav1) - COMPACT ICONS --- */

.user-option-item.top-options {
    /* Ensures this section itself doesn't take up much vertical space */
    padding: 0;
    margin-bottom: 10px;
}

/* Forced on one line and inline */
.user-option-item.top-options #_desktop_language_selector,
.user-option-item.top-options #_desktop_currency_selector {
    display: inline-block !important; 
    padding: 0 5px; 
}

/* Hide the text label for language/currency, leaving only flag/symbol */
.user-option-item.top-options .dropdown-toggle .caret,
.user-option-item.top-options .dropdown-toggle span:not(.flag) {
    display: none !important;
}

/* Ensure current selection shows flag/symbol */
.user-option-item.top-options .dropdown-toggle {
    padding: 5px;
    line-height: 1;
}

/* Styling for flags */
.user-option-item img.flag {
    width: 20px; 
    height: auto;
    margin-right: 0px; /* Remove margin to make it tighter */
    vertical-align: middle;
}

/* Reduce size of module dropdowns inside the main dropdown (for selecting new language/currency) */
.user-option-item .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding: 0;
}
.user-option-item .dropdown-menu li a {
    padding: 5px 10px; 
}


/* --- 4. SHOPPING CART STYLING (Icon Only) --- */

/* Position the cart icon next to the user options */
#_desktop_cart {
    position: relative;
    float: right; 
    margin-right: 15px;
    padding-top: 5px; 
    line-height: 1;
}

/* Hide the text "Cart" */
#_desktop_cart .header > span,
#_desktop_cart .header .cart-title,
#_desktop_cart .header .shopping-cart,
#_desktop_cart .header .text-xs-center { 
    display: none !important;
}

/* Style the cart icon and count */
#_desktop_cart .header i {
    font-size: 24px;
    color: #4A4A4A;
}
#_desktop_cart .header .cart-products-count {
    background: #24b9d7; 
    color: white; 
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
    position: absolute;
    top: 0;
    right: 0;
}