/* Solo lógica de carga / login del catálogo (estilos visuales en velvet-lounge.css) */

body.catalog-loading .catalog-login-gate,
body.catalog-loading .catalog-layout {
    display: none !important;
}

body.catalog-locked .catalog-layout {
    display: none !important;
}

body.catalog-locked #cart-container {
    display: none !important;
}

body.catalog-locked .catalog-login-gate {
    display: block !important;
}

body.catalog-locked .auth-modal {
    z-index: 5000;
}

.catalog-login-gate .btn-google {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-gate-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
}

.catalog-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 188, 148, 0.15);
}

.catalog-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-search-icon {
    position: absolute;
    left: 12px;
    pointer-events: none;
}

.catalog-search-input {
    padding-left: 34px;
    padding-right: 36px;
}

.catalog-search-clear {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .catalog-main-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .catalog-search-input {
        width: 100%;
    }
}
