/* ==============================================
   AHMED PAPER DECORATIONS
   Navbar / Header - Complete Standalone CSS
   ============================================== */


/* ==========================================
   HEADER WRAPPER
   ========================================== */

.site-header {
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 200;
    transition: all 0.3s ease;
}

.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: slideDown 0.4s ease;
}

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

.header-spacer {
    display: none;
}

.site-header.is-sticky + .header-spacer {
    display: block;
    height: 80px;
}


/* ==========================================
   HEADER INNER - MAIN FLEX CONTAINER
   ========================================== */

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* ==========================================
   LOGO
   ========================================== */

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header-logo a:hover {
    transform: scale(1.02);
}

.header-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
}

.logo-gold {
    color: #D4AF37;
    margin-left: 4px;
}

.logo-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    color: #737373;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 4px;
}


/* ==========================================
   NAVIGATION MENU
   ========================================== */

.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav-item {
    position: relative;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.header-nav-link:hover,
.header-nav-link.is-active {
    color: #B8941F;
}

.header-nav-link:hover::after,
.header-nav-link.is-active::after {
    width: 70%;
}

.header-nav-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.header-nav-item:hover .header-nav-link i {
    transform: rotate(180deg);
}


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

.header-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    min-width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    border-top: 3px solid #D4AF37;
}

.header-nav-item:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    font-size: 13px;
    color: #404040;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.header-dropdown-item i {
    color: #D4AF37;
    font-size: 10px;
}

.header-dropdown-item:hover {
    background: #F5E6A8;
    color: #000;
    padding-left: 20px;
}

.view-all-link {
    border-top: 1px solid #e5e5e5;
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
}


/* ==========================================
   SEARCH BAR
   ========================================== */

.header-search {
    flex: 0 1 320px;
    max-width: 320px;
}

.header-search-form {
    position: relative;
    width: 100%;
}

.header-search-input {
    width: 100%;
    height: 42px;
    padding: 0 50px 0 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #000;
    background: #F9F9F9;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

.header-search-input::placeholder {
    color: #A3A3A3;
}

.header-search-input:focus {
    background: #fff;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.header-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    border: none;
    color: #000;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-search-btn:hover {
    transform: translateY(-50%) scale(1.05);
}


/* ==========================================
   ACTIONS (Right Side)
   ========================================== */

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-action-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-action-btn:hover {
    background: #F5E6A8;
    color: #B8941F;
    border-color: #D4AF37;
    transform: translateY(-2px);
}

.header-search-toggle {
    display: none;
}

.header-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    background: #D4AF37;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #fff;
    line-height: 1;
}

.header-badge.is-empty {
    display: none;
}


/* ==========================================
   MOBILE MENU TOGGLE
   ========================================== */

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    border-color: #D4AF37;
    background: #F5E6A8;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================
   SEARCH OVERLAY
   ========================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

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

.search-overlay-content {
    width: 90%;
    max-width: 700px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

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

.search-overlay-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: #F3F3F3;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-overlay-close:hover {
    background: #D4AF37;
    color: #fff;
    transform: rotate(90deg);
}

.search-overlay-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #000;
    margin: 0 0 20px;
    text-align: center;
}

.search-overlay-form {
    position: relative;
    margin-bottom: 20px;
}

.search-overlay-input {
    width: 100%;
    height: 55px;
    padding: 0 60px 0 20px;
    font-size: 16px;
    background: #F9F9F9;
    border: 2px solid #D4AF37;
    border-radius: 8px;
    outline: none;
}

.search-overlay-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    border: none;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.search-suggestions {
    max-height: 400px;
    overflow-y: auto;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    transition: background 0.2s;
}

.search-suggestion-item:hover {
    background: #F5E6A8;
}

.search-suggestion-image {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: contain;
    background: #FAFAFA;
    padding: 3px;
}
.search-suggestion-info {
    flex: 1;
}

.search-suggestion-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
}

.search-suggestion-category {
    font-size: 11px;
    color: #737373;
    margin: 0;
}

.search-suggestion-price {
    font-size: 14px;
    font-weight: 700;
    color: #B8941F;
}

.search-no-results {
    text-align: center;
    padding: 30px;
    color: #737373;
}


/* ==========================================
   MOBILE MENU
   ========================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 500;
    overflow-y: auto;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    background: linear-gradient(135deg, #000, #1a1a1a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #D4AF37;
}

.mobile-menu-logo {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #D4AF37;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: #D4AF37;
    color: #000;
    transform: rotate(90deg);
}

.mobile-menu-search {
    padding: 15px;
    background: #F9F9F9;
    border-bottom: 1px solid #E5E5E5;
}

.mobile-menu-search form {
    position: relative;
}

.mobile-menu-search-input {
    width: 100%;
    height: 42px;
    padding: 0 45px 0 15px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #D4D4D4;
    border-radius: 6px;
    outline: none;
}

.mobile-menu-search-input:focus {
    border-color: #D4AF37;
}

.mobile-menu-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    border: none;
    border-radius: 4px;
    color: #000;
    cursor: pointer;
}

.mobile-menu-body {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
}

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

.mobile-menu-nav li {
    border-bottom: 1px solid #F3F3F3;
}

.mobile-menu-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.mobile-menu-nav-link span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-nav-link span i:first-child {
    color: #D4AF37;
    width: 20px;
}

.mobile-menu-nav-link:hover,
.mobile-menu-nav-link.is-active {
    background: #F5E6A8;
    color: #B8941F;
    padding-left: 25px;
}

.mobile-menu-nav-link i.arrow {
    color: #D4AF37;
    transition: transform 0.3s ease;
}

.mobile-menu-nav-link.is-open i.arrow {
    transform: rotate(90deg);
}

.mobile-menu-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #F9F9F9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu-submenu.is-open {
    max-height: 500px;
}

.mobile-menu-submenu-link {
    display: block;
    padding: 12px 20px 12px 50px;
    font-size: 13px;
    color: #404040;
    text-decoration: none;
    border-bottom: 1px solid #E5E5E5;
    transition: all 0.2s ease;
}

.mobile-menu-submenu-link:hover {
    background: #fff;
    color: #B8941F;
    padding-left: 60px;
}

.mobile-menu-footer {
    padding: 20px;
    background: #F9F9F9;
    border-top: 1px solid #E5E5E5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #404040;
    font-size: 13px;
    text-decoration: none;
}

.mobile-menu-contact-item i {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.mobile-menu-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.mobile-menu-social a {
    width: 36px;
    height: 36px;
    background: #000;
    color: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-menu-social a:hover {
    background: #D4AF37;
    color: #000;
    transform: translateY(-3px);
}