* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
  --primary-color: #D4AF37;
    --secondary-color: #8b7355;
    --accent-color: #c9a882;
    --card-color: #111827;
    --card-image: #1f2937;
    --text-color: #2d2d2d;
    --text-light: #6b6b6b;
    --text-muted: #9a9a9a;
    --bg-color: #1E1F22;
    --bg-light: #f7f5f2;
    --bg-cream: #faf8f5;
    --border-color: #e5e5e5;
    --success-color: #4a7c59;
    --error-color: #c84b31;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 2px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-image: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/bg-wBhvtu6zwqVC5zAjAWV1Qjx9rS9GZA.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    color: #f5f5f0;
    line-height: 1.6;
}

/* Navigation */
/* Navigation */
.navbar {
    /* Clean white navigation with subtle border */
    color: var(--text-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.45s ease, padding 0.45 ease;

    backdrop-filter: blur(10px);


}
#openSearchBtnMobile{
    color: #fff;
}

.navbar.blure {
    backdrop-filter: blur(10px);
}

.navbar.sticky {
    /* position: fixed; */
    padding: -1px 25px;
    background-color: #252629;
    z-index: 100;
}

.navbar.sticky ul li::before {
    display: none;
    transition: display 0.5s ease-in-out;
}

.navbar.sticky ul {
    gap: 1rem;
    transition: gap 0.5s ease-in-out;
}


.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* Refined logo styling */
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 9px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    /* Minimalist navigation links */
    /* color: var(--text-color); */
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.user {
    background: transparent;
    padding: 3px 18px;
    border: 1px solid #fff;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
}



.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fa-cart-shopping {
    position: relative;
}

.cart-count {
    /* Subtle cart count badge */
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    position: absolute;
    width: 13px;
    height: 13px;
    display: flex;
    align-items: anchor-center;
    justify-content: center;
    top: -8px;
    bottom: 6px;
    left: 13px;
    background: red;
    font-size: 9px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Notification modal styles */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.notification-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 80px;
    padding-right: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    padding: 10px;
}


.notification-content p:nth-child(1) {
    background: linear-gradient(0deg, #D4AF37, #fff 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(0deg, #D4AF37, #fff 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.notification-item:hover {
    background-color: var(--bg-tertiary);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    font-size: 24px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
    color: var(--text-primary) !important;
}

.notification-message {
    font-size: 13px;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: #9ca3af;
}

.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}
.sociale-icones {
    position: relative;
    top: -15px;
}
.btn-secondary {
  background-color: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0 15px;
    border-radius: 12px;
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}
/* Scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background: rgba(15, 30, 35, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #d4af37;
}

.cart-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Main Title */
.page-title {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #f5f5f0;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-title p {
    font-size: 1rem;
    color: rgba(245, 245, 240, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 15px
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cart-items h2 {
    color: #d4af37;
}

.clear-cart-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 5px;
}

.clear-cart {
    margin-right: 10px;
}

.cart-item {
    background: rgba(15, 30, 35, 0.5);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;

}

/* .cart-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        } */

.cart-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    transform: translateY(-2px);
}

.cart-item:hover::before {
    opacity: 1;
}

.item-image {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-name {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #f5f5f0;
}

.item-description {
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.6);
    line-height: 1.5;
}

.item-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.item-price {
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
}

.quantity-btn {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    line-height: 1;
}

.quantity-btn:hover {
    color: #f5f5f0;
    transform: scale(1.2);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-size: 1rem;
    color: #f5f5f0;
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.item-total {
    font-size: 1.5rem;
    font-weight: 400;
    color: #f5f5f0;
    letter-spacing: 0.02em;
}

.remove-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: rgba(245, 245, 240, 0.6);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
    color: #d4af37;
}

/* Order Summary */
.order-summary {
    background: rgba(15, 30, 35, 0.7);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2.5rem;
    position: sticky;
    top: 2rem;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #f5f5f0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1rem;
    color: rgba(245, 245, 240, 0.8);
}

.summary-row.total {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 1rem;
    padding-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f5f5f0;
}

.summary-row .value {
    color: #d4af37;
    font-weight: 500;
}

.promo-code {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.promo-input-group {
    display: flex;
    gap: 0.5rem;
}

.promo-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.875rem 1rem;
    color: #f5f5f0;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.promo-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.promo-input::placeholder {
    color: rgba(245, 245, 240, 0.4);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.apply-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
    padding: 0.875rem 1.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #c9a02e 100%);
    border: none;
    color: #0f1e23;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.checkout-btn:hover::before {
    left: 100%;
}

.secure-checkout {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(245, 245, 240, 0.5);
    letter-spacing: 0.05em;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 6rem 2rem;
    background: rgba(15, 30, 35, 0.5);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.empty-cart h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #f5f5f0;
}

.empty-cart p {
    color: rgba(245, 245, 240, 0.6);
    margin-bottom: 2rem;
}

.continue-shopping {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    color: #d4af37;
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .page-title h1 {
        font-size: 2.5rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .item-image {
        width: 100%;
        height: 200px;
    }

    .item-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .order-summary {
        padding: 1.5rem;
    }

    .promo-input-group {
        flex-direction: column;
    }

    .apply-btn {
        width: 100%;
    }
       footer .flex-left {
        flex-direction: column;
    }
        footer .w-33, footer .w-66
    {
        width: 100% !important;
    }
}
/* modal order*/
.order-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}
.modal-content label{
    background: linear-gradient(0deg, #D4AF37, #fff 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* .modal-content {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    position: relative;
} */

.villes {
    display: flex;
    justify-content: space-between;
}

.villes select {
    position: relative;
    left: -33px;
}

.modal-content label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

/* .modal-content p {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    margin-top: 10px;
} */

.modal-content span {
    color: var(--secondary-text-color);
    font-weight: 500;
    font-size: 14px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.order-modal input {
    width: 90%;
    padding: 10px;
    margin: 10px 0 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-buttons button,
.modal-buttons a {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

 .auth-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    .auth-card {
        position: fixed;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        background: #1e293b;
        padding: 30px 40px;
        border-radius: 16px;
        text-align: center;
        color: #fff;
        z-index: 1000;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
        max-width: 400px;
        width: 90%;
    }
    .auth-card h2 {
        margin-bottom: 15px;
        font-size: 1.5rem;
    }
    .auth-card p {
        margin-bottom: 25px;
        color: #cbd5e1;
    }
    .auth-buttons button {
        margin: 0 10px;
        padding: 10px 20px;
        font-size: 1rem;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    #loginBtn {
        background: #3b82f6;
        color: #fff;
    }
    #loginBtn:hover {
        background: #2563eb;
    }
    #signupBtn {
        background: #10b981;
        color: #fff;
    }
    #signupBtn:hover {
        background: #059669;
    }
    /* succed order*/
    #success-modal .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Modal box */
#success-modal .modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    width: 320px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.5s;
}

/* Icon */
#success-modal .icon {
    font-size: 35px;
    color: #4caf50;
    margin-bottom: 15px;
}

#success-modal.show .modal-box {
    opacity: 1;
}
/* footer */
footer{
    margin-top: 3rem;
    background:#050608;
    padding: 10px 0 0 0;
    font-size: 15px;
    color: #adb7be;
}
footer p{
    line-height: 1.8em;
    background: linear-gradient(0deg, #D4AF37, #fff 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: ruby;
}
footer ul li{
    margin: 3px 0;
}
footer ul li:hover{
    color:var(--secondary-color) ;
    transition: 0.3s;
}
.widget h5{
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    font-family: var(--title-font);
}
footer form  input{
    width: 100%;
    color: #000;
    background:rgba(255, 255, 255, 1.0) ;
    padding: 12px 10px;
    border-radius: 80px 80px 0 80px;
    border: none;
    outline: none;
    font-size: 18px;
    overflow: hidden;
    box-shadow: 2px 2px 20px 0 rgba(255, 255, 255, 0.05);
}
.btn_dollar{
    margin-left: -64px;
    width: 65px;
    height: 46.1px;
    border-radius: 80px 80px 0 80px;
    margin-top: -1px;
}
.sociale-icones a{
    background-color: #333;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

}
.sociale-icones a i{
    color: var(--secondary-color);
}
.gap-2 {
    gap: 2rem;
}
.gap-1 {
    gap: 1rem;
}
.flex-left {
    align-items: flex-start;
    justify-content: flex-start;
}
.flex {
    display: flex;
    align-items: center;
}
.w-66 {
    width: 66.666666%;
}
.mt-1 {
    margin-top: 1rem;
    position: relative;
    bottom: 14px;
}

footer p {
    line-height: 1.8em;
}
.w-33 {
    width: 33.333333%;
}


.mb-1 {
    margin-bottom: 1rem;
}
.mt-2 {
    margin-top: 2rem;
}
footer ul li {
    margin: 3px 0;
}

li {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
/* Popup Card */
.user-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
  transition: transform 0.2s ease;
}

.user-btn:hover {
  transform: scale(1.1);
}

/* Popup overlay */
.user-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none; /* hidden by default */
  justify-content: end;
  align-items: self-start;
  z-index: 1000;
}

/* Popup card */
.popup-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  width: 300px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  animation: pop 0.3s ease;
  margin-top: 7px;
  transform: translateX(300px);
  transition: transform 0.5s ease-in-out;
}

@keyframes pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.popup-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.popup-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.popup-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  background: #007bff;
  transition: background 0.2s;
}

.popup-btn:hover {
  background: #0056b3;
}

.popup-btn.outline {
  background: #fff;
  color: #007bff;
  border: 1px solid #007bff;
}

.popup-btn.outline:hover {
  background: #007bff;
  color: #fff;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
}
/* Search Modal Styles */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-modal.active {
    display: flex;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.search-modal-content {
    position: relative;
    background-color: var(--card-color);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 1000px;
    margin: 0 16px;
    max-height: 85vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.search-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-text-color);
    margin: 0;
}

.close-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #f3f4f6;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.close-btn:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.search-container {
    padding: 5px;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

.search-input {
    width:100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-color);
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
}

.search-input:focus {
    border-color: #20b2aa;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #e5e7eb;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-search-btn:hover {
    background-color: #d1d5db;
    color: #111827;
}

.clear-search-btn.visible {
    display: flex;
}

/* Loading Indicator */
.search-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: #6b7280;
}

.search-loading.visible {
    display: flex;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #20b2aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Search Results */
.search-results {
    display: none;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: white;
}

.search-results.visible {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f9fafb;
}

.result-image {

    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--secondary-color);
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.search-result-item:hover .result-image img {
    transform: scale(1.05);
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-category {
    font-size: 14px;
    color: #6b7280;
}

.result-price {
    font-size: 14px;
    font-weight: 600;
    color: #20b2aa;
}

/* Highlight search terms */
.highlight {
    background-color: rgba(32, 178, 170, 0.2);
    color: #20b2aa;
    font-weight: 600;
}

/* No Results */
.no-results {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.no-results.visible {
    display: block;
}

.no-results-icon {
    width: 64px;
    height: 64px;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.no-results-icon i {
    font-size: 24px;
    color: #9ca3af;
}

.no-results h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.no-results p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Popular Searches */
.popular-searches {
    display: block;
}

.popular-searches.hidden {
    display: none;
}

.popular-searches h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-text-color);
    margin-bottom: 16px;
}

.popular-tags {

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-tag {
    padding: 8px 16px;
    background-color: var(--secondary-color);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.popular-tag:hover {
    background-color: #20b2aa;
    border-color: #20b2aa;
    color: white;
}

.search-results {
    background-color: var(--banner-color);
}

