/*
Theme Name: Neebvestico Theme
Theme URI: https://neebvestico.com
Author: Neebvestico Team
Description: Custom WordPress Theme for Neebvestico
Version: 5.0.0
Text Domain: neebvestico-theme
*/

/* ==========================================================================
   Reset & Basic Styling
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.utility-bar {
    background-color: #111;
    color: #ddd;
    font-size: 12px;
    padding: 8px 0;
}

.utility-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-links a {
    color: #ddd;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.utility-links a:hover {
    color: #fff;
}

.utility-links .divider {
    margin: 0 8px;
    color: #555;
}

.utility-message {
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 11px;
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px 15px;
}

.site-branding {
    text-align: center;
}

.site-branding a {
    text-decoration: none;
}

.site-branding .site-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111;
    text-transform: uppercase;
}

.site-branding img {
    max-height: 44px;
    width: auto;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.search-toggle,
.cart-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #111;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 50%;
}

/* Category Navigation */
.main-navigation {
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.main-navigation .nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 34px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.main-navigation .nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-navigation .nav-menu a:hover {
    color: #000;
    border-bottom: 1px solid #111;
}

/* Search Bar */
.search-bar {
    max-height: 0;
    overflow: hidden;
    background: #f8f8f8;
    transition: max-height 0.3s ease;
}

.search-bar.active {
    max-height: 80px;
    padding: 12px 0;
}

.search-bar form {
    display: flex;
}

.search-bar input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-bar button {
    padding: 10px 16px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #111;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background-color: #ffffff;
    color: #333;
    padding: 50px 0 0;
    margin-top: 40px;
    border-top: 1px solid #eaeaea;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.2fr 1fr 1.4fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    color: #111;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #000;
    text-decoration: underline;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: #555;
}

.footer-contact-note {
    font-size: 12px;
    color: #888;
    margin-bottom: 14px;
    margin-left: 22px;
}

/* Newsletter */
.footer-newsletter-form {
    display: flex;
    border: 1px solid #ccc;
    margin-bottom: 12px;
}

.footer-newsletter-form input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-size: 12px;
    letter-spacing: 0.5px;
    outline: none;
}

.footer-newsletter-form button {
    background: #111;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-note {
    font-size: 11px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-newsletter-note a {
    color: #555;
    text-decoration: underline;
}

.footer-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-payment-icons span {
    font-size: 10px;
    font-weight: 700;
    color: #444;
    border: 1px solid #ddd;
    padding: 4px 8px;
    border-radius: 3px;
    background: #fafafa;
}

/* Bottom Bar */
.site-footer .site-info {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #eaeaea;
    margin-top: 10px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .menu-toggle {
        display: flex;
    }

    .site-branding .site-title {
        font-size: 20px;
    }

    .main-navigation {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-navigation.active {
        max-height: 400px;
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation .nav-menu a {
        display: block;
        padding: 12px 0;
    }

    .utility-message {
        display: none;
    }
}

@media (max-width: 576px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
