/* ============================================================
   HEADER SHEKINAH — Sistema Unificado Boutique
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9000;
    background: #fff;
    border-bottom: 1px solid rgba(192, 159, 128, 0.15);
    transition: all 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Barra superior */
.header-top {
    background: #F9F9F9;
    padding: 8px 0;
    font-size: 13px;
    font-family: var(--pos-font-main);
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--pos-max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.header-contact {
    display: flex;
    gap: 20px;
    color: #231F20;
}
.header-contact a { color: #231F20; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.header-contact a:hover { color: var(--pos-primary); }
.header-contact i { color: var(--pos-primary); }
.header-social { display: flex; gap: 12px; }
.header-social a {
    color: #231F20; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: all 0.3s;
}
.header-social a:hover { color: var(--pos-primary); background: rgba(0, 174, 239, 0.1); }

/* Header principal */
.header-main {
    background: #ffffff;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
    max-width: var(--pos-max-width);
    margin: 0 auto;
    padding: 14px 20px;
}

/* Logo */
.site-branding { flex-shrink: 0; }
.site-name-text {
    font-family: var(--pos-font-heading);
    font-size: 22px; font-weight: 700;
    color: #231F20; letter-spacing: 1px;
    text-decoration: none; display: block;
}

/* Nav desktop */
.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-navigation #primary-menu,
.main-navigation > ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0; padding: 0;
}
.main-navigation a {
    font-family: var(--pos-font-main);
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: #231F20; padding: 6px 0;
    text-decoration: none; position: relative;
    display: block; transition: color 0.3s;
}
.main-navigation a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--pos-primary); transition: width 0.3s;
}
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after { width: 100%; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--pos-primary); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-actions button,
.header-actions a {
    background: none;
    border: none;
    color: #231F20 !important;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    border-radius: 50%;
}
.header-actions svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke-width: 2px;
}
.header-actions button:hover, 
.header-actions a:hover { 
    color: var(--pos-primary) !important;
    background: rgba(0, 174, 239, 0.1);
    transform: translateY(-2px);
}

/* Carrito count */
.cart-count {
    position: absolute; top: -4px; right: -6px;
    background: var(--pos-primary); color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 10px; display: flex;
    align-items: center; justify-content: center; padding: 0 4px;
}

/* Responsive */
@media (max-width: 960px) {
    .menu-toggle { display: flex; }
    .main-navigation {
        position: fixed;
        top: 0; right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        padding: 80px 20px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .main-navigation.active { right: 0; }
    .main-navigation ul { flex-direction: column; width: 100%; gap: 10px; }
    .main-navigation li { border-bottom: 1px solid #f0f0f0; width: 100%; }
    .main-navigation a { padding: 15px 0; font-size: 14px; color: #231F20; }
    
    .header-inner { padding: 10px 20px; }
    .site-branding img { max-height: 45px; }
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.cart-count.updated {
    animation: cartBounce 0.3s ease-out;
}
