/*
Theme Name: Nexglo
Theme URI: 
Author: gramentheme
Author URI: 
Description: Nexglo - Book Store WooCommerce Theme converted from HTML template
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexglo
Tags: e-commerce, two-columns, custom-menu, custom-logo, featured-images, translation-ready
*/

/*
This file contains the foundational theme declarations.
Actual styling is located in the assets/css directory and enqueued in functions.php.
*/

/* ============================================
   NEXGLO THEME — HEADER & ICON FIXES
   ============================================ */

/* Cart icon circles / borders */
.menu-cart .cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.menu-cart .cart-icon:hover {
    background: var(--theme-color, #e63946);
    border-color: var(--theme-color, #e63946);
    color: #fff;
}

/* Cart count badge */
.menu-cart .cart-icon .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--theme-color, #e63946);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hamburger icon border */
.header-humbager .bar-icon-2 {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-humbager .bar-icon-2:hover {
    background: var(--theme-color, #e63946);
    border-color: var(--theme-color, #e63946);
}

/* Header alignment fixes */
.header-1 .header-main .row.align-items-center {
    min-height: 70px;
}

.header-1 .col.main-menu nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.header-1 .col.main-menu nav > ul > li > a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: color 0.3s;
}

.header-1 .col.main-menu nav > ul > li > a:hover {
    color: var(--theme-color, #e63946);
}

/* Fallback menu styling */
.main-menu nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
}

.main-menu nav ul li a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    white-space: nowrap;
    transition: color 0.3s;
}

.main-menu nav ul li a:hover {
    color: var(--theme-color, #e63946);
}

/* Search box in header */
.search-toggle-box .input-area {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    overflow: hidden;
    padding: 4px 6px 4px 14px;
}

.search-toggle-box .input-area input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    width: 150px;
}

.search-toggle-box .input-area input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-toggle-box .input-area .cmn-btn {
    background: var(--theme-color, #e63946);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
