/* ==========================================================================
   DROPDOWN MENU STYLES
   ========================================================================== */

/* Dropdown container */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
    margin-top: 10px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Show dropdown on hover */
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

/* Dropdown items */
.nav-dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    text-decoration: none;
    color: var(--index-charcoal, #2C2625);
    border-radius: 8px;
    transition: all 0.2s ease;
    margin: 0.25rem 0;
}

.nav-dropdown-item:hover {
    background: rgba(201, 74, 42, 0.05);
    transform: translateX(5px);
}

.nav-dropdown-item strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--index-primary, #C94A2A);
    margin-bottom: 0.25rem;
}

.nav-dropdown-item span {
    font-size: 0.85rem;
    color: var(--index-secondary, #6B6B6B);
    line-height: 1.3;
}

/* Disabled dropdown items */
.nav-dropdown-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-dropdown-disabled:hover {
    background: transparent;
    transform: none;
}

/* Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Arrow indicator */
.nav-dropdown .nav-link::after {
    content: "";
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

/* Mobile responsive */
@media (max-width: 1100px) {
    .nav-dropdown {
        display: none;
    }
}

/* Mobile menu product section */
.mobile-nav-section {
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

.mobile-nav-section-title {
    display: block;
    font-weight: 600;
    color: var(--index-primary, #C94A2A);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-sub {
    padding-left: 1.5rem !important;
    font-size: 0.9rem;
    position: relative;
}

.mobile-nav-sub::before {
    content: "→";
    position: absolute;
    left: 0.5rem;
    color: var(--index-secondary, #6B6B6B);
}