/* ============================================
   Professional Top Bar Styles - Mobile First
   v2.0 - Apple-style Clean & Minimal Design
   ============================================ */

/* Global Container Max Width */
.apple-nav .container,
.top-bar .container,
.top-bar .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Reset old top-bar styles */
.top-bar .col-left,
.top-bar .col-right,
.top-bar .navbar-nav,
.top-bar .row,
.topbar-promo {
    all: unset;
}

/* Base Top Bar */
.top-bar {
    background: rgba(29, 29, 31, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1000;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}

/* Left Side - Promo Slider */
.top-bar-left {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.top-bar-promo-slider {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
}

.promo-item {
    display: none;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    white-space: nowrap;
    animation: fadeIn 0.4s ease-out;
}

.promo-item.active {
    display: flex;
}

.promo-item svg {
    flex-shrink: 0;
    opacity: 0.7;
    stroke: rgba(255, 255, 255, 0.8);
}

.promo-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Right Side - Actions */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

/* Dropdowns */
.top-bar-dropdown {
    position: relative;
}

.top-bar-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.top-bar-dropdown-btn:hover {
    color: #fff;
}

.top-bar-dropdown.open .top-bar-dropdown-btn {
    color: #fff;
}

.top-bar-dropdown-btn svg {
    transition: transform 0.2s ease;
    opacity: 0.6;
}

.top-bar-dropdown.open .top-bar-dropdown-btn svg:last-child {
    transform: rotate(180deg);
}

.flag-icon {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.currency-symbol {
    font-size: 12px;
    font-weight: 500;
}

/* Dropdown Menu */
.top-bar-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
}

.top-bar-dropdown.open .top-bar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.top-bar-dropdown-menu::before {
    display: none;
}

.top-bar-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.top-bar-dropdown-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.top-bar-dropdown-menu .dropdown-item.active {
    background: #1d1d1f;
    color: #fff;
}

.top-bar-dropdown-menu .dropdown-item.active:hover {
    background: #333;
}

/* Account Menu Specific */
.account-menu {
    min-width: 260px;
    padding: 0;
    overflow: hidden;
}

.account-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #1d1d1f;
    color: #fff;
}

.account-menu-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    object-fit: cover;
}

.account-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.account-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-email {
    font-size: 11px;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-menu-body {
    padding: 6px;
    max-height: 280px;
    overflow-y: auto;
}

.account-menu-body .dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.account-menu-body .dropdown-item:hover svg {
    opacity: 0.8;
}

.menu-badge {
    margin-left: auto;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
}

.account-menu-footer {
    padding: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.account-menu-footer .btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #ff3b30;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.account-menu-footer .btn-logout:hover {
    background: rgba(255, 59, 48, 0.08);
}

/* User Avatar Mini */
.user-avatar-mini {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
}

.user-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Notification Badge */
.notification-badge {
    background: #ff3b30;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 1;
}

/* Divider */
.top-bar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 6px;
}

/* Links */
.top-bar-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.top-bar-link:hover {
    color: #fff;
    text-decoration: none;
}

.top-bar-link svg {
    opacity: 0.7;
}

.top-bar-link:hover svg {
    opacity: 1;
}

/* Login Button - Minimal Apple Style */
.top-bar-login {
    background: transparent;
    border: none;
}

.top-bar-login:hover {
    color: #fff;
}

/* Top Banner */
.top-banner {
    background: #000;
}

.top-bar-banner-container {
    text-align: center;
}

.top-bar-banner-container img {
    max-height: 50px;
    width: auto;
}

/* ============================================
   Tablet Styles (768px and up)
   ============================================ */
@media (min-width: 768px) {
    .top-bar .container-fluid {
        padding: 0 22px;
    }
    
    .promo-item {
        font-size: 12px;
    }
    
    .top-bar-right {
        gap: 4px;
    }
}

/* ============================================
   Desktop Styles (992px and up)
   ============================================ */
@media (min-width: 992px) {
    .top-bar .container-fluid {
        padding: 0 40px;
    }
    
    .top-bar-divider {
        margin: 0 10px;
    }
}

/* ============================================
   Large Desktop Styles (1200px and up)
   ============================================ */
@media (min-width: 1200px) {
    .top-bar .container-fluid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* ============================================
   Mobile Specific (below 768px)
   ============================================ */
@media (max-width: 767.98px) {
    .top-bar-inner {
        min-height: 34px;
    }
    
    .promo-item {
        font-size: 11px;
    }
    
    .promo-item svg {
        width: 14px;
        height: 14px;
    }
    
    .top-bar-dropdown-btn {
        padding: 5px 8px;
    }
    
    .top-bar-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 12px;
        transform: translateY(100%);
    }
    
    .top-bar-dropdown.open .top-bar-dropdown-menu {
        transform: translateY(0);
    }
    
    .account-menu {
        min-width: 100%;
        max-height: 75vh;
        overflow-y: auto;
    }
    
    .account-menu-body {
        max-height: none;
    }
    
    .top-bar-link {
        padding: 5px 8px;
    }
    
    .flag-icon {
        width: 14px;
        height: 11px;
    }
}

/* ============================================
   Accessibility & Reduced Motion
   ============================================ */
.top-bar-dropdown-btn:focus,
.top-bar-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

.top-bar-dropdown-menu .dropdown-item:focus {
    outline: 2px solid #1d1d1f;
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .promo-item {
        animation: none;
    }
    
    .top-bar-dropdown-menu,
    .top-bar-dropdown-btn svg,
    .top-bar-dropdown-btn,
    .top-bar-link,
    .dropdown-item {
        transition: none;
    }
}

/* ============================================
   Header Nav Icons - Apple Style
   ============================================ */

/* ============================================
   Apple-style Navigation Bar (Single Bar)
   ============================================ */
.apple-nav {
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.apple-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 48px;
}

/* Logo in Nav */
.apple-nav-logo {
    flex-shrink: 0;
}

.apple-nav-logo a {
    display: block;
    line-height: 0;
}

.apple-nav-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.apple-nav-logo a:hover img {
    opacity: 0.7;
}

/* Navigation Menu */
.apple-nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Actions */
.apple-nav-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.apple-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #1d1d1f;
    font-size: 18px;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.apple-nav-icon:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #1d1d1f;
    text-decoration: none;
}

.apple-nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ff3b30;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   Search Overlay - Full Page Apple Style
   ============================================ */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 29, 31, 0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-container {
    width: 100%;
    max-width: 720px;
    padding: 0 24px;
    position: relative;
}

/* Close Button - Top Right */
.search-overlay-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10001;
}

.search-overlay-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.search-overlay-close i {
    font-size: 14px;
}

/* Search Content */
.search-overlay-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.search-overlay-title {
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

/* Search Form */
.search-overlay-form {
    position: relative;
}

.search-overlay-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-overlay-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0 20px;
    gap: 14px;
    transition: all 0.2s ease;
}

.search-overlay-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.search-overlay-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    flex-shrink: 0;
}

.search-overlay-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

.search-overlay-input:focus {
    outline: none;
}

.search-overlay-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Search Button */
.search-overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    flex-shrink: 0;
}

.search-overlay-btn:hover {
    background: #0077ed;
    transform: scale(1.02);
}

.search-overlay-btn i {
    font-size: 16px;
}

/* Search Results */
.search-overlay .search-results-ajax {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: 50vh;
    overflow-y: auto;
}

.search-overlay .search-results-ajax ul {
    padding: 8px;
    margin: 0;
}

.search-overlay .search-results-ajax ul li a {
    border-radius: 10px;
    transition: background 0.15s ease;
}

.search-overlay .search-results-ajax ul li a:hover {
    background: #f5f5f7;
}

/* Quick Links Section */
.search-overlay-quick {
    margin-top: 48px;
    text-align: center;
}

.search-quick-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

.search-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.search-quick-link {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

.search-quick-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Body scroll lock */
body.search-overlay-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .search-overlay {
        padding-top: 10vh;
    }
    
    .search-overlay-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .search-overlay-input-group {
        flex-direction: column;
    }
    
    .search-overlay-input-wrapper {
        width: 100%;
    }
    
    .search-overlay-btn {
        width: 100%;
    }
    
    .search-overlay-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    
    .search-overlay-quick {
        margin-top: 32px;
    }
}

/* Override old nav styles */
.apple-nav-menu .top-navbar-inline,
.apple-nav-menu .nav-main {
    width: 100%;
}

.apple-nav-menu .top-navbar-inline > ul,
.apple-nav-menu .nav-main > ul,
.apple-nav-menu .mega-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.apple-nav-menu .top-navbar-inline > ul > li > a,
.apple-nav-menu .nav-main > ul > li > a,
.apple-nav-menu .mega-menu > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 0;
    transition: color 0.15s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    background: transparent;
}

.apple-nav-menu .top-navbar-inline > ul > li > a:hover,
.apple-nav-menu .nav-main > ul > li > a:hover,
.apple-nav-menu .mega-menu > .nav-item > .nav-link:hover {
    color: #06c;
    background: transparent;
    text-decoration: none;
}

.apple-nav-menu .top-navbar-inline > ul > li.active > a,
.apple-nav-menu .nav-main > ul > li.active > a {
    color: #1d1d1f;
    font-weight: 500;
}

/* Dropdown styles */
.apple-nav-menu .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px;
    margin-top: 8px;
    min-width: 200px;
}

.apple-nav-menu .dropdown-menu .dropdown-item {
    padding: 10px 14px;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 400;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.apple-nav-menu .dropdown-menu .dropdown-item:hover {
    background: #f5f5f7;
    color: #1d1d1f;
}

/* Hide desktop nav on mobile */
@media (max-width: 991.98px) {
    .apple-nav,
    .search-overlay {
        display: none;
    }
}

/* Desktop adjustments */
@media (min-width: 992px) {
    .apple-nav-logo img {
        height: 40px;
    }
    
    .apple-nav-inner {
        height: 52px;
    }
}

@media (min-width: 1200px) {
    .apple-nav-menu .mega-menu > .nav-item > .nav-link,
    .apple-nav-menu .top-navbar-inline > ul > li > a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Old class overrides - Reset conflicting styles */
.main-menu {
    display: none !important;
}

.nav-top {
    display: none !important;
}

.nav-categories-bar {
    display: none !important;
}

/* ============================================
   Apple-style Mega Menu Override
   ============================================ */
.apple-nav-menu .mega-menu {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 0;
}

.apple-nav-menu .mega-menu .nav-item {
    position: static;
}

.apple-nav-menu .mega-menu > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 0;
    transition: color 0.15s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    background: transparent;
    border: none;
}

.apple-nav-menu .mega-menu > .nav-item > .nav-link:hover {
    color: #06c;
    background: transparent;
}

.apple-nav-menu .mega-menu > .nav-item > .nav-link::before,
.apple-nav-menu .mega-menu > .nav-item > .nav-link::after {
    display: none !important;
}

/* Mega Menu Dropdown */
.apple-nav-menu .mega-menu .dropdown .dropdown-menu,
.apple-nav-menu .mega-menu .mega-menu-content {
    position: fixed;
    left: 0;
    right: 0;
    top: 48px; /* Height of nav */
    width: 100%;
    max-width: 100%;
    background: rgba(251, 251, 253, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 28px 40px;
    margin: 0;
    display: none;
    animation: appleMenuFadeIn 0.2s ease;
}

@keyframes appleMenuFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.apple-nav-menu .mega-menu .dropdown:hover > .dropdown-menu,
.apple-nav-menu .mega-menu .nav-item:hover > .mega-menu-content {
    display: block;
}

/* Subcategories */
.apple-nav-menu .mega-menu .menu-subcategories {
    text-align: left;
    min-height: auto;
}

.apple-nav-menu .mega-menu .menu-subcategories .card-columns {
    column-count: 5;
    column-gap: 24px;
}

.apple-nav-menu .mega-menu .menu-subcategories .card-columns .card {
    border: none !important;
    background: transparent;
    margin-bottom: 20px;
    break-inside: avoid;
}

.apple-nav-menu .mega-menu .menu-subcategories .second-category {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: none;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    transition: color 0.15s ease;
}

.apple-nav-menu .mega-menu .menu-subcategories .second-category:hover {
    color: #06c;
    border-color: transparent;
}

.apple-nav-menu .mega-menu .menu-subcategories ul {
    padding: 0;
    margin: 0;
}

.apple-nav-menu .mega-menu .menu-subcategories ul li {
    list-style: none;
    margin-bottom: 2px;
}

.apple-nav-menu .mega-menu .menu-subcategories ul li a {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #86868b;
    padding: 2px 0;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    transition: color 0.15s ease;
}

.apple-nav-menu .mega-menu .menu-subcategories ul li a:hover {
    color: #06c;
    text-decoration: none;
    border: none;
}

.apple-nav-menu .mega-menu .menu-subcategories .link-view-all {
    color: #06c;
    font-weight: 500;
    margin-top: 4px;
}

/* Category Images */
.apple-nav-menu .mega-menu .col-category-images {
    display: none;
}

/* More Items Dropdown */
.apple-nav-menu .mega-menu .dropdown-menu-more-items {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    padding: 8px !important;
    margin-top: 8px !important;
}

.apple-nav-menu .mega-menu .dropdown-menu-more-items a {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #1d1d1f;
    margin: 0;
    transition: background 0.15s ease;
}

.apple-nav-menu .mega-menu .dropdown-menu-more-items a:hover,
.apple-nav-menu .mega-menu .dropdown-menu-more-items a:focus {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #1d1d1f !important;
}

/* ============================================
   Page Hero Banner - Apple Style
   ============================================ */
.page-hero-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #1d1d1f;
    margin-bottom: 0;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.page-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 0;
    z-index: 3;
}

.page-hero-content .nav-breadcrumb,
.page-hero-content .apple-breadcrumb {
    padding: 0;
    margin-bottom: 12px;
}

.page-hero-content .breadcrumb-hero {
    background: transparent !important;
    padding: 0;
    margin: 0;
}

.page-hero-content .breadcrumb-hero .breadcrumb-item,
.page-hero-content .breadcrumb-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 400;
}

.page-hero-content .breadcrumb-hero .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: none;
}

.page-hero-content .breadcrumb-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero-content .breadcrumb-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "›";
    font-size: 14px;
    padding: 0 8px;
}

.page-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Page Content Wrapper */
.page-content-wrapper {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-content-wrapper .page-text-content {
    font-size: 17px;
    line-height: 1.7;
    color: #1d1d1f;
}

.page-content-wrapper .page-text-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.page-content-wrapper .page-text-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.page-content-wrapper .page-text-content p {
    margin-bottom: 20px;
}

.page-content-wrapper .page-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.page-content-wrapper .page-text-content a {
    color: #06c;
    text-decoration: none;
}

.page-content-wrapper .page-text-content a:hover {
    text-decoration: underline;
}

/* Responsive Page Hero */
@media (max-width: 991px) {
    .page-hero-banner {
        height: 320px;
    }
    
    .page-hero-title {
        font-size: 36px;
    }
    
    .page-hero-content {
        padding: 30px 0;
    }
    
    .page-content-wrapper {
        padding: 40px 20px;
    }
}

@media (max-width: 767px) {
    .page-hero-banner {
        height: 280px;
    }
    
    .page-hero-title {
        font-size: 28px;
    }
    
    .page-hero-content {
        padding: 24px 0;
    }
    
    .page-content-wrapper {
        padding: 30px 15px;
    }
    
    .page-content-wrapper .page-text-content {
        font-size: 16px;
    }
    
    .page-content-wrapper .page-text-content h2 {
        font-size: 24px;
        margin-top: 32px;
    }
    
    .page-content-wrapper .page-text-content h3 {
        font-size: 20px;
        margin-top: 24px;
    }
}
