/*
Theme Name: Astra Child - Eyetech ELV
Template: astra
Description: Child theme for eyetechelv.com with custom header (top bar, cart icon, quote CTA, sticky header)
Version: 1.0.0
Author: Chaveen
*/

/* =========================
   BRAND COLORS
   Sampled from the EyeTech ELV
   logo (light cyan -> mid blue
   -> navy pupil).
   ========================= */
:root {
    --eyetech-navy: #0b1e5a;
    --eyetech-blue: #3a7cca;
    --eyetech-cyan: #59c8ee;
    --eyetech-charcoal: #1a1a1a;
    --eyetech-accent: #f2994a; /* warm amber - contrasts against the blue logo, used only for the CTA/badge so it draws the eye */
}

/* =========================
   TOP BAR (phone / hours)
   ========================= */
.eyetech-top-bar {
    background: var(--eyetech-navy);
    color: #ffffff;
    font-size: 13px;
    padding: 7px 20px;
}

.eyetech-top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.eyetech-top-bar-left,
.eyetech-top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.eyetech-top-bar a {
    color: #ffffff;
    text-decoration: none;
}

.eyetech-top-bar a:hover {
    color: var(--eyetech-cyan);
}

.eyetech-top-bar .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

/* =========================
   HEADER EXTRAS (cart + CTA)
   ========================= */

/* Reset the default menu-item look for just this one item */
ul.main-header-menu li.eyetech-header-extras-item,
.main-header-menu li.eyetech-header-extras-item {
    padding: 0 !important;
    list-style: none !important;
}

li.eyetech-header-extras-item::after {
    display: none; /* removes any theme dropdown-arrow styling on this item */
}

/* This wrapper is unique to us - Astra's Header Builder has no rules
   targeting it, so nothing competes with this flex layout. */
.eyetech-header-extras-inner {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: 12px !important;
}

.eyetech-header-extras-inner .eyetech-cart-icon,
.eyetech-header-extras-inner .eyetech-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: max-content !important;
    flex: 0 0 auto !important;
}

.eyetech-cart-icon {
    position: relative !important;
    color: var(--eyetech-navy);
    text-decoration: none;
    padding: 0 !important;
    z-index: 2;
}

.eyetech-cart-icon:hover {
    color: var(--eyetech-blue);
}

.eyetech-cart-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.eyetech-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--eyetech-accent);
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    min-width: 15px;
    text-align: center;
    padding: 2px 4px;
    border-radius: 50%;
}

.eyetech-cta-button {
    background: var(--eyetech-accent);
    color: #ffffff !important;
    padding: 8px 16px !important;
	margin-left: 5px;
    border-radius: 4px !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.eyetech-cta-button:hover {
    background: #d9812f;
}

/* =========================
   STICKY HEADER
   ========================= */
#masthead {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* =========================
   MOBILE ADJUSTMENTS
   ========================= */
@media (max-width: 600px) {
    .eyetech-top-bar-left {
        display: none;
    }

    li.eyetech-header-extras-item {
        margin-left: 0;
        padding: 10px 20px !important;
    }
}