/* ==============================================
   ONE NAV HEADER - BASE STYLES
   ============================================== */
   .oe-nav-header {
    position: relative;
    width: 100%;
    border-top: 3px solid #8B4513;
    border-bottom: 3px solid #8B4513;
}

.oe-nav-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* ==============================================
   ANIMATED INNER BORDER
   ============================================== */
.oe-nav-header-inner.has-animated-border {
    --border-duration: 1000ms;
}

.oe-nav-header-inner.has-animated-border::before,
.oe-nav-header-inner.has-animated-border::after {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #8B4513;
    z-index: 0;
}

.oe-nav-header-inner.has-animated-border::before {
    top: 0;
}

.oe-nav-header-inner.has-animated-border::after {
    bottom: 0;
}

/* Hide borders based on position */
.oe-nav-header-inner.has-animated-border[data-border-position="top"]::after {
    display: none;
}

.oe-nav-header-inner.has-animated-border[data-border-position="bottom"]::before {
    display: none;
}

/* Trigger animation when class is added */
.oe-nav-header-inner.has-animated-border.animating::before,
.oe-nav-header-inner.has-animated-border.animating::after {
    animation: oe-border-slide var(--border-duration, 1000ms) ease-out forwards;
}

/* Animation keyframes */
@keyframes oe-border-slide {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ==============================================
   NAVIGATION SECTIONS
   ============================================== */
.oe-nav-section {
    flex: 1;
    z-index: 2;
}

.oe-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.oe-nav-item {
    list-style: none;
    margin: 0;
}

.oe-nav-link {
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* ==============================================
   LEFT MENU
   ============================================== */
.oe-nav-left .oe-nav-menu {
    justify-content: flex-start;
    padding-right: 40px;
}

/* ==============================================
   LOGO CENTER
   ============================================== */
.oe-nav-logo {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1025px) {
    .oe-nav-logo {
        max-width: 25%;
    }
}
.oe-nav-logo a {
    display: block;
    text-decoration: none;
}

.oe-nav-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .oe-nav-logo img {
        max-height: 50px;
        width: auto;
        object-fit: contain;
    }
}

.oe-nav-logo-text {
    display: block;
    font-weight: bold;
    letter-spacing: 8px;
    white-space: nowrap;
}

/* ==============================================
   RIGHT MENU
   ============================================== */
.oe-nav-right .oe-nav-menu {
    justify-content: flex-end;
    padding-left: 40px;
}

/* ==============================================
   CART WRAPPER
   ============================================== */
.oe-nav-cart-item {
    position: relative;
    z-index: 10;
}

.oe-nav-cart-wrapper {
    position: relative;
    z-index: 100;
}

.oe-nav-cart-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.oe-nav-cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.oe-nav-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.oe-nav-cart-icon i,
.oe-nav-cart-icon svg {
    transition: all 0.3s ease;
}

/* ==============================================
   CART COUNT BADGE
   ============================================== */
.oe-nav-cart-count {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    transition: all 0.3s ease;
}

.oe-nav-cart-count[data-count="0"] {
    display: none;
}

/* Count Positions */
.oe-count-top-right {
    top: -8px;
    right: -8px;
}

.oe-count-top-left {
    top: -8px;
    left: -8px;
}

.oe-count-bottom-right {
    bottom: -8px;
    right: -8px;
}

.oe-count-bottom-left {
    bottom: -8px;
    left: -8px;
}

.oe-count-inline-right {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 8px;
}

/* ==============================================
   CART SUBTOTAL
   ============================================== */
.oe-nav-cart-subtotal {
    margin-left: 10px;
    font-weight: 600;
}

/* ==============================================
   CART DROPDOWN
   ============================================== */
.oe-nav-cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999999;
}

.oe-nav-cart-wrapper:hover .oe-nav-cart-dropdown,
.oe-nav-cart-dropdown:hover,
.oe-nav-cart-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.oe-nav-cart-dropdown-inner {
    padding: 20px;
}

/* Cart Header */
.oe-nav-cart-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.oe-nav-cart-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Cart Items */
.oe-nav-cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.oe-nav-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.oe-nav-cart-item:hover {
}

.oe-nav-cart-item + .oe-nav-cart-item {
    margin-top: 10px;
}

.oe-nav-cart-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.oe-nav-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oe-nav-cart-item-details {
    flex: 1;
    min-width: 0;
}

.oe-nav-cart-item-title {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}

.oe-nav-cart-item-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.oe-nav-cart-item-title a:hover {
    color: #8B4513;
}

.oe-nav-cart-item-quantity {
    font-size: 13px;
    color: #666;
}

.oe-nav-cart-item-price {
    font-weight: 600;
    color: #8B4513;
}

.oe-nav-cart-item-remove {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    font-size: 20px;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.oe-nav-cart-item-remove:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* Cart Footer */
.oe-nav-cart-footer {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.oe-nav-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.oe-nav-cart-total-label {
    color: #666;
}

.oe-nav-cart-total-amount {
    color: #8B4513;
    font-size: 18px;
}

.oe-nav-cart-view-btn,
.oe-nav-cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.oe-nav-cart-view-btn {
    background-color: #f8f8f8;
    color: #333;
    margin-bottom: 10px;
}

.oe-nav-cart-view-btn:hover {
    background-color: #e0e0e0;
}

.oe-nav-cart-checkout-btn {
    background-color: #8B4513;
    color: #fff;
}

.oe-nav-cart-checkout-btn:hover {
    background-color: #5d2e0f;
    color: #fff;
}

/* Empty Cart */
.oe-nav-cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* ==============================================
   ANIMATIONS
   ============================================== */
.oe-nav-animated .oe-nav-left {
    animation-name: slideInFromLeft;
    animation-fill-mode: both;
}

.oe-nav-animated .oe-nav-logo {
    animation-name: slideInFromTop;
    animation-fill-mode: both;
}

.oe-nav-animated .oe-nav-right {
    animation-name: slideInFromRight;
    animation-fill-mode: both;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
    /* Hide desktop navigation sections */
    .oe-nav-left .oe-nav-menu,
    .oe-nav-right .oe-nav-menu {
        display: none !important;
    }

    /* Mobile header layout - single row */
    .oe-nav-header-inner {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
        gap: 10px;
        padding: 15px 20px;
    }

    /* Reset flex for sections */
    .oe-nav-section {
        display: flex;
        align-items: center;
    }

    /* Left section - Menu icon */
    .oe-nav-left {
        display: flex !important;
        order: 1;
        justify-content: flex-start;
    }

    /* Mobile menu toggle */
    .oe-mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    /* Logo center */
    .oe-nav-logo {
        order: 2;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-bottom: 0 !important;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }

    .oe-nav-logo img {
        max-height: 50px;
        width: auto;
    }

    /* Right section - Cart only */
    .oe-nav-right {
        display: flex !important;
        order: 3;
        justify-content: flex-end;
    }

    .oe-nav-right .oe-nav-menu {
        display: flex !important;
        padding: 0;
    }

    /* Hide non-cart items in mobile */
    .oe-nav-right .oe-nav-item:not(.oe-nav-cart-item),
    .oe-nav-left .oe-nav-item {
        display: none !important;
    }

    /* Show cart item */
    .oe-nav-cart-item {
        display: flex !important;
    }
}

/* Show mobile toggle only on mobile */
.oe-mobile-menu-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .oe-mobile-menu-toggle {
        display: flex;
    }
}

/* ==============================================
   MOBILE FLYOUT MENU
   ============================================== */
.oe-mobile-menu-flyout {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    background: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.oe-mobile-menu-flyout.active {
    left: 0;
}

.oe-mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.oe-mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.oe-mobile-menu-close:hover, .oe-mobile-menu-close:focus {
    background: transparent;
    transform: rotate(90deg);
}

.oe-mobile-menu-close svg {
    display: block;
    width: 24px;
    height: 24px;
}

.oe-mobile-menu-content {
    padding: 20px 0;
}

.oe-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oe-mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.oe-mobile-menu-item .oe-nav-link {
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.oe-mobile-menu-item .oe-nav-link:hover {
    background-color: #f8f8f8;
}

/* Mobile menu overlay */
.oe-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.oe-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==============================================
   STICKY HEADER
   ============================================== */
.oe-nav-header.oe-nav-sticky {
    transition: all 0.3s ease;
}

.oe-nav-header.oe-nav-sticky.stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
    .oe-nav-cart-dropdown {
        right: -50%;
        transform: translateX(50%);
    }

    .oe-nav-cart-dropdown.show {
        display: block;
        transform: translateX(50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .oe-nav-cart-dropdown {
        width: 320px;
    }
}