/**
 * Top Header Bar Styling
 * Contact info, tagline, and account/cart links
 * Now scrolls with the page (no fixed/sticky positioning)
 */

.elementor-10 {
    margin: 0; /* Removed top margin */
}

.elementor-10 .elementor-element.elementor-element-76f134e .eael-simple-menu-toggle-text {
    color: #ffffff00 !important;
}
.eael-simple-menu-toggle-text {
    visibility: hidden !important;
}

.dsvd-top-header-bar {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 10px 0;
    font-size: 13px;
    z-index: 9999 !important;
}

.top-header-container {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    justify-items: center;
}

/* Left: Contact Info */
.top-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: start;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f4f3f2;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.contact-link:hover {
    color: #c7a17a;
}

.contact-link i {
    font-size: 16px;
    min-width: 16px;
    text-align: center;
}

.contact-text {
    font-weight: 500;
}

.phone-link {
    border-right: 1px solid #555;
    padding-right: 20px;
}

.whatsapp-link {
    padding-left: 0;
}

/* Center: Tagline */
.top-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline {
    color: #999;
    font-size: 12px;
    font-style: italic;
    text-align: center;
    max-width: 400px;
}

/* Right: Account & Cart */
.top-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.account-link,
.logout-link,
.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f4f3f2;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 3px;
    white-space: nowrap;
}

.account-link:hover,
.logout-link:hover,
.cart-link:hover {
    color: #c7a17a;
    background: rgba(255, 0, 0, 0.1);
}

.account-link i,
.cart-link i {
    font-size: 14px;
    min-width: 14px;
    text-align: center;
}

.account-text {
    font-weight: 500;
}

.logout-text {
    font-size: 12px;
    color: #999;
}

.logout-link:hover .logout-text {
    color: #c7a17a;
}

/* Cart Badge */
.cart-link {
    position: relative;
}

.cart-count {
    background: #c7a17a;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Removed margin on .elementor-10 */
    .top-header-container {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
    }

    .contact-text,
    .account-text {
        display: none;
    }

    .contact-link,
    .account-link,
    .logout-link,
    .cart-link {
        padding: 5px;
    }

    .phone-link {
        border-right: none;
        padding-right: 0;
        padding-left: 8px;
    }

    .tagline {
        font-size: 11px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    /* Removed margin on .elementor-10 and fixed styles */
    .dsvd-top-header-bar {
        background: #1a1a1a;
        border-bottom: 1px solid #333;
        padding: 8px 0 0;
        /* Removed position: fixed, top, etc. */
        font-size: 13px;
    }

    .top-header-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 15px;
    }

    .top-header-left,
    .top-header-center,
    .top-header-right {
        width: 100%;
        justify-self: center;
    }

    .top-header-left {
        justify-content: center;
        border-bottom: 1px solid #333;
        padding: 0 0 5px 0;
        gap: 15px;
    }

    .top-header-right {
        justify-content: center;
        padding: 2px 0;
        border-top: 1px solid #333;
        gap: 15px;
    }

    .tagline {
        font-size: 11px;
        max-width: 100%;
        padding: 5px 0;
    }

    .contact-link {
        padding: 0;
    }

    .phone-link {
        border-right: none;
        padding-right: 0;
    }

    .contact-link, .account-link, .logout-link, .cart-link {
        padding: 0px;
    }

    .cart-count {
        background: #c7a17a;
        color: white;
        border-radius: 50%;
        width: 0;
        height: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 7px;
        font-weight: bold;
        position: absolute;
        top: -1px;
        right: -8px;
        min-width: 12px;
    }
}

@media (max-width: 480px) {
    /* Removed margin on .elementor-10 */
    .dsvd-top-header-bar {
        padding: 8px 0;
        font-size: 12px;
    }

    .top-header-container {
        padding: 0 10px;
    }

    .contact-icon,
    .account-icon,
    .cart-icon {
        font-size: 14px;
    }

    .top-header-left,
    .top-header-right {
        gap: 12px;
    }

    .tagline {
        font-size: 10px;
    }
}