.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.announcement-bar {
    width: 100%;
    background-color: var(--color-accent);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-align: center;
    padding: 0.45rem 1rem;
    position: relative;
    z-index: var(--z-sticky);
}


.main-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: #1A1A1A;
    z-index: var(--z-sticky);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.header-top {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
    align-items: center;
    min-height: 88px;
    padding: 0 2rem 0 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.header-brand {
    justify-self: end;
    transform: translateX(-18%);
}

.header-actions {
    justify-self: end;
}

.header-brand a {
    color: var(--color-accent);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-logo .header-brand-mark {
    width: auto;
    max-width: clamp(140px, 18vw, 200px);
    max-height: 68px;
    height: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-btn {
    position: relative;
    border: none;
    background: transparent;
    color: #ffffff;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    cursor: pointer;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    background-color: var(--color-accent);
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 700;
}

.header-search.mobile-search-bar {
    display: none;
    padding: 0 1rem 1rem;
}

.header-search.mobile-search-bar.active {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-search.mobile-search-bar input {
    width: 100%;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.header-search.mobile-search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 70vh, 760px);
    min-height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 45%, #2b1809 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/1600x900/1A1A1A/FFFFFF?text=HERO+PLACEHOLDER');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-xs);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* --- Nuevos estilos para el efecto typing del Hero --- */

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Asegura que esté por encima de la imagen y el overlay */
    width: min(92%, 1280px);
    max-width: none;
    padding: 1rem;
    box-sizing: border-box;
}

#hero-typing-text {
    color: var(--text-light); /* Blanco o gris claro */
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 6.6vw, 7.2rem);
    text-transform: uppercase; /* Letras mayúsculas */
    letter-spacing: 0.015em;
    margin: 0;
    line-height: 1.2; /* Espacio entre líneas */
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    display: block;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em; /* Misma altura que la línea de texto */
    background-color: var(--text-light); /* Color del cursor */
    margin-left: 0.2em; /* Espacio entre el texto y el cursor */
    animation: none;
}

.typing-cursor.is-pausing {
    animation: blink 0.35s step-end 3;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
/* --- Fin nuevos estilos --- */
